@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

/*
    Dimension by HTML5 UP
    html5up.net | @ajlkn
    Free for personal and commercial use under the CCA 3.0 license
    html5up.net/license

    OPEYEMI PETER — PORTFOLIO CUSTOM STYLES
*/


/* =========================================================
   THEME VARIABLES
   ========================================================= */

:root {
    --bg-page: #05070b;
    --bg-panel: rgba(17, 21, 27, 0.90);
    --bg-card: rgba(255, 255, 255, 0.045);
    --bg-card-hover: rgba(255, 255, 255, 0.075);

    --text-main: #f5f7fa;
    --text-muted: rgba(245, 247, 250, 0.70);
    --text-soft: rgba(245, 247, 250, 0.55);

    --border: rgba(255, 255, 255, 0.24);
    --border-strong: rgba(255, 255, 255, 0.72);

    --accent: #ffffff;
    --accent-text: #11151a;

    --shadow: rgba(0, 0, 0, 0.28);
    --overlay: rgba(7, 10, 15, 0.48);

    --radius: 8px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.325s ease-in-out;
}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-theme="light"] {
    --bg-page: #f4f6f8;
    --bg-panel: rgba(255, 255, 255, 0.94);
    --bg-card: rgba(255, 255, 255, 0.78);
    --bg-card-hover: rgba(255, 255, 255, 0.96);

    --text-main: #18202a;
    --text-muted: rgba(24, 32, 42, 0.70);
    --text-soft: rgba(24, 32, 42, 0.55);

    --border: rgba(24, 32, 42, 0.20);
    --border-strong: rgba(24, 32, 42, 0.62);

    --accent: #18202a;
    --accent-text: #ffffff;

    --shadow: rgba(24, 32, 42, 0.15);
    --overlay: rgba(244, 246, 248, 0.55);
}


/* =========================================================
   RESET
   ========================================================= */

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    -webkit-text-size-adjust: none;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input,
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}


/* =========================================================
   BASIC
   ========================================================= */

@-ms-viewport {
    width: device-width;
}

@media screen and (max-width: 480px) {
    html,
    body {
        min-width: 320px;
    }
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
}

body.is-article-visible {
    overflow: hidden;
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;

    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 1000000;

    padding: 0.75rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 6px;

    background: var(--bg-panel);
    color: var(--text-main);

    font-size: 0.85rem;
    font-weight: 600;

    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

html {
    font-size: 16pt;
}

@media screen and (max-width: 1680px) {
    html {
        font-size: 12pt;
    }
}

@media screen and (max-width: 736px) {
    html {
        font-size: 11pt;
    }
}

@media screen and (max-width: 360px) {
    html {
        font-size: 10pt;
    }
}

body,
input,
select,
textarea {
    color: var(--text-main);
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.65;
}

a {
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);

    border-bottom: dotted 1px var(--border-strong);
    color: inherit;
    text-decoration: none;
}

a:hover {
    border-bottom-color: transparent;
}

strong,
b {
    color: var(--text-main);
    font-weight: 600;
}

em,
i {
    font-style: italic;
}

p {
    margin: 0 0 1.65rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    letter-spacing: 0.18rem;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
    text-decoration: none;
}

h1.major,
h2.major,
h3.major,
h4.major,
h5.major,
h6.major {
    border-bottom: solid 1px var(--border-strong);
    width: -moz-max-content;
    width: -webkit-max-content;
    width: max-content;
    max-width: 100%;
    padding-bottom: 0.5rem;
    margin: 0 0 2rem 0;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.3;
    letter-spacing: 0.38rem;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.30rem;
}

h3 {
    font-size: 1rem;
}

h4 {
    font-size: 0.8rem;
}

h5 {
    font-size: 0.7rem;
}

h6 {
    font-size: 0.6rem;
}

@media screen and (max-width: 736px) {
    h1 {
        font-size: 1.75rem;
        line-height: 1.4;
        letter-spacing: 0.25rem;
    }

    h2 {
        font-size: 1.25rem;
        line-height: 1.5;
        letter-spacing: 0.22rem;
    }
}

sub {
    font-size: 0.8rem;
    position: relative;
    top: 0.5rem;
}

sup {
    font-size: 0.8rem;
    position: relative;
    top: -0.5rem;
}

blockquote {
    border-left: solid 4px var(--border-strong);
    font-style: italic;
    margin: 0 0 2rem 0;
    padding: 0.5rem 0 0.5rem 2rem;
}

code {
    background: rgba(127, 127, 127, 0.12);
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    margin: 0 0.25rem;
    padding: 0.25rem 0.65rem;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    margin: 0 0 2rem 0;
}

pre code {
    display: block;
    line-height: 1.75;
    padding: 1rem 1.5rem;
    overflow-x: auto;
}

hr {
    border: 0;
    border-bottom: solid 1px var(--border);
    margin: 2.75rem 0;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}


/* =========================================================
   FORM
   ========================================================= */

form {
    margin: 0 0 2rem 0;
}

form > :last-child {
    margin-bottom: 0;
}

form > .fields {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 3rem);
    margin: -1.5rem 0 2rem -1.5rem;
}

form > .fields > .field {
    flex-grow: 0;
    flex-shrink: 0;
    padding: 1.5rem 0 0 1.5rem;
    width: calc(100% - 1.5rem);
}

form > .fields > .field.half {
    width: calc(50% - 0.75rem);
}

form > .fields > .field.third {
    width: calc(100% / 3 - 0.5rem);
}

form > .fields > .field.quarter {
    width: calc(25% - 0.375rem);
}

label {
    color: var(--text-main);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13rem;
    line-height: 1.5;
    margin: 0 0 0.65rem 0;
    text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);

    background-color: rgba(127, 127, 127, 0.035);
    border-radius: 6px;
    border: solid 1px var(--border-strong);
    color: var(--text-main);
    display: block;
    outline: 0;
    padding: 0 1rem;
    text-decoration: none;
    width: 100%;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    background-color: rgba(127, 127, 127, 0.08);
    border-color: var(--text-main);
    box-shadow: 0 0 0 2px rgba(127, 127, 127, 0.18);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select {
    height: 2.9rem;
}

