/* ============================================================
   Aranykert — tokens
   ============================================================ */
:root {
  --cream: #F5EFE3;
  --cream-deep: #ECE3D1;
  --ink: #2B2621;
  --ink-soft: #4A423A;
  --gold: #B9863F;
  --gold-deep: #96682C;
  --gold-tint: #F0E4CC;
  --sage: #6E7B5C;
  --stone: #8A8074;
  --taupe-deep: #9C8D6E;
  --line: rgba(43, 38, 33, 0.14);
  --line-on-dark: rgba(245, 239, 227, 0.28);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --edge: clamp(1.25rem, 4vw, 3.5rem);

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --header-h: 4.5rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
iframe { border: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ============================================================
   Type
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.9rem;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 34ch;
}

.lead-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 44px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-inverse {
  background: var(--cream);
  color: var(--ink);
}
.btn-inverse:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost {
  padding: 0.5rem 0;
  background: transparent;
  color: var(--ink);
  min-height: auto;
  border-radius: 0;
}
.btn-ghost svg { transition: transform 0.2s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; min-height: 38px; }
.btn:active { transform: scale(0.96); }
.btn-ghost:active { transform: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(245, 239, 227, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 239, 227, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(43, 38, 33, 0.35);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--edge);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 2.2rem; height: 2.2rem; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }
.main-nav a.nav-cta,
.main-nav a.nav-cta:hover {
  color: #fff;
  padding: 0.85rem 1.6rem;
}
.main-nav a.nav-cta::after { content: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  appearance: none; border: 0; background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  color: var(--ink);
  min-height: 32px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-btn.is-active {
  background: var(--gold);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle-bar {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin: 0 auto;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1080px) {
  .nav-cta { display: inline-flex; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* staggered children within a revealed grid/list */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.27s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.39s; }
.stagger.is-visible > *:nth-child(n+8) { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* stagger applied to horizontally-scrolling card rows too */
.event-rows.stagger-h .event-card:nth-child(1) { transition-delay: 0.02s; }
.event-rows.stagger-h .event-card:nth-child(2) { transition-delay: 0.07s; }
.event-rows.stagger-h .event-card:nth-child(3) { transition-delay: 0.12s; }
.event-rows.stagger-h .event-card:nth-child(4) { transition-delay: 0.17s; }
.event-rows.stagger-h .event-card:nth-child(n+5) { transition-delay: 0.22s; }

/* native scroll-driven reveal where supported (Chromium 115+); the JS
   IntersectionObserver fallback below is skipped entirely on browsers
   that reach this block, so the two systems never fight each other */
@supports (animation-timeline: view()) {
  [data-reveal] {
    transition: none;
    animation: reveal-fade-slide linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  .stagger > * {
    transition: none;
    animation: reveal-fade-slide linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
  .event-rows.stagger-h .event-card {
    transition: none;
    animation: reveal-fade-slide linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
  @keyframes reveal-fade-slide {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    [data-reveal], .stagger > *, .event-rows.stagger-h .event-card { animation: none; opacity: 1; transform: none; }
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { background: var(--cream); padding: min(4rem, 7vh) 0 min(5rem, 9vh); overflow: clip; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-text { max-width: 34rem; }
.hero-text > .eyebrow { margin-bottom: min(0.9rem, 1.6vh); }
.hero-text > * {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 0.85s var(--ease) forwards;
}
.hero-text > .eyebrow { animation-delay: 0.05s; }
.hero-text > .hero-title { animation-delay: 0.16s; }
.hero-text > .hero-rule { animation-delay: 0.32s; transform: scaleX(0); transform-origin: left; animation-name: hero-rule-grow; }
.hero-text > .hero-sub { animation-delay: 0.4s; }
.hero-text > .hero-cta-row { animation-delay: 0.5s; }
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-rule-grow { to { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-text > * { animation: none; opacity: 1; transform: none; }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-rule {
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  margin: min(1.5rem, 2.7vh) 0;
  border: 0;
}
.hero-sub {
  max-width: 38ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.6;
}
.hero-cta-row {
  margin-top: min(2.25rem, 4vh);
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 6 / 5;
  opacity: 0;
  transform: scale(0.97);
  /* fill-mode forwards holds the "to" keyframe's transform (scale(1))
     forever once the entrance finishes — a real, if visually-identity,
     transform value left sitting on the very element that's supposed to
     clip the video and the warmth overlay beneath it. A second, near-
     instant animation timed to start right as the first ends snaps it
     back to a genuine transform: none, in case Safari's clipping quirk is
     triggered by any transform anywhere in the ancestor chain, not just on
     the video itself. */
  animation: hero-photo-in 1s var(--ease) 0.18s forwards, hero-photo-in-settle 0.01s linear 1.19s forwards;
}
/* Safari doesn't clip a <video>'s own decoded surface through an ancestor's
   overflow:hidden + border-radius once that video carries its own
   transform — the transform promotes it to a hardware compositing layer
   that bypasses CSS clipping entirely, no matter which clip property is
   used (border-radius, overflow, clip-path all failed in testing). The fix
   is structural: the parallax scale/shift transform lives on this wrapper
   instead, so the video itself is never transformed and gets clipped
   normally by this element's own overflow:hidden + border-radius. */
.hero-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: translateY(var(--hero-shift, 0px));
  will-change: transform;
}
/* the zoom buffer (originally transform: scale(1.04) on the frame) is done
   here as real layout over-sizing instead of a transform — Safari seems to
   leave a hairline gap at a video's own edges once any transform sits
   anywhere in its rendering path, even on a parent; oversizing the box
   itself has no such quirk since nothing is transformed at all */
.hero-photo img, .hero-photo-media {
  position: absolute;
  top: -4%; left: -4%;
  width: 108%; height: 108%;
  object-fit: cover; object-position: 50% 40%;
  display: block;
}
/* same warm gold/sage tint used over the event cards (.event-media::after),
   at lower strength — ties the photo into the site's palette instead of
   sitting as a neutral, unrelated color */
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(185, 134, 63, 0.14), rgba(110, 123, 92, 0.08));
  mix-blend-mode: multiply;
  pointer-events: none;
  /* a background always respects its own border-radius with no need for
     overflow:hidden on anything — giving it one directly, rather than
     counting on the parent to clip it, rules this out as a source of the
     square-edge artifact regardless of what's going on with the video */
  border-radius: var(--radius-lg);
}
/* belt-and-suspenders for Safari: even with the video itself untransformed
   (see .hero-photo-frame above), some Safari versions still render an
   autoplaying <video> through a hardware layer that ignores every CSS
   clipping method (border-radius, overflow, clip-path all tested, none
   held). These four plain, unclipped, untransformed patches don't rely on
   clipping the video at all — each is a hard-edged radial-gradient, solid
   page-background color in just the small wedge between the box's true
   corner and the rounded-rect's arc (radius --radius-lg, centered on the
   inward corner), transparent everywhere past that arc. That wedge is what
   a real border-radius removes, so painting it on top fakes the same
   result. A div's own gradient always renders correctly in Safari — the
   bug is specific to video/transformed layers, so this sidesteps it
   entirely. (A plain border-radius on a solid square was tried first and
   is backwards: it keeps the square solid and only cuts near its own
   rounded corner, the opposite of what's needed here.) */
.hero-photo-corner {
  position: absolute;
  width: var(--radius-lg);
  height: var(--radius-lg);
  pointer-events: none;
}
.hero-photo-corner-tl { top: 0; left: 0; background: radial-gradient(circle at bottom right, transparent 0, transparent var(--radius-lg), var(--cream) var(--radius-lg)); }
.hero-photo-corner-tr { top: 0; right: 0; background: radial-gradient(circle at bottom left, transparent 0, transparent var(--radius-lg), var(--cream) var(--radius-lg)); }
.hero-photo-corner-bl { bottom: 0; left: 0; background: radial-gradient(circle at top right, transparent 0, transparent var(--radius-lg), var(--cream) var(--radius-lg)); }
.hero-photo-corner-br { bottom: 0; right: 0; background: radial-gradient(circle at top left, transparent 0, transparent var(--radius-lg), var(--cream) var(--radius-lg)); }
@keyframes hero-photo-in { to { opacity: 1; transform: scale(1); } }
@keyframes hero-photo-in-settle { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; }
  .hero-text { max-width: none; }
}

/* ============================================================
   Icon grid (services)
   ============================================================ */
.services { background: var(--cream); text-align: center; position: relative; overflow: clip; }
.services::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18%; left: -14%;
  width: min(32vw, 380px); height: min(32vw, 380px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 55% 45%, rgba(168, 93, 59, 0.13), rgba(168, 93, 59, 0) 70%);
  transform: translateY(var(--blob-shift, 0px)) rotate(var(--blob-rotate, 0deg));
  will-change: transform;
}
.services .section-inner { position: relative; z-index: 1; }
.services .eyebrow { text-align: center; }
.services-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  max-width: 32ch;
  margin: 0 auto;
}
.services-divider {
  color: var(--gold);
  margin: min(1.75rem, 3.1vh) auto;
  opacity: 0.8;
  animation: slow-spin 40s linear infinite;
}
@keyframes slow-spin {
  to { transform: rotate(360deg); }
}
.service-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
  transform: translateY(var(--icon-shift, 0px));
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .service-grid { transform: none; }
}
.service-card { display: flex; flex-direction: column; gap: 0.5rem; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--gold);
  color: #fff;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}
.service-card p { font-size: 0.9rem; color: var(--ink-soft); }
.services-link { margin-top: 3rem; }
@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); text-align: center; }
  .service-card { align-items: center; }
}
@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   About
   ============================================================ */
.about { background: var(--cream); position: relative; overflow: clip; }
.about::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 14%; right: -10%;
  width: min(46vw, 560px); height: min(46vw, 560px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(110, 123, 92, 0.18), rgba(110, 123, 92, 0) 70%);
  transform: translateY(var(--blob-shift, 0px)) rotate(var(--blob-rotate, 0deg));
  will-change: transform;
}
.about .section-inner { position: relative; z-index: 1; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.about-text { max-width: 62ch; }
.about-body { display: grid; gap: 1.25rem; font-size: 1rem; color: var(--ink-soft); margin-top: 0.5rem; }
.about-body p { max-width: 62ch; }

.modality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  margin: 0.5rem 0 0.75rem;
  transform: translateY(var(--pill-shift, 0px));
  will-change: transform;
}
.modality-list li {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.modality-list li:hover {
  background: var(--gold-tint);
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .modality-list { transform: none; }
}

.about-carousel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(43, 38, 33, 0.35);
  touch-action: pan-y;
}
.about-carousel-track {
  position: relative;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  list-style: none;
}
.about-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.about-carousel-slide.is-active { opacity: 1; }
.about-carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .about-carousel-slide { transition: none; }
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.85);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.carousel-nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.carousel-nav--prev { left: 0.75rem; }
.carousel-nav--next { right: 0.75rem; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  padding: 0;
  background: rgba(250, 246, 238, 0.55);
  border: 1px solid rgba(250, 246, 238, 0.8);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot:hover { transform: scale(1.15); }
.carousel-dot.is-active { background: var(--gold); border-color: var(--gold); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-carousel { width: 100%; max-width: 420px; margin: 2.5rem auto 0; }
}

/* ============================================================
   Approach / definition
   ============================================================ */
.approach { background: var(--cream); }
.approach-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.approach-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 26ch;
}
.approach-body p { color: var(--ink-soft); max-width: 58ch; }
.approach-disclaimer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--stone);
}
.approach-shape {
  display: flex;
  width: 100%;
  justify-content: center;
  animation: gentle-float 8s ease-in-out infinite;
}
.tree-grow-stack {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
}
/* a true sequence of growth-stage artwork (not exploded branch pieces), so
   the tree fills in continuously as its own drawing rather than assembling
   from parts. .tree-grow-frame-a holds the current stage, .tree-grow-frame-b
   the next one; script.js crossfades between them as the section scrolls
   through view, which reads as smooth in-between growth from a fixed set
   of stills. */
