/* ==========================================================================
   Vanaprastha by Namrata Arora — styles.css
   Static stylesheet. Edit colours, type and spacing in the :root tokens.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --ivory: #f7f3ea;
  --ivory-deep: #f1ebdf;
  --stone: #e6dfd0;
  --stone-line: #d6cdbb;
  --sage-wash: #e3e8da;
  --sage: #c9d3bd;
  --sage-deep: #8fa185;
  --forest: #2f4a3a;
  --forest-deep: #22382b;
  --ink: #26302a;
  --ink-soft: #4a554d;
  --ochre: #b5873a;
  --ochre-text: #855f1c; /* AA on ivory */
  --white: #fffdf8;

  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-small: 0.9375rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.875rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);
  --lh-body: 1.65;

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --measure: 40rem;
  --container: 72rem;

  /* Shape */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;
  --radius-organic: 46% 54% 52% 48% / 40% 44% 56% 60%;
  --shadow-soft: 0 1px 2px rgba(38, 48, 42, 0.05), 0 8px 28px rgba(38, 48, 42, 0.07);

  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest-deep);
  margin: 0 0 var(--space-3);
  font-variation-settings: "SOFT" 50;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; margin-bottom: var(--space-1); }

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--space-3); }

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover { color: var(--ochre-text); }

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

em { font-style: italic; }
strong { font-weight: 600; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }

.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 {
  position: absolute;
  left: var(--space-2);
  top: -4rem;
  z-index: 100;
  background: var(--forest);
  color: var(--ivory);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-2); color: var(--ivory); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-text);
  margin-bottom: var(--space-2);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink);
}

.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-small); }

.note {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  border-left: 3px solid var(--sage-deep);
  padding: 0.25rem 0 0.25rem 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-primary { background: var(--forest); color: var(--ivory); }
.btn-primary:hover { background: var(--forest-deep); color: var(--white); transform: translateY(-1px); }
.btn-ghost { color: var(--forest); border-color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--forest-deep); }
.btn-light:hover { background: var(--white); color: var(--forest-deep); transform: translateY(-1px); }
.btn .ext { font-size: 0.85em; opacity: 0.85; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--stone-line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--forest-deep);
  line-height: 1;
}
.wordmark-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.wordmark-by {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.wordmark:hover { color: var(--forest); }

.nav-toggle { display: none; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1.5px solid transparent;
}
.primary-nav a:hover { color: var(--forest); border-bottom-color: var(--sage-deep); }
.primary-nav a.is-current { color: var(--forest); border-bottom-color: var(--ochre); }
.primary-nav .nav-cta {
  padding: 0.6rem 1.15rem;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 600;
}
.primary-nav .nav-cta:hover,
.primary-nav .nav-cta.is-current { background: var(--forest); color: var(--ivory); border-bottom-color: var(--forest); }

@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.9rem;
    border: 1.5px solid var(--stone-line);
    border-radius: 999px;
    background: var(--white);
    color: var(--forest-deep);
    font: 600 0.9375rem/1 var(--font-sans);
    cursor: pointer;
  }
  .nav-toggle-bars { position: relative; width: 18px; height: 12px; }
  .nav-toggle-bars span {
    position: absolute; left: 0; width: 100%; height: 1.5px;
    background: currentColor; border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
  }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 5px; }
  .nav-toggle-bars span:nth-child(3) { top: 10px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

  /* With JS: collapsible panel */
  .js .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--stone-line);
    box-shadow: 0 14px 30px rgba(38, 48, 42, 0.08);
    padding: var(--space-2) var(--gutter) var(--space-4);
  }
  .js .primary-nav[hidden] { display: none; }
  .js .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .primary-nav li { border-bottom: 1px solid var(--stone); }
  .js .primary-nav li:last-child { border-bottom: 0; padding-top: var(--space-3); }
  .js .primary-nav a { display: block; padding: 0.95rem 0; font-size: 1.125rem; border-bottom: 0; }
  .js .primary-nav .nav-cta { text-align: center; padding: 0.85rem 1rem; border-bottom: 1.5px solid var(--forest); }

  /* Without JS: links simply wrap below the wordmark */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .primary-nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  html:not(.js) .site-header { position: static; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); overflow-x: clip; }
