/* ============================================================
   LEMON MILK — SELF-HOSTED FONT
============================================================ */
@font-face {
    font-family: 'Lemon Milk';
    src: url('fonts/LEMONMILK-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lemon Milk';
    src: url('fonts/LEMONMILK-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lemon Milk';
    src: url('fonts/LEMONMILK-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lemon Milk';
    src: url('fonts/LEMONMILK-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ============================================================
   BRAND TOKENS
============================================================ */
:root {
    --espresso: #3E2723;
    --orange:   #F0660A;
    --paper:    #F5F1EC;
    --bone:     #E8E2D8;
    --white:    #FFFFFF;
    --font:     'Lemon Milk', 'Nunito', 'Futura', 'Century Gothic', sans-serif;
    --gutter:   clamp(24px, 5vw, 80px);
    --sec-y:    clamp(64px, 9vw, 128px);
    --nav-h:    68px;
}


/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--paper);
    color: var(--espresso);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }


/* ============================================================
   COMPONENTS — EYEBROW
============================================================ */
.eyebrow {
    display: block;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 18px;
}


/* ============================================================
   COMPONENTS — PILL CTA
============================================================ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: var(--font);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 15px 36px;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.pill-dark { background: var(--espresso); color: var(--paper); }
.pill-dark:hover { background: var(--orange); color: var(--white); }

.pill-dark-inv { background: var(--paper); color: var(--espresso); }
.pill-dark-inv:hover { background: var(--orange); color: var(--white); }

.pill-orange { background: var(--orange); color: var(--white); }
.pill-orange:hover { background: var(--paper); color: var(--espresso); }

.rocket {
    display: inline-block;
    margin-left: 10px;
    font-style: normal;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pill-dark:hover .rocket,
.pill-dark-inv:hover .rocket {
    transform: translate(5px, -6px);
}


/* ============================================================
   NAVIGATION
============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--espresso);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.nav-logo span {
    font-family: var(--font);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    display: block;
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
    font-family: var(--font);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.75;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 0 2px 2px 0;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
    color: var(--orange);
    opacity: 1;
}

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


/* ============================================================
   HERO ENTRANCE ANIMATIONS
============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-text .eyebrow { animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.hero-h1            { animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }
.hero-sub           { animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.50s both; }
.hero-text .pill    { animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both; }
.video-portrait     { animation: slideInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.10s both; }


/* ============================================================
   HERO
============================================================ */
.hero {
    background-color: var(--espresso);
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 7px,
        rgba(240, 102, 10, 0.06) 7px,
        rgba(240, 102, 10, 0.06) 8px
    );
    padding-top: var(--nav-h);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 60% 80% at 20% 55%, rgba(240, 102, 10, 0.50) 0%, rgba(240, 102, 10, 0.12) 45%, transparent 70%),
        radial-gradient(ellipse 45% 55% at 75% 25%, rgba(240, 102, 10, 0.28) 0%, transparent 60%);
    animation: gloss-a 24s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 38% 48% at 88% 78%, rgba(240, 102, 10, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 25% 30% at 50% 10%, rgba(240, 102, 10, 0.15) 0%, transparent 55%);
    animation: gloss-b 34s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes gloss-a {
    0%   { transform: translate(0,    0)    scale(1);    opacity: 1; }
    40%  { transform: translate(2%,   3%)   scale(1.03); opacity: 0.92; }
    100% { transform: translate(-1.5%, -2%) scale(0.98); opacity: 1; }
}

@keyframes gloss-b {
    0%   { transform: translate(0,    0)    scale(1);    opacity: 0.85; }
    50%  { transform: translate(-2%,  2%)   scale(1.04); opacity: 1; }
    100% { transform: translate(2%,  -3%)   scale(0.97); opacity: 0.9; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: calc(100vh - var(--nav-h));
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 72px);
    max-width: 640px;
}

.hero-h1 {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(32px, 3.8vw, 58px);
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--paper);
    margin-bottom: 28px;
}

.hero-h1 .accent { color: var(--orange); }

.hero-sub {
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--paper);
    opacity: 0.7;
    max-width: 400px;
    margin-bottom: 44px;
}