.tree-grow-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tree-grow-frame-b { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .approach-shape { animation: none; }
  .tree-grow-frame-b { opacity: 0; }
}
@media (max-width: 860px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-shape { order: -1; max-width: 220px; margin: 0 auto; }
}

/* ============================================================
   Team
   ============================================================ */
.team { background: var(--cream); position: relative; overflow: clip; }
.team::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 20%; left: -12%;
  width: min(36vw, 460px); height: min(36vw, 460px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 60% 40%, rgba(185, 134, 63, 0.18), rgba(185, 134, 63, 0) 70%);
  transform: translateY(var(--blob-shift, 0px)) rotate(var(--blob-rotate, 0deg));
  will-change: transform;
}
.team .section-inner { position: relative; z-index: 1; }
.team-list {
  margin: 3rem auto 0;
  max-width: 46rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.32, 1.85, 0.6, 1), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
/* while actively tracking a pointer, transform updates land every animation
   frame straight from JS, but real touchmove events fire far sparser than
   60fps — a short, gentle transition here bridges those gaps into fluid
   motion instead of visibly snapping between updates. The bigger springy
   bounce above only plays for the settle once the pointer lifts. */
.team-list.is-tracking .team-name {
  transition: transform 0.1s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .team-name:hover {
    background: var(--gold-tint);
    border-color: var(--gold);
    color: var(--gold-deep);
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-name { transform: none !important; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
}
@media (max-width: 720px) {
  .team-name { font-size: 0.92rem; padding: 0.55rem 1.05rem; }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing { background: var(--cream); position: relative; overflow: clip; }
.pricing::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 12%; right: -13%;
  width: min(42vw, 520px); height: min(42vw, 520px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 45% 50%, rgba(110, 123, 92, 0.15), rgba(110, 123, 92, 0) 70%);
  transform: translateY(var(--blob-shift, 0px)) rotate(var(--blob-rotate, 0deg));
  will-change: transform;
}
.pricing .section-inner { position: relative; z-index: 1; }

.insurer-row {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insurer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.insurer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -20px rgba(43, 38, 33, 0.4);
  border-color: var(--gold);
}
.insurer-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.insurer-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.insurer-card p { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.15rem; }
@media (max-width: 720px) {
  .insurer-row { grid-template-columns: 1fr; }
}

.price-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.price-row {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  transition: transform 0.25s var(--ease);
}
.price-row:hover { transform: translateX(6px); }
.price-name {
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 56ch;
}
.price-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--stone);
  font-weight: 400;
  max-width: 62ch;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-deep);
  white-space: nowrap;
  flex-shrink: 0;
}
.insurance-card {
  margin-top: 2rem;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  max-width: 42rem;
}
.insurance-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.insurance-note {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.insurance-link-wrap { margin-top: 0.9rem; }
.insurance-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--cream-deep);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.insurance-link:hover { background: var(--gold); color: #fff; }
.insurance-link svg { flex-shrink: 0; }
@media (max-width: 560px) {
  .insurance-card { flex-direction: column; }
}
@media (max-width: 560px) {
  .price-row { flex-direction: column; gap: 0.3rem; }
}

/* ============================================================
   Activities
   ============================================================ */
.activities { background: var(--cream); position: relative; overflow: clip; }
.activities::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16%; right: -12%;
  width: min(48vw, 600px); height: min(48vw, 600px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 40% 50%, rgba(168, 93, 59, 0.15), rgba(168, 93, 59, 0) 70%);
  transform: translateY(var(--blob-shift, 0px)) rotate(var(--blob-rotate, 0deg));
  will-change: transform;
}
.activities .section-inner { position: relative; z-index: 1; }
.activities .lead-text { margin-top: 1.25rem; max-width: 68ch; }

