/* Ellie Moran Nutrition — direction B, "Deco editorial"
   Tokens come from SPEC.md → Design. Keep them in sync. */

:root {
  --teal: #64808A;        /* brand colour: large panels, headings 24px+ only */
  --teal-deep: #4A6670;   /* buttons and small white text on colour (4.5:1) */
  --teal-footer: #3F555D;
  --ink: #2E3F45;
  --link: #3F6B76;
  --warm-white: #FBF8F3;
  --sand: #EFE6D8;
  --pastel: #DCE8EC;
  --mist: #EEF4F5;
  --rule: #C9D6DA;
  --rule-dark: #9FB5BC;
  --muted: #4F5F65;
  --white: #FFFFFF;

  --font-display: 'Poiret One', 'Jost', 'Century Gothic', sans-serif;
  --font-body: 'Jost', 'Century Gothic', 'Avenir Next', sans-serif;

  --measure: 1168px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

img { max-width: 100%; }

[hidden] { display: none !important; }

a { color: var(--link); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}
.on-teal :focus-visible, .on-deep :focus-visible { outline-color: var(--white); }

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

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Type ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, ul, ol { margin: 0; }

.display {
  font-family: var(--font-display);
  line-height: 1.15;
}
.display-caps { letter-spacing: 0.12em; text-transform: uppercase; }

.eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--link);
}
.on-teal .eyebrow, .on-deep .eyebrow { color: var(--sand); }
.on-pastel .eyebrow { color: inherit; }
.on-pastel .eyebrow { color: var(--teal-footer); }

.meta {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--link);
}

.numeral {
  font-family: var(--font-display);
  line-height: 1;
  color: var(--link);
}

