/* =========================================================
   BrewScript Media — site styles
   Dark "player window" canvas, magenta→violet→blue light,
   condensed grotesk + brush-script accent + mono labels.
   ========================================================= */

:root {
  --bg: #050409;
  --frame: #0c0a12;
  --panel: #14111d;
  --panel-2: #1b1726;
  --ink: #f6f3fb;
  --ink-2: #cfc9dc;
  --muted: #8f89a0;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --magenta: #ff2e93;
  --violet: #7b4dff;
  --blue: #2f6bff;
  --amber: #ff8a3d;
  --lime: #d7ff5a;

  --grad: linear-gradient(100deg, var(--amber) 0%, var(--magenta) 38%, var(--violet) 70%, var(--blue) 100%);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Permanent Marker", "Brush Script MT", cursive;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-frame: 28px;
  --r-lg: 24px;
  --r-md: 16px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  font: 600 13px/1 var(--f-mono);
}
.skip:focus { top: 12px; }

/* ---------- Outer rounded frame (the "player window") ---------- */
.frame {
  margin: 10px;
  background: var(--frame);
  border-radius: var(--r-frame);
  border: 1px solid var(--line);
  overflow: clip;
  position: relative;
  isolation: isolate;
}
@media (max-width: 640px) {
  .frame { margin: 6px; border-radius: 20px; }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 78;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.86;
  margin: 0;
}
.script {
  font-family: var(--f-script);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-4deg);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.08em;
  line-height: 1;
}
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px var(--magenta);
}
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 78;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0;
}
.h3 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 88;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-light { background: #f4f0ff; color: #0b0912; box-shadow: 0 10px 40px -10px rgba(255, 46, 147, .55); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(123, 77, 255, .8); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.08); }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { transform: translateY(-2px); filter: saturate(1.2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--line-2); padding-bottom: 6px;
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 16px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Floating pill nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 44px), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(16, 13, 24, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .4s, top .4s var(--ease), box-shadow .4s;
}
.nav.scrolled { background: rgba(12, 10, 18, 0.82); box-shadow: 0 20px 60px -30px rgba(0,0,0,.9); top: 16px; }
.logo {
  font-family: var(--f-display); font-variation-settings: "wdth" 85; font-weight: 800;
  font-size: 22px; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 1px;
}
.logo .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); display: inline-block; margin-left: 3px; box-shadow: 0 0 10px var(--magenta); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-2); transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(255,255,255,.07); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.1); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(215,255,90,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(215,255,90,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(215,255,90,0); } }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.05); cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: radial-gradient(120% 70% at 50% 110%, rgba(123,77,255,.45), transparent 60%), #08060d;
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.big {
  font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 14vw, 84px); line-height: .95; letter-spacing: -.02em; display: block;
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.menu-open .mobile-menu a.big { transform: none; opacity: 1; }
.mobile-menu a.big:nth-child(2) { transition-delay: .05s; }
.mobile-menu a.big:nth-child(3) { transition-delay: .1s; }
.mobile-menu a.big:nth-child(4) { transition-delay: .15s; }
.mobile-menu a.big:nth-child(5) { transition-delay: .2s; }
.mobile-menu a.big[aria-current="page"] { color: var(--magenta); }
.mobile-menu .mm-foot { margin-top: 40px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }

@media (max-width: 980px) {
  .nav-links, .nav .status { display: none; }
  .menu-btn { display: block; }
  .nav { padding-left: 18px; }
}
@media (max-width: 480px) {
  .nav { top: 14px; width: calc(100% - 28px); }
  .nav-cta { display: none; }
}

