/* C-Dub Media — cinematic dark theme */
:root {
  --bg: #07080a;
  --bg-2: #0c0e12;
  --panel: #111419;
  --panel-2: #161a21;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f2ee;
  --muted: #9ba1ab;
  --dim: #6b717c;
  --blue: #004aad;
  --blue-hi: #3b82ff;
  --green: #feff00;
  --green-hi: #ffff6b;
  --radius: 22px;
  --gate-r: 26px;
  --max: 1240px;
  --display: "Anton", "Impact", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --bg-rgb: 7,8,10;
  --blue-rgb: 0,74,173;
  --blue-hi-rgb: 59,130,255;
  --green-rgb: 254,255,0;
  --on-green: #0e0e10;
  --star: #fbbf24;
  --text-2: #d6d8dc;
  --logo-filter: none;
  --ink-rgb: 255,255,255;
  --drop: .9;
  --vig: .55;
  --grain: .07;
  --field: rgba(0,0,0,.35);
  --gate: #000;
  --gate-rgb: 0,0,0;
  --dscale: 1; --display-w: 400; --display-tt: uppercase; --display-lh: .92; --display-ls: .005em;
  --serif-w: 400; --serif-scale: 1;
}

/* Font pairings */
html[data-font="logo"] { --display: "Montserrat", sans-serif; --display-w: 600; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --dscale: .74;
  --serif: "Cormorant Garamond", Georgia, serif; --serif-w: 500; --serif-scale: 1.12; --sans: "Montserrat", system-ui, sans-serif; }
html[data-font="film"] { --display: "Bebas Neue", Impact, sans-serif; --display-w: 400; --display-tt: uppercase; --display-lh: .9; --display-ls: .01em; --dscale: 1.08;
  --serif: "Playfair Display", Georgia, serif; --serif-w: 400; --serif-scale: .9; --sans: "Work Sans", system-ui, sans-serif; }
html[data-font="editorial"] { --display: "Fraunces", Georgia, serif; --display-w: 600; --display-tt: none; --display-lh: .98; --display-ls: -.02em; --dscale: .86;
  --serif: "Fraunces", Georgia, serif; --serif-w: 400; --serif-scale: 1; --sans: "Instrument Sans", system-ui, sans-serif; }
html[data-font="organic"] { --display: "DM Serif Display", Georgia, serif; --display-w: 400; --display-tt: none; --display-lh: 1; --display-ls: -.01em; --dscale: .9;
  --serif: "DM Serif Display", Georgia, serif; --serif-w: 400; --serif-scale: 1; --sans: "DM Sans", system-ui, sans-serif; }
html[data-font="soft"] { --display: "Outfit", system-ui, sans-serif; --display-w: 700; --display-tt: none; --display-lh: .98; --display-ls: -.035em; --dscale: .82;
  --serif: "Newsreader", Georgia, serif; --serif-w: 400; --serif-scale: 1.05; --sans: "Outfit", system-ui, sans-serif; }
html[data-font="m-light"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 300; --dscale: .78; --display-ls: -.035em; --serif: "Cormorant Garamond", Georgia, serif; --serif-w: 500; --serif-scale: 1.15; --sans: "Montserrat", system-ui, sans-serif; }
html[data-font="m-playfair"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 600; --dscale: .74; --serif: "Playfair Display", Georgia, serif; --serif-w: 400; --serif-scale: .95; --sans: "Inter", system-ui, sans-serif; }
html[data-font="m-instrument"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 600; --dscale: .74; --serif: "Instrument Serif", Georgia, serif; --serif-w: 400; --serif-scale: 1.12; --sans: "Inter", system-ui, sans-serif; }
html[data-font="m-fraunces"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 600; --dscale: .74; --serif: "Fraunces", Georgia, serif; --serif-w: 400; --serif-scale: .98; --sans: "DM Sans", system-ui, sans-serif; }
html[data-font="m-baskerville"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 500; --dscale: .74; --serif: "Libre Baskerville", Georgia, serif; --serif-w: 400; --serif-scale: .88; --sans: "Montserrat", system-ui, sans-serif; }
html[data-font="m-lora"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 600; --dscale: .74; --serif: "Lora", Georgia, serif; --serif-w: 500; --serif-scale: .98; --sans: "Lora", Georgia, serif; }
html[data-font="m-script"] { --display: "Montserrat", sans-serif; --display-tt: uppercase; --display-lh: .98; --display-ls: -.02em; --display-w: 600; --dscale: .74; --serif: "Caveat", cursive; --serif-w: 600; --serif-scale: 1.25; --sans: "Montserrat", system-ui, sans-serif; }
.pal.fonts { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }

