/* ============================================================
   PROVISION DIGITAL, cinematic case-study build
   ink / bone / flat red. Display: Archivo Expanded caps.
   Signature: film frames + documentary lower-thirds.
   ============================================================ */
:root {
    --ink: #0B0B0C;
    --ink-2: #131315;
    --bone: #EDEAE3;
    --bone-2: #E4E0D7;
    --red: #C92C20;
    --white: #FFFFFF;
    --soft: rgba(255, 255, 255, 0.55);
    --faint: rgba(255, 255, 255, 0.32);
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(11, 11, 12, 0.14);
    --disp: 'Archivo', sans-serif;
    --body: 'Outfit', sans-serif;
    /* utility text uses the body face; the mono terminal look read as templated AI */
    --mono: 'Outfit', sans-serif;
    --pad: clamp(24px, 4.5vw, 84px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
    font-family: var(--body);
    font-weight: 300;
    background: var(--ink);
    color: var(--white);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { position: relative; }
[id] { scroll-margin-top: 90px; }

::selection { background: var(--red); color: var(--white); }

/* ---------- type ---------- */
.disp {
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.005em;
}
.eyebrow {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--soft);
    display: flex;
    align-items: center;
    gap: 12px;
}
.dark-s .eyebrow { color: var(--soft); }
.light-s .eyebrow { color: rgba(11, 11, 12, 0.55); }

.h-xl { font-size: clamp(44px, 7.2vw, 118px); }
.h-lg { font-size: clamp(36px, 5vw, 76px); }
.h-md { font-size: clamp(26px, 3vw, 44px); }

/* outlined-word heading accent */
.light-s .out, .out {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
}
.dark-s .out {
    -webkit-text-stroke: 2px var(--white);
}
@media (max-width: 768px) {
    .light-s .out, .out { -webkit-text-stroke-width: 1.2px; }
    .dark-s .out { -webkit-text-stroke-width: 1.2px; }
}

.sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--soft);
    max-width: 560px;
}
.light-s .sub { color: rgba(11, 11, 12, 0.6); }

/* ---------- layout ---------- */
.wrap { max-width: 1680px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: clamp(90px, 9vw, 150px); padding-bottom: clamp(90px, 9vw, 150px); }
.light-s { background: var(--bone); color: var(--ink); }
.dark-s { background: var(--ink); color: var(--white); }

