/*
Theme Name: Wonderground
Theme URI: https://www.samedhyawellness.com/
Author: Eva — Ni Tan Cara
Description: Classic PHP theme for the Wonderground · Conscious & Arts Festival (Rishikesh, Oct 24–25 2026). Converted from the static landing. Palette teal #27686E / orange #FFA168 / cream #F2E9E7.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wonderground
*/

/* ============================================================
   WONDERGROUND · Conscious & Arts Festival — Rishikesh 2026
   Design system & styles
   Palette: #27686E teal · #FFA168 orange · #FFCEB3 peach · #F2E9E7 cream
   ============================================================ */

:root {
  /* Brand */
  --teal:        #27686E;
  --teal-deep:   #1c4d52;
  --teal-night:  #143a3e;
  --orange:      #FFA168;
  --orange-warm: #f6905a;
  --peach:       #FFCEB3;
  --cream:       #F2E9E7;
  --cream-soft:  #f8f2f0;
  --ink:         #16383b;   /* near-black teal for text on light */
  --ink-soft:    #3d5c5f;

  /* Roles */
  --bg:          var(--cream);
  --surface:     #fbf6f4;
  --text:        var(--ink);
  --muted:       var(--ink-soft);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 22px -14px rgba(20,58,62,.5);
  --shadow:    0 24px 60px -30px rgba(20,58,62,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
p { margin: 0 0 1.1em; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow::after { content: "·"; font-size: 1.6em; line-height: 0; color: currentColor; opacity: .8; }
.eyebrow--single::after { display: none; }

.h-xl { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); }
.h-lg { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
.h-md { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.serif-italic { font-style: italic; font-weight: 400; }

.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--teal-night); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #ffb27f; box-shadow: var(--shadow); }
.btn--ghost { border-color: currentColor; color: var(--cream); }
.btn--ghost.on-light { color: var(--teal); }
.btn--ghost:hover { background: var(--cream); color: var(--teal); border-color: var(--cream); }
.btn--ghost.on-light:hover { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .35s, background .35s, box-shadow .35s, backdrop-filter .35s;
}
/* Solid state once scrolled past the hero */
.nav.is-stuck {
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-color: rgba(39,104,110,.14);
  box-shadow: 0 10px 30px -24px rgba(20,58,62,.6);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 40px; width: auto; flex: none; display: block; }
/* Light lockup over the hero, coloured lockup once the nav turns solid */
.brand__logo--dark { display: none; }
.nav.is-stuck .brand__logo--light { display: none; }
.nav.is-stuck .brand__logo--dark { display: block; }
.nav__links { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav__link {
  font-family: var(--body); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .2em; color: rgba(242,233,231,.85);
  position: relative; padding: .3rem 0; transition: color .25s;
}
.nav.is-stuck .nav__link { color: var(--ink-soft); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--cream); }
.nav.is-stuck .nav__link:hover, .nav.is-stuck .nav__link[aria-current="page"] { color: var(--teal); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__cta { display: inline-flex; }
/* The CTA inside the links list is for the mobile dropdown only — hide on desktop */
.nav__links .nav__cta { display: none; }
.nav__cta .btn { padding: .7rem 1.35rem; }
.nav__toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  color: var(--cream); align-items: center; justify-content: center; transition: color .35s;
}
.nav.is-stuck .nav__toggle { color: var(--teal); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(39,104,110,.15);
    transform: translateY(-140%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow); max-height: calc(100vh - 74px); overflow:auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__link, .nav.is-stuck .nav__link { width: 100%; padding: 1rem 0; font-size: .95rem; border-bottom: 1px solid rgba(39,104,110,.1); color: var(--ink-soft); }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--teal); }
  .nav__link::after { display: none; }
  .nav__links .nav__cta { display: block; width: 100%; margin-top: 1.2rem; }
  .nav__links .nav__cta .btn { width: 100%; justify-content: center; padding: 1rem; }
  .nav__cta.desktop-only { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--teal); color: var(--cream);
  padding-block: calc(74px + clamp(2rem, 4vw, 4rem)) clamp(4rem, 8vw, 7rem);
  overflow: hidden; isolation: isolate;
}
.hero--page { padding-block: calc(74px + clamp(2.5rem, 5vw, 4.5rem)) clamp(3.5rem, 7vw, 6rem); text-align: center; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 20% 12%, rgba(255,161,104,.22), transparent 60%),
    radial-gradient(55% 50% at 88% 90%, rgba(255,206,179,.18), transparent 60%);
}
.hero__logo { width: min(600px, 92%); margin: 0 auto 2rem; border-radius: 0; box-shadow: none; }
.hero__meta {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem;
  font-weight: 700; letter-spacing: .04em; color: var(--peach);
  margin-bottom: 1.6rem; font-size: 1.02rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hero__tagline {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(1.15rem, 1rem + 1.4vw, 1.95rem); line-height: 1.4;
  max-width: none; margin: 0 auto 2.2rem; color: var(--cream);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  margin-top: 3.2rem; display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--peach); opacity: .85;
}
.hero__scroll svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

