/* Daniel Sutton Media — site.css */

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:          oklch(0.14 0.006 250);
  --bg-2:        oklch(0.19 0.008 250);
  --bg-3:        oklch(0.24 0.01 250);
  --fg:          oklch(0.96 0.005 80);
  --fg-dim:      oklch(0.72 0.01 80);
  --fg-mute:     oklch(0.52 0.012 80);
  --line:        oklch(1 0 0 / 0.08);
  --line-strong: oklch(1 0 0 / 0.16);
  --accent:      oklch(0.70 0.21 42);
  --accent-ink:  oklch(0.16 0.04 42);

  --serif:   "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --display: "Fraunces", "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans:    "Archivo", "Geist", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

[data-theme="light"] {
  --bg:          oklch(0.98 0.004 80);
  --bg-2:        oklch(0.95 0.006 80);
  --bg-3:        oklch(0.91 0.008 80);
  --fg:          oklch(0.18 0.01 250);
  --fg-dim:      oklch(0.38 0.012 250);
  --fg-mute:     oklch(0.55 0.012 250);
  --line:        oklch(0 0 0 / 0.08);
  --line-strong: oklch(0 0 0 / 0.16);
}

/* ── Reset / Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; }

/* ── Typography helpers ─────────────────────────────────────────────────── */
.display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.display-up {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.96;
  font-variation-settings: "opsz" 144;
}
.display em,
.display-up em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ── Grain overlay ───────────────────────────────────────────────────────── */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA {
  from { transform: translate(0, 0); }
  to   { transform: translate(-40px, 30px); }
}
@keyframes floatB {
  from { transform: translate(0, 0); }
  to   { transform: translate(30px, -40px); }
}
.reveal { animation: fadeUp 0.7s cubic-bezier(.2,.7,.2,1) both; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
.reveal.d4 { animation-delay: 0.32s; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-side { display: flex; align-items: center; gap: 4px; }
.nav-side-left { justify-self: start; }
.nav-side-right { justify-self: end; }
.brand {
  display: inline-flex; align-items: center; justify-self: center;
  text-decoration: none; color: inherit;
}
.brand-logo {
  display: block;
  height: 84px;
  width: auto;
  transition: opacity 0.2s;
}
[data-theme="light"] .brand-logo { filter: invert(1) brightness(0.85); }
/* Also handle custom logo img inside .brand */
.brand .custom-logo { height: 84px; width: auto; transition: opacity 0.2s; }
[data-theme="light"] .brand .custom-logo { filter: invert(1) brightness(0.85); }
.brand:hover .brand-logo,
.brand:hover .custom-logo { opacity: 0.78; }
/* Remove WP custom-logo anchor wrapper styles */
.brand .custom-logo-link { display: contents; }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 10px 14px;
  background: none; border: none;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
  display: block;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: var(--accent);
}
.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  padding: 10px 16px;
  border: none;
  transition: transform 0.15s;
  text-decoration: none;
  display: inline-block;
  margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-1px); color: var(--bg); }
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 12px 20px; }
  .nav-side-left { display: none; }
  .brand { justify-self: start; }
  .brand-logo,
  .brand .custom-logo { height: 56px; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 120px;
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col a,
.footer-col p,
.footer-col span {
  display: block;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 14px;
  margin: 6px 0;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-bottom .mono { color: var(--fg-mute); }
.footer-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  line-height: 0.9;
  color: var(--fg);
  margin: 0 0 40px;
}
.footer-wordmark em { font-style: italic; color: var(--accent); }

/* ── HOME — Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 85% 15%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(900px 600px at 15% 85%,  color-mix(in oklab, var(--accent) 14%, transparent), transparent 65%),
    linear-gradient(175deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.hero-bg::before {
  width: 520px; height: 520px; right: -80px; top: -120px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: floatA 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  width: 380px; height: 380px; left: -60px; bottom: 10%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 60%, #fff), transparent 70%);
  opacity: 0.28;
  animation: floatB 22s ease-in-out infinite alternate;
}
[data-theme="light"] .hero-bg::after { opacity: 0.45; }
.hero-grid-lines {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.hero-grid-lines span { border-left: 1px solid var(--line); }
.hero-grid-lines span:first-child { border-left: none; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 40%, transparent) 0%, transparent 30%, color-mix(in oklab, var(--bg) 90%, transparent) 100%),
    linear-gradient(90deg,  color-mix(in oklab, var(--bg) 60%, transparent) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  padding: 80px 40px 60px;
  width: 100%;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 60px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-dim);
}
.hero-badge { color: var(--accent); }
.hero-title {
  font-size: clamp(56px, 8vw, 132px);
  margin: 0 0 40px;
  max-width: 1200px;
}
.hero-title em {
  font-style: italic;
  font-weight: 900;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-spec-label { color: var(--fg-mute); margin-bottom: 6px; }
.hero-actions { display: flex; gap: 12px; }
.hero-ticker {
  position: absolute;
  bottom: 14px; left: 40px; right: 40px;
  display: flex; gap: 18px;
  color: var(--fg-mute);
  font-size: 10.5px;
}

/* Hero with optional background image */
.hero-has-image .hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.35;
}
[data-theme="light"] .hero-has-image .hero-bg-img { opacity: 0.2; }

