/* ================= Elementum — Editorial variant (/trial-class) ================= */
:root {
  --ed-char: #100f0e;
  --ed-char-2: #171614;
  --ed-muted: #1c1a18;
  --ed-ivory: #f2ece1;
  --ed-ivory-dim: rgba(242, 236, 225, .68);
  --ed-bord: #7c1f2e;
  --ed-bord-hi: #9a2a3b;
  --ed-line: rgba(242, 236, 225, .14);
}

body.ed-body {
  margin: 0;
  background: var(--ed-char);
  color: var(--ed-ivory);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
}
body.ed-body * { box-sizing: border-box; }
.ed img { max-width: 100%; display: block; }
.ed a { color: inherit; }

.ed-wrap { width: min(1180px, 90vw); margin: 0 auto; }
.ed-wrap.narrow { width: min(720px, 90vw); text-align: center; }

/* ---------- type ---------- */
.ed-eyebrow {
  font-family: "Rubik Mono One", monospace;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ed-bord-hi);
  display: block;
}
.ed-eyebrow.dark { color: var(--ed-bord); }
.ed-h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin: .28em 0 0;
}
.ed-h1 em { font-style: italic; color: var(--ed-ivory); }
.ed-h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: .3em 0 .5em;
}
.ed-h2.light { color: var(--ed-ivory); }
.ed-cap {
  font-family: "Rubik Mono One", monospace;
  font-size: .5rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ed-ivory-dim);
}
.ed-lead { font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.65; color: var(--ed-ivory-dim); max-width: 46ch; margin: 1.2em 0 0; }