.sec-head { display: flex; flex-direction: column; gap: 26px; margin-bottom: clamp(48px, 5vw, 84px); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 20px 32px;
    background: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { background: #A82118; border-color: #A82118; transform: translateY(-2px); }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--white);
}
.btn-ghost:hover { background: transparent; border-color: var(--white); }
.light-s .btn-ghost { border-color: var(--line-dark); color: var(--ink); }
.light-s .btn-ghost:hover { border-color: var(--ink); }

/* ---------- reveal motion ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 90;
    transition: background 0.35s, border-color 0.35s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(11, 11, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line);
}
.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--soft);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { padding: 13px 22px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .nav.open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        position: absolute;
        top: 78px; left: 0; right: 0;
        background: rgba(11, 11, 12, 0.97);
        padding: 34px var(--pad) 44px;
        border-bottom: 1px solid var(--line);
    }
    .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
    .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 0;
}
/* rotating wireframe dodecahedrons (ported from the old hero) */
.pd-anim-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: pd-jump 10s linear infinite;
}
.pd-anim { position: absolute; width: 300px; height: 300px; opacity: 0.12; }
.pd-a1 { top: -40px; right: 4%; transform: scale(5.5); }
.pd-a2 { display: none; }
.pd-a3 { bottom: -80px; left: 6%; transform: scale(1.4); }
.pd-a1 .pd-pentagon div { border-top: 0.1px solid rgb(255, 255, 255); }
.pd-a2 .pd-pentagon div, .pd-a3 .pd-pentagon div { border-top: 1px solid rgb(255, 255, 255); }
.pd-a2 .pd-dodeca { animation-delay: 0.5s; }
.pd-a3 .pd-dodeca { animation-delay: 1s; }
@media (max-width: 1400px) { .pd-a2, .pd-a3 { display: none; } }
.pd-dodeca {
    position: relative;
    left: 100px;
    top: 40px;
    width: 100px;
    height: 223px;
    transform-style: preserve-3d;
    animation: pd-rotate 100s infinite linear;
}
@keyframes pd-rotate {
    from { transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg); }
    to { transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg); }
}
@keyframes pd-jump {
    0% { transform: translateY(-30px); }
    50% { transform: translateY(30px); }
    100% { transform: translateY(-30px); }
}
.pd-pentagon { position: absolute; width: 100px; }
.pd-pentagon:nth-child(1) { transform: rotateY(0.2turn) translateZ(69px) rotateX(26.5deg); }
.pd-pentagon:nth-child(2) { transform: rotateY(0.4turn) translateZ(69px) rotateX(26.5deg); }
.pd-pentagon:nth-child(3) { transform: rotateY(0.6turn) translateZ(69px) rotateX(26.5deg); }
.pd-pentagon:nth-child(4) { transform: rotateY(0.8turn) translateZ(69px) rotateX(26.5deg); }
.pd-pentagon:nth-child(5) { transform: rotateY(1turn) translateZ(69px) rotateX(26.5deg); }
.pd-pentagon:nth-child(6) { bottom: 0; transform: rotateY(0.2turn) translateZ(-69px) rotateX(206.5deg); }
.pd-pentagon:nth-child(7) { bottom: 0; transform: rotateY(0.4turn) translateZ(-69px) rotateX(206.5deg); }
.pd-pentagon:nth-child(8) { bottom: 0; transform: rotateY(0.6turn) translateZ(-69px) rotateX(206.5deg); }
.pd-pentagon:nth-child(9) { bottom: 0; transform: rotateY(0.8turn) translateZ(-69px) rotateX(206.5deg); }
.pd-pentagon:nth-child(10) { bottom: 0; transform: rotateY(1turn) translateZ(-69px) rotateX(206.5deg); }
.pd-pentagon:nth-child(11) { transform: translateZ(69px) rotateX(-90deg); }
.pd-pentagon:nth-child(12) { bottom: 0; transform: translateZ(-69px) rotateX(90deg); }
.pd-pentagon div { position: absolute; width: 100px; height: 69px; transform-origin: bottom; }
.pd-pentagon div:nth-child(1) { transform: rotate(0.2turn); }
.pd-pentagon div:nth-child(2) { transform: rotate(0.4turn); }
.pd-pentagon div:nth-child(3) { transform: rotate(0.6turn); }
.pd-pentagon div:nth-child(4) { transform: rotate(0.8turn); }
.pd-pentagon div:nth-child(5) { transform: rotate(1turn); }

