/* ==========================================================================
   Saraspur Seva Trust — Original Design System
   Warm cream · deep forest · terracotta · gold
   Fraunces (display serif) + Albert Sans (body)
   Motifs: arch frames, dotted texture, offset-shadow cards, pill tags
   ========================================================================== */

:root {
  --cream: #FAF6EF;
  --cream-deep: #F2EADB;
  --forest: #183A2F;
  --forest-deep: #0F2820;
  --terracotta: #D96845;
  --terracotta-deep: #B64E2F;
  --gold: #E9B44C;
  --gold-light: #F6E2A8;
  --gold-deep: #C8912E;
  --sage: #E4EEE6;
  --ink: #1D2B24;
  --muted: #5E6B63;
  --line: #E3DCCC;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Albert Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --t-xl: clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  --t-2xl: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --t-3xl: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);
  --t-hero: clamp(2.9rem, 1.6rem + 6.5vw, 7rem);

  --sp-section: clamp(4.5rem, 3.5rem + 6.5vw, 9.5rem);
  --sp-block: clamp(2.25rem, 1.75rem + 2.5vw, 4.25rem);

  --wrap: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 0.875rem;
  --r-md: 1.375rem;
  --r-lg: 2rem;
  --r-arch: 999px 999px var(--r-md) var(--r-md);
  --r-pill: 100rem;

  --ease: cubic-bezier(0.25, 1, 0.4, 1);
  --nav-h: 5.25rem;
  --shadow-offset: 0.5rem 0.5rem 0 var(--forest);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--forest-deep); }

