/* ============================================================
   Ariane Schmidt — Psychologisches Coaching
   Shared stylesheet. Warm terracotta on cream.
   Cormorant Garamond (display) + Jost (text).
   ============================================================ */

/* ---------- Design tokens (from MD3 light theme) ---------- */
:root {
  --primary:              #8D4E2A;
  --on-primary:           #FFFFFF;
  --primary-container:    #FFDBCA;
  --on-primary-container: #703715;
  --secondary:            #815512;
  --secondary-container:  #FFDDB6;
  --on-secondary-container:#643F00;

  --background:           #FFF8F6;
  --on-background:        #221A15;
  --surface:              #FFF8F4;
  --on-surface:           #211A14;
  --surface-variant:      #F4DED3;
  --on-surface-variant:   #52443B;
  --outline:              #84746A;
  --outline-variant:      #D7C3B7;

  --surface-container-low:  #FFF1E6;
  --surface-container:      #FAEBE0;
  --surface-container-high: #F4E6DA;

  --inverse-surface:      #372F27;
  --inverse-on-surface:   #FDEEE3;
  --inverse-primary:      #FFB690;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-text:    "Jost", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 80px;
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-soft: 0 1px 2px rgba(34,26,21,0.04), 0 8px 30px rgba(34,26,21,0.06);
  --shadow-lift: 0 18px 50px rgba(141,78,42,0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-weight: 300;
  color: var(--on-background);
  background: var(--background);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--primary-container); color: var(--on-primary-container); }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.16; }
