/* ============================================================
   Your/Agency — Main stylesheet
   Structure: fonts · reset · base type · layout · motif ·
   header · hero · sections · components · footer · motion · a11y
   ============================================================ */

/* ---------- Self-hosted fonts (variable) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}

/* ---------- Reset (minimal) ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100vh; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--title); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -.01em; }

/* One emphasised word per headline: italic Fraunces, clay */
.em { font-style: italic; color: var(--clay); }
.dark .em { color: var(--clay); }

p { max-width: var(--measure); }
strong { font-weight: 600; color: var(--ink); }
.dark strong { color: var(--paper); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { position: relative; padding-block: var(--section-y); overflow: clip; }
.section > .container { position: relative; z-index: 1; }
.measure { max-width: var(--measure); }
.center { margin-inline: auto; text-align: center; }
.center p { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
.dark .lede { color: var(--cream-soft); }

/* ---------- Surfaces + dot-grid texture ---------- */
.paper  { background: var(--paper);   color: var(--ink-soft); }
.paper-2{ background: var(--paper-2); color: var(--ink-soft); }
.dark   { background: var(--ink);     color: var(--cream-soft); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--paper); }

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot, rgba(36,31,26,.05)) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 0;
  pointer-events: none;
}
.dark.section::before { --dot: rgba(244,238,227,.05); }

/* ---------- The "/" motif ---------- */
.slash-mark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  line-height: .7;
  color: currentColor;
  opacity: .07;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.dark .slash-mark { color: var(--paper); opacity: .06; }
.paper .slash-mark, .paper-2 .slash-mark { color: var(--clay); opacity: .08; }

/* Divider slash between sections */
.slash-divider {
  position: relative;
  height: 0;
  text-align: center;
  z-index: 2;
}
.slash-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--clay);
  background: var(--paper);
  line-height: 1;
  padding: .25rem .6rem;
  opacity: .55;
}

/* ---------- Kicker + rule ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--clay-deep);
  margin-bottom: 1.1rem;
}
.dark .kicker { color: var(--clay); }
.kicker::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--clay);
  margin-top: .75rem;
}
.center .kicker::after { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding: .95em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease), border-color .2s var(--ease);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--clay); color: #FFFFFF; }
.btn-primary:hover { background: var(--clay-deep); }
.dark .btn-primary { color: #FFFFFF; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-d);
  color: var(--ink);
}
.dark .btn-ghost { border-color: var(--line-l); color: var(--paper); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }
.dark .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

/* Secondary = underlined text link */
.link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 500;
  color: var(--clay-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.dark .link { color: var(--paper); border-color: rgba(244,238,227,.4); }
.link .arrow { transition: transform .25s var(--ease); }
.link:hover .arrow { transform: translateX(3px); }
.link:hover { color: var(--clay); border-color: var(--clay); }
.dark .link:hover { color: #fff; border-color: var(--clay); }

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--paper);
  text-decoration: none;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.wordmark .slash { color: var(--clay); font-style: italic; padding-inline: .02em; }

/* Brand mark: two overlapping rings — brand (clay) meets audience (sage) */
.brand-mark {
  height: 1.5em;
  width: auto;
  flex: 0 0 auto;
  overflow: visible;
}
.brand-mark .bm-lens  { fill: var(--clay); opacity: .22; }
.brand-mark .bm-brand { fill: none; stroke: var(--clay); stroke-width: 2; }
.brand-mark .bm-aud   { fill: none; stroke: var(--sage); stroke-width: 2; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.site-nav a.nav-link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--cream-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.site-nav a.nav-link:hover { color: var(--paper); }

/* solid state after scroll (over light content) */
.site-header.is-solid {
  background: rgba(244, 238, 227, .88);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom-color: var(--line-d);
}
.site-header.is-solid .wordmark { color: var(--ink); }
.site-header.is-solid .nav-link { color: var(--ink-soft); }
.site-header.is-solid .nav-link:hover { color: var(--clay); }

/* nav button (Work with us) always clay */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .6em 1.15em;
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius);
  background: var(--clay);
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.nav-cta:hover { background: var(--clay-deep); }

/* Mobile nav */
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 760px) {
  .site-nav.desktop { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    margin-right: -8px;
    color: var(--paper);
    transition: color .3s var(--ease);
  }
  .is-solid .nav-toggle { color: var(--ink); }
  .nav-toggle svg { width: 24px; height: 24px; }

  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    padding: calc(var(--header-h) + 1rem) var(--pad-x) 2.5rem;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu .close {
    position: absolute; top: 14px; right: var(--pad-x);
    width: 44px; height: 44px; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .mobile-menu .close svg { width: 26px; height: 26px; }
  .mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
    text-decoration: none;
    padding: .55rem 0;
    border-bottom: 1px solid var(--line-d);
  }
  .mobile-menu a.mm-cta {
    margin-top: 1.5rem;
    border: 0;
    color: #FFFFFF;
    background: var(--clay);
    border-radius: var(--radius);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    padding: .8rem 1rem;
  }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: clip;
}
.hero .slash-mark {
  font-size: clamp(20rem, 55vw, 46rem);
  right: -3vw;
  bottom: -14vw;
}
.hero h1 { max-width: 15ch; }
.hero .subhead {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--cream-soft);
}
.hero .cta-row { margin-top: 2.4rem; }

