:root {
    --bg: #071019;
    --bg-deep: #04090f;
    --panel: #0c1722;
    --panel-2: #111f2c;
    --text: #f3f1e8;
    --muted: #9eaab4;
    --line: rgba(255,255,255,.12);
    --line-strong: rgba(255,255,255,.22);
    --cyan: #61d9d5;
    --cyan-soft: #a3f1ed;
    --accent: #72c7ff;
    --accent-soft: #b9e2ff;
    --accent-hover: #91d4ff;
    --cream: #efe5cf;
    --max: 1240px;
    --nav-h: 82px;
    --radius: 24px;
    --shadow: 0 28px 80px rgba(0,0,0,.38);
    --display: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
    --body: "Manrope", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
::selection { background: var(--accent); color: #081019; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }

.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;
}
.skip-link {
    position: fixed;
    z-index: 99999;
    top: 10px;
    left: 10px;
    padding: 12px 16px;
    background: var(--text);
    color: var(--bg);
    border-radius: 8px;
    transform: translateY(-140%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}
.cursor-glow {
    width: 420px;
    height: 420px;
    position: fixed;
    left: -210px;
    top: -210px;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(97,217,213,.08), transparent 68%);
    transform: translate3d(var(--x, 0), var(--y, 0), 0);
    will-change: transform;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(4,9,15,.82);
    border-color: rgba(255,255,255,.08);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav-shell {
    width: min(calc(100% - 40px), var(--max));
    height: var(--nav-h);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.26);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: -.08em;
    position: relative;
    overflow: hidden;
}
.brand-mark::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(97,217,213,.35);
    transform: rotate(45deg) scale(.7);
}
.brand-mark span { position: relative; z-index: 1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-family: var(--display); font-size: 15px; letter-spacing: .015em; }
.brand-copy small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    text-decoration: none;
    color: rgba(243,241,232,.78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
    border: 1px solid rgba(255,255,255,.25);
    padding: 11px 16px;
    border-radius: 999px;
}
.nav-links .nav-cta:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; background: var(--text); margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }

.hero {
    min-height: max(780px, 100svh);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-deep);
}
#star-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .68; }
.hero-image,
.hero-aurora {
    position: absolute;
    inset: -3%;
    z-index: 0;
    background-position: center 58%;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    will-change: transform, opacity;
}
.hero-image {
    background-image: url('../../images/topper-hero.jpg');
    filter: saturate(.88) contrast(1.08) brightness(.72);
    animation: heroDrift 24s ease-in-out infinite alternate;
}
.hero-aurora {
    background-image: url('../../images/aurora-shimmer.png');
    mix-blend-mode: screen;
    opacity: .24;
    animation: auroraShimmer 14s ease-in-out infinite;
}
@keyframes heroDrift {
    0% { transform: scale(1.035) translate3d(-1%, .3%, 0); }
    100% { transform: scale(1.09) translate3d(1.25%, -.7%, 0); }
}
@keyframes auroraShimmer {
    0%, 100% { transform: scale(1.045) translate3d(1.7%, .7%, 0); opacity: .18; filter: saturate(1.05) brightness(1.02); }
    50% { transform: scale(1.11) translate3d(-2.4%, -1.7%, 0); opacity: .4; filter: saturate(1.38) brightness(1.2); }
}
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(4,9,15,.88) 0%, rgba(4,9,15,.70) 37%, rgba(4,9,15,.28) 67%, rgba(4,9,15,.08) 100%),
        linear-gradient(180deg, rgba(4,9,15,.2), transparent 34%, rgba(4,9,15,.55) 100%),
        radial-gradient(ellipse at center, transparent 42%, rgba(4,9,15,.32) 100%);
    pointer-events: none;
}
.hero-shell {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    padding: calc(var(--nav-h) + 68px) 0 90px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 55px;
    align-items: center;
    position: relative;
    z-index: 3;
}
.eyebrow, .kicker {
    margin: 0 0 22px;
    color: var(--cyan-soft);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px rgba(97,217,213,.7); }