h2.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.008em;
  color: var(--on-background);
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-block;
}
.lede {
  font-family: var(--font-text);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.7;
  color: var(--on-surface-variant);
}
.prose p { font-size: clamp(1.1rem, 1.4vw, 1.32rem); font-weight: 300; line-height: 1.85; margin-bottom: 1.4rem; color: var(--on-surface-variant); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--on-background); }
.prose em { font-style: italic; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul { padding-left: 1.4em; margin: 0 0 1.4rem; }
.prose li { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.7; margin-bottom: 0.6rem; color: var(--on-surface-variant); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 5rem); }
.wrap-narrow { max-width: 760px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2rem); }
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 11vh, 9rem); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 1.05em 2.1em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover { background: var(--primary-container); color: var(--on-primary-container); border-color: var(--primary-container); }
.btn--light {
  --btn-bg: var(--inverse-on-surface);
  --btn-fg: var(--primary);
  border-color: var(--inverse-on-surface);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.brand__mark { width: 40px; height: auto; transition: filter 0.45s var(--ease); }
.brand__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; letter-spacing: 0.03em; line-height: 1.05; white-space: nowrap; transition: color 0.45s var(--ease); }
.brand__role { font-family: var(--font-text); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.08em; line-height: 1.2; margin-top: 1px; white-space: nowrap; transition: color 0.45s var(--ease); }
.nav__links { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.nav__link {
  font-family: var(--font-text); font-size: 0.92rem; font-weight: 400; letter-spacing: 0.04em;
  padding-bottom: 3px; border-bottom: 1.5px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { opacity: 0.62; }
.nav__link.is-active { border-bottom-color: currentColor; font-weight: 500; }
.nav__cta { padding: 0.7em 1.4em; font-size: 0.82rem; }

/* Nav — transparent (over hero) state */
.nav[data-state="top"] { background: transparent; box-shadow: none; }
.nav[data-state="top"] .brand__name,
.nav[data-state="top"] .brand__role,
.nav[data-state="top"] .nav__link { color: #fff; }
.nav[data-state="top"] .brand__role { color: rgba(255,255,255,0.72); }
.nav[data-state="top"] .brand__mark { filter: brightness(0) invert(1); }
.nav[data-state="top"] .nav__cta { color: #fff; border-color: rgba(255,255,255,0.6); background: transparent; }
.nav[data-state="top"] .nav__cta:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.nav[data-state="top"] .nav__burger span { background: #fff; }

/* Nav — solid (scrolled / subpage) state */
.nav[data-state="solid"] { background: rgba(255,248,244,0.86); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 24px rgba(34,26,21,0.08); }
.nav[data-state="solid"] .brand__name { color: var(--primary); }
.nav[data-state="solid"] .brand__role { color: rgba(82,68,59,0.7); }
.nav[data-state="solid"] .nav__link { color: var(--on-surface-variant); }
.nav[data-state="solid"] .nav__link.is-active { color: var(--primary); }
.nav[data-state="solid"] .brand__mark { filter: brightness(0) saturate(100%) invert(34%) sepia(28%) saturate(1100%) hue-rotate(347deg) brightness(92%); }
.nav[data-state="solid"] .nav__cta { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.nav[data-state="solid"] .nav__burger span { background: var(--on-surface-variant); }

/* Burger */
.nav__burger { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 5px; align-items: flex-end; }
.nav__burger span { display: block; width: 26px; height: 1.6px; border-radius: 2px; transition: background 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.3s var(--ease); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(34,26,21,0.4); opacity: 0; transition: opacity 0.4s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 320px); background: var(--surface); padding: 1.5rem 1.75rem; transform: translateX(100%); transition: transform 0.45s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close { align-self: flex-end; font-size: 1.6rem; color: var(--on-surface-variant); line-height: 1; padding: 0.25rem 0.5rem; }
.drawer__links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.5rem; }
.drawer__link { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--on-background); padding: 0.55rem 0; border-bottom: 1px solid var(--outline-variant); }
.drawer__link.is-active { color: var(--primary); }
.drawer__panel .btn { margin-top: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--inverse-surface); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 22%; transform: scale(1.06); animation: heroPan 22s ease-out forwards; }
@keyframes heroPan { to { transform: scale(1); } }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(43,23,8,0.78) 0%, rgba(141,78,42,0.5) 48%, rgba(34,26,21,0.34) 100%); }
.hero__veil { position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to bottom, transparent, var(--background)); z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: calc(var(--nav-h) + 3vh) clamp(1.5rem, 6vw, 5rem) 13vh; display: flex; align-items: center; gap: clamp(2rem, 6vw, 6rem); flex-wrap: wrap; }
.hero__logo { flex-shrink: 0; height: clamp(190px, 36vh, 360px); width: auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,0.35)); }
.hero__text { flex: 1 1 360px; }
.hero__title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.7rem, 6vw, 6rem); line-height: 1.02; letter-spacing: -0.015em; text-shadow: 0 2px 28px rgba(0,0,0,0.3); }
.hero__title span { display: block; }
.hero__title span + span { padding-left: 0.12em; }
.hero__rule { width: clamp(60px, 8vw, 110px); height: 1.5px; background: rgba(255,248,244,0.5); margin: clamp(1.1rem, 2.4vh, 1.8rem) 0; }
.hero__sub { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3vw, 3rem); line-height: 1.25; letter-spacing: 0.01em; color: rgba(255,248,244,0.9); text-shadow: 0 1px 14px rgba(0,0,0,0.22); }
.hero__scroll { position: absolute; left: 50%; bottom: clamp(96px, 13vh, 150px); transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; color: rgba(255,248,244,0.8); }
.hero__scroll-label { font-family: var(--font-text); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,248,244,0.7), transparent); animation: scrollPulse 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Wave divider ---------- */
.wave { display: block; line-height: 0; margin-bottom: -1px; }
.wave svg { display: block; width: 100%; height: 72px; }
.wave--flip svg { transform: scaleX(-1); }

/* ---------- Generic section backgrounds ---------- */
.bg-cream { background: var(--background); }
.bg-soft { background: var(--surface-container); }
.bg-low { background: var(--surface-container-low); }
.bg-dark { background: var(--inverse-surface); color: var(--inverse-on-surface); }