:focus-visible { outline: 2.5px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-section); }
.section--tight { padding-block: var(--sp-block); }
.bg-sage { background: var(--sage); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-forest { background: var(--forest); color: var(--cream); }

/* dotted texture band divider */
.dots {
  height: 1.1rem;
  background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.9;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 560; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }

.t-hero { font-size: var(--t-hero); font-weight: 480; line-height: 0.98; }
.t-display { font-size: var(--t-3xl); font-weight: 520; line-height: 1.02; }
.t-title { font-size: var(--t-2xl); }
.t-sub { font-size: var(--t-xl); }

/* italic swash accent word */
.sw { font-style: italic; font-weight: 400; color: var(--terracotta); }
.bg-forest .sw, .footer .sw { color: var(--gold); }

.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.bg-forest .lead { color: rgba(250, 246, 239, 0.75); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.45rem 1.05rem;
  margin-bottom: 1.6rem;
}
.tag::before { content: "✿"; color: var(--terracotta); font-size: 0.9em; }
.bg-forest .tag { background: transparent; border-color: rgba(250,246,239,0.25); color: var(--cream); }
.bg-forest .tag::before { color: var(--gold); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: var(--sp-block); }
.section-head .t-display { max-width: 14em; }
.section-head--center { display: block; text-align: center; }
.section-head--center .t-display { margin-inline: auto; }
.section-head--center .lead { margin: 1.25rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  border-radius: var(--r-pill);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:active { transform: translateY(1px); }

.btn--fill { background: var(--terracotta); color: var(--white); box-shadow: 0.35rem 0.35rem 0 var(--forest); }
.btn--fill:hover { background: var(--terracotta-deep); transform: translate(0.15rem, 0.15rem); box-shadow: 0.2rem 0.2rem 0 var(--forest); }

.btn--forest { background: var(--forest); color: var(--cream); box-shadow: 0.35rem 0.35rem 0 var(--gold); }
.btn--forest:hover { background: var(--forest-deep); transform: translate(0.15rem, 0.15rem); box-shadow: 0.2rem 0.2rem 0 var(--gold); }

.btn--line { border: 2px solid var(--forest); color: var(--forest); background: transparent; }
.btn--line:hover { background: var(--forest); color: var(--cream); }
.bg-forest .btn--line { border-color: rgba(250,246,239,0.5); color: var(--cream); }
.bg-forest .btn--line:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

.btn--lg { padding: 1.3rem 2.7rem; font-size: var(--t-base); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* underlined text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--forest);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: border-color 0.25s, color 0.25s;
}
.tlink:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ---------- Navigation ---------- */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--forest); color: var(--cream); padding: 0.7rem 1.2rem; border-radius: var(--r-sm); transition: top 0.2s; }
.skip:focus { top: 1rem; }

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s, height 0.35s var(--ease);
}
.nav.on {
  background: rgba(250, 246, 239, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 4.4rem;
}
.nav.menu-open { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; height: var(--nav-h); }

.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.nav__brand {
  position: relative;
  z-index: 120;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.nav__brand em { font-style: italic; font-weight: 400; color: var(--terracotta); }

.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__a { font-size: var(--t-sm); font-weight: 600; color: var(--muted); position: relative; transition: color 0.25s; }
.nav__a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: -0.4rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--terracotta);
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.nav__a:hover, .nav__a[aria-current="page"] { color: var(--forest); }
.nav__a:hover::after, .nav__a[aria-current="page"]::after { left: 0; right: 0; }
.nav__cta { padding: 0.75rem 1.6rem; box-shadow: none; }

.nav__burger { display: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 2px solid var(--forest); place-items: center; z-index: 120; background: var(--cream); }
.nav__burger-i, .nav__burger-i::before, .nav__burger-i::after {
  content: ""; display: block; position: relative;
  width: 1.05rem; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger-i::before { position: absolute; top: -5.5px; }
.nav__burger-i::after { position: absolute; top: 5.5px; }
.nav__burger[aria-expanded="true"] .nav__burger-i { background: transparent; }
.nav__burger[aria-expanded="true"] .nav__burger-i::before { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-i::after { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__burger { display: grid; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    background: var(--forest);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav__links.open { opacity: 1; visibility: visible; }
  .nav__a { font-family: var(--font-display); font-size: clamp(1.7rem, 6.5vw, 2.4rem); font-weight: 500; color: var(--cream); }
  .nav__a::after { background: var(--gold); height: 3px; }
  .nav__a:hover, .nav__a[aria-current="page"] { color: var(--gold); }
  .nav__cta { margin-top: 1.3rem; font-size: var(--t-base); padding: 1.1rem 2.6rem; background: var(--terracotta); color: var(--white); }
  .nav.menu-open .nav__brand { color: var(--cream); }
  .nav.menu-open .nav__burger { background: var(--forest); border-color: var(--cream); }
  .nav.menu-open .nav__burger-i, .nav.menu-open .nav__burger-i::before, .nav.menu-open .nav__burger-i::after { background: var(--cream); }
  .nav.menu-open .nav__burger[aria-expanded="true"] .nav__burger-i { background: transparent; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(2rem, 4vw, 4rem)); padding-bottom: var(--sp-block); position: relative; }

.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__title { margin-top: 0.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__note { margin-top: 1.6rem; font-size: var(--t-sm); color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.hero__note::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gold); }

/* arch photo frame — the signature motif */
.arch {
  position: relative;
  border-radius: var(--r-arch);
  overflow: hidden;
  background: var(--cream-deep);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--ring { border: 10px solid var(--white); box-shadow: var(--shadow-offset); }

.hero__media { position: relative; }
.hero__media .arch { aspect-ratio: 4 / 5; max-height: 34rem; margin-left: auto; }
@media (max-width: 880px) { .hero__media .arch { margin-inline: auto; max-width: 26rem; } }

/* floating chip over hero media */
.chip {
  position: absolute;
  left: -1.25rem;
  bottom: 2rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0.4rem 0.4rem 0 var(--gold);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
@media (max-width: 880px) { .chip { left: 0; } }
.chip__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--forest); line-height: 1; }
.chip__lbl { font-size: var(--t-xs); color: var(--muted); line-height: 1.35; }

/* ---------- Ticker ribbon ---------- */
.ticker { background: var(--forest); color: var(--cream); overflow: hidden; padding-block: 0.95rem; border-block: 3px solid var(--gold); }
.ticker__track { display: flex; gap: 2.75rem; width: max-content; animation: tick 28s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 2.75rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.05rem, 0.9rem + 1vw, 1.5rem); white-space: nowrap; }
.ticker__item::after { content: "✿"; color: var(--gold); font-style: normal; font-size: 0.85em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: var(--r-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translate(-0.3rem, -0.3rem); box-shadow: 0.6rem 0.6rem 0 var(--gold); }
.card--terra { background: var(--terracotta); color: var(--white); }
.card--terra .card__txt { color: rgba(255,255,255,0.85); }
.card--forest { background: var(--forest); color: var(--cream); }
.card--forest .card__txt { color: rgba(250,246,239,0.75); }

.card__ico { width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-size: 1.3rem; }
.card--terra .card__ico, .card--forest .card__ico { background: rgba(255,255,255,0.16); }
.card__ttl { font-size: var(--t-xl); }
.card__txt { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; flex-grow: 1; }

/* program card with arch image */
.pcard { display: flex; flex-direction: column; gap: 1.3rem; }
.pcard .arch { aspect-ratio: 4 / 4.6; }
.pcard__n { font-family: var(--font-display); font-style: italic; color: var(--terracotta); font-size: var(--t-lg); }
.pcard__ttl { font-size: var(--t-xl); }
.pcard__txt { font-size: var(--t-sm); color: var(--muted); }
.pcard:hover .arch img { transform: scale(1.04); }
.pcard .arch img { transition: transform 0.9s var(--ease); }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 5.5rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split__media .arch { aspect-ratio: 4 / 4.8; max-width: 30rem; }
.split--flip .split__media { order: 2; }
@media (max-width: 880px) { .split--flip .split__media { order: 0; } .split__media .arch { margin-inline: auto; } }

.ticks { display: grid; gap: 0.95rem; margin-top: 1.8rem; }
.ticks li { display: flex; gap: 0.85rem; align-items: flex-start; }
.ticks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.45rem; height: 1.45rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-deep);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 0.2rem;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.4rem; }
.stat { background: var(--white); border: 2px solid var(--forest); border-radius: var(--r-md); padding: 1.9rem 1.6rem; box-shadow: 0.45rem 0.45rem 0 var(--sage); }
.bg-forest .stat { background: transparent; border-color: rgba(250,246,239,0.22); box-shadow: 0.45rem 0.45rem 0 rgba(233,180,76,0.25); }
.stat__n { font-family: var(--font-display); font-size: clamp(2.3rem, 1.8rem + 2.4vw, 3.9rem); font-weight: 560; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.bg-forest .stat__n { color: var(--gold); }
.stat__n .u { color: var(--terracotta); }
.stat__l { margin-top: 0.7rem; font-size: var(--t-sm); color: var(--muted); }
.bg-forest .stat__l { color: rgba(250,246,239,0.7); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 10rem 1fr; gap: 1.6rem; padding-block: 1.9rem; border-top: 1.5px solid var(--line); transition: padding-left 0.4s var(--ease), background-color 0.3s; }
.step:last-child { border-bottom: 1.5px solid var(--line); }
.step:hover { padding-left: 0.9rem; }
.step__k { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.4rem); line-height: 1.3; color: var(--terracotta); overflow-wrap: break-word; }
.step__b h3 { font-size: var(--t-lg); margin-bottom: 0.35rem; }
.step__b p { color: var(--muted); font-size: var(--t-sm); max-width: 46em; }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 52rem; margin-inline: auto; }
.quote__mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.4; color: var(--gold); display: block; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.3; margin-top: 1.4rem; }
.quote cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.bg-forest .quote cite { color: rgba(250,246,239,0.6); }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-of-type { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.55rem 0.2rem; font-family: var(--font-display); font-size: var(--t-lg); font-weight: 560; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--forest);
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-size: 1.2rem; font-weight: 500;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.faq details p { padding: 0 0.2rem 1.55rem; color: var(--muted); max-width: 40em; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.95rem 1.15rem;
  background: var(--white);
  transition: border-color 0.25s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest); }