textarea {
    padding: 0.75rem 1rem;
    resize: vertical;
    min-height: 9rem;
}

select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c.2-.2.5-.4.9-.4s.6.1.9.4l3.3,3.3c.2.2.4.5.4.9s-.1.6-.4.9L20.7,31.9c-.2.2-.5.4-.9.4s-.6-.1-.9-.4L4.3,17.3c-.2-.2-.4-.5-.4-.9s.1-.6.4-.9l3.3-3.3c.2-.2.5-.4.9-.4s.6.1.9.4z' fill='%23777'/%3E%3C/svg%3E");
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.8rem) center;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
}

select option {
    background: #ffffff;
    color: #18202a;
}

html:not([data-theme="light"]) select option {
    background: #171b20;
    color: #ffffff;
}

::-webkit-input-placeholder {
    color: var(--text-soft) !important;
    opacity: 1;
}

:-moz-placeholder {
    color: var(--text-soft) !important;
    opacity: 1;
}

::-moz-placeholder {
    color: var(--text-soft) !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: var(--text-soft) !important;
    opacity: 1;
}

.phone-input {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.38fr) 1fr;
    gap: 0.65rem;
}

.form-status {
    min-height: 1.5rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}


/* =========================================================
   BOX
   ========================================================= */

.box {
    border-radius: var(--radius);
    border: solid 1px var(--border);
    margin-bottom: 2rem;
    padding: 1.5em;
}

.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
    margin-bottom: 0;
}

.box.alt {
    border: 0;
    border-radius: 0;
    padding: 0;
}


/* =========================================================
   ICONS
   ========================================================= */

.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon > .label {
    display: none;
}

.icon:before {
    line-height: inherit;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}


/* =========================================================
   IMAGES
   ========================================================= */

.image {
    border-radius: var(--radius);
    border: 0;
    display: inline-block;
    position: relative;
}

.image img {
    border-radius: var(--radius);
    display: block;
}

.image.left,
.image.right {
    max-width: 40%;
}

.image.left img,
.image.right img {
    width: 100%;
}

.image.left {
    float: left;
    padding: 0 1.5em 1em 0;
    top: 0.25em;
}

.image.right {
    float: right;
    padding: 0 0 1em 1.5em;
    top: 0.25em;
}

.image.fit {
    display: block;
    margin: 0 0 2rem 0;
    width: 100%;
}

.image.fit img {
    width: 100%;
}

.image.main {
    display: block;
    margin: 2.5rem 0;
    width: 100%;
}

.image.main img {
    width: 100%;
}

@media screen and (max-width: 736px) {
    .image.main {
        margin: 2rem 0;
    }
}

@media screen and (max-width: 480px) {
    .image.main {
        margin: 1.5rem 0;
    }
}


/* =========================================================
   LISTS
   ========================================================= */

ol {
    list-style: decimal;
    margin: 0 0 2rem 0;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ul {
    list-style: disc;
    margin: 0 0 2rem 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

ul.alt {
    list-style: none;
    padding-left: 0;
}

ul.alt li {
    border-top: solid 1px var(--border);
    padding: 0.5em 0;
}

ul.alt li:first-child {
    border-top: 0;
    padding-top: 0;
}

dl {
    margin: 0 0 2rem 0;
}

dl dt {
    display: block;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

dl dd {
    margin-left: 2rem;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

ul.actions {
    display: flex;
    cursor: default;
    list-style: none;
    margin-left: -1rem;
    padding-left: 0;
}

ul.actions li {
    padding: 0 0 0 1rem;
    vertical-align: middle;
}

ul.actions.special {
    justify-content: center;
    width: 100%;
    margin-left: 0;
}

ul.actions.special li:first-child {
    padding-left: 0;
}

ul.actions.stacked {
    flex-direction: column;
    margin-left: 0;
}

ul.actions.stacked li {
    padding: 1.3rem 0 0 0;
}

ul.actions.stacked li:first-child {
    padding-top: 0;
}

ul.actions.fit {
    width: calc(100% + 1rem);
}

ul.actions.fit li {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
}

ul.actions.fit li > * {
    width: 100%;
}


/* =========================================================
   BUTTON
   ========================================================= */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;

    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);

    background-color: transparent;
    border-radius: 6px;
    border: 1px solid var(--border-strong);
    box-shadow: none;

    color: var(--text-main) !important;

    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 2.75rem;

    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.13rem;

    line-height: 1.3;
    outline: 0;

    padding: 0.65rem 1.15rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--text-main);
    transform: translateY(-1px);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
    transform: translateY(0);
}

input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible,
button:focus-visible,
.button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
    min-height: 2.25rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.58rem;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--accent-text) !important;
    font-weight: 600;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
    opacity: 0.88;
}

input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled,
button:disabled,
.button:disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

#bg {
    transform: scale(1);
    -webkit-backface-visibility: hidden;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    z-index: 1;
}

#bg:before,
#bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

#bg:before {
    transition:
        background-color 0.8s ease-in-out;

    background-color: var(--overlay);
    z-index: 2;
}

#bg:after {
    transform: scale(1.08);

    transition:
        transform 0.6s ease-in-out,
        filter 0.4s ease-in-out;

    background-image: url("../../images/bgbg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    z-index: 1;
}
html[data-theme="light"] #bg:before {
    background-color: rgba(248, 250, 252, 0.68);
}

html[data-theme="light"] #bg:after {
    background-image: url("../../images/back.png");
    filter: brightness(1.08) saturate(0.75);
}

html[data-theme="light"] #bg:after {
    background-image: url("../../images/back.png");
}

body.is-article-visible #bg:after {
    transform: scale(1.035);
    filter: blur(0.18rem);
}

body.is-preload #bg:before {
    background-color: #000000;
}


/* =========================================================
   WRAPPER
   ========================================================= */

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    position: relative;

    min-height: 100vh;
    width: 100%;

    padding: 4rem 2rem;

    z-index: 3;
}

