/* ==========================================================================
   Sarah's House LLC — site.css
   Shared design system for all pages. Editorial serif (Newsreader) for display,
   Work Sans for body. Deep teal ground, gold as the single accent, cream sections.
   Motion is class-driven (.in) so pages render complete with no JS
   (html.static) and honour prefers-reduced-motion.
   ========================================================================== */

:root {
  --teal: #033941;
  --teal-deep: #02272d;
  --teal-ink: #041b1f;
  --teal-soft: #e6f1ee;
  --green: #459a7e;
  --gold: #cd9f53;
  --gold-2: #e3c487;
  --gold-soft: rgba(205, 159, 83, 0.16);
  --cream: #faf9f4;
  --cream-2: #f1eee5;
  --white: #ffffff;
  --text: #10292d;
  --muted: #52666a;
  --on-dark: rgba(250, 249, 244, 0.74);
  --line: rgba(3, 57, 65, 0.12);
  --line-dark: rgba(250, 249, 244, 0.14);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --r: 22px;
  --shadow: 0 30px 70px -30px rgba(2, 39, 45, 0.35);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- typography */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; line-height: 1.06; color: var(--teal); }
h1 { font-size: clamp(42px, 6.4vw, 86px); font-optical-sizing: auto; }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--teal); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); font-weight: 300; max-width: 60ch; }
p + p { margin-top: 1em; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-head:not(.left) .kicker::before, .page-hero .kicker::before { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(205, 159, 83, 0.55); color: var(--gold-2);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(2, 39, 45, 0.35);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(205, 159, 83, 0.6); animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(205, 159, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(205, 159, 83, 0); } }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--teal-ink); box-shadow: 0 14px 34px -14px rgba(205, 159, 83, 0.7); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 20px 40px -14px rgba(205, 159, 83, 0.8); }
.btn-teal { background: var(--teal); color: var(--cream); }
.btn-teal:hover { background: var(--teal-deep); box-shadow: 0 20px 40px -18px rgba(2, 39, 45, 0.7); }
.btn-ghost { color: var(--cream); border-color: rgba(250, 249, 244, 0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-outline { color: var(--teal); border-color: rgba(3, 57, 65, 0.35); }
.btn-outline:hover { border-color: var(--teal); background: var(--teal); color: var(--cream); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn.block { width: 100%; }
.btn.busy { pointer-events: none; opacity: 0.7; }

/* ------------------------------------------------------------- reveals */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in, html.static [data-reveal] { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.split.in .w > span, html.static .split .w > span { transform: none; }

/* ------------------------------------------------------------- nav */
.progress { position: fixed; top: 0; left: 0; z-index: 1002; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 249, 244, 0.94);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(2, 39, 45, 0.35); }
.nav-in { width: min(1360px, 100% - 2 * var(--pad)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); transition: height 0.4s var(--ease); }
.nav.scrolled .nav-in { height: 68px; }
.brand img { height: 58px; width: auto; transition: height 0.4s var(--ease); }
.nav.scrolled .brand img { height: 46px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); padding: 6px 0; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--teal-deep); }
.nav-cta { padding: 13px 24px; font-size: 12.5px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 50%; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--teal); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 990; background: var(--teal-deep); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: 110px 28px 40px;
  transform: translateY(-102%); transition: transform 0.7s var(--ease), visibility 0s 0.7s; visibility: hidden;
}
.menu.open { transform: none; visibility: visible; transition: transform 0.7s var(--ease), visibility 0s; }
.menu a { font-family: var(--serif); font-size: clamp(34px, 8vw, 52px); line-height: 1.25; color: var(--cream); padding: 6px 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.menu a.active { color: var(--gold-2); }
.menu.open a { opacity: 1; transform: none; }
.menu.open a:nth-child(1) { transition-delay: 0.12s; } .menu.open a:nth-child(2) { transition-delay: 0.17s; } .menu.open a:nth-child(3) { transition-delay: 0.22s; }
.menu.open a:nth-child(4) { transition-delay: 0.27s; } .menu.open a:nth-child(5) { transition-delay: 0.32s; } .menu.open a:nth-child(6) { transition-delay: 0.37s; }
.menu .menu-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; color: var(--on-dark); font-size: 15px; opacity: 0; transition: opacity 0.6s 0.45s; }
.menu.open .menu-foot { opacity: 1; }
.menu .menu-foot a { font-family: var(--sans); font-size: 15px; border: 0; padding: 0; color: var(--gold-2); opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }

