/* ============================================================
   SOCIAL STUDIOS PK — Editorial Reimagination
   A luxury, magazine-grade experience. Warm ink + ivory,
   one burnt-sienna accent, Fraunces display, mono metadata.
   Content unchanged — entirely new vessel.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #0c0b09;
  --ink-2:      #100e0b;
  --char:       #16130f;
  --surface:    #16130f;
  --surface-2:  #1e1913;
  --line:       rgba(233,225,210,0.13);
  --line-soft:  rgba(233,225,210,0.07);

  --paper:      #e9e1d2;
  --paper-2:    #ded4c2;
  --on-paper:   #14110c;
  --paper-muted:#6c6354;

  --text:       #efe7d7;
  --muted:      #978e7d;
  --muted-2:    #6a6152;

  --accent:     #cb5a33;
  --accent-2:   #de7044;
  --accent-ink: #0c0b09;
  --accent-soft:rgba(203,90,51,0.12);
  --accent-glow:rgba(203,90,51,0.32);

  --r-sm: 2px;
  --r:    4px;
  --r-lg: 8px;
  --r-xl: 14px;
  --r-pill: 100px;

  --container: 1440px;
  --pad: clamp(1.25rem, 4.2vw, 3.75rem);
  --bay: clamp(5.5rem, 13vw, 12rem);

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:  cubic-bezier(0.76, 0, 0.24, 1);

  --shadow:      0 50px 110px -50px rgba(0,0,0,0.75);
  --shadow-glow: 0 30px 80px -30px var(--accent-glow);

  --ff-display: 'Space Grotesk', 'DM Sans', sans-serif;
  --ff-sans:    'Space Grotesk', 'DM Sans', sans-serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-serif:   'Fraunces', Georgia, serif;
  --ff-mono:    'Space Mono', 'DM Mono', monospace;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--accent-ink); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2c271f; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Film grain */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9000;
  pointer-events: none; mix-blend-mode: overlay; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; }

/* ---------- Shared type helpers ---------- */
.serif { font-family: var(--ff-serif); font-weight: 400; }
.accent { color: var(--accent); }
.display { font-family: var(--ff-display); font-weight: 700; line-height: 0.94; letter-spacing: -0.025em; }
.serif-em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1; letter-spacing: -0.025em; }

