/* ==========================================================================
   Andrea Heumann – Praxis für Prävention & Physiotherapie
   Design System & Styles
   ========================================================================== */

/* ---------- Fonts ----------
   Self-hosted (no connection to Google). Variable fonts, Latin + Latin Extended subsets.
   Fraunces and Manrope are licensed under the SIL Open Font License. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --forest-950: #0E2118;
  --forest-900: #132B20;
  --forest-800: #173326;
  --forest-700: #1F4A33;
  --green-600: #2E6B45;
  --green-500: #4E8A43;
  --lime-400: #8DB33A;
  --lime-300: #A9CC5A;
  --orange-700: #AE4814;
  --orange-600: #C9561C;
  --orange-500: #E2692A;
  --orange-400: #EE8A4F;
  --cream-50: #FCFAF6;
  --cream-100: #F6F1E8;
  --cream-200: #EEE6D8;
  --cream-300: #E2D6C2;
  --ink: #15201A;
  --ink-2: #39473F;
  --muted: #5B6960;
  --line: rgba(23, 51, 38, .13);
  --line-light: rgba(246, 241, 232, .16);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1260px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 11vw, 164px);
  --header-h: 84px;

  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 32px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 34px 70px -34px rgba(19, 43, 32, .42);
  --shadow-soft: 0 18px 40px -24px rgba(19, 43, 32, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream-100);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--forest-800);
  font-weight: 380;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  overflow-wrap: break-word;
}
h1 em, h2 em, h3 em, .serif-em {
  font-style: italic;
  font-weight: 330;
  color: var(--orange-600);
}

::selection { background: var(--lime-300); color: var(--forest-900); }

:focus-visible {
  outline: 2px solid var(--orange-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest-800); color: var(--cream-100);
  padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700;
  transition: top .3s;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] { scroll-margin-top: 72px; }
#anfrage { scroll-margin-top: 92px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-500); flex: none;
}
.h2 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); margin-top: 18px; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange-600); --fg: var(--cream-50); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--sans); font-weight: 700; font-size: .95rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { --bg: var(--orange-700); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(174, 72, 20, .7); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--forest-800); --bd: rgba(23, 51, 38, .28); }
.btn-ghost:hover { --bg: var(--forest-800); --fg: var(--cream-50); --bd: var(--forest-800); box-shadow: none; }
.btn-light { --bg: var(--cream-100); --fg: var(--forest-800); }
.btn-light:hover { --bg: #fff; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .45); }
.btn-outline-light { --bg: transparent; --fg: var(--cream-100); --bd: rgba(246, 241, 232, .35); }
.btn-outline-light:hover { --bg: var(--cream-100); --fg: var(--forest-800); --bd: var(--cream-100); box-shadow: none; }
.btn-sm { padding: 13px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; color: var(--forest-800); text-decoration: none;
  border-bottom: 1.5px solid rgba(201, 86, 28, .45); padding-bottom: 3px;
  transition: border-color .3s, gap .3s var(--ease);
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { border-color: var(--orange-600); gap: 12px; }

/* ---------- Logo mark ---------- */
.mark { width: 26px; height: 36px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 241, 232, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { --nav-gap: clamp(18px, 1.75vw, 24px); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--nav-gap);
  height: var(--header-h); transition: height .45s var(--ease);
}
.is-scrolled .header-inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; height: 72px; width: auto; max-width: none; flex: none; transition: height .45s var(--ease); }
.is-scrolled .brand-logo { height: 58px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--serif); font-size: 1.32rem; color: var(--forest-800);
  line-height: 1; letter-spacing: -.01em; font-weight: 420; white-space: nowrap;
}
.brand-tag {
  font-size: .56rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px; font-weight: 700; white-space: nowrap;
}

.nav { display: flex; gap: var(--nav-gap); margin-left: auto; }
.nav a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: .9rem; font-weight: 600; color: var(--forest-800); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--orange-600); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream-50); cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--forest-800);
  transition: transform .4s var(--ease), top .4s var(--ease), opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.nav-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* Mobile navigation panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--forest-800); color: var(--cream-100);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open .site-header { background: var(--forest-800); box-shadow: none; }