#wrapper:before {
    content: '';
    display: block;
}

@media screen and (max-width: 1680px) {
    #wrapper {
        padding: 3rem 2rem;
    }
}

@media screen and (max-width: 736px) {
    #wrapper {
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    #wrapper {
        padding: 1rem;
    }
}


/* =========================================================
   HEADER
   ========================================================= */

#header {
    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;

    max-width: 100%;
    text-align: center;

    transition:
        transform var(--transition-normal),
        filter var(--transition-normal),
        opacity var(--transition-normal);

    background-image:
        radial-gradient(
            rgba(0, 0, 0, 0.28) 20%,
            rgba(0, 0, 0, 0) 62%
        );
}

#header > * {
    transition: opacity var(--transition-normal);

    position: relative;
    margin-top: 3rem;
}

#header > *:before {
    content: '';
    display: block;

    position: absolute;

    top: calc(-3rem - 1px);
    left: calc(50% - 1px);

    width: 1px;
    height: calc(3rem + 1px);

    background: var(--border-strong);
}

#header > :first-child {
    margin-top: 0;
}

#header > :first-child:before {
    display: none;
}


/* Profile */

#header .logo {
    width: 5.5rem;
    height: 5.5rem;

    padding: 0.25rem;

    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;

    background: #111820;

}

#header .logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 50%;
}


/* Header content */

#header .content {
    border-style: solid;
    border-color: var(--border-strong);
    border-top-width: 1px;
    border-bottom-width: 1px;

    max-width: 100%;
}

#header .content .inner {
    transition:
        max-height 0.75s ease,
        padding 0.75s ease,
        opacity var(--transition-normal);

    transition-delay: 0.25s;

    padding: 2.6rem 2rem;

    max-height: 40rem;
    overflow: hidden;
}

#header .content .inner > :last-child {
    margin-bottom: 0;
}

#header .content p {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;

    letter-spacing: 0.13rem;
    font-size: 0.76rem;
    line-height: 1.9;

    text-transform: uppercase;
}

#header .content .header-role {
    margin-bottom: 0.55rem;
    font-weight: 600;
}

#header .content .header-tagline {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

#header .content .header-links {
    color: var(--text-soft);
    text-transform: none;
    letter-spacing: 0.06rem;
}

#header .content a {
    color: var(--text-main);
}


/* Theme toggle */

#theme-toggle {
    position: absolute;

    top: -0.35rem;
    right: -0.35rem;

    z-index: 20;

    min-height: 2.35rem;

    padding: 0.45rem 0.7rem;

    border-radius: 999px;

    background: #111820;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-size: 0.58rem;
    letter-spacing: 0.08rem;

    text-transform: uppercase;
}

html[data-theme="light"] #theme-toggle {
    background: rgba(255, 255, 255, 0.473);
}

.theme-toggle-icon {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 0.9rem;
}

.theme-toggle-text {
    display: inline-block;
}


/* Navigation */

#header nav ul {
    display: flex;

    margin-bottom: 0;

    list-style: none;
    padding-left: 0;

    border: solid 1px var(--border-strong);
    border-radius: 6px;

    overflow: hidden;
}

#header nav ul li {
    padding-left: 0;
    border-left: solid 1px var(--border-strong);
}

#header nav ul li:first-child {
    border-left: 0;
}

#header nav ul li a {
    display: block;

    min-width: 7.2rem;
    min-height: 2.75rem;

    line-height: 2.75rem;

    padding: 0 1.15rem;

    border-bottom: 0;

    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.72rem;
}

#header nav ul li a:hover {
    background-color: var(--bg-card-hover);
}

#header nav.use-middle:after {
    content: '';

    display: block;

    position: absolute;

    top: 0;
    left: calc(50% - 1px);

    width: 1px;
    height: 100%;

    background: var(--border-strong);
}

#header nav.use-middle ul li.is-middle {
    border-left: 0;
}


/* Home Screen — Light Mode Navigation Borders Only */

html[data-theme="light"] body:not(.is-article-visible) #header nav ul {
    border-color: #111820;
}

html[data-theme="light"] body:not(.is-article-visible) #header nav ul li {
    border-left-color: #111820;
}

html[data-theme="light"] body:not(.is-article-visible) #header nav.use-middle:after {
    background: #111820;
}


/* Header article state */

body.is-article-visible #header {
    transform: scale(0.95);
    filter: blur(0.1rem);
    opacity: 0;
}

body.is-preload #header {
    filter: blur(0.125rem);
}

body.is-preload #header > * {
    opacity: 0;
}

body.is-preload #header .content .inner {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}


/* Header responsive */

@media screen and (max-width: 980px) {
    #header .content p br {
        display: none;
    }
}

@media screen and (max-width: 736px) {

    #header > * {
        margin-top: 2rem;
    }

    #header > *:before {
        top: calc(-2rem - 1px);
        height: calc(2rem + 1px);
    }

    #header .logo {
        width: 4.75rem;
        height: 4.75rem;
    }

    #header .content .inner {
        padding: 2.25rem 1rem;
    }

    #header .content p {
        line-height: 1.8;
    }

    #theme-toggle {
        top: -0.5rem;
        right: 0;
    }
}

@media screen and (max-width: 600px) {

    #theme-toggle .theme-toggle-text {
        display: none;
    }

    #theme-toggle {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
    }

    .theme-toggle-icon {
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {

    #header {
        padding: 1.5rem 0;
    }

    #header .content .inner {
        padding: 2.25rem 0.4rem;
    }

    #header nav ul {
        flex-direction: column;

        min-width: 11rem;
        max-width: 100%;
    }

    #header nav ul li {
        border-left: 0;
        border-top: solid 1px var(--border-strong);
    }

    #header nav ul li:first-child {
        border-top: 0;
    }

    #header nav ul li a {
        min-width: 0;
        width: 100%;
        min-height: 3rem;
        line-height: 3rem;
    }

    #header nav.use-middle:after {
        display: none;
    }
}