.hero-in {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 40px;
}
.hero .eyebrow { margin-bottom: 34px; }
.hero-title {
    font-family: var(--body);
    font-weight: 600;
    font-size: clamp(40px, 5.4vw, 86px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--white);
}
.hero-title .thin { font-weight: 300; color: var(--soft); }
.hero-title .red { color: var(--red); }
.hero-sub { margin: 38px 0 44px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* compact hero on small screens (100svh leaves big voids there) */
@media (max-width: 768px) {
    .hero { min-height: auto; padding-top: 128px; }
    .hero-in { flex: none; padding-bottom: 56px; }
    .hero .eyebrow { margin-bottom: 24px; }
    .hero-sub { margin: 26px 0 32px; }
}

/* marquee results band */
.band {
    position: relative;
    z-index: 2;
    margin-top: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    display: flex;
}
.band-seq {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    align-items: center;
    animation: marquee 70s linear infinite;
}
.band-seq span {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--soft);
    white-space: nowrap;
    padding: 20px 0;
}
.band-seq i {
    font-style: normal;
    color: var(--red);
    padding: 0 28px;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============================================================
   FILM FRAMES (signature)
   ============================================================ */
.film { background: #000; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.film-frame { position: relative; overflow: hidden; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; }
.film-frame::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}
.lower-third {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    background: #000;
    border-top: 1px solid var(--line);
}
.lt-l, .lt-r {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lt-l { display: flex; align-items: center; gap: 10px; }
.lt-l::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* client logo strip */
.logo-strip { padding: clamp(32px, 3vw, 48px) 0; }
.logo-strip .eyebrow { justify-content: center; margin-bottom: 26px; }
.logo-marquee { display: flex; overflow: hidden; width: 100%; margin-top: clamp(56px, 6vw, 96px); }
.logo-seq {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    align-items: center;
    justify-content: flex-start;
    animation: marquee 60s linear infinite reverse;
}
.logo-seq img {
    height: clamp(52px, 5vw, 78px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
    margin: 0 clamp(30px, 3vw, 60px);
}
@media (prefers-reduced-motion: reduce) { .logo-seq { animation: none; } }

/* editorial intro with layered collage */
.intro-sec { padding-top: clamp(110px, 11vw, 190px); padding-bottom: clamp(110px, 11vw, 190px); }
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(60px, 7vw, 140px);
    align-items: center;
}
.intro-copy { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.intro-copy p { color: rgba(11, 11, 12, 0.62); max-width: 560px; font-size: 17.5px; line-height: 1.7; }
.intro-copy .btn { margin-top: 6px; }
.collage { position: relative; aspect-ratio: 5 / 4; }
.collage::before {
    content: "";
    position: absolute;
    top: 10%; right: 0;
    width: 72%; height: 82%;
    background: var(--red);
}
.collage .c-main {
    position: absolute;
    left: 0; top: 0;
    width: 84%; height: 84%;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(11, 11, 12, 0.22);
}
.collage .c-chip {
    position: absolute;
    right: 3%; bottom: 0;
    width: 42%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid var(--bone);
    box-shadow: 0 20px 40px rgba(11, 11, 12, 0.25);
}
@media (max-width: 992px) {
    .intro-grid { grid-template-columns: 1fr; }
}

/* flat red brand band */
.red-s { background: var(--red); color: var(--white); }
.red-s .eyebrow { color: rgba(255, 255, 255, 0.8); }
.red-s h2 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 6px 30px 0; border-left: 1px solid rgba(255, 255, 255, 0.35); }
.why-item:first-child { padding-left: 0; border-left: 0; }
.why-item h5 { font-family: var(--body); font-weight: 600; font-size: 18px; margin-bottom: 12px; }
.why-item p { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
    .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-item { padding-left: 0; border-left: 0; }
}

/* white section variant (reviews) */
.white-s { background: var(--white); }
.white-s .rev-card { border-color: rgba(11, 11, 12, 0.1); box-shadow: 0 14px 40px rgba(11, 11, 12, 0.07); }

/* featured case */
.case-feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.case-feat .film-frame { aspect-ratio: 16 / 10; }
.case-feat .film-frame img { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.case-feat-body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.case-feat-body h3 { color: var(--white); }
.case-feat-body h3 .red { color: var(--red); }
.case-feat-copy { color: var(--soft); max-width: 480px; }
.case-metrics { display: flex; gap: clamp(28px, 3vw, 54px); margin-top: 6px; }
.case-metrics .m b {
    display: block;
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;
    color: var(--white);
    margin-bottom: 8px;
}
.case-metrics .m b em { font-style: normal; color: var(--red); }
.case-metrics .m span {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
}
@media (max-width: 992px) { .case-feat { grid-template-columns: 1fr; } }

/* case reel */
.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 5vw, 80px); }
.reel .film { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s; }
.reel .film:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.3); }
.reel .film-frame { aspect-ratio: 16 / 11; }
.reel .film:hover .film-frame img { transform: scale(1.05); }
.reel .film-frame img { transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.film-tile { background: #F4F2ED; display: flex; align-items: center; justify-content: center; }
.film-tile::after { display: none; }
.reel .film-tile img {
    width: 52%;
    height: auto;
    max-height: 46%;
    object-fit: contain;
}
.reel-body { padding: 26px 20px 28px; background: var(--ink-2); border-top: 1px solid var(--line); }
.reel-body b {
    display: block;
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(38px, 3.4vw, 56px);
    line-height: 1;
    color: var(--white);
    margin-bottom: 14px;
}
.reel-body b em { font-style: normal; font-size: 0.55em; color: var(--red); }
.reel-body p { color: var(--soft); font-size: 15px; }
@media (max-width: 992px) {
    .reel { grid-template-columns: 1fr; }
    .reel .film-frame { aspect-ratio: 16 / 8; }
}
@media (min-width: 641px) and (max-width: 992px) {
    .reel { grid-template-columns: 1fr 1fr 1fr; }
    .reel .film-frame { aspect-ratio: 16 / 10; }
}

/* ============================================================
   SERVICES INDEX (bone)
   ============================================================ */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    align-items: center;
    gap: clamp(20px, 3vw, 50px);
    padding: clamp(26px, 3vw, 42px) 0;
    border-bottom: 1px solid var(--line-dark);
    transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.svc-row:hover { padding-left: 18px; }
.svc-num {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: rgba(11, 11, 12, 0.4);
}
.svc-name {
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(26px, 3.6vw, 56px);
    line-height: 1;
    color: var(--ink);
    transition: color 0.25s;
}
.svc-row:hover .svc-name { color: var(--red); }
.svc-desc {
    font-size: 15px;
    color: rgba(11, 11, 12, 0.55);
    max-width: 330px;
    text-align: right;
}
@media (max-width: 768px) {
    .svc-row { grid-template-columns: 1fr; gap: 10px; }
    .svc-num { display: none; }
    .svc-desc { text-align: left; }
}

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-top: clamp(60px, 6vw, 100px); }
.stat { padding: clamp(34px, 3.5vw, 56px) 26px; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat b {
    display: block;
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(40px, 4.6vw, 76px);
    line-height: 1;
    color: var(--ink);
    margin-bottom: 12px;
}
.stat b em { font-style: normal; color: var(--red); }
.stat span {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(11, 11, 12, 0.5);
}
@media (max-width: 768px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

/* ============================================================
   REVIEWS (dark)
   ============================================================ */
.rev-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; margin-bottom: clamp(48px, 5vw, 80px); }
.rev-head .eyebrow { justify-content: center; }
.g-badge { display: flex; align-items: center; gap: 14px; }
.g-badge svg.g { width: 26px; height: 26px; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: #FBBC05; }
.g-badge-text { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: rgba(11, 11, 12, 0.6); }
.g-note { font-size: 13px; color: rgba(11, 11, 12, 0.45); }

.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rev-col { display: flex; flex-direction: column; gap: 26px; }
.rev-card {
    background: var(--white);
    border: 1px solid rgba(11, 11, 12, 0.06);
    border-radius: 18px;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 16px 44px rgba(11, 11, 12, 0.07);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.rev-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(11, 11, 12, 0.1); }
.rev-head-row { display: flex; align-items: center; justify-content: space-between; }
.rev-av {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bone);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: rgba(11, 11, 12, 0.65);
    flex-shrink: 0;
}
.rev-foot { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.rev-meta { flex: 1; min-width: 0; }
.rev-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.rev-sub { font-size: 13px; color: rgba(11, 11, 12, 0.45); }
.rev-g { width: 22px; height: 22px; flex-shrink: 0; }
.rev-card .stars svg { width: 15px; height: 15px; }
.rev-quote { font-size: 16px; color: rgba(11, 11, 12, 0.7); line-height: 1.7; }
@media (max-width: 992px) { .rev-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS (bone)
   ============================================================ */
.proc { border-top: 1px solid var(--line-dark); }
.proc-row {
    display: grid;
    grid-template-columns: 110px 1fr 1.4fr;
    gap: clamp(20px, 3vw, 60px);
    padding: clamp(30px, 3.2vw, 46px) 0;
    border-bottom: 1px solid var(--line-dark);
}
.proc-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--red); padding-top: 6px; }
.proc-row h4 {
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1;
    color: var(--ink);
}
.proc-row p { color: rgba(11, 11, 12, 0.6); font-size: 16px; max-width: 560px; }
@media (max-width: 768px) {
    .proc-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   FAQ (bone)
   ============================================================ */
.faq-wrap { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
    cursor: pointer;
    font-family: var(--body);
    font-weight: 500;
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
    position: relative;
    width: 30px; height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    transition: background 0.25s, border-color 0.25s;
}
.faq-toggle::before, .faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: var(--ink);
    transition: transform 0.25s, background 0.25s;
}
.faq-toggle::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle { background: var(--red); border-color: var(--red); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: var(--white); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { padding: 0 60px 28px 0; color: rgba(11, 11, 12, 0.62); font-size: 16px; }

/* ============================================================
   FINAL CTA (dark)
   ============================================================ */
.cta { text-align: center; overflow: hidden; }
.cta .eyebrow { justify-content: center; margin-bottom: 30px; }
.cta h2 { color: var(--white); margin-bottom: 26px; }
.cta h2 .red { color: var(--red); }
.cta .sub { margin: 0 auto 44px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-link {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--soft);
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
}
.cta-link:hover { color: var(--white); border-color: var(--white); }

/* CTA split layout + inline form card */
.cta-split {
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 90px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 90px);
}
.cta-split .cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 5vw, 90px);
    align-items: start;
}
.cta-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.cta-copy h2 { color: var(--white); }
.cta-copy h2 .red { color: var(--red); }
.cta-info { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.cta-info li {
    font-size: 15px;
    color: var(--soft);
    display: flex;
    align-items: center;
    gap: 12px;
}
.cta-info a:hover { color: var(--white); }
.cta-form-card {
    background: var(--bone);
    color: var(--ink);
    border-radius: 18px;
    padding: clamp(30px, 3vw, 46px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cta-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .cta-form-card .form-row { grid-template-columns: 1fr; } }
.cta-form-card .modal-form input,
.cta-form-card .modal-form select,
.cta-form-card .modal-form textarea {
    border-radius: 10px;
    border-color: rgba(11, 11, 12, 0.12);
    padding: 16px 18px;
}
.cta-form-card .modal-form input:focus,
.cta-form-card .modal-form select:focus,
.cta-form-card .modal-form textarea:focus { border-color: var(--red); }
.cta-form-card .btn { width: 100%; justify-content: center; }
.cta-form-card > .eyebrow { color: rgba(11, 11, 12, 0.55); margin-bottom: 24px; }
.cta-inline-success p:not(.eyebrow) { color: rgba(11, 11, 12, 0.62); }
@media (max-width: 992px) {
    .cta-split .cta-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #080809; border-top: 1px solid var(--line); }
.foot-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: clamp(50px, 5vw, 80px) 0;
    border-bottom: 1px solid var(--line);
}
.foot-news h3 { color: var(--white); font-size: clamp(24px, 2.4vw, 34px); }
.foot-news p { color: var(--faint); font-size: 15px; margin-top: 10px; }
.news-form { display: flex; gap: 12px; justify-self: end; width: 100%; max-width: 460px; }
.news-form input {
    flex: 1;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 16px 18px;
    color: var(--white);
    font-family: var(--body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.news-form input:focus { border-color: var(--soft); }
.news-form button { padding: 16px 24px; }
@media (max-width: 900px) { .foot-news { grid-template-columns: 1fr; } .news-form { justify-self: start; } }

.foot-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: clamp(50px, 5vw, 80px) 0;
}
.foot-brand img { height: 24px; width: auto; margin-bottom: 20px; }
.foot-brand p { color: var(--faint); font-size: 14.5px; max-width: 300px; }
.foot-h {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--soft);
    margin-bottom: 20px;
}
.foot-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-list a, .foot-list span { font-size: 14.5px; color: var(--faint); transition: color 0.2s; }
.foot-list a:hover { color: var(--white); }
@media (max-width: 900px) { .foot-main { grid-template-columns: 1fr 1fr; } }

.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}
.foot-bottom p, .foot-bottom a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}
.foot-legal { display: flex; gap: 26px; list-style: none; }
.foot-legal a:hover { color: var(--white); }

