/* =========================================================================
   Pilates in Motion by Kim Schürch
   Scout-spirit palette · Fraunces + Inter · mobile-first · CSS-only motion
   =========================================================================

   ACCENT COLOUR — single source of truth.
   The brief contradicts itself (locked palette says misty blue; the build
   prompt + offer + header say burnt orange). It is shipped on BURNT ORANGE.
   To flip the ENTIRE site to misty blue, swap the two --accent lines below
   for the two commented misty-blue lines. Nothing else changes.
   ------------------------------------------------------------------------ */
:root {
  /* Scout-spirit core palette (locked) */
  --cream:    #F3EEE4;  /* primary page background */
  --forest:   #3F5142;  /* header, footer, key text */
  --forest-d: #33422F;  /* deeper forest for borders/hover */
  --sage:     #8FA088;  /* secondary fills, soft blocks */
  --sage-l:   #B7C2AE;  /* light sage tint */
  --clay:     #C9A89A;  /* warm neutral cards / illustration tint */
  --offwhite: #FBF8F2;  /* cards against cream */
  --ink:      #6F2D1D;  /* body text, maximum contrast */

  /* ── THE POP — burnt orange (default) ───────────────────────────── */
  --accent:      #B85C38;
  --accent-deep: #97462A;
  /* ── To switch to misty blue, comment the two lines above and use:
  --accent:      #B5C7EB;
  --accent-deep: #6E86B8;
  ------------------------------------------------------------------- */
  --on-accent:   #FBF8F2;   /* text/icons that sit on the accent fill */

  /* secondary accents — used only to colour-code the package tiers
     (intro = burnt orange, reformer bundles = misty blue, duet = sage).
     Misty blue is the brief's locked pop; kept here as a package accent. */
  --blue:      #B5C7EB;
  --blue-deep: #6E86B8;
  --sage-d:    #5F6E58;

  --maxw: 1140px;
  --gap: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -24px rgba(51,66,47,.45);
  --header-h: 68px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* When the accent is light (misty blue), text on it must be dark. Authors:
   if you flip to misty blue, also set --on-accent: #33422F; here. */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.7rem); }
p { max-width: 65ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- bilingual visibility ---------- */
html[data-lang="de"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-de { display: none !important; }

/* ---------- layout helpers ---------- */
.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; position: relative; }
.section--sage { background: var(--sage-l); }
.section--forest { background: var(--forest); color: var(--offwhite); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--offwhite); }
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: .9rem; display: inline-block;
}
.section--forest .eyebrow { color: var(--clay); }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: color-mix(in srgb, var(--ink) 88%, var(--forest)); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--on-accent); cursor: pointer;
  text-decoration: none; transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  line-height: 1; text-align: center;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--offwhite); border-color: var(--forest); }
.btn--on-forest { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn--block { width: 100%; justify-content: center; }
.arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--forest); color: var(--offwhite);
  border-bottom: 1px solid rgba(251,248,242,.08);
}
.header-inner {
  width: min(100% - 2rem, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--offwhite); margin-right: auto; }