/* ---------- buttons ---------- */
.ed-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 34px; border-radius: 999px;
  border: 1px solid var(--ed-line);
  font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: opacity .25s ease, background .25s ease;
  background: transparent; color: var(--ed-ivory); font-family: inherit;
}
.ed-btn.solid, .ed-form .ed-btn.solid { background: var(--ed-bord); border-color: var(--ed-bord); color: #fff; }
.ed-btn.solid:hover { opacity: .86; }
.ed-btn.ghost:hover { background: rgba(242, 236, 225, .08); }

/* ---------- header ---------- */
.ed-top { position: relative; z-index: 30; background: var(--ed-char); border-bottom: 1px solid var(--ed-line); }
.ed-brand img { height: 26px; width: auto; }
.ed-foot-in img { height: 24px; width: auto; }
.ed-top-in { width: min(1180px, 90vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.ed-top-r { display: flex; align-items: center; gap: 22px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.ed-rev .s { color: var(--ed-bord-hi); letter-spacing: .05em; }
.ed-phone { text-decoration: none; border-bottom: 1px solid var(--ed-line); padding-bottom: 2px; }

/* ---------- kids hero — first section from the kids capture experience ---------- */
.ed-kids-hero { position: relative; min-height: 86svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ed-char); }
.ed-kids-hero-media, .ed-kids-hero-media video, .ed-kids-hero-shade, .ed-kids-hero-fade { position: absolute; inset: 0; }
.ed-kids-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.ed-kids-hero-shade { background: rgba(16, 15, 14, .42); }
.ed-kids-hero-fade { background: linear-gradient(to top, var(--ed-char) 0%, rgba(16, 15, 14, .78) 24%, rgba(16, 15, 14, 0) 72%); }
.ed-kids-hero-in { position: relative; z-index: 1; width: min(1180px, 90vw); margin: 0 auto; padding: 76px 0 88px; }
.ed-kids-hero .ed-h1 { max-width: 780px; color: var(--ed-ivory); }
.ed-kids-hero-lead, .ed-kids-hero-copy { max-width: 600px; line-height: 1.6; }
.ed-kids-hero-lead { margin: 1.45em 0 0; color: var(--ed-ivory); font-size: clamp(1rem, 1.35vw, 1.2rem); }
.ed-kids-hero-copy { margin: 1em 0 0; color: var(--ed-ivory-dim); font-size: .96rem; }
.ed-kids-hero .ed-btn { margin-top: 2.1em; }


/* ---------- capture (light box) ---------- */
.ed-capture { background: var(--ed-ivory); color: #1a1815; padding: clamp(56px, 8vw, 104px) 0; scroll-margin-top: 0; }
.ed-capture-in { width: min(1180px, 90vw); margin: 0 auto; display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 64px); }
.ed-capture-copy p { color: #5c544a; line-height: 1.7; font-size: .95rem; max-width: 34ch; }
.ed-capture-copy .ed-h2 { color: #17150f; }
.ed-capture-trust { margin-top: 2em; font-size: .78rem; color: #5c544a; display: flex; gap: 10px; align-items: center; }
.ed-capture-trust .s { color: var(--ed-bord); }

.ed-form { display: block; }
.ed-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ed-field { display: flex; flex-direction: column; gap: 8px; }
.ed-full { margin-top: 18px; }
.ed-field label {
  font-family: "Rubik Mono One", monospace;
  font-size: .52rem; letter-spacing: .22em; text-transform: uppercase; color: #4a4239;
}
.ed-input {
  width: 100%; min-height: 54px; padding: 0 22px;
  border-radius: 999px; border: 1px solid rgba(26,24,21,.14);
  background: rgba(26,24,21,.05); color: #17150f;
  font-family: inherit; font-size: .95rem; outline: none;
  transition: border-color .2s ease, background .2s ease;
  appearance: none;
}
select.ed-input { background-image: none; padding-right: 22px; }
.ed-input:focus { border-color: rgba(26,24,21,.4); background: rgba(26,24,21,.03); }
.ed-input.bad { border-color: var(--ed-bord); background: rgba(124,31,46,.06); }

.ed-ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.ed-age {
  text-align: left; padding: 16px 18px; border-radius: 16px; cursor: pointer;
  border: 1px solid rgba(26,24,21,.16); background: transparent; color: #17150f;
  font-family: inherit; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ed-age b { display: block; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.22rem; }
.ed-age span { display: block; margin-top: 6px; font-size: .76rem; color: #6b6255; line-height: 1.45; }
.ed-age:hover { border-color: rgba(26,24,21,.36); }
.ed-age.on { background: var(--ed-bord); border-color: var(--ed-bord); color: #fff; }
.ed-age.on span { color: rgba(255,255,255,.8); }
.ed-age.on b::after { content: " ✓"; }

.ed-optin { margin-top: 26px; display: grid; gap: 10px; }
.ed-optin .lp-opt { display: flex; gap: 10px; font-size: .68rem; line-height: 1.5; color: #6b6255; }
.ed-optin input { margin-top: 3px; accent-color: var(--ed-bord); }
.ed-optin.bad { padding: 14px; margin: 20px -14px 12px; border-radius: 16px; border: 1px solid var(--ed-bord); background: rgba(124,31,46,.06); }

.ed-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.ed-micro { flex: 1 1 240px; font-size: .74rem; line-height: 1.55; color: #6b6255; margin: 0; }
.ed-err { display: none; color: var(--ed-bord); font-size: .82rem; margin-bottom: 18px; }
.ed-form.err .ed-err { display: block; }
.lp-spin { display: none; }
.ed-form.loading .lp-submit { opacity: .7; pointer-events: none; }

/* ---------- sections ---------- */
.ed-sec { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--ed-line); background: var(--ed-char); }
.ed-sec.muted { background: var(--ed-muted); }
.ed-sec p { color: var(--ed-ivory-dim); line-height: 1.7; }

.ed-progs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 34px; }
.ed-prog-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.ed-prog-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .6s ease, filter .6s ease; }
.ed-prog:hover .ed-prog-media img { transform: scale(1.05); filter: grayscale(0); }
.ed-prog h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.35rem; margin: .3em 0 .3em; }
.ed-prog p { font-size: .84rem; margin: 0 0 1em; }
.ed-link { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ed-bord-hi); }

.ed-revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.ed-rev { margin: 0; padding: 26px; border: 1px solid var(--ed-line); border-radius: 20px; }
.ed-rev p { font-family: "Instrument Serif", Georgia, serif; font-size: 1.12rem; line-height: 1.45; color: var(--ed-ivory); }
.ed-rev figcaption { margin-top: 14px; font-family: "Rubik Mono One", monospace; font-size: .5rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ed-ivory-dim); }

.ed-final { text-align: center; }
.ed-final .ed-btn { margin-top: 2em; }

.ed-foot { padding: 40px 0 90px; border-top: 1px solid var(--ed-line); background: var(--ed-char); }
.ed-foot-in { display: grid; gap: 12px; justify-items: center; text-align: center; font-size: .8rem; color: var(--ed-ivory-dim); }
.ed-legal { font-size: .7rem; }

/* ---------- sticky mobile CTA ---------- */
.ed-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(16,15,14,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--ed-line); transform: translateY(120%); transition: transform .35s ease; display: none; }
.ed-sticky .ed-btn { width: 100%; }
.ed-sticky.show { transform: none; }

/* ---------- reveal ---------- */
.ed .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.ed .reveal.in { opacity: 1; transform: none; }
.ed .reveal.d1 { transition-delay: .1s; }
.ed .reveal.d2 { transition-delay: .2s; }
.ed .reveal.d3 { transition-delay: .3s; }
.ed .ed-kids-hero .reveal { transition-duration: .35s; transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  .ed .reveal { opacity: 1; transform: none; transition: none; }
  .ed-hero-media img { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .ed-capture-in { grid-template-columns: 1fr; }
  .ed-progs { grid-template-columns: repeat(2, 1fr); }
  .ed-revs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ed-sticky { display: block; }
  .ed-grid2 { grid-template-columns: 1fr; }
  .ed-ages { grid-template-columns: 1fr 1fr; }
  .ed-top-r .ed-rev { display: none; }
  .ed-foot { padding-bottom: 110px; }
}
