/* ============================================================================
   site.css — shared styles for index.html, editorial.html, creative.html
   Fonts load from Google Fonts in each page <head>.
   ----------------------------------------------------------------------------
   THEME: dark by default (matches the case study pages).
   To flip the whole site to light, replace the :root block below with the
   LIGHT block in the comment right after it. Nothing else needs to change.
   ========================================================================== */

:root {
  --bg: #111111;
  --bg-rgb: 17, 17, 17;
  --surface: #181818;
  --surface-2: #202020;
  --text: #FFFFFF;
  --text-dim: #B4B4B4;
  --text-faint: #8C8C8C;
  --line: #2A2A2A;
  --accent: #c4a472;
  --accent-rgb: 196, 164, 114;
  --on-accent: #111111;

  --display: 'Barlow Condensed', 'Trade Gothic', sans-serif;
  --literary: 'Spectral', Georgia, serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max: 1160px;
  --pad: clamp(24px, 5vw, 80px);
}

/* LIGHT (swap in for the :root block above)
:root {
  --bg: #FFFFFF;
  --bg-rgb: 255, 255, 255;
  --surface: #F4F4F4;
  --surface-2: #EAEAEA;
  --text: #111111;
  --text-dim: #555555;
  --text-faint: #777777;
  --line: #E0E0E0;
  --accent: #8a6a38;
  --accent-rgb: 138, 106, 56;
  --on-accent: #FFFFFF;
  ...keep the font/size tokens as they are
}
*/

/* ─── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }
section[id], header[id] { scroll-margin-top: 72px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 20px max(var(--pad), calc((100% - var(--max)) / 2));
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: rgba(var(--bg-rgb), .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--accent-rgb), .08);
}
.nav-name {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text); white-space: nowrap;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }

/* ─── Buttons & chips ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--accent); transition: opacity .2s, background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-accent); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 18px; border: 1px solid var(--line);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Hero (home) ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px var(--pad) 90px;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 85% 12%, rgba(var(--accent-rgb), .15) 0%, transparent 70%),
    radial-gradient(ellipse 45% 60% at 4% 96%, rgba(var(--accent-rgb), .07) 0%, transparent 60%);
}
.hero-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.hero-content { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(60px, 12.5vw, 190px); line-height: .9; letter-spacing: -.015em;
  color: var(--text); margin-bottom: 36px; text-wrap: balance;
}
.hero-title .dot { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 1.9vw, 21px); color: var(--text); max-width: 34em;
  line-height: 1.55; margin-bottom: 20px;
}
.hero-now {
  font-size: 12px; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 40px;
}
.hero-now span {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-right: 12px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

/* ─── Proof strip ────────────────────────────────────────────────────────── */
.proof-strip { border-bottom: 1px solid var(--line); padding: 64px var(--pad); }
.proof-strip-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
}
.stat { border-left: 1px solid var(--line); padding-left: 24px; }
.stat-figure {
  font-family: var(--display); font-weight: 600; color: var(--text);
  font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; margin-bottom: 8px;
}
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.stat-sub { font-size: 13px; color: var(--text-faint); line-height: 1.5; }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 100px var(--pad); }
.section-alt { background: var(--surface); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-heading {
  font-family: var(--display); font-weight: 600; color: var(--text);
  font-size: clamp(32px, 4.5vw, 54px); line-height: 1.12; letter-spacing: -.01em;
  margin-bottom: 20px;
}
.section-lede { font-size: 16px; color: var(--text-dim); max-width: 38em; margin-bottom: 56px; }
.section-heading + .work-grid, .section-heading + .services-grid { margin-top: 36px; }

/* ─── Focus panels (home) ────────────────────────────────────────────────── */
.angles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.angle {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 340px; padding: 40px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .3s ease, background .25s;
}
.angle:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-2); }
.angle-num {
  position: absolute; right: 28px; top: 8px;
  font-family: var(--display); font-weight: 700; font-size: 132px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .24); transition: -webkit-text-stroke-color .25s;
}
.angle:hover .angle-num { -webkit-text-stroke-color: var(--accent); }
.angle-title {
  font-family: var(--display); font-weight: 600; color: var(--text);
  font-size: clamp(34px, 4vw, 48px); line-height: 1.05; margin-bottom: 14px; margin-top: auto; padding-top: 80px;
}
.angle-line {
  font-family: var(--literary); font-style: italic; font-size: 18px;
  color: var(--text-dim); line-height: 1.5; margin-bottom: 10px;
}
.angle-proof { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 26px; }
.angle-cta {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; gap: 8px; transition: gap .2s;
}
.angle:hover .angle-cta { gap: 14px; }

/* ─── Work cards ─────────────────────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-grid--4 { grid-template-columns: repeat(2, 1fr); }
.work-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease, border-color .25s;
}
.work-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .6); }
.work-card-image {
  width: 100%; aspect-ratio: 16 / 9; background: #1C1C1C; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.work-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.work-card-tag {
  font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.work-card-title {
  font-family: var(--display); font-weight: 600; color: var(--text);
  font-size: 26px; line-height: 1.2; margin-bottom: 12px;
}
.work-card-headline {
  font-family: var(--literary); font-style: italic; font-size: 15px;
  color: var(--text-dim); line-height: 1.6; margin-bottom: 20px;
}
.work-card-link {
  margin-top: auto; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s;
}
.work-card:hover .work-card-link { gap: 10px; }
.work-card-lock { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-top: 10px; }

/* ─── Services (home) ────────────────────────────────────────────────────── */
.services-grid, .services-grid-bottom {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.services-grid { grid-template-columns: repeat(3, 1fr); }
.services-grid-bottom { grid-template-columns: repeat(2, 1fr); border-top: none; }
.service-card { background: var(--bg); padding: 40px 36px; transition: background .2s; }
.service-card:hover { background: var(--surface-2); }
.service-number { font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--accent); margin-bottom: 20px; }
.service-title { font-family: var(--display); font-weight: 600; color: var(--text); font-size: 22px; line-height: 1.3; margin-bottom: 16px; }
.service-body { font-size: 15px; color: var(--text-faint); line-height: 1.75; }