/* Palette: Darkroom (warm black, camel, cream) */
html[data-palette="darkroom"] {
  --bg: #0f0d0b; --bg-2: #15120f; --panel: #1b1814; --panel-2: #221e19;
  --line: rgba(239,230,214,.09); --line-2: rgba(239,230,214,.16);
  --text: #efe6d6; --text-2: #d9cfbe; --muted: #a8987f; --dim: #7c6f5d;
  --blue: #8a6a45; --blue-hi: #c9a57a; --green: #c9a57a; --green-hi: #dcbd94;
  --bg-rgb: 15,13,11; --blue-rgb: 138,106,69; --blue-hi-rgb: 201,165,122; --green-rgb: 201,165,122;
  --on-green: #12100d; --star: #c9a57a; --logo-filter: sepia(.35) brightness(.96);
}
/* Palette: Film stock (espresso, Kodak gold, cream) */
html[data-palette="filmstock"] {
  --bg: #120d0a; --bg-2: #18110d; --panel: #201812; --panel-2: #281e17;
  --line: rgba(242,232,210,.09); --line-2: rgba(242,232,210,.16);
  --text: #f2e8d2; --text-2: #ddd0b6; --muted: #a69378; --dim: #7d6c57;
  --blue: #9a5b25; --blue-hi: #e3a93c; --green: #e3a93c; --green-hi: #f0bf5e;
  --bg-rgb: 18,13,10; --blue-rgb: 170,95,35; --blue-hi-rgb: 227,169,60; --green-rgb: 227,169,60;
  --on-green: #17110d; --star: #e3a93c; --logo-filter: sepia(.45) brightness(.97);
}
/* Palette: Canyon (dark brown, burnt tan) */
html[data-palette="canyon"] {
  --bg: #17100b; --bg-2: #1e150e; --panel: #261b13; --panel-2: #2e2117;
  --line: rgba(241,228,208,.09); --line-2: rgba(241,228,208,.16);
  --text: #f1e4d0; --text-2: #dccab0; --muted: #a8906f; --dim: #7e6a52;
  --blue: #8f4d22; --blue-hi: #d38a4f; --green: #d38a4f; --green-hi: #e3a06a;
  --bg-rgb: 23,16,11; --blue-rgb: 160,85,35; --blue-hi-rgb: 211,138,79; --green-rgb: 211,138,79;
  --on-green: #1a110a; --star: #d38a4f; --logo-filter: sepia(.5) brightness(.96);
}
/* Palette: Pine & gold (forest green, gold) */
html[data-palette="pine"] {
  --bg: #0c120e; --bg-2: #101812; --panel: #16201a; --panel-2: #1c2820;
  --line: rgba(236,230,211,.09); --line-2: rgba(236,230,211,.16);
  --text: #ece6d3; --text-2: #d4cfbd; --muted: #9aa48f; --dim: #6f7a66;
  --blue: #2f5a3c; --blue-hi: #d9a94a; --green: #d9a94a; --green-hi: #e9bf68;
  --bg-rgb: 12,18,14; --blue-rgb: 47,110,70; --blue-hi-rgb: 217,169,74; --green-rgb: 217,169,74;
  --on-green: #0f140f; --star: #d9a94a; --logo-filter: sepia(.3) brightness(.95);
}
/* Palette: Olive (olive black, khaki tan) */
html[data-palette="olive"] {
  --bg: #13140f; --bg-2: #191a13; --panel: #20221a; --panel-2: #272a20;
  --line: rgba(235,229,212,.09); --line-2: rgba(235,229,212,.16);
  --text: #ebe5d4; --text-2: #d3ccb8; --muted: #9d9a82; --dim: #737059;
  --blue: #5b5a35; --blue-hi: #c2a46e; --green: #c2a46e; --green-hi: #d4b886;
  --bg-rgb: 19,20,15; --blue-rgb: 110,108,60; --blue-hi-rgb: 194,164,110; --green-rgb: 194,164,110;
  --on-green: #13140f; --star: #c2a46e; --logo-filter: sepia(.35) brightness(.95);
}
/* Palette: Leather (warm brown, caramel) */
html[data-palette="leather"] {
  --bg: #1c130d; --bg-2: #23180f; --panel: #2c1f15; --panel-2: #35261a;
  --line: rgba(244,233,214,.09); --line-2: rgba(244,233,214,.16);
  --text: #f4e9d6; --text-2: #e0d1b8; --muted: #b39a7a; --dim: #87725a;
  --blue: #6b3f1f; --blue-hi: #e0b07a; --green: #e0b07a; --green-hi: #ecc392;
  --bg-rgb: 28,19,13; --blue-rgb: 120,70,35; --blue-hi-rgb: 224,176,122; --green-rgb: 224,176,122;
  --on-green: #1c130d; --star: #e0b07a; --logo-filter: sepia(.45) brightness(.97);
}
/* Light palette: Cream & ink */
html[data-palette="cream"] {
  color-scheme: light;
  --bg: #f3ede2; --bg-2: #ebe3d5; --panel: #fbf8f2; --panel-2: #fffdf9;
  --line: rgba(23,19,15,.11); --line-2: rgba(23,19,15,.2);
  --text: #17130f; --text-2: #3a332b; --muted: #6e6253; --dim: #8f8372;
  --blue: #8a5a2b; --blue-hi: #8a5a2b; --green: #17130f; --green-hi: #2e2720;
  --bg-rgb: 243,237,226; --blue-rgb: 138,90,43; --blue-hi-rgb: 138,90,43; --green-rgb: 23,19,15;
  --on-green: #f3ede2; --star: #b8862f; --ink-rgb: 23,19,15;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Linen & gold */
html[data-palette="linen"] {
  color-scheme: light;
  --bg: #f6f0e4; --bg-2: #eee5d4; --panel: #fffaf0; --panel-2: #fffdf8;
  --line: rgba(29,21,15,.11); --line-2: rgba(29,21,15,.2);
  --text: #1d150f; --text-2: #40342a; --muted: #74634f; --dim: #968571;
  --blue: #9a6a18; --blue-hi: #a8741c; --green: #d9a13a; --green-hi: #e5b252;
  --bg-rgb: 246,240,228; --blue-rgb: 176,120,30; --blue-hi-rgb: 168,116,28; --green-rgb: 217,161,58;
  --on-green: #1d150f; --star: #c48f2c; --ink-rgb: 29,21,15;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Sand & forest */
html[data-palette="sand"] {
  color-scheme: light;
  --bg: #ede4d3; --bg-2: #e4d9c4; --panel: #f7f1e6; --panel-2: #fbf7ef;
  --line: rgba(24,32,26,.11); --line-2: rgba(24,32,26,.2);
  --text: #18201a; --text-2: #344036; --muted: #5f6a5c; --dim: #828b7c;
  --blue: #2f5a3c; --blue-hi: #2f5a3c; --green: #2f5a3c; --green-hi: #3c6f4b;
  --bg-rgb: 237,228,211; --blue-rgb: 47,90,60; --blue-hi-rgb: 47,90,60; --green-rgb: 47,90,60;
  --on-green: #f4eee2; --star: #b8862f; --ink-rgb: 24,32,26;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Gallery white */
html[data-palette="gallery"] {
  color-scheme: light;
  --bg: #fafaf7; --bg-2: #f2f1ec; --panel: #ffffff; --panel-2: #ffffff;
  --line: rgba(17,17,16,.11); --line-2: rgba(17,17,16,.2);
  --text: #111110; --text-2: #33322e; --muted: #6b6a64; --dim: #8e8d86;
  --blue: #a07a50; --blue-hi: #a07a50; --green: #111110; --green-hi: #2b2a27;
  --bg-rgb: 250,250,247; --blue-rgb: 160,122,80; --blue-hi-rgb: 160,122,80; --green-rgb: 17,17,16;
  --on-green: #fafaf7; --star: #b8862f; --ink-rgb: 17,17,16;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Off-white, sage & walnut */
html[data-palette="sagewalnut"] {
  color-scheme: light;
  --bg: #f7f5ef; --bg-2: #eeebe2; --panel: #fdfcf9; --panel-2: #ffffff;
  --line: rgba(27,31,25,.11); --line-2: rgba(27,31,25,.2);
  --text: #1b1f19; --text-2: #3a4136; --muted: #66705f; --dim: #8a9282;
  --blue: #8fae86; --blue-hi: #5e7f56; --green: #5a4130; --green-hi: #6e523e;
  --bg-rgb: 247,245,239; --blue-rgb: 143,174,134; --blue-hi-rgb: 94,127,86; --green-rgb: 90,65,48;
  --on-green: #f7f5ef; --star: #c09a52; --ink-rgb: 27,31,25;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Off-white, sage & sand */
html[data-palette="sagesand"] {
  color-scheme: light;
  --bg: #f8f6f0; --bg-2: #efebe1; --panel: #fefdfa; --panel-2: #ffffff;
  --line: rgba(31,29,23,.11); --line-2: rgba(31,29,23,.2);
  --text: #1f1d17; --text-2: #403b31; --muted: #6c6658; --dim: #8f8979;
  --blue: #a7c19e; --blue-hi: #627f5b; --green: #c9a87c; --green-hi: #d6b98f;
  --bg-rgb: 248,246,240; --blue-rgb: 167,193,158; --blue-hi-rgb: 98,127,91; --green-rgb: 201,168,124;
  --on-green: #1f1a14; --star: #c09a52; --ink-rgb: 31,29,23;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Off-white, eucalyptus & charcoal */
html[data-palette="eucalyptus"] {
  color-scheme: light;
  --bg: #f6f6f2; --bg-2: #ecece6; --panel: #fdfdfb; --panel-2: #ffffff;
  --line: rgba(28,33,32,.11); --line-2: rgba(28,33,32,.2);
  --text: #1c2120; --text-2: #3a4241; --muted: #66706e; --dim: #8b9391;
  --blue: #9fbab2; --blue-hi: #5d8379; --green: #26282a; --green-hi: #3a3d40;
  --bg-rgb: 246,246,242; --blue-rgb: 159,186,178; --blue-hi-rgb: 93,131,121; --green-rgb: 38,40,42;
  --on-green: #f6f6f2; --star: #c09a52; --ink-rgb: 28,33,32;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Off-white, moss & honey */
html[data-palette="mosshoney"] {
  color-scheme: light;
  --bg: #f8f5ec; --bg-2: #efeadd; --panel: #fefcf7; --panel-2: #ffffff;
  --line: rgba(30,32,22,.11); --line-2: rgba(30,32,22,.2);
  --text: #1e2016; --text-2: #3e4132; --muted: #6b6d5a; --dim: #8f907c;
  --blue: #a9b98a; --blue-hi: #5f7a3e; --green: #d9a441; --green-hi: #e4b45c;
  --bg-rgb: 248,245,236; --blue-rgb: 169,185,138; --blue-hi-rgb: 95,122,62; --green-rgb: 217,164,65;
  --on-green: #1f1a10; --star: #d9a441; --ink-rgb: 30,32,22;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Off-white, fern & light green */
html[data-palette="fern"] {
  color-scheme: light;
  --bg: #f7f6f0; --bg-2: #eeede4; --panel: #fdfdf9; --panel-2: #ffffff;
  --line: rgba(26,34,25,.11); --line-2: rgba(26,34,25,.2);
  --text: #1a2219; --text-2: #384436; --muted: #637061; --dim: #879384;
  --blue: #b5cba8; --blue-hi: #4f7d4a; --green: #a9c49a; --green-hi: #b9d2ab;
  --bg-rgb: 247,246,240; --blue-rgb: 181,203,168; --blue-hi-rgb: 79,125,74; --green-rgb: 169,196,154;
  --on-green: #1a2219; --star: #c09a52; --ink-rgb: 26,34,25;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Off-white, olive & stone */
html[data-palette="olivestone"] {
  color-scheme: light;
  --bg: #f6f4ee; --bg-2: #edeae1; --panel: #fdfcf8; --panel-2: #ffffff;
  --line: rgba(31,31,24,.11); --line-2: rgba(31,31,24,.2);
  --text: #1f1f18; --text-2: #3f3f34; --muted: #6d6c5d; --dim: #908f80;
  --blue: #b3b28a; --blue-hi: #6b6b3a; --green: #77715f; --green-hi: #857f6c;
  --bg-rgb: 246,244,238; --blue-rgb: 179,178,138; --blue-hi-rgb: 107,107,58; --green-rgb: 119,113,95;
  --on-green: #f6f4ee; --star: #c09a52; --ink-rgb: 31,31,24;
  --logo-filter: brightness(0) opacity(.88); --drop: .28; --vig: .1; --grain: .05; --field: rgba(255,255,255,.75);
}
/* Light palette: Sage + walnut, walnut replaces black */
html[data-palette="sagewalnut-nb"] {
  color-scheme: light;
  --bg: #f7f5ef; --bg-2: #eeebe2; --panel: #fdfcf9; --panel-2: #ffffff;
  --line: rgba(90,65,48,.13); --line-2: rgba(90,65,48,.24);
  --text: #4f3727; --text-2: #5e4635; --muted: #806a58; --dim: #9d8b7b;
  --blue: #8fae86; --blue-hi: #6a8a61; --green: #5a4130; --green-hi: #6e523e;
  --bg-rgb: 247,245,239; --blue-rgb: 143,174,134; --blue-hi-rgb: 106,138,97; --green-rgb: 90,65,48;
  --on-green: #f7f5ef; --star: #c09a52; --ink-rgb: 90,65,48;
  --logo-filter: none; --drop: .22; --vig: .08; --grain: .05; --field: rgba(255,255,255,.8);
  --gate: #4a3324; --gate-rgb: 58,40,28;
}
html[data-palette="sagewalnut-nb"] .nav-logo img { content: url("img/logo-wordmark-walnut.png"); }
html[data-palette="sagewalnut-nb"] .footer img { content: url("img/logo-walnut.png"); }
.nav-logo img, .footer img { filter: var(--logo-filter); }

/* Preview-only palette switcher */
.pal { position: fixed; left: 12px; right: 12px; width: max-content; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 300; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.pal button { flex: none; white-space: nowrap; border: 0; background: transparent; color: #ddd; font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; }
.pal button.on { background: #fff; color: #000; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* Film grain + vignette over everything */
body::before {
  content: "";
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: var(--grain);
  animation: grain 1s steps(6) infinite;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 99; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(var(--gate-rgb),var(--vig)) 100%);
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { position: relative; }

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.display {
  font-family: var(--display);
  font-weight: var(--display-w);
  text-transform: var(--display-tt);
  line-height: var(--display-lh);
  letter-spacing: var(--display-ls);
  margin: 0;
  text-wrap: balance;
}
.serif { font-family: var(--serif); font-style: var(--serif-style, italic); font-weight: var(--serif-w); text-transform: none; letter-spacing: 0; font-size: calc(1em * var(--serif-scale)); }
.blue { color: var(--blue-hi); }
.green { color: var(--green); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 560px; }
h2.display { font-size: calc(var(--dscale) * clamp(44px, 7vw, 96px)); }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--on-green); box-shadow: 0 10px 40px -10px rgba(var(--green-rgb),.6); }
.btn-green:hover { background: var(--green-hi); box-shadow: 0 16px 50px -10px rgba(var(--green-rgb),.75); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(var(--ink-rgb),.02); }
.btn-ghost:hover { border-color: rgba(var(--ink-rgb),.4); }
.btn svg { width: 16px; height: 16px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(var(--bg-rgb),.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links .btn { padding: 12px 20px; font-size: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Letterbox intro bars */
.letterbox::before, .letterbox::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 3;
  background: var(--gate); height: 50%;
  animation: bars 1.6s var(--ease) .15s forwards;
}
.letterbox::before { top: 0; }
.letterbox::after { bottom: 0; }
@keyframes bars { to { height: 0; } }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(var(--blue-rgb),.42), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(var(--green-rgb),.13), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: calc(var(--dscale) * clamp(54px, 6.5vw, 118px)); margin: 22px 0 26px; }
.hero h1 .serif { font-size: calc(.9em * var(--serif-scale)); display: inline-block; padding-right: .06em; }
.hero .lead { margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; gap: 34px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-meta b { display: block; font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--dscale) * 34px); line-height: 1; }
.hero-meta span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* Phone reel in hero */
.reel { position: relative; height: 620px; }
.phone {
  position: absolute; width: 230px; aspect-ratio: 9 / 16;
  border-radius: var(--gate-r);
  overflow: hidden;
  background: var(--gate);
  box-shadow: 0 0 0 1px rgba(var(--ink-rgb),.12), 0 40px 80px -20px rgba(var(--gate-rgb),var(--drop)), 0 0 80px -20px rgba(var(--blue-hi-rgb),.35);
  transition: transform .8s var(--ease);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 7px var(--gate), inset 0 0 40px rgba(var(--gate-rgb),.5); pointer-events: none; }
.phone.p1 { left: 0; top: 70px; transform: rotate(-6deg); }
.phone.p2 { left: 50%; top: 0; width: 260px; transform: translateX(-50%); z-index: 2; }
.phone.p3 { right: 0; top: 110px; transform: rotate(6deg); }
.reel-tag {
  position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(10,12,16,.82); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  font-size: 13px; color: var(--muted);
}
.reel-tag b { color: var(--text); }
.rec { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .2em; color: #ff5b5b; font-weight: 700; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Viewfinder corners */
.vf { position: absolute; inset: 104px 22px 22px; pointer-events: none; z-index: 1; }
.vf i { position: absolute; width: 26px; height: 26px; border-color: rgba(var(--ink-rgb),.28); border-style: solid; }
.vf i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.vf i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.vf i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.vf i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.vf .tc { position: absolute; bottom: 6px; right: 40px; font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: rgba(var(--ink-rgb),.35); }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee-label { text-align: center; margin-bottom: 18px; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 42s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--dscale) * 26px); text-transform: var(--display-tt); color: rgba(var(--ink-rgb),.34); white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; }
.marquee-track span::after { content: "\26A1"; font-size: 15px; color: var(--blue-hi); opacity: .6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 140px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }

/* Case study */
.case { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center; }
.film {
  position: relative; border-radius: var(--gate-r); overflow: hidden; background: var(--gate);
  box-shadow: 0 0 0 1px rgba(var(--ink-rgb),.1), 0 40px 90px -30px rgba(var(--gate-rgb),var(--drop));
}
.film::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 8px var(--gate), inset 0 0 60px rgba(var(--gate-rgb),.45); pointer-events: none; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9/16; }
.play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--gate-rgb),.5)); border: 0;
}
.play span {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s;
}
.play:hover span { transform: scale(1.08); background: rgba(var(--green-rgb),.9); border-color: transparent; }
.play svg { width: 24px; height: 24px; margin-left: 4px; }
.film.playing .play { opacity: 0; pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 40px 0; }
.stat { background: var(--panel); padding: 30px 26px; }
.stat b { display: block; font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--dscale) * clamp(46px, 5vw, 72px)); line-height: 1; }
.stat span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
blockquote { margin: 0; padding-left: 24px; border-left: 2px solid var(--blue-hi); }
blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; margin: 0 0 14px; }
blockquote cite { font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .4s, transform .4s var(--ease);
}
.svc:hover { border-color: rgba(var(--blue-hi-rgb),.45); transform: translateY(-4px); }
.svc::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 70%; background: radial-gradient(closest-side, rgba(var(--blue-rgb),.35), transparent); opacity: 0; transition: opacity .5s; }
.svc:hover::before { opacity: 1; }
.svc .num { font: 600 12px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--blue-hi); letter-spacing: .1em; }
.svc .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin: 30px 0 22px; background: rgba(var(--blue-hi-rgb),.1); border: 1px solid rgba(var(--blue-hi-rgb),.25); }
.svc .icon svg { width: 22px; height: 22px; color: var(--blue-hi); }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: 20px; overflow: hidden; background: var(--gate); cursor: pointer;
  aspect-ratio: 9/16; border: 0; padding: 0; text-align: left; width: 100%;
  box-shadow: 0 0 0 1px rgba(var(--ink-rgb),.08);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(var(--blue-hi-rgb),.5), 0 30px 60px -20px rgba(var(--blue-rgb),.5); }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card video { opacity: 0; transition: opacity .4s; }