.brand svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; }
.brand-text small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a.navlink {
  color: var(--offwhite); text-decoration: none; font-weight: 500; font-size: .96rem;
  opacity: .85; position: relative; padding: .3rem 0;
}
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav a.navlink:hover, .nav a.navlink[aria-current="page"] { opacity: 1; }
.nav a.navlink:hover::after, .nav a.navlink[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
  display: inline-flex; border: 1px solid rgba(251,248,242,.35); border-radius: 999px; overflow: hidden;
  font-size: .8rem; font-weight: 600;
}
.lang-toggle button {
  background: transparent; color: var(--offwhite); border: 0; cursor: pointer;
  padding: .35rem .6rem; opacity: .6; font-family: var(--sans); letter-spacing: .04em;
}
.lang-toggle button[aria-pressed="true"] { background: var(--offwhite); color: var(--forest); opacity: 1; }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: .4rem; color: var(--offwhite); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; order: 3; }
  /* header docks to the BOTTOM of the screen on mobile — thumb-reachable hamburger */
  .site-header {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 100;
    border-bottom: 0; border-top: 1px solid rgba(251,248,242,.08);
    box-shadow: 0 -10px 30px -22px rgba(0,0,0,.5);
  }
  body { padding-bottom: var(--header-h); } /* reserve room so content clears the docked header */
  /* the opened menu slides UP from just above the docked header */
  .nav {
    position: fixed; left: 0; right: 0; bottom: var(--header-h); top: auto; flex-direction: column; gap: 0;
    background: var(--forest); padding: .5rem 1rem 1.25rem; align-items: stretch;
    border-top: 1px solid rgba(251,248,242,.12);
    transform: translateY(130%); transition: transform .3s ease; box-shadow: 0 -12px 32px -20px rgba(0,0,0,.45);
  }
  .nav.open { transform: translateY(0); }
  .nav a.navlink { padding: .85rem .25rem; border-bottom: 1px solid rgba(251,248,242,.1); opacity: .95; }
  .nav a.navlink::after { display: none; }
  .header-actions .btn-enquire { display: none; } /* keep one enquire button visible */
}

/* persistent enquire button always shown */
.btn-enquire { white-space: nowrap; }
@media (max-width: 520px) {
  .btn-enquire .full { display: none; }
  .brand-text small { display: none; }
}