/* ============================================================
   AUDIT MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); }
.modal-dialog {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 40px));
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: var(--bone);
    color: var(--ink);
    border-radius: 2px;
    padding: clamp(34px, 4vw, 54px);
}
.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 38px; height: 38px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    background: none;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--ink); color: var(--bone); }
.modal-head .eyebrow { color: rgba(11, 11, 12, 0.55); margin-bottom: 18px; }
.modal-head h3 { margin-bottom: 28px; color: var(--ink); }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form input, .modal-form select, .modal-form textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line-dark);
    border-radius: 2px;
    padding: 15px 16px;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { border-color: var(--ink); }
.modal-form textarea { min-height: 96px; resize: vertical; }
.modal-form .is-invalid { border-color: var(--red); }
.modal-form .btn { justify-content: center; margin-top: 8px; }
.modal-meta-row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.modal-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(11, 11, 12, 0.5); }
.modal-success { display: none; text-align: left; }
.modal-success.is-visible { display: block; }
.modal-success p { color: rgba(11, 11, 12, 0.62); margin-bottom: 28px; }

body.modal-open { overflow: hidden; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .orbit, .band-seq, .case-feat .film-frame img, .lt-l::before { animation: none !important; }
    .rv { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
    padding: clamp(150px, 16vw, 210px) 0 clamp(70px, 7vw, 110px);
}
.page-hero h1 { color: var(--white); }
.page-hero h1 .red { color: var(--red); }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero .sub { margin-top: 28px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(50px, 6vw, 110px);
    align-items: start;
}
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.contact-line { font-size: 17px; color: rgba(11, 11, 12, 0.62); }
.contact-line a {
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid rgba(11, 11, 12, 0.25);
    transition: border-color 0.2s, color 0.2s;
}
.contact-line a:hover { color: var(--red); border-color: var(--red); }

.next-steps { width: 100%; border-top: 1px solid var(--line-dark); margin-top: 14px; }
.next-step {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-dark);
}
.next-step .ns-num { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.next-step b { display: block; font-weight: 600; font-size: 16.5px; color: var(--ink); margin-bottom: 6px; }
.next-step p { font-size: 15px; color: rgba(11, 11, 12, 0.6); }
@media (max-width: 600px) { .next-step { grid-template-columns: 1fr; gap: 6px; } }

.form-card-light {
    background: var(--white);
    border: 1px solid rgba(11, 11, 12, 0.06);
    box-shadow: 0 24px 60px rgba(11, 11, 12, 0.08);
}

/* about page */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(60px, 7vw, 140px);
    align-items: center;
}
.about-story-copy h2 { font-size: clamp(34px, 4.2vw, 64px); }
@media (max-width: 992px) { .about-story-grid { grid-template-columns: 1fr; } }
.about-story-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.about-story-copy p { color: rgba(11, 11, 12, 0.62); max-width: 560px; font-size: 17.5px; line-height: 1.7; }

