/* ============================================================
   GARMES WELLBEING - styles.css
   Palette + type pulled 1:1 from garmeswellbeing.com
   Display: Anton / Body: Epilogue
   ============================================================ */

:root {
  --green:       #0f3e2e;
  --green-deep:  #0a2e22;
  --cream:       #f7f5ed;
  --grey:        #bdbdbd;
  --grey-soft:   #c9c9c7;
  --ink:         #212121;
  --error:       #e8a288;
  /* Muted tones - kept >=4.5:1 contrast on their backgrounds (WCAG AA) */
  --ink-soft:    rgba(33, 33, 33, .72);
  --cream-70:    rgba(247, 245, 237, .78);
  --cream-40:    rgba(247, 245, 237, .4);
  --cream-25:    rgba(247, 245, 237, .25);
  --cream-16:    rgba(247, 245, 237, .16);

  /* Work-energy badge palette — distinct earthy tones, all dark enough for
     white icons/labels (>=4.5:1), anchored by the brand green */
  --e-nutrition: #0f3e2e;  /* deep green */
  --e-movement:  #a5542f;  /* rust / terracotta */
  --e-mind:      #846a24;  /* ochre gold */
  --e-emotions:  #94495a;  /* clay rose */
  --e-insight:   #1f6157;  /* teal */
  --e-rest:      #5c6d3a;  /* olive sage */

  /* Rounded flat-top hexagon, used as a mask so corners aren't sharp */
  --hex-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 184'%3E%3Cpath fill='%23fff' d='M72 0 L128 0 Q150 0 160.5 19.3 L189.5 72.7 Q200 92 189.5 111.3 L160.5 164.7 Q150 184 128 184 L72 184 Q50 184 39.5 164.7 L10.5 111.3 Q0 92 10.5 72.7 L39.5 19.3 Q50 0 72 0 Z'/%3E%3C/svg%3E");

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Epilogue", "Segoe UI", sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --section-pad: clamp(84px, 12vw, 150px);
  --page-top: clamp(150px, 20vw, 230px); /* clears the fixed header on subpages */

  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --dur: .9s;

  --radius-pill: 999px;
  --radius-card: 4px;
  --radius-blob: clamp(48px, 10vw, 120px);
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* JS inertia drives the easing; native smooth would double-ease */
html.has-inertia { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--grey);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

a, button { touch-action: manipulation; }

/* Skip link (a11y) */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  background: var(--green);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .3s var(--ease-out);
}

.skip-link:focus-visible { transform: none; }

/* Skip target receives focus programmatically; no ring needed on the container */
main[tabindex="-1"]:focus { outline: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  /* Keep content clear of notches / curved edges */
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

/* Display type */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.04;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.4em;
}

::selection { background: var(--green); color: var(--cream); }

/* Screen-reader-only text */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Netlify honeypot field */
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 38px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color .35s var(--ease-out),
              color .35s var(--ease-out),
              border-color .35s var(--ease-out),
              transform .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 46, 34, .18); }
.btn:active { transform: translateY(0); }

.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--green); color: var(--cream); }

.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-deep); color: var(--cream); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .45s var(--ease-out),
              color .45s var(--ease-out),
              box-shadow .45s var(--ease-out),
              transform .45s var(--ease-out);
  color: var(--cream);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(247, 245, 237, .08);
}

.site-header.is-scrolled .header-inner { padding-block: 16px; }

.site-header.is-hidden { transform: translateY(-100%); }

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-desktop { display: flex; gap: 36px; }

.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
  padding-block: 4px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  color: inherit;
  z-index: 130;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s;
}

.burger span + span { margin-top: 7px; }

.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility 0s .5s;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease-out);
}

.menu-overlay nav { display: flex; flex-direction: column; gap: 8px; text-align: center; }

.menu-overlay a {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 64px);
  text-transform: uppercase;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.menu-overlay.is-open a { opacity: 1; transform: none; }
.menu-overlay.is-open a:nth-child(1) { transition-delay: .1s; }
.menu-overlay.is-open a:nth-child(2) { transition-delay: .18s; }
.menu-overlay.is-open a:nth-child(3) { transition-delay: .26s; }
.menu-overlay.is-open a:nth-child(4) { transition-delay: .34s; }

@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.is-loaded .hero-bg img {
  transform: scale(1.02);
  transition: transform 9s var(--ease-out);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 30, 22, .45) 0%, rgba(10, 30, 22, .32) 45%, rgba(10, 30, 22, .55) 100%);
}

.hero-content {
  padding: 140px var(--pad) 90px;
  max-width: 980px;
}

.hero h1 {
  font-size: clamp(44px, 8.2vw, 104px);
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line > span { display: block; }

/* Entrance states only apply when JS is on (html.js) — no-JS keeps content visible */
.js .hero h1 .line > span { transform: translateY(110%); }

.is-loaded .hero h1 .line > span {
  transform: none;
  transition: transform 1.1s var(--ease-out);
}

.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  max-width: 520px;
  margin: 28px auto 40px;
}

.js .hero-sub { opacity: 0; transform: translateY(18px); }