/* ---------- Cascade (staccato lines) ---------- */
.cascade { display: flex; flex-direction: column; gap: 0.15em; }
.cascade__line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  color: var(--on-background);
  letter-spacing: -0.005em;
}
.cascade__line.is-muted { color: var(--on-surface-variant); }
.cascade__line.is-accent { font-style: italic; color: var(--primary); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--40 { grid-template-columns: 0.85fr 1.15fr; } }
.split__media { position: relative; }
.figure { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure--arch { border-radius: 220px 220px 18px 18px; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure__badge { position: absolute; left: -18px; bottom: 28px; background: var(--surface); border: 1px solid var(--outline-variant); border-radius: 12px; padding: 0.85rem 1.15rem; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 0.7rem; }
.figure__badge img { width: 30px; height: auto; }
.figure__badge span { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; color: var(--on-background); }
.figure__badge small { display: block; font-family: var(--font-text); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }

/* ---------- Immersive image section (text over photo) ---------- */
.immersive { position: relative; overflow: hidden; }
.immersive__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.immersive__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(43,23,8,0.74) 0%, rgba(141,78,42,0.5) 50%, rgba(34,26,21,0.28) 100%); }
.immersive__inner { position: relative; z-index: 1; }
.immersive__panel { color: #fff; }
.immersive .section-title, .immersive .prose p, .immersive .prose li { color: #fff; }
.immersive .prose strong { color: #fff; }
.immersive .eyebrow { color: var(--inverse-primary); }

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.32;
  letter-spacing: 0.004em;
  color: var(--primary);
  text-wrap: balance;
}
.pullquote--light { color: var(--inverse-primary); }
.pullquote__mark { display: block; font-family: var(--font-display); font-size: 3.4em; line-height: 0.4; color: var(--outline-variant); margin-bottom: 0.1em; height: 0.5em; }
.immersive .pullquote__mark { color: rgba(255,182,144,0.6); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: var(--on-primary); position: relative; overflow: hidden; }
.cta-band__mark { position: absolute; right: -40px; bottom: -50px; width: 320px; opacity: 0.1; filter: brightness(0) invert(1); pointer-events: none; }
.cta-band .eyebrow { color: var(--primary-container); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,248,244,0.86); }

/* ---------- Offer / package cards ---------- */
.offer-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 980px) { .offer-grid { grid-template-columns: 1.7fr 1fr; align-items: stretch; } }
.offer-stack { display: grid; gap: 1.5rem; grid-template-rows: 1fr 1fr; }
.card {
  background: var(--surface); border: 1px solid var(--outline-variant); border-radius: 18px;
  padding: clamp(1.75rem, 3vw, 2.75rem); position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card--feature { border: 1.5px solid var(--primary); box-shadow: var(--shadow-soft); }
.card--muted { background: var(--surface-container-high); border-style: dashed; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 150px; color: var(--on-surface-variant); }
.card__badge { position: absolute; top: -13px; left: clamp(1.75rem, 3vw, 2.75rem); background: var(--primary); color: var(--on-primary); font-family: var(--font-text); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; padding: 0.4em 0.95em; border-radius: 999px; text-transform: uppercase; }
.card__title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; color: var(--on-background); line-height: 1.12; }
.card__sub { font-style: italic; color: var(--on-surface-variant); font-size: 1.05rem; margin-top: 0.2rem; }
.price { font-family: var(--font-display); display: flex; align-items: baseline; gap: 0.6rem; margin: 1.2rem 0 0.2rem; }
.price__now { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 300; color: var(--primary); line-height: 1; }
.price__was { font-size: 1.3rem; color: var(--outline); text-decoration: line-through; font-weight: 300; }
.price__note { font-family: var(--font-text); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--on-surface-variant); }
.divider { height: 1px; background: var(--outline-variant); border: 0; margin: 1.6rem 0; }
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.02rem; line-height: 1.5; color: var(--on-surface-variant); }
.checklist svg { flex-shrink: 0; margin-top: 4px; width: 18px; height: 18px; color: var(--primary); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 2.6rem; }
.step__num { position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; color: var(--primary); line-height: 1; }
.step::before { counter-increment: step; }
.step h4 { font-size: 1.3rem; font-weight: 500; color: var(--on-background); margin-bottom: 0.35rem; }
.step p { font-size: 1.02rem; color: var(--on-surface-variant); line-height: 1.6; }