/* =========================================================
   LIGHT THEME — HOMEPAGE HEADER TEXT
   ========================================================= */

/* Name */
html[data-theme="light"] #header .content .inner h1 {
    color: #111820 !important;
    opacity: 1 !important;
}

/* Data Analyst | SQL | Excel | Tableau | Python | BI */
html[data-theme="light"] #header .content .header-role {
    color: #111820 !important;
    opacity: 1 !important;
    font-weight: 700;
}

/* Turning data into clear insights... */
html[data-theme="light"] #header .content .header-tagline {
    color: #111820 !important;
    opacity: 1 !important;
    font-weight: 500;
}

/* LinkedIn / GitHub / X paragraph */
html[data-theme="light"] #header .content .header-links {
    color: #111820 !important;
    opacity: 1 !important;
}

/* Social links inside the paragraph */
html[data-theme="light"] #header .content .header-links a {
    color: #111820 !important;
    opacity: 1 !important;
    font-weight: 600;
}

/* Header divider lines */
html[data-theme="light"] #header > *:before {
    background: #111820;
}

/* Header content borders */
html[data-theme="light"] #header .content {
    border-color: #111820;
}

/* Profile image border */
html[data-theme="light"] #header .logo {
    border-color: #111820;
    background: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   MAIN / DIMENSION MODAL
   ========================================================= */

#main {
    flex-grow: 1;
    flex-shrink: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    position: relative;

    width: 100%;
    max-width: 100%;

    z-index: 3;
}

#main article {
    transform: translateY(0.25rem);

    transition:
        opacity var(--transition-normal),
        transform var(--transition-normal);

    padding: 4.25rem 2.5rem 1.5rem 2.5rem;

    position: relative;

    width: 44rem;
    max-width: 100%;

    background-color: var(--bg-panel);

    border: 1px solid var(--border);
    border-radius: 10px;

    box-shadow:
        0 22px 60px var(--shadow);

    opacity: 0;
}

#main article.active {
    transform: translateY(0);
    opacity: 1;

    max-height: calc(100vh - 2rem);

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

#main article.active::-webkit-scrollbar {
    width: 7px;
}

#main article.active::-webkit-scrollbar-track {
    background: transparent;
}

#main article.active::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 20px;
}


/* Article close */

#main article .close {
    display: block;

    position: absolute;

    top: 0;
    right: 0;

    width: 4rem;
    height: 4rem;

    cursor: pointer;

    text-indent: 4rem;
    overflow: hidden;
    white-space: nowrap;
}

#main article .close:before {
    transition: background-color var(--transition-fast);

    content: '';

    display: block;

    position: absolute;

    top: 0.75rem;
    left: 0.75rem;

    width: 2.5rem;
    height: 2.5rem;

    border-radius: 50%;

    background-position: center;

    background-image:
        url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 20 20'%3E%3Cstyle%3Eline%7Bstroke:%23ffffff;stroke-width:1.3%7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18'/%3E%3Cline x1='18' y1='2' x2='2' y2='18'/%3E%3C/svg%3E");

    background-size: 20px 20px;
    background-repeat: no-repeat;
}

html[data-theme="light"] #main article .close:before {
    background-image:
        url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 20 20'%3E%3Cstyle%3Eline%7Bstroke:%2318202a;stroke-width:1.3%7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18'/%3E%3Cline x1='18' y1='2' x2='2' y2='18'/%3E%3C/svg%3E");
}

#main article .close:hover:before {
    background-color: var(--bg-card-hover);
}

@media screen and (max-width: 736px) {

    #main article {
        padding: 3.5rem 2rem 1rem 2rem;
        border-radius: 8px;
    }

    #main article .close:before {
        top: 0.75rem;
        left: 0.75rem;

        width: 2.3rem;
        height: 2.3rem;

        background-size: 15px 15px;
    }
}

@media screen and (max-width: 480px) {

    #main article {
        padding: 3rem 1.25rem 1rem 1.25rem;
        width: 100%;
    }

    #main article.active {
        max-height: calc(100vh - 1rem);
    }
}


/* =========================================================
   HOME
   ========================================================= */

#intro .image.main {
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

#intro .image.main img {
    max-height: 20rem;
    object-fit: cover;
}

#intro > p {
    line-height: 1.8;
}

.featured-projects {
    margin-top: 3rem;
}

.featured-projects > .major {
    margin-bottom: 1.5rem;
}


/* =========================================================
   FEATURED PROJECT GRID
   ========================================================= */

.project-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 1.25rem;

    width: 100%;

    margin: 2rem 0 0 0;
}

.project-card {
    display: flex;
    flex-direction: column;

    width: 100%;

    padding: 1.1rem;

    border: solid 1px var(--border);
    border-radius: var(--radius);

    background: var(--bg-card);

    box-shadow: 0 10px 30px var(--shadow);

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    border-color: var(--border-strong);

    box-shadow: 0 15px 35px var(--shadow);
}

.project-card .image {
    margin: 0 0 1rem 0;
    overflow: hidden;
}

.project-card .image img {
    display: block;

    width: 100%;
    height: 215px;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.project-card:hover .image img {
    transform: scale(1.025);
}

.project-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card h3 {
    margin-bottom: 0.65rem;

    font-size: 0.9rem;
    line-height: 1.55;
}

.project-card p {
    color: var(--text-muted);

    font-size: 0.82rem;
    line-height: 1.7;
}

.project-card .project-tools {
    margin-top: auto;

    color: var(--text-soft);

    font-size: 0.62rem !important;
    letter-spacing: 0.08rem;

    text-transform: uppercase;
}

.project-card .button {
    align-self: flex-start;
    margin-top: 0.35rem;
}


/* =========================================================
   HOME ACTIONS
   ========================================================= */

.home-actions {
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.home-actions li {
    margin-bottom: 0;
}


/* =========================================================
   PROJECTS PAGE
   ========================================================= */

#work {
    position: relative;
}

.projects-intro {
    max-width: 42rem;
    margin: 0 auto 2.25rem auto;

    color: var(--text-muted);

    line-height: 1.8;
}


/* Projects heading */

.major-pro {
    display: table;

    margin: -0.35rem auto 2rem auto;

    padding-bottom: 0.3rem;

    text-align: center;

    border-bottom: none;

    position: relative;
}

.major-pro::after {
    content: '';

    display: block;

    width: 100%;
    height: 1px;

    margin-top: 0.2rem;

    background: var(--border-strong);
}


/* =========================================================
   PROJECT PROFILE CARD
   ========================================================= */

#work .projects-profile-card {
    position: absolute;

    top: 1.05rem;
    left: 1.15rem;

    z-index: 5;
}

