:root {
    --black: #060606;
    --black-2: #0a0a0a;
    --black-3: #101010;

    --white: #f4f2ec;
    --silver: #c8c7c2;
    --muted: #77756f;

    --gold: #c9a45d;
    --gold-light: #f0d493;
    --gold-dark: #806126;

    --line: rgba(255,255,255,.085);
    --line-gold: rgba(201,164,93,.28);

    --container: 1240px;

    --ease: cubic-bezier(.22,.61,.36,1);
    --ease-soft: cubic-bezier(.16,1,.3,1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: "Inter", "DM Sans", Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

::selection {
    background: var(--gold);
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}


/* =========================================
   CURSOR
========================================= */

.cursor-dot,
.cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--gold-light);
    box-shadow: 0 0 15px rgba(240,212,147,.55);
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201,164,93,.5);
    transition:
        width .35s var(--ease),
        height .35s var(--ease),
        border-color .35s ease,
        background .35s ease;
}

.cursor-ring.active {
    width: 58px;
    height: 58px;
    border-color: var(--gold);
    background: rgba(201,164,93,.035);
}

.cursor-ring.project-active {
    width: 78px;
    height: 78px;
    border-color: var(--gold-light);
    background: rgba(201,164,93,.04);
}

@media (max-width: 760px) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}


/* =========================================
   NAVIGATION
========================================= */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;

    background: rgba(6,6,6,.72);
    border-bottom: 1px solid rgba(255,255,255,.055);

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

    transition:
        background .35s ease,
        border-color .35s ease;
}

.site-nav.scrolled {
    background: rgba(6,6,6,.92);
    border-color: rgba(201,164,93,.12);
}

.nav-inner {
    width: min(calc(100% - 50px), var(--container));
    min-height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .12em;
}

.brand span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    position: relative;

    color: #85837e;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;

    transition: color .3s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -10px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width .35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-contact {
    display: inline-flex;
    align-items: center;

    padding: 11px 17px;

    border: 1px solid var(--line-gold);

    color: var(--gold-light);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;

    transition:
        background .35s ease,
        color .35s ease,
        border-color .35s ease;
}

.nav-contact span {
    margin-left: 8px;
}

.nav-contact:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #050505;
}


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

.mobile-menu-button {
    display: none;

    width: 34px;
    height: 30px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 1px;

    margin: 7px 0;

    background: var(--white);

    transition:
        transform .4s var(--ease),
        opacity .3s ease;
}

.mobile-menu-button.open span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-button.open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 4000;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201,164,93,.08),
            transparent 35%
        ),
        rgba(6,6,6,.98);

    transform: translateY(-100%);
    visibility: hidden;

    transition:
        transform .65s var(--ease),
        visibility .65s;
}

.mobile-menu.open {
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-inner {
    height: 100%;

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

    padding: 40px 30px;
}

.mobile-menu-label {
    margin-bottom: 25px;

    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .25em;
}

.mobile-menu a {
    padding: 15px 0;

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

    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;

    transition:
        color .3s ease,
        padding-left .3s ease;
}

.mobile-menu a:hover {
    color: var(--gold-light);
    padding-left: 10px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;
}

.hero-inner {
    width: min(calc(100% - 50px), var(--container));

    margin: auto;

    display: grid;
    grid-template-columns: 1.15fr .85fr;

    gap: 80px;
    align-items: center;

    padding-top: 90px;

    position: relative;
    z-index: 3;
}

.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );

    opacity: .8;
}

.hero-noise {
    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(30px);
}

.hero-glow-one {
    width: 600px;
    height: 600px;

    right: -250px;
    top: -250px;

    background:
        radial-gradient(
            circle,
            rgba(201,164,93,.13),
            transparent 70%
        );
}

.hero-glow-two {
    width: 500px;
    height: 500px;

    left: -250px;
    bottom: -300px;

    background:
        radial-gradient(
            circle,
            rgba(200,200,200,.055),
            transparent 70%
        );
}

.hero-light-follow {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(201,164,93,.055),
            transparent 70%
        );

    filter: blur(10px);

    transform: translate(-50%, -50%);

    z-index: 1;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .28em;
}

.hero-kicker .line {
    width: 40px;
    height: 1px;

    background: var(--gold);
}

