:root {
    color-scheme: dark;
    --ink: #080808;
    --ink-soft: #11110f;
    --gold: #d7b637;
    --gold-light: #e6ca55;
    --paper: #f7f1df;
    --muted: rgba(247, 241, 223, .63);
    --line-dark: rgba(8, 8, 8, .2);
    --line-light: rgba(247, 241, 223, .18);
    --display: "Manrope", "Arial", sans-serif;
    --body: "DM Sans", "Arial", sans-serif;
    font-family: var(--body);
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    background: var(--ink);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--paper);
    background: var(--ink);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: var(--scroll-progress, 0%);
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(215, 182, 55, .6);
    content: "";
    pointer-events: none;
    transition: width .08s linear;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--gold); }

.skip-link {
    position: fixed;
    z-index: 100;
    top: .75rem;
    left: .75rem;
    padding: .8rem 1rem;
    color: var(--ink);
    background: var(--gold);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 118px;
    padding: .35rem clamp(1rem, 3.2vw, 3.5rem);
    color: var(--paper);
    background: rgba(8, 8, 8, .95);
    border-bottom: 1px solid var(--line-light);
    backdrop-filter: blur(16px);
}

.brand {
    flex: 0 0 auto;
    width: clamp(245px, 23vw, 330px);
    height: 108px;
    overflow: hidden;
}
.brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page-nav {
    display: flex;
    align-items: center;
    gap: clamp(.25rem, 1.1vw, 1.2rem);
    overflow-x: auto;
    scrollbar-width: none;
}
.page-nav::-webkit-scrollbar { display: none; }
.page-nav a {
    display: grid;
    gap: .14rem;
    justify-items: center;
    padding: .7rem .32rem;
    color: rgba(247, 241, 223, .65);
    white-space: nowrap;
    transition: color .2s ease;
}
.page-nav a:hover,
.page-nav a[aria-current="location"] { color: var(--gold-light); }
.page-nav a span {
    font: 600 .55rem/1 var(--display);
    letter-spacing: .12em;
    color: var(--gold);
}
.page-nav a b {
    font: 500 .61rem/1.2 var(--body);
    letter-spacing: .015em;
}
.page-nav a { position: relative; }
.page-nav a::after {
    position: absolute;
    right: .32rem;
    bottom: .28rem;
    left: .32rem;
    height: 1px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.page-nav a:hover::after,
.page-nav a[aria-current="location"]::after { transform: scaleX(1); }

.page-section {
    position: relative;
    isolation: isolate;
    min-height: min(850px, calc(100svh - 118px));
    padding: clamp(2.2rem, 5vw, 4.7rem) clamp(1.25rem, 5.6vw, 6rem);
    overflow: hidden;
    scroll-margin-top: 118px;
}
.page-section::before,
.page-section::after {
    position: absolute;
    z-index: -1;
    width: min(46vw, 590px);
    aspect-ratio: 1;
    content: "";
    pointer-events: none;
    opacity: .46;
    background: repeating-radial-gradient(ellipse at 42% 50%, transparent 0 11px, rgba(8, 8, 8, .3) 12px 13px, transparent 14px 20px);
    mask-image: radial-gradient(ellipse, #000 2%, transparent 69%);
}
.page-section::before { top: -25%; left: -22%; transform: rotate(-24deg); }
.page-section::after { right: -24%; bottom: -34%; transform: rotate(28deg); }
.dark-page::before,
.dark-page::after {
    background: repeating-radial-gradient(ellipse at 42% 50%, transparent 0 11px, rgba(215, 182, 55, .4) 12px 13px, transparent 14px 20px);
}

.gold-page { color: var(--ink); background: var(--gold); }
.dark-page { color: var(--paper); background: var(--ink); }
.section-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-dark);
    font: 700 .63rem/1.4 var(--display);
    letter-spacing: .17em;
    text-transform: uppercase;
}
.dark-page .section-topline { border-color: var(--line-light); }
.eyebrow {
    margin: 0 0 1.1rem;
    font: 700 .68rem/1.4 var(--display);
    letter-spacing: .21em;
    text-transform: uppercase;
}
.lead {
    font: 500 clamp(1.1rem, 1.6vw, 1.45rem)/1.65 var(--body);
}
.page-number {
    position: absolute;
    right: clamp(1.25rem, 5.6vw, 6rem);
    bottom: 1.6rem;
    font: 700 .65rem/1 var(--display);
    letter-spacing: .16em;
    opacity: .62;
}