.field textarea { resize: vertical; min-height: 8rem; }
.form__ok { background: var(--sage); border: 2px solid var(--forest); border-radius: var(--r-sm); padding: 1rem 1.2rem; font-weight: 600; font-size: var(--t-sm); }
.form__err { background: #FDECE7; border: 2px solid var(--terracotta); border-radius: var(--r-sm); padding: 1rem 1.2rem; font-size: var(--t-sm); font-weight: 600; color: #8C2B18; }
.form__err[hidden] { display: none; }

/* ---------- Contact ---------- */
.cinfo { display: flex; flex-direction: column; gap: 1.9rem; }
.cinfo__i h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.cinfo__i p, .cinfo__i a { font-size: var(--t-lg); font-weight: 600; line-height: 1.45; }
.cinfo__i a:hover { color: var(--terracotta); }
.cmap { position: relative; display: block; flex: 1; min-height: 14rem; border-radius: var(--r-md); overflow: hidden; border: 2px solid var(--forest); transition: box-shadow 0.3s var(--ease); }
.cmap:hover { box-shadow: 0.5rem 0.5rem 0 var(--gold); }
.cmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(3rem, 2rem + 5.5vw, 6.5rem) clamp(1.5rem, 1rem + 4vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0.8rem 0.8rem 0 var(--forest);
}
.cta::before, .cta::after {
  content: "✿";
  position: absolute;
  font-size: clamp(7rem, 5rem + 11vw, 15rem);
  line-height: 1;
  opacity: 0.12;
  animation: slowspin 50s linear infinite;
}
.cta::before { top: -0.2em; left: -0.08em; }
.cta::after { bottom: -0.25em; right: -0.06em; animation-direction: reverse; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.cta__ttl { font-size: var(--t-3xl); font-weight: 500; max-width: 13em; margin-inline: auto; }
.cta__ttl .sw { color: var(--gold); }
.cta__txt { margin: 1.3rem auto 2.2rem; max-width: 32em; color: rgba(255,255,255,0.85); font-size: var(--t-lg); }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; position: relative; z-index: 1; }
.cta .btn--fill { background: var(--forest); box-shadow: 0.35rem 0.35rem 0 var(--forest-deep); }
.cta .btn--fill:hover { background: var(--forest-deep); }
.cta .btn--line { border-color: rgba(255,255,255,0.65); color: var(--white); }
.cta .btn--line:hover { background: var(--white); color: var(--terracotta); border-color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding-top: calc(var(--nav-h) + clamp(2.5rem, 2rem + 4vw, 5.5rem)); padding-bottom: var(--sp-block); }
.phero .lead { margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: var(--cream); padding-top: var(--sp-section); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: var(--sp-block); border-bottom: 1px solid rgba(250,246,239,0.15); }
.footer__ttl { font-size: clamp(2.2rem, 1.4rem + 4.2vw, 5rem); font-weight: 480; max-width: 11em; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.4rem; padding-block: clamp(1.75rem, 1.4rem + 1.8vw, 3rem); }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; }
.footer__brand em { font-style: italic; color: var(--gold); }
.footer__about { margin-top: 0.9rem; color: rgba(250,246,239,0.6); font-size: var(--t-sm); max-width: 24em; }
.footer__col h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(250,246,239,0.45); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { font-size: var(--t-sm); color: rgba(250,246,239,0.78); transition: color 0.25s, padding-left 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold); padding-left: 0.35rem; }
.footer__col address { font-style: normal; font-size: var(--t-sm); color: rgba(250,246,239,0.78); line-height: 1.7; }
/* ---- Tagline — the premium visual centrepiece of the footer ---- */
.footer__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  padding-block: clamp(1.5rem, 1.1rem + 2vw, 3rem);
  user-select: none;
}

