/* Natura Partnerships — design system */
:root {
  --bg: #f5f8f8;
  --surface: #ffffff;
  --surface-2: #e8f1f0;
  --ink: #0e3a3d;
  --ink-2: #2a4f52;
  --muted: #5d7375;
  --line: #d6e3e2;
  --line-strong: #b8cdcb;
  --brand: #0e3a3d;       /* deep teal — Natura primary */
  --brand-2: #2cbfb1;     /* teal accent */
  --accent: #2cbfb1;      /* teal accent — energy */
  --accent-soft: #d4f1ed;
  --focus: #2cbfb1;
  --shadow-sm: 0 1px 2px rgba(20,30,25,.04), 0 1px 1px rgba(20,30,25,.04);
  --shadow-md: 0 6px 24px -10px rgba(20,30,25,.18), 0 2px 6px rgba(20,30,25,.04);
  --radius: 6px;
  --radius-lg: 10px;
  --maxw: 1180px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0a1f21;
  --surface: #102b2e;
  --surface-2: #163639;
  --ink: #eaf4f3;
  --ink-2: #c4d8d6;
  --muted: #8aa3a2;
  --line: #1f3c3f;
  --line-strong: #2c4f52;
  --brand: #2cbfb1;
  --brand-2: #5fd6cb;
  --accent: #2cbfb1;
  --accent-soft: #163639;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 32px -12px rgba(0,0,0,.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1f21;
    --surface: #102b2e;
    --surface-2: #163639;
    --ink: #eaf4f3;
    --ink-2: #c4d8d6;
    --muted: #8aa3a2;
    --line: #1f3c3f;
    --line-strong: #2c4f52;
    --brand: #2cbfb1;
    --brand-2: #5fd6cb;
    --accent: #2cbfb1;
    --accent-soft: #163639;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 8px 32px -12px rgba(0,0,0,.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 450; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 550; font-family: var(--font-body); letter-spacing: -.005em; }
p { margin: 0 0 1em; color: var(--ink-2); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink); font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: -.01em; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand strong { font-weight: 500; }
.brand span { color: var(--muted); font-weight: 400; }

.nav-links { display: flex; gap: 1.2rem; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink-2); font-size: .94rem; padding: .45rem .2rem;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--brand); }

.nav-cta { display: inline-flex; align-items: center; gap: .5rem; }