/* ── HOME — Manifesto ───────────────────────────────────────────────────── */
.manifesto { padding: 140px 40px; }
.manifesto-copy {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.15;
  max-width: 1100px;
  margin: 32px 0 0;
  letter-spacing: -0.015em;
}
.manifesto-mute { color: var(--fg-mute); }

/* ── HOME — Featured ────────────────────────────────────────────────────── */
.featured { padding: 60px 40px 40px; }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 20px; flex-wrap: wrap;
}
.sec-title { font-size: clamp(40px, 5vw, 72px); margin: 16px 0 0; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.feat-card {
  margin: 0; cursor: pointer;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s;
}
.feat-card:hover { transform: translateY(-4px); }
.feat-card img,
.feat-img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.feat-card:hover img,
.feat-card:hover .feat-img { transform: scale(1.03); }
.feat-card figcaption { padding: 14px 2px; display: flex; flex-direction: column; gap: 4px; }
.feat-cat { color: var(--accent); }
.feat-title { font-size: 18px; }
.feat-meta { color: var(--fg-mute); }
.feat-img-placeholder { background: var(--bg-3); }

.feat-0 { grid-column: span 7; }
.feat-0 img { aspect-ratio: 7 / 5; }
.feat-1 { grid-column: span 5; }
.feat-1 img { aspect-ratio: 4 / 5; }
.feat-2 { grid-column: span 5; }
.feat-2 img { aspect-ratio: 4 / 5; }
.feat-3 { grid-column: span 7; }
.feat-3 img { aspect-ratio: 7 / 5; }

/* ── HOME — Services ────────────────────────────────────────────────────── */
.cats { padding: 120px 40px 80px; }
.cats-grid { margin-top: 48px; border-top: 1px solid var(--line); }
.cat-row {
  display: grid;
  grid-template-columns: 60px 280px 1fr 40px;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.3s, background 0.3s;
}
.cat-row:hover { padding-left: 16px; background: color-mix(in oklab, var(--accent) 6%, transparent); }
.cat-row:hover .cat-arrow { transform: translateX(6px); color: var(--accent); }
.cat-num { color: var(--fg-mute); }
.cat-title { font-size: 44px; }
.cat-desc { color: var(--fg-dim); max-width: 520px; }
.cat-arrow { font-size: 22px; color: var(--fg-mute); transition: all 0.3s; justify-self: end; }

/* ── HOME — Press ────────────────────────────────────────────────────────── */
.press { padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 28px 48px;
}
.press-logo {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--fg-mute); opacity: 0.8;
}