.hero__title { /* for page heroes */ }
.hero--page .lead { color: var(--peach); margin-inline: auto; }

/* Decorative dotted divider */
.dotline { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--orange); }
.dotline::before, .dotline::after { content: ""; height: 1px; width: min(90px, 18vw); background: currentColor; opacity: .5; }
.dotline svg { width: 26px; height: 26px; }

/* ---------- Founders / About ---------- */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.founder {
  background: var(--surface); border: 1px solid rgba(39,104,110,.1); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.founder__ini {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  background: var(--peach); color: var(--teal); margin-bottom: 1.1rem;
}
.founder h3 { font-size: 1.5rem; margin-bottom: .1rem; }
.founder .role { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; display:block;}
.founder p { color: var(--muted); margin: 0; }

.partner-note {
  margin-top: 2rem; display: flex; gap: 1rem; align-items: center; justify-content: center;
  flex-wrap: wrap; color: var(--muted); font-size: .98rem;
}
.partner-note b { color: var(--teal); }

/* ---------- Experience grid ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; margin-top: 3rem; }
.exp {
  background: var(--surface); border: 1px solid rgba(39,104,110,.1); border-radius: var(--radius);
  padding: 1.7rem; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, background .3s;
}
.exp:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255,161,104,.55); }
.exp__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--teal) 10%, transparent); color: var(--teal); margin-bottom: 1.1rem;
  transition: background .3s, color .3s;
}
.exp:hover .exp__icon { background: var(--orange); color: var(--teal-night); }
.exp__icon svg { width: 26px; height: 26px; }
.exp h3 { font-size: 1.22rem; margin-bottom: .35rem; color: var(--orange); }
.exp p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Feature band (teal) ---------- */
.band { background: var(--teal); color: var(--cream); }
.band--night { background: var(--teal-night); }
.band .eyebrow { color: var(--orange); }
.band .lead { color: var(--peach); }
.band h2 { color: var(--cream); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

.daycard {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,206,179,.22); border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.daycard + .daycard { margin-top: 1rem; }
.daycard h3 { color: var(--peach); font-size: 1.35rem; margin-bottom: .8rem; display:flex; align-items:baseline; gap:.7rem;}
.daycard h3 .tag { font-family: var(--body); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--teal-night); background: var(--orange); padding: .25rem .6rem; border-radius: 999px; }
.mini-sched { display: flex; flex-direction: column; gap: .55rem; }
.mini-sched li { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; align-items: baseline; }
.mini-sched .t { font-weight: 800; color: var(--orange); font-size: .9rem; }
.mini-sched .a { color: var(--cream); }

/* ---------- Program page ---------- */
.day-tabs { display: inline-flex; background: var(--surface); border: 1px solid rgba(39,104,110,.15); border-radius: 999px; padding: .35rem; margin: 0 auto 2.5rem; gap:.25rem;}
.day-tab {
  border: 0; background: transparent; color: var(--ink-soft); font-weight: 800; letter-spacing: .02em;
  padding: .7rem 1.5rem; border-radius: 999px; transition: background .3s, color .3s; font-size:.98rem;
}
.day-tab.active { background: var(--teal); color: var(--cream); box-shadow: var(--shadow-sm); }
.day-panel { display: none; }
.day-panel.active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform:none;} }