.nav-open .brand-name { color: var(--cream-100); }
.nav-open .brand-tag { color: rgba(246, 241, 232, .6); }
.nav-open .menu-toggle { background: transparent; border-color: var(--line-light); }
.nav-open .menu-toggle span { background: var(--cream-100); }
.nav-open .mark { --m-3: var(--cream-100); }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--line-light); }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 360; color: var(--cream-100);
}
.mobile-nav li a span { font-family: var(--sans); font-size: .75rem; color: var(--lime-300); letter-spacing: .15em; }
.mobile-nav-foot { display: grid; gap: 12px; margin-top: 32px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 88px)) 0 clamp(72px, 8vw, 128px);
}
/* Desktop only: less air between the header and the hero content */
@media (min-width: 961px) {
  .hero { padding-top: calc(var(--header-h) + clamp(20px, 3vw, 44px)); }
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
}
.hero::before {
  width: 62vw; height: 62vw; right: -18vw; top: -22vw;
  background: radial-gradient(circle, rgba(141, 179, 58, .2), transparent 62%);
}
.hero::after {
  width: 44vw; height: 44vw; left: -18vw; bottom: -20vw;
  background: radial-gradient(circle, rgba(226, 105, 42, .12), transparent 62%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.55rem, 5.3vw, 4.9rem);
  font-weight: 330; line-height: 1.02; letter-spacing: -.028em;
  margin: 24px 0 28px;
}
.hero-lead { max-width: 33em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.stars { display: block; width: 104px; height: 19px; color: var(--orange-500); flex: none; }
.hero-rating {
  display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 26px;
  font-size: .88rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: color .3s;
}
.hero-rating strong { font-weight: 800; color: var(--forest-800); }
.hero-rating > span { border-bottom: 1.5px solid transparent; transition: border-color .3s; }
.hero-rating:hover > span { border-color: rgba(201, 86, 28, .5); }
.hero-status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  font-size: .84rem; font-weight: 600; color: var(--muted);
}
.hero-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-400);
  box-shadow: 0 0 0 0 rgba(141, 179, 58, .6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(141, 179, 58, .55); }
  70% { box-shadow: 0 0 0 10px rgba(141, 179, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 179, 58, 0); }
}
.hero-trust {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: clamp(22px, 3.4vw, 52px);
  margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-trust strong {
  display: block; font-family: var(--serif); font-weight: 380;
  font-size: clamp(1.45rem, 2vw, 1.85rem); color: var(--forest-800); line-height: 1.05;
}
.hero-trust span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: 6px; }

