/* ARCHIVED 2026-09-29: the "Warm" look, replaced by Clean as the Stackenta design system.
   Kept complete and self-contained so it can be compared or revived. Not maintained. */
/* =====================================================================
   Stackenta design system: styles.css
   The only stylesheet. Part 1 is tokens, part 2 is components.
   Every page links this file. Nothing else defines a color, font,
   size, space, radius or shadow.
   ===================================================================== */

/* Fonts. To change a typeface: swap the family in this URL AND in the
   --font-* token below. Nothing else needs to change. */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Instrument+Serif:ital@0;1&display=swap");

/* =====================================================================
   PART 1: TOKENS
   ===================================================================== */
:root {
  /* ---------- Brand knobs (provisional, 2026-09-29) ----------------
     These few values drive every color below. Change the hue and the
     whole system re-colors, ramps included. */
  --brand-hue: 165;          /* 165 = deep green. Try 250 blue, 30 rust, 75 ochre. */
  --brand-chroma: 0.095;     /* color strength. Keep between 0.06 and 0.14. */
  --neutral-hue: 85;         /* warmth of the greys and the page ground */
  --neutral-chroma: 0.006;   /* keep tiny: whites should read as white */

  /* ---------- Typefaces (provisional) ---------- */
  --font-heading: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif; /* one italic word in a headline, never body */
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ---------- Neutral ramp (derived) ---------- */
  --color-neutral-0:   oklch(1 0 0);
  --color-neutral-50:  oklch(0.985 var(--neutral-chroma) var(--neutral-hue));
  --color-neutral-100: oklch(0.962 calc(var(--neutral-chroma) * 1.2) var(--neutral-hue));
  --color-neutral-200: oklch(0.922 calc(var(--neutral-chroma) * 1.4) var(--neutral-hue));
  --color-neutral-300: oklch(0.862 calc(var(--neutral-chroma) * 1.6) var(--neutral-hue));
  --color-neutral-400: oklch(0.715 calc(var(--neutral-chroma) * 1.8) var(--neutral-hue));
  --color-neutral-500: oklch(0.585 calc(var(--neutral-chroma) * 1.3) var(--neutral-hue));
  --color-neutral-600: oklch(0.475 calc(var(--neutral-chroma) * 1.3) var(--neutral-hue));
  --color-neutral-700: oklch(0.38 calc(var(--neutral-chroma) * 1.3) var(--neutral-hue));
  --color-neutral-800: oklch(0.29 calc(var(--neutral-chroma) * 1.3) var(--neutral-hue));
  --color-neutral-900: oklch(0.21 calc(var(--neutral-chroma) * 1.3) var(--neutral-hue));

  /* ---------- Brand ramp (derived) ---------- */
  --color-brand-50:  oklch(0.975 calc(var(--brand-chroma) * 0.15) var(--brand-hue));
  --color-brand-100: oklch(0.95 calc(var(--brand-chroma) * 0.3) var(--brand-hue));
  --color-brand-200: oklch(0.9 calc(var(--brand-chroma) * 0.5) var(--brand-hue));
  --color-brand-300: oklch(0.82 calc(var(--brand-chroma) * 0.75) var(--brand-hue));
  --color-brand-400: oklch(0.69 var(--brand-chroma) var(--brand-hue));
  --color-brand-500: oklch(0.58 var(--brand-chroma) var(--brand-hue));
  --color-brand-600: oklch(0.49 var(--brand-chroma) var(--brand-hue));
  --color-brand-700: oklch(0.41 calc(var(--brand-chroma) * 0.95) var(--brand-hue));
  --color-brand-800: oklch(0.33 calc(var(--brand-chroma) * 0.85) var(--brand-hue));
  --color-brand-900: oklch(0.25 calc(var(--brand-chroma) * 0.7) var(--brand-hue));

  /* ---------- Semantic colors: components use ONLY these ---------- */
  --color-bg: var(--color-neutral-50);            /* page ground */
  --color-surface: var(--color-neutral-100);      /* quiet section fill */
  --color-surface-raised: var(--color-neutral-0); /* cards, form fields */
  --color-text: var(--color-neutral-900);
  --color-text-muted: var(--color-neutral-600);
  --color-text-subtle: var(--color-neutral-500);  /* captions, meta; large or short text only */
  --color-border: var(--color-neutral-200);
  --color-border-strong: var(--color-neutral-300);
  --color-accent: var(--color-brand-600);         /* buttons, links, focus */
  --color-accent-hover: var(--color-brand-700);
  --color-accent-pressed: var(--color-brand-800);
  --color-accent-text: var(--color-brand-700);    /* accent-colored text at body size */
  --color-accent-subtle: var(--color-brand-100);  /* tinted fills */
  --color-accent-soft: var(--color-brand-50);     /* the lightest band, e.g. CTA section */
  --color-on-accent: var(--color-neutral-0);      /* text on accent fills */
  --color-on-photo: var(--color-neutral-0);       /* text laid over a photo */
  --color-photo-scrim: oklch(0.18 0.01 var(--neutral-hue) / 0.55);
  --color-focus: var(--color-brand-500);
  --color-success: oklch(0.52 0.12 150);
  --color-warning: oklch(0.7 0.14 75);
  --color-danger: oklch(0.55 0.18 27);

  /* ---------- Type scale (fluid between ~375px and ~1440px) ---------- */
  --text-xs: 0.75rem;                                   /* 12 */
  --text-sm: 0.875rem;                                  /* 14 */
  --text-base: 1.0625rem;                               /* 17 body */
  --text-lg: 1.25rem;                                   /* 20 lede */
  --text-xl: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  --text-2xl: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem);  /* h3 / card titles large */
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3.25rem);         /* h2 section titles */
  --text-4xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);     /* h1 page titles */
  --text-display: clamp(2.875rem, 1.7rem + 4.9vw, 6.25rem); /* homepage hero only */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.02;   /* display */
  --leading-snug: 1.15;    /* headings */
  --leading-normal: 1.6;   /* body */
  --tracking-tight: -0.025em; /* large headings */
  --tracking-wide: 0.08em;    /* eyebrows, uppercase labels */
  --measure: 64ch;            /* max line length for running text */

  /* ---------- Space (4px base) ---------- */
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.25rem;  /* 20 */
  --space-6: 1.5rem;   /* 24 */
  --space-8: 2rem;     /* 32 */
  --space-10: 2.5rem;  /* 40 */
  --space-12: 3rem;    /* 48 */
  --space-16: 4rem;    /* 64 */
  --space-20: 5rem;    /* 80 */
  --space-24: 6rem;    /* 96 */
  --space-section: clamp(4rem, 2.5rem + 6vw, 8.5rem); /* vertical padding of a page section */

  /* ---------- Layout ---------- */
  --container-max: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, 0.4rem + 3vw, 2.5rem); /* side padding, never under 16px */
  --nav-height: 72px;

  /* ---------- Radius ---------- */
  --radius-base: 10px;
  --radius-sm: calc(var(--radius-base) * 0.6);
  --radius-md: var(--radius-base);
  --radius-lg: calc(var(--radius-base) * 1.8);   /* big photos */
  --radius-pill: 999px;                          /* buttons, tags */

  /* ---------- Elevation (tinted to the ground) ---------- */
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 var(--neutral-hue) / 0.06);
  --shadow-md: 0 2px 4px oklch(0.2 0.01 var(--neutral-hue) / 0.05), 0 8px 24px oklch(0.2 0.01 var(--neutral-hue) / 0.07);
  --shadow-lg: 0 4px 8px oklch(0.2 0.01 var(--neutral-hue) / 0.05), 0 20px 48px oklch(0.2 0.01 var(--neutral-hue) / 0.12);

  /* ---------- Motion ---------- */
  --duration-fast: 140ms;
  --duration-base: 240ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* ---------- Layers ---------- */
  --z-nav: 50;
  --z-overlay: 100;
}