/* ---------- Glow / light source ---------- */
.glow {
  position: absolute; pointer-events: none; z-index: -1;
  width: 900px; height: 900px; border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 46, 147, .75), transparent 70%) 30% 55% / 70% 70% no-repeat,
    radial-gradient(closest-side, rgba(123, 77, 255, .8), transparent 70%) 60% 40% / 75% 75% no-repeat,
    radial-gradient(closest-side, rgba(47, 107, 255, .7), transparent 70%) 75% 65% / 60% 60% no-repeat;
  filter: blur(40px);
  opacity: .85;
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: max(760px, 100svh);
  display: grid; place-items: center; text-align: center;
  padding: 140px var(--gutter) 90px;
  overflow: hidden;
}
.hero .glow { left: 50%; top: 50%; transform: translate(-50%, -48%); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08) rotate(8deg); opacity: 1; } }
.hero-inner { position: relative; z-index: 2; max-width: 1120px; }
.hero h1 { font-size: clamp(54px, 9.4vw, 142px); }
.hero h1 .script { font-size: 1.08em; margin: -0.02em 0 -0.06em; filter: drop-shadow(0 6px 30px rgba(255,46,147,.35)); }
.hero h1 .line { display: block; }
.hero-sub {
  margin: 30px auto 0; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .1em;
  font-size: clamp(12px, 1.1vw, 14px); line-height: 1.7; color: var(--ink-2); max-width: 44ch;
}
.hero-actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* diamond / rounded media frames orbiting the headline */
.orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tile {
  position: absolute; width: var(--s, 170px); aspect-ratio: 1;
  translate: var(--mx, 0px) var(--my, 0px);
  animation: bob var(--d, 9s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
.tile .shape {
  width: 100%; height: 100%; overflow: hidden; border-radius: 26%;
  transform: rotate(45deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  background: var(--panel);
}
.tile.square .shape { transform: rotate(0deg); border-radius: 22%; }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: rotate(-45deg) scale(1.45); filter: saturate(1.1) contrast(1.05); }
.tile.square img { transform: none; }
.tile .shape::after { content: ""; position: absolute; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(1.5deg); } }

.t1 { --s: 190px; left: 9%;  top: 11%; --d: 10s; }
.t2 { --s: 150px; left: 40%; top: -40px; --d: 8s; --dl: -2s; }
.t3 { --s: 210px; right: 7%; top: 9%; --d: 11s; --dl: -4s; }
.t4 { --s: 160px; left: 3%;  top: 46%; --d: 9s; --dl: -1s; }
.t5 { --s: 170px; right: 2%; top: 50%; --d: 12s; --dl: -6s; }
.t6 { --s: 200px; left: 12%; bottom: -40px; --d: 10s; --dl: -3s; }
.t7 { --s: 140px; left: 50%; bottom: -60px; --d: 9s; --dl: -5s; }
.t8 { --s: 190px; right: 12%; bottom: 2%; --d: 11s; --dl: -7s; }

@media (max-width: 1100px) {
  .tile { --s: 130px !important; }
  .t2, .t7 { display: none; }
  .t4 { left: -30px; } .t5 { right: -30px; }
}
@media (max-width: 700px) {
  .hero { padding-top: 150px; min-height: 720px; }
  .tile { --s: 96px !important; opacity: .85; }
  .t1 { left: -14px; top: 90px; } .t3 { right: -14px; top: 100px; }
  .t4, .t5 { display: none; }
  .t6 { left: 4%; bottom: -24px; } .t8 { right: 4%; bottom: -10px; }
}

.hero-meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; z-index: 3;
  display: flex; justify-content: space-between; align-items: end; gap: 16px; color: var(--muted);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue b { width: 1px; height: 36px; background: linear-gradient(var(--ink), transparent); display: inline-block; animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) { .hero-meta { display: none; } }

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; position: relative;
  background: rgba(255,255,255,.015);
}
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -.01em; white-space: nowrap;
}
.ticker-track span:nth-child(even) { -webkit-text-stroke: 1px var(--ink-2); color: transparent; }
.ticker-track i { width: 14px; height: 14px; border-radius: 30%; background: var(--grad); transform: rotate(45deg); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin: 18px 0 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Intro statement (Afternow-style) */
.statement { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement .statement-text {
  margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 95; font-weight: 600;
  font-size: clamp(28px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.025em; color: var(--ink);
}
.statement .statement-text .dim { color: #5d586b; }
.chip-img {
  display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: 999px; overflow: hidden;
  margin: -0.1em 0.12em 0; position: relative; top: -0.06em; box-shadow: 0 0 0 1px var(--line-2);
}
.chip-img img { width: 100%; height: 100%; object-fit: cover; }
.statement-foot { margin-top: 44px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { grid-column: span 6; position: relative; display: flex; flex-direction: column; gap: 18px; }
.card.wide { grid-column: span 7; }
.card.narrow { grid-column: span 5; }
.card-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel);
  border: 1px solid var(--line);
}
.card.wide .card-media { aspect-ratio: 16 / 11; }
.card.narrow .card-media { aspect-ratio: 5 / 5.6; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.95); }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.15); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5,4,9,.85));
}
.card-tags { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(10,8,16,.6); border: 1px solid var(--line-2); color: var(--ink); backdrop-filter: blur(10px);
}
.card-stats { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.stat-pill {
  display: inline-flex; flex-direction: column; padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px);
}
.stat-pill b { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.stat-pill small { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-top: 4px; }
.card-body { display: grid; gap: 8px; padding: 0 4px; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.card .h3 { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.card .h3 .mono { color: var(--muted); font-size: 11px; white-space: nowrap; }
.work-grid .card:nth-child(even) { margin-top: clamp(0px, 7vw, 110px); }
@media (max-width: 860px) {
  .card, .card.wide, .card.narrow { grid-column: 1 / -1; margin-top: 0 !important; }
  .card.narrow .card-media, .card.wide .card-media { aspect-ratio: 4 / 3; }
}

/* ---------- 3D chrome lettering ---------- */
.chrome {
  font-family: var(--f-display); font-variation-settings: "wdth" 72; font-weight: 900; text-transform: uppercase;
  font-size: clamp(88px, 21vw, 330px); line-height: .8; letter-spacing: -0.03em; margin: 0;
  text-align: center; position: relative; user-select: none;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.0) 0 5px, rgba(0,0,0,.22) 5px 7px),
    linear-gradient(180deg, #ffffff 0%, #d9d4e6 22%, #6f6a80 46%, #f5f0ff 52%, #ff5cae 70%, #7b4dff 86%, #2f6bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter:
    drop-shadow(0 2px 0 #3a2a5c) drop-shadow(0 4px 0 #2a1e45) drop-shadow(0 6px 0 #1c1430)
    drop-shadow(0 22px 40px rgba(255, 46, 147, .35));
}
.results { overflow: hidden; }
.results .glow { left: 50%; top: 30%; transform: translate(-50%, -50%); width: 1100px; height: 700px; opacity: .55; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(50px, 7vw, 90px); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--frame); padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; align-content: start; }
.stat b { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: clamp(52px, 6vw, 92px); line-height: .9; letter-spacing: -.02em; }
.stat b em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.stat .mono { color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Pillars (services columns) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar {
  padding: 34px 26px 38px 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; position: relative;
  border-right: 1px solid var(--line); padding-left: 26px;
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar .num { font-family: var(--f-mono); color: var(--muted); font-size: 12px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border: 1px solid var(--line-2);
}
.pillar-icon svg { width: 26px; height: 26px; stroke: url(#g); }
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.pillar:first-child::before { left: 0; }
.pillar:hover::before { transform: scaleX(1); }
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 30px 20px 34px !important; border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; padding: 28px 0 !important; }
}

/* ---------- Manifesto / why ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.quote {
  margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,46,147,.5), transparent); filter: blur(20px);
}
.quote p {
  position: relative; margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 92; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.02em;
}
.quote footer { position: relative; margin-top: 22px; color: var(--muted); }
.points { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.point { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.point .pillar-icon { width: 48px; height: 48px; border-radius: 14px; }
.point p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* ---------- Method steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); counter-reset: s; }
.step {
  position: relative; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); min-height: 360px;
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  transition: transform .5s var(--ease), border-color .4s;
}
.step:hover { transform: translateY(-6px); border-color: var(--line-2); }
.step .big-num {
  font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 900; font-size: 150px; line-height: .75;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.22); color: transparent; letter-spacing: -.04em;
}
.step:nth-child(1) { background: radial-gradient(120% 90% at 100% 0%, rgba(255,138,61,.28), transparent 60%), var(--panel); }
.step:nth-child(2) { background: radial-gradient(120% 90% at 100% 0%, rgba(255,46,147,.28), transparent 60%), var(--panel); }
.step:nth-child(3) { background: radial-gradient(120% 90% at 100% 0%, rgba(47,107,255,.32), transparent 60%), var(--panel); }
.step p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step .big-num { font-size: 110px; } }

/* ---------- Logo wall ---------- */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; gap: clamp(50px, 7vw, 110px); width: max-content; animation: marquee 32s linear infinite; padding: 10px 0; }
.logos-track span { font-size: clamp(24px, 2.6vw, 36px); color: #a39db3; white-space: nowrap; opacity: .8; transition: opacity .3s, color .3s; }
.logos-track span:hover { opacity: 1; color: var(--ink); }
.lg-1 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; }
.lg-2 { font-family: var(--f-script); }
.lg-3 { font-family: var(--f-mono); font-weight: 600; letter-spacing: -.02em; }
.lg-4 { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 300; letter-spacing: .08em; text-transform: uppercase; }
.lg-5 { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.lg-6 { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Big CTA / footer ---------- */
.cta {
  position: relative; text-align: center; padding: clamp(110px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 130px);
  overflow: hidden; border-top: 1px solid var(--line);
}
.cta .glow { left: 50%; top: 55%; transform: translate(-50%, -50%); width: 1100px; height: 800px; }
.cta h2 { font-size: clamp(56px, 11vw, 170px); position: relative; }
.cta h2 .script { font-size: 1.05em; }
.cta p { margin: 28px auto 0; max-width: 46ch; color: var(--ink-2); font-size: 18px; position: relative; }
.cta .hero-actions { position: relative; }

.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { margin: 0 0 16px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); transition: color .25s; }
.footer ul a:hover { color: var(--ink); }
.footer .tagline { color: var(--muted); margin: 14px 0 0; max-width: 32ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted);
}
.wordmark {
  font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 17.5vw, 290px); line-height: .78; letter-spacing: -.04em; text-align: center;
  margin: 60px 0 -0.08em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: clamp(170px, 20vw, 250px) 0 clamp(70px, 9vw, 120px);
}
.page-hero .glow { right: -260px; top: -300px; width: 900px; height: 900px; opacity: .7; }
.page-hero h1 { font-size: clamp(64px, 13vw, 200px); margin-top: 22px; }
.page-hero .lead { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.vertical { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.vertical-intro { position: sticky; top: 120px; }
.vertical-intro .h2 { font-size: clamp(44px, 5.4vw, 80px); margin-top: 18px; }
.vertical-intro p { color: var(--ink-2); margin: 22px 0 0; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 54px 1fr 44px; align-items: center; gap: 12px;
  padding: 26px 0;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.acc summary .h3 { transition: color .3s; }
.acc summary:hover .h3 { color: #fff; }
.acc summary .sub { display: block; font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 6px; letter-spacing: 0; font-variation-settings: normal; }
.plus { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .3s, transform .45s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); translate: -50% -50%; }
.plus::after { rotate: 90deg; transition: rotate .45s var(--ease); }
.acc details[open] .plus { background: var(--ink); transform: rotate(180deg); }
.acc details[open] .plus::before, .acc details[open] .plus::after { background: var(--bg); }
.acc details[open] .plus::after { rotate: 0deg; }
.acc ul {
  list-style: none; margin: 0; padding: 0 0 30px 66px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.acc li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.acc li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg) translateY(-2px); background: var(--grad); }
@media (max-width: 980px) {
  .vertical { grid-template-columns: 1fr; }
  .vertical-intro { position: static; }
}
@media (max-width: 560px) {
  .acc summary { grid-template-columns: 36px 1fr 44px; }
  .acc ul { grid-template-columns: 1fr; padding-left: 48px; }
}

/* ---------- Work page filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
  transition: background .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.case-list { display: grid; gap: clamp(16px, 2vw, 28px); }
.case {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); transition: border-color .4s;
}
.case:hover { border-color: var(--line-2); }
.case[hidden] { display: none; }
.case .card-media { border-radius: 0; border: 0; aspect-ratio: auto; min-height: 380px; }
.case .card-media::after { background: linear-gradient(90deg, transparent 60%, rgba(20,17,29,.6)); }
.case:hover .card-media img { transform: scale(1.05); }
.case-body { padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.case-body .h2 { font-size: clamp(36px, 4.2vw, 64px); }
.case-body dl { margin: 0; display: grid; gap: 18px; }
.case-body dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.case-body dd { margin: 0; color: var(--ink-2); }
.case-metrics { display: flex; gap: 10px; flex-wrap: wrap; }
.case-metrics .stat-pill { background: rgba(255,255,255,.05); }
.case:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.case:nth-child(even) .card-media { order: 2; }
@media (max-width: 900px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .card-media { order: 0; }
  .case .card-media { min-height: 260px; aspect-ratio: 16/10; }
}

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.story-copy p { color: var(--ink-2); font-size: 18px; margin: 0 0 22px; }
.story-copy p:first-child { font-family: var(--f-display); font-variation-settings: "wdth" 92; font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -.02em; color: var(--ink); }
.story-visual { position: relative; }
.story-visual .main-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); }
.story-visual .main-img img { width: 100%; height: 100%; object-fit: cover; }
.founded {
  position: absolute; left: -28px; bottom: 36px; padding: 22px 24px; border-radius: 20px; max-width: 250px;
  background: rgba(16,13,24,.72); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
}
.founded b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: 56px; line-height: .9; }
.founded p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.story-visual .tile { position: absolute; right: -30px; top: -40px; --s: 130px; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .founded { left: 16px; }
  .story-visual .tile { right: 10px; top: -30px; --s: 90px; }
}
.beliefs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.belief {
  border-radius: var(--r-lg); padding: 30px 26px; background: var(--panel); border: 1px solid var(--line);
  display: grid; gap: 40px; align-content: space-between; min-height: 280px; transition: transform .5s var(--ease), background .4s;
}
.belief:hover { transform: translateY(-6px); background: var(--panel-2); }
.belief p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .beliefs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .beliefs { grid-template-columns: 1fr; } .belief { min-height: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.info-list { display: grid; border-top: 1px solid var(--line); }
.info-list a, .info-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info-list span:first-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list strong { font-family: var(--f-display); font-variation-settings: "wdth" 90; font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.01em; word-break: break-word; }
.info-list a:hover strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.expect { margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.expect ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: e; }
.expect li { counter-increment: e; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--ink-2); }
.expect li::before { content: "0" counter(e); font-family: var(--f-mono); font-size: 12px; color: var(--magenta); padding-top: 3px; }
.form-card {
  border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
}
.form-card::before {
  content: ""; position: absolute; left: -30%; top: -40%; width: 80%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123,77,255,.35), transparent); filter: blur(30px); pointer-events: none;
}
.form { position: relative; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,4,9,.55); color: var(--ink);
  padding: 16px 18px; font: 16px/1.4 var(--f-body); transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,77,255,.22); }
.field input::placeholder, .field textarea::placeholder { color: #5f5970; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; color: var(--ink-2); transition: all .25s;
}
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { min-height: 1.4em; margin: 0; font-size: 15px; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff7a8a; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Image band ---------- */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; border: 1px solid var(--line); }
.band img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,4,9,.75), transparent 55%); }
.band-cap { position: absolute; z-index: 2; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.band-cap .h3 { font-size: clamp(24px, 3vw, 44px); max-width: 18ch; }
@media (max-width: 700px) { .band { aspect-ratio: 4 / 3; } }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Client work: logo artwork, deliverable tags, gallery ---------- */
.card-media.contain { background: #f7f0e4; }
.card-media.contain img { object-fit: contain; padding: 6% 8% 16%; }
.card-media.contain::after { background: linear-gradient(180deg, transparent 60%, rgba(5,4,9,.7)); }
.card:hover .card-media.contain img { transform: scale(1.03); }
.case .card-media.contain img { padding: 8%; }
.case .card-media.contain::after { background: none; }
.card-stats .tag { background: rgba(10,8,16,.55); }
.case-metrics { gap: 8px; }
.case-metrics .tag { background: rgba(255,255,255,.05); backdrop-filter: none; }
.case-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.case-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 520px) { .case-gallery { grid-template-columns: repeat(3, 1fr); } .case-gallery img:nth-child(n+4) { display: none; } }

.clients { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; }
.client { font-size: clamp(40px, 7vw, 96px); line-height: 1; color: #b3adc2; transition: color .3s; }
.client:hover { color: var(--ink); }
.client.lg-1 { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; }
.client.lg-2 { font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: -.01em; }
.client-sep { width: 16px; height: 16px; border-radius: 30%; transform: rotate(45deg); background: var(--grad); flex: none; }

/* ---------- Photo triptych (real shoot stills, portrait) ---------- */
.triptych { margin: 0; display: grid; gap: 22px; }
.triptych-imgs { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(10px, 1.6vw, 22px); align-items: center; }
.triptych-imgs img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line);
  transition: transform .8s var(--ease);
}
.triptych-imgs img:nth-child(2) { aspect-ratio: 3 / 4; }
.triptych-imgs img:hover { transform: translateY(-6px); }
.triptych-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.triptych-cap .h3 { margin: 0; font-size: clamp(22px, 2.6vw, 38px); max-width: 22ch; }
.triptych-cap .mono { color: var(--muted); }
@media (max-width: 560px) {
  .triptych-imgs { grid-template-columns: 1fr 1fr; }
  .triptych-imgs img:nth-child(3) { display: none; }
  .triptych-imgs img, .triptych-imgs img:nth-child(2) { aspect-ratio: 3 / 4; }
}