.hero-media { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.arch {
  position: relative; overflow: hidden; background: var(--cream-200);
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { aspect-ratio: 4 / 5.15; }
.hero-media::before {
  content: ""; position: absolute; inset: -20px 20px 20px -20px; z-index: -1;
  border: 1px solid rgba(46, 107, 69, .35);
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
}
.motto-card {
  position: absolute; left: clamp(-56px, -4vw, -20px); bottom: 56px;
  background: var(--cream-50); border-radius: var(--r-md);
  padding: 20px 24px 20px 22px; box-shadow: var(--shadow);
  display: flex; gap: 16px; align-items: center; max-width: 300px;
}
.motto-card .mark { width: 22px; height: 31px; }
.motto-latin { font-family: var(--serif); font-style: italic; font-size: 1.28rem; color: var(--forest-800); line-height: 1.1; }
.motto-de { font-size: .78rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }

.spin-badge {
  position: absolute; top: 18px; right: -22px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--forest-800); color: var(--cream-100);
  display: grid; place-items: center; box-shadow: var(--shadow-soft);
}
.spin-badge .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.spin-badge .ring text { font-family: var(--sans); font-size: 9.4px; font-weight: 700; letter-spacing: .5px; fill: var(--cream-100); }
.spin-badge .mark { width: 40px; height: 56px; translate: 0 2px; --m-3: var(--cream-100); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero entrance */
.js .hero-anim { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.js .hero-anim:nth-child(2) { animation-delay: .08s; }
.js .hero-anim:nth-child(3) { animation-delay: .16s; }
.js .hero-anim:nth-child(4) { animation-delay: .24s; }
.js .hero-anim:nth-child(5) { animation-delay: .32s; }
.js .hero-anim:nth-child(6) { animation-delay: .4s; }
.js .hero-anim:nth-child(7) { animation-delay: .48s; }
.js .hero-media.hero-anim { animation-delay: .2s; animation-duration: 1.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--forest-800); color: var(--cream-100);
  overflow: hidden; padding: 24px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 48s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 44px; padding-right: 44px;
  font-family: var(--serif); font-style: italic; font-weight: 330;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.marquee-item::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.bg-sand { background: var(--cream-200); }
.bg-dark { background: var(--forest-800); color: rgba(246, 241, 232, .78); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--cream-100); }
.bg-dark h2 em, .bg-dark h3 em { color: var(--orange-400); }
.bg-dark .eyebrow { color: var(--lime-300); }
.bg-dark .lead { color: rgba(246, 241, 232, .78); }

.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px clamp(40px, 6vw, 96px);
  align-items: end; margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head > div:last-child { max-width: 34em; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .h2 { max-width: 16em; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  --faded: rgba(23, 51, 38, .12);
  position: relative; display: flex; flex-direction: column;
  min-height: 390px; padding: 32px 28px 30px;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; overflow: hidden;
  transition: background .55s var(--ease), transform .55s var(--ease), border-color .55s var(--ease), box-shadow .55s var(--ease);
}
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--orange-600); font-size: 1.05rem; }
.pillar .mark { width: 40px; height: 56px; transition: transform .6s var(--ease); }
.pillar[data-el="base"] .mark { --m-head: var(--faded); --m-1: var(--faded); --m-2: var(--faded); }
.pillar[data-el="upper"] .mark { --m-head: var(--faded); --m-2: var(--faded); --m-3: var(--faded); }
.pillar[data-el="middle"] .mark { --m-head: var(--faded); --m-1: var(--faded); --m-3: var(--faded); }
.pillar[data-el="head"] .mark { --m-1: var(--faded); --m-2: var(--faded); --m-3: var(--faded); }
.pillar h3 { font-size: clamp(1.45rem, 1.9vw, 1.75rem); margin: 72px 0 14px; transition: color .55s; }
.pillar p { flex: 1; font-size: .94rem; margin: 0 0 24px; transition: color .55s; }
.pillar .text-link { align-self: flex-start; transition: color .55s, border-color .3s, gap .3s var(--ease); }
.pillar:hover {
  --faded: rgba(246, 241, 232, .14);
  background: var(--forest-800); border-color: var(--forest-800);
  transform: translateY(-6px); box-shadow: var(--shadow);
}
.pillar:hover .mark { --m-3: var(--cream-100); transform: rotate(-4deg) scale(1.06); }
.pillar[data-el="base"]:hover .mark { --m-3: var(--cream-100); }
.pillar[data-el="upper"]:hover .mark, .pillar[data-el="middle"]:hover .mark, .pillar[data-el="head"]:hover .mark { --m-3: var(--faded); }
.pillar:hover h3, .pillar:hover .text-link { color: var(--cream-100); }
.pillar:hover p { color: rgba(246, 241, 232, .72); }
/* ---------- Philosophy ---------- */
.philo-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 7vw, 120px); }
.philo-aside { position: sticky; top: 110px; align-self: start; }
.philo-aside .h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.philo-media { position: relative; margin-top: 44px; }
.philo-media > img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg);
}
.philo-media figcaption {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(252, 250, 246, .92); backdrop-filter: blur(8px);
  border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--forest-800);
  transition: background .3s, transform .3s var(--ease), box-shadow .3s;
}
.philo-media figcaption a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 13px;
  color: inherit; text-decoration: none; border-radius: inherit;
}
.philo-media figcaption svg { width: 15px; height: 15px; color: var(--orange-600); flex: none; }
.philo-media figcaption:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.philo-media .inset {
  position: absolute; right: -28px; top: -36px; width: 36%;
  border-radius: var(--r-md); border: 6px solid var(--cream-200);
  aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow-soft);
  transform: rotate(4deg);
}
.welcome { margin-top: 38px; }
.welcome-photo {
  display: block; width: 100%; max-width: 420px; height: auto; margin-top: 18px;
  border-radius: var(--r-lg); box-shadow: var(--shadow-soft);
}
.values { list-style: none; border-top: 1px solid var(--line); margin-top: 44px; }
.value {
  display: grid; grid-template-columns: 58px 1fr; gap: 18px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.value-num { font-family: var(--serif); font-style: italic; color: var(--orange-600); font-size: 1.05rem; padding-top: 5px; }
.value h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 8px; }
.value p { margin: 0; max-width: 34em; }
.quote {
  margin: 56px 0 0; padding: 40px 0 0; border: 0;
  font-family: var(--serif); font-style: italic; font-weight: 320;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.2; color: var(--forest-800);
}
.quote cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Services ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.08fr;
  background: var(--forest-800); color: rgba(246, 241, 232, .78);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px;
}
.feature-media { position: relative; min-height: 460px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(32px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.feature h3 { color: var(--cream-100); font-size: clamp(2.1rem, 3.4vw, 3.2rem); margin: 20px 0 20px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(141, 179, 58, .18); color: var(--forest-700);
}
.tag-light { background: rgba(169, 204, 90, .16); color: var(--lime-300); }
.tag-orange { background: rgba(226, 105, 42, .14); color: var(--orange-700); }
.structures { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.structures span {
  border: 1px solid var(--line-light); border-radius: 999px; padding: 10px 20px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--cream-100);
}
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 26px 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-num { font-family: var(--serif); font-style: italic; color: var(--orange-600); }
.service h3 { font-size: 1.42rem; }
.service p { font-size: .93rem; margin: 0; }
.service .tag { margin-top: auto; }
.service-spacer { flex: 1; }
.service.is-extra { background: transparent; border-style: dashed; }
.service.is-extra ul { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.service.is-extra li { display: flex; gap: 10px; align-items: baseline; }
.service.is-extra li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime-400); flex: none; transform: translateY(-2px); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 72px); padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 56px);
  background: var(--cream-200); border-radius: var(--r-lg);
}
.cta-band p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.25; color: var(--forest-800); max-width: 26em; }
.cta-band p span { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Prevention ---------- */
.prev-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.stat-card {
  border: 1px solid var(--line-light); border-radius: var(--r-lg);
  padding: 32px 34px; position: relative; overflow: hidden;
}
.stat-big { font-family: var(--serif); font-weight: 300; font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .9; color: var(--cream-100); letter-spacing: -.03em; }
.stat-big small { font-size: .4em; font-style: italic; color: var(--orange-400); margin-right: 6px; letter-spacing: 0; }
.stat-card p { margin: 14px 0 0; font-size: .95rem; }
.stat-card .fine { font-size: .78rem; color: rgba(246, 241, 232, .55); margin-top: 12px; }

.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(246, 241, 232, .045); border: 1px solid var(--line-light); border-radius: var(--r-md);
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.course:hover { background: rgba(246, 241, 232, .08); transform: translateY(-5px); }
.course-media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.course:hover .course-media img { transform: scale(1.06); }
.course-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 28px; flex: 1; }
.course h3 { font-size: 1.45rem; }
.course p { font-size: .92rem; margin: 0; }
.course-meta { list-style: none; display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: .82rem; font-weight: 600; color: rgba(246, 241, 232, .9); }
.course-meta li { display: flex; gap: 10px; }
.course-meta li::before { content: "—"; color: var(--lime-300); }