/* ---------- Subpage hero ---------- */
.subhero { position: relative; min-height: clamp(380px, 62vh, 620px); display: flex; align-items: flex-end; overflow: hidden; background: var(--inverse-surface); }
.subhero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 28%; transform: scale(1.05); animation: heroPan 18s ease-out forwards; }
.subhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(34,26,21,0.5) 0%, rgba(34,26,21,0.32) 42%, rgba(34,26,21,0.18) 62%, rgba(255,248,246,0.7) 88%, var(--background) 100%); }
.subhero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(4rem, 10vh, 7rem); }
.subhero .eyebrow { color: var(--inverse-primary); }
.subhero__title { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; text-shadow: 0 2px 26px rgba(0,0,0,0.34); margin-top: 0.4rem; }

/* simple band hero (no photo) */
.bandhero { background: var(--primary); color: var(--on-primary); padding: calc(var(--nav-h) + clamp(3rem,7vh,5rem)) 0 clamp(3rem,7vh,5rem); position: relative; overflow: hidden; }
.bandhero .eyebrow { color: var(--primary-container); }
.bandhero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 400; line-height: 1.05; margin-top: 0.5rem; }
.bandhero p { color: rgba(255,248,244,0.85); margin-top: 1rem; max-width: 620px; }
.bandhero__mark { position: absolute; right: -30px; bottom: -60px; width: 300px; opacity: 0.12; filter: brightness(0) invert(1); }

/* ---------- Legal / Impressum ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; color: var(--primary); margin: 2.6rem 0 0.8rem; }
.legal h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--on-background); margin: 1.6rem 0 0.5rem; }
.legal p { font-size: 1.05rem; line-height: 1.8; color: var(--on-surface-variant); margin-bottom: 1rem; }
.legal strong { color: var(--on-background); font-weight: 600; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal em { font-style: italic; color: var(--outline); }

/* ---------- Footer ---------- */
.footer { background: var(--inverse-surface); color: var(--inverse-on-surface); padding: clamp(2.75rem, 6vh, 4rem) 0 2rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: space-between; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.footer__brand img { width: 38px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__brand .n { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.footer__brand .r { font-family: var(--font-text); font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(253,238,227,0.6); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { font-size: 0.96rem; color: rgba(253,238,227,0.72); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--inverse-on-surface); }
.footer__social { display: flex; gap: 0.4rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: rgba(253,238,227,0.66); transition: color 0.3s var(--ease), background 0.3s var(--ease); }
.footer__social a:hover { color: var(--inverse-on-surface); background: rgba(253,238,227,0.08); }
.footer__social svg { width: 19px; height: 19px; }
.footer__rule { height: 1px; background: rgba(253,238,227,0.1); border: 0; margin: 1.75rem 0 1.25rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.82rem; color: rgba(253,238,227,0.4); }

/* ---------- Floating book button ---------- */
.fab { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(18px, 3vw, 32px); z-index: 90; display: flex; align-items: center; }
.fab__label { overflow: hidden; max-width: 0; opacity: 0; white-space: nowrap; margin-right: 0; transition: max-width 0.4s var(--ease), opacity 0.3s var(--ease), margin 0.4s var(--ease); }
.fab__label span { display: block; background: var(--primary); color: var(--on-primary); border-radius: 999px; padding: 0.7em 1.2em; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; box-shadow: var(--shadow-lift); }
.fab:hover .fab__label { max-width: 260px; opacity: 1; margin-right: 0.65rem; }
.fab__btn { width: 60px; height: 60px; border-radius: 999px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; box-shadow: 0 8px 28px rgba(141,78,42,0.36); transition: transform 0.3s var(--ease), background 0.3s var(--ease); flex-shrink: 0; }
.fab__btn:hover { transform: scale(1.07); background: var(--on-primary-container); }
.fab__btn svg { width: 26px; height: 26px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .subhero__bg { animation: none; transform: none; }
  .hero__scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .figure__badge { left: 14px; }
}