.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 820px){ .tracks { grid-template-columns: 1fr; } }
.track {
  background: var(--surface); border: 1px solid rgba(39,104,110,.12); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.track__head { padding: 1.3rem 1.6rem; background: var(--teal); color: var(--cream); display:flex; align-items:center; gap:.7rem;}
.track__head.patio { background: var(--orange); color: var(--teal-night); }
.track__head h3 { color: inherit; margin: 0; font-size: 1.3rem; }
.track__head .sub { font-family: var(--body); font-weight: 700; font-size: .74rem; letter-spacing:.16em; text-transform:uppercase; opacity:.85; margin-left:auto;}
.slot { display: grid; grid-template-columns: 108px 1fr; gap: 1rem; padding: 1.15rem 1.6rem; border-top: 1px solid rgba(39,104,110,.1); }
.slot:first-of-type { border-top: 0; }
.slot .time { font-weight: 800; color: var(--teal); font-size: .92rem; }
.patio-track .slot .time { color: var(--orange-warm); }
.slot .name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); margin-bottom:.15rem; line-height:1.2;}
.slot .fac { font-size: .86rem; color: var(--muted); }
.slot .fac b { color: var(--teal); font-weight: 800; }

/* ---------- Tickets ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; align-items:stretch;}
@media (max-width: 1000px){ .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative; background: var(--surface); border: 1px solid rgba(39,104,110,.14);
  border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier--feature { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.tier--feature h3, .tier--feature .price { color: var(--cream); }
.tier__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--teal-night); font-weight: 800; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px; white-space:nowrap;
}
.tier h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.tier .tier__sub { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.4rem; }
.tier--feature .tier__sub { color: var(--peach); }
.tier .price { font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1; margin-bottom: .2rem; color: var(--teal); }
.tier--feature .price { color: var(--cream); }
.tier .price .cur { font-size: 1.3rem; vertical-align: top; margin-right: .1rem; }
.tier .price small { font-family: var(--body); font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.tier--feature .price small { color: var(--peach); }
.tier__list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .7rem; }
.tier__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; color: var(--muted); }
.tier--feature .tier__list li { color: var(--peach); }
.tier__list svg { flex: none; width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }
.tier--feature .btn--ghost { color: var(--cream); }

.price-table { width:100%; border-collapse: collapse; margin-top:2.5rem; background:var(--surface); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm);}
.price-table th, .price-table td { padding: 1rem 1.2rem; text-align:left; border-bottom:1px solid rgba(39,104,110,.1);}
.price-table th { background:var(--teal); color:var(--cream); font-size:.82rem; letter-spacing:.1em; text-transform:uppercase;}
.price-table td { color:var(--ink);}
.price-table td.price-cell { font-family:var(--display); font-weight:600; color:var(--teal); font-size:1.1rem;}
.price-table tr:last-child td { border-bottom:0;}

/* ---------- Food ---------- */
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 720px){ .plates { grid-template-columns: 1fr; } }
.plate {
  background: var(--surface); border: 1px solid rgba(39,104,110,.12); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.plate__day { font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.plate h3 { font-size: 1.7rem; margin: .3rem 0 1.2rem; }
.plate ul { display: flex; flex-direction: column; gap: .6rem; }
.plate ul li { display: flex; gap: .65rem; color: var(--muted); }
.plate ul li::before { content: ""; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--peach); flex: none; }

.timeline { margin-top: 3rem; border-left: 2px solid rgba(39,104,110,.18); padding-left: 1.8rem; display: flex; flex-direction: column; gap: 1.6rem; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -2.28rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid var(--cream); }
.tl-item .tl-time { font-weight: 800; color: var(--teal); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.tl-item h4 { font-size: 1.25rem; margin: .1rem 0 .3rem; }
.tl-item p { color: var(--muted); margin: 0; }

.menu-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1rem; margin-top: 2.5rem; }
.menu-item { background: rgba(255,255,255,.06); border:1px solid rgba(255,206,179,.22); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.menu-item h4 { color: var(--peach); font-size: 1.15rem; margin-bottom: .3rem; }
.menu-item p { color: var(--cream); opacity:.85; font-size:.9rem; margin:0; }

.badges { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:2rem;}
.badge { display:inline-flex; align-items:center; gap:.45rem; background:var(--peach); color:var(--teal-night); font-weight:800; font-size:.82rem; padding:.5rem 1rem; border-radius:999px;}
.badge svg{width:16px;height:16px;}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 3rem auto 0; }
.faq__item { border-bottom: 1px solid rgba(39,104,110,.16); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 1.5rem .2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem,1rem + .5vw,1.35rem); color: var(--ink);
}
.faq__q .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--peach); color: var(--teal); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__q .ic svg { width: 18px; height: 18px; }
.faq__item.open .faq__q .ic { transform: rotate(45deg); background: var(--orange); color: var(--teal-night); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.faq__a-inner { padding: 0 .2rem 1.6rem; color: var(--muted); }
.faq__a-inner p:last-child { margin: 0; }
.faq__a-inner a { color: var(--teal); border-bottom: 1px solid var(--peach); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--orange); color: var(--teal-night); text-align: center; border-radius: var(--radius-lg);
  padding: clamp(2.5rem,6vw,4.5rem); position: relative; overflow: hidden;
}
.cta h2 { color: var(--teal-night); }
.cta .btn--primary { background: var(--teal); color: var(--cream); }
.cta .btn--primary:hover { background: var(--teal-deep); }