.dates {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px clamp(32px, 5vw, 72px); align-items: center;
  margin-top: 16px; padding: clamp(28px, 4vw, 48px);
  background: var(--forest-900); border-radius: var(--r-lg);
}
.dates h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 14px 0 10px; }
.dates p { margin: 0; font-size: .95rem; }
.date-list { list-style: none; display: grid; gap: 10px; }
.date-item {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--line-light); border-radius: var(--r-sm);
}
.date-item strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--cream-100); }
.date-item span { font-size: .84rem; }
.date-item .spots { grid-row: span 2; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-300); }
.dates-empty {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 24px 26px; border: 1px dashed var(--line-light); border-radius: var(--r-md);
}
.dates-empty p { max-width: 26em; }

/* ---------- Business ---------- */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.biz-collage { position: relative; padding: 0 12% 16% 0; }
.biz-collage .main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.biz-collage .second {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--r-md); border: 8px solid var(--cream-100); box-shadow: var(--shadow);
}
.biz-collage .label {
  position: absolute; left: 22px; top: 22px; background: var(--forest-800); color: var(--cream-100);
  padding: 10px 16px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.offer-list { list-style: none; margin: 36px 0 32px; border-top: 1px solid var(--line); }
.offer { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.offer-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-200); display: grid; place-items: center; color: var(--green-600); }
.offer-icon svg { width: 20px; height: 20px; }
.offer h3 { font-size: 1.28rem; margin-bottom: 4px; }
.offer p { margin: 0; font-size: .94rem; }
.partner {
  display: flex; gap: 18px; align-items: center; padding: 20px 24px; margin-bottom: 32px;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); font-size: .9rem;
}
.partner strong { color: var(--forest-800); }
.partner-badge {
  flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-700); border: 1px solid rgba(201, 86, 28, .35); border-radius: 999px; padding: 7px 12px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-media { position: relative; max-width: 500px; }