.mono-label {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--ff-mono); font-weight: 400;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.mono-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.section--paper .mono-label { color: var(--paper-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section--paper { background: var(--paper); color: var(--on-paper); }

.chapter-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-bottom: 1.4rem; margin-bottom: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.section--paper .chapter-head { border-color: rgba(20,17,12,0.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--ff-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 1.1rem 1.9rem; border-radius: var(--r-sm);
  position: relative; overflow: hidden; white-space: nowrap; will-change: transform;
  transition: transform 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s, box-shadow 0.5s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn i { font-size: 0.85em; transition: transform 0.45s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: 0; transform: translateY(102%); transition: transform 0.5s var(--ease); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 40px -18px var(--accent-glow); }
.btn--primary::before { background: var(--text); }
.btn--primary:hover { color: var(--accent-ink); box-shadow: 0 22px 60px -18px var(--accent-glow); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover i { transform: translateX(5px); }
.btn--ghost, .btn--line { border: 1px solid var(--line); color: var(--text); }
.btn--ghost::before, .btn--line::before { background: var(--text); }
.btn--ghost:hover, .btn--line:hover { color: var(--accent-ink); border-color: var(--text); }
.btn--ghost:hover::before, .btn--line:hover::before { transform: translateY(0); }
.btn--ghost:hover i, .btn--line:hover i { transform: translateX(5px); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--sm { padding: 0.78rem 1.35rem; font-size: 0.72rem; }
.section--paper .btn--ghost, .section--paper .btn--line { border-color: rgba(20,17,12,0.2); color: var(--on-paper); }
.section--paper .btn--ghost::before, .section--paper .btn--line::before { background: var(--on-paper); }
.section--paper .btn--ghost:hover, .section--paper .btn--line:hover { color: var(--paper); }

.link-live { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; padding: 0.5rem 0.2rem; }
.link-live:hover { color: var(--accent); }
.link-live i { font-size: 0.78em; }

/* ---------- Chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.42rem 0.85rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--muted);
}
.chip--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9500; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring { width: 40px; height: 40px; border: 1px solid rgba(203,90,51,0.55); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s, opacity 0.3s; }
body.cursor-hover .cursor-ring { width: 74px; height: 74px; background: rgba(203,90,51,0.08); border-color: var(--accent); }
body.cursor-hover .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 9800; background: var(--ink);
  display: grid; place-items: center; gap: 1.4rem;
  animation: loaderSafety 0.4s 2.6s var(--ease) forwards;
}
html.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.7s var(--ease), visibility 0.7s; }
@keyframes loaderSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader__mark { font-family: var(--ff-serif); font-style: italic; font-size: clamp(4rem, 14vw, 9rem); color: var(--accent); line-height: 1; }
.loader__count { font-family: var(--ff-mono); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--muted); }
html.no-js .loader, body.no-loader .loader { display: none; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 130;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s, border-color 0.5s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(12,11,9,0.72); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); border-bottom-color: var(--line-soft); }
.nav.hide { transform: translateY(-100%); }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1rem; }
.nav__logo { display: flex; align-items: center; gap: 0.7rem; }
.nav__link { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.nav__link:hover { color: var(--text); }
.logo-mark { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--ff-serif); font-style: italic; font-weight: 500; font-size: 1.2rem; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.nav__logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); box-shadow: 0 12px 30px -10px var(--accent-glow); }
.logo-word { font-family: var(--ff-display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; }
.logo-word .accent { font-weight: 700; }
.nav__meta { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.nav__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.nav__cta { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); position: relative; transition: color 0.3s; }
.nav__cta::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--accent); transition: width 0.35s var(--ease); }
.nav__cta:hover { color: var(--text); }
.nav__cta:hover::after { width: 100%; }

.nav-toggle { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.95rem; border: 1px solid var(--line); border-radius: var(--r-pill); transition: border-color 0.35s, background 0.35s; }
.nav-toggle:hover { border-color: var(--text); }
.nav-toggle__txt { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.nav-toggle__ico { position: relative; width: 16px; height: 10px; }
.nav-toggle__ico span { position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), top 0.3s; }
.nav-toggle__ico span:nth-child(1) { top: 2px; }
.nav-toggle__ico span:nth-child(2) { top: 7px; }
.nav-toggle.open .nav-toggle__ico span:nth-child(1) { top: 4px; transform: rotate(45deg); }
.nav-toggle.open .nav-toggle__ico span:nth-child(2) { top: 4px; transform: rotate(-45deg); }

/* legacy desktop links hidden in favour of full index menu */
.nav__links { display: none !important; }

/* ============================================================
   FULL-SCREEN INDEX MENU  (.menu = home, .mobile-menu = sub-pages)
   ============================================================ */
.menu, .mobile-menu {
  position: fixed; inset: 0; z-index: 125; background: var(--ink-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
  display: flex; align-items: center;
}
.menu::before, .mobile-menu::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 12%, var(--accent-soft), transparent 55%); }
.menu.open, .mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu__inner { width: 100%; display: grid; gap: clamp(2.5rem, 6vw, 5rem); padding-top: 90px; padding-bottom: 3rem; }
@media (min-width: 900px) { .menu__inner { grid-template-columns: 1.5fr 1fr; align-items: end; } }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 1.2rem; padding: 0.35rem 0; font-family: var(--ff-serif); font-weight: 400; font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--text); opacity: 0; transform: translateY(30px); transition: color 0.35s; }
.menu.open .menu__links a, .mobile-menu.open .menu__links a, .mobile-menu.open a { animation: menuIn 0.7s var(--ease) forwards; }
.menu__links a:nth-child(1){animation-delay:.08s}.menu__links a:nth-child(2){animation-delay:.14s}.menu__links a:nth-child(3){animation-delay:.2s}.menu__links a:nth-child(4){animation-delay:.26s}.menu__links a:nth-child(5){animation-delay:.32s}.menu__links a:nth-child(6){animation-delay:.38s}
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.menu__links a:hover { color: var(--accent); }
.menu__links a:hover .menu__lbl { transform: translateX(14px); }
.menu__no { font-family: var(--ff-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted-2); }
.menu__lbl { transition: transform 0.4s var(--ease); }
.menu__aside { display: grid; gap: 2rem; align-content: end; }
.menu__block { display: flex; flex-direction: column; gap: 0.5rem; }
.menu__block .mono-label { margin-bottom: 0.3rem; }
.menu__email, .menu__phone { font-size: 1.05rem; color: var(--text); transition: color 0.3s; }
.menu__email:hover, .menu__phone:hover { color: var(--accent); }
.menu__social { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.menu__social a { font-family: var(--ff-mono); font-size: 0.85rem; color: var(--muted); transition: color 0.3s; }
.menu__social a:hover { color: var(--accent); }
.menu__block p { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }

/* sub-page legacy menu content inherits big serif links */
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a { font-family: var(--ff-serif); font-weight: 400; font-size: clamp(2.4rem, 8vw, 4.5rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--text); opacity: 0; transform: translateY(26px); }
.mobile-menu__links a:hover { color: var(--accent); }
.mobile-menu__foot { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.mobile-menu__social { display: flex; gap: 1.4rem; }
.mobile-menu__social a { color: var(--muted); font-size: 1.15rem; transition: color 0.3s; }
.mobile-menu__social a:hover { color: var(--accent); }
.mobile-menu .menu__inner, .mobile-menu .container { align-self: center; }

@media (max-width: 620px) {
  .nav__cta { display: none; }
  .nav__meta { display: none; }
}

/* ============================================================
   00 · COVER
   ============================================================ */
.cover { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 88px; padding-bottom: clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.cover__ghost { position: absolute; right: -3%; top: 4%; z-index: 0; pointer-events: none; font-style: italic; font-weight: 300; font-size: clamp(11rem, 33vw, 30rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(233,225,210,0.055); will-change: transform; user-select: none; }
.cover__inner { position: relative; z-index: 2; width: 100%; }
.cover__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.cover__title { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; line-height: 0.85; letter-spacing: -0.045em; font-size: clamp(3rem, 11vw, 10.5rem); }
.cover__title .l { display: block; overflow: hidden; padding-bottom: 0.06em; }
.cover__title .l > span { display: inline-block; }
.cover__title .serif { text-transform: none; font-style: italic; font-weight: 300; letter-spacing: -0.02em; }
.cover__title .l--indent { padding-left: clamp(0px, 8vw, 11rem); }
.cover__title .l--right { padding-left: clamp(0px, 20vw, 26rem); }
.cover__foot { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; margin-top: clamp(1.8rem, 3.5vw, 2.8rem); }
@media (min-width: 960px) { .cover__foot { grid-template-columns: 1fr auto; } }
.cover__lede p { font-size: clamp(1.02rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 52ch; line-height: 1.6; }
.cover__lede strong { color: var(--text); font-weight: 500; }
.cover__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.cover__stats { display: flex; gap: clamp(1.6rem, 3vw, 2.8rem); flex-wrap: wrap; }
.cover__stats li { display: flex; flex-direction: column; gap: 0.3rem; padding-left: 1.1rem; border-left: 1px solid var(--line); }
.cover__stat-n { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; line-height: 1; }
.cover__stat-l { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cover__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 0.7rem; font-family: var(--ff-mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.cover__scroll i { animation: bobDown 1.8s var(--ease) infinite; }
@keyframes bobDown { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(5px); opacity: 1; } }
@media (max-width: 620px) { .cover__scroll { display: none; } }

/* ============================================================
   KINETIC TICKER
   ============================================================ */
.marquee { overflow: hidden; white-space: nowrap; display: flex; user-select: none; }
.marquee__track { display: flex; align-items: center; flex-shrink: 0; min-width: 100%; gap: 3rem; padding-right: 3rem; will-change: transform; animation: marquee var(--mq-speed, 36s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.ticker { border-block: 1px solid var(--line); padding-block: 1.5rem; background: var(--ink-2); overflow: hidden; }
.ticker__item { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.7rem); letter-spacing: -0.02em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 3rem; }
.ticker__item i { color: var(--accent); font-size: 0.4em; }
.ticker__item:nth-child(even) { -webkit-text-stroke: 1px var(--muted-2); color: transparent; }

/* ============================================================
   01 · STUDIO / STORY
   ============================================================ */
.studio { padding-block: var(--bay); }
.studio__manifesto { position: relative; font-family: var(--ff-serif); font-weight: 300; font-size: clamp(2.1rem, 6.5vw, 5.5rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; margin-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.studio__qmark { position: absolute; left: -0.1em; top: -0.55em; font-size: 1.8em; color: var(--accent); opacity: 0.5; }
.studio__manifesto em { font-style: italic; }
.studio__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .studio__grid { grid-template-columns: 3fr 8fr; } .studio__lead { position: sticky; top: 100px; } }
.studio__body > p { font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.75; color: var(--on-paper); max-width: 60ch; }
.studio__body > p + p { margin-top: 1.5rem; }
.studio__notes { display: grid; gap: 1.6rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 620px) { .studio__notes { grid-template-columns: 1fr 1fr; } }
.note { padding-top: 1.3rem; border-top: 1px solid rgba(20,17,12,0.18); }
.note .mono-label { color: var(--accent); margin-bottom: 0.7rem; }
.note p { color: var(--paper-muted); font-size: 0.96rem; line-height: 1.65; }

.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; margin-top: var(--bay); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(20,17,12,0.18); }
@media (min-width: 760px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric__n { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.04em; color: var(--on-paper); }
.metric__n .suffix { color: var(--accent); }
.metric__l { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-muted); margin-top: 0.7rem; }

.credits { margin-top: var(--bay); }
.credits > .mono-label { color: var(--accent); margin-bottom: 1.5rem; }
.credits__list { display: grid; gap: 0; border-top: 1px solid rgba(20,17,12,0.18); }
.credit { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(20,17,12,0.14); transition: padding 0.4s var(--ease); }
.credit:hover { padding-left: 0.8rem; }
.credit__role { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--on-paper); letter-spacing: -0.01em; }
.credit__spec { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-muted); }
.credits__loc { font-style: italic; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--on-paper); margin-top: 2rem; }

/* ============================================================
   INTERLUDE (testimonials woven in)
   ============================================================ */
.interlude { padding-block: var(--bay); position: relative; }
.interlude::before { content: '“'; position: absolute; top: clamp(1rem,5vw,3rem); left: 50%; transform: translateX(-50%); font-family: var(--ff-serif); font-style: italic; font-size: clamp(8rem, 22vw, 20rem); line-height: 1; color: var(--accent); opacity: 0.08; pointer-events: none; }
.interlude__quote { position: relative; font-family: var(--ff-serif); font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 4.6vw, 3.6rem); line-height: 1.28; letter-spacing: -0.015em; text-align: center; max-width: 22ch; margin: 0 auto; }
.interlude__quote .accent { font-style: italic; }
.interlude__by { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; margin-top: 2.4rem; }
.interlude__name { font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; }
.interlude__role { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   02 · SERVICES (interactive index)
   ============================================================ */
.svcs { padding-block: var(--bay); position: relative; }
.svcs__title { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 0.96; letter-spacing: -0.03em; max-width: 16ch; margin-top: clamp(1.5rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.svcs__title em { font-style: italic; font-weight: 300; }

.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); position: relative; }
.svc__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); width: 100%; text-align: left; padding: clamp(1.4rem, 3vw, 2.4rem) 0; }
.svc__no { font-family: var(--ff-mono); font-size: 0.82rem; letter-spacing: 0.08em; color: var(--muted-2); transition: color 0.4s; }
.svc__name { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.6rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -0.025em; color: var(--text); transition: transform 0.5s var(--ease), color 0.4s; }
.svc__plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.svc__plus::before, .svc__plus::after { content: ''; position: absolute; background: var(--muted); transition: transform 0.45s var(--ease), background 0.4s; }
.svc__plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.svc__plus::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.svc__panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.5s; }
.svc__panel-in { display: grid; gap: 1.4rem; padding-bottom: clamp(1.8rem, 3vw, 2.6rem); }
@media (min-width: 760px) { .svc__bar { grid-template-columns: 5rem 1fr auto; } .svc__panel-in { grid-template-columns: 1fr; padding-left: 5rem; max-width: 60ch; } }
.svc__desc { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc__tags li { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 0.4rem 0.8rem; border-radius: var(--r-pill); }
.svc__cta { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--ff-display); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); width: fit-content; }
.svc__cta i { transition: transform 0.4s var(--ease); }
.svc__cta:hover i { transform: translateX(6px); }
.svc__thumb { display: none; }
/* expanded state (hover desktop / open touch) */
.svc.is-open .svc__panel, .svc.is-open ~ .svc .svc__panel { }
.svc.is-open .svc__panel { max-height: 460px; opacity: 1; }
.svc.is-open .svc__no { color: var(--accent); }
.svc.is-open .svc__name { color: var(--accent); }
.svc.is-open .svc__plus::after { transform: translateX(-50%) rotate(90deg); }
.svc.is-open .svc__plus::before, .svc.is-open .svc__plus::after { background: var(--accent); }
@media (hover: hover) and (min-width: 760px) {
  .svc:hover .svc__name { transform: translateX(18px); color: var(--accent); }
  .svc:hover .svc__no { color: var(--accent); }
}

/* Floating hover preview */
.svc-preview { position: fixed; top: 0; left: 0; width: 300px; height: 210px; z-index: 60; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.92); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.svc-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) saturate(1.05); }
@media (hover: none), (pointer: coarse), (max-width: 759px) { .svc-preview { display: none; } }

/* ============================================================
   03 · WORK — immersive spreads
   ============================================================ */
.work { padding-block: var(--bay); }
.spread { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 940px) { .spread { grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 5vw, 5rem); } .spread--reverse .spread__media { order: 2; } }
.spread__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 5/4; background: var(--char); }
.spread__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.45) saturate(0.9) brightness(0.78); transition: transform 1.1s var(--ease), filter 0.8s; will-change: transform; }
.spread:hover .spread__media img { transform: scale(1.05); filter: grayscale(0) saturate(1.02) brightness(0.92); }
.spread__index { position: absolute; left: clamp(1rem,2vw,1.6rem); bottom: clamp(0.4rem,1vw,0.8rem); font-style: italic; font-weight: 300; font-size: clamp(4rem, 9vw, 8rem); color: var(--text); line-height: 1; mix-blend-mode: difference; }
.spread__meta { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.spread__client { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.96; letter-spacing: -0.03em; margin-bottom: 1.3rem; }
.spread__text { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 50ch; margin-bottom: 2rem; }
.spread__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.spread__stats .n { display: block; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.spread__stats .l { display: block; font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.45rem; }
.spread__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }

.trusted { margin-block: var(--bay); border-block: 1px solid var(--line); padding-block: clamp(2rem, 4vw, 3rem); }
.trusted .mono-label { display: flex; justify-content: center; margin-bottom: 1.8rem; }
.logo-item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; color: var(--muted-2); opacity: 0.55; transition: opacity 0.4s, color 0.4s; padding-inline: 2rem; }
.logo-item i { font-size: 1.3rem; color: var(--muted-2); transition: color 0.4s; }
.logo-item:hover { opacity: 1; color: var(--text); }
.logo-item:hover i { color: var(--accent); }