#work .projects-profile-card a {
    display: block;

    width: 3.7rem;
    height: 3.7rem;

    padding: 0.2rem;

    border: 1px solid var(--border-strong);
    border-radius: 50%;

    background: var(--bg-card);

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast);
}

#work .projects-profile-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

#work .projects-profile-card a:hover {
    transform: scale(1.05);
    background: var(--bg-card-hover);
}

@media screen and (max-width: 736px) {

    #work .projects-profile-card {
        top: 0.85rem;
        left: 0.75rem;
    }

    #work .projects-profile-card a {
        width: 3.1rem;
        height: 3.1rem;
    }
}


/* =========================================================
   FULL PROJECT CARDS
   ========================================================= */

.full-project-card {
    position: relative;

    margin: 0 0 2.75rem 0;
    padding: 1.65rem;

    border: solid 1px var(--border);
    border-radius: var(--radius);

    background: var(--bg-card);

    box-shadow: 0 12px 35px var(--shadow);

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.full-project-card:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: var(--bg-card-hover);
}

html[data-theme="light"] .full-project-card:hover {
    border-color: rgba(24, 32, 42, 0.32);
}


/* Tool tag */

.project-tool-tag {
    display: inline-flex;
    align-items: center;

    margin-bottom: 1rem;

    padding: 0.38rem 0.7rem;

    border: solid 1px var(--border);
    border-radius: 999px;

    background: rgba(127, 127, 127, 0.07);

    color: var(--text-muted);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 0.07rem;
    line-height: 1.4;

    text-transform: uppercase;
}


/* Project title */

.full-project-card h3 {
    margin-bottom: 0.35rem;

    line-height: 1.55;
}

.full-project-card h3 a {
    border-bottom-color: var(--border);
}

.full-project-card h3 a:hover {
    color: var(--text-muted);
}


/* Category */

.project-category {
    margin-bottom: 1.25rem !important;

    color: var(--text-soft);

    font-size: 0.66rem !important;
    letter-spacing: 0.07rem;
    line-height: 1.6 !important;

    text-transform: uppercase;
}


/* =========================================================
   PROJECT GALLERY
   ========================================================= */

.project-gallery {
    display: flex;
    gap: 0.9rem;

    width: 100%;

    margin: 1.35rem 0 0.7rem 0;
    padding: 0.1rem 0.05rem 0.7rem 0.05rem;

    overflow-x: auto;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;

    overscroll-behavior-x: contain;
}

.project-gallery::-webkit-scrollbar {
    height: 6px;
}

.project-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.project-gallery::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 999px;
}

.project-gallery:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 4px;
}

.project-gallery img {
    flex: 0 0 82%;

    width: 82%;
    height: 285px;

    object-fit: cover;

    border: solid 1px var(--border);
    border-radius: 6px;

    background: rgba(0, 0, 0, 0.18);

    cursor: zoom-in;

    scroll-snap-align: start;

    transition:
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.project-gallery img:hover {
    border-color: var(--border-strong);
}


/* Gallery controls */

.project-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 0.55rem;

    margin-bottom: 1.35rem;

    color: var(--text-soft);

    font-size: 0.62rem;
    letter-spacing: 0.06rem;

    text-transform: uppercase;
}

.project-gallery-controls span {
    white-space: nowrap;
}


/* Gallery arrows */

.gallery-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 2.35rem;
    height: 2.35rem;

    min-height: 2.35rem;

    padding: 0;

    border: solid 1px var(--border-strong);
    border-radius: 50%;

    background: rgba(127, 127, 127, 0.04);

    color: var(--text-main) !important;

    font-size: 0.95rem;
    line-height: 1;

    text-transform: none;
}

.gallery-arrow:hover {
    background: var(--bg-card-hover);
}


/* Project description */

.full-project-card > p:not(.project-category) {
    color: var(--text-muted);

    font-size: 0.84rem;
    line-height: 1.78;
}

.full-project-card > p a {
    color: var(--text-main);
    font-weight: 600;
}


/* Project footer */

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-top: 1.8rem;
    padding-top: 1.15rem;

    border-top: solid 1px var(--border);
}

.project-footer span {
    color: var(--text-soft);

    font-size: 0.59rem;
    letter-spacing: 0.06rem;
    line-height: 1.5;

    text-transform: uppercase;
}


/* Projects end note */

.projects-end-note {
    margin-top: 2.5rem;

    text-align: center;

    color: var(--text-soft);

    font-size: 0.82rem;
    line-height: 1.7;
}


/* =========================================================
   ABOUT
   ========================================================= */

#about .image.main {
    max-width: 13rem;
    margin: 1.5rem auto 2rem auto;
}

#about .image.main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--border-strong);
}

#about > p {
    color: var(--text-muted);
    line-height: 1.8;
}

#about > h3.major {
    font-size: 0.85rem;
    letter-spacing: 0.15rem;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-intro {
    color: var(--text-muted);
    line-height: 1.75;
}

.contact-details {
    margin-top: 1rem;
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.7;
}

.last-word {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;

    text-align: center;

    font-size: 1rem;
    letter-spacing: 0.28rem;
}