.icon-btn {
  appearance: none; background: transparent; border: 1px solid var(--line);
  color: var(--ink-2); width: 38px; height: 38px; border-radius: var(--radius);
  display: inline-grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .4rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-of-type { border-bottom: 0; }
  .menu-btn { display: inline-grid; }
  .nav-links .btn { margin-top: .6rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  padding: .72rem 1.1rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn.btn-primary { background: var(--brand); color: #fff; }
.btn.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.btn-secondary:hover { background: var(--surface-2); }
.btn.btn-accent { background: var(--accent); color: #fff; }
.btn.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn.btn-ghost { background: transparent; color: var(--brand); padding: .6rem .2rem; }
.btn.btn-ghost:hover { color: var(--ink); }
.btn-arrow::after { content: "→"; transition: transform .15s ease; }
.btn:hover .btn-arrow, .btn-arrow:hover::after { transform: translateX(2px); }

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-sm { padding: clamp(2rem, 4vw, 3rem) 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 1rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }

/* Hero */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { font-size: 1.22rem; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Brand lockup inside hero */
.hero-lockup { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.hero-lockup svg { width: 44px; height: 44px; }
.hero-lockup .wordmark {
  font-family: var(--font-sans);
  font-weight: 700; letter-spacing: .04em;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--brand); text-transform: uppercase;
}
.hero-divider { height: 1px; background: rgba(14,58,61,.18); margin: 0 0 1.4rem; width: 100%; max-width: 520px; }

/* Brand hero with background image + overlay */
.hero--brand {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background: #eef1ea;
  overflow: hidden;
  isolation: isolate;
}
.hero--brand .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
}
.hero--brand::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(247,244,238,.96) 0%, rgba(247,244,238,.88) 32%, rgba(247,244,238,.55) 55%, rgba(247,244,238,0) 78%);
}
@media (max-width: 880px) {
  .hero--brand::before {
    background: linear-gradient(180deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.75) 55%, rgba(247,244,238,.35) 100%);
  }
  .hero--brand .hero-bg { object-position: center; }
}
:root[data-theme="dark"] .hero--brand,
:root[data-theme="dark"] .page-head--hero { background: #0a1f21; }
:root[data-theme="dark"] .hero--brand::before {
  background: linear-gradient(90deg, rgba(10,31,33,.94) 0%, rgba(10,31,33,.85) 35%, rgba(10,31,33,.55) 60%, rgba(10,31,33,0) 82%);
}
:root[data-theme="dark"] .page-head--hero::before {
  background: linear-gradient(90deg, rgba(10,31,33,.94) 0%, rgba(10,31,33,.82) 40%, rgba(10,31,33,.45) 70%, rgba(10,31,33,0) 95%);
}
@media (max-width: 880px) {
  :root[data-theme="dark"] .hero--brand::before,
  :root[data-theme="dark"] .page-head--hero::before {
    background: linear-gradient(180deg, rgba(10,31,33,.94) 0%, rgba(10,31,33,.78) 55%, rgba(10,31,33,.4) 100%);
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero--brand,
  :root:not([data-theme="light"]) .page-head--hero { background: #0a1f21; }
  :root:not([data-theme="light"]) .hero--brand::before {
    background: linear-gradient(90deg, rgba(10,31,33,.94) 0%, rgba(10,31,33,.85) 35%, rgba(10,31,33,.55) 60%, rgba(10,31,33,0) 82%);
  }
  :root:not([data-theme="light"]) .page-head--hero::before {
    background: linear-gradient(90deg, rgba(10,31,33,.94) 0%, rgba(10,31,33,.82) 40%, rgba(10,31,33,.45) 70%, rgba(10,31,33,0) 95%);
  }
}
@media (prefers-color-scheme: dark) and (max-width: 880px) {
  :root:not([data-theme="light"]) .hero--brand::before,
  :root:not([data-theme="light"]) .page-head--hero::before {
    background: linear-gradient(180deg, rgba(10,31,33,.94) 0%, rgba(10,31,33,.78) 55%, rgba(10,31,33,.4) 100%);
  }
}
.hero--brand .hero-inner { display: block; }
.hero--brand .hero-content { max-width: 620px; }
.hero--brand h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.05; letter-spacing: -0.01em;
}
.hero--brand .eyebrow { margin-bottom: 1.4rem; }

.trust-strip {
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; color: var(--muted); font-size: .88rem;
}
.trust-strip span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-strip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); display: inline-block; }

/* Hero visual (legacy side image) */
.hero-visual {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-md);
}
.hero-visual.hero-visual--image { padding: 0; overflow: hidden; border: none; box-shadow: var(--shadow-md); }
.hero-visual.hero-visual--image img {
  width: 100%; height: 100%; min-height: 440px; max-height: 640px; object-fit: cover; display: block;
}



/* Page hero image (subpages) */
.page-hero-img {
  margin: clamp(1.4rem, 3vw, 2rem) 0 0; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 9; background: var(--surface-2);
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Full-bleed image band with overlay */
.media-band {
  position: relative; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #0f1613; color: #f4f1ea; overflow: hidden;
}
.media-band > .media-band__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .55; z-index: 0;
}
.media-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,22,19,.55), rgba(15,22,19,.78));
  pointer-events: none;
}
.media-band > .container { position: relative; z-index: 2; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.media-band h2, .media-band p, .media-band .lead { color: #f4f1ea; }
.media-band .eyebrow { color: #e29565; }

/* Inline figure inside feature-row */
.figure-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface-2); }
.figure-img img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }


/* Cards */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 1.6rem 1.5rem; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: .6rem;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card .card-cta { margin-top: auto; padding-top: .8rem; }
.card-tag {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
}