.card.live video { opacity: 1; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--gate-rgb),0) 45%, rgba(var(--gate-rgb),.85)); pointer-events: none; }
.card .meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.card .meta small { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: 4px; }
.card .meta b { font-size: 15px; line-height: 1.25; display: block; }
.card .pi { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--gate-rgb),.45); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.card .pi svg { width: 12px; height: 12px; margin-left: 2px; }
.card.hide { display: none; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); transition: all .25s; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* About teaser / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.portrait { position: relative; border-radius: var(--gate-r); overflow: hidden; box-shadow: 0 0 0 1px rgba(var(--ink-rgb),.08), 0 50px 100px -40px rgba(var(--gate-rgb),var(--drop)); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; filter: contrast(1.05) saturate(.95); }
.portrait::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 8px var(--gate); border-radius: inherit; }
.portrait .cap { position: absolute; left: 20px; bottom: 20px; z-index: 2; font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: rgba(255,255,255,.7); background: rgba(var(--gate-rgb),.5); padding: 8px 10px; border-radius: 6px; }
.points { display: grid; gap: 0; margin: 34px 0 40px; border-top: 1px solid var(--line); }
.point { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.point .n { font: 600 13px/1.8 ui-monospace, Menlo, Consolas, monospace; color: var(--blue-hi); }
.point p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 34px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: var(--star); letter-spacing: 3px; font-size: 15px; margin-bottom: 18px; }
.review p { margin: 0 0 26px; font-size: 16px; color: var(--text-2); flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-hi)); }
.review .who b { display: block; font-size: 14px; }
.review .who span { font-size: 12px; color: var(--dim); }
.g-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.g-badge svg { width: 18px; height: 18px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue-hi); }
.step .n { font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--dscale) * 56px); line-height: 1; color: rgba(var(--ink-rgb),.12); display: block; margin-bottom: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* CTA band */
.cta-band { padding: 150px 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(var(--blue-rgb),.45), transparent 70%); }
.cta-band h2 { font-size: calc(var(--dscale) * clamp(56px, 10vw, 150px)); margin: 20px 0 26px; }
.cta-band .lead { margin: 0 auto 40px; }