.small { font-size: 16px; }
.note { font-size: 15px; font-weight: 400; color: var(--muted); }
.lede { font-size: 21px; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap-narrow { max-width: 1008px; }
.wrap-reading { max-width: 928px; }
.wrap-prose { max-width: 760px; }

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { gap: 48px; }
.center { align-items: center; text-align: center; }

.on-teal { background: var(--teal); color: var(--white); }
.on-teal a { color: var(--white); }
.on-deep { background: var(--teal-deep); color: var(--white); }
.on-deep a { color: var(--white); }
.on-sand { background: var(--sand); }
.on-pastel { background: var(--pastel); }
.on-mist { background: var(--mist); }

/* Double-line frame used on teal panels */
.frame { display: flex; padding: 32px; position: relative; isolation: isolate; overflow: hidden; }
.frame > .frame-outer { flex: 1 1 auto; border: 1px solid currentColor; padding: 8px; display: flex; }
.frame > .frame-outer > .frame-inner {
  flex: 1 1 auto; border: 1px solid currentColor;
  padding: 56px 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 24px;
}

/* .rule is defined under Brand motifs below */

/* Arch panels (portrait, service cards) */
.arch {
  padding: 8px;
  border: 1px solid var(--teal);
  border-radius: 999px 999px 0 0;
  display: flex;
}
.arch > * {
  flex: 1 1 auto;
  border: 1px solid var(--teal);
  border-radius: 999px 999px 0 0;
}

/* Boxed double-line article */
.box { border: 1px solid var(--teal); padding: 8px; }
.box > .box-inner { border: 1px solid var(--teal); padding: 48px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font: inherit;
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 17px 32px; min-height: 56px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
}
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { background: var(--teal-footer); color: var(--white); }
.btn.btn-light { background: var(--white); color: var(--ink); }
.btn.btn-light:hover { background: var(--mist); color: var(--ink); }
.btn-outline {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
  font-size: 14px; font-weight: 400;
  padding: 13px 24px; min-height: 48px;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.text-link { font-weight: 400; letter-spacing: 0.04em; padding: 10px 0; display: inline-block; }

/* ---------- Header ---------- */

.site-header { min-height: 104px; display: flex; align-items: center; position: relative; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 16px; padding-bottom: 16px;
  font-size: 14px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
}
.site-header nav { flex: 1 1 240px; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.site-header .nav-right { flex: 1 1 240px; display: flex; align-items: center; justify-content: flex-end; gap: 8px 32px; }
.site-header a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.site-header a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-header .brand { display: flex; align-items: center; padding: 0; order: 0; }
.site-header .brand img { height: 52px; width: auto; display: block; }
.site-header .btn-outline { padding: 13px 24px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-header { min-height: 80px; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-header .brand { order: -1; }
  .site-header .brand img { height: 40px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    font: inherit; letter-spacing: 0.16em; text-transform: uppercase;
    background: none; border: 1px solid var(--ink); color: var(--ink);
    padding: 10px 16px; min-height: 44px; cursor: pointer;
  }
  .nav-toggle .bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .site-header nav, .site-header .nav-right {
    flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0;
    display: none; border-top: 1px solid var(--rule); padding-top: 8px;
  }
  .site-header .nav-right { border-top: 0; padding-top: 0; padding-bottom: 8px; }
  .site-header.is-open nav, .site-header.is-open .nav-right { display: flex; }
  .site-header nav a, .site-header .nav-right a { padding: 14px 0; min-height: 44px; }
  .site-header .nav-right .btn-outline { text-align: center; margin-top: 8px; }
}

/* ---------- Hero ---------- */

.hero.frame .frame-inner { min-height: 300px; padding: 40px 24px; gap: 20px; }
.hero-home.frame .frame-inner { min-height: 736px; padding: 56px 24px; gap: 28px; }
.hero h1 { font-size: clamp(30px, 8vw, 64px); line-height: 1.05; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-home h1 { font-size: clamp(34px, 8.5vw, 76px); letter-spacing: 0.06em; }
.hero p { font-size: clamp(19px, 2.6vw, 24px); max-width: 760px; }
.hero .palm { height: clamp(110px, 20vw, 180px); width: auto; display: block; }

.credential {
  min-height: 88px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px var(--gutter);
  background: var(--sand);
  font-size: 14px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-footer);
}
.credential::before, .credential::after {
  content: ""; flex: 0 0 auto; width: 16px; height: 22px; margin: 0 18px;
  background: var(--teal-footer); opacity: 0.85;
  -webkit-mask: var(--palm-mask) center / contain no-repeat; mask: var(--palm-mask) center / contain no-repeat;
}

/* ---------- Components ---------- */

.split {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 48px 88px;
}
.split .portrait { flex: 0 1 380px; min-width: 0; }
.split .portrait > div {
  height: 480px; background: var(--pastel);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 32px; font-size: 15px; font-weight: 400; color: var(--teal-footer);
}
.split .portrait img { width: 100%; height: 480px; object-fit: cover; display: block; }
.split .text { flex: 1 1 440px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split .text h2 { font-size: clamp(32px, 4vw, 46px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card > div {
  background: var(--warm-white);
  padding: 104px 28px 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.card h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.2; }
.card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.card .card-foot { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 400; }
.card .numeral { font-size: 40px; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.steps li { border-top: 1px solid var(--teal); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps .numeral { font-size: 48px; }
.steps h3 { font-size: 21px; }
.steps p { font-size: 16px; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px; }
.pillars > div { border-top: 1px solid var(--teal); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.pillars h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.pillars p { font-size: 17px; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.duo > * { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.duo h2, .duo .display { font-size: clamp(30px, 3.5vw, 40px); }
@media (max-width: 860px) { .duo > * { padding: 56px var(--gutter); } }

.lines { list-style: none; padding: 0; display: flex; flex-direction: column; font-weight: 400; }
.lines li { padding: 16px 0; border-bottom: 1px solid var(--rule-dark); }
.lines-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; width: 100%; max-width: 820px; margin-top: 16px; }

.journey { list-style: none; padding: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--teal); }
.journey li { border-top: 1px solid var(--teal); padding: 32px 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.journey .numeral { flex: 0 0 110px; font-size: 56px; }
.journey .journey-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.journey h2 { font-family: var(--font-display); font-size: 30px; line-height: 1.2; }

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 56px; }
.faq > div { display: flex; flex-direction: column; gap: 8px; }
.faq h3 { font-size: 20px; font-weight: 500; }
.faq p { font-size: 17px; }

.service { }
.service .box-inner { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.service .service-head { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.service .service-head .numeral { font-size: 44px; }
.service .service-head h2 { font-family: var(--font-display); font-size: 34px; line-height: 1.2; }
.service .service-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.service ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.service ul.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 8px 48px; align-self: stretch; }
@media (max-width: 860px) { .box > .box-inner { padding: 28px 20px; } }

.cta.frame .frame-inner { min-height: 396px; padding: 48px 24px; }
.cta h2 { font-size: clamp(24px, 6vw, 44px); letter-spacing: 0.08em; text-transform: uppercase; }
.cta p { font-size: clamp(19px, 2.6vw, 24px); max-width: 640px; }
.cta .wordmark { height: 56px; width: auto; display: block; margin-top: 24px; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 16px; font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-weight: 400;
  padding: 12px 16px; min-height: 52px; width: 100%;
  border: 1px solid var(--teal); border-radius: 0;
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input { width: 22px; height: 22px; margin: 4px 0 0; flex: 0 0 auto; accent-color: var(--teal-deep); }
.check label { font-size: 16px; font-weight: 400; }
.form-error { color: #8A2E2E; font-weight: 400; font-size: 16px; }
.form-success {
  border: 1px solid var(--teal); padding: 24px 28px; background: var(--mist);
  display: flex; flex-direction: column; gap: 8px;
}

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
legend { padding: 0; margin-bottom: 16px; font-family: var(--font-display); font-size: 30px; line-height: 1.2; }

.booking { border: 1px solid var(--teal); padding: 8px; }
.booking form { border: 1px solid var(--teal); padding: 56px; display: flex; flex-direction: column; gap: 48px; }
@media (max-width: 860px) { .booking form { padding: 28px 20px; gap: 36px; } }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.choice {
  font: inherit; text-align: left; cursor: pointer;
  padding: 16px 22px; min-height: 72px;
  border: 1px solid var(--teal); background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; gap: 2px;
}
.choice span:first-child { font-weight: 500; }
.choice span:last-child { font-size: 15px; font-weight: 400; }
.choice[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font: inherit; font-weight: 400; cursor: pointer;
  padding: 12px 20px; min-height: 52px;
  border: 1px solid var(--teal); background: var(--white); color: var(--ink);
}
.chip-time { padding: 10px 22px; min-height: 48px; }
.chip[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); font-weight: 500; }
.chip-link { border: 0; background: transparent; color: var(--link); text-decoration: underline; }
.chip:disabled { opacity: 0.45; cursor: not-allowed; }

.map-placeholder {
  margin-top: 12px; height: 220px; border: 1px solid var(--teal); background: var(--mist);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; font-size: 15px; font-weight: 400; color: var(--teal-footer);
}

/* ---------- Legal pages ---------- */

.prose { display: flex; flex-direction: column; gap: 20px; }
.prose h2 { font-family: var(--font-display); font-size: 32px; margin-top: 24px; }
.prose h3 { font-size: 20px; font-weight: 500; margin-top: 8px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; font-weight: 400; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-dark); }
.prose th { font-weight: 500; }
@media (max-width: 700px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose tr { border-bottom: 1px solid var(--rule-dark); padding: 12px 0; }
  .prose td { border: 0; padding: 4px 0; }
  .prose td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--link); }
}
.draft-banner {
  border: 1px solid var(--teal); background: var(--sand); padding: 16px 20px;
  font-size: 15px; font-weight: 400;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--teal-footer); color: var(--white); font-size: 15px; font-weight: 400; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 16px; }
.site-footer .footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-footer a { color: var(--white); padding: 10px 0; display: inline-block; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer .disclaimer { font-size: 14px; font-weight: 300; max-width: 900px; opacity: 0.92; }

/* ---------- Brand motifs ----------
   The palm and the arch badge from the logo, used as CSS masks so they take
   any colour at any size. Only the PNG alpha is used; point --palm-mask and
   --badge-mask at the vector files when the designer supplies them. */

:root {
  --palm-mask: url("../assets/palm-teal.png");
  --badge-mask: url("../assets/badge-teal.png");
}

/* Ornamented rule: line, palm, line. Also drawn under the capitalised section headings. */
.rule, h2.display-caps::after {
  width: 168px; height: 26px; background: currentColor;
  -webkit-mask:
    var(--palm-mask) center / auto 100% no-repeat,
    linear-gradient(#000, #000) left center / calc(50% - 26px) 1px no-repeat,
    linear-gradient(#000, #000) right center / calc(50% - 26px) 1px no-repeat;
  mask:
    var(--palm-mask) center / auto 100% no-repeat,
    linear-gradient(#000, #000) left center / calc(50% - 26px) 1px no-repeat,
    linear-gradient(#000, #000) right center / calc(50% - 26px) 1px no-repeat;
}
.on-teal .rule, .on-deep .rule { color: var(--sand); }
h2.display-caps::after { content: ""; display: block; margin: 22px auto 0; color: var(--teal); }

/* Watermark crown: a large, faint palm bleeding in from a corner */
.frame::before,
.section.on-sand::before, .section.on-mist::before, .duo > .on-pastel::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(640px, 110vw); aspect-ratio: 802 / 1077;
  -webkit-mask: var(--palm-mask) center / contain no-repeat; mask: var(--palm-mask) center / contain no-repeat;
}
.frame::before { right: -8%; bottom: -36%; background: var(--white); opacity: 0.09; transform: rotate(-16deg); }
.hero-home.frame::before { right: -14%; bottom: -46%; opacity: 0.07; }
.section.on-sand, .section.on-mist, .duo > .on-pastel { position: relative; isolation: isolate; overflow: hidden; }
.section.on-sand::before { left: -8%; top: -60px; background: var(--teal); opacity: 0.07; transform: rotate(14deg); }
.section.on-mist::before { right: -10%; top: -40px; background: var(--teal); opacity: 0.07; transform: rotate(-12deg); }
.duo > .on-pastel::before { right: -18%; bottom: -44%; width: min(480px, 100vw); background: var(--teal); opacity: 0.08; transform: rotate(-10deg); }

/* Arch cards: the palm sits in the arch, as it does in the badge */
.card > div { position: relative; }
.card > div::before {
  content: ""; position: absolute; top: 34px; left: 50%; width: 42px; height: 48px; transform: translateX(-50%);
  background: var(--teal); opacity: 0.55;
  -webkit-mask: var(--palm-mask) center / contain no-repeat; mask: var(--palm-mask) center / contain no-repeat;
}

/* Portrait placeholder carries the mark until the photograph arrives */
.split .portrait > div { position: relative; isolation: isolate; }
.split .portrait > div::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: var(--teal); opacity: 0.14;
  -webkit-mask: var(--palm-mask) center 42% / 52% auto no-repeat; mask: var(--palm-mask) center 42% / 52% auto no-repeat;
}

/* Service lists: a small palm for each point */
.service ul { list-style: none; padding-left: 0; }
.service ul li { position: relative; padding-left: 28px; }
.service ul li::before {
  content: ""; position: absolute; left: 2px; top: 0.32em; width: 14px; height: 18px;
  background: var(--teal); opacity: 0.9;
  -webkit-mask: var(--palm-mask) center / contain no-repeat; mask: var(--palm-mask) center / contain no-repeat;
}

/* Footer signs off with the arch badge */
.site-footer .wrap::before {
  content: ""; align-self: center; width: 76px; height: 114px; margin: 8px 0 12px;
  background: var(--white); opacity: 0.92;
  -webkit-mask: var(--badge-mask) center / contain no-repeat; mask: var(--badge-mask) center / contain no-repeat;
}

/* ---------- Motion ----------
   Scroll reveals. site.js (section 5) tags elements with data-reveal and adds
   .is-in as they enter the viewport. The hiding only applies under html.js,
   which an inline script in each <head> sets before first paint, so without
   JavaScript, or with "reduce motion" on, everything is simply visible. */

.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js .rule[data-reveal] { transform: scaleX(0); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Hero: content rises in on load, one piece after another; the rule draws out from its centre */
.js .hero .frame-inner > * { animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.js .hero .frame-inner > .rule { animation-name: fade, draw; }
.js .hero .frame-inner > :nth-child(2) { animation-delay: 0.12s; }
.js .hero .frame-inner > :nth-child(3) { animation-delay: 0.24s; }
.js .hero .frame-inner > :nth-child(4) { animation-delay: 0.36s; }
.js .hero .frame-inner > :nth-child(5) { animation-delay: 0.48s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero .frame-inner > * { animation: none; }
}