/* sticky mobile call bar */
.callbar {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 950;
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px; border-radius: 999px;
  background: var(--teal-deep); color: var(--gold-2); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  box-shadow: 0 20px 40px -14px rgba(2, 39, 45, 0.7);
  transform: translateY(120%); transition: transform 0.6s var(--ease);
}
.callbar svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.callbar.show { transform: none; }

/* ------------------------------------------------------------- hero (home) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--teal-deep); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); }
html.motion .hero-media img.kb { animation: kenburns 16s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1.02) translate(-1%, 0); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(2, 39, 45, 0.94) 0%, rgba(2, 39, 45, 0.78) 42%, rgba(3, 57, 65, 0.42) 72%, rgba(3, 57, 65, 0.25) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(to bottom, rgba(2, 39, 45, 0), var(--teal-deep)); }
.hero-content { padding: calc(var(--nav-h) + 60px) 0 120px; max-width: 880px; }
.hero h1 { color: var(--cream); margin: 26px 0 26px; }
.hero .lead { color: var(--on-dark); margin-bottom: 40px; max-width: 54ch; }
.scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--on-dark); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: drop 2.4s var(--ease-io) infinite; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
html.static .scroll-hint i, html.static .pill i { animation: none; }

/* ------------------------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; background: var(--teal-deep); color: var(--cream); padding: calc(var(--nav-h) + 80px) 0 96px; overflow: hidden; text-align: center; isolation: isolate; }
.page-hero h1 { color: var(--cream); margin: 24px auto 20px; max-width: 16ch; }
.page-hero .lead { color: var(--on-dark); margin-inline: auto; }
.page-hero .btns { justify-content: center; margin-top: 34px; }
.glow { position: absolute; z-index: -1; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(205, 159, 83, 0.22) 0%, rgba(205, 159, 83, 0.06) 32%, rgba(205, 159, 83, 0) 62%); pointer-events: none; }
.page-hero .glow { top: -420px; right: -260px; }
.page-hero .hero-media { position: absolute; inset: 0; z-index: -2; opacity: 0.26; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.08); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 39, 45, 0.55) 0%, rgba(2, 39, 45, 0.35) 50%, var(--teal-deep) 100%); }
html.motion .glow { animation: drift 26s var(--ease-io) infinite alternate; }
@keyframes drift { to { transform: translate(-120px, 90px); } }
.rings { position: absolute; z-index: -1; left: -140px; bottom: -220px; width: 520px; height: 520px; pointer-events: none; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(205, 159, 83, 0.16); }
.rings i:nth-child(2) { inset: 60px; border-color: rgba(205, 159, 83, 0.12); }
.rings i:nth-child(3) { inset: 120px; border-color: rgba(205, 159, 83, 0.08); }

/* ------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(84px, 9vw, 132px) 0; }
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }
.section.dark { background: var(--teal-deep); color: var(--cream); overflow: hidden; isolation: isolate; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: var(--cream); }
.section.dark .lead, .section.dark p { color: var(--on-dark); }
.section.dark .glow { top: -300px; left: -300px; }
.section.dark .glow.b { top: auto; left: auto; right: -360px; bottom: -420px; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .lead { margin: 18px auto 0; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head.left .lead { margin-inline: 0; }
.hair { height: 1px; background: var(--line); }

/* ------------------------------------------------------------- stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 30%; height: 40%; width: 1px; background: var(--line); transform: scaleY(0); transition: transform 1s var(--ease) 0.3s; }
.stat.in + .stat::before, html.static .stat + .stat::before { transform: scaleY(1); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5vw, 68px); line-height: 1; color: var(--teal); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat b .sfx { color: var(--gold); }
.stat small { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------- two-column feature */
.feature { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.feature.flip .photo { order: 2; }
.feature .copy p { color: var(--muted); font-size: 17px; }
.feature .copy h2 { margin-bottom: 26px; }
.feature .copy .btn { margin-top: 30px; }
.photo { position: relative; }
.photo .frame { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.photo .frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path 1.4s var(--ease), transform 1.6s var(--ease); }
.photo.in .frame img, html.static .photo .frame img { clip-path: inset(0 0 0 0); transform: none; }
.photo.tall .frame img { aspect-ratio: 3 / 4; }
.photo::before { content: ''; position: absolute; inset: -18px auto auto -18px; width: 100%; height: 100%; border: 1.5px solid var(--gold); border-radius: var(--r); opacity: 0.7; transform: translate(-10px, -10px); transition: transform 1.2s var(--ease) 0.2s; }
.photo.in::before, html.static .photo::before { transform: none; }
.photo .badge { position: absolute; right: -18px; bottom: 34px; background: var(--teal-deep); color: var(--cream); padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.photo .badge b { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold-2); font-weight: 500; }
.photo .badge small { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); line-height: 1.4; }

