/* =====================================================================
   BITCLONE — REDESIGN STYLESHEET
   Single stylesheet for all redesigned pages. Cached across navigations,
   unlike the inline <style> blocks in the earlier prototypes.

   Contents:
     1.  Fonts
     2.  Theme tokens (dark default, light alternate)
     3.  Scale tokens
     4.  Base
     5.  Type helpers
     6.  Header / nav
     7.  Hero + page header
     8.  Buttons + links
     9.  Section shell + banding
     10. Founder cards
     11. Service cards
     12. Detail rows
     13. Work cards
     14. Pull quote
     15. News cards
     16. FAQ
     17. CTA band
     18. Footer
     19. Motion
   ===================================================================== */


/* ---------------------------------------------------------------
   1. FONTS
   Self-hosted to avoid the extra DNS + connection + render-blocking
   request that fonts.googleapis.com costs.

   Download woff2 files and place in /assets/fonts/:
     Bitter  — 500, 600
     Figtree — 400, 600, 800 (mapped as weight 700 for the wordmark)
   Easiest source: google-webfonts-helper (gwfh.mranftl.com)

   Until those files exist the stack falls back to Georgia / system-ui,
   which is a reasonable approximation of the intended look.
   --------------------------------------------------------------- */

@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-800.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ---------------------------------------------------------------
   2. THEME TOKENS
   Palette "Adobe Cooled" — terracotta brick over cooled stone/khaki
   neutrals, sampled from the studio's Tucson photography.
   Values mirror bitclone-design-system.html.
   --------------------------------------------------------------- */

[data-theme="dark"] {
  --color-surface: #191713;
  --color-surface-alt: #201D18;
  --color-surface-raised: #24211B;
  --color-primary: #B15C34;
  --color-primary-hover: #C56A3E;
  --color-on-primary: #FFFFFF;
  --color-secondary: #A79A73;
  --color-secondary-tint: #2A2720;
  --color-text: #F0EDE5;
  --color-text-secondary: #C2BCAE;
  --color-text-muted: #8A8474;
  --color-border: #322E26;
  --color-divider: #24211B;
  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 20px 46px -24px rgba(0,0,0,.6);
  --scrim: linear-gradient(180deg, rgba(25,23,19,.30) 0%, rgba(25,23,19,.55) 45%, rgba(25,23,19,.95) 100%);
  --band-scrim: linear-gradient(180deg, rgba(25,23,19,.72) 0%, rgba(25,23,19,.60) 50%, rgba(25,23,19,.80) 100%);
}

[data-theme="light"] {
  --color-surface: #F0EDE5;
  --color-surface-alt: #E4E0D5;
  --color-surface-raised: #FFFFFF;
  --color-primary: #A3512C;
  --color-primary-hover: #B15C34;
  --color-on-primary: #FFFFFF;
  --color-secondary: #5C5433;
  --color-secondary-tint: #E2DECB;
  --color-text: #1E1C16;
  --color-text-secondary: #514C40;
  --color-text-muted: #6C6759;
  --color-border: #DCD7C9;
  --color-divider: #EAE6DB;
  --shadow-card: 0 1px 2px rgba(34,26,18,.05), 0 18px 40px -24px rgba(34,26,18,.28);
  --scrim: linear-gradient(180deg, rgba(30,28,22,.28) 0%, rgba(30,28,22,.48) 45%, rgba(30,28,22,.82) 100%);
  --band-scrim: linear-gradient(180deg, rgba(30,28,22,.62) 0%, rgba(30,28,22,.52) 50%, rgba(30,28,22,.70) 100%);
}


/* ---------------------------------------------------------------
   3. SCALE TOKENS
   --section-pad / --head-gap / --block-gap control the entire
   vertical rhythm of every page. Change them here, not per-section.
   --------------------------------------------------------------- */