/* Cover */
.hero {
    display: flex;
    flex-direction: column;
    min-height: min(850px, calc(100svh - 76px));
    padding-top: 1.3rem;
    padding-bottom: 1.35rem;
    background:
        radial-gradient(ellipse at 50% 56%, rgba(80, 68, 34, .18), transparent 49%),
        var(--ink);
}
.hero::before { width: min(55vw, 720px); left: -17%; top: -43%; }
.hero::after { width: min(57vw, 740px); right: -23%; bottom: -46%; }
.ornament {
    position: absolute;
    z-index: -1;
    width: 30vw;
    height: 48vw;
    max-height: 650px;
    border: 1px solid rgba(215, 182, 55, .3);
    border-radius: 50%;
    opacity: .34;
    transform: rotate(37deg) scaleX(.24);
}
.ornament::before,
.ornament::after {
    position: absolute;
    inset: 12px -18px;
    border: 1px solid rgba(215, 182, 55, .5);
    border-radius: 50%;
    content: "";
}
.ornament::after { inset: 24px -36px; }
.ornament-left { top: 4%; left: -9%; animation: ornament-sway 12s ease-in-out infinite alternate; }
.ornament-right { right: -9%; bottom: -4%; transform: rotate(-37deg) scaleX(.24); animation: ornament-sway-reverse 15s ease-in-out infinite alternate; }
.hero-url {
    margin: 0;
    color: var(--gold);
    text-align: center;
    font: 500 clamp(1.2rem, 3vw, 2.7rem)/1.3 var(--display);
    letter-spacing: -.035em;
}
.hero-stage {
    display: grid;
    flex: 1;
    place-items: center;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}