/* ---------- Graphic tiles (no photography) ---------- */
.shape.gfx { position: relative; display: grid; place-items: center; }
.shape.gfx::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.45), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 6px, rgba(0,0,0,.12) 6px 8px);
  mix-blend-mode: soft-light;
}
.shape.g1 { background: linear-gradient(145deg, #ffb070, var(--amber) 30%, var(--magenta) 100%); }
.shape.g2 { background: linear-gradient(145deg, #a98bff, var(--violet) 40%, var(--blue) 100%); }
.shape.g3 { background: linear-gradient(145deg, #ff7fc0, var(--magenta) 35%, var(--violet) 100%); }
.shape.g4 { background: linear-gradient(145deg, #2a2438, #14111d); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.8); }
.tile-in {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center;
  color: #fff; padding: 12%;
}
.tile:not(.square) .tile-in { transform: rotate(-45deg); }
.tile-in svg { width: clamp(26px, 32%, 54px); height: auto; stroke: #fff; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.tile-in span {
  font-family: var(--f-mono); font-size: clamp(9px, .8vw, 12px); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.shape.g4 .tile-in svg { stroke: url(#g); }
@media (max-width: 700px) { .tile-in span { display: none; } }

/* single project on home */
.card.full { grid-column: 1 / -1; }
.card.full .card-media { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { .card.full .card-media { aspect-ratio: 4 / 3; } }

/* about: typographic panel in place of a photo */
.story-panel {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .1em; padding: 10%;
  background:
    radial-gradient(70% 55% at 80% 15%, rgba(255,46,147,.45), transparent 65%),
    radial-gradient(70% 55% at 15% 90%, rgba(47,107,255,.45), transparent 65%),
    var(--panel);
  font-family: var(--f-display); font-variation-settings: "wdth" 72; font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 64px); line-height: .9; letter-spacing: -.02em;
}
.story-panel .x { font-family: var(--f-script); text-transform: none; font-size: .9em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
