/* =========================================================
   QUIET CONFIDENCE — Aifinity Solutions
   Ported verbatim from design_handoff_aifinity_homepage/quiet-confidence.html.
   Tweaks-panel CSS variables are baked to their shipped values.
   ========================================================= */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F2EFE8;
  --ink: #141414;
  --ink-soft: #2A2A28;
  --muted: #6B6B66;
  --muted-2: #8C8C84;
  --rule: #E2DFD8;
  --rule-soft: #EFEDE6;

  --accent: #C2410C;
  --accent-fg: #FFFFFF;
  --section-pad: 140px;
  --cta-radius: 999px;
  --emph-font: 'Newsreader', serif;
  --emph-style: italic;
  --emph-weight: 500;

  --maxw: 1280px;
  --pad: 64px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 65%, transparent);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
}

.emph {
  font-family: var(--emph-font);
  font-style: var(--emph-style);
  font-weight: var(--emph-weight);
  color: var(--accent);
  letter-spacing: -0.015em;
}

/* CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--cta-radius);
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2px 0;
  border-radius: 0;
}
.btn-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Section header pattern */
.sec-head {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
}
.sec-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.sec-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}
.sec-sub {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 480px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand svg { display: block; flex-shrink: 0; }
.brand-mark {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--cta-radius);
  background: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 96px 0 0;
}
.hero-eyebrow {
  margin-bottom: 48px;
}
.hero h1 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 64px;
  max-width: 1100px;
  text-wrap: balance;
}
.hero h1 .emph {
  font-size: 0.98em;
  letter-spacing: -0.025em;
}
.hero-sub-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 96px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  max-width: 560px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Hero footer strip */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.hero-strip-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.strip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.strip-value {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.strip-meta { color: var(--muted); font-weight: 400; }

/* =========================================================
   WORK
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(20, 20, 20, 0.16);
}
.work-card.work-card-lg { grid-column: 1 / -1; }

.work-thumb {
  height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
}
.work-card-lg .work-thumb { height: 440px; }

/* AVO Pro thumb (featured) */
.thumb-avo {
  background:
    radial-gradient(ellipse at center, #F2EFE8 0%, #E5E1D6 100%);
  flex-direction: row;
  gap: 48px;
  padding: 40px;
}
.thumb-avo .avo-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 360px;
}
.thumb-avo .avo-quote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.thumb-avo .avo-cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.thumb-phone {
  width: 200px;
  height: 360px;
  background: #050505;
  border: 2px solid #1A1A1A;
  border-radius: 32px;
  padding: 8px;
  position: relative;
  flex-shrink: 0;
  box-shadow:
    0 30px 60px -20px rgba(20,20,20,0.4),
    0 0 0 1px rgba(0,0,0,0.1);
}
.thumb-phone::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #050505;
  border-radius: 999px;
  z-index: 2;
}
.thumb-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FAFAF7 0%, #F2EFE8 100%);
  border-radius: 24px;
  padding: 42px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.avo-shield {
  margin: 18px auto 12px;
  width: 70px; height: 80px;
  position: relative;
}
.avo-shield svg { width: 100%; height: 100%; }
.avo-status-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.avo-status-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
}
.avo-status-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 12px;
}
.avo-status-rows span {
  height: 26px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.avo-status-rows span::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 8px;
}
.avo-status-rows span:nth-child(2)::before { background: var(--ink); opacity: 0.3; }