.invite { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); position: relative; overflow: hidden; }
.invite::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, var(--accent-soft), transparent 55%); pointer-events: none; }
@media (min-width: 820px) { .invite { grid-template-columns: 1fr auto; } }
.invite__icon { width: 54px; height: 54px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.25rem; margin-bottom: 1.2rem; }
.invite__title { font-style: italic; font-weight: 300; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 0.9rem; }
.invite__txt p { color: var(--muted); max-width: 48ch; line-height: 1.65; }

/* ============================================================
   04 · PROCESS
   ============================================================ */
.proc { padding-block: var(--bay); }
.proc__list { border-top: 1px solid rgba(20,17,12,0.18); }
.proc__row { display: grid; gap: 0.6rem 2rem; align-items: start; padding: clamp(1.8rem, 4vw, 3rem) 0; border-bottom: 1px solid rgba(20,17,12,0.16); transition: background 0.4s; }
@media (min-width: 860px) { .proc__row { grid-template-columns: clamp(5rem,10vw,9rem) 1fr 1.2fr; align-items: center; } }
.proc__no { font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--accent); line-height: 1; }
.proc__c .mono-label { color: var(--paper-muted); margin-bottom: 0.5rem; }
.proc__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--on-paper); }
.proc__desc { color: var(--paper-muted); font-size: 1rem; line-height: 1.65; max-width: 46ch; }