/* ---------- offer banner + marquee ---------- */
.offer {
  background: var(--accent); color: var(--on-accent); position: relative; overflow: hidden;
}
.offer-grid {
  width: min(100% - 2rem, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem,4vw,2.5rem);
  align-items: center; padding: clamp(1.4rem, 4vw, 2.2rem) 0;
}
.offer-price { display: flex; flex-direction: column; line-height: .9; }
.offer-price .chf { font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.offer-price .num { font-family: var(--serif); font-weight: 600; font-size: clamp(3.2rem, 11vw, 6rem); }
.offer-copy { font-family: var(--serif); font-size: clamp(1.15rem, 2.6vw, 1.7rem); }
.offer-copy small { display: block; font-family: var(--sans); font-size: .8rem; opacity: .85; margin-top: .4rem; }
.offer-copy small a { color: var(--on-accent); }
.offer-cta { display: flex; }
.offer .btn { background: var(--offwhite); color: var(--accent-deep); border-color: var(--offwhite); }
.offer .btn:hover { background: var(--forest); color: var(--offwhite); border-color: var(--forest); }
@media (max-width: 720px) {
  .offer-grid { grid-template-columns: auto 1fr; row-gap: 1.1rem; }
  .offer-cta { grid-column: 1 / -1; }
  .offer-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .offer-grid { grid-template-columns: 1fr; }
}

.marquee { background: color-mix(in srgb, var(--accent) 24%, var(--cream)); color: var(--forest); overflow: hidden; white-space: nowrap; border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.marquee__track { display: inline-flex; gap: 2.5rem; padding: .6rem 0; animation: marquee 28s linear infinite; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-style: italic; opacity: .92; }
.marquee__track span::after { content: "·"; margin-left: 2.5rem; color: var(--accent-deep); font-style: normal; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- hero ---------- */
.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center; padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero .lede { margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-art { position: relative; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; }
}

/* ---------- media + blob shape-masks ---------- */
.media {
  position: relative; background: var(--clay); aspect-ratio: 4 / 5; overflow: hidden;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transition: clip-path .6s cubic-bezier(.65,.05,.36,1);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--blob1 { border-radius: 64% 36% 57% 43% / 43% 57% 43% 57%; }
.media--blob2 { border-radius: 38% 62% 47% 53% / 63% 38% 62% 37%; }
.media--blob3 { border-radius: 57% 43% 35% 65% / 53% 60% 40% 47%; }
.media--blob4 { border-radius: 50% 50% 46% 54% / 60% 47% 53% 40%; }
.media:hover { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
@media (hover: none) { .media:hover { border-radius: inherit; } } /* no hover on touch */

/* placeholder treatment (until real photos are dropped in) */
.media--placeholder { display: grid; place-items: center; background:
  radial-gradient(120% 120% at 30% 20%, var(--clay), color-mix(in srgb, var(--clay) 60%, var(--sage))); }
.media--placeholder .ph {
  text-align: center; color: color-mix(in srgb, var(--forest) 75%, white); padding: 1.5rem; font-size: .9rem;
}
.media--placeholder .ph svg { width: 64px; height: 64px; margin: 0 auto .6rem; opacity: .7; }
.media--placeholder .ph b { font-family: var(--serif); display:block; font-size: 1.05rem; margin-bottom:.2rem; }

/* ---------- cards / grids ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* package cards: all equal height in one row, CTAs aligned to the bottom */
.pkg-grid { grid-template-columns: 1fr; }
@media (min-width: 620px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.card--pkg { display: flex; flex-direction: column; border-top: 4px solid var(--clay); }
.card--pkg .btn { margin-top: auto; }
.card--pkg .num { color: var(--forest); }
/* tier colour-coding: coloured top accent, price and CTA per category */
.card--blue { border-top-color: var(--blue-deep); }
.card--blue .num { color: var(--blue-deep); }
.card--blue .btn { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--offwhite); }
.card--blue .btn:hover { background: var(--forest); border-color: var(--forest); color: var(--offwhite); }
.card--sage { border-top-color: var(--sage-d); }
.card--sage .num { color: var(--sage-d); }
.card--sage .btn { background: var(--sage-d); border-color: var(--sage-d); color: var(--offwhite); }
.card--sage .btn:hover { background: var(--forest); border-color: var(--forest); color: var(--offwhite); }
/* starter (mandatory first step) — standalone above the bundles */
.starter-card { background: var(--offwhite); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow); margin-bottom: 1.8rem; }
.starter-badge { display: inline-block; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.starter-body { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: space-between; }
@media (max-width: 560px) { .starter-body .btn { width: 100%; justify-content: center; } }

/* ---------- foundation offer (founding-member framing + live counter) ---------- */
.foundation {
  position: relative; text-align: center; overflow: hidden;
  background: radial-gradient(130% 150% at 0% 0%, color-mix(in srgb, var(--accent) 15%, var(--offwhite)), var(--offwhite));
  border: 1.5px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4.5vw, 2.4rem); margin-bottom: 2.2rem;
}
.foundation__badge {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .34rem .8rem; border-radius: 999px; margin-bottom: .9rem;
}
.foundation h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: .5rem; }
.foundation p { max-width: 56ch; margin: 0 auto; color: color-mix(in srgb, var(--ink) 88%, var(--forest)); }
.foundation__pill {
  display: none; align-items: center; gap: .55rem; width: fit-content; margin: 1.3rem auto 0;
  background: var(--offwhite); border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent-deep); font-weight: 600; font-size: .95rem;
  padding: .5rem 1.05rem .5rem .85rem; border-radius: 999px;
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.4);
}
.foundation__pill.is-visible { display: inline-flex; }
.foundation__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  animation: fnd-pulse 2.2s ease-out infinite;
}
@keyframes fnd-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .foundation__dot { animation: none; } }
.card {
  background: var(--offwhite); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--clay) 40%, transparent);
}
.card h3 { margin-bottom: .5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split .media { max-width: 440px; } }

/* steps (how we begin) */
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); margin-top: 2rem; }
.step { text-align: center; padding: 1rem; }
.step svg { width: 72px; height: 72px; margin: 0 auto 1rem; }
.step b { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); display: block; margin-bottom: .35rem; }

/* quote */
.quote { text-align: center; max-width: 760px; margin-inline: auto; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 2.1rem); line-height: 1.3; font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.section--forest .quote cite { color: var(--clay); }
.credo {
  border-left: 4px solid var(--accent); padding: .4rem 0 .4rem 1.6rem; margin: 0 auto;
  font-family: var(--serif); font-size: clamp(1.3rem,3vw,1.9rem); line-height: 1.35; font-style: italic; max-width: 720px;
}