/* ── HOME — CTA ──────────────────────────────────────────────────────────── */
.cta { padding: 140px 40px; }
.cta-inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: end;
}
.cta-title { font-size: clamp(56px, 8vw, 128px); margin: 20px 0 0; }
.cta-side { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-copy { color: var(--fg-dim); max-width: 380px; font-size: 16px; line-height: 1.6; margin: 0; }

/* ── WORK — Header ──────────────────────────────────────────────────────── */
.work-head { padding: 80px 40px 40px; }
.work-title { font-size: clamp(72px, 10vw, 160px); margin: 16px 0 32px; }
.work-lede { max-width: 620px; color: var(--fg-dim); font-size: 18px; }

/* ── WORK — Filters ─────────────────────────────────────────────────────── */
.filters {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  position: sticky; top: 69px; z-index: 10;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.filters-left { display: flex; gap: 8px; flex-wrap: wrap; }
.filters-right { color: var(--fg-mute); }
.fbtn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex; gap: 10px; align-items: center;
  transition: all 0.2s;
}
.fbtn:hover { color: var(--fg); border-color: var(--fg); }
.fbtn.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.fcount { opacity: 0.5; font-size: 10px; padding: 2px 6px; border: 1px solid currentColor; }
.fbtn.on .fcount { opacity: 0.7; }

/* Chips variant */
.filters.chips .fbtn {
  border-radius: 999px;
  background: var(--bg-2);
  border-color: var(--line);
}
.filters.chips .fbtn.on {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}
.filters.chips .fcount { border: none; }

/* ── WORK — Masonry grid ────────────────────────────────────────────────── */
.masonry { column-count: 3; column-gap: 16px; }
@media (max-width: 900px)  { .masonry { column-count: 2 !important; } }
@media (max-width: 560px)  { .masonry { column-count: 1 !important; } }

.m-card {
  break-inside: avoid;
  margin: 0 0 16px;
  cursor: pointer;
  position: relative;
  display: block;
  overflow: hidden;
}
.m-card img { display: block; width: 100%; height: auto; transition: transform 0.5s; }
.m-card:hover img { transform: scale(1.02); }
.m-card figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
  transition: opacity 0.3s;
  color: #fff;
}
.m-card:hover figcaption,
.m-card:focus figcaption { opacity: 1; }
.m-cat { color: var(--accent); margin-bottom: 6px; }
.m-title { font-size: 18px; font-family: var(--serif); font-style: italic; }
.m-meta { color: rgba(255,255,255,0.7); margin-top: 4px; }
.m-card-placeholder { background: var(--bg-3); aspect-ratio: 4/5; width: 100%; }
.empty { padding: 80px; text-align: center; color: var(--fg-mute); }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.lbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 40px;
  animation: fadeUp 0.3s ease;
}
.lbox-close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 10px 16px; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s;
}
.lbox-close:hover { background: rgba(255,255,255,0.1); }
.lbox-inner {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: 1400px; max-height: 90vh; width: 100%;
  align-items: center;
}
.lbox-inner img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lbox-meta { color: #fff; }
.lbox-exif {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 14px;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 900px) {
  .lbox-inner { grid-template-columns: 1fr; }
  .lbox-inner img { max-height: 60vh; }
}

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about-hero {
  padding: 80px 40px 60px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
}
.about-title { font-size: clamp(80px, 10vw, 168px); margin: 16px 0 32px; line-height: 0.92; }
.about-lede { font-size: 20px; color: var(--fg-dim); max-width: 520px; line-height: 1.55; }
.about-stats {
  display: flex; gap: 48px; margin-top: 48px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.stat-n { font-size: 56px; line-height: 1; color: var(--fg); }
.stat-l { color: var(--fg-mute); margin-top: 8px; }
.about-portrait {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
}
.about-portrait-placeholder { background: var(--bg-3); }
.about-caption { margin-top: 14px; color: var(--fg-mute); }

.about-story { padding: 100px 40px; border-top: 1px solid var(--line); }
.story-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; margin-top: 32px;
}
.story-title { font-size: clamp(36px, 4vw, 56px); margin: 0; }
.story-copy p { font-size: 17px; line-height: 1.7; color: var(--fg-dim); margin: 0 0 20px; }
.story-copy-mute { color: var(--fg-mute) !important; }

.about-kit { padding: 60px 40px 100px; }
.kit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 32px;
  border-top: 1px solid var(--line); padding-top: 40px;
}
.kit-cat { color: var(--fg-mute); margin-bottom: 16px; }
.kit-item ul { list-style: none; padding: 0; margin: 0; }
.kit-item li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--fg); font-size: 15px; }