/* Halcyon thumb */
.thumb-halcyon {
  background:
    radial-gradient(circle at 50% 90%, #1A1F2E 0%, #0A0A0F 70%);
  color: #FFFFFF;
  position: relative;
}
.halcyon-time {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: 72px;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  z-index: 2;
}
.halcyon-arc {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
}
.halcyon-arc-2 {
  width: 320px;
  height: 320px;
  bottom: -180px;
  border-color: rgba(255, 255, 255, 0.5);
}
.halcyon-arc-3 {
  width: 160px;
  height: 160px;
  bottom: -100px;
  border-color: rgba(255, 255, 255, 0.7);
}

/* Postcard thumb */
.thumb-postcard {
  background: #F2EFE8;
  position: relative;
  overflow: hidden;
}
.postcard-card {
  position: absolute;
  width: 180px;
  height: 230px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 12px 32px -16px rgba(20,20,20,0.18);
  overflow: hidden;
}
.postcard-card-img {
  height: 70%;
  width: 100%;
}
.postcard-card-label {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--ink);
  padding: 8px 12px;
}
.postcard-1 {
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%) rotate(-9deg);
}
.postcard-1 .postcard-card-img {
  background: linear-gradient(135deg, #C9A97A, #7F613D);
}
.postcard-2 {
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(3deg);
  z-index: 2;
}
.postcard-2 .postcard-card-img {
  background: linear-gradient(135deg, #5C7C8C, #2A3D48);
}
.postcard-3 {
  top: 52%;
  left: 78%;
  transform: translate(-50%, -50%) rotate(-2deg);
}
.postcard-3 .postcard-card-img {
  background: linear-gradient(135deg, #B8A691, #5C4C3E);
}

/* Loop thumb */
.thumb-loop {
  background: #FFFFFF;
  padding: 40px 36px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
}
.loop-streak {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.loop-streak-num {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.loop-streak-label {
  font-size: 14px;
  color: var(--muted);
}
.loop-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}
.loop-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--rule-soft);
}
.loop-cell.on { background: var(--accent); }

.work-meta {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.work-card-lg .work-meta { padding: 28px 36px; }
.work-meta-l {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-meta-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.work-meta-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.work-meta-tag {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin-top: 4px;
  max-width: 420px;
}
.work-meta-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: right;
}
.work-meta-link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.work-meta-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.work-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.work-foot-text {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.process-step {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step:not(:last-child) { padding-right: 32px; }
.process-step:not(:first-child) { padding-left: 32px; }

.process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.process-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.process-title .emph { font-size: 1em; }
.process-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
}
.process-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* =========================================================
   STUDIO
   ========================================================= */
.studio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.studio-statement {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 48px;
  max-width: 720px;
  text-wrap: balance;
}
.studio-statement .emph { font-size: 0.98em; letter-spacing: -0.015em; }
.studio-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
  letter-spacing: -0.005em;
}
.studio-photo {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 30% 30%, #D9CFBE 0%, #B5A793 40%, #5F5246 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.studio-photo::before,
.studio-photo::after {
  content: '';
  position: absolute;
  border-radius: 999px;
}
.studio-photo::before {
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.15);
  top: 30%; left: 18%;
  filter: blur(40px);
}
.studio-photo::after {
  width: 120px; height: 120px;
  background: rgba(20,20,20,0.18);
  bottom: 20%; right: 22%;
  filter: blur(36px);
}
.studio-photo-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(250, 250, 247, 0.9);
}
.studio-values {
  margin-top: 64px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.value {
  padding: 32px 28px 0 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.value:last-child { border-right: none; padding-right: 0; }
.value:not(:first-child) { padding-left: 32px; }
.value-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.value-title {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.value-body {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
}

/* =========================================================
   JOURNAL
   ========================================================= */
.journal-list {
  display: flex;
  flex-direction: column;
}
.journal-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.15s ease;
}
.journal-item:hover { padding-left: 12px; }
.journal-item:hover .journal-title { color: var(--accent); }
.journal-item:hover .journal-arrow { transform: translateX(4px); color: var(--accent); }
.journal-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.journal-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
  transition: color 0.15s ease;
  max-width: 720px;
}
.journal-title .emph { font-size: 1em; }
.journal-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 640px;
}
.journal-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.15s ease;
}

.journal-foot {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.cta-band h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.cta-band h2 .emph { font-size: 0.96em; letter-spacing: -0.025em; }
.cta-band-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta-band-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-band-email {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  margin-bottom: 4px;
  display: block;
}
.cta-band-email:hover { color: var(--accent); }
.cta-band-ctas { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-tag {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  letter-spacing: -0.005em;
  max-width: 320px;
  line-height: 1.4;
}
.footer-col-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.footer-col a:hover { color: var(--accent); }

.footer-base {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-base-links {
  display: flex;
  gap: 24px;
}
.footer-base-links a { color: var(--muted); }
.footer-base-links a:hover { color: var(--ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad: 32px; --section-pad: 96px; }
  .hero-sub-row { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-lg .work-thumb { height: 360px; }
  .thumb-avo { flex-direction: column; gap: 24px; padding: 32px 24px; }
  .thumb-avo .avo-side { max-width: none; text-align: center; }
  .thumb-phone { transform: scale(0.85); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { padding: 28px 24px !important; border-bottom: 1px solid var(--rule); }
  .process-step:nth-child(2n) { border-right: none; }
  .studio-grid { grid-template-columns: 1fr; gap: 48px; }
  .studio-values { grid-template-columns: 1fr; }
  .value { padding: 24px 0 !important; border-right: none; border-bottom: 1px solid var(--rule); }
  .value:last-child { border-bottom: none; }
  .journal-item { grid-template-columns: 100px 1fr 30px; gap: 24px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head { grid-template-columns: 60px 1fr; }
  .sec-head .sec-sub { grid-column: 2; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; --section-pad: 64px; }
  .nav-links { display: none; }
  .nav-inner { padding: 14px 0; }
  .hero { padding-top: 56px; }
  .hero h1 { margin-bottom: 40px; }
  .hero-strip { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .work-meta { grid-template-columns: 1fr; }
  .work-meta-r { align-items: flex-start; }
  .journal-item { grid-template-columns: 1fr; gap: 8px; }
  .journal-arrow { display: none; }
  .studio-statement { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   PAGE HEAD — shared by sub-pages (contact, privacy, terms)
   ========================================================= */
.page-head {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow {
  margin-bottom: 32px;
}
.page-head-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 900px;
  text-wrap: balance;
}
.page-head-title .emph {
  font-size: 0.98em;
  letter-spacing: -0.025em;
}
.page-head-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  max-width: 560px;
  margin: 0;
}

/* =========================================================
   CONTACT PAGE — form + aside grid
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-wrap { min-width: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  position: relative;
}
.field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-optional {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.field-input,
.field-textarea,
.field-select {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.field-textarea {
  min-height: 160px;
  resize: vertical;
}
.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%236B6B66' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field-error .field-input,
.field-error .field-textarea,
.field-error .field-select {
  border-color: var(--accent);
}
.field-error .field-input:focus,
.field-error .field-textarea:focus,
.field-error .field-select:focus {
  box-shadow: 0 0 0 1px var(--accent);
}
.field-msg {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.005em;
}

/* Honeypot: visually hidden but not display:none, so bots that filter on
   visibility still fill it. Real users cannot reach it. */
.field-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-foot-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.form-status {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 36px;
  background: var(--surface);
}
.form-status-success {
  border-color: var(--ink);
  background: var(--bg);
}
.form-status-error {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  margin-bottom: 24px;
  padding: 18px 24px;
}
.form-status-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.form-status-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 560px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.contact-aside-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.contact-aside-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-aside-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.contact-aside-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 360px;
}
.contact-aside-email {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  align-self: flex-start;
}
.contact-aside-email:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.contact-aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-aside-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.contact-aside-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}

.page-head-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 12px 0 0;
}

/* =========================================================
   LEGAL / LONGFORM PROSE — generated body content
   ========================================================= */
.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child  { margin-bottom: 0; }

.prose h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 56px 0 16px;
}
.prose h2:first-of-type { margin-top: 8px; }

.prose h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin: 40px 0 12px;
}

.prose p {
  margin: 0 0 20px;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.prose a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.prose ul,
.prose ol {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.prose li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.prose li:last-child { margin-bottom: 0; }
.prose li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}
.prose ol {
  counter-reset: prose-counter;
}
.prose ol > li {
  counter-increment: prose-counter;
}
.prose ol > li::before {
  content: counter(prose-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  border-radius: 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}

/* Responsive for sub-pages */
@media (max-width: 1024px) {
  .page-head { padding: 80px 0 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 24px; margin-top: 48px; }
}
@media (max-width: 640px) {
  .page-head { padding: 56px 0 40px; }
  .page-head-title { font-size: 40px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .form-status { padding: 24px 20px; }
  .form-status-title { font-size: 22px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; margin-top: 40px; }
}