/* =====================================================================
   PART 2: COMPONENTS
   Everything below reads tokens. No raw colors, fonts or sizes.
   ===================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-height) + var(--space-4)); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--color-accent-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--color-accent-pressed); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--color-brand-200); color: var(--color-text); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--container-max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--space-section); }
.section-surface { background: var(--color-surface); }
.section-accent { background: var(--color-accent-soft); }
.stack { display: grid; gap: var(--space-6); }

/* ---------- Text roles ---------- */
.display {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.accent-word { font-family: var(--font-accent); font-style: italic; font-weight: var(--weight-regular); letter-spacing: -0.01em; }
.eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-text);
}
.lede { font-size: var(--text-lg); color: var(--color-text-muted); max-width: var(--measure); }
.muted { color: var(--color-text-muted); }
.caption { font-size: var(--text-sm); color: var(--color-text-subtle); }
.prose { max-width: var(--measure); display: grid; gap: var(--space-5); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
.btn-primary:active { background: var(--color-accent-pressed); }
.btn-secondary { background: var(--color-surface-raised); color: var(--color-text); border-color: var(--color-border-strong); }
.btn-secondary:hover { border-color: var(--color-text); color: var(--color-text); }
.btn-ghost { background: transparent; color: var(--color-accent-text); padding-inline: var(--space-2); }
.btn-ghost:hover { color: var(--color-accent-pressed); text-decoration: underline; }
.btn-on-photo { background: var(--color-neutral-0); color: var(--color-text); }
.btn-on-photo:hover { background: var(--color-neutral-100); color: var(--color-text); }
.btn-sm { min-height: 40px; padding: 0 var(--space-5); font-size: var(--text-sm); }
.btn-lg { min-height: 56px; padding: 0 var(--space-8); font-size: var(--text-lg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex; justify-self: start; align-self: start; align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  background: var(--color-accent-subtle); color: var(--color-accent-text);
}
.tag-neutral { background: var(--color-surface); color: var(--color-text-muted); }

/* ---------- Navigation (sticky, Book a call always visible) ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in oklch, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--nav-height); }
.nav-brand { font-family: var(--font-heading); font-weight: var(--weight-bold); font-size: var(--text-xl); letter-spacing: -0.02em; color: var(--color-text); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--color-text); text-decoration: none; font-weight: var(--weight-medium); font-size: var(--text-base); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-accent-text); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Hero (Clearleft structure + Square-size photo) ---------- */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) var(--space-12); }
.hero-copy { display: grid; gap: var(--space-6); max-width: 18ch; }
.hero-copy .display { max-width: 16ch; }
.hero-text { display: grid; gap: var(--space-6); }
.hero-sub { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.hero-media { margin-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 16 / 8; }
.photo-landscape { aspect-ratio: 4 / 3; }
.photo-portrait { aspect-ratio: 4 / 5; }
.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-12) var(--space-6) var(--space-5);
  background: linear-gradient(to top, var(--color-photo-scrim), transparent);
  color: var(--color-on-photo);
  font-size: var(--text-sm); line-height: 1.4;
}
.photo-caption strong { display: block; font-size: var(--text-base); font-weight: var(--weight-semibold); }
/* Placeholder until a real photo is chosen. Label says what goes there. */
.photo-slot {
  display: grid; place-items: center; text-align: center;
  padding: var(--space-6);
  background: repeating-linear-gradient(135deg, var(--color-surface) 0 12px, var(--color-neutral-200) 12px 13px);
  color: var(--color-text-muted);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em;
}
@media (max-width: 640px) { .photo-wide { aspect-ratio: 4 / 3; } }