/* ---------- Newsletter ---------- */
.subscribe { display: flex; gap: .6rem; max-width: 460px; margin: 1.6rem auto 0; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 220px; min-width: 0; padding: .95rem 1.2rem; border-radius: 999px; border: 2px solid rgba(20,58,62,.25);
  font-family: var(--body); font-size: 1rem; background: rgba(255,255,255,.6); color: var(--teal-night);
}
.subscribe input:focus { outline: none; border-color: var(--teal); }
.subscribe .btn { flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-night); color: var(--peach); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px){ .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer__logo { width: 220px; max-width: 70%; border-radius: 12px; margin-bottom: 1.2rem; }
.footer p { color: var(--peach); opacity: .85; }
.footer h4 { color: var(--cream); font-family: var(--body); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: flex; flex-direction: column; gap: .7rem; }
.footer__links a { color: var(--peach); opacity: .85; transition: opacity .25s, color .25s; width: fit-content; }
.footer__links a:hover { opacity: 1; color: var(--orange); }
.footer__contact a { color: var(--peach); border-bottom: 1px solid rgba(255,206,179,.3); }
.footer__contact a:hover { color: var(--orange); }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,206,179,.18); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; opacity: .7; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,206,179,.3); display: grid; place-items: center; color: var(--peach); transition: background .3s, color .3s, transform .3s, border-color .3s; }
.socials a:hover { background: var(--orange); color: var(--teal-night); border-color: var(--orange); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
/* Failsafe: instant reveal when the animation clock can't be relied on */
.reveal-instant [data-reveal]{ opacity:1 !important; transform:none !important; transition:none !important; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; }
  html { scroll-behavior: auto; }
  .hero__scroll svg { animation: none; }
}

/* ---------- Misc ---------- */
.pill-row { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-top:1.5rem;}
.pill { background: color-mix(in srgb, var(--teal) 8%, transparent); color: var(--teal); font-weight:700; font-size:.9rem; padding:.5rem 1.1rem; border-radius:999px; border:1px solid rgba(39,104,110,.15);}
.band .pill { background: rgba(255,255,255,.08); color: var(--peach); border-color: rgba(255,206,179,.25);}
.note { font-size:.9rem; color:var(--muted); }
.band .note { color: var(--peach); opacity:.8; }
.anchor { scroll-margin-top: 90px; }