.section-tight { padding-block: calc(var(--space-section) * 0.7); }
.section-sage { background: var(--sage-wash); }
.section-stone { background: var(--ivory-deep); }
.section-forest { background: var(--forest); color: var(--ivory); }
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-forest .eyebrow { color: #e3c48a; }
.section-forest a:not(.btn) { color: var(--white); }
.section-forest .lead { color: var(--white); }

.section-head { margin-bottom: var(--space-5); }
.section-head.center { text-align: center; max-width: 44rem; }

.split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split-wide-text { grid-template-columns: 1.15fr 0.85fr; }
  .split-reverse > :first-child { order: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 2.5rem + 7vw, 9rem) clamp(4rem, 3rem + 5vw, 7.5rem);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-organic);
  pointer-events: none;
}
.hero::before {
  width: min(58vw, 46rem);
  aspect-ratio: 1;
  right: -14vw;
  top: -10rem;
  background: var(--sage-wash);
}
.hero::after {
  width: min(26vw, 18rem);
  aspect-ratio: 1;
  right: 10vw;
  bottom: -5rem;
  background: rgba(181, 135, 58, 0.12);
  border-radius: 58% 42% 46% 54% / 52% 60% 40% 48%;
}
.hero-inner { position: relative; max-width: 50rem; }
.hero h1 { margin-bottom: var(--space-4); }
.hero h1 em { color: var(--forest); font-weight: 300; }
.hero .lead { max-width: 40rem; }
.hero .btn-row { margin-top: var(--space-4); }
.hero-footnote { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- Media ---------- */
.media {
  margin: 0;
  position: relative;
}
.media img {
  width: 100%;
  border-radius: var(--radius-l);
  background: var(--sage);
  object-fit: cover;
}
.media-organic { max-width: 30rem; margin-inline: auto; }
.media-organic img { border-radius: 999px 999px var(--radius-l) var(--radius-l); aspect-ratio: 4 / 5; }
.media-wide img { aspect-ratio: 3 / 2; }
.media figcaption {
  margin-top: var(--space-2);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.media-accent::before {
  content: "";
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 45%;
  height: 45%;
  border-radius: var(--radius-l);
  background: var(--sage);
  z-index: -1;
}

/* ---------- Lists with soft markers ---------- */
.soft-list { list-style: none; padding: 0; }
.soft-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}
.soft-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--sage-deep);
}
.soft-list.ochre li::before { background: var(--ochre); }

/* ---------- "Is not / is" comparison ---------- */
.meaning-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
@media (min-width: 640px) { .meaning-grid { grid-template-columns: 1fr 1fr; } }
.meaning-card {
  border-radius: var(--radius-m);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--stone);
}
.meaning-card h3 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
}
.meaning-card.is { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.meaning-card.is h3 { color: #e3c48a; }
.meaning-card.is p { font-family: var(--font-serif); font-size: 1.3125rem; line-height: 1.45; }
.meaning-card ul { list-style: none; padding: 0; margin: 0; }
.meaning-card li { padding: 0.45rem 0; border-bottom: 1px solid var(--stone); color: var(--ink-soft); }
.meaning-card li:last-child { border-bottom: 0; }

/* ---------- Pull quote / emphasis ---------- */
.pull {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  line-height: 1.4;
  color: var(--forest-deep);
  font-weight: 300;
  border-left: 3px solid var(--ochre);
  padding-left: var(--space-3);
  margin: var(--space-4) 0;
}

/* ---------- Questions ---------- */
.questions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: q;
}
@media (min-width: 640px) { .questions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .questions { grid-template-columns: repeat(3, 1fr); } }
.questions li {
  counter-increment: q;
  position: relative;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
  padding: var(--space-4) var(--space-4) var(--space-4);
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  line-height: 1.4;
  color: var(--forest-deep);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.questions li::before {
  content: counter(q, decimal-leading-zero);
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ochre-text);
  margin-bottom: var(--space-2);
}
.questions li:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--sage); }
.questions li:nth-child(3n + 2) { border-radius: var(--radius-m) var(--radius-l) var(--radius-m) var(--radius-m); }
.questions-tag {
  margin-top: var(--space-4);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Format facts (the circle) ---------- */
.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: var(--space-2);
}
.facts li {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(247, 243, 234, 0.22);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.facts strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.facts span { font-size: var(--fs-small); color: #dfe5d8; }
.section-forest .muted, .section-forest .note { color: #dfe5d8; }
.section-forest .note { border-left-color: #e3c48a; }
.section-forest .soft-list li::before { background: #e3c48a; }

/* ---------- Three themes ---------- */
.themes {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
}
@media (min-width: 800px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.theme {
  padding: var(--space-4);
  border-radius: var(--radius-l);
  background: var(--sage-wash);
}
.theme:nth-child(2) { background: var(--ivory-deep); }
.theme:nth-child(3) { background: #efe6d3; }
.theme-num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-serif);
  color: var(--forest);
  margin-bottom: var(--space-2);
}
.theme p { margin: 0; }

.two-col {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }

.callout {
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--stone);
  padding: var(--space-4);
}
.callout h3 { margin-bottom: var(--space-2); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  position: relative;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 var(--space-4) 4.25rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -0.2rem;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--sage-deep);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--forest);
}
.steps li::after {
  content: "";
  position: absolute;
  left: calc(1.375rem - 0.75px);
  top: 2.75rem;
  bottom: 0.25rem;
  width: 1.5px;
  background: var(--sage);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); }

@media (min-width: 1000px) {
  .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
  .steps li { padding: 4rem 0 0; }
  .steps li::before { top: 0; }
  .steps li::after { left: 3.25rem; right: -0.25rem; top: 1.375rem; bottom: auto; width: auto; height: 1.5px; }
}

.reassure {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-l);
  padding: var(--space-4);
}
.reassure p { margin: 0; max-width: 38rem; font-size: var(--fs-lead); font-family: var(--font-serif); color: var(--forest-deep); line-height: 1.45; }