.about-media .arch { aspect-ratio: 4 / 5.2; }
.about-media .small {
  position: absolute; right: -40px; bottom: -40px; width: 44%;
  aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%;
  border: 8px solid var(--cream-200); box-shadow: var(--shadow);
}
.about-media .years {
  position: absolute; left: -24px; top: 40px;
  width: 116px; height: 116px; border-radius: 50%; background: var(--orange-600); color: var(--cream-50);
  display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-soft);
}
.about-media .years strong { font-family: var(--serif); font-weight: 350; font-size: 2.4rem; line-height: 1; }
.about-media .years span { font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; line-height: 1.35; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0; }
.stat { padding: 24px 0 22px; }
.stat + .stat { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-weight: 330; font-size: clamp(2.3rem, 3.8vw, 3.3rem); color: var(--forest-800); line-height: 1; }
.stat span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.signature span { font-family: var(--serif); font-style: italic; font-weight: 320; font-size: 2rem; color: var(--forest-800); line-height: 1; }
.signature small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 6px; }

.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(72px, 9vw, 128px); }
.cv-grid h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 16px 0 28px; }
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline time, .timeline .when { font-family: var(--serif); font-style: italic; color: var(--orange-600); font-size: 1.05rem; }
.timeline strong { display: block; color: var(--forest-800); font-weight: 700; }
.timeline span { font-size: .92rem; }
.quals { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.quals li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px; background: var(--cream-50); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--forest-800);
  transition: background .3s, color .3s, border-color .3s;
}
.quals li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-400); }
.quals li:hover { background: var(--forest-800); color: var(--cream-100); border-color: var(--forest-800); }