.founder-note {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
.founder-note blockquote {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.founder-sig { font-size: 15px; color: rgba(11, 11, 12, 0.55); }
.founder-sig b { display: block; font-weight: 600; color: var(--ink); font-size: 16px; }

.vert-row .svc-desc { max-width: 380px; }

/* founder section with photo */
.founder-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(50px, 6vw, 120px);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
@media (max-width: 992px) { .founder-grid { grid-template-columns: 1fr; max-width: 560px; } }
.founder-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.founder-copy blockquote {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
    letter-spacing: -0.01em;
    text-align: left;
}

/* about rework: story grid under full-width head */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(50px, 6vw, 120px);
    align-items: center;
}
@media (max-width: 992px) { .story-grid { grid-template-columns: 1fr; } }

/* founder module, beefed up */
.founder-photo { position: relative; }
.founder-photo::before {
    content: "";
    position: absolute;
    top: -22px; left: -22px;
    width: 62%; height: 62%;
    background: var(--red);
}
.founder-photo .film { position: relative; z-index: 1; }
.founder-copy blockquote {
    font-size: clamp(24px, 2.6vw, 38px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    letter-spacing: -0.015em;
    text-align: left;
}
.founder-rule { width: 56px; height: 3px; background: var(--red); }
.founder-stats { display: flex; gap: clamp(30px, 3.5vw, 64px); flex-wrap: wrap; margin-top: 6px; }
.founder-stats .fs b {
    display: block;
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(26px, 2.6vw, 42px);
    line-height: 1;
    color: var(--ink);
    margin-bottom: 8px;
}
.founder-stats .fs b em { font-style: normal; color: var(--red); }
.founder-stats .fs span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(11, 11, 12, 0.5); }

/* industries closing line */
.vert-more {
    margin-top: clamp(44px, 5vw, 80px);
    text-align: center;
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(24px, 3vw, 48px);
    line-height: 1.1;
    color: var(--white);
}
.vert-more .red { color: var(--red); }

/* ============================================================
   ABOUT v2 modules
   ============================================================ */
/* cinematic full-bleed story */
.story-cine {
    position: relative;
    min-height: clamp(560px, 72vh, 820px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}
.story-cine .story-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.story-cine::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.75) 38%, rgba(5, 5, 6, 0.15) 75%, rgba(5, 5, 6, 0.35) 100%);
    z-index: 1;
}
.story-cine .wrap { position: relative; z-index: 2; width: 100%; }
.story-cine-copy { max-width: 620px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; padding: clamp(80px, 8vw, 130px) 0; }
.story-cine-copy p { color: rgba(255, 255, 255, 0.78); font-size: 17.5px; line-height: 1.7; }
.story-cine .lower-third {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

/* founder poster module */
.founder-v2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(60px, 7vw, 140px); align-items: center; }
@media (max-width: 992px) { .founder-v2 { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.founder-v2-quote { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.founder-v2-quote .fq-mark {
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(70px, 7vw, 120px);
    line-height: 0.6;
    color: var(--red);
    height: 0.35em;
}
.founder-v2-quote blockquote {
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(24px, 2.6vw, 42px);
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: 0.005em;
}
.founder-v2-quote blockquote .red { color: var(--red); }
.founder-v2-photo { position: relative; }
.founder-v2-photo::before {
    content: "";
    position: absolute;
    top: 26px; left: -26px;
    width: 100%; height: 100%;
    background: var(--red);
}
.founder-v2-photo .film { position: relative; z-index: 1; }

/* industries interactive index */
.vert-list { border-top: 1px solid var(--line); }
.vert-item {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    align-items: center;
    gap: clamp(20px, 3vw, 50px);
    padding: clamp(28px, 3.2vw, 46px) 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.vert-item:hover { padding-left: 18px; }
.vert-item .vi-num { font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--red); }
.vert-item .vi-name {
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(28px, 3.8vw, 60px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
    transition: color 0.3s, -webkit-text-stroke-color 0.3s;
}
.vert-item:hover .vi-name { color: var(--white); -webkit-text-stroke-color: transparent; }
.vert-item .vi-desc { font-size: 15px; color: var(--soft); max-width: 360px; text-align: right; }
@media (max-width: 768px) {
    .vert-item { grid-template-columns: 1fr; gap: 10px; }
    .vert-item .vi-num { display: none; }
    .vert-item .vi-desc { text-align: left; }
    .vert-item .vi-name { color: var(--white); -webkit-text-stroke: 0; }
}
.vert-final {
    display: block;
    margin-top: clamp(70px, 7vw, 120px);
    padding: clamp(36px, 4vw, 60px) 0;
    background: var(--red);
    text-align: center;
    font-family: var(--disp);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(26px, 3.4vw, 56px);
    line-height: 1;
    color: var(--white);
}

/* story heading sized to sit inside the intro column without stacking */
.story-h { font-size: clamp(32px, 3.6vw, 58px); }

/* case frame veil + white client logo (lifts on hover) */
.frame-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 2;
    transition: opacity 0.45s ease;
}
.film-frame img.frame-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(150px, 42%, 330px);
    height: auto;
    max-height: 55%;
    object-fit: contain;
    animation: none;
    z-index: 3;
    filter: brightness(0) invert(1);
    opacity: 0.96;
    transition: opacity 0.45s ease;
}
.case-feat .film-frame img.frame-logo { animation: none; }
.film:hover .frame-shade,
.film:hover .frame-logo { opacity: 0; }

/* stat-only case cards (clients without a logo file) */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 5vw, 80px); }
@media (max-width: 992px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

/* full-color client logo variant (real brand asset, no white filter) */
.film-frame img.frame-logo.no-invert { filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5)); }