.video-wrap {
    width: min(calc(100vh - var(--nav-h)), 52vw);
    margin-right: var(--gutter);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.video-portrait {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #1a0e0b;
    overflow: hidden;
    position: relative;
    transform: perspective(1100px) rotateY(-5deg) rotateX(1deg);
    box-shadow:
        20px 28px 64px rgba(0, 0, 0, 0.6),
        6px 10px 20px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(240, 102, 10, 0.1);
    border-radius: 3px;
}

.video-caption {
    padding: 18px 6px 0;
}

.cap-label {
    display: block;
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}

.cap-rule {
    width: 100%;
    height: 1px;
    background: rgba(245, 241, 236, 0.12);
    margin-bottom: 10px;
}

.cap-sub {
    display: block;
    font-family: var(--font);
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.38;
}

.video-portrait iframe,
.video-portrait video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Transparent overlay — sits above the iframe, below the unmute button.
   Intercepts pointer events so Vimeo never receives hover and
   its quality badge / controls never appear. */
.video-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;   /* above iframe, below .unmute-btn (z-index 10) */
    cursor: default;
}

.video-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #1a0e0b;
}

.play-btn {
    width: 72px;
    height: 72px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--orange);
    margin-left: 5px;
}

.video-ph-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
    text-align: center;
    padding: 0 20px;
}

.video-ph-note {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.35;
    text-align: center;
    padding: 0 20px;
}

/* Unmute toggle button — overlaid on the hero video */
.unmute-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(62, 39, 35, 0.72);
    border: 1px solid rgba(240, 102, 10, 0.45);
    color: var(--orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    padding: 0;
}
.unmute-btn:hover  { background: rgba(62, 39, 35, 0.95); transform: scale(1.08); }
.unmute-btn:active { transform: scale(0.95); }

/* Show muted icon by default; swap on .is-unmuted */
.unmute-btn .icon-sound  { display: none; }
.unmute-btn.is-unmuted .icon-muted { display: none; }
.unmute-btn.is-unmuted .icon-sound  { display: block; }


/* ============================================================
   ORANGE TICK DIVIDER
============================================================ */
.tick-divider {
    height: 7px;
    background: repeating-linear-gradient(
        90deg,
        var(--orange) 0,
        var(--orange) 3px,
        transparent 3px,
        transparent 9px
    );
    clip-path: inset(0 100% 0 0);
}

.tick-divider.is-visible {
    clip-path: inset(0 0% 0 0);
}


/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tick-divider.reveal {
    opacity: 1;
    transform: none;
    transition: clip-path 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:nth-child(1) { transition-delay: 0.05s; }
.work-card:nth-child(2) { transition-delay: 0.18s; }
.work-card:nth-child(3) { transition-delay: 0.28s; }


/* ============================================================
   THE WORK
============================================================ */
.work {
    background: var(--paper);
    padding: var(--sec-y) 0;
}

.work-header {
    padding: 20px var(--gutter) 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.work-heading {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(30px, 4vw, 52px);
    text-transform: uppercase;
    color: var(--espresso);
    line-height: 1;
}

.work-link {
    font-family: var(--font);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--espresso);
    opacity: 0.5;
    padding-bottom: 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease, opacity 0.25s ease, gap 0.3s ease;
    gap: 0;
}

.work-link::after {
    content: '→';
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    margin-left: 0;
}

.work-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-link:hover {
    color: var(--orange);
    opacity: 1;
    gap: 8px;
}

.work-link:hover::before { width: 100%; }

.work-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 400px 300px;
    grid-template-areas:
        "feat feat side"
        "feat feat a";
    gap: 6px;
}

.work-card {
    position: relative;
    overflow: hidden;
    background: var(--espresso);
    cursor: pointer;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 0 3px 3px 0;
    z-index: 3;
    transition: width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.wc-feat { grid-area: feat; }
.wc-side { grid-area: side; }
.wc-a    { grid-area: a; }

.work-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-card-img { transform: scale(1.04); }

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(62, 39, 35, 0.08) 0%,
        rgba(62, 39, 35, 0.75) 70%,
        rgba(62, 39, 35, 0.92) 100%
    );
    transition: opacity 0.3s;
}

.work-card:hover .work-card-overlay { opacity: 0.88; }

.work-card-content {
    position: absolute;
    inset: 0;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.work-card-cat {
    font-family: var(--font);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
    transform: translateY(4px);
    transition: transform 0.35s ease;
}

.work-card-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(16px, 1.8vw, 22px);
    text-transform: uppercase;
    color: var(--paper);
    line-height: 1.1;
    transform: translateY(4px);
    transition: transform 0.35s ease;
}