.event-rows {
  margin: 3.5rem calc(-1 * var(--edge)) 0;
  padding: 10px 0 0.75rem;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--edge);
  scroll-padding-right: var(--edge);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.event-rows.is-switching { opacity: 0; transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) {
  .event-rows { transition: none; }
}
.event-rows::-webkit-scrollbar { display: none; }
.event-rows::before, .event-rows::after { content: ""; flex: 0 0 var(--edge); scroll-snap-align: start; }
.event-card {
  flex: 0 0 clamp(260px, 32vw, 320px);
  scroll-snap-align: start;
  margin-right: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -22px rgba(43, 38, 33, 0.45);
}
.event-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.event-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.event-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(185, 134, 63, 0.22), rgba(110, 123, 92, 0.14));
  mix-blend-mode: multiply;
}
.event-card:hover .event-media img { transform: scale(1.04); }
.event-body { padding: 1.25rem; min-height: 12.5rem; }
.event-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.event-desc { color: var(--ink-soft); font-size: 0.92rem; }
.event-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
}
@media (max-width: 560px) {
  .event-card { flex-basis: 78vw; max-width: 320px; }
}

.lecture-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ---------- Events / Lectures toggle ---------- */
.activity-toggle {
  position: relative;
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.3rem;
  background: var(--cream-deep);
  border-radius: 999px;
  gap: 0.25rem;
}
.activity-toggle-indicator {
  position: absolute;
  top: 0.3rem; bottom: 0.3rem; left: 0;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 6px 16px -8px rgba(43, 38, 33, 0.35);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
  will-change: transform;
}
.activity-toggle-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.activity-toggle-btn:hover { color: var(--ink); }
.activity-toggle-btn.is-active { color: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) {
  .activity-toggle-indicator { transition: none; }
}