.laptop { position: relative; width: min(78vw, 790px); }
.laptop-screen {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    min-height: clamp(250px, 42vw, 450px);
    padding: clamp(1.25rem, 4vw, 3.3rem);
    overflow: hidden;
    border: clamp(7px, 1.3vw, 13px) solid #d5d2cd;
    border-bottom-width: 23px;
    border-radius: 24px 24px 8px 8px;
    background:
        radial-gradient(ellipse at 68% 48%, rgba(92, 75, 35, .22), transparent 34%),
        linear-gradient(140deg, #121211, #080808 67%);
    box-shadow: inset 0 0 0 1px #fff, 0 12px 45px rgba(0, 0, 0, .55);
}
.laptop-screen::before {
    position: absolute;
    top: -16px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5a5955;
    content: "";
}
.screen-grain {
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image: repeating-radial-gradient(circle at 30% 20%, transparent 0 2px, rgba(255,255,255,.11) 3px, transparent 4px 11px);
    mask-image: linear-gradient(120deg, #000, transparent 72%);
}
.screen-copy { position: relative; z-index: 2; }
.screen-kicker {
    display: block;
    margin-bottom: 1.5rem;
    color: rgba(215, 182, 55, .72);
    font: 500 clamp(.48rem, .8vw, .7rem)/1.4 var(--body);
    letter-spacing: .14em;
    text-transform: uppercase;
}
.screen-copy h1 {
    margin: 0;
    color: var(--gold);
    font: 500 clamp(2rem, 4.6vw, 4.2rem)/1.02 var(--display);
    letter-spacing: .035em;
    text-transform: uppercase;
}
.screen-copy h1 span { padding-left: .55em; }
.screen-orb {
    position: relative;
    justify-self: center;
    width: clamp(95px, 18vw, 190px);
    aspect-ratio: 1;
    border: 1px solid rgba(215, 182, 55, .76);
    border-radius: 50%;
    background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(215,182,55,.32) 13px, transparent 14px 25px), repeating-linear-gradient(90deg, transparent 0 12px, rgba(215,182,55,.3) 13px, transparent 14px 25px);
    box-shadow: inset 0 0 32px rgba(215, 182, 55, .15), 0 0 40px rgba(215, 182, 55, .12);
    transform: rotate(-18deg);
    animation: orb-spin 28s linear infinite;
}
.screen-orb::before,
.screen-orb::after {
    position: absolute;
    inset: 15% -8%;
    border: 1px solid rgba(215, 182, 55, .62);
    border-radius: 50%;
    content: "";
}
.screen-orb::after { inset: -8% 15%; }
.screen-orb span {
    position: absolute;
    top: 16%;
    left: 56%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 20px 8px rgba(215, 182, 55, .4);
}
.screen-brand {
    position: absolute;
    right: 5%;
    bottom: 8%;
    color: var(--gold);
    font: 500 clamp(1.05rem, 2.9vw, 2.5rem)/.95 var(--display);
    text-align: right;
    text-transform: uppercase;
}
.screen-brand small {
    display: block;
    margin-top: .35rem;
    font: 500 clamp(.38rem, .8vw, .62rem)/1.3 var(--body);
    letter-spacing: .12em;
}
.laptop-chin {
    position: absolute;
    right: 0;
    bottom: -14px;
    left: 0;
    color: #77736d;
    text-align: center;
    font: 600 .48rem/1 var(--display);
    letter-spacing: .14em;
}
.laptop-base {
    position: relative;
    width: 112%;
    height: clamp(15px, 2.8vw, 27px);
    margin-left: -6%;
    border-radius: 3px 3px 48% 48%;
    background: linear-gradient(180deg, #f3f1ef, #888581 55%, #c9c6c2);
    box-shadow: 0 13px 15px rgba(0,0,0,.4);
}
.laptop-base span {
    position: absolute;
    top: 0;
    left: 42%;
    width: 16%;
    height: 5px;
    border-radius: 0 0 8px 8px;
    background: #9e9b97;
}
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    color: var(--muted);
    border-top: 1px solid var(--line-light);
    font: 500 .62rem/1.5 var(--display);
    letter-spacing: .15em;
    text-transform: uppercase;
}
.text-link { color: var(--gold); }
.text-link span { display: inline-block; margin-left: .45rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }

/* About and founder */
.about { display: grid; grid-template-rows: auto 1fr; }
.about .section-topline { grid-column: 1 / -1; }
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .8fr;
    align-items: center;
    gap: clamp(3rem, 9vw, 9rem);
    width: 100%;
    max-width: 1120px;
    margin: auto;
    padding: 3rem 0;
}
.about-copy h2,
.portfolio-heading h2,
.case-copy h2,
.gallery-heading h2,
.founder-bio h2,
.contact h2 {
    margin: 0 0 1.4rem;
    font: 800 clamp(3.2rem, 7.7vw, 7.5rem)/.94 var(--display);
    letter-spacing: -.075em;
}
.about-copy > p:not(.eyebrow) { max-width: 570px; font-size: 1rem; line-height: 1.8; }
.gold-dot, .about-copy h2 .gold-dot { color: var(--paper); }
.founder-card { width: min(100%, 390px); margin: 0 auto; }
.portrait-frame { position: relative; padding: 0 14px 14px 0; }
.portrait-frame::after {
    position: absolute;
    z-index: -1;
    inset: 13px 0 0 13px;
    border: 1px solid rgba(8,8,8,.7);
    content: "";
}
.portrait-frame img {
    width: 100%;
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
    object-position: center 26%;
    filter: saturate(.8);
}
.founder-card figcaption {
    display: grid;
    gap: .35rem;
    margin: 1rem 0 0;
    padding: .8rem 1rem;
    background: var(--paper);
}
.founder-card figcaption strong { font: 800 clamp(.95rem, 1.5vw, 1.3rem)/1.2 var(--display); }
.founder-card figcaption span { font: 700 .58rem/1.4 var(--display); letter-spacing: .08em; }