.footer__tagline-rule {
  flex: 1 1 auto;
  max-width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 180, 76, 0.5));
}
.footer__tagline-rule:last-child { background: linear-gradient(270deg, transparent, rgba(233, 180, 76, 0.5)); }

.footer__word {
  flex: 0 1 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 0.95rem + 2.3vw, 2.9rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0.06em 0.5em rgba(233, 180, 76, 0.18);
}

.footer__word-dot {
  display: inline-block;
  margin-inline: 0.4em;
  font-size: 0.5em;
  vertical-align: middle;
}

/* ---- Closing zone: registration note + copyright ---- */
.footer__closing {
  position: relative;
  padding-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  text-align: center;
}

.footer__closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(100%, 48rem);
  height: 1px;
  background: rgba(250, 246, 239, 0.14);
}

.footer__closing-mark {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  border: 1px solid rgba(233, 180, 76, 0.4);
  color: var(--gold);
  font-size: 0.8rem;
  background: var(--forest);
}

.footer__reg {
  margin-inline: auto;
  max-width: 44rem;
  font-size: var(--t-sm);
  line-height: 1.75;
  color: rgba(250, 246, 239, 0.58);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  margin-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  padding-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  padding-bottom: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-top: 1px solid rgba(250, 246, 239, 0.1);
  font-size: var(--t-xs);
  letter-spacing: 0.02em;
  color: rgba(250, 246, 239, 0.45);
}

.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.footer__legal a { position: relative; }
.footer__legal a:hover { color: var(--gold); }
.footer__legal a + a::before {
  content: "";
  position: absolute;
  left: -0.8rem;
  top: 50%;
  translate: 0 -50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(250, 246, 239, 0.3);
}

@media (max-width: 560px) {
  .footer__tagline-rule { display: none; }
  .footer__base { flex-direction: column; gap: 0.75rem; }
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