/* portrait (Sarah) */
.portrait { display: flex; justify-content: center; }
.portrait .ring { position: relative; width: min(340px, 80vw); padding: 10px; border-radius: 180px 180px 28px 28px; border: 1.5px solid var(--gold); }
.portrait .ring::before { content: ''; position: absolute; inset: -14px; border-radius: inherit; border: 1px solid rgba(205, 159, 83, 0.3); }
.portrait img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%; border-radius: 170px 170px 20px 20px; box-shadow: var(--shadow); }
.memory-note { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold); margin-top: 22px; }

/* ------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 38px 32px 36px;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.4s;
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--gold-soft), transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(205, 159, 83, 0.5); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--teal-deep); display: grid; place-items: center; margin-bottom: 26px; transition: transform 0.55s var(--ease), background 0.4s; }
.card .ico svg { width: 26px; height: 26px; fill: var(--gold-2); }
.card:hover .ico { transform: rotate(-6deg) scale(1.06); background: var(--teal); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.card .btn { margin-top: 24px; }
.section.dark .card { background: rgba(250, 249, 244, 0.045); border-color: var(--line-dark); }
.section.dark .card:hover { background: rgba(250, 249, 244, 0.07); border-color: rgba(205, 159, 83, 0.5); }
.section.dark .card .ico { background: rgba(205, 159, 83, 0.12); }
.section.dark .card:hover .ico { background: var(--gold); }
.section.dark .card:hover .ico svg { fill: var(--teal-ink); }
.section.dark .card p { color: var(--on-dark); }
.card .num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em; color: var(--gold); opacity: 0.9; }

/* checked benefit cards */
.card .ck { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; margin-bottom: 22px; color: var(--gold); transition: background 0.4s, color 0.4s; }
.card .ck svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 0.7s var(--ease) 0.35s; }
.card.in .ck svg, html.static .card .ck svg { stroke-dashoffset: 0; }
.card:hover .ck { background: var(--gold); color: var(--teal-ink); }

/* ------------------------------------------------------------- quote band */
.quote-band { background: var(--teal-soft); padding: clamp(72px, 8vw, 110px) 0; text-align: center; position: relative; overflow: hidden; }
.quote-band blockquote { position: relative; max-width: 900px; margin: 0 auto; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.25; color: var(--teal); }
.quote-band blockquote em { font-style: italic; color: var(--gold); }
.quote-band .mark { display: block; font-family: var(--serif); font-size: 90px; line-height: 0.4; color: var(--gold); opacity: 0.55; margin-bottom: 22px; }
.quote-band .qrule { display: block; width: 60px; height: 1px; background: var(--gold); margin: 34px auto 0; transform: scaleX(0); transition: transform 1s var(--ease) 0.4s; }
.quote-band .in .qrule, html.static .quote-band .qrule { transform: scaleX(1); }

/* ------------------------------------------------------------- rules (numbered) */
.rules { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; max-width: 1080px; margin: 0 auto; }
.rule { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: start; padding: 30px 26px 30px 0; border-top: 1px solid var(--line); }
.rule .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); letter-spacing: -0.02em; }
.rule h4 { font-size: 20px; margin-bottom: 8px; font-family: var(--serif); font-weight: 500; color: var(--teal); }
.rule p { color: var(--muted); font-size: 15.5px; }