.about-quote { padding: 100px 40px; text-align: center; border-top: 1px solid var(--line); }
.quote-copy {
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.1; margin: 0; max-width: 1100px; margin-inline: auto;
  font-style: italic;
}
.quote-mark { color: var(--accent); }
.quote-attr { color: var(--fg-mute); margin-top: 32px; }

.about-cta { padding: 80px 40px 40px; border-top: 1px solid var(--line); }

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-head { padding: 80px 40px 40px; }
.contact-title { font-size: clamp(64px, 9vw, 140px); margin: 16px 0 0; }

.contact-grid {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 80px; padding: 60px 40px 80px;
}
.contact-aside {
  display: flex; flex-direction: column; gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.ca-block { display: flex; flex-direction: column; gap: 6px; }
.ca-label { color: var(--fg-mute); margin-bottom: 4px; }
.ca-link { color: var(--fg); text-decoration: none; font-size: 16px; }
.ca-link:hover { color: var(--accent); }
.ca-availability { color: var(--fg-mute); font-size: 14px; }
.ca-rate { font-size: 44px; line-height: 1; }

.contact-form {
  display: flex; flex-direction: column; gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  color: var(--fg-mute);
  display: flex; justify-content: space-between;
}
.field-err { color: var(--accent); }
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 18px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-mute); }
.field input:focus,
.field textarea:focus { border-color: var(--accent); }
.field.has-error input,
.field.has-error textarea { border-color: var(--accent); }
fieldset.field { border: none; padding: 0; margin: 0; }
fieldset.field legend { color: var(--fg-mute); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }

.radio-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 0; }
.radio {
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center;
}
.radio input { display: none; }
.radio:has(input:checked),
.radio.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Contact form success */
.sent {
  padding: 140px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.sent-mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 36px;
  margin-bottom: 16px;
}
.sent-title { font-size: clamp(56px, 8vw, 128px); margin: 0; }
.sent-copy { max-width: 560px; color: var(--fg-dim); font-size: 18px; margin: 16px 0 20px; }

.form-error-banner {
  padding: 16px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* CF7 / WPForms overrides — preserve DSM field styles */
.contact-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.contact-form-wrap .wpcf7-form-control-wrap { display: block; width: 100%; }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 18px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { border-color: var(--accent); }
.contact-form-wrap .wpcf7-submit {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 22px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  cursor: pointer; transition: all 0.2s;
}
.contact-form-wrap .wpcf7-submit:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ── Hamburger nav ───────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  padding: 8px; margin-left: 8px;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile {
  display: none;
  flex-direction: column; gap: 0;
  padding: 0 20px 24px;
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-mobile.open {
  display: flex;
  animation: menuSlideDown 0.22s ease both;
}
.nav-mobile-links { list-style: none; margin: 0; padding: 0; }
.nav-mobile-link {
  display: block;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim); text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--fg); }