/* ---------- training tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.tab {
  font-family: var(--sans); font-weight: 600; font-size: .98rem; cursor: pointer;
  padding: .7rem 1.3rem; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--forest) 35%, transparent);
  background: transparent; color: var(--forest); transition: all .25s ease;
}
.tab:hover { border-color: var(--forest); }
.tab[aria-selected="true"] { background: var(--forest); color: var(--offwhite); border-color: var(--forest); }
.tabpanel { display: none; animation: fadeRise .5s ease both; }
.tabpanel.active { display: block; }
.price-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.6rem 0; }
.price-item { }
.price-item .k { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.price-item .v { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); }
/* fact items that link to the packages page */
a.price-item--link { text-decoration: none; color: inherit; display: inline-block; border-radius: 8px; margin: -.3rem -.5rem; padding: .3rem .5rem; transition: background .2s ease; }
a.price-item--link .v { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; transition: color .2s ease; }
a.price-item--link:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
a.price-item--link:hover .v { color: var(--accent-deep); }
.benefits { list-style: none; padding: 0; display: grid; gap: .8rem; margin: 1.4rem 0; }
.benefits li { padding-left: 2rem; position: relative; }
.benefits li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--forest) 22%, transparent); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.3rem .5rem 1.3rem 0; font-family: var(--serif);
  font-size: clamp(1.1rem,2.6vw,1.45rem); color: var(--forest); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: 0 0 auto; width: 26px; height: 26px; position: relative; transition: transform .3s ease; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content:""; position:absolute; background: var(--accent); border-radius: 2px; }
.faq-item summary .plus::before { top: 12px; left: 3px; right: 3px; height: 2px; }
.faq-item summary .plus::after { left: 12px; top: 3px; bottom: 3px; width: 2px; transition: transform .3s ease; }
.faq-item[open] summary .plus::after { transform: scaleY(0); }
.faq-item .faq-body { padding: 0 .5rem 1.4rem 0; }
.faq-item .faq-body p { color: color-mix(in srgb, var(--ink) 90%, var(--forest)); }