/* Portfolio index */
.portfolio {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-content: center;
    column-gap: clamp(2rem, 8vw, 8rem);
}
.portfolio .section-topline { grid-column: 1 / -1; margin-bottom: clamp(3rem, 7vw, 6rem); }
.portfolio-heading h2 { color: var(--paper); }
.portfolio-heading h2 span,
.case-copy h2 span,
.gallery-heading h2 span,
.founder-bio h2 span,
.contact h2 span { color: var(--gold); }
.portfolio-heading .lead { max-width: 440px; color: var(--muted); }
.project-list { align-self: center; }
.project-row {
    display: grid;
    grid-template-columns: 2.3rem minmax(0, 1fr) auto 1.3rem;
    align-items: center;
    gap: .8rem;
    min-height: 92px;
    border-bottom: 1px solid var(--line-light);
    transition: color .2s ease, padding .2s ease;
}
.project-row:first-child { border-top: 1px solid var(--line-light); }
.project-row:hover { padding-left: .45rem; color: var(--gold); }
.project-index, .project-type { color: var(--muted); font: 600 .65rem/1.4 var(--display); }
.project-name { font: 700 clamp(1rem, 1.8vw, 1.55rem)/1.2 var(--display); }
.project-arrow { color: var(--gold); font-size: 1.35rem; }

/* Project pages */
.case-study { display: grid; grid-template-rows: auto 1fr; }
.case-study .section-topline { grid-column: 1 / -1; }
.case-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    width: 100%;
    max-width: 1190px;
    margin: auto;
    padding: 3.5rem 0;
}
.case-copy h2 { font-size: clamp(3.2rem, 6.5vw, 6.5rem); }
.case-copy .lead { max-width: 560px; }
.feature-list { display: grid; gap: .8rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.4rem; font-size: .94rem; line-height: 1.55; }
.feature-list li::before {
    position: absolute;
    top: .57em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 49px;
    padding: .8rem 1.15rem;
    font: 700 .69rem/1 var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--paper); }
.button-gold { color: var(--ink); border: 1px solid var(--gold); background: var(--gold); }
.button-gold:hover { background: var(--paper); border-color: var(--paper); }
.browser-card {
    min-height: 355px;
    overflow: hidden;
    border: 1px solid rgba(8,8,8,.42);
    border-radius: 10px;
    background: #ede7d7;
    box-shadow: 18px 22px 0 rgba(8,8,8,.12), 0 25px 60px rgba(8,8,8,.2);
    transform: perspective(1100px) rotateY(-5deg) rotateX(1deg);
    transition: transform .4s ease;
}
.dark-page .browser-card { border-color: rgba(247,241,223,.22); }
.browser-card:hover { transform: perspective(1100px) rotateY(0) translateY(-5px); }
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    color: #777;
    background: #f7f6f3;
    border-bottom: 1px solid #d7d4cd;
}
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #b7b3a9; }
.browser-bar span {
    flex: 1;
    max-width: 230px;
    margin-left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    background: #e9e7e1;
    text-align: center;
    font: 500 .57rem/1 var(--body);
}
.browser-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 317px;
    padding: 2rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(16, 16, 14, .3), rgba(16, 16, 14, .82)),
        radial-gradient(ellipse at 50% 25%, #b8a67d, transparent 60%),
        #494238;
    color: #fffaf0;
}
.mock-brand { font: 600 .7rem/1.2 var(--display); letter-spacing: .28em; }
.mock-rule { width: min(100%, 210px); height: 1px; margin: 1rem auto 1.4rem; background: rgba(255,255,255,.7); }
.mock-title { font: 500 clamp(1.8rem, 3.6vw, 3.1rem)/1.05 Georgia, serif; }
.mock-subtitle { margin-top: 1rem; font: 500 .55rem/1.4 var(--body); letter-spacing: .15em; }
.mock-cta { margin-top: 1.5rem; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.78); font: 600 .56rem/1 var(--display); letter-spacing: .12em; }
.project-preview {
    display: block;
    width: 100%;
    max-height: 560px;
    aspect-ratio: 1.9 / 1;
    object-fit: cover;
    object-position: top center;
    border: 1px solid rgba(8, 8, 8, .26);
    box-shadow: 18px 22px 0 rgba(8, 8, 8, .12), 0 25px 60px rgba(8, 8, 8, .2);
    transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.dark-page .project-preview { border-color: rgba(247, 241, 223, .22); }
.project-preview:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 22px 28px 0 rgba(8, 8, 8, .1), 0 32px 70px rgba(8, 8, 8, .24);
}