.work-card:hover .work-card-cat,
.work-card:hover .work-card-title { transform: translateY(0); }

.work-card-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card-ph span {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.15;
    text-align: center;
    padding: 0 24px;
}


/* ============================================================
   PILLARS
============================================================ */
.pillars { padding: 0; }

.pillars-header {
    background: var(--bone);
    padding: clamp(48px, 6vw, 80px) var(--gutter);
    padding-top: calc(clamp(48px, 6vw, 80px) + 20px);
}

.pillars-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 60px);
    text-transform: uppercase;
    color: var(--espresso);
    line-height: 1;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.pillar-card {
    position: relative;
    overflow: hidden;
    min-height: max(480px, 60vh);
    background-color: var(--espresso);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* Works as both <div> and <a> */
    text-decoration: none;
    color: inherit;
}

.pillar-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-card:hover .pillar-card-img { transform: scale(1.04); }

.pillar-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(62, 39, 35, 0.12) 0%,
        rgba(62, 39, 35, 0.6)  45%,
        rgba(62, 39, 35, 0.92) 100%
    );
    transition: opacity 0.4s ease;
}

.pillar-card:hover .pillar-card-overlay { opacity: 0.95; }

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 0 3px 3px 0;
    z-index: 3;
    transition: width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.pillar-card-content {
    position: relative;
    z-index: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.pillar-num {
    font-family: var(--font);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
}

.pillar-name {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(16px, 1.5vw, 22px);
    text-transform: uppercase;
    color: var(--paper);
    line-height: 1.1;
    margin-bottom: 10px;
    transform: translateY(6px);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-desc {
    font-family: var(--font);
    font-weight: 400;
    font-size: 11.5px;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--paper);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-arrow {
    display: inline-block;
    font-size: 18px;
    color: var(--orange);
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease 0.06s, transform 0.3s ease 0.06s;
}

.pillar-card:hover .pillar-name  { transform: translateY(0); }
.pillar-card:hover .pillar-desc  { opacity: 0.8; transform: translateY(0); }
.pillar-card:hover .card-arrow   { opacity: 1; transform: translateX(0); }


/* ============================================================
   ABOUT
============================================================ */
.about {
    background: var(--espresso);
    padding: var(--sec-y) var(--gutter);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.about-img-wrap {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    cursor: pointer;
}

@keyframes scanDown {
    from { top: -90px; }
    to   { top: 110%;  }
}

.about-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--paper);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -90px;
    height: 90px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(240, 102, 10, 0.28) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

.about-img-wrap:hover .about-img::after {
    animation: scanDown 0.7s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

.about-img img,
.about-img .about-img-ph {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img-wrap:hover .about-img img,
.about-img-wrap:hover .about-img .about-img-ph {
    transform: scale(1.04);
}

.about-img img,
.about-portrait-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Hover zoom applies to the video just like it did to the photo */
.about-img-wrap:hover .about-portrait-vid {
    transform: scale(1.04);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
}

.about-img-ph p {
    font-family: var(--font);
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--espresso);
    opacity: 0.3;
    line-height: 1.9;
}

.stripe-accent {
    position: absolute;
    top: 20px;
    right: -18px;
    width: 36px;
    height: 200px;
    background: repeating-linear-gradient(
        180deg,
        var(--orange)   0, var(--orange)   2px,
        var(--espresso) 2px, var(--espresso) 8px
    );
    pointer-events: none;
}

.about-content .eyebrow { color: var(--orange); }

.about-h2 {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 64px);
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--paper);
    margin-bottom: 32px;
}

.about-body {
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.9;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--paper);
    opacity: 0.8;
    margin-bottom: 22px;
}

.about-body:last-of-type { margin-bottom: 40px; }

.about-body strong { color: var(--paper); opacity: 1; font-weight: 700; }

.signature {
    display: block;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(245, 241, 236, 0.12);
    font-family: var(--font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.4;
}


/* ============================================================
   STATS
============================================================ */
.stats {
    background-color: var(--espresso);
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 7px,
        rgba(240, 102, 10, 0.06) 7px,
        rgba(240, 102, 10, 0.06) 8px
    );
    padding: var(--sec-y) var(--gutter);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 90% at 88% 50%, rgba(240, 102, 10, 0.38) 0%, rgba(240, 102, 10, 0.08) 45%, transparent 68%),
        radial-gradient(ellipse 40% 50% at 12% 20%, rgba(240, 102, 10, 0.20) 0%, transparent 55%);
    animation: gloss-a 28s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.stats::after {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 35% 45% at 50% 95%, rgba(240, 102, 10, 0.14) 0%, transparent 55%);
    animation: gloss-b 38s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.stats-inner {
    position: relative;
    z-index: 1;
}