/* ---------- form ---------- */
.form-card {
  background: var(--offwhite); border-radius: var(--radius-lg); padding: clamp(1.5rem, 5vw, 2.8rem);
  box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--clay) 45%, transparent);
}
.form-grid { display: grid; gap: 1.1rem 1.2rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--forest); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid color-mix(in srgb, var(--forest) 22%, transparent); border-radius: 10px; padding: .75rem .85rem;
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */
.form-note { font-size: .82rem; color: color-mix(in srgb, var(--ink) 70%, var(--cream)); margin-top: .25rem; }
.form-status { margin-top: 1rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--forest); }
.form-status.err { color: #9A2B17; }
.form-success {
  display: none; text-align: center; padding: 1.5rem 0;
}
.form-success.show { display: block; animation: fadeRise .5s ease both; }
.form-success svg { width: 72px; height: 72px; margin: 0 auto 1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: var(--offwhite); padding: clamp(2.5rem,6vw,4rem) 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand b { font-family: var(--serif); font-size: 1.4rem; display: block; }
.footer-brand p { opacity: .8; font-size: .95rem; margin-top: .5rem; }
.footer-col h4 { color: var(--clay); font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-col a, .footer-col p { display: block; color: var(--offwhite); opacity: .85; text-decoration: none; font-size: .95rem; margin-bottom: .5rem; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(251,248,242,.14); font-size: .82rem; opacity: .7;
}
.footer-legal { margin-left: auto; display: flex; gap: 1.2rem; } /* bottom-right only */
.footer-legal a { color: var(--offwhite); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 1.5rem; } .footer-bottom { justify-content: flex-start; } .footer-legal { margin-left: 0; } }

/* ---------- decorative line elements ---------- */
.deco { position: absolute; pointer-events: none; opacity: .5; z-index: 0; }
.deco svg { width: 100%; height: 100%; }
.section > .wrap, .section > .wrap-narrow { position: relative; z-index: 1; }

/* ---------- scroll reveal (fade-rise) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@keyframes fadeRise { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: none; } }

/* animated line illustration (stroke draw on view / hover) */
.draw path, .draw circle, .draw line, .draw polyline { stroke-dasharray: 1; stroke-dashoffset: 1; pathLength: 1; }
.draw.in path, .draw.in circle, .draw.in line, .draw.in polyline { animation: draw 1.6s ease forwards; }
.draw.in path:nth-child(2){animation-delay:.2s} .draw.in path:nth-child(3){animation-delay:.4s}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hover-draw:hover path, .hover-draw:hover circle, .hover-draw:hover polyline { animation: draw 1.2s ease forwards; }

/* ---------- accessibility / motion + no-JS fallbacks ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .marquee__track { animation: none; transform: none; white-space: normal; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .draw path, .draw circle, .draw line, .draw polyline { stroke-dashoffset: 0 !important; }
  .media, .btn, .arrow { transition: none !important; }
}
/* If JS never runs, never leave content hidden. */
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .tabpanel { display: block; }
html:not(.js) .form-success { display: none; }

/* ---------- smooth cursor ring (augments the native cursor; never replaces it) ---------- */
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 65%, transparent); border-radius: 50%;
  pointer-events: none; z-index: 9999; opacity: 0;
  transition: width .22s ease, height .22s ease, margin .22s ease, background-color .22s ease, opacity .35s ease;
  will-change: transform;
}
.cursor-ring--show { opacity: .55; }
.cursor-ring--big { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: color-mix(in srgb, var(--accent) 12%, transparent); opacity: .8; }
/* Decorative only: off on touch / coarse pointers and when reduced motion is requested. */
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .cursor-ring { display: none !important; } }

/* ---------- newsletter (footer) ---------- */
.footer-news { margin-top: .4rem; }
.footer-news p { opacity: .85; font-size: .95rem; margin: 0 0 .7rem; }
.footer-news .btn { padding: .6rem 1.15rem; font-size: .95rem; }