/* Design gallery */
.gallery { min-height: 920px; }
.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.7rem 0 2rem;
}
.gallery-heading h2 { margin-bottom: 0; font-size: clamp(3rem, 6vw, 6rem); }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.design-grid figure { margin: 0; }
.design-grid img {
    width: 100%;
    height: clamp(170px, 24vw, 285px);
    object-fit: cover;
    background: #201f1b;
    transition: filter .25s ease, transform .35s ease;
}
.design-grid figure:hover img { filter: brightness(1.08); transform: translateY(-4px); }
.design-grid figcaption {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    padding: .7rem 0;
    color: var(--gold);
    border-bottom: 1px solid var(--line-light);
    font: 700 .6rem/1.3 var(--display);
    letter-spacing: .11em;
}
.design-grid figcaption span { color: var(--muted); font-weight: 500; }

/* Founder and contact */
.founder { display: grid; grid-template-rows: auto 1fr; }
.founder .section-topline { grid-column: 1 / -1; }
.founder-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: clamp(3rem, 9vw, 9rem);
    width: 100%;
    max-width: 1080px;
    margin: auto;
    padding: 3.5rem 0;
}
.founder-portrait { position: relative; margin: 0; }
.founder-portrait img {
    width: 100%;
    max-height: 570px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(.75);
}
.founder-portrait figcaption {
    padding: .8rem .7rem;
    color: var(--paper);
    background: var(--ink);
    text-align: center;
    font: 700 .58rem/1.4 var(--display);
    letter-spacing: .14em;
}
.founder-bio h2 { font-size: clamp(3.5rem, 7vw, 7rem); }
.founder-bio > p:not(.eyebrow) { max-width: 580px; font-size: 1rem; line-height: 1.75; }
.text-link-dark { display: inline-block; margin-top: 1rem; color: var(--ink); font-weight: 700; }
.contact { display: grid; grid-template-rows: auto 1fr; }
.contact .section-topline { grid-column: 1 / -1; }
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
    padding: 3rem 0;
    text-align: center;
}
.contact h2 { margin-bottom: 1.2rem; font-size: clamp(3.7rem, 9vw, 8.5rem); }
.contact h2 span { color: var(--paper); }
.contact-lead { max-width: 770px; margin: 0 auto 1.6rem; font: 600 clamp(1rem, 1.7vw, 1.4rem)/1.7 var(--body); }
.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
}
.contact-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .45rem 1rem;
    min-width: 0;
    padding: 1.15rem 1.3rem;
    color: var(--paper);
    background: var(--ink);
    border: 1px solid rgba(8, 8, 8, .2);
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    background: var(--ink-soft);
    box-shadow: 7px 7px 0 rgba(8, 8, 8, .16);
}
.contact-card .contact-label {
    grid-column: 1 / -1;
    color: var(--gold);
    font: 700 .62rem/1.3 var(--display);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.contact-card strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font: 700 clamp(.85rem, 1.5vw, 1.15rem)/1.35 var(--display);
}
.contact-card .contact-action {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--muted);
    font: 600 .58rem/1.3 var(--display);
    white-space: nowrap;
}
.social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    width: 100%;
    margin-top: 1rem;
}
.social-links a {
    position: relative;
    display: grid;
    gap: .35rem;
    min-height: 94px;
    align-content: center;
    padding: 1rem 2.4rem 1rem 1.1rem;
    color: var(--ink);
    border: 1px solid rgba(8, 8, 8, .44);
    text-align: left;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}