/* ---------- Reviews ---------- */
/* "clip" trims the background glow like "hidden" but does not block position: sticky inside */
.reviews { overflow: hidden; overflow: clip; }
.reviews::before {
  content: ""; position: absolute; right: -14vw; top: -18vw; width: 48vw; height: 48vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 105, 42, .14), transparent 65%); pointer-events: none;
}
.reviews .container { position: relative; }
.reviews-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 120px); }
.rating-card { position: sticky; top: 110px; align-self: start; }
.rating-score { display: flex; align-items: flex-end; gap: 22px; margin: 40px 0 36px; }
.rating-score strong {
  font-family: var(--serif); font-weight: 300; font-size: clamp(5.2rem, 10vw, 8.6rem);
  line-height: .8; letter-spacing: -.04em; color: var(--cream-100);
}
.rating-score .stars { width: 132px; height: 24px; color: var(--orange-400); margin-bottom: 10px; }
.rating-score span { font-size: .95rem; line-height: 1.45; }
.rating-score b { color: var(--cream-100); font-weight: 700; }
.praise { list-style: none; border-top: 1px solid var(--line-light); margin-top: 32px; }
.praise li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.praise .value-num { color: var(--orange-400); }
.praise h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); margin-bottom: 6px; }
.praise p { margin: 0; max-width: 36em; }
.review-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.review-quote {
  display: flex; flex-direction: column;
  padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-lg);
  background: rgba(246, 241, 232, .055); border: 1px solid var(--line-light);
}
.review-quote .stars { color: var(--orange-400); margin-bottom: 18px; }
.review-quote blockquote {
  flex: 1; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 320;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.25; color: var(--cream-100);
}
.review-quote figcaption { margin-top: 24px; }
.review-quote figcaption a { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; text-decoration: none; }
.review-quote figcaption svg { width: 14px; height: 14px; align-self: center; margin-left: -6px; color: var(--lime-300); transition: transform .3s var(--ease), color .3s; }
.review-quote figcaption a:hover span, .review-quote figcaption a:hover svg { color: var(--orange-400); }
.review-quote figcaption a:hover svg { transform: translateX(4px); }
.review-quote figcaption strong { font-size: 1rem; font-weight: 700; color: var(--cream-100); }
.review-quote figcaption span { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-300); transition: color .3s; }
.reviews-note { margin-top: 18px; font-size: .78rem; color: rgba(246, 241, 232, .5); }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.book-card {
  position: relative; display: flex; align-items: flex-end; min-height: 520px;
  border-radius: var(--r-lg); overflow: hidden; color: var(--cream-100); isolation: isolate;
}
.book-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.book-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 33, 24, 0) 30%, rgba(14, 33, 24, .88) 100%); }
.book-card:hover > img { transform: scale(1.05); }
.book-body { padding: 32px; width: 100%; }
.book-body h3 { color: var(--cream-100); font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin: 14px 0 8px; }
.book-body p { color: rgba(246, 241, 232, .85); font-size: .95rem; margin-bottom: 22px; }
.book-card .tag { background: rgba(252, 250, 246, .9); color: var(--forest-800); }
.gift-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 520px;
  padding: 36px 32px 32px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--orange-600); color: rgba(252, 250, 246, .92); isolation: isolate;
}
.gift-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -170px; border-radius: 50%; z-index: -1;
  border: 1px solid rgba(252, 250, 246, .25); box-shadow: 0 0 0 60px rgba(252, 250, 246, .05), 0 0 0 120px rgba(252, 250, 246, .04);
}
.gift-card .eyebrow { color: var(--cream-50); }
.gift-card .eyebrow::before { background: var(--cream-50); }
.gift-card h3 { color: var(--cream-50); font-size: clamp(2rem, 3vw, 2.6rem); margin: 18px 0 14px; }
.gift-card h3 em { color: var(--forest-900); }
.gift-card .mark { width: 54px; height: 76px; --m-head: var(--cream-50); --m-1: rgba(252, 250, 246, .55); --m-2: rgba(252, 250, 246, .75); --m-3: var(--forest-900); }
.gift-list { list-style: none; display: grid; gap: 8px; margin: 20px 0 28px; font-weight: 600; font-size: .95rem; }
.gift-list li { display: flex; align-items: center; gap: 10px; }
.gift-list li::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .7; }
.book-note {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px;
  margin-top: 28px; text-align: center; font-size: .92rem; color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 19vw, 270px);
  grid-auto-flow: dense; gap: 16px;
}
.gallery-item {
  display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: var(--cream-300);
  border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; position: relative;
}
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 2; }
.gallery-item.g-big { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item::after {
  content: attr(data-caption); position: absolute; left: 14px; bottom: 14px; right: 14px;
  padding: 9px 14px; border-radius: 999px; background: rgba(252, 250, 246, .92);
  font-size: .76rem; font-weight: 700; color: var(--forest-800); text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  width: max-content; max-width: calc(100% - 28px);
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: auto; width: min(92vw, 1100px); max-height: 92vh;
  background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(14, 33, 24, .92); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--r-md); }