/* Hero for sub-pages (compact) */
.hero-sub { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero-sub h1 { max-width: 20ch; }
.hero-sub .subhead { max-width: 54ch; }

/* ---------- Logo strip ---------- */
.logo-strip .strip-label {
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 2rem;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.2rem);
}
.logos li {
  list-style: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: -.01em;
  color: var(--ink);
  opacity: .42;
  filter: grayscale(1);
  transition: opacity .25s var(--ease);
}
.logos li:hover { opacity: .72; }

/* ---------- Section head ---------- */
.section-head { max-width: 44ch; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: 1.1rem; }

/* ---------- Insight / problem ---------- */
.prose p + p { margin-top: 1.15rem; }

/* ---------- Accordion (pillars + faq) ---------- */
.accordion { border-top: 1px solid var(--line-d); max-width: 860px; }
.dark .accordion { border-top-color: var(--line-l); }

.acc {
  border-bottom: 1px solid var(--line-d);
}
.dark .acc { border-bottom-color: var(--line-l); }

.acc > summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.4rem 0;
  list-style: none;
  cursor: pointer;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc .acc-index {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--clay-deep);
  flex: 0 0 auto;
  min-width: 1.4em;
}
.dark .acc .acc-index { color: var(--clay); }
.acc .acc-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  flex: 1;
}
.dark .acc .acc-title { color: var(--paper); }
.acc .acc-title .lead-in { font-style: italic; color: var(--clay); font-weight: 500; }
.acc .acc-icon {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  position: relative;
  margin-top: .2rem;
  transition: transform .3s var(--ease);
}
.acc .acc-icon::before,
.acc .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--clay);
  border-radius: 2px;
}
.acc .acc-icon::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.acc .acc-icon::after  { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: opacity .3s var(--ease); }
.acc[open] .acc-icon { transform: rotate(180deg); }
.acc[open] .acc-icon::after { opacity: 0; }

.acc .acc-body {
  overflow: hidden;
  padding-left: calc(1.4em + 1rem);
}
.acc .acc-body-inner { padding-bottom: 1.6rem; }
.acc .acc-body p { color: var(--ink-soft); max-width: 60ch; }
.dark .acc .acc-body p { color: var(--cream-soft); }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.1rem;
  padding: 0;
}
.service-tags li {
  list-style: none;
  font-size: var(--small);
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px solid var(--line-d);
  border-radius: 999px;
  padding: .32em .85em;
}
.dark .service-tags li {
  color: var(--cream-soft);
  background: var(--ink-2);
  border-color: var(--line-l);
}