:root {
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;

  --text-display: clamp(2.4rem, 5vw, 3.4rem);
  --text-h1: clamp(2rem, 4vw, 2.6rem);
  --text-h3: 1.3rem;
  --text-h4: 1.06rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.72rem;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  --radius-sm: 5px; --radius-md: 8px; --radius-lg: 14px; --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --section-pad: clamp(40px, 4.4vw, 60px);
  --head-gap: clamp(24px, 2.6vw, 34px);
  --block-gap: clamp(20px, 2.2vw, 28px);
}


/* ---------------------------------------------------------------
   4. BASE
   --------------------------------------------------------------- */

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .3s var(--ease), color .3s var(--ease);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(var(--space-4), 4vw, var(--space-7));
}
.wrap--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600; text-decoration: none;
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }


/* ---------------------------------------------------------------
   5. TYPE HELPERS
   --------------------------------------------------------------- */

.eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-secondary);
  margin: 0 0 var(--space-2);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h1);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-3);
}
.lede {
  font-size: var(--text-body-lg);
  color: var(--color-text-secondary);
  max-width: 58ch;
  margin: 0;
}
.section-head { max-width: 62ch; margin-bottom: var(--head-gap); }

.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-5); flex-wrap: wrap;
  margin-bottom: var(--head-gap);
}
.head-row .section-head { margin-bottom: 0; }


/* ---------------------------------------------------------------
   6. HEADER / NAV
   --------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: var(--space-5);
  padding: var(--space-3) clamp(var(--space-4), 4vw, var(--space-7));
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 900px) {
  .site-header {
    background: color-mix(in srgb, var(--color-surface) 82%, transparent);
    backdrop-filter: blur(12px);
  }
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-text); text-decoration: none;
}
.wordmark b { color: var(--color-primary); font-weight: 700; }

.site-nav {
  display: flex; gap: var(--space-5);
  margin-left: auto; align-items: center; flex-wrap: wrap;
}
.site-nav a {
  color: var(--color-text-secondary); text-decoration: none;
  font-size: var(--text-small); font-weight: 500;
  transition: color .18s var(--ease);
}
.site-nav a:hover { color: var(--color-primary); }
.site-nav a[aria-current="page"] { color: var(--color-text); }
.site-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 3px;
  background: var(--color-primary); border-radius: 2px;
}

.theme-toggle {
  font: inherit; font-size: var(--text-small); font-weight: 600;
  background: transparent; color: var(--color-text-secondary);
  border: 0; border-bottom: 1px solid transparent;
  padding: 2px 0; cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.theme-toggle:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ---------------------------------------------------------------
   7. HERO + PAGE HEADER
   The photo is a real <img> rather than a background-image so it can
   carry srcset, fetchpriority, and explicit dimensions.
   --------------------------------------------------------------- */

.hero,
.page-header {
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero { min-height: min(86vh, 760px); align-items: center; }
.page-header { min-height: clamp(300px, 42vh, 420px); }

.hero-photo,
.page-header-photo {
  position: absolute; top: -8%; left: 0;
  width: 100%; height: 116%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo { object-position: center 58%; }
.page-header-photo { object-position: center 52%; }

.hero::after,
.page-header::after {
  content: ""; position: absolute; inset: 0;
  background: var(--scrim); z-index: 1;
}

.hero .wrap,
.page-header .wrap {
  position: relative; z-index: 2; width: 100%;
}
/* Symmetric block padding so centring holds, and the copy still has
   breathing room when it grows taller than the hero on small screens. */
.hero .wrap { padding-block: clamp(var(--space-6), 5vw, var(--space-8)); }
.page-header .wrap { padding-bottom: clamp(var(--space-6), 4vw, var(--space-7)); }

.hero .eyebrow,
.page-header .eyebrow { color: #D8CBA0; }

.hero h1,
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-display);
  line-height: 1.08; letter-spacing: -0.02em;
  color: #FBF7F0; margin: 0 0 var(--space-4);
  max-width: 19ch; text-wrap: balance;
}
.page-header h1 { max-width: 18ch; margin-bottom: var(--space-3); }

.hero-sub,
.page-header p {
  font-size: var(--text-body-lg);
  color: rgba(251,247,240,.84);
  max-width: 46ch; margin: 0 0 var(--space-5);
}
.page-header p { max-width: 52ch; margin-bottom: 0; }

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }


/* ---------------------------------------------------------------
   8. BUTTONS + LINKS
   --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-body); font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-ghost { background: transparent; color: #FBF7F0; border-color: rgba(251,247,240,.42); }
.btn-ghost:hover { border-color: #FBF7F0; }

.text-link {
  color: var(--color-primary); text-decoration: none;
  font-weight: 600; font-size: var(--text-body); white-space: nowrap;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }


/* ---------------------------------------------------------------
   9. SECTION SHELL + BANDING
   Alternating bands separate sections without needing large gaps.
   --------------------------------------------------------------- */

.section {
  padding: var(--section-pad) 0;
  background: var(--color-surface);
  transition: background .3s var(--ease);
}
.section--alt { background: var(--color-surface-alt); }
.section--alt .card {
  border-color: color-mix(in srgb, var(--color-border) 70%, var(--color-surface-alt));
}


/* ---------------------------------------------------------------
   10. FOUNDER CARDS
   --------------------------------------------------------------- */

.founder-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-6), 5vw, var(--space-8));
}
.founder {
  padding-top: var(--space-5);
  border-top: 2px solid var(--color-primary);
}

.founder-head {
  display: flex; align-items: center; gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.founder-portrait {
  width: 116px; height: 140px; flex: 0 0 116px;
  object-fit: cover; object-position: center 20%;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}
.founder h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-h3);
  letter-spacing: -0.01em; margin: 0 0 var(--space-1);
}
.founder .role {
  font-size: var(--text-small); color: var(--color-secondary);
  font-weight: 600; letter-spacing: .03em; margin: 0;
}
.founder-profile-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
}
.founder-profile-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.founder .bio {
  color: var(--color-text-secondary);
  margin: 0; font-size: var(--text-body);
}
.founder-foot { margin-top: var(--block-gap); }


/* ---------------------------------------------------------------
   11. SERVICE CARDS
   --------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: var(--block-gap);
}
.card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { border-color: var(--color-primary); }

.tech-mark {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-secondary-tint);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.tech-mark svg { width: 28px; height: 28px; display: block; }

.card h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-h3);
  margin: 0 0 var(--space-2); letter-spacing: -0.01em;
}
.card p {
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-4); font-size: var(--text-body);
}
.card ul {
  margin: 0; padding-left: 1.1em;
  color: var(--color-text-muted); font-size: var(--text-small);
}
.card li { margin-bottom: var(--space-1); }


/* ---------------------------------------------------------------
   12. DETAIL ROWS — text beside a photo
   --------------------------------------------------------------- */

.detail-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(var(--space-6), 4vw, var(--space-8));
  align-items: center;
}
.detail-row--flip .detail-media { order: -1; }
.detail-media img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.detail-copy h2 {
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-h1);
  line-height: 1.14; letter-spacing: -0.015em;
  margin: 0 0 var(--space-3);
}
.detail-copy p { color: var(--color-text-secondary); margin: 0 0 var(--space-4); }
.detail-copy p:last-of-type { margin-bottom: var(--space-5); }


/* ---------------------------------------------------------------
   13. WORK CARDS
   --------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--block-gap);
}
.work-item {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-raised);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: border-color .2s var(--ease);
}
.work-item:hover { border-color: var(--color-primary); }
.work-thumb { overflow: hidden; background: var(--color-surface); }
.work-item img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.work-item:hover img { transform: scale(1.04); }
.work-item .meta {
  padding: var(--space-5);
  display: flex; flex-direction: column; flex-grow: 1;
}
.work-item h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-h4); margin: 0 0 var(--space-2);
}
.work-item .summary {
  font-size: var(--text-small); color: var(--color-text-secondary);
  margin: 0 0 var(--space-4); line-height: 1.55; flex-grow: 1;
}
.work-item .stack {
  font-size: var(--text-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-text-muted); margin: 0;
}


/* ---------------------------------------------------------------
   14. PULL QUOTE
   --------------------------------------------------------------- */