.js .hero .btn { opacity: 0; transform: translateY(18px); }

.is-loaded .hero-sub,
.is-loaded .hero .btn {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out) .45s, transform .9s var(--ease-out) .45s,
              background-color .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  translate: -50% 0;
  width: 1px;
  height: 56px;
  background: var(--cream-40);
  overflow: hidden;
}

.scroll-hint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scrollHint 2.2s var(--ease-out) infinite;
}

@keyframes scrollHint {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- Section scaffolding ---------- */

.section { padding-block: clamp(84px, 12vw, 150px); }

.section--green { background: var(--green); color: var(--cream); }
.section--grey  { background: var(--grey); color: var(--ink); }
.section--cream { background: var(--cream); color: var(--ink); }

.section-heading {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ---------- Services teaser (home) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.card { display: block; }

.card-media {
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 3 / 4;
  background: var(--grey-soft);
}

.card--tall .card-media { aspect-ratio: 3 / 4.6; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.card:hover .card-media img { transform: scale(1.06); }

.card-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-title .arrow {
  font-family: var(--font-body);
  transition: transform .4s var(--ease-out);
}

.card:hover .card-title .arrow { transform: translateX(6px); }

.card-price {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; align-items: start; }
  .card--tall .card-media { aspect-ratio: 3 / 4; }
}

/* ---------- Process (home) ---------- */

.process-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.steps { display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding-block: 26px;
  border-top: 1px solid var(--cream-16);
}

.step:last-child { border-bottom: 1px solid var(--cream-16); }

.step-num {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  color: var(--cream-70);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream-70);
}

.process-media {
  border-radius: var(--radius-blob);
  overflow: hidden;
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 1s var(--ease-out), transform 1.4s var(--ease-out);
}

.process-media:hover img { filter: grayscale(0); transform: scale(1.03); }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-media { order: -1; max-height: 420px; }
}

/* ---------- Work-energy badges ---------- */

.energy-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 18px;
}

/* Badges scroll in a continuous marquee at the bottom of the section */
.badge-marquee-band {
  margin-top: clamp(40px, 6vw, 64px);
  overflow: hidden;
  /* vertical padding so the elevation shadow + hover-lift aren't clipped */
  padding-block: 26px 34px;
}

.badge-marquee {
  display: flex;
  /* Default (no JS): a static, centered, wrapped row */
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  row-gap: 26px;
}

/* With JS the badges are duplicated in main.js and scroll as one line.
   main.js also sets the animation-duration to keep a constant speed. */
.js .badge-marquee {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  row-gap: 0;
  animation: badgeMarquee 44s linear infinite;
}

@keyframes badgeMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.badge {
  flex: 0 0 auto;
  /* each badge owns its trailing gap so the -50% loop stays seamless */
  margin-right: clamp(22px, 3vw, 46px);
  /* Soft, consistent elevation — reads as depth, not a hard drop shadow */
  filter: drop-shadow(0 9px 14px rgba(22, 28, 20, .22)) drop-shadow(0 2px 4px rgba(22, 28, 20, .15));
}

.badge-hex {
  width: 132px;
  aspect-ratio: 200 / 184;
  /* Top-lit gradient gives the flat color a soft, tactile clay finish */
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--c, var(--green)) 84%, white) 0%,
    var(--c, var(--green)) 48%,
    color-mix(in srgb, var(--c, var(--green)) 82%, black) 100%);
  -webkit-mask: var(--hex-mask) center / contain no-repeat;
  mask: var(--hex-mask) center / contain no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--cream);
  transition: transform .45s var(--ease-out);
}

.badge:hover .badge-hex { transform: translateY(-7px); }

.badge-hex svg {
  width: 38px;
  height: auto;
  stroke: var(--cream);
}

.badge-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.energy-cta {
  text-align: center;
  margin-top: clamp(18px, 2.5vw, 30px);
}

/* ---------- Contact section / form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.contact-copy .section-heading { margin-bottom: 24px; }

.contact-copy p {
  color: var(--cream-70);
  max-width: 420px;
  font-size: 17px;
}

.contact-email-line {
  margin-top: 36px;
  font-size: 15px;
  color: var(--cream-70);
}

.contact-email-line a {
  color: var(--cream);
  border-bottom: 1px solid var(--cream-40);
  transition: border-color .3s;
}

.contact-email-line a:hover { border-color: var(--cream); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 9px;
  color: var(--cream-70);
}

.field label .req { color: var(--cream-40); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--cream);
  background: rgba(247, 245, 237, .05);
  border: 1px solid var(--cream-25);
  border-radius: 14px;
  padding: 15px 18px;
  transition: border-color .3s, background-color .3s;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(247, 245, 237, .09);
}

.field input.is-invalid,
.field textarea.is-invalid { border-color: var(--error); }

.field-error {
  display: block;
  font-size: 13px;
  color: var(--error);
  margin-top: 7px;
  min-height: 0;
}

.form-status {
  margin-top: 18px;
  font-size: 15px;
  color: var(--cream);
  min-height: 1.4em;
}

/* Submit button busy state */
.btn.is-busy {
  pointer-events: none;
  opacity: .7;
  position: relative;
}