.stats-header { margin-bottom: 52px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 8px clamp(24px, 3vw, 48px) 8px 0;
    border-right: 1px solid rgba(240, 102, 10, 0.2);
    margin-right: clamp(24px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-item:last-child {
    border-right: none;
    margin-right: 0;
}

.stat-icon {
    color: var(--orange);
    margin-bottom: 24px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.stat-icon svg { width: 36px; height: 36px; }

/* ============================================================
   STAT ICON — SVG TRANSFORM ORIGINS
   Set in CSS so the pivot is correct before JS fires the animation.
   All three pivot around coordinate (18,18) = centre of the 36×36 viewBox.
============================================================ */
.clock-hands { transform-origin: 18px 18px; }
.eye-group   { transform-origin: 18px 18px; }
.cam-lens    { transform-origin: 18px 18px; }


/* ============================================================
   STAT ICON — PER-ICON KEYFRAMES
   Each animation is unique and matches the icon’s meaning.
============================================================ */

/* 1 — CLOCK: hands sweep one full clockwise rotation */
@keyframes clockSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2a — CAMERA: quick brightness burst — like a flash going off */
@keyframes camFlash {
    0%   { filter: brightness(1); }
    18%  { filter: brightness(4); }
    38%  { filter: brightness(1); }
    100% { filter: brightness(1); }
}

/* 2b — CAMERA LENS: iris snaps shut then pops open */
@keyframes lensBlip {
    0%   { transform: scale(1);    opacity: 1; }
    35%  { transform: scale(0.15); opacity: 0.25; }
    65%  { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1);    opacity: 1; }
}

/* 3 — EYE: full blink — lid squeezes shut, holds a beat, opens */
@keyframes eyeBlink {
    0%   { transform: scaleY(1); }
    30%  { transform: scaleY(0.05); }
    50%  { transform: scaleY(0.05); }
    72%  { transform: scaleY(1.06); }
    100% { transform: scaleY(1); }
}

/* 4 — PEOPLE: second person slides in from the left */
@keyframes personSlideIn {
    from { transform: translateX(-14px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

.stat-num {
    display: block;
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(44px, 5.5vw, 76px);
    color: var(--paper);
    line-height: 1;
    margin-bottom: 14px;
}

.stat-label {
    font-family: var(--font);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.5;
}

.stat-item:nth-child(1) { transition-delay: 0.05s; }
.stat-item:nth-child(2) { transition-delay: 0.15s; }
.stat-item:nth-child(3) { transition-delay: 0.25s; }
.stat-item:nth-child(4) { transition-delay: 0.35s; }


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-links { display: none; }

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

    .video-wrap {
        width: 80%;
        max-width: 380px;
        margin: 0 auto 48px;
    }

    .video-portrait {
        transform: none;
        box-shadow: none;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(240, 102, 10, 0.15); padding-bottom: 32px; margin-right: 0; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; padding-bottom: 0; }

    .work-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 300px;
        grid-template-areas:
            "feat side"
            "feat a";
    }

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

    .about-img-wrap { position: static; max-width: 420px; }
    .about-img { aspect-ratio: 4 / 5; }
    .stripe-accent { display: none; }
}

@media (max-width: 600px) {
    .pillars-grid { grid-template-columns: 1fr; }

    .work-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 260px);
        grid-template-areas: "feat" "side" "a";
    }
}

/* ============================================================
   MOBILE — "WHAT I DO" PILLAR CARDS
   On touch devices (≤ 768px) all card content is always visible.
   Tapping a card shows the orange top bar (handled by JS adding .is-tapped).
============================================================ */
@media (max-width: 768px) {
    /* Always show content — no hover required */
    .pillar-card .pillar-name  { transform: translateY(0); }
    .pillar-card .pillar-desc  { opacity: 0.8; transform: translateY(0); }
    .pillar-card .card-arrow   { opacity: 1; transform: translateX(0); }
    .pillar-card .pillar-card-overlay { opacity: 0.88; }

    /* Orange top bar appears on tap */
    .pillar-card.is-tapped::before { width: 100%; }
}