/* ------------------------------------------------------------- team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--teal-soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.2s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 39, 45, 0.45), transparent 45%); }
.team-body { padding: 36px 36px 40px; }
.team-body .role { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 8px 0 20px; }
.team-body p { color: var(--muted); font-size: 16px; }
.team-body .interests { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--teal); margin-top: 18px; }

.kids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.kid { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform 0.5s var(--ease), border-color 0.3s; }
.kid:hover { transform: translateY(-4px); border-color: rgba(205, 159, 83, 0.6); }
.kid h4 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--teal); }
.kid p { font-size: 14px; color: var(--muted); margin: 2px 0 0; }

/* ------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: start; }
.contact .copy .lead { margin: 18px 0 40px; }
.c-item { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.c-item:last-of-type { border-bottom: 1px solid var(--line); }
.c-item .ico { position: relative; width: 54px; height: 54px; border-radius: 16px; background: var(--teal-deep); display: grid; place-items: center; flex: none; }
.c-item .ico svg { width: 22px; height: 22px; fill: var(--gold-2); }
.c-item .ico.ring::after { content: ''; position: absolute; inset: -4px; border-radius: 20px; border: 1.5px solid var(--gold); opacity: 0; animation: ringpulse 2.8s var(--ease-io) infinite; }
html.static .c-item .ico.ring::after { animation: none; }
@keyframes ringpulse { 0% { transform: scale(0.9); opacity: 0.8; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
.c-item small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.c-item a, .c-item .v { font-size: 19px; font-weight: 600; color: var(--teal); transition: color 0.3s; }
.c-item a:hover { color: var(--green); }
.c-item .sub { font-size: 14px; color: var(--muted); margin: 0; }
.follow { margin-top: 36px; }
.follow h4 { margin-bottom: 14px; }
.social { display: flex; gap: 12px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.social a svg { width: 18px; height: 18px; fill: var(--teal); transition: fill 0.3s; }
.social a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.social a:hover svg { fill: var(--gold-2); }

.form-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 8px; }
.form-card .hint { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--teal); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream);
  font-size: 16px; color: var(--text); transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a9a9d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px var(--gold-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23033941' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-card .success { display: none; text-align: center; padding: 30px 10px; }
.form-card .success .ck { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); margin: 0 auto 22px; display: grid; place-items: center; }
.form-card .success .ck svg { width: 28px; height: 28px; stroke: var(--teal-ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-card .success p { color: var(--muted); margin-top: 10px; }
.form-card.sent form { display: none; }
.form-card.sent .success { display: block; }
.form-card .error { display: none; margin-top: 14px; color: #a6402d; font-size: 14px; }
.form-card.error .error { display: block; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ------------------------------------------------------------- payments */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pay-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 40px 30px 34px; text-align: center; transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.4s; }
.pay-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--gold-soft), transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.pay-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(205, 159, 83, 0.6); }
.pay-card:hover::before { opacity: 1; }
.pay-card > * { position: relative; }
.pay-card .ico { width: 62px; height: 62px; border-radius: 18px; background: var(--teal-deep); display: grid; place-items: center; margin: 0 auto 24px; transition: transform 0.55s var(--ease); }
.pay-card .ico svg { width: 28px; height: 28px; fill: var(--gold-2); }
.pay-card:hover .ico { transform: rotate(-6deg) scale(1.06); }
.pay-card h3 { margin-bottom: 10px; }
.pay-card p { color: var(--muted); font-size: 15px; margin-bottom: 26px; min-height: 3.4em; }
.pay-card.cashapp { background: linear-gradient(160deg, #00d632 0%, #00b828 100%); border: 0; color: #fff; }
.pay-card.cashapp::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 60%); }
.pay-card.cashapp .ico { background: #fff; }
.pay-card.cashapp .ico svg { fill: #00d632; }
.pay-card.cashapp h3 { color: #fff; }
.pay-card.cashapp p { color: rgba(255, 255, 255, 0.9); }
.pay-card.cashapp .btn { background: #fff; color: #00b828; box-shadow: none; }
.notice { margin-top: 44px; background: var(--teal-deep); color: var(--cream); border-radius: 18px; padding: 26px 30px; text-align: center; font-size: 16px; }
.notice strong { color: var(--gold-2); font-weight: 600; }

/* ------------------------------------------------------------- CTA band */
.cta { text-align: center; }
.cta .btns { justify-content: center; margin-top: 36px; }
.cta .section-head { margin-bottom: 0; }

/* ------------------------------------------------------------- resources */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }

/* ------------------------------------------------------------- footer */
footer { background: var(--teal-ink); color: var(--on-dark); padding: 84px 0 34px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: clamp(36px, 5vw, 72px); padding-bottom: 54px; border-bottom: 1px solid var(--line-dark); }
.foot-brand img { width: 96px; height: 96px; border-radius: 20px; background: var(--cream); padding: 6px; margin-bottom: 20px; }
.foot-brand p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-2); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
footer h4 { color: var(--cream); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 20px; }
footer li { margin-bottom: 11px; }
footer li a { font-size: 15px; color: var(--on-dark); transition: color 0.3s; }
footer li a:hover { color: var(--gold-2); }
.foot-contact p { font-size: 15px; margin: 0 0 10px; }
.foot-contact p + p { margin-top: 0; }
.foot-contact a { color: var(--gold-2); }
.foot-contact .social { margin-top: 22px; }
.foot-contact .social a { border-color: var(--line-dark); }
.foot-contact .social a svg { fill: var(--cream); }
.foot-contact .social a:hover { background: var(--gold); border-color: var(--gold); }
.foot-contact .social a:hover svg { fill: var(--teal-ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; color: rgba(250, 249, 244, 0.5); }
.foot-bottom em { font-family: var(--serif); font-size: 16px; color: var(--gold-2); }
.foot-bottom a { color: rgba(250, 249, 244, 0.6); }
.foot-bottom a:hover { color: var(--gold-2); }

/* ------------------------------------------------------------- cookie banner */
.cookie {
  position: fixed; left: 18px; bottom: 18px; z-index: 1100; width: min(440px, calc(100% - 36px));
  background: var(--teal-deep); color: var(--cream); border: 1px solid var(--line-dark); border-radius: 20px;
  padding: 20px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease) 1.2s, opacity 0.6s 1.2s;
}
.cookie.show { transform: none; opacity: 1; }
.cookie.hidden { display: none; }
.cookie p { font-size: 14px; color: var(--on-dark); margin-bottom: 14px; }
.cookie p::before { content: '🍪'; margin-right: 8px; }
.cookie-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cookie-btns .btn { padding: 10px 18px; font-size: 13px; }
.cookie-btns .btn-ghost { border-color: var(--line-dark); }
.cookie-btns .link { font-size: 13px; color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; margin-left: auto; }
.cookie-btns .link:hover { color: var(--gold-2); }

/* ------------------------------------------------------------- privacy page prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 30px; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: flex; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .photo { order: 0; }
  .contact { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .rules { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .photo .badge { right: 10px; }
}
@media (max-width: 767px) {
  :root { --nav-h: 72px; }
  .brand img { height: 48px; }
  .nav.scrolled .brand img { height: 42px; }
  .callbar { display: flex; }
  body { padding-bottom: 0; }
  .hero { min-height: 92svh; }
  .hero-content { padding: calc(var(--nav-h) + 40px) 0 100px; }
  .hero .btns .btn { width: 100%; }
  .scroll-hint { display: none; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 70px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 12px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards, .cards.two, .pay-grid, .res-grid { grid-template-columns: 1fr; }
  .card, .pay-card { padding: 30px 24px; }
  .rule { grid-template-columns: 56px 1fr; padding-right: 0; }
  .rule .n { font-size: 34px; }
  .kids { grid-template-columns: 1fr 1fr; }
  .photo::before { display: none; }
  .photo .badge { right: 12px; bottom: 12px; padding: 12px 16px; }
  .photo .badge b { font-size: 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bottom { justify-content: center; text-align: center; }
  .cookie { left: 12px; bottom: 84px; width: calc(100% - 24px); padding: 16px 18px; }
  .cta .btns .btn { width: 100%; }
  .team-body { padding: 28px 24px 32px; }
  footer { padding-bottom: 96px; }
}
@media (max-width: 420px) {
  .kids { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* static mode (?static=1 or reduced motion): final state, instantly */
html.static *, html.static *::before, html.static *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