/* Audience cards */
.audience-card {
  position: relative; overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.audience-card:hover { border-color: var(--line-strong); }
.audience-card .num {
  font-family: var(--font-display); font-size: 2.2rem; color: var(--brand);
  line-height: 1; opacity: .35;
}

/* Process steps */
.steps {
  display: grid; gap: 0;
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 1.4rem 1.3rem 1.6rem;
  border: 1px solid var(--line);
  border-right: 0;
  background: var(--surface);
}
.step:last-child { border-right: 1px solid var(--line); }
@media (max-width: 1000px) {
  .step:nth-child(3n) { border-right: 1px solid var(--line); }
  .step { border-bottom: 0; }
  .step:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .step { border-right: 1px solid var(--line); border-bottom: 0; }
  .step:last-child { border-bottom: 1px solid var(--line); }
}
.step-num {
  display: inline-block; font-family: var(--font-display);
  font-size: 1.05rem; color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: .4rem; margin-bottom: .9rem; min-width: 1.6rem;
}
.step h3 { font-size: 1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Ecosystem diagram */
.eco {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem);
}

/* Why-choose split */
.why {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 800px) { .why { grid-template-columns: 1fr; } }
.why-card { border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface); }
.why-card h3 { color: var(--brand); font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin-bottom: .6rem; }
.why-card ul { margin: 0; padding-left: 1.1rem; }
.why-card li { color: var(--ink-2); margin-bottom: .35rem; font-size: .96rem; }

/* AI / Automation */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 880px) { .feature-row { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.feature-list li { padding-left: 1.7rem; position: relative; color: var(--ink-2); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}

/* CTA banner */
.cta-banner {
  background: var(--brand); color: #f4f1ea;
  border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center;
}
.cta-banner h2 { color: #fff; margin-bottom: .5rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner .btn-primary { background: #fff; color: var(--brand); }
.cta-banner .btn-primary:hover { background: var(--accent-soft); color: var(--brand); }
@media (max-width: 720px) { .cta-banner { grid-template-columns: 1fr; } }

/* FAQ */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
details.faq[open] summary { color: var(--brand); }
details.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.4rem;
  color: var(--brand); transition: transform .2s;
}
details.faq[open] summary::after { content: "−"; }
details.faq .answer { padding-top: .7rem; color: var(--ink-2); }

/* Forms */
.form-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.field label .req { color: var(--accent); margin-left: .15rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .72rem .85rem; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form-hint { color: var(--muted); font-size: .85rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); display: none; }
.form-status.success { display: block; background: color-mix(in srgb, var(--brand-2) 18%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--brand-2) 35%, transparent); }

/* Contact cards */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* Tabs (forms) */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.tab {
  background: transparent; border: 0; padding: .7rem 1rem; cursor: pointer;
  color: var(--muted); font: inherit; font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tab:hover { color: var(--ink); }
.tabpanel { display: none; }
.tabpanel.active { display: block; }

/* Footer */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--ink-2); font-size: .94rem; }
.site-footer a:hover { color: var(--brand); }
.site-footer .small { color: var(--muted); font-size: .85rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--muted); font-size: .85rem;
}

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.kicker { color: var(--brand); font-weight: 600; }

/* Page header (non-home) */
.page-head { padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }

/* Page hero with background image + overlay (matches homepage hero--brand) */
.page-head--hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: #eef1ea;
  overflow: hidden;
  isolation: isolate;
}
.page-head--hero .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
}
.page-head--hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(247,244,238,.96) 0%, rgba(247,244,238,.88) 32%, rgba(247,244,238,.55) 55%, rgba(247,244,238,0) 78%);
}
@media (max-width: 880px) {
  .page-head--hero::before {
    background: linear-gradient(180deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.78) 55%, rgba(247,244,238,.4) 100%);
  }
  .page-head--hero .hero-bg { object-position: center; }
}
.page-head--hero .hero-content { max-width: 640px; }
.page-head--hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.page-head--hero .breadcrumb { color: var(--brand); }
.breadcrumb { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

/* Prose */
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Step thumbnails */
.step-img {
  display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid var(--line);
}

/* Reversed feature row for alternating layouts */
.feature-row.reverse > :first-child { order: 2; }
.feature-row.reverse > :last-child { order: 1; }
@media (max-width: 880px) {
  .feature-row.reverse > :first-child,
  .feature-row.reverse > :last-child { order: initial; }
}

/* Image gallery grid */
.media-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .media-grid { grid-template-columns: 1fr; } }
.media-grid figure { margin: 0; }
.media-grid figure img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.media-grid figcaption {
  font-size: .85rem; color: var(--muted); margin-top: .55rem;
}

/* Wide before/after image */
.figure-wide { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.figure-wide img { width: 100%; height: auto; display: block; }
.figure-wide figcaption { padding: .8rem 1rem; background: var(--surface-2); color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }

/* Round corners on all content images by default */
main img { border-radius: var(--radius); }