/* FAQ v2: sticky intro + card accordions */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(50px, 6vw, 110px);
    align-items: start;
}
@media (max-width: 992px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (max-width: 992px) { .faq-side { position: static; } }
.faq-side p { color: rgba(11, 11, 12, 0.62); max-width: 420px; }
.faq-cards .faq-item {
    background: var(--white);
    border: 1px solid rgba(11, 11, 12, 0.07);
    border-radius: 14px;
    padding: 4px 28px;
    box-shadow: 0 10px 30px rgba(11, 11, 12, 0.05);
    transition: box-shadow 0.25s;
}
.faq-cards .faq-item + .faq-item { margin-top: 14px; }
.faq-cards .faq-item:hover { box-shadow: 0 16px 40px rgba(11, 11, 12, 0.08); }
.faq-cards .faq-item summary { padding: 22px 0; }
.faq-cards .faq-item .faq-a { padding: 0 40px 24px 0; }


/* film-frame video */
.film-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* smaller lower-thirds on card tiles */
.reel .lt-l, .reel .lt-r, .case-grid .lt-l, .case-grid .lt-r { font-size: 9.5px; letter-spacing: 0.14em; }

/* nav services dropdown */
.nav-drop { position: relative; }
.nav-drop > a::after { content: " \25BE"; font-size: 9px; opacity: 0.7; }
.nav-sub {
    position: absolute;
    top: 100%; left: -20px;
    min-width: 220px;
    padding-top: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    list-style: none;
}
.nav-sub-panel {
    background: rgba(11, 11, 12, 0.97);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 10px 22px; white-space: nowrap; }
@media (max-width: 900px) {
    .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; padding: 8px 0 0 18px; display: none; }
    .nav.open .nav-sub { display: block; }
    .nav-sub-panel { background: none; border: 0; padding: 0; }
    .nav-sub a { padding: 8px 0; }
}