.lightbox figcaption { color: var(--cream-100); font-size: .9rem; font-weight: 600; }
.lb-btn {
  position: fixed; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(246, 241, 232, .3);
  background: rgba(14, 33, 24, .5); color: var(--cream-100); cursor: pointer; display: grid; place-items: center;
  transition: background .3s;
}
.lb-btn:hover { background: var(--orange-600); border-color: var(--orange-600); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev svg { transform: rotate(180deg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); }
.faq-aside { position: sticky; top: 110px; align-self: start; }
.faq-aside p { margin-top: 22px; }
.faq-contact {
  margin-top: 32px; padding: 26px; border-radius: var(--r-md); background: var(--cream-50); border: 1px solid var(--line);
}
.faq-contact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--forest-800); margin-bottom: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.38rem); font-weight: 400; color: var(--forest-800);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange-600); }
.faq-icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  position: relative; transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--forest-800);
  transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .35s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--forest-800); border-color: var(--forest-800); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--cream-100); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 64px 28px 0; }
.faq-answer a { color: var(--orange-700); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; overflow: clip; }
.contact::before {
  content: ""; position: absolute; left: -12vw; bottom: -16vw; width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 179, 58, .16), transparent 65%); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 6vw, 100px); position: relative; }
.contact-grid > * { min-width: 0; }
.contact-grid > .form-card { align-self: start; }
/* Desktop: the form follows while scrolling through the contact section (--sticky-top is set in main.js) */
@media (min-width: 961px) {
  .contact-grid > .form-card { position: sticky; top: var(--sticky-top, 96px); }
}
.contact-list a { overflow-wrap: anywhere; }
.contact .h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
.contact-list { list-style: none; margin-top: 44px; }
.contact-list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-light); }
.icon-circle {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-light);
  display: grid; place-items: center; color: var(--lime-300);
}
.icon-circle svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 232, .55); margin-bottom: 4px; }
.contact-list a, .contact-list .val { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--cream-100); text-decoration: none; line-height: 1.35; }
.contact-list a:hover { color: var(--orange-400); }
.contact-list p { margin: 6px 0 0; font-size: .9rem; }
.contact-list .text-link { margin-top: 10px; font-family: var(--sans); font-size: .85rem; color: var(--cream-100); border-color: rgba(238, 138, 79, .6); }
.contact-quote {
  margin: 52px 0 0; font-family: var(--serif); font-style: italic; font-weight: 320;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.2; color: var(--cream-100); max-width: 15em;
}
.contact-quote cite {
  display: block; margin-top: 16px; font-family: var(--sans); font-style: normal;
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lime-300);
}