/* ---------- sticky offer bar (slides up on scroll) ---------- */
.offer-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--accent); color: var(--on-accent);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.4,.0,.2,1);
  box-shadow: 0 -12px 32px -20px rgba(0,0,0,.55);
}
/* on the orange bar the CTA must invert (offwhite fill) so it doesn't vanish */
.offer-bar .btn { background: var(--offwhite); color: var(--accent-deep); border-color: var(--offwhite); }
.offer-bar .btn:hover { background: var(--forest); color: var(--offwhite); border-color: var(--forest); }
.offer-bar--show { transform: translateY(0); }
.offer-bar__inner {
  width: min(100% - 2rem, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem; padding: .7rem 0;
}
.offer-bar__badge { display: inline-flex; align-items: center; background: var(--offwhite); color: var(--accent-deep); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; white-space: nowrap; }
@media (max-width: 720px) { .offer-bar__badge { display: none; } }
.offer-bar__lead { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: .6rem; }
.offer-bar__price { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--offwhite); line-height: 1; white-space: nowrap; }
.offer-bar__text { font-size: .98rem; opacity: .92; }
.offer-bar__short { display: none; font-size: .84rem; opacity: .95; line-height: 1.2; } /* mobile-only context */
.offer-bar__cta { padding: .55rem 1.25rem; font-size: .95rem; white-space: nowrap; }
.offer-bar__close { background: none; border: 0; color: var(--offwhite); opacity: .55; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: .1rem .35rem; align-self: center; }
.offer-bar__close:hover { opacity: 1; }
@media (max-width: 560px) {
  .offer-bar__lead { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .offer-bar__text { display: none; }        /* full sentence → hidden, short line shows instead */
  .offer-bar__short { display: block; }
  .offer-bar__price { font-size: 1.3rem; }
  .offer-bar__cta { margin-left: auto; align-self: center; padding: .5rem 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .offer-bar { transition: none; } }
/* On mobile the header docks to the bottom — lift the offer bar to sit just above it.
   Must come AFTER the base `.offer-bar { bottom: 0 }` above to win on equal specificity. */
@media (max-width: 860px) { .offer-bar { bottom: var(--header-h); } }

/* Cookie notice (Klaro): on mobile Klaro pins it full-width to the BOTTOM, where it
   buries the offer bar + docked header and dims the page's most important content.
   Move it to the top and tighten it there. klaro.css loads after this file, so the
   position/size overrides need !important to win. */
@media (max-width: 860px) {
  .klaro .cookie-notice {
    top: 0 !important; bottom: auto !important; left: 0 !important; right: 0 !important;
    max-width: none !important; border-radius: 0 !important;
    box-shadow: 0 14px 34px -22px rgba(0,0,0,.6) !important;
  }
  .klaro .cookie-notice .cn-body { padding: .8rem 1rem !important; margin-bottom: 0 !important; }
  .klaro .cookie-notice .cn-body > p { font-size: .82rem !important; line-height: 1.35 !important; margin: 0 0 .55rem !important; }
}

/* ---------- newsletter modal (holds the MailerLite embedded form) ---------- */
.nl-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; }
.nl-modal[hidden] { display: none; }
.nl-modal__backdrop { position: absolute; inset: 0; background: rgba(51,66,47,.55); }
.nl-modal__panel { position: relative; background: var(--offwhite); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; max-width: 440px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); }
.nl-modal__close { position: absolute; top: .5rem; right: .7rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--forest); cursor: pointer; opacity: .55; padding: .2rem .45rem; z-index: 2; }
.nl-modal__close:hover { opacity: 1; }
/* MailerLite embedded form — restyle ML's default grey/black/Open-Sans to match the brand.
   Scoped to .nl-modal; !important beats MailerLite's #mlb2-… ID selectors. */
.nl-modal .ml-embedded,
.nl-modal .ml-form-embedContainer,
.nl-modal .ml-form-embedWrapper,
.nl-modal .ml-form-embedWrapper.ml-form-embedWrapper,
.nl-modal .ml-form-embedBody,
.nl-modal .ml-form-embedContent,
.nl-modal .ml-form-align-center,
.nl-modal .ml-form-formContent,
.nl-modal .ml-form-successBody { background: var(--offwhite) !important; box-shadow: none !important; border: 0 !important; }
.nl-modal .ml-form-embedContainer h4 { font-family: var(--serif) !important; color: var(--forest) !important; font-weight: 600 !important; }
.nl-modal .ml-form-embedContainer p,
.nl-modal .ml-form-embedContainer label,
.nl-modal .ml-form-embedContainer .label-description,
.nl-modal .ml-form-embedContainer .label-description p { font-family: var(--sans) !important; color: var(--ink) !important; }
.nl-modal .ml-form-embedContainer input[type="email"],
.nl-modal .ml-form-embedContainer input[type="text"] {
  font-family: var(--sans) !important; background: var(--cream) !important; color: var(--ink) !important;
  border: 1.5px solid color-mix(in srgb, var(--forest) 22%, transparent) !important; border-radius: 10px !important;
}
.nl-modal .ml-form-embedContainer .ml-form-embedSubmit button.primary,
.nl-modal .ml-form-embedContainer .ml-form-horizontalRow button {
  font-family: var(--sans) !important; background-color: var(--accent) !important; color: var(--on-accent) !important;
  border: 0 !important; border-radius: 999px !important; font-weight: 600 !important;
}
.nl-modal .ml-form-embedContainer .ml-form-embedSubmit button.primary:hover,
.nl-modal .ml-form-embedContainer .ml-form-horizontalRow button:hover { background-color: var(--accent-deep) !important; }
.nl-modal .ml-form-embedContainer a { color: var(--accent-deep) !important; }
.cookie-settings { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