/* ============================================================
   05 · CONTACT
   ============================================================ */
.contact { padding-block: var(--bay); }
.contact__title { font-family: var(--ff-display); font-weight: 700; text-transform: none; font-size: clamp(3rem, 11vw, 9rem); line-height: 0.9; letter-spacing: -0.04em; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.contact__title em { font-style: italic; font-weight: 300; text-transform: none; }
.contact__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 940px) { .contact__grid { grid-template-columns: 4fr 6fr; } }
.contact__lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; max-width: 38ch; }
.contact__info { display: grid; gap: 1.5rem; margin-top: 2.6rem; }
.contact__row { display: flex; flex-direction: column; gap: 0.4rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.contact__row a, .contact__row span:not(.mono-label) { font-size: 1.1rem; color: var(--text); transition: color 0.3s; }
.contact__row a:hover { color: var(--accent); }
.contact__socials { display: flex; gap: 0.8rem; margin-top: 2.2rem; }
.contact__socials a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all 0.4s var(--ease); }
.contact__socials a:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* Editorial underline form */
.cform { display: grid; gap: 2.1rem; }
.cform__row { display: grid; gap: 2.1rem; }
@media (min-width: 560px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.ifield { position: relative; display: flex; flex-direction: column; gap: 0.6rem; }
.ifield label { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ifield input, .ifield select, .ifield textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 0.7rem 0; font-size: 1.05rem; color: var(--text);
  transition: border-color 0.35s;
}
.ifield input::placeholder, .ifield textarea::placeholder { color: var(--muted-2); }
.ifield input:focus, .ifield select:focus, .ifield textarea:focus { outline: none; border-bottom-color: var(--accent); }
.ifield textarea { resize: vertical; min-height: 90px; }
.ifield select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23978e7d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.2rem center; background-size: 18px; padding-right: 2rem; }
.ifield select option { background: var(--surface-2); color: var(--text); }
.cform__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 0.4rem; }
.cform__note { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--muted-2); }
.form-success { display: none; align-items: center; gap: 0.7rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid rgba(203,90,51,0.4); color: var(--accent); font-size: 0.9rem; }
.form-success.show { display: flex; }
.form-success i { font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: var(--bay); }
.footer__cta { padding-bottom: var(--bay); border-bottom: 1px solid var(--line); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.footer__big { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.4rem, 8vw, 6.5rem); line-height: 0.94; letter-spacing: -0.03em; max-width: 18ch; margin: 1.4rem 0 2.2rem; }
.footer__big em { font-style: italic; font-weight: 300; }
.footer__grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer__brand p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin: 1.2rem 0 1.6rem; max-width: 36ch; }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all 0.4s var(--ease); }
.footer__social a:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__col h5 { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.3rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.78rem; }
.footer__col a, .footer__col li { color: var(--muted); font-size: 0.9rem; transition: color 0.3s, padding 0.3s; }
.footer__col a:hover { color: var(--accent); padding-left: 5px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.footer__bottom p, .footer__bottom a { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted-2); }
.footer__bottom a:hover { color: var(--text); }
.footer__legal { display: flex; gap: 1.5rem; }