/* ─── About (home) ───────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.5fr .65fr; gap: 80px; align-items: start; }
.about-pull-quote {
  font-family: var(--literary); font-style: italic; font-weight: normal; color: var(--text);
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.4;
  margin-bottom: 36px; padding-left: 24px; border-left: 2px solid var(--accent);
}
.about-bio { font-size: 16px; color: var(--text-dim); line-height: 1.8; }
.about-bio p + p { margin-top: 20px; }
.about-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--surface-2); }

.recognition { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.awards-list { margin-bottom: 48px; }
.award-row {
  display: grid; grid-template-columns: 60px 1fr 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.award-year { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.award-name { font-size: 13.5px; color: var(--text); font-weight: 500; }
.award-project { font-size: 13px; color: var(--text-faint); }
.clients-label { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }

/* ─── Lens pages ─────────────────────────────────────────────────────────── */
.lens-hero {
  position: relative; overflow: hidden;
  padding: 150px var(--pad) 80px; border-bottom: 1px solid var(--line);
}
.lens-switch { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 44px; }
.lens-switch-label { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); margin-right: 6px; }
.lens-pill {
  padding: 8px 18px; border: 1px solid var(--line);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); transition: border-color .2s, color .2s, background .2s;
}
.lens-pill:hover { border-color: var(--accent); color: var(--accent); }
.lens-pill[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lens-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(48px, 9vw, 132px); line-height: .94; letter-spacing: -.012em;
  color: var(--text); margin-bottom: 32px; max-width: 12em; text-wrap: balance;
}
.lens-title .dot { color: var(--accent); }

.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.proof { background: var(--surface); padding: 36px 32px 40px; }
.proof-label { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.proof-figure { font-family: var(--display); font-weight: 600; color: var(--text); font-size: clamp(48px, 6vw, 76px); line-height: 1; margin-bottom: 14px; }
.proof-caption { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }

.lens-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 40px; margin-top: 72px;
}
.lens-foot p { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--text); }
.lens-foot-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact { border-top: 1px solid var(--line); }
.contact-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center;
}
.contact-statement {
  font-family: var(--display); font-weight: 600; color: var(--text);
  font-size: clamp(28px, 4vw, 50px); line-height: 1.2; letter-spacing: -.01em;
}
.contact-sub { font-size: 15px; color: var(--text-faint); margin-top: 16px; line-height: 1.65; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px max(var(--pad), calc((100% - var(--max)) / 2)); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-name { font-family: var(--display); font-size: 13px; color: var(--text-faint); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 11px; color: #6B6B6B; letter-spacing: .08em; }

/* ─── Scroll reveal (only active when JS adds .js to <html>) ─────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .proof-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .angles-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-bottom { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-right { order: -1; }
  .about-photo { aspect-ratio: 4 / 3; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .award-row { grid-template-columns: 50px 1fr; }
  .award-project { grid-column: 2; margin-top: -8px; }
  .hero-lines { background-size: calc(100% / 3) 100%; }
}
@media (max-width: 640px) {
  .nav { padding: 16px var(--pad); gap: 12px; }
  .nav-name { font-size: 15px; letter-spacing: .06em; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 10px; letter-spacing: .08em; }
  .nav-links .hide-sm { display: none; }
  .hero-now span { display: block; margin: 0 0 4px; }
  .services-grid { grid-template-columns: 1fr; }
  .angle { padding: 28px; min-height: 300px; }
  .angle-num { font-size: 100px; }
  .btn { padding: 14px 22px; }
  .section { padding: 72px var(--pad); }
  .hero, .lens-hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work-card, .angle, .btn, .chip, .angle-cta, .work-card-link { transition: none; }
  .work-card:hover, .angle:hover { transform: none; }
}

/* ─── Featured case: product navigation (product.html) ──────────────────── */
.feature-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin-bottom: 48px; }
.feature-head .section-heading { margin: 0; }
.feature-copy p { font-size: 16.5px; line-height: 1.8; color: var(--text-dim); max-width: 62ch; }
.feature-copy p + p { margin-top: 16px; }
.compare { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
.compare figure { margin: 0; }
.compare-shot { border: 1px solid var(--line); background: #f5f5f5; overflow: hidden; }
.compare-shot img { display: block; width: 100%; height: auto; }
.compare figcaption, .drawer-fig figcaption { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-top: 10px; }
.compare figcaption b, .drawer-fig figcaption b { color: var(--accent); font-weight: 600; margin-right: 8px; }
.drawer-row { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 64px; align-items: start; }
.drawer-fig { margin: 0; }
.drawer-fig .compare-shot { max-width: 300px; }
.approach { list-style: none; display: grid; gap: 28px; }
.approach li strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.approach li span { font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.status-note { margin-top: 40px; padding: 24px 28px; border-left: 2px solid var(--accent); background: var(--surface); font-size: 15px; line-height: 1.7; color: var(--text-dim); max-width: 70ch; }
.status-note strong { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.angle:nth-child(3):last-child { grid-column: 1 / -1; min-height: 280px; }
@media (max-width: 900px) {
  .feature-head, .drawer-row { grid-template-columns: 1fr; gap: 28px; }
}