.profile-frame {
    width: 120px;
    height: 120px;

    margin: 35px 0 30px;
    padding: 3px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--silver),
            var(--gold-dark)
        );

    position: relative;

    box-shadow:
        0 0 0 1px rgba(201,164,93,.1),
        0 20px 60px rgba(0,0,0,.35);
}

.profile-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
    border: 4px solid var(--black);

    display: block;
}

.profile-initial {
    position: absolute;
    inset: 4px;

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

    border-radius: 50%;

    background: #0d0d0d;

    color: var(--gold-light);

    font-size: 30px;
}

.profile-frame.no-image .profile-initial {
    display: flex;
}

.hero-title {
    margin-bottom: 28px;

    font-size: clamp(65px, 9vw, 120px);
    line-height: .82;

    letter-spacing: -.075em;

    font-weight: 800;
}

.hero-name {
    display: block;
}

.hero-name-gold {
    background:
        linear-gradient(
            100deg,
            var(--gold-light),
            var(--silver),
            var(--gold),
            var(--gold-light)
        );

    background-size: 300% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation:
        goldMove 9s linear infinite;
}

.hero-subtitle {
    display: flex;
    gap: 12px;

    color: var(--silver);

    font-size: 15px;
    letter-spacing: .04em;

    margin-bottom: 25px;
}

.hero-subtitle i {
    color: var(--gold);
}

.hero-description {
    max-width: 650px;

    color: var(--silver);

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 10px;

    margin-bottom: 45px;
}

.button {
    min-height: 50px;

    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .15em;
    text-transform: uppercase;

    transition:
        background .4s var(--ease),
        color .4s var(--ease),
        border-color .4s var(--ease),
        box-shadow .4s var(--ease);
}

.button-gold {
    background: var(--gold);
    color: #070707;
}

.button-gold:hover {
    background: var(--gold-light);

    box-shadow:
        0 15px 40px rgba(201,164,93,.2);
}

.button-outline {
    border: 1px solid var(--line);
    color: var(--silver);
}

.button-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.hero-stats {
    display: flex;
    gap: 45px;

    padding-top: 25px;

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

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: var(--gold-light);

    font-size: 23px;
    font-weight: 500;
}

.hero-stats span {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: .14em;
    text-transform: uppercase;
}


/* =========================================
   IDENTITY CARD
========================================= */

.hero-object {
    display: flex;
    justify-content: center;

    perspective: 1200px;
}

.identity-card {
    width: 390px;
    height: 500px;

    padding: 28px;

    border: 1px solid rgba(201,164,93,.25);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.008)
        );

    box-shadow:
        0 50px 100px rgba(0,0,0,.55),
        0 0 70px rgba(201,164,93,.07);

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

    transform:
        rotateX(0deg)
        rotateY(0deg)
        rotateZ(3deg);

    transform-style: preserve-3d;

    transition:
        box-shadow .7s var(--ease);

    will-change: transform;
}

.identity-card::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.08),
            transparent 35%,
            transparent 65%,
            rgba(201,164,93,.05)
        );
}

.identity-card:hover {
    box-shadow:
        0 60px 120px rgba(0,0,0,.65),
        0 0 90px rgba(201,164,93,.12);
}

.card-top,
.card-bottom {
    display: flex;
    justify-content: space-between;
}

.card-top span,
.card-bottom small {
    color: var(--muted);

    font-size: 8px;
    letter-spacing: .2em;
}

.card-center {
    position: relative;

    width: 230px;
    height: 230px;

    margin: auto;

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

.monogram {
    width: 140px;
    height: 140px;

    border-radius: 50%;

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

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

    color: var(--gold-light);

    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 400;

    box-shadow:
        0 0 60px rgba(201,164,93,.08),
        inset 0 0 50px rgba(201,164,93,.04);

    position: relative;
    z-index: 2;
}

.orbit {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    border: 1px solid rgba(201,164,93,.12);
}

.orbit-one {
    animation:
        orbitSpin 16s linear infinite;
}

.orbit-two {
    inset: 20px;

    border-color: rgba(200,200,200,.08);

    animation:
        orbitSpin 11s linear infinite reverse;
}

.orbit-three {
    inset: 42px;

    border-color: rgba(201,164,93,.07);

    animation:
        orbitSpin 22s linear infinite;
}

.card-bottom {
    align-items: flex-end;
}

.card-bottom div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-bottom strong {
    color: var(--silver);

    font-size: 10px;
    font-weight: 500;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    position: relative;

    padding: 130px 0;
}

.dark-section {
    background:
        linear-gradient(
            180deg,
            #0a0a0a,
            #0d0d0d
        );

    border-top: 1px solid rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.035);
}