/* ============================================================
   REVEAL SYSTEM
   ============================================================ */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js [data-reveal="left"] { transform: translateX(-46px); }
html.js [data-reveal="right"] { transform: translateX(46px); }
html.js [data-reveal="scale"] { transform: scale(0.94); }
html.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .loader { display: none !important; }
  .cover__ghost, .interlude::before { opacity: 0.05 !important; }
}

/* ============================================================
   LEGACY COMPONENTS — portfolio + preview sub-pages
   ============================================================ */
.section { padding-block: var(--bay); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__title { font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 0.92; margin-top: 1.2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--ff-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: var(--accent); }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); line-height: 1.7; }
.flex-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.max-46 { max-width: 46ch; } .max-52 { max-width: 52ch; }

.case__meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }

.counter__num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; }
.counter__num .suffix { color: var(--accent); }
.counter__label { font-family: var(--ff-mono); color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.7rem; }

.breadcrumb { display: flex; align-items: center; gap: 0.6rem; font-family: var(--ff-mono); font-size: 0.74rem; color: var(--muted); margin-bottom: 1.7rem; }
.breadcrumb a { color: var(--muted); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.55rem; color: var(--muted-2); }

.proj-hero { position: relative; padding-top: calc(78px + clamp(2.8rem, 6vw, 5.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.proj-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.orb--1 { width: 560px; height: 560px; background: radial-gradient(circle, var(--accent) 0%, transparent 68%); top: -16%; right: -10%; opacity: 0.12; }
.orb--2 { width: 440px; height: 440px; background: radial-gradient(circle, #b6552f 0%, transparent 70%); bottom: -20%; left: -12%; opacity: 0.09; }
.proj-hero__inner { position: relative; z-index: 1; }
.proj-hero h1 { font-size: clamp(2.8rem, 8.5vw, 6.5rem); line-height: 0.9; margin: 0.7rem 0 1.3rem; }
.proj-hero__tag { font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--muted); line-height: 1.55; max-width: 60ch; margin-bottom: 2.1rem; }
.proj-hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.proj-visual { margin-top: clamp(2.2rem, 5vw, 3.8rem); }

.browser { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 0.45rem; flex-shrink: 0; }
.browser__dots span { width: 11px; height: 11px; border-radius: 50%; background: #3a342b; }
.browser__url { flex: 1; text-align: center; font-family: var(--ff-mono); font-size: 0.74rem; color: var(--muted); background: var(--ink); border-radius: var(--r-pill); padding: 0.45rem 1rem; max-width: 420px; margin-inline: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__url i { color: var(--accent); margin-right: 0.4rem; font-size: 0.85em; }
.browser__frame { position: relative; aspect-ratio: 16/10; background: var(--ink); }
.browser__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.browser--tall .browser__frame { aspect-ratio: auto; height: clamp(420px, 70vh, 760px); }
.frame-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.2rem; padding: 2rem; background: radial-gradient(circle at 30% 20%, var(--accent-soft), transparent 60%), var(--ink); }
.frame-fallback__icon { width: 72px; height: 72px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.7rem; }
.frame-fallback h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.frame-fallback p { color: var(--muted); max-width: 44ch; line-height: 1.6; font-size: 0.92rem; }
.frame-fallback .note { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--muted-2); }

.proj-body { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .proj-body { grid-template-columns: 320px 1fr; align-items: start; } }
.proj-meta { display: flex; flex-direction: column; gap: 1.4rem; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 900px) { .proj-meta { position: sticky; top: 104px; } }
.proj-meta__row .k { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.35rem; }
.proj-meta__row .v { font-size: 0.95rem; color: var(--text); }
.proj-meta__row .v a { color: var(--accent); word-break: break-word; }
.proj-content > * + * { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.proj-content h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1.1rem; }
.proj-content p { color: var(--muted); line-height: 1.82; }
.proj-content p + p { margin-top: 1rem; }
.obj-list { display: grid; gap: 1.05rem; margin-top: 1.3rem; }
.obj-list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--muted); line-height: 1.6; }
.obj-list i { color: var(--accent); margin-top: 0.28rem; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.3rem; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; background: var(--surface); transition: border-color 0.45s, transform 0.45s var(--ease); }
.feature-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.feature-card i { color: var(--accent); font-size: 1.3rem; margin-bottom: 0.85rem; }
.feature-card h4 { font-size: 1.06rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.tech-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.tech-list li { font-family: var(--ff-mono); font-size: 0.78rem; color: var(--text); border: 1px solid var(--line); background: var(--surface); padding: 0.55rem 1rem; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 0.5rem; }
.tech-list i { color: var(--accent); }
.proj-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
@media (min-width: 760px) { .proj-results { grid-template-columns: repeat(4, 1fr); } }
.cta-band { text-align: center; background: var(--ink-2); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(2.2rem, 6.5vw, 4.4rem); line-height: 0.94; margin-bottom: 1.8rem; }

.preview-page { padding-top: 78px; }
.preview-head { padding: clamp(1.7rem, 4vw, 2.8rem) 0; border-bottom: 1px solid var(--line); }
.preview-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.preview-head h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.preview-head .sub { font-family: var(--ff-mono); color: var(--muted); font-size: 0.82rem; margin-top: 0.5rem; }
.preview-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.preview-stage { padding: clamp(1.6rem, 4vw, 2.6rem) 0 clamp(3rem, 6vw, 5rem); }

/* sub-page nav uses the new toggle on all breakpoints */
.nav-toggle { cursor: pointer; }