/* ---------- Section head ---------- */
.section-head { display: grid; gap: var(--space-4); max-width: 44rem; margin-bottom: var(--space-12); }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Add-on card (Toast-style image card, neutral) ---------- */
.addon-card {
  display: flex; flex-direction: column;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit; text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.addon-card .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.addon-card-body { display: grid; gap: var(--space-2); padding: var(--space-5) var(--space-6) var(--space-6); }
.addon-card-title { font-size: var(--text-xl); }
.addon-card-text { color: var(--color-text-muted); }

/* ---------- Work card (Faire-style: real client, named, with a place) ---------- */
.work-card { display: grid; gap: var(--space-4); }
.work-card .photo { aspect-ratio: 4 / 3; }
.work-card-quote { font-size: var(--text-lg); line-height: 1.45; }
.work-card-result { font-weight: var(--weight-semibold); }

/* ---------- Steps (real sequences only: discover, systematize, automate) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: var(--space-3); padding-top: var(--space-6); border-top: 2px solid var(--color-text); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-accent-text); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Audience list (starting fresh / fixing / leveling up) ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.audience-item { display: grid; gap: var(--space-3); padding: var(--space-8); background: var(--color-surface-raised); border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
@media (max-width: 860px) { .audience { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ (direct answer first, per the SEO/AEO guide) ---------- */
.faq { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-6);
  padding: var(--space-6) 0;
  cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); font-weight: var(--weight-regular); color: var(--color-accent-text); font-size: var(--text-2xl); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding-bottom: var(--space-6); max-width: var(--measure); color: var(--color-text-muted); display: grid; gap: var(--space-3); }