/* progressive-enhancement smooth open */
.js .acc .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.js .acc[open] .acc-body { grid-template-rows: 1fr; }
.js .acc .acc-body > .acc-body-inner { min-height: 0; }
.js .acc .acc-body-inner { opacity: 0; transition: opacity .3s var(--ease) .05s; }
.js .acc[open] .acc-body-inner { opacity: 1; }

.note-rule {
  margin-top: 2rem;
  max-width: 720px;
  font-style: italic;
  color: var(--sage);
  font-size: var(--body);
  padding-left: 1.1rem;
  border-left: 2px solid var(--sage-lt);
}

/* ---------- Why us ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 1rem;
}
.diff h3 { color: var(--paper); margin-bottom: .6rem; }
.diff .diff-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sage-lt);
  margin-bottom: .9rem;
}
.diff p { color: var(--cream-soft); max-width: 42ch; }
.diff { padding-top: 1.5rem; border-top: 2px solid var(--sage); }

.support-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1.5rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-l);
}
.support-item strong { display: block; color: var(--paper); margin-bottom: .3rem; font-size: 1rem; }
.support-item p { color: var(--cream-soft); font-size: var(--small); max-width: 34ch; }

/* ---------- About (short) ---------- */
.about-short .cta-row { margin-top: 2rem; }
.founder-links { display: flex; gap: 1.2rem; margin-top: 1.6rem; align-items: center; }
.founder-links a {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: var(--small); color: var(--ink-soft); text-decoration: none;
  transition: color .2s var(--ease);
}
.founder-links a:hover { color: var(--clay); }
.founder-links svg { width: 18px; height: 18px; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: 1rem;
}
.testi {
  background: var(--ink-2);
  border: 1px solid var(--line-l);
  border-top: 3px solid var(--clay);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
}
.testi:nth-child(2) { border-top-color: var(--sage); }
.testi blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--paper);
  margin-bottom: 1.4rem;
  flex: 1;
}
.testi blockquote::before { content: "\201C"; color: var(--clay); margin-right: .05em; }
.testi blockquote::after  { content: "\201D"; color: var(--clay); }
.testi .cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--small);
  color: var(--cream-soft);
}
.testi .cite b { color: var(--paper); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { position: relative; }
.contact .slash-mark {
  font-size: clamp(16rem, 40vw, 34rem);
  left: -4vw; bottom: -12vw;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--small); font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field .req { color: var(--clay); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A99E8D; }
.field :focus-visible {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(212, 104, 47, .18);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F6457' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .95rem center;
  padding-right: 2.4rem;
}
.form-2 { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form-2 { grid-template-columns: 1fr 1fr; } }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.consent { font-size: var(--small); color: var(--ink-soft); max-width: 44ch; }
.consent a { color: var(--clay-deep); }

.form-status { font-size: var(--small); border-radius: var(--radius); }
.form-status[hidden] { display: none; }
.form-status.success {
  color: #46523a;
  background: rgba(110, 122, 92, .14);
  border: 1px solid var(--sage-lt);
  padding: 1rem 1.1rem;
}
.form-status.error {
  color: var(--clay-deep);
  background: rgba(212, 104, 47, .1);
  border: 1px solid rgba(212, 104, 47, .35);
  padding: 1rem 1.1rem;
}
.contact-aside p { color: var(--ink-soft); }
.contact-aside .secondary-line { margin-top: 1.6rem; font-size: var(--small); }

/* ---------- Work with us (standalone page) ---------- */
.wwu { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }
.wwu .wwu-head h1 { margin-top: .2rem; }
.wwu .wwu-head > p { margin-top: 1.2rem; }
.wwu .wwu-head .secondary-line { margin-top: 1.5rem; font-size: var(--small); }
.wwu-form { max-width: 640px; margin: clamp(2.2rem, 5vw, 3.4rem) auto 0; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .wordmark { color: var(--paper); font-size: 1.5rem; }
.footer-brand .tagline { margin-top: .9rem; color: var(--cream-soft); max-width: 30ch; font-size: var(--small); }
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--cream-soft);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-col a {
  color: var(--paper);
  text-decoration: none;
  font-size: .95rem;
  opacity: .85;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.footer-col a:hover { color: var(--clay); opacity: 1; }
.footer-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-l);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom .mission { color: var(--cream-soft); font-size: var(--small); max-width: 52ch; font-style: italic; }
.footer-bottom .copy { color: var(--cream-soft); font-size: var(--small); }

/* ---------- Sub-page: our work cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-d);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-decoration: none;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); position: relative; overflow: hidden;
}
.case-card .thumb span {
  font-family: var(--font-display); font-style: italic;
  font-size: 4rem; color: var(--clay); opacity: .8;
}
.case-card .card-body { padding: 1.5rem; }
.case-card .card-cat {
  font-size: var(--small); text-transform: uppercase; letter-spacing: .14em;
  color: var(--sage-deep); font-weight: 600; margin-bottom: .6rem; display: block;
}
.case-card h3 { color: var(--ink); margin-bottom: .5rem; }
.case-card p { color: var(--ink-soft); font-size: .95rem; }
.placeholder-note {
  margin-top: 2.5rem; padding: 1rem 1.2rem;
  background: var(--paper-2); border: 1px dashed var(--line-d);
  border-radius: var(--radius); font-size: var(--small); color: var(--ink-soft);
}

/* ---------- Sub-page: about ---------- */
.founders {
  display: grid; gap: clamp(2.25rem, 4.5vw, 3.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .founders { grid-template-columns: 1fr 1fr; } }

/* Compact card: small avatar + name/role/linkedin beside it; caption + bio below */
.founder-head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.35rem);
}
.founder .photo {
  position: relative;
  flex: 0 0 auto;
  width: clamp(88px, 11vw, 116px);
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  border: 1px solid var(--line-d);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
}
.founder .photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.founder-meta { min-width: 0; }
.founder-meta h3 { color: var(--ink); }
.founder-meta .role { color: var(--clay-deep); font-size: var(--small); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin: .3rem 0 .5rem; }
.founder-meta .founder-links { margin-top: 0; }
.founder .caption { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.3; color: var(--sage-deep); margin: 1.15rem 0 .5rem; max-width: 42ch; }
.founder .bio { color: var(--ink-soft); max-width: 54ch; }
.value h3 { position: relative; }
.value h3::after { content: ""; display: block; width: 32px; height: 2px; background: var(--sage); margin-top: .6rem; }
.values-grid {
  display: grid; gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: 1rem;
}
.value h3 { color: var(--ink); font-size: var(--h3); margin-bottom: .5rem; }
.value p { font-size: .95rem; }