.social-links a:hover {
    color: var(--gold);
    background: var(--ink);
    transform: translateY(-3px);
}
.social-platform {
    font: 600 .57rem/1.3 var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
}
.social-links a strong { font: 800 clamp(.9rem, 1.6vw, 1.2rem)/1.2 var(--display); }
.social-arrow { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; }

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem clamp(1.25rem, 5.6vw, 6rem);
    color: var(--muted);
    border-top: 1px solid var(--line-light);
    font: 500 .63rem/1.5 var(--display);
    letter-spacing: .08em;
}
.site-footer > a:first-child { color: var(--paper); font-weight: 800; letter-spacing: .16em; }
.site-footer > a:first-child span { color: var(--gold); }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--gold); }

/* Motion */
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(28px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-fade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes laptop-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes orb-spin {
    from { transform: rotate(-18deg); }
    to { transform: rotate(342deg); }
}
@keyframes ornament-sway {
    from { transform: rotate(32deg) scaleX(.24) translateY(-12px); }
    to { transform: rotate(42deg) scaleX(.24) translateY(16px); }
}
@keyframes ornament-sway-reverse {
    from { transform: rotate(-42deg) scaleX(.24) translateY(14px); }
    to { transform: rotate(-32deg) scaleX(.24) translateY(-12px); }
}
@keyframes arrow-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hero-url,
.hero-bottom {
    animation: hero-fade .8s both;
}
.hero-url { animation-delay: .12s; }
.hero-bottom { animation-delay: .55s; }
.hero-stage { animation: hero-rise 1s .18s both cubic-bezier(.2,.7,.2,1); }
.hero-stage .laptop { animation: laptop-float 6s 1.25s ease-in-out infinite; }
.hero-bottom .text-link span { animation: arrow-nudge 1.8s 1.5s ease-in-out infinite; }

.motion-ready .reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity .7s ease var(--reveal-delay, 0ms),
        transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.motion-ready .reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.motion-ready .reveal[data-reveal="left"] { transform: translate3d(-28px, 0, 0); }
.motion-ready .reveal[data-reveal="right"] { transform: translate3d(28px, 0, 0); }
.motion-ready .reveal[data-reveal="left"].revealed,
.motion-ready .reveal[data-reveal="right"].revealed { transform: translate3d(0, 0, 0); }

.project-row .project-arrow { transition: transform .3s ease, color .3s ease; }
.project-row:hover .project-arrow { transform: translate(4px, -4px); }
.button span,
.social-links a span { display: inline-block; transition: transform .25s ease; }
.button:hover span,
.social-links a:hover span { transform: translate(4px, -3px); }
.design-grid figure { overflow: hidden; }
.design-grid img { will-change: transform; }
.founder-portrait img,
.portrait-frame img { transition: filter .5s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.founder-portrait:hover img,
.portrait-frame:hover img { filter: saturate(1); transform: scale(1.025); }

@media (min-width: 1450px) {
    .page-section { padding-right: max(6rem, calc((100vw - 1300px) / 2)); padding-left: max(6rem, calc((100vw - 1300px) / 2)); }
}

@media (max-width: 900px) {
    .site-header { align-items: center; min-height: 105px; gap: .45rem; padding-inline: .8rem; }
    .brand { width: clamp(200px, 25vw, 230px); height: 82px; }
    .page-nav { gap: .2rem; justify-content: flex-start; }
    .page-nav a { padding-inline: .45rem; }
    .page-nav a b { font-size: .56rem; }
    .page-section { min-height: auto; scroll-margin-top: 105px; }
    .hero { min-height: calc(100svh - 105px); }
    .about-grid, .founder-layout { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .about-copy h2, .founder-bio h2 { font-size: clamp(3rem, 8vw, 5.5rem); }
    .portfolio { grid-template-columns: 1fr; }
    .portfolio-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: end; }
    .portfolio-heading .eyebrow { grid-column: 1 / -1; }
    .portfolio-heading h2 { grid-row: span 2; }
    .project-list { margin-top: 2rem; }
    .case-layout { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .case-copy h2 { font-size: clamp(3rem, 7vw, 5rem); }
    .browser-card { min-height: 300px; }
    .browser-content { min-height: 262px; }
}

@media (max-width: 620px) {
    :root { scroll-padding-top: 135px; }
    .site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 0;
        padding: .25rem 0 0;
    }
    .brand { display: block; width: min(245px, 76vw); height: 78px; }
    .page-nav { width: 100%; gap: .1rem; padding: 0 .65rem .25rem; }
    .page-nav a { min-width: 54px; padding: .45rem .35rem .6rem; }
    .page-nav a b { font-size: .58rem; }
    .page-section { padding: 1.5rem 1.15rem 3.8rem; scroll-margin-top: 135px; }
    .section-topline { font-size: .52rem; letter-spacing: .12em; }
    .section-topline span:last-child { text-align: right; }
    .hero { min-height: calc(100svh - 135px); padding-top: 1.5rem; padding-bottom: 1.15rem; }
    .hero-url { font-size: clamp(1.15rem, 6vw, 1.8rem); }
    .hero-stage { padding: 1rem 0 2rem; }
    .laptop { width: 91vw; }
    .laptop-screen { min-height: clamp(230px, 67vw, 340px); grid-template-columns: 1.15fr .85fr; padding: 1.05rem; border-radius: 17px 17px 5px 5px; }
    .screen-copy h1 { font-size: clamp(1.2rem, 6.6vw, 2.4rem); }
    .screen-kicker { max-width: 135px; font-size: .45rem; }
    .screen-brand { font-size: clamp(1rem, 5vw, 1.7rem); }
    .screen-brand small { font-size: .42rem; }
    .screen-orb { width: clamp(85px, 25vw, 130px); }
    .laptop-base { height: 17px; }
    .hero-bottom { font-size: .5rem; letter-spacing: .1em; }
    .about-grid, .founder-layout, .case-layout { grid-template-columns: 1fr; gap: 2rem; padding: 2.3rem 0 1rem; }
    .about-copy h2, .portfolio-heading h2, .gallery-heading h2, .founder-bio h2, .contact h2 { font-size: clamp(3.3rem, 16vw, 5rem); }
    .about-copy > p:not(.eyebrow), .founder-bio > p:not(.eyebrow) { font-size: .93rem; }
    .founder-card { width: min(83%, 340px); }
    .portfolio { display: block; }
    .portfolio .section-topline { margin-bottom: 2.5rem; }
    .portfolio-heading { display: block; }
    .portfolio-heading .lead { max-width: 360px; }
    .project-row { grid-template-columns: 1.8rem minmax(0, 1fr) 1rem; min-height: 75px; gap: .5rem; }
    .project-type { display: none; }
    .project-name { font-size: 1rem; }
    .case-copy h2 { font-size: clamp(3.3rem, 15vw, 5rem); }
    .case-copy .lead { font-size: 1.08rem; }
    .feature-list li { font-size: .9rem; }
    .browser-card { min-height: 265px; margin: .4rem .3rem 1rem; transform: none; }
    .browser-content { min-height: 227px; }
    .gallery { min-height: auto; }
    .gallery-heading { display: block; padding: 2.4rem 0 1.5rem; }
    .gallery-heading h2 { font-size: clamp(3rem, 14vw, 4.5rem); }
    .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .65rem; }
    .design-grid img { height: clamp(165px, 57vw, 255px); }
    .design-grid figcaption { font-size: .53rem; letter-spacing: .07em; }
    .design-grid figcaption span { max-width: 90px; text-align: right; }
    .founder-portrait { width: min(82%, 350px); }
    .contact-content { padding: 2.5rem 0 1rem; }
    .contact h2 { font-size: clamp(3.4rem, 15vw, 5.2rem); }
    .contact-lead { font-size: 1rem; }
    .contact-details, .social-links { grid-template-columns: 1fr; }
    .social-links a { min-height: 74px; }
    .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; font-size: .57rem; }
    .site-footer p { order: 1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    body::before { transition: none; }
    .motion-ready .reveal,
    .motion-ready .reveal[data-reveal="left"],
    .motion-ready .reveal[data-reveal="right"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