/* ---------- Pathway cards ---------- */
.pathways {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 860px) { .pathways { grid-template-columns: 1fr 1fr; } }
.pathway {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

/* ---------- About ---------- */
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 var(--space-4);
}
.roles li {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--sage-wash);
  font-size: var(--fs-small);
  color: var(--forest-deep);
}
.longevity {
  margin-top: var(--space-4);
  background: var(--ivory-deep);
  border-radius: var(--radius-m);
  padding: var(--space-4);
}
.longevity h3 { margin-bottom: var(--space-2); }

/* ---------- Work / credentials ---------- */
.cred-grid {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
@media (min-width: 900px) { .cred-grid { grid-template-columns: 0.9fr 1.1fr; } }
.cred-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.cred-card h3 { margin-bottom: var(--space-3); }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--stone); }
.link-list li:first-child { padding-top: 0; }
.link-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.link-list a { font-weight: 600; }
.link-list .meta {
  display: block;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.link-list .kind {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre-text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

a[target="_blank"]:not(.btn)::after {
  content: "\2197";
  display: inline-block;
  margin-left: 0.25em;
  font-size: 0.8em;
  text-decoration: none;
  opacity: 0.7;
}

.work-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.work-list li { padding: var(--space-3) 0; border-top: 1px solid var(--stone-line); }
.work-list h3 { font-size: 1.1875rem; margin-bottom: 0.25rem; }
.work-list p { color: var(--ink-soft); margin: 0; }

.zemyna-figure img { aspect-ratio: 16 / 10; object-position: top center; border-radius: var(--radius-m); border: 1px solid var(--stone); }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  gap: var(--space-3);
  align-items: start;
}
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial blockquote {
  margin: 0 0 var(--space-3);
  position: relative;
  font-size: 1.0625rem;
}
.testimonial blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.8;
  height: 1.6rem;
  color: var(--ochre);
}
.testimonial blockquote p { margin-bottom: var(--space-2); }
.testimonial figcaption {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--stone);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.45;
}
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--forest-deep); font-size: 1rem; margin-bottom: 0.2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--stone-line);
}
.faq details:first-of-type { border-top: 1px solid var(--stone-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 1.25rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  color: var(--forest-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--sage-deep);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--forest);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq details[open] summary::after { content: "\2013"; background: var(--sage-wash); }
.faq summary:hover { color: var(--forest); }
.faq .answer { padding: 0 3rem 1.5rem 0; color: var(--ink-soft); }

/* ---------- Closing invitation ---------- */
.closing {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) { .closing { grid-template-columns: 1.1fr 0.9fr; } }
.closing h2 { color: var(--white); }
.closing .media img { border-radius: var(--radius-l); aspect-ratio: 3 / 2; }

.disclaimer {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(247, 243, 234, 0.22);
  font-size: var(--fs-small);
  color: #dfe5d8;
  max-width: 50rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #dfe5d8;
  padding-block: var(--space-5);
  font-size: var(--fs-small);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #e3c48a; }
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark-by { color: #c5cfbe; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 0; }

/* ---------- Reveal (progressive enhancement only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Privacy page ---------- */
.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding-block: var(--space-6) var(--space-section);
}
.legal h1 { font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin-top: var(--space-5); margin-bottom: var(--space-2); }
.legal .updated { color: var(--ink-soft); font-size: var(--fs-small); }
.back-link { display: inline-block; margin-bottom: var(--space-4); font-weight: 600; }

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .btn, .media { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .section-forest { background: #fff !important; color: #000; padding-block: 1.5rem; }
  .section-forest h2, .section-forest h3 { color: #000; }
}