/* ---------- shared horizontal scroll arrows (Events + Lectures) ---------- */
.scroll-area { position: relative; }
.scroll-btn {
  display: none;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px -10px rgba(43, 38, 33, 0.35);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.scroll-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.scroll-btn.is-disabled { opacity: 0; pointer-events: none; }
.scroll-btn--prev { left: 0.5rem; }
.scroll-btn--next { right: 0.5rem; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .scroll-btn { display: flex; }
}

.media-row {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.media-row > * { min-width: 0; }
@media (max-width: 860px) {
  .media-row { grid-template-columns: 1fr; gap: 3rem; }
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  color: var(--ink-soft);
}

.video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  background: var(--ink);
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
}
.video-thumb:hover img,
.video-thumb:focus-visible img { opacity: 0.6; }
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(43, 38, 33, 0.5), rgba(43, 38, 33, 0.05) 55%);
}
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(43, 38, 33, 0.55);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.video-play svg { margin-left: 3px; }
.video-thumb:hover .video-play,
.video-thumb:focus-visible .video-play {
  background: var(--gold-deep);
  transform: translate(-50%, -50%) scale(1.08);
}

@media (max-width: 720px) {
  .video-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--edge);
    scroll-padding-right: var(--edge);
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--edge));
    padding: 0 0 0.5rem;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid { gap: 0; }
  .video-grid::before, .video-grid::after { content: ""; flex: 0 0 var(--edge); scroll-snap-align: start; }
  .video-figure { flex: 0 0 82vw; max-width: 360px; scroll-snap-align: start; margin-right: 2rem; }
}