.container {
    width: min(calc(100% - 50px), var(--container));

    margin: auto;
}

.section-heading {
    display: flex;
    gap: 28px;

    margin-bottom: 65px;
}

.section-number {
    color: var(--gold);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 14px;

    padding-top: 8px;
}

.section-heading small {
    color: var(--muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .25em;
}

.section-heading h2 {
    margin-top: 9px;

    font-size: clamp(45px, 6vw, 75px);

    line-height: .95;

    letter-spacing: -.06em;

    font-weight: 500;
}

.section-intro {
    max-width: 760px;

    color: var(--silver);

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 65px;
}


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

.about-grid {
    display: grid;

    grid-template-columns: 1.3fr .7fr;

    gap: 100px;
}

.about-main {
    max-width: 780px;
}

.about-main p {
    color: var(--silver);

    font-size: 15px;
    line-height: 1.95;

    margin-bottom: 20px;
}

.about-main .lead {
    color: var(--white);

    font-size: 25px;
    line-height: 1.55;

    letter-spacing: -.02em;
}

.about-main strong {
    color: var(--gold-light);
}

.about-facts {
    border-top: 1px solid var(--line);
}

.fact {
    padding: 20px 0;

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

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.fact span {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: .2em;
}

.fact strong {
    color: var(--silver);

    font-size: 13px;
    font-weight: 500;
}


/* =========================================
   TIMELINE
========================================= */

.timeline {
    position: relative;

    margin-left: 100px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: -42px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            var(--gold),
            rgba(201,164,93,.05)
        );
}

.timeline-item {
    display: grid;

    grid-template-columns: 110px 20px 1fr;

    gap: 20px;

    margin-bottom: 70px;

    position: relative;
}

.timeline-year {
    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .12em;
}

.timeline-dot {
    width: 9px;
    height: 9px;

    margin-top: 3px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 20px rgba(201,164,93,.45);
}

.timeline-content > span {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .2em;
}

.timeline-content h3 {
    color: var(--white);

    font-size: 30px;
    font-weight: 500;

    margin-top: 12px;
}

.timeline-content h4 {
    color: var(--silver);

    font-size: 15px;
    font-weight: 400;

    margin: 4px 0 15px;
}

.timeline-content p {
    max-width: 700px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.85;
}


/* =========================================
   SKILLS
========================================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

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

.skill-card {
    min-height: 190px;

    padding: 28px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        transform .45s var(--ease),
        background .45s ease,
        border-color .45s ease;
}

.skill-card:hover {
    background: rgba(201,164,93,.035);

    transform: translateY(-5px);

    border-color: var(--line-gold);
}

.skill-top {
    display: flex;
    justify-content: space-between;

    margin-bottom: 45px;
}

.skill-top span {
    color: var(--gold);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 13px;
}

.skill-top small {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: .12em;
}

.skill-card h3 {
    color: var(--white);

    font-size: 18px;
    font-weight: 500;

    margin-bottom: 18px;
}

.skill-bar {
    height: 2px;

    background: rgba(255,255,255,.07);

    overflow: hidden;
}

.skill-bar div {
    width: var(--skill-width);

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            var(--gold-light)
        );

    transform-origin: left;

    transform: scaleX(0);

    transition:
        transform 1.4s var(--ease);
}

.skill-card.visible .skill-bar div {
    transform: scaleX(1);
}

.language-grid {
    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

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

.language-grid div {
    padding: 25px;

    border-right: 1px solid var(--line);

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.language-grid div:last-child {
    border-right: none;
}

.language-grid span {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: .2em;
}

.language-grid strong {
    color: var(--silver);

    font-weight: 500;
}

.language-grid small {
    color: var(--gold);
}


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

.project {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 40px;

    padding: 65px 0;

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

    position: relative;

    transition:
        padding .45s var(--ease),
        background .45s ease;
}

.project:last-child {
    border-bottom: 1px solid var(--line);
}

.project::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width .6s var(--ease);
}

.project:hover::after {
    width: 100%;
}

.project:hover {
    padding-left: 12px;
}

.project-clickable {
    cursor: pointer;
}

.project-number {
    color: rgba(201,164,93,.5);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 15px;

    transition:
        color .35s ease,
        transform .35s var(--ease);
}

.project:hover .project-number {
    color: var(--gold-light);

    transform: translateX(5px);
}

.project-content {
    max-width: 950px;

    transition:
        transform .25s var(--ease);
}

.project-label {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .2em;

    margin-bottom: 16px;
}

.project h3 {
    font-size: clamp(35px, 5vw, 68px);

    line-height: .95;

    letter-spacing: -.06em;

    font-weight: 500;

    margin-bottom: 25px;
}

.project h3 span {
    color: var(--gold-light);
}

.project-description {
    max-width: 780px;

    color: var(--silver);

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 35px;
}

.project-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    margin-bottom: 30px;
}

.project-details span {
    display: block;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: .2em;

    margin-bottom: 8px;
}

.project-details p {
    color: var(--silver);

    font-size: 13px;
    line-height: 1.75;
}

.gold-text {
    color: var(--gold-light) !important;
}

.project-highlight {
    padding: 20px 25px;

    border-left: 2px solid var(--gold);

    background: rgba(201,164,93,.035);

    color: var(--silver);

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 30px;
}

.project-highlight strong {
    color: var(--gold-light);
}

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 25px;
}

.tags span {
    padding: 7px 10px;

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

    color: var(--muted);

    font-size: 8px;

    letter-spacing: .1em;

    text-transform: uppercase;

    transition:
        color .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.tags span:hover {
    color: var(--gold-light);

    border-color: var(--line-gold);

    background: rgba(201,164,93,.035);
}

.project-open,
.thought-open {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    border: 0;
    border-bottom: 1px solid var(--line-gold);

    padding: 0 0 7px;

    background: transparent;

    color: var(--gold-light);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .15em;

    cursor: pointer;

    transition:
        color .3s ease,
        border-color .3s ease;
}

.project-open span,
.thought-open span {
    transition:
        transform .3s var(--ease);
}

.project-open:hover,
.thought-open:hover {
    color: var(--white);

    border-color: var(--gold);
}

.project-open:hover span,
.thought-open:hover span {
    transform: translateX(7px);
}

.project-featured {
    background:
        linear-gradient(
            90deg,
            rgba(201,164,93,.035),
            transparent
        );

    padding-left: 20px;

    border-left: 1px solid var(--line-gold);
}

.feature-list {
    display: grid;

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

    gap: 7px;

    margin-bottom: 35px;
}

.feature-list div {
    color: var(--silver);

    font-size: 12px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(255,255,255,.05);
}

.feature-list span {
    color: var(--gold);

    margin-right: 8px;
}


/* =========================================
   THOUGHTS
========================================= */

.thoughts-intro {
    max-width: 700px;

    color: var(--silver);

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 55px;
}

.thought-large {
    padding: 60px;

    border: 1px solid var(--line-gold);

    background:
        linear-gradient(
            135deg,
            rgba(201,164,93,.045),
            transparent 60%
        );

    margin-bottom: 2px;

    position: relative;
}

.thought-clickable {
    cursor: pointer;
}

.thought-index {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .2em;

    margin-bottom: 50px;
}

.thought-large h3 {
    max-width: 800px;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(38px, 6vw, 75px);

    line-height: 1;

    font-weight: 400;

    letter-spacing: -.045em;

    margin-bottom: 30px;
}

.thought-large p {
    max-width: 760px;

    color: var(--silver);

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 15px;
}

blockquote {
    color: var(--gold-light);

    font-family: "Playfair Display", Georgia, serif;

    font-style: italic;

    line-height: 1.7;
}

.thought-large blockquote {
    max-width: 700px;

    margin-top: 30px;

    padding-left: 20px;

    border-left: 1px solid var(--gold);
}

.thought-large .thought-open {
    margin-top: 30px;
}

.thought-grid {
    display: grid;

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

    gap: 2px;

    background: rgba(255,255,255,.07);
}

.thought-card {
    min-height: 340px;

    padding: 40px;

    background: #0b0b0b;

    transition:
        transform .45s var(--ease),
        background .45s ease;
}

.thought-card:hover {
    background: #111;

    transform: translateY(-5px);
}

.thought-card > span {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .2em;
}

.thought-card h3 {
    max-width: 500px;

    margin: 45px 0 20px;

    font-size: 28px;

    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -.03em;
}

.thought-card p {
    color: var(--silver);

    font-size: 13px;
    line-height: 1.9;

    margin-bottom: 15px;
}

.thought-card .thought-open {
    margin-top: 20px;
}


/* =========================================
   GOALS
========================================= */

.goals-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    background: rgba(255,255,255,.07);

    margin-bottom: 80px;
}