/* legal pages */
.legal-body { max-width: 860px; }
.legal-body h3 { font-family: var(--body); font-weight: 600; font-size: 21px; color: var(--ink); margin: 40px 0 12px; }
.legal-body p, .legal-body li { color: rgba(11, 11, 12, 0.65); font-size: 16px; line-height: 1.75; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin: 12px 0 0 22px; }
.legal-body li + li { margin-top: 8px; }
.legal-updated { font-size: 13px; color: rgba(11, 11, 12, 0.45); margin-bottom: 34px; }

/* uniform case-grid cards */
.case-grid .film { display: flex; flex-direction: column; }
.case-grid .film-frame { aspect-ratio: 16 / 10; }
.case-grid .film-tile img { width: 52%; height: auto; max-height: 50%; object-fit: contain; }
.case-grid .reel-body { flex: 1; }

/* Codie Sanchez spotlight */
.codie-spot {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(50px, 6vw, 120px);
    align-items: center;
    margin-top: clamp(70px, 7vw, 120px);
}
@media (max-width: 992px) { .codie-spot { grid-template-columns: 1fr; } }
.codie-stage { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; }
@media (max-width: 992px) { .codie-stage { margin: 0 auto; width: 100%; } }
.codie-stage::before {
    content: "";
    position: absolute;
    right: -22px; bottom: -22px;
    width: 70%; height: 55%;
    background: var(--red);
}
.codie-stage .cs-panel {
    position: absolute;
    inset: 0;
    background: #F2EFE9;
    overflow: hidden;
}
.codie-stage .cs-logo {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    z-index: 1;
}
.codie-stage .cs-photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 80%;
    width: auto;
    z-index: 2;
}
.codie-body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.codie-body h3 { color: var(--white); }
.codie-body h3 .red { color: var(--red); }
.codie-body p { color: var(--soft); max-width: 480px; }