.faq-answer p:first-child { color: var(--color-text); }

/* ---------- CTA band (every page ends with one) ---------- */
.cta-band { background: var(--color-accent-soft); border-radius: var(--radius-lg); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; gap: var(--space-8); }
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin-top: var(--space-4); color: var(--color-text-muted); max-width: 44ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- Letter (About page, signed by both partners) ---------- */
.letter {
  max-width: 44rem; margin-inline: auto;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 1rem + 5vw, 4.5rem);
  display: grid; gap: var(--space-5);
  font-size: var(--text-lg); line-height: 1.65;
}
.letter-greeting { font-weight: var(--weight-semibold); }
.letter-signatures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-4); }
.signature { display: grid; gap: var(--space-1); }
.signature-name { font-family: var(--font-accent); font-style: italic; font-size: var(--text-2xl); line-height: 1.1; }
.signature-role { font-size: var(--text-sm); color: var(--color-text-subtle); }

/* ---------- Forms (booking) ---------- */
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.field-hint { font-size: var(--text-sm); color: var(--color-text-subtle); }
.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font: inherit; color: var(--color-text);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.textarea { min-height: 128px; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--color-neutral-400); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-brand-200); }
.input[aria-invalid="true"] { border-color: var(--color-danger); }
.field-error { font-size: var(--text-sm); color: var(--color-danger); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--color-border); padding-block: var(--space-16) var(--space-10); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: var(--space-10); }
.footer h4 { font-size: var(--text-sm); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-text-subtle); margin-bottom: var(--space-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer a { color: var(--color-text); text-decoration: none; }
.footer a:hover { color: var(--color-accent-text); }
.footer-base { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); color: var(--color-text-subtle); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile menu (under 860px the nav links collapse into this) ---------- */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
  background: var(--color-surface-raised); color: var(--color-text);
  font: inherit; font-size: var(--text-sm); font-weight: var(--weight-semibold);
  cursor: pointer;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-menu { display: none; border-top: 1px solid var(--color-border); padding-block: var(--space-4) var(--space-6); }
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.nav-menu a { display: block; padding: var(--space-3) 0; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--color-text); text-decoration: none; }
.nav[data-open="true"] .nav-menu { display: block; }
@media (max-width: 860px) { .nav-toggle { display: inline-flex; } }
@media (min-width: 861px) { .nav-menu { display: none !important; } }

/* ---------- Scroll-in animation ----------
   Content is visible by default. Only when the page script adds .motion to <html>
   do [data-reveal] elements start hidden and fade up as they enter the screen. */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] {
    opacity: 0; transform: translateY(18px);
    transition:
      opacity 700ms var(--ease-out), transform 700ms var(--ease-out),
      translate var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out),
      border-color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }
  /* Once revealed, the page script adds .done so hover effects respond with no stagger delay. */
  .motion [data-reveal].done { transition-delay: 0ms; }
  /* Hero photo settles in slightly, like a camera finishing its focus. */
  .motion .hero-media img { transform: scale(1.04); transition: transform 1600ms var(--ease-out); }
  .motion .hero-media.is-in img { transform: scale(1); }
}

/* ---------- Page header (inner pages) ---------- */
.page-header { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--space-8); }
.page-header .lede { margin-top: var(--space-5); }