.contact-end-note {
    margin: 0 0 1.5rem 0;

    text-align: center;

    color: var(--text-soft);

    font-size: 0.8rem;
    line-height: 1.7;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

ul.icons {
    display: flex;

    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 0.65rem;

    cursor: default;

    list-style: none;
    padding-left: 0;

    margin: 0 0 1rem 0;
}

ul.icons li {
    display: block;
    padding: 0;
}

ul.icons li a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 2.55rem;
    height: 2.55rem;

    border-radius: 50%;

    border: 1px solid var(--border-strong);

    box-shadow: none;

    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast),
        border-color var(--transition-fast);
}

ul.icons li a:hover {
    background-color: var(--bg-card-hover);
    transform: translateY(-2px);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.project-lightbox {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 999999;

    width: 100%;
    height: 100%;

    padding: 3rem;

    background: rgba(0, 0, 0, 0.94);

    align-items: center;
    justify-content: center;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.project-lightbox.active {
    display: flex;
}

.project-lightbox img {
    display: block;

    max-width: 94vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 5px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.65);
}

.lightbox-close {
    position: absolute;

    top: 1rem;
    right: 1rem;

    width: 2.75rem;
    height: 2.75rem;

    min-height: 2.75rem;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: solid 1px rgba(255, 255, 255, 0.65);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.4);

    color: #ffffff !important;

    font-size: 1.2rem;

    z-index: 1000000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media screen and (max-width: 736px) {

    .project-lightbox {
        padding: 1rem;
    }

    .project-lightbox img {
        max-width: 96vw;
        max-height: 84vh;
    }

    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

#back-to-top {
    position: fixed !important;

    right: 1.35rem !important;
    bottom: 1.35rem !important;

    width: 3rem !important;
    height: 3rem !important;

    min-height: 3rem !important;

    display: none !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid var(--border-strong) !important;
    border-radius: 50% !important;

    background: rgba(15, 18, 23, 0.82) !important;

    color: #ffffff !important;

    font-size: 1.15rem !important;
    line-height: 1 !important;

    cursor: pointer !important;

    z-index: 999998 !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast),
        opacity var(--transition-fast) !important;
}

html[data-theme="light"] #back-to-top {
    background: rgba(255, 255, 255, 0.88) !important;
    color: #111820 !important;
}

#back-to-top.is-visible {
    display: flex !important;
}

#back-to-top:hover {
    background: rgba(127, 127, 127, 0.22) !important;
    transform: translateY(-3px);
}

@media screen and (max-width: 736px) {

    #back-to-top {
        right: 0.9rem !important;
        bottom: 0.9rem !important;

        width: 2.8rem !important;
        height: 2.8rem !important;
        min-height: 2.8rem !important;
    }
}


/* =========================================================
   FOOTER
   ========================================================= */

#footer {
    transition:
        transform var(--transition-normal),
        filter var(--transition-normal),
        opacity var(--transition-normal);

    width: 100%;
    max-width: 100%;

    margin-top: 2rem;

    text-align: center;

    color: var(--text-soft);

    opacity: 0.75;
}

#footer p {
    margin-bottom: 0;

    font-size: 0.6rem;
    letter-spacing: 0.12rem;

    text-transform: uppercase;
}

html[data-theme="light"] #footer {
    color: #111820;
    opacity: 1;
}

html[data-theme="light"] #footer p {
    color: #111820;
    opacity: 1;
}

body.is-article-visible #footer {
    transform: scale(0.95);
    filter: blur(0.1rem);
    opacity: 0;
}

body.is-preload #footer {
    opacity: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (min-width: 737px) and (max-width: 980px) {

    #wrapper {
        padding: 2.5rem 1.5rem;
    }

    #main article {
        width: min(44rem, 100%);
    }

    .project-gallery img {
        flex-basis: 78%;
        width: 78%;
    }

    #header nav ul li a {
        min-width: 6.4rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 736px) {

    .project-grid {
        gap: 1rem;
    }

    .project-card {
        padding: 1rem;
    }

    .project-card .image img {
        height: 200px;
    }

    .full-project-card {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }

    .project-gallery img {
        flex: 0 0 91%;
        width: 91%;
        height: 225px;
    }

    .project-gallery-controls {
        justify-content: flex-start;
    }

    .project-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-footer .button {
        width: 100%;
    }

    .projects-intro {
        line-height: 1.75;
    }

    .phone-input {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media screen and (max-width: 480px) {

    p {
        line-height: 1.75;
    }

    .project-card .image img {
        height: 185px;
    }

    .project-gallery img {
        flex-basis: 94%;
        width: 94%;
        height: 200px;
    }

    .project-gallery-controls {
        gap: 0.45rem;
    }

    .project-gallery-controls span {
        font-size: 0.56rem;
    }

    .gallery-arrow {
        width: 2.25rem;
        height: 2.25rem;
        min-height: 2.25rem;
    }

    .home-actions {
        margin-top: 1.5rem;
    }

    #about .image.main {
        max-width: 10rem;
    }

    ul.icons {
        gap: 0.5rem;
    }

    ul.icons li a {
        width: 2.4rem;
        height: 2.4rem;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media screen and (max-width: 360px) {

    #wrapper {
        padding: 0.75rem;
    }

    #main article {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        letter-spacing: 0.16rem;
    }

    h2 {
        letter-spacing: 0.16rem;
    }

    .project-tool-tag {
        font-size: 0.55rem;
    }

    .project-gallery img {
        height: 175px;
    }

    #work .projects-profile-card a {
        width: 2.8rem;
        height: 2.8rem;
    }
}


/* =========================================================
   LANDSCAPE PHONES
   ========================================================= */

@media screen and (max-width: 736px) and (orientation: landscape) {

    #wrapper {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    #header {
        padding: 0.75rem 0;
    }

    #header > * {
        margin-top: 1.2rem;
    }

    #header > *:before {
        top: calc(-1.2rem - 1px);
        height: calc(1.2rem + 1px);
    }

    #header .logo {
        width: 3.75rem;
        height: 3.75rem;
    }

    #header .content .inner {
        padding: 1.25rem 0.75rem;
    }

    #main article.active {
        max-height: calc(100vh - 0.75rem);
    }
}


/* =========================================================
   LARGE DESKTOPS
   ========================================================= */