.goal-card {
    min-height: 330px;

    padding: 32px;

    background: #0b0b0b;

    position: relative;

    transition:
        transform .45s var(--ease),
        background .45s ease;
}

.goal-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width .5s ease;
}

.goal-card:hover {
    background: #111;

    transform: translateY(-6px);
}

.goal-card:hover::before {
    width: 100%;
}

.goal-card > span {
    color: var(--gold);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 13px;
}

.goal-card h3 {
    margin-top: 70px;

    font-size: 25px;

    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -.03em;

    margin-bottom: 20px;
}

.goal-card p {
    color: var(--silver);

    font-size: 13px;

    line-height: 1.85;
}

.future-statement {
    text-align: center;

    max-width: 850px;

    margin: auto;

    padding: 65px 30px;

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

.future-statement small {
    color: var(--gold);

    font-size: 8px;

    letter-spacing: .25em;
}

.future-statement h3 {
    margin: 20px 0;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(30px, 5vw, 55px);

    font-weight: 400;

    background:
        linear-gradient(
            90deg,
            var(--gold-light),
            var(--silver)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.future-statement p {
    max-width: 600px;

    margin: auto;

    color: var(--silver);

    font-size: 14px;
    line-height: 1.9;
}


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

.contact-section {
    padding: 150px 0;

    background:
        radial-gradient(
            circle at center,
            rgba(201,164,93,.07),
            transparent 40%
        );
}

.contact-container {
    width: min(calc(100% - 50px), 1050px);

    margin: auto;

    text-align: center;
}

.contact-label {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .3em;

    margin-bottom: 25px;
}

.contact-container h2 {
    font-size: clamp(50px, 8vw, 100px);

    line-height: .9;

    letter-spacing: -.07em;

    font-weight: 500;
}

.contact-container h2 span {
    display: block;

    font-family: "Playfair Display", Georgia, serif;

    font-style: italic;

    color: var(--gold-light);
}

.contact-container > p {
    max-width: 600px;

    margin: 30px auto 55px;

    color: var(--silver);

    font-size: 14px;
    line-height: 1.9;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: rgba(255,255,255,.07);

    text-align: left;
}

.contact-card {
    min-height: 180px;

    padding: 28px;

    background: #0c0c0c;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition:
        transform .45s var(--ease),
        background .45s ease;
}

.contact-card:hover {
    background: #111;

    transform: translateY(-6px);
}

.contact-card span {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: .2em;
}

.contact-card strong {
    color: var(--silver);

    font-size: 16px;
    font-weight: 500;
}

.contact-card small {
    color: var(--gold);

    font-size: 8px;

    letter-spacing: .12em;
}


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

.footer {
    border-top: 1px solid var(--line);

    background: #050505;
}

.footer-inner {
    width: min(calc(100% - 50px), var(--container));

    min-height: 130px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inner strong {
    color: var(--white);

    font-size: 16px;

    letter-spacing: .14em;
}

.footer-inner strong span {
    color: var(--gold);
}

.footer-inner p,
.footer-right {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: .12em;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 5px;
}


/* =========================================
   MODALS
========================================= */

.modal {
    position: fixed;
    inset: 0;

    z-index: 9000;

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

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .4s ease,
        visibility .4s ease;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.82);

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

.modal-dialog {
    width: min(900px, 100%);
    max-height: min(850px, 90vh);

    position: relative;
    z-index: 2;

    overflow-y: auto;

    border: 1px solid var(--line-gold);

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(201,164,93,.08),
            transparent 35%
        ),
        #0c0c0c;

    box-shadow:
        0 60px 150px rgba(0,0,0,.75);

    transform:
        translateY(35px)
        scale(.97);

    transition:
        transform .55s var(--ease);
}

.modal.open .modal-dialog {
    transform:
        translateY(0)
        scale(1);
}

.modal-close {
    position: sticky;
    top: 20px;
    float: right;

    z-index: 5;

    width: 42px;
    height: 42px;

    margin: 20px;

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

    background: rgba(0,0,0,.4);

    color: var(--silver);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        color .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.modal-close:hover {
    color: #000;

    background: var(--gold);

    border-color: var(--gold);
}

.modal-content {
    padding: 60px;
    clear: both;
}

.modal-eyebrow {
    color: var(--gold);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .25em;

    margin-bottom: 18px;
}

.modal-number {
    color: rgba(201,164,93,.4);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 14px;

    margin-bottom: 12px;
}

.modal-content h2 {
    max-width: 780px;

    font-size: clamp(40px, 6vw, 72px);

    line-height: .95;

    letter-spacing: -.06em;

    font-weight: 500;
}

.modal-divider {
    width: 100%;

    height: 1px;

    margin: 35px 0;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}

.modal-body {
    color: var(--silver);

    font-size: 15px;

    line-height: 1.95;
}

.modal-body p {
    margin-bottom: 22px;
}

.modal-body h4 {
    color: var(--gold-light);

    font-size: 10px;

    letter-spacing: .18em;

    margin: 35px 0 12px;
}

.modal-body strong {
    color: var(--white);
}

.modal-body blockquote {
    margin: 30px 0;

    padding-left: 20px;

    border-left: 1px solid var(--gold);

    color: var(--gold-light);
}

.modal-meta {
    display: grid;

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

    gap: 1px;

    margin-top: 40px;

    background: rgba(255,255,255,.07);
}

.modal-meta-item {
    padding: 22px;

    background: #101010;
}

.modal-meta-item span {
    display: block;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: .18em;

    margin-bottom: 8px;
}

.modal-meta-item strong {
    color: var(--silver);

    font-size: 13px;

    font-weight: 500;
}

.modal-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.modal-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 13px 18px;

    border: 1px solid var(--line-gold);

    color: var(--gold-light);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .14em;

    transition:
        background .3s ease,
        color .3s ease;
}

.modal-action:hover {
    background: var(--gold);

    color: #000;
}


/* =========================================
   REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes goldMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


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

@media (max-width: 1050px) {

    .nav-links {
        gap: 15px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-object {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


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

@media (max-width: 760px) {

    .nav-inner {
        width: calc(100% - 30px);

        min-height: 70px;
    }

    .nav-links,
    .nav-contact {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-inner,
    .container {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: auto;

        padding:
            125px 0 80px;
    }

    .hero-title {
        font-size:
            clamp(52px, 16vw, 82px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        justify-content: center;
    }

    .hero-stats {
        gap: 25px;

        flex-wrap: wrap;
    }

    .section {
        padding: 90px 0;
    }

    .section-heading {
        gap: 15px;

        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 44px;
    }

    .about-main .lead {
        font-size: 21px;
    }

    .timeline {
        margin-left: 18px;
    }

    .timeline::before {
        left: -10px;
    }

    .timeline-item {
        grid-template-columns: 1fr;

        padding-left: 15px;

        gap: 8px;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-content h3 {
        font-size: 25px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }

    .language-grid div {
        border-right: none;

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

    .language-grid div:last-child {
        border-bottom: none;
    }

    .project {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 45px 0;
    }

    .project:hover {
        padding-left: 0;
    }

    .project-featured {
        padding-left: 12px;
    }

    .project h3 {
        font-size: 40px;
    }

    .project-details {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .thought-large {
        padding: 35px 25px;
    }

    .thought-grid {
        grid-template-columns: 1fr;
    }

    .thought-card {
        min-height: auto;

        padding: 30px;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 100px 0;
    }

    .contact-container {
        width: calc(100% - 32px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        width: calc(100% - 32px);

        padding: 30px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .footer-right {
        align-items: flex-start;
    }

    .modal {
        padding: 10px;
    }

    .modal-dialog {
        max-height: 94vh;
    }

    .modal-content {
        padding: 30px 22px 40px;
    }

    .modal-content h2 {
        font-size: 40px;
    }

    .modal-meta {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-action {
        justify-content: center;
    }
}


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

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}