.quote-block { max-width: 46ch; margin: 0 auto; text-align: center; }
.quote-block blockquote {
  font-family: var(--font-display);
  font-weight: 500; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.35; letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.quote-block figcaption { font-size: var(--text-small); color: var(--color-text-muted); }
.quote-block figcaption b { color: var(--color-text-secondary); font-weight: 600; }


/* ---------------------------------------------------------------
   15. NEWS CARDS
   --------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--block-gap);
}
.post-item {
  display: flex; flex-direction: column;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  text-decoration: none; color: inherit;
}
.post-item h3 { transition: color .18s var(--ease); }
.post-item:hover h3 { color: var(--color-primary); }

.post-meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.post-tag {
  font-size: var(--text-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--color-secondary);
}
.post-tag::after { content: "·"; margin-left: var(--space-3); color: var(--color-text-muted); }
.post-date { font-size: var(--text-small); color: var(--color-text-muted); }
.post-item h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--text-h3);
  line-height: 1.25; letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
.post-item p {
  color: var(--color-text-secondary); font-size: var(--text-body);
  margin: 0 0 var(--space-5); flex-grow: 1;
}
.post-more { font-size: var(--text-small); font-weight: 600; color: var(--color-primary); }
.post-item:hover .post-more { text-decoration: underline; text-underline-offset: 4px; }


/* ---------------------------------------------------------------
   16. FAQ — native <details>, no JS needed
   --------------------------------------------------------------- */

.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item[open] { border-color: var(--color-primary); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-h4); letter-spacing: -0.005em;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .22s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-answer { padding: 0 var(--space-6) var(--space-5); }
.faq-answer p { margin: 0; color: var(--color-text-secondary); font-size: var(--text-body); }
.faq-answer a,
.detail-copy a:not(.btn):not(.text-link),
.lede a:not(.btn):not(.text-link) {
  color: var(--color-primary);
  text-decoration: underline; text-underline-offset: 3px;
}


/* ---------------------------------------------------------------
   17. CTA BAND
   --------------------------------------------------------------- */

.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-photo {
  position: absolute; top: -10%; left: 0;
  width: 100%; height: 120%;
  object-fit: cover; object-position: center 55%;
  z-index: 0;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: var(--band-scrim); z-index: 1;
}
.cta-band .wrap {
  position: relative; z-index: 2;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-h1); line-height: 1.12; letter-spacing: -0.015em;
  margin: 0 auto var(--space-3); max-width: 20ch; color: #FBF7F0;
}
.cta-band p {
  font-size: var(--text-body-lg);
  color: rgba(251,247,240,.88);
  max-width: 48ch; margin: 0 auto var(--space-5);
}


/* ---------------------------------------------------------------
   18. FOOTER
   --------------------------------------------------------------- */

.site-footer {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.footer-inner {
  display: flex; justify-content: space-between;
  gap: var(--space-5); flex-wrap: wrap; align-items: center;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--color-text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--color-primary); }
.footer-nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }


/* ---------------------------------------------------------------
   19. MOTION
   Content is visible by default. The .js-motion class is added to
   <html> by an inline script only when JS is running AND the user
   hasn't asked for reduced motion — so if JS fails, nothing is
   hidden and nothing animates.
   --------------------------------------------------------------- */

.js-motion .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js-motion .reveal.in { opacity: 1; transform: none; }

/* Parallax layers only — never hide the LCP photo or above-the-fold type */
.js-parallax .hero-photo,
.js-parallax .page-header-photo,
.js-parallax .cta-photo { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


/* ---------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------- */

@media (max-width: 860px) {
  .founder-pair { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .detail-row--flip .detail-media { order: 0; }
}

@media (max-width: 720px) {
  .site-nav { gap: var(--space-4); }
  .site-nav a.nav-hide-sm { display: none; }
  .hero { min-height: 76vh; }
  .founder-portrait { width: 96px; height: 116px; flex-basis: 96px; }
  .faq-item summary { padding: var(--space-4) var(--space-5); }
  .faq-answer { padding: 0 var(--space-5) var(--space-4); }
}