.form-card {
  background: var(--cream-100); color: var(--ink-2);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .5);
}
.form-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin: 14px 0 8px; color: var(--forest-800); }
.form-card .eyebrow { color: var(--green-600); }
.form-grid .full { grid-column: 1 / -1; }
.form-card > p { font-size: .94rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-800); }
.field label .opt { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 15px 18px; border-radius: 14px; border: 1px solid rgba(23, 51, 38, .2); background: var(--cream-50);
  transition: border-color .3s, box-shadow .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173326' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(46, 107, 69, .14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--orange-600); }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: .85rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-600); cursor: pointer; }
.consent a { color: var(--forest-800); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { font-size: .8rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 14px; font-size: .92rem; font-weight: 600; }
.form-status.is-success { display: block; background: rgba(141, 179, 58, .2); color: var(--forest-700); }
.form-status.is-error { display: block; background: rgba(201, 86, 28, .12); color: var(--orange-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(246, 241, 232, .66); padding: clamp(64px, 8vw, 110px) 0 32px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.site-footer .brand-name { color: var(--cream-100); }
.site-footer .brand-tag { color: rgba(246, 241, 232, .5); }
.site-footer .mark { --m-3: var(--cream-100); }
.footer-motto { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--cream-100); margin: 28px 0 6px; line-height: 1.15; }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lime-300); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--orange-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: none; grid-template-columns: auto 1fr; gap: 8px;
  padding: 8px; border-radius: 999px; background: rgba(23, 51, 38, .94);
  backdrop-filter: blur(12px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a { padding: 14px 18px; font-size: .9rem; }
.mobile-cta .call { --bg: transparent; --fg: var(--cream-100); --bd: rgba(246, 241, 232, .25); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.js .reveal-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.js .reveal-stagger.is-in > *:nth-child(8) { transition-delay: .56s; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 72px) 0 var(--section); }
.legal .container { max-width: calc(820px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 18px 0 40px; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 48px 0 14px; }
.legal h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal a { color: var(--orange-700); font-weight: 600; }
.legal ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.legal .note {
  padding: 18px 22px; border-radius: var(--r-sm); background: rgba(226, 105, 42, .1);
  border: 1px solid rgba(201, 86, 28, .25); color: var(--orange-700); font-size: .9rem; margin-bottom: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1420px) {
  .site-header { --nav-gap: 20px; }
  .site-header .brand-tag { letter-spacing: .15em; }
  .nav a { font-size: .875rem; }
}

@media (max-width: 1340px) {
  .site-header { --nav-gap: 18px; }
}

@media (max-width: 1279px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
}

@media (max-width: 1180px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 330px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand-logo { height: 60px; }
  .is-scrolled .brand-logo { height: 54px; }
  .hero-grid, .section-head, .philo-grid, .prev-head, .biz-grid, .about-grid,
  .cv-grid, .faq-grid, .contact-grid, .feature, .dates { grid-template-columns: 1fr; }
  .section-head > div:last-child { max-width: 40em; }
  .hero-media { justify-self: center; max-width: 440px; margin-top: 12px; }
  .philo-aside, .faq-aside, .rating-card { position: static; }
  .reviews-grid { grid-template-columns: 1fr; }
  .philo-media { max-width: 520px; }
  .feature-media { min-height: 340px; }
  .biz-collage { max-width: 560px; }
  .about-media { margin: 0 auto 32px; max-width: 420px; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .gift-card { grid-column: 1 / -1; min-height: auto; }
  .gift-card .mark { position: absolute; right: 32px; top: 32px; }
}

@media (max-width: 720px) {
  .header-actions { gap: 10px; }
  .brand-tag { display: none; }
  .hero-trust { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 14px; margin-top: 40px; }
  .hero-trust strong { font-size: 1.14rem; white-space: nowrap; }
  .hero-trust span { font-size: .72rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .motto-card { left: -8px; bottom: 24px; padding: 14px 16px; max-width: 240px; }
  .motto-latin { font-size: 1.08rem; }
  .spin-badge { width: 100px; height: 100px; right: -6px; top: 6px; }
  .spin-badge .mark { width: 30px; height: 42px; }
  .services, .courses, .book-grid { grid-template-columns: 1fr; }
  .pillars {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar { flex: 0 0 84%; min-height: 360px; scroll-snap-align: start; }
  .pillar h3 { margin-top: 40px; }
  .pillar:hover { transform: none; }
  .philo-media .inset { right: -8px; top: -24px; width: 34%; border-width: 4px; }
  .value, .praise li { grid-template-columns: 1fr; gap: 6px; }
  .rating-score { gap: 16px; }
  .review-quotes { grid-template-columns: 1fr; }
  .hero-rating { font-size: .84rem; gap: 10px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat span { font-size: .72rem; }
  .about-media .small { right: -8px; bottom: -24px; }
  .about-media .years { left: -6px; top: 20px; width: 94px; height: 94px; }
  .about-media .years strong { font-size: 1.9rem; }
  .about-media .years span { letter-spacing: .08em; }
  .book-card { min-height: 440px; }
  .gift-card .mark { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gallery-item::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-answer { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .mobile-cta { display: grid; }
  .site-footer { padding-bottom: 110px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > *, .js .hero-anim { opacity: 1; transform: none; }
}