/* included-stack cards (dark) */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 992px) { .stack-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 26px;
}
.stack-card h5 { font-weight: 600; font-size: 17px; color: var(--white); margin-bottom: 10px; }
.stack-card h5 span { color: var(--red); margin-right: 10px; }
.stack-card p { font-size: 14.5px; color: var(--soft); line-height: 1.65; }

/* mini slide-in popup */
.mini-pop {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 150;
    width: min(370px, calc(100vw - 40px));
    background: var(--bone);
    color: var(--ink);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s, visibility 0.45s;
}
.mini-pop.show { transform: none; opacity: 1; visibility: visible; }
.mini-pop .eyebrow { color: rgba(11, 11, 12, 0.55); margin-bottom: 12px; }
.mini-pop h4 { font-family: var(--disp); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; color: var(--ink); margin-bottom: 10px; }
.mini-pop h4 .red { color: var(--red); }
.mini-pop p { font-size: 14.5px; color: rgba(11, 11, 12, 0.62); margin-bottom: 18px; }
.mini-pop .btn { width: 100%; justify-content: center; }
.mini-pop-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 30px; height: 30px;
    border: 0; background: none;
    color: rgba(11, 11, 12, 0.5);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
.mini-pop-close:hover { color: var(--ink); }


/* portfolio browser mockups */
.site-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) { .site-grid { grid-template-columns: 1fr; } }
.site-card {
    display: block;
    background: var(--white);
    border: 1px solid rgba(11, 11, 12, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(11, 11, 12, 0.1);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.site-card:hover { transform: translateY(-8px); box-shadow: 0 28px 64px rgba(11, 11, 12, 0.16); }
.site-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #1B1B1E;
}
.site-dots { display: flex; gap: 6px; }
.site-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.site-dots span:first-child { background: var(--red); }
.site-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}
.site-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.site-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 4s ease; }
.site-card:hover .site-shot img { transform: translateY(-6%); }
.site-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid rgba(11, 11, 12, 0.08);
}
.site-meta b { font-size: 15px; font-weight: 600; color: var(--ink); }
.site-meta span { font-size: 12.5px; color: rgba(11, 11, 12, 0.5); }
.site-meta .arr { color: var(--red); font-weight: 600; transition: transform 0.25s; }
.site-card:hover .site-meta .arr { transform: translateX(4px); }

/* condensed hero heading for long lines */
.h-lg-c { font-size: clamp(34px, 4.4vw, 66px); }

/* stack cards on light sections */
.light-s .stack-card, .white-s .stack-card {
    background: var(--white);
    border-color: rgba(11, 11, 12, 0.08);
    box-shadow: 0 12px 34px rgba(11, 11, 12, 0.06);
}
.light-s .stack-card h5, .white-s .stack-card h5 { color: var(--ink); }
.light-s .stack-card p, .white-s .stack-card p { color: rgba(11, 11, 12, 0.62); }

/* featured case on light sections */
.light-s .case-feat-body h3 { color: var(--ink); }
.light-s .case-feat-copy { color: rgba(11, 11, 12, 0.62); }
.light-s .case-metrics .m b { color: var(--ink); }
.light-s .case-metrics .m span { color: rgba(11, 11, 12, 0.5); }