.writing-list {
  border-top: 1px solid var(--line);
}
.writing-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.writing-source {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.4rem;
}
.writing-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.writing-title:hover { border-color: var(--gold-deep); }

.support-card {
  margin-top: 3.5rem;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  max-width: 42rem;
}
.support-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.support-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.support-note strong { color: var(--ink); font-weight: 600; }
.support-iban {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  max-width: 100%;
}
.support-iban-code {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  word-break: break-word;
}
.support-copy {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.support-copy:hover { background: var(--gold); color: #fff; }
.support-copy.is-copied { background: var(--sage); color: #fff; }
@media (max-width: 560px) {
  .support-card { flex-direction: column; }
}

.social-row {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.social-row p { font-size: 0.9rem; color: var(--stone); }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color .2s;
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--taupe-deep);
  color: var(--cream);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}
.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F1DEC8;
  margin-bottom: 0.85rem;
}
.cta-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  max-width: 46rem;
  color: #FBF3E7;
}
.cta-band .btn-inverse { color: var(--taupe-deep); flex-shrink: 0; }
.cta-band .btn-inverse:hover { color: var(--gold-deep); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  padding-bottom: 3rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.footer-brand img { width: 2rem; height: 2rem; }
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
}
.footer-tagline { color: #D9D0C0; font-size: 0.92rem; max-width: 26ch; }
.footer-col .social-links { margin-top: 1.5rem; }
.footer-col .social-links a { border-color: var(--line-on-dark); color: var(--cream); }
.footer-col address { font-style: normal; line-height: 1.7; color: #D9D0C0; }
.footer-heading {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.footer-col > .footer-heading:first-child { margin-top: 0; }
.footer-col p { color: #D9D0C0; font-size: 0.92rem; }
.footer-link {
  display: block;
  margin-top: 0.4rem;
  text-decoration: none;
  color: var(--cream);
  font-size: 1.02rem;
  border-bottom: 1px solid transparent;
  width: max-content;
  transition: border-color 0.2s var(--ease);
}
.footer-link:hover { border-color: var(--gold); }
.footer-map iframe {
  width: 100%; height: 100%;
  min-height: 220px;
  border-radius: var(--radius-md);
  filter: grayscale(0.3) sepia(0.15);
}
.footer-lower {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.5rem;
}
.footer-copy { font-size: 0.85rem; color: var(--stone); }

@media (min-width: 561px) {
  .footer-lower { justify-content: space-between; }
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Mobile nav
   ============================================================ */
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--edge) 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .main-nav .nav-cta {
    display: inline-flex;
    margin-top: 1.25rem;
    width: 100%;
  }
}