.hero h1, .section-heading h2, .about-copy h2, .experience-intro h2, .contact-copy h2 {
    font-family: var(--display);
    letter-spacing: -.055em;
    line-height: .98;
    margin: 0;
    font-weight: 600;
}
.hero h1 { font-size: clamp(54px, 6.5vw, 98px); max-width: 850px; }
h1 em, h2 em { font-style: normal; color: var(--accent-soft); }
.hero-lede { max-width: 720px; margin: 30px 0 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.7; color: rgba(243,241,232,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .025em;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #0a1020; box-shadow: 0 12px 34px rgba(114,199,255,.22); }
.button-primary:hover { background: var(--accent-hover); }
.button-ghost { background: rgba(5,12,18,.46); color: var(--text); border-color: rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; max-width: 760px; }
.hero-meta div { border-top: 1px solid rgba(255,255,255,.17); padding-top: 15px; display: flex; gap: 12px; align-items: flex-start; }
.hero-meta strong { font-family: var(--display); font-size: 22px; line-height: 1; color: var(--cream); }
.hero-meta span { font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; color: rgba(243,241,232,.54); }

.hero-orbit {
    width: min(42vw, 480px);
    aspect-ratio: 1;
    justify-self: end;
    position: relative;
    display: grid;
    place-items: center;
}
.orbit-ring { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-ring::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 18px var(--cyan); top: 12%; left: 18%; }
.orbit-ring-one { inset: 7%; animation: orbitRotate 26s linear infinite; }
.orbit-ring-two { inset: 22%; border-style: dashed; border-color: rgba(114,199,255,.32); animation: orbitRotate 20s linear infinite reverse; }
@keyframes orbitRotate { to { transform: rotate(360deg); } }
.orbit-core {
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(97,217,213,.25), rgba(7,16,25,.86) 48%, rgba(4,9,15,.98));
    border: 1px solid rgba(97,217,213,.38);
    box-shadow: 0 0 80px rgba(97,217,213,.12), inset 0 0 40px rgba(97,217,213,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.orbit-core span { color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .24em; margin-bottom: 8px; }
.orbit-core strong { font-family: var(--display); line-height: 1.05; font-size: clamp(17px, 2vw, 25px); }
.orbit-node {
    position: absolute;
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(6,13,20,.72);
    backdrop-filter: blur(12px);
    color: var(--text);
    padding: 11px 15px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.orbit-node span { color: var(--accent-soft); margin-right: 8px; }
.orbit-node:hover { border-color: var(--cyan); background: rgba(11,27,38,.92); transform: scale(1.04); }
.node-one { top: 8%; right: 3%; }
.node-two { top: 43%; left: -2%; }
.node-three { bottom: 9%; right: 7%; }
.node-four { bottom: 23%; left: 2%; }
.scroll-cue {
    position: absolute;
    z-index: 5;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 9px;
    color: rgba(243,241,232,.48);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 8px;
    font-weight: 800;
}
.scroll-cue i { display: block; height: 38px; width: 1px; background: linear-gradient(var(--cyan), transparent); animation: scrollPulse 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.5); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

.section { position: relative; padding: 120px 0; }
.section-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; position: relative; z-index: 2; }
.section-heading { display: grid; grid-template-columns: 1.4fr .65fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.section-heading.compact { align-items: center; }
.section-heading h2, .about-copy h2, .experience-intro h2 { font-size: clamp(44px, 5vw, 72px); }
.section-heading > p, .experience-intro > p, .about-copy > p, .contact-copy > p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.75; }

.work-section {
    background:
        radial-gradient(circle at 78% 10%, rgba(97,217,213,.07), transparent 29%),
        linear-gradient(180deg, #08111a 0%, #071019 100%);
}
.work-section::before { content: ""; 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: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 95%); }

.portfolio-category-view, .portfolio-results { position: relative; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.category-card {
    grid-column: span 1;
    display: block;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(17,31,44,.86), rgba(10,21,31,.94));
    color: var(--text);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    min-width: 0;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.category-card-wide { grid-column: 1 / -1; }
.category-card:hover, .category-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(114,199,255,.58);
    box-shadow: 0 28px 74px rgba(0,0,0,.34), 0 0 0 1px rgba(114,199,255,.07);
    outline: 0;
}
.category-media { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #06111a; }
.category-card-wide .category-media { aspect-ratio: 3.33/1; }
.category-media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.84) contrast(1.05) brightness(.76); transition: transform .75s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.category-card:hover .category-media img, .category-card:focus-visible .category-media img { transform: scale(1.055); filter: saturate(1) contrast(1.07) brightness(.91); }
.category-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,8,13,.02) 25%, rgba(3,8,13,.74) 100%); }
.category-count { position: absolute; left: 16px; top: 16px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(3,9,14,.64); backdrop-filter: blur(10px); color: var(--cream); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category-arrow { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(3,9,14,.7); backdrop-filter: blur(10px); transition: background .2s ease, color .2s ease, transform .2s ease; }
.category-card:hover .category-arrow, .category-card:focus-visible .category-arrow { background: var(--accent); color: var(--bg); transform: rotate(8deg); }
.category-copy { display: block; padding: 22px 23px 25px; }
.category-copy strong { display: block; font-family: var(--display); font-size: clamp(25px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.035em; }
.category-copy > span { display: block; color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 10px; max-width: 620px; }
.portfolio-results[hidden], .portfolio-category-view[hidden] { display: none; }
.portfolio-results-head { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.portfolio-back { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: rgba(7,16,25,.48); border-radius: 999px; padding: 10px 15px; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; transition: border-color .2s ease, color .2s ease, background .2s ease; white-space: nowrap; }
.portfolio-back:hover, .portfolio-back:focus-visible { color: var(--text); border-color: rgba(114,199,255,.5); background: rgba(114,199,255,.06); outline: 0; }
.portfolio-results-title h3 { margin: 0; font-family: var(--display); font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.portfolio-results-title > p:last-child { color: var(--muted); margin: 12px 0 0; max-width: 720px; font-size: 14px; line-height: 1.7; }
.portfolio-results .filter-bar { margin-top: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filter-button {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 750;
    cursor: pointer;
    transition: all .2s ease;
}
.filter-button:hover { color: var(--text); border-color: var(--line-strong); }
.filter-button.active { color: #071019; background: var(--cyan); border-color: var(--cyan); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.work-card {
    grid-column: span 4;
    background: linear-gradient(180deg, rgba(17,31,44,.84), rgba(10,21,31,.9));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    min-height: 100%;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease, opacity .3s ease;
    transform-style: preserve-3d;
}
.work-card-wide { grid-column: span 8; }
.work-card-half { grid-column: span 6; }
.work-card-full { grid-column: span 12; }
.work-card-tall { grid-row: span 2; }
.work-card:hover, .work-card:focus-visible { border-color: rgba(97,217,213,.55); box-shadow: 0 26px 70px rgba(0,0,0,.32), 0 0 0 1px rgba(97,217,213,.06); outline: 0; }
.work-card[hidden] { display: none; }
.card-media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: #0a1520; }
.work-card-tall .card-media { aspect-ratio: 4/5; }
.work-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease; filter: saturate(.85) contrast(1.04) brightness(.82); }
.work-card:hover img { transform: scale(1.055); filter: saturate(1) contrast(1.06) brightness(.95); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,9,15,.58)); }
.card-index { position: absolute; z-index: 2; top: 16px; left: 16px; background: rgba(4,9,15,.65); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); padding: 5px 8px; border-radius: 999px; font-size: 9px; letter-spacing: .14em; color: var(--cream); }
.card-open { position: absolute; z-index: 2; top: 15px; right: 15px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(4,9,15,.68); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); transition: background .2s ease, color .2s ease, transform .2s ease; }
.work-card:hover .card-open { background: var(--accent); color: var(--bg); transform: rotate(8deg); }
.card-body { padding: 22px 22px 24px; }
.card-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--cyan-soft); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.card-meta time { color: var(--muted); }
.card-body h3 { font-family: var(--display); font-size: clamp(23px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 12px; }
.card-body p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-row span, .dialog-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: rgba(243,241,232,.68); font-size: 9px; font-weight: 700; letter-spacing: .03em; }
.work-empty { padding: 70px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

.capabilities-section { background: #0a141e; overflow: hidden; }
.capabilities-section::after { content: "CREATIVE TECHNOLOGY"; position: absolute; bottom: -42px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(80px, 13vw, 190px); letter-spacing: -.06em; color: rgba(255,255,255,.018); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card { min-height: 330px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(7,16,25,.55); position: relative; overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.capability-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -75px; top: -75px; border-radius: 50%; background: radial-gradient(circle, rgba(97,217,213,.12), transparent 68%); }
.capability-card:hover { transform: translateY(-4px); border-color: rgba(114,199,255,.52); }
.capability-number { color: rgba(243,241,232,.35); font-size: 10px; letter-spacing: .16em; }
.capability-icon { width: 62px; height: 62px; border: 1px solid rgba(97,217,213,.35); border-radius: 18px; display: grid; place-items: center; margin: 46px 0 32px; color: var(--cyan); background: rgba(97,217,213,.04); }
.capability-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { font-family: var(--display); letter-spacing: -.03em; font-size: 27px; margin: 0 0 12px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tool-marquee { margin-top: 60px; border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee-track { width: max-content; display: flex; align-items: center; animation: marquee 34s linear infinite; }
.marquee-track span { color: rgba(243,241,232,.55); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; display: inline-flex; align-items: center; white-space: nowrap; }
.marquee-track span::after { content: "◆"; color: var(--accent); font-size: 7px; margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.about-section { background: var(--cream); color: #101820; }
.about-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 90px; align-items: center; }
.about-portrait { position: relative; padding: 0 0 38px 38px; }
.portrait-frame { position: relative; border-radius: 170px 170px 24px 24px; overflow: hidden; background: #192831; box-shadow: 0 35px 70px rgba(27,35,39,.18); }
.portrait-frame img { width: 100%; display: block; aspect-ratio: .82; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5,12,18,.72)); }
.portrait-label { position: absolute; z-index: 2; bottom: 24px; left: 26px; color: #fff; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .12em; }
.portrait-accent { position: absolute; left: 0; bottom: 0; width: 48%; height: 48%; border: 1px solid rgba(16,24,32,.24); border-radius: 0 0 0 80px; z-index: -1; }
.about-copy .kicker { color: #356c6a; }
.about-copy h2 { color: #0b151d; margin-bottom: 34px; }
.about-copy h2 em { color: #6f5bc4; }
.about-copy > p { color: #46515a; margin-bottom: 20px; }
.about-copy .large-copy { color: #17232b; font-size: clamp(19px, 2vw, 25px); line-height: 1.55; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.about-links a { text-decoration: none; border: 1px solid rgba(16,24,32,.25); border-radius: 999px; padding: 10px 15px; font-size: 11px; font-weight: 800; transition: background .2s ease, color .2s ease; }
.about-links a:hover { background: #0b151d; color: var(--cream); }
.about-links span { margin-left: 8px; }

.experience-section { background: #071019; }
.experience-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.experience-intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.experience-intro h2 { margin-bottom: 28px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 7px; bottom: 12px; width: 1px; background: linear-gradient(var(--cyan), rgba(255,255,255,.08)); }
.timeline-item { position: relative; padding-left: 50px; display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding-bottom: 48px; }
.timeline-dot { position: absolute; left: 3px; top: 7px; width: 11px; height: 11px; border: 2px solid var(--cyan); background: var(--bg); border-radius: 50%; box-shadow: 0 0 18px rgba(97,217,213,.4); }
.timeline-date { color: var(--accent-soft); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; padding-top: 4px; }
.timeline-copy h3 { font-family: var(--display); font-size: 26px; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 7px; }
.timeline-company { color: var(--cyan-soft) !important; font-size: 12px !important; font-weight: 700; margin: 0 0 13px !important; }
.timeline-company span { color: var(--muted); margin: 0 5px; }
.timeline-copy > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }

.recognition-section { background: #0b1721; }
.recognition-list { border-top: 1px solid var(--line); }
.recognition-item { display: grid; grid-template-columns: 70px .8fr 1.2fr; gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.recognition-item:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(97,217,213,.04), transparent); }
.recognition-item > span { color: var(--accent-soft); font-size: 10px; letter-spacing: .14em; }
.recognition-item h3 { font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.recognition-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact-section { background: var(--accent); color: #0b151d; overflow: hidden; }
.contact-orb { position: absolute; width: 740px; height: 740px; right: -270px; top: -270px; border: 1px solid rgba(11,21,29,.16); border-radius: 50%; }
.contact-orb::before, .contact-orb::after { content: ""; position: absolute; border: 1px solid rgba(11,21,29,.12); border-radius: 50%; }
.contact-orb::before { inset: 14%; }
.contact-orb::after { inset: 30%; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: start; }
.contact-copy .kicker { color: #2a5553; }
.contact-copy h2 { font-size: clamp(46px, 5vw, 72px); margin-bottom: 30px; }
.contact-copy > p { color: rgba(11,21,29,.74); max-width: 590px; }
.direct-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 36px; }
.direct-contact a, .direct-contact span { color: #0b151d; font-weight: 750; font-size: 13px; }
.contact-form { background: #0b151d; color: var(--text); border-radius: 28px; padding: 32px; box-shadow: 0 32px 80px rgba(32,24,64,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 17px; }
.contact-form label > span { display: block; color: rgba(243,241,232,.62); font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; margin-bottom: 7px; }
.contact-form input, .contact-form textarea { width: 100%; background: #111f29; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: var(--text); padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(97,217,213,.09); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .button { border: 0; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--cyan-soft); font-size: 12px; }
.form-status.error { color: #ff9a8d; }

.site-footer { background: #04090f; border-top: 1px solid rgba(255,255,255,.08); padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.footer-grid > div:first-child { display: flex; flex-direction: column; }
.footer-grid strong { font-family: var(--display); font-size: 17px; }
.footer-grid span, .footer-grid p { color: rgba(243,241,232,.45); font-size: 10px; margin: 3px 0 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(243,241,232,.68); font-size: 11px; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--cyan-soft); }

.project-dialog {
    width: min(1080px, calc(100% - 30px));
    max-height: min(880px, calc(100svh - 30px));
    padding: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    background: #09131c;
    color: var(--text);
    box-shadow: var(--shadow);
    overflow: auto;
}
.project-dialog::backdrop { background: rgba(1,5,9,.82); backdrop-filter: blur(15px); }
.dialog-shell { position: relative; }
.dialog-close { position: sticky; float: right; top: 16px; right: 16px; z-index: 5; margin: 16px 16px -60px 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(4,9,15,.72); backdrop-filter: blur(12px); color: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--accent); color: #071019; }
.dialog-media { width: calc(100% - 48px); max-width: 980px; min-height: 330px; margin: 24px auto 0; background: #04090f; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,.09); }
.dialog-media img, .dialog-media video, .dialog-media iframe { display: block; width: 100%; min-height: 330px; max-height: 520px; object-fit: cover; border: 0; }
.dialog-media iframe { aspect-ratio: 16/9; }
.dialog-content { padding: 38px 44px 44px; }
.dialog-category { color: var(--cyan-soft); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; margin: 0 0 10px; }
.dialog-content h2 { font-family: var(--display); font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; margin: 0 0 20px; }
.dialog-summary { color: var(--cream); font-size: 19px; line-height: 1.6; max-width: 850px; margin: 0 0 18px; }
.dialog-description { color: var(--muted); line-height: 1.8; max-width: 860px; font-size: 14px; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1120px) {
    .hero-shell { grid-template-columns: 1fr .62fr; gap: 20px; }
    .hero-orbit { width: min(40vw, 410px); }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-card-wide { grid-column: span 2; }
    .work-card, .work-card-half { grid-column: span 6; }
    .work-card-wide, .work-card-full { grid-column: span 12; }
    .work-card-tall { grid-row: auto; }
    .work-card-tall .card-media { aspect-ratio: 16/10; }
    .section-heading { grid-template-columns: 1.15fr .85fr; gap: 40px; }
    .about-grid, .experience-grid, .contact-grid { gap: 55px; }
}

@media (max-width: 900px) {
    :root { --nav-h: 72px; }
    .nav-links {
        position: fixed;
        inset: var(--nav-h) 0 auto;
        background: rgba(4,9,15,.97);
        border-bottom: 1px solid var(--line);
        padding: 24px 20px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 11px 4px; font-size: 14px; }
    .nav-links .nav-cta { text-align: center; margin-top: 10px; }
    .nav-toggle { display: block; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { min-height: 820px; }
    .hero-image, .hero-aurora { inset: -4%; background-position: center 55%; }
    .hero-vignette { background: linear-gradient(90deg, rgba(4,9,15,.9) 0%, rgba(4,9,15,.72) 60%, rgba(4,9,15,.42) 100%), linear-gradient(180deg, rgba(4,9,15,.22), transparent 30%, rgba(4,9,15,.66) 100%); }
    .hero-shell { grid-template-columns: 1fr; padding-top: 125px; }
    .hero-copy { max-width: 760px; }
    .hero-orbit { display: none; }
    .section { padding: 90px 0; }
    .section-heading, .section-heading.compact { grid-template-columns: 1fr; align-items: start; gap: 25px; }
    .section-heading > p { max-width: 650px; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card { min-height: 0; }
    .capability-icon { margin: 34px 0 24px; }
    .about-grid { grid-template-columns: .8fr 1.2fr; gap: 42px; }
    .experience-grid { grid-template-columns: 1fr; }
    .experience-intro { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-copy { max-width: 720px; }
    .footer-grid { grid-template-columns: 1fr auto; }
    .footer-grid > p { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    :root { --radius: 20px; }
    .nav-shell, .section-shell, .hero-shell { width: min(calc(100% - 28px), var(--max)); }
    .brand-copy small { display: none; }
    .hero { min-height: 780px; }
    .hero-shell { padding-top: 118px; padding-bottom: 82px; }
    .hero h1 { font-size: clamp(47px, 14vw, 68px); }
    .hero-lede { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .hero-meta { grid-template-columns: 1fr; gap: 13px; margin-top: 35px; }
    .hero-meta div { align-items: center; }
    .hero-meta span { max-width: 250px; }
    .scroll-cue { display: none; }
    .section { padding: 72px 0; }
    .section-heading h2, .about-copy h2, .experience-intro h2, .contact-copy h2 { font-size: clamp(39px, 12vw, 56px); }
    .category-grid { grid-template-columns: 1fr; gap: 16px; }
    .category-card, .category-card-wide { grid-column: auto; }
    .category-card-wide .category-media, .category-media { aspect-ratio: 16/10; }
    .category-copy { padding: 19px 20px 22px; }
    .portfolio-results-head { grid-template-columns: 1fr; gap: 20px; }
    .portfolio-back { width: fit-content; }
    .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-right: -14px; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-button { white-space: nowrap; }
    .work-grid { grid-template-columns: 1fr; gap: 16px; }
    .work-card, .work-card-wide, .work-card-half, .work-card-full { grid-column: auto; }
    .card-body { padding: 20px; }
    .card-body h3 { font-size: 27px; }
    .capability-card { padding: 23px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-portrait { padding: 0 0 24px 24px; max-width: 450px; }
    .timeline-item { grid-template-columns: 1fr; gap: 7px; padding-left: 38px; }
    .timeline-date { order: -1; }
    .recognition-item { grid-template-columns: 42px 1fr; gap: 14px; }
    .recognition-item p { grid-column: 2; }
    .contact-form { padding: 23px; border-radius: 22px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-links { flex-wrap: wrap; }
    .dialog-media { width: calc(100% - 24px); margin-top: 12px; min-height: 220px; border-radius: 14px; }
    .dialog-media img, .dialog-media video, .dialog-media iframe { min-height: 220px; max-height: 380px; }
    .dialog-content { padding: 28px 22px 30px; }
    .dialog-summary { font-size: 17px; }
    .project-dialog { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .cursor-glow { display: none; }
}

/* Portfolio content reconciliation: keep original section names legible in the new card system. */
.card-meta > span:last-child {
    color: var(--muted);
    text-align: right;
    max-width: 62%;
    line-height: 1.35;
}
@media (max-width: 680px) {
    .card-meta { align-items: flex-start; }
    .card-meta > span:last-child { max-width: 66%; }
}


/* Compact portfolio project cards: match the image-led category-card format. */
.portfolio-results .work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.portfolio-results .work-card,
.portfolio-results .work-card-wide,
.portfolio-results .work-card-half,
.portfolio-results .work-card-full,
.portfolio-results .work-card-tall {
    grid-column: auto;
    grid-row: auto;
    display: block;
    min-width: 0;
    min-height: 0;
    background: linear-gradient(180deg, rgba(17,31,44,.86), rgba(10,21,31,.94));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transform-style: flat;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.portfolio-results .work-card:hover,
.portfolio-results .work-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(114,199,255,.58);
    box-shadow: 0 28px 74px rgba(0,0,0,.34), 0 0 0 1px rgba(114,199,255,.07);
}
.portfolio-results .card-media,
.portfolio-results .work-card-tall .card-media {
    aspect-ratio: 16 / 9;
}
.portfolio-results .card-body {
    padding: 20px 21px 22px;
}
.portfolio-results .card-meta {
    align-items: flex-start;
    margin-bottom: 9px;
    font-size: 8px;
    line-height: 1.35;
}
.portfolio-results .card-meta > span:last-child {
    max-width: 58%;
}
.portfolio-results .card-body h3 {
    font-size: clamp(22px, 1.75vw, 28px);
    line-height: 1.08;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.portfolio-results .card-body p {
    font-size: 12px;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.portfolio-results .work-card .tag-row {
    display: none;
}
.portfolio-results .work-card[hidden] {
    display: none;
}
.portfolio-results .card-index {
    left: 16px;
    top: 16px;
    padding: 6px 9px;
}
.portfolio-results .card-open {
    right: 16px;
    top: 16px;
    width: 42px;
    height: 42px;
}
@media (max-width: 1120px) {
    .portfolio-results .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .portfolio-results .work-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .portfolio-results .card-body {
        padding: 19px 20px 21px;
    }
    .portfolio-results .card-body h3 {
        font-size: 25px;
    }
}