@media screen and (min-width: 1681px) {

    #main article {
        width: 48rem;
    }

    #header .content .inner {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .project-card:hover,
    .project-gallery img:hover,
    #back-to-top:hover,
    ul.icons li a:hover {
        transform: none;
    }
}

/* =========================================================
   ABOUT
   ========================================================= */

/* About header */

#about .about-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    margin-bottom: 2.75rem;
    padding-bottom: 1.75rem;

    border-bottom: 1px solid var(--border);
}

#about .about-heading-wrap {
    flex: 1 1 auto;
}

#about .about-kicker {
    display: block;

    margin-bottom: 0.55rem;

    color: var(--text-soft);

    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14rem;
    line-height: 1.5;

    text-transform: uppercase;
}

#about #about-heading {
    margin: 0 0 0.45rem 0;

    border-bottom: 0;

    width: auto;
    max-width: none;

    padding-bottom: 0;

    font-size: 1.7rem;
    letter-spacing: 0.28rem;
    line-height: 1.25;
}

#about .about-role {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.72rem;
    letter-spacing: 0.08rem;
    line-height: 1.6;
}


/* About profile image */

#about .about-image {
    flex: 0 0 auto;

    width: 7rem;
    height: 7rem;

    margin: 0;

    padding: 0.22rem;

    border: 1px solid var(--border-strong);
    border-radius: 50%;

    background: var(--bg-card);

    box-shadow:
        0 10px 30px var(--shadow);
}

#about .about-image img {
    display: block;

    width: 100%;
    height: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 50%;
}


/* About content sections */

#about .about-section {
    margin: 0 0 2.75rem 0;
}

#about .about-section > h3 {
    margin: 0 0 1rem 0;

    font-size: 0.78rem;
    letter-spacing: 0.16rem;
    line-height: 1.5;

    text-transform: uppercase;
}

#about .about-section > h3::after {
    content: '';

    display: block;

    width: 2.5rem;
    height: 1px;

    margin-top: 0.55rem;

    background: var(--border-strong);
}

#about .about-section > p {
    margin-bottom: 1.2rem;

    color: var(--text-muted);

    font-size: 0.84rem;
    line-height: 1.8;
}

#about .about-section > p:last-child {
    margin-bottom: 0;
}


/* What I Bring */

#about .about-focus-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0.85rem;

    margin-top: 1.35rem;
}

#about .about-focus-item {
    position: relative;

    min-height: 100%;

    padding: 1.15rem;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg-card);

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

#about .about-focus-item:hover {
    transform: translateY(-2px);

    background: var(--bg-card-hover);

    border-color: var(--border-strong);

    box-shadow: 0 10px 25px var(--shadow);
}

#about .about-focus-number {
    display: block;

    margin-bottom: 0.65rem;

    color: var(--text-soft);

    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.12rem;
}

#about .about-focus-item h4 {
    margin: 0 0 0.55rem 0;

    font-size: 0.72rem;
    letter-spacing: 0.09rem;
    line-height: 1.5;

    text-transform: uppercase;
}

#about .about-focus-item p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.74rem;
    line-height: 1.7;
}


/* Technical Toolkit */

#about .skill-groups {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1.15rem;

    margin-top: 1.35rem;
}

#about .skill-group {
    padding-top: 0.9rem;

    border-top: 1px solid var(--border);
}

#about .skill-group h4 {
    margin: 0 0 0.75rem 0;

    color: var(--text-main);

    font-size: 0.66rem;
    letter-spacing: 0.09rem;
    line-height: 1.5;

    text-transform: uppercase;
}

#about .skill-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 0.4rem;
}

#about .skill-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 1.8rem;

    padding: 0.3rem 0.6rem;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: rgba(127, 127, 127, 0.055);

    color: var(--text-muted);

    font-size: 0.59rem;
    letter-spacing: 0.04rem;
    line-height: 1.4;
}


/* Education & Academic Honors and Certifications */

#about .credentials-list {
    display: flex;

    flex-direction: column;

    margin-top: 1.35rem;
}

#about .credential-item {
    display: flex;

    align-items: flex-start;

    gap: 0.9rem;

    padding: 0.85rem 0;

    border-top: 1px solid var(--border);
}

#about .credential-item:last-child {
    border-bottom: 1px solid var(--border);
}

#about .credential-marker {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 1.25rem;
    height: 1.25rem;

    margin-top: 0.12rem;

    border: 1px solid var(--border-strong);
    border-radius: 50%;
}

#about .credential-marker span {
    display: block;

    width: 0.3rem;
    height: 0.3rem;

    border-radius: 50%;

    background: var(--text-main);
}

#about .credential-item h4 {
    margin: 0 0 0.2rem 0;

    font-size: 0.7rem;
    letter-spacing: 0.06rem;
    line-height: 1.5;
}

#about .credential-item p {
    margin: 0;

    color: var(--text-soft);

    font-size: 0.68rem;
    line-height: 1.6;
}


/* Professional Links */

#about .about-links-section {
    margin-bottom: 1.75rem;

    padding-top: 0.25rem;
}

#about .about-links-section > p {
    margin-bottom: 1.25rem;
}

#about .about-actions {
    margin-bottom: 0;
}

#about .about-actions li {
    margin-bottom: 0;
}


/* Closing statement */

#about .about-end-note {
    margin: 2.5rem 0 0 0;

    padding-top: 1.25rem;

    border-top: 1px solid var(--border);

    color: var(--text-soft);

    text-align: center;

    font-size: 0.72rem;
    letter-spacing: 0.13rem;
    line-height: 1.7;

    text-transform: uppercase;
}


/* About responsive */

@media screen and (max-width: 736px) {

    #about .about-header {
        gap: 1.25rem;

        margin-bottom: 2.25rem;
        padding-bottom: 1.4rem;
    }

    #about .about-image {
        width: 5.75rem;
        height: 5.75rem;
    }

    #about #about-heading {
        font-size: 1.4rem;
        letter-spacing: 0.22rem;
    }

    #about .about-focus-grid,
    #about .skill-groups {
        grid-template-columns: 1fr;
    }

    #about .about-focus-item {
        padding: 1rem;
    }

    #about .about-section {
        margin-bottom: 2.35rem;
    }
}