/* ---------- Article (Resources) ---------- */
.article { max-width: var(--measure); margin-inline: auto; display: grid; gap: var(--space-5); font-size: var(--text-lg); line-height: 1.7; }
.article h2 { font-size: var(--text-2xl); margin-top: var(--space-8); }
.article h3 { margin-top: var(--space-4); }
.article ul, .article ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2); }
.article-meta { font-size: var(--text-sm); color: var(--color-text-subtle); }
.resource-list { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.resource-link { display: grid; gap: var(--space-2); padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-raised); color: inherit; text-decoration: none; transition: border-color var(--duration-fast) var(--ease-out); }
.resource-link:hover { border-color: var(--color-border-strong); color: inherit; }
.resource-link h2 { font-size: var(--text-xl); }

/* ---------- Two-column text block ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-12); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Calendly embed frame ---------- */
.booking-frame { min-height: 700px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-raised); overflow: hidden; }
.booking-fallback { padding: var(--space-8); display: grid; gap: var(--space-4); justify-items: start; }

/* =====================================================================
   Hover and press states
   Small and quick (under 300ms). Hover effects only run on devices with a real
   pointer, so phones never get stuck in a hover state. Lifts use the `translate`
   property so they don't fight the scroll-in animation, which uses `transform`.
   ===================================================================== */
.btn { transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), translate var(--duration-base) var(--ease-out), scale var(--duration-fast) var(--ease-out); }
.btn:active { scale: 0.97; }
.addon-card .photo img, .work-card .photo img, .audience-item, .resource-link { transition: scale 600ms var(--ease-out), translate var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.faq-item summary::after { transition: rotate var(--duration-base) var(--ease-out); }
@keyframes faq-open { from { opacity: 0; translate: 0 -6px; } }
@media (prefers-reduced-motion: no-preference) { .faq-item[open] .faq-answer { animation: faq-open var(--duration-base) var(--ease-out); } }

@media (hover: hover) and (pointer: fine) {
  /* Buttons lift a pixel; primary gets a soft shadow in its own color. */
  .btn-primary:hover { translate: 0 -1px; box-shadow: 0 6px 18px color-mix(in oklch, var(--color-accent) 30%, transparent); }
  .btn-secondary:hover, .btn-on-photo:hover { translate: 0 -1px; box-shadow: var(--shadow-md); }

  /* Nav and footer links: an underline slides in from the left. */
  .nav-links a, .footer a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--duration-base) var(--ease-out), color var(--duration-fast) var(--ease-out); padding-bottom: 2px; }
  .nav-links a:hover, .footer a:hover { background-size: 100% 1px; }
  .nav-brand { transition: opacity var(--duration-fast) var(--ease-out); }
  .nav-brand:hover { opacity: 0.7; }

  /* Cards rise and their image slowly zooms. */
  .addon-card:hover, .audience-item:hover, .resource-link:hover { translate: 0 -4px; box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
  .addon-card:hover .photo img, .work-card:hover .photo img { scale: 1.04; }

  /* Steps: the top rule turns accent color on hover. */
  .step { transition: border-color var(--duration-base) var(--ease-out); }
  .step:hover { border-top-color: var(--color-accent); }

  /* FAQ question darkens slightly; its plus sign turns. */
  .faq-item summary { transition: color var(--duration-fast) var(--ease-out); }
  .faq-item summary:hover { color: var(--color-accent-text); }
  .faq-item:not([open]) summary:hover::after { rotate: 90deg; }

  /* Resource links: the title nudges right. */
  .resource-link h2 { transition: translate var(--duration-base) var(--ease-out); }
  .resource-link:hover h2 { translate: 4px 0; }

  /* Big photos breathe a little under the cursor. */
  .hero-media, .split > .photo { overflow: hidden; }
  .hero-media img, .split > .photo img { transition: scale 1200ms var(--ease-out); }
  .hero-media:hover img, .split > .photo:hover img { scale: 1.02; }
}

/* Markup hooks that belong to Clean: hidden in Warm. */
.photo-stack, .nav-menu-label, .nav-menu-foot { display: none; }