.btn.is-busy::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btnSpin .7s linear infinite;
}

@keyframes btnSpin { to { transform: rotate(360deg); } }

.form-success {
  border: 1px solid var(--cream-25);
  border-radius: 14px;
  padding: 40px 34px;
  text-align: center;
}

.form-success h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: 10px;
}

.form-success p { margin: 0; color: var(--cream-70); }

[hidden] { display: none !important; }

/* Trims the top section padding to sit flush under a preceding grey block */
.section--flush { padding-bottom: var(--section-pad); }

/* Contact page: full-height green section under the fixed header */
.contact-page {
  padding-top: var(--page-top);
  min-height: 100svh;
}

/* Thank-you page: centered confirmation */
.thanks { display: flex; align-items: center; }
.thanks .container { text-align: center; }
.thanks h1 { margin-bottom: 24px; }
.thanks-lede { color: var(--cream-70); max-width: 440px; margin: 0 auto 36px; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  padding: var(--page-top) 0 clamp(56px, 8vw, 96px);
}

.page-hero h1 {
  font-size: clamp(52px, 9vw, 120px);
}

.page-hero .lede {
  max-width: 640px;
  font-size: clamp(17px, 2vw, 20px);
  margin-top: 28px;
  color: var(--ink);
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.about-media {
  border-radius: var(--radius-blob);
  overflow: hidden;
  position: sticky;
  top: 110px;
  aspect-ratio: 3 / 4; /* reserve space -> no layout shift while the photo loads */
}

.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-copy p { margin-bottom: 1.4em; }

.about-copy .lead {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.5;
  font-weight: 500;
}

.about-copy .btn { margin-top: 10px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; max-width: 440px; }
}

.approach-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(36px, 5vw, 56px);
}

.approach-card {
  border: 1px solid rgba(247, 245, 237, .18);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  transition: background-color .5s var(--ease-out), transform .5s var(--ease-out);
}

.approach-card:hover { background: rgba(247, 245, 237, .05); transform: translateY(-4px); }

.approach-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 14px;
}

.approach-card p { margin: 0; color: var(--cream-70); }

.approach-intro { max-width: 620px; color: var(--cream-70); font-size: 18px; }

@media (max-width: 700px) {
  .approach-cards { grid-template-columns: 1fr; }
}

/* ---------- Services page ---------- */

.service-rows { display: grid; gap: clamp(56px, 8vw, 96px); }

.service-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.service-row:nth-child(even) .service-media { order: 2; }

.service-media {
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
}

.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.service-row:hover .service-media img { transform: scale(1.05); }

.service-body h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 16px;
}

.service-body p { max-width: 520px; margin-bottom: 28px; }

@media (max-width: 820px) {
  .service-row,
  .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
}

/* ---------- Legal / prose ---------- */

.prose { max-width: 720px; }

.prose .updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 8px;
}

.prose h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 44px 0 14px;
}

.prose h2:first-of-type { margin-top: 0; }

.prose p, .prose li { font-size: 16px; line-height: 1.75; }

.prose ul { padding-left: 1.15em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }

.prose a {
  border-bottom: 1px solid var(--ink);
  transition: opacity .3s;
}
.prose a:hover { opacity: .55; }

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 780px;
  border-top: 1px solid rgba(33, 33, 33, .16);
}

.faq-item { border-bottom: 1px solid rgba(33, 33, 33, .16); }

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  padding: 26px 48px 26px 0;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform .4s var(--ease-out);
}

.faq-q[aria-expanded="true"]::after { transform: rotate(135deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease-out);
}

.faq-a-inner {
  padding: 0 48px 28px 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.75;
}

.faq-a-inner a { border-bottom: 1px solid var(--ink); }

.faq-cta { margin-top: clamp(40px, 6vw, 64px); }

/* No-JS: show every answer (panels can't be toggled without script) */
html:not(.js) .faq-a { max-height: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--grey);
  color: var(--ink);
  padding-block: clamp(64px, 9vw, 110px) clamp(40px, 6vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand .display { font-size: clamp(28px, 4vw, 44px); }

.footer-brand p {
  margin: 18px 0 4px;
  font-size: 15px;
}

.footer-brand .kvk { font-size: 13px; color: var(--ink-soft); margin: 0; }

.footer-email {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.2;
  word-break: break-word;
  text-align: right;
  position: relative;
}

.footer-email::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}

.footer-email:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid rgba(33, 33, 33, .18);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 22px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: opacity .3s var(--ease-out);
}

.footer-nav a:hover { opacity: .55; }

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-email { text-align: left; }
}

/* ---------- Reveal-on-scroll ---------- */

/* Hidden only when JS is on; no-JS visitors and crawlers see everything */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .hero h1 .line > span,
  .hero-sub,
  .hero .btn,
  .hero-bg img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-hint::after { animation: none; }

  /* Badges stop scrolling and wrap into a centered, static row instead */
  .js .badge-marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    row-gap: 26px;
  }
  .badge-marquee-band { padding-inline: var(--pad); }
}