.nav-mobile-cta { margin-top: 24px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ── Responsive — Tablet (≤ 980px) ──────────────────────────────────────── */
@media (max-width: 980px) {
  .container { padding: 0 24px; }

  /* Hero */
  .hero-inner { padding: 80px 24px 60px; }
  .hero-meta { margin-bottom: 40px; }
  .hero-ticker { left: 24px; right: 24px; flex-wrap: wrap; gap: 10px; }

  /* Featured grid → single column */
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat-0, .feat-1, .feat-2, .feat-3 { grid-column: span 1; }
  .feat-0 img, .feat-3 img { aspect-ratio: 4/5; }

  /* Services */
  .cats { padding: 80px 24px; }
  .cat-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
  .cat-num { display: none; }
  .cat-title { flex: 1; font-size: 32px; }
  .cat-desc { display: none; }
  .cat-arrow { flex-shrink: 0; font-size: 20px; }

  /* Manifesto */
  .manifesto { padding: 80px 24px; }

  /* CTA */
  .cta { padding: 80px 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }

  /* About */
  .about-hero { grid-template-columns: 1fr; padding: 60px 24px; }
  .about-hero-right { max-width: 480px; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .kit-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-kit { padding: 60px 24px; }
  .about-story { padding: 60px 24px; }
  .about-quote { padding: 60px 24px; }
  .about-cta { padding: 60px 24px; }

  /* Contact */
  .contact-head { padding: 60px 24px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 60px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { margin-top: 80px; }
}

/* ── Responsive — Mobile (≤ 720px) ──────────────────────────────────────── */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Nav — show hamburger, hide desktop right links */
  .nav-inner { padding: 12px 20px; grid-template-columns: auto 1fr auto; }
  .nav-side-left { display: none; }
  .nav-links-right { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .brand { justify-self: start; }
  .brand-logo,
  .brand .custom-logo { height: 52px; }

  /* Hero */
  .hero { min-height: 80vh; }
  .hero-inner { padding: 80px 20px 56px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-ticker { display: none; }

  /* Manifesto */
  .manifesto { padding: 60px 20px; }

  /* Featured → single column on small screens */
  .feat-grid { grid-template-columns: 1fr; }
  .featured { padding: 40px 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }

  /* Services */
  .cats { padding: 60px 20px; }
  .cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
  .cat-num { display: none; }
  .cat-title { flex: 1; font-size: 26px; }
  .cat-desc { display: none; }
  .cat-arrow { flex-shrink: 0; font-size: 18px; }

  /* Press */
  .press { padding: 48px 0; }
  .press-row { gap: 16px 32px; }
  .press-logo { font-size: 18px; }

  /* CTA */
  .cta { padding: 60px 20px; }
  .cta-title { font-size: clamp(44px, 10vw, 80px); }

  /* Work */
  .work-head { padding: 60px 20px 32px; }
  .filters { top: 57px; padding: 16px 0; }
  .filters-left { gap: 6px; }
  .fbtn { padding: 8px 10px; }

  /* About */
  .about-hero { padding: 48px 20px; gap: 40px; }
  .about-title { font-size: clamp(72px, 16vw, 120px); }
  .about-stats { flex-direction: column; gap: 20px; padding-top: 24px; }
  .stat-n { font-size: 44px; }
  .story-grid { gap: 24px; }
  .kit-grid { grid-template-columns: 1fr; }
  .about-kit { padding: 48px 20px; }
  .about-story { padding: 48px 20px; }
  .about-quote { padding: 48px 20px; }
  .quote-copy { font-size: clamp(32px, 8vw, 64px); }
  .about-cta { padding: 48px 20px; }

  /* Contact */
  .contact-head { padding: 48px 20px 24px; }
  .contact-grid { padding: 32px 20px 48px; gap: 32px; }
  .radio-row { gap: 6px; }

  /* Footer */
  .footer { padding: 40px 0 28px; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-wordmark { font-size: 44px; margin-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Lightbox */
  .lbox { padding: 16px; }
  .lbox-close { top: 12px; right: 12px; padding: 8px 12px; }
}

/* ── Responsive — Small mobile (≤ 400px) ────────────────────────────────── */
@media (max-width: 400px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { padding: 12px 16px; }
  .nav-mobile-cta { width: 100%; justify-content: center; }
}