/* Page hero (inner pages) */
.page-hero { padding: 190px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 0%, rgba(var(--blue-rgb),.35), transparent 70%); }
.page-hero h1 { font-size: calc(var(--dscale) * clamp(64px, 11vw, 168px)); margin: 18px 0 24px; }

/* BTS strip */
.bts { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 18px; }
.bts figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.bts img { width: 100%; height: 520px; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(.9) contrast(1.05); }
.bts figure:hover img { transform: scale(1.04); }
.bts figcaption { position: absolute; left: 18px; bottom: 16px; font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: rgba(255,255,255,.8); text-transform: uppercase; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.form-card { padding: 42px; border-radius: 28px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px rgba(var(--blue-rgb),.6); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 16px 18px; border-radius: 14px;
  background: var(--field); border: 1px solid var(--line-2); color: var(--text);
  font: 16px var(--sans); outline: none; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239ba1ab' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field select option { background: var(--panel); }
.field input:focus, .field select:focus { border-color: var(--blue-hi); box-shadow: 0 0 0 4px rgba(var(--blue-hi-rgb),.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 12.5px; line-height: 1.55; color: var(--dim); margin: 6px 0 24px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.consent a { color: var(--muted); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; padding: 19px; }
.form-msg { margin-top: 16px; font-size: 14px; min-height: 1em; }
.form-msg.err { color: #ff7a7a; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done .check { width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--green-rgb),.15); border: 1px solid rgba(var(--green-rgb),.5); }
.next { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: var(--bg-2); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: start; }
.footer img { height: 64px; width: auto; }
.footer p { color: var(--dim); font-size: 14px; max-width: 320px; }
.footer nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer nav div { display: grid; gap: 10px; align-content: start; }
.footer nav b { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.footer nav a { color: var(--muted); font-size: 15px; }
.footer nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(var(--gate-rgb),.9); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .35s; padding: 24px; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox .film { width: min(420px, 100%); max-height: 88vh; }
.lightbox video { aspect-ratio: 9/16; max-height: 88vh; width: 100%; object-fit: contain; }
.lightbox .lb-title { position: absolute; top: 26px; left: 28px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lightbox .close { position: absolute; top: 18px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); display: grid; place-items: center; font-size: 22px; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.in .split-line > span, .split-line.in > span { transform: none; }
.hero .split-line:nth-child(2) > span { transition-delay: .12s; }
.hero .split-line:nth-child(3) > span { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .split-line > span { opacity: 1; transform: none; }
  .letterbox::before, .letterbox::after { display: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .case, .split, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .case .film { max-width: 380px; }
  .services, .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .work-strip { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .reel { height: 560px; max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links a:not(.btn) { font-size: 22px; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 110px 0 60px; }
  .hero-meta { gap: 22px; }
  .hero-meta b { font-size: 28px; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-meta span { font-size: 10px; letter-spacing: .1em; line-height: 1.4; display: block; margin-top: 6px; }
  .reel { height: 470px; }
  .phone { width: 160px; }
  .phone.p2 { width: 190px; }
  .phone.p1 { top: 60px; } .phone.p3 { top: 90px; }
  .reel-tag { font-size: 12px; padding: 10px 14px; bottom: 0; }
  .vf { display: none; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 40px; }
  .services, .steps { grid-template-columns: 1fr; }
  .work-grid, .work-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 22px; }
  .bts { grid-template-columns: 1fr; }
  .bts img { height: 380px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px; }
  .cta-band { padding: 100px 0; }
  .page-hero { padding: 140px 0 60px; }
  .marquee-track span { font-size: 20px; gap: 40px; }
  .marquee-track { gap: 40px; }
  .footer nav { gap: 40px; }
}

/* Legal pages */
.legal { color: var(--text-2); font-size: 16px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; color: var(--text); letter-spacing: -.01em; }
.legal h3 { margin-top: 26px; }
.legal p, .legal li { color: var(--text-2); }
.legal a { color: var(--blue-hi); text-decoration: underline; }
.legal ul { padding-left: 20px; }

html[data-font="m-script"] { --serif-style: normal; }

/* Copy/SEO sections */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.services.three { grid-template-columns: repeat(3, 1fr); }
.services.three .icon { margin-top: 0; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps.five .step { padding-right: 22px; }
.stats.four { grid-template-columns: repeat(4, 1fr); }
.stats.four .stat b { font-size: calc(var(--dscale) * clamp(38px, 3.6vw, 58px)); }
.form-done .check { color: var(--green); }
.prose { color: var(--muted); font-size: 18px; max-width: 640px; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; font-size: 18px; font-weight: 600; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--blue-hi); font-size: 18px; transition: transform .3s var(--ease); }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--muted); max-width: 620px; }
.faq-item summary:focus-visible, .chip:focus-visible, .btn:focus-visible, .card:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
@media (max-width: 1080px) {
  .services.three { grid-template-columns: 1fr 1fr 1fr; }
  .steps.five { grid-template-columns: repeat(2, 1fr); }
  .stats.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .services.three, .steps.five { grid-template-columns: 1fr; }
  .stats.four { grid-template-columns: 1fr 1fr; }
  .faq-item summary { font-size: 16px; }
}

/* ===== DUB Marketing brand (2026-10): walnut + off-white, rust accent used sparingly ===== */
html[data-palette="dub"] {
  color-scheme: light;
  --bg: #f7f5ef; --bg-2: #efebe2; --panel: #fdfcf9; --panel-2: #ffffff;
  --line: rgba(90,65,48,.13); --line-2: rgba(90,65,48,.24);
  --text: #3e2c20; --text-2: #5a4130; --muted: #806a58; --dim: #9d8b7b;
  --blue: #a08670; --blue-hi: #806a58; --green: #b85c38; --green-hi: #a24f2f;
  --bg-rgb: 247,245,239; --blue-rgb: 160,134,112; --blue-hi-rgb: 128,106,88; --green-rgb: 184,92,56;
  --on-green: #f7f5ef; --star: #b85c38; --ink-rgb: 90,65,48;
  --logo-filter: none; --drop: .22; --vig: .08; --grain: .05; --field: rgba(255,255,255,.8);
  --gate: #4a3324; --gate-rgb: 58,40,28;
}
html[data-font="dub"] { --display: "Montserrat", sans-serif; --display-w: 900; --display-tt: uppercase; --display-lh: .96; --display-ls: -.025em; --dscale: .72;
  --serif: "Fraunces", Georgia, serif; --serif-w: 400; --serif-scale: 1.02; --sans: "DM Sans", system-ui, sans-serif; }
html[data-palette="dub"] .nav-logo img { height: 38px; width: auto; }
html[data-palette="dub"] .footer-top img { height: 92px; width: auto; }
/* Rust is the spark: main CTA buttons and key numbers only. The nav button stays walnut. */
html[data-palette="dub"] .nav .btn-green { background: #5a4130; box-shadow: none; }
html[data-palette="dub"] .nav .btn-green:hover { background: #3e2c20; }
html[data-palette="dub"] .hero-meta b, html[data-palette="dub"] .stat b { color: #b85c38; }
html[data-palette="dub"] .eyebrow .dot { background: #b85c38; }
html[data-palette="dub"] .portrait img { height: auto; }

/* ===== Cinematic dark sections (editorial site + cinematic moments) ===== */
.cine {
  --bg: #241911; --bg-2: #2b1f17; --panel: #2f2219; --panel-2: #382920;
  --line: rgba(247,245,239,.10); --line-2: rgba(247,245,239,.22);
  --text: #f7f5ef; --text-2: #e5d9c9; --muted: #cdbfae; --dim: #a8957f;
  --blue: #b9a58f; --blue-hi: #d6c8b6; --ink-rgb: 247,245,239;
  background: var(--bg); color: var(--text); overflow: hidden; isolation: isolate;
}
.cine .lbar { position: absolute; left: 0; right: 0; height: 34px; background: #000; z-index: 2; }
.cine .lbar.t { top: 0; } .cine .lbar.b { bottom: 0; }
.cine .rec-tc { position: absolute; right: 26px; top: 50px; z-index: 2; font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: rgba(247,245,239,.55); }
.cine .rec-tc i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #b85c38; margin-right: 8px; vertical-align: 1px; animation: recblink 1.4s steps(1) infinite; }
@keyframes recblink { 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .cine .rec-tc i { animation: none; } }
.cine.section { padding: 150px 0; }
.cine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 0%, rgba(184,92,56,.10), transparent 60%), radial-gradient(50% 60% at 10% 100%, rgba(214,200,182,.06), transparent 70%); }
/* film strip around the work cards */
.cine .work-strip { background: #0c0806; padding: 26px 16px; border-radius: 14px; position: relative; }
.cine .work-strip::before, .cine .work-strip::after { content: ""; position: absolute; left: 16px; right: 16px; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(247,245,239,.22) 0 12px, transparent 12px 26px); border-radius: 2px; }
.cine .work-strip::before { top: 9px; } .cine .work-strip::after { bottom: 9px; }
.cine .card { border-radius: 10px; }
.cine .film::after { box-shadow: inset 0 0 0 8px #0c0806, inset 0 0 60px rgba(0,0,0,.5); }
.cine.cta-band { padding: 170px 0; }
.cine.cta-band::before { background: radial-gradient(50% 70% at 50% 100%, rgba(184,92,56,.22), transparent 70%); }
@media (max-width: 720px) { .cine .lbar { height: 20px; } .cine .rec-tc { top: 32px; right: 16px; } .cine.section { padding: 100px 0; } .cine.cta-band { padding: 120px 0; } }

/* ===== Homepage B: video-wall cinematic header ===== */
.home-b .nav:not(.scrolled):not(.open) { --text: #f7f5ef; --muted: #d6c8b6; }
.home-b .nav:not(.scrolled):not(.open) .nav-logo img { content: url("img/dub-wide-offwhite.png"); }
.home-b .nav:not(.scrolled):not(.open) .btn-green { background: #f7f5ef; color: #3e2c20; }
.hero-wall { background: #1c130d; color: #f7f5ef; justify-content: center; text-align: center;
  --text: #f7f5ef; --muted: #d6c8b6; --dim: #b9a58f; --blue-hi: #d6c8b6; --ink-rgb: 247,245,239; --line: rgba(247,245,239,.16); --line-2: rgba(247,245,239,.3); }
.hero-wall .wall { position: absolute; inset: -22% -10%; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; transform: rotate(-6deg); z-index: -2; }
.hero-wall .wcol { display: flex; flex-direction: column; gap: 16px; animation: walldrift 26s ease-in-out infinite alternate; }
.hero-wall .wcol:nth-child(even) { margin-top: -120px; animation-direction: alternate-reverse; }
@keyframes walldrift { from { transform: translateY(-50px); } to { transform: translateY(50px); } }
@media (prefers-reduced-motion: reduce) { .hero-wall .wcol { animation: none; } }
.hero-wall .tile { aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(247,245,239,.06); }
.hero-wall .tile img, .hero-wall .tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-wall .wall-shade { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 50% 52%, rgba(28,19,13,.9), rgba(28,19,13,.62) 75%), linear-gradient(180deg, rgba(28,19,13,.75), rgba(28,19,13,.15) 35%, rgba(28,19,13,.9)); }
.hero-wall .wall-in { display: flex; flex-direction: column; align-items: center; max-width: 1000px; margin: 0 auto; }
.hero-wall .eyebrow { color: #d6c8b6; }
.hero-wall .lead { margin-left: auto; margin-right: auto; color: #e5d9c9; }
.hero-wall .hero-ctas { justify-content: center; }
.hero-wall .hero-meta { justify-content: center; margin-left: auto; margin-right: auto; }
.hero-wall .wall-rec { position: absolute; left: 28px; bottom: 34px; z-index: 2; font: 600 11px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,245,239,.6); }
.hero-wall .wall-rec i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #b85c38; margin-right: 8px; vertical-align: 1px; animation: recblink 1.4s steps(1) infinite; }
@media (max-width: 720px) {
  .hero-wall .wall { grid-template-columns: repeat(4, 1fr); gap: 10px; inset: -15% -30%; }
  .hero-wall .wcol:nth-child(n+5) { display: none; }
  .hero-wall .wcol { gap: 10px; }
  .hero-wall .tile { border-radius: 12px; }
  .hero-wall .wall-rec { left: 16px; bottom: 18px; }
}
/* Contact: GHL form embed fills one clean card (no white frame) */
html[data-palette="dub"] .form-card { padding: 0; background: #f7f5ef; border: 1px solid rgba(90,65,48,.14); border-radius: 18px; overflow: visible; box-shadow: 0 30px 60px -40px rgba(62,44,32,.35); }
html[data-palette="dub"] .form-card iframe { border-radius: 17px !important; }
@media (max-width: 720px) { html[data-palette="dub"] .form-card { padding: 0; } }
/* Trustindex live Google reviews */
html[data-palette="dub"] .ti-reviews { margin-top: 8px; }