@media screen and (max-width: 480px) {

    #about .about-header {
        align-items: flex-start;

        gap: 1rem;
    }

    #about .about-image {
        width: 4.75rem;
        height: 4.75rem;
    }

    #about #about-heading {
        font-size: 1.25rem;
        letter-spacing: 0.17rem;
    }

    #about .about-role {
        font-size: 0.64rem;
    }

    #about .about-kicker {
        font-size: 0.54rem;
    }

    #about .about-section > p {
        font-size: 0.8rem;
    }

    #about .about-end-note {
        font-size: 0.62rem;
        letter-spacing: 0.09rem;
    }

    #about .about-actions {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }

    #about .about-actions li {
        width: 100%;
        padding-left: 0;
    }

    #about .about-actions .button {
        width: 100%;
    }
}

/* =====================================================
   CONTACT SUCCESS MESSAGE
====================================================== */

.contact-success {
    text-align: center;
    margin: 2em 0 1.5em;
    padding: 1.5em 0;
}

.contact-success h3 {
    margin-bottom: 0.75em;
}

.contact-success p {
    margin-bottom: 1em;
}

.contact-success .connect-heading {
    margin-top: 1.5em;
    margin-bottom: 0;
}

.contact-success[hidden],
#contact-form[hidden] {
    display: none;
}

/* =========================================================
   CERTIFICATE VIEW BUTTONS
   ========================================================= */

.credential-content {
	position: relative;
}

.certificate-view-button {
	margin-top: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.9rem;
	border: 1px solid currentColor;
	border-radius: 0.35rem;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		opacity 0.2s ease;
}

.certificate-view-button:hover {
	transform: translateY(-2px);
}

.certificate-view-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}


/* =========================================================
   CERTIFICATE LIGHTBOX
   ========================================================= */

.certificate-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4.5rem 2rem 2rem;
	background: rgba(0, 0, 0, 0.92);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

.certificate-lightbox.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* Certificate image */

.certificate-lightbox-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.certificate-lightbox-image {
	display: block;
	max-width: 94vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 0.25rem;
	box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.45);
}


/* PDF viewer */

.certificate-lightbox-pdf {
	display: block;
	width: min(100%, 1100px);
	height: min(88vh, 900px);
	border: 0;
	border-radius: 0.25rem;
	background: #ffffff;
	box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.45);
}


/* Close button */

.certificate-lightbox-close {
	position: absolute;
	top: 1.25rem;
	right: 1.5rem;
	z-index: 2;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 2.5rem;
	height: 2.5rem;

	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;

	background: rgba(0, 0, 0, 0.45);
	color: #ffffff;

	font-family: Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.certificate-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: scale(1.05);
}

.certificate-lightbox-close:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 736px) {

	.certificate-lightbox {
		padding: 4rem 0.75rem 1rem;
	}

	.certificate-lightbox-image {
		max-width: 96vw;
		max-height: 84vh;
	}

	.certificate-lightbox-pdf {
		width: 96vw;
		height: 84vh;
	}

	.certificate-lightbox-close {
		top: 0.75rem;
		right: 0.75rem;
		width: 2.25rem;
		height: 2.25rem;
		font-size: 1.35rem;
	}

	.certificate-view-button {
		font-size: 0.7rem;
		padding: 0.5rem 0.75rem;
	}

}


/* Prevent page scrolling while certificate is open */

body.certificate-lightbox-open {
	overflow: hidden;
}

/* =========================================================
CERTIFICATE VIEWER
========================================================= */

.certificate-lightbox {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
align-items: center;
justify-content: center;
padding: 5rem 1.5rem 1.5rem;
background: rgba(0, 0, 0, 0.88);
box-sizing: border-box;
}

.certificate-lightbox.active {
display: flex;
}

.certificate-lightbox-image {
display: block;
max-width: 100%;
max-height: calc(100vh - 7rem);
width: auto;
height: auto;
object-fit: contain;
border-radius: 0.35rem;
box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.5);
}

.certificate-lightbox-close {
position: absolute;
top: 1.25rem;
right: 1.25rem;
width: 2.5rem;
height: 2.5rem;
padding: 0;
border: 0;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
line-height: 1;
cursor: pointer;
z-index: 2;
background: rgba(255, 255, 255, 0.95);
color: #111;
}

.certificate-lightbox-close:hover {
transform: scale(1.05);
}

.certificate-lightbox-close:focus-visible,
.view-certificate:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}

.view-certificate {
margin-top: 0.75rem;
cursor: pointer;
}

/* Prevent the page behind the certificate from scrolling */
body.certificate-lightbox-open {
overflow: hidden;
}

/* =========================================================
MOBILE
========================================================= */

@media screen and (max-width: 736px) {

.certificate-lightbox {
    padding: 4.5rem 0.75rem 0.75rem;
}

.certificate-lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 5.5rem);
    border-radius: 0.2rem;
}

.certificate-lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
}

}

/* =========================================================
   LIGHT MODE — HOMEPAGE HEADER
   ========================================================= */

html[data-theme="light"] #header .content .inner {
    color: #111820 !important;
}

/* Opeyemi Peter */
html[data-theme="light"] #header .content .inner h1 {
    color: #111820 !important;
}

/* Data Analyst | SQL | Excel | Tableau | Python | Business Intelligence */
html[data-theme="light"] #header .content .inner .header-role {
    color: #111820 !important;
    font-weight: 700;
}

/* Turning data into clear insights... */
html[data-theme="light"] #header .content .inner .header-tagline {
    color: #111820 !important;
}

/* LinkedIn / GitHub / X text */
html[data-theme="light"] #header .content .inner .header-links {
    color: #111820 !important;
}

/* LinkedIn / GitHub / X links */
html[data-theme="light"] #header .content .inner .header-links a {
    color: #111820 !important;
}