/* ---------- Privacy / long-form prose ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 2.6rem 0 .9rem; }
.doc h3 { margin: 1.8rem 0 .6rem; color: var(--ink); }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 1rem; }
.doc ul, .doc ol { margin: 1rem 0 1rem 1.3rem; display: grid; gap: .5rem; }
.doc a { color: var(--clay-deep); }
.doc .meta { font-size: var(--small); color: var(--ink-soft); margin-bottom: 1.5rem; }
.doc .template-flag {
  margin: 1.5rem 0; padding: 1rem 1.2rem;
  background: rgba(212, 104, 47, .07);
  border: 1px dashed rgba(212, 104, 47, .4);
  border-radius: var(--radius); font-size: var(--small); color: var(--clay-deep);
}
.doc strong { color: var(--ink); }

/* breadcrumb */
.crumbs { font-size: var(--small); color: var(--cream-soft); margin-bottom: 1.1rem; }
.crumbs a { color: var(--cream-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--paper); border-color: var(--clay); }
.crumbs .sep { opacity: .5; margin-inline: .5em; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Skip link + focus ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1rem; border-radius: var(--radius);
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Motion / reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in-view {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }
.js .reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in-view { opacity: 1; transform: none; transition: none; }
  .btn, .link, .case-card, .acc .acc-icon, * { transition: none !important; }
  .acc .acc-body, .js .acc[open] .acc-body { transition: none; }
}
