/* Evolve — Mediterranean longevity concierge
   Layout: left-aligned, unhurried editorial pages on lime-wash. The arch (the logo) is the one
   recurring device: hero window, arch-topped stay photos. Everything else stays quiet. */
:root {
  --lime: #F1E8DA;
  --lime-deep: #E8DCC8;
  --paper: #F8F2E8;
  --terra: #C4683F;
  --terra-deep: #A6532E;
  --terra-ink: #8C4424;
  --ochre: #DDA448;
  --olive: #6E7044;
  --sea: #1E4A5A;
  --ink: #2A211C;
  --ink-soft: #5C4F45;
  --line: rgba(42, 33, 28, .16);

  --display: 'Marcellus', 'Trajan Pro', 'Cormorant', Georgia, serif;
  --body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;

  --gutter: max(20px, 5vw);
  --wrap: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.08; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 2px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--lime); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 15px/1 var(--body); letter-spacing: .02em;
  background: var(--terra-deep); color: #FBF6EE;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: background .25s var(--ease);
}
.btn:hover { background: var(--terra-ink); }
.btn--small { padding: 11px 20px; font-size: 14px; }
.link { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(42,33,28,.35); transition: text-decoration-color .25s; }
.link:hover { text-decoration-color: var(--terra); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 22px; height: auto; color: var(--terra); }
.brand__word { font-family: var(--display); font-size: 17px; letter-spacing: .36em; text-transform: uppercase; padding-left: .1em; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(241, 232, 218, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav[data-scrolled] { border-bottom-color: var(--line); }
.nav__inner {
  height: var(--nav-h); max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font-size: 15px; }
.nav__links a:not(.btn) { text-decoration: none; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; height: 230vh; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; align-items: end;
}
.hero__copy {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 6vh) max(var(--gutter), env(safe-area-inset-left, 0px)) 9vh;
  max-width: 54vw;
  will-change: opacity, transform;
}
.hero__kicker { font-size: 15px; color: var(--terra-deep); margin-bottom: 26px; letter-spacing: .02em; }
.hero__title { font-size: clamp(64px, 9.4vw, 148px); line-height: .96; letter-spacing: -.005em; }
.hero__lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 34em; margin-top: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

.hero__window {
  --w: min(38vw, 600px);
  --h: 82svh;
  position: absolute; z-index: 1;
  right: var(--gutter); bottom: 0;
  width: var(--w); height: var(--h);
  border-radius: calc(var(--w) / 2) calc(var(--w) / 2) 0 0;
  overflow: hidden;
  background: var(--lime-deep);
  will-change: width, height, border-radius, right;
}
.hero__window img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); }
.hero__window::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,74,90,0) 40%, rgba(30,74,90,.55) 100%);
  opacity: var(--after, 0); pointer-events: none;
}
.hero__after {
  position: absolute; z-index: 2; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: 10vh;
  font-family: var(--display); color: var(--lime);
  font-size: clamp(36px, 5vw, 76px); line-height: 1.04;
  opacity: var(--after, 0); transform: translateY(calc((1 - var(--after, 0)) * 24px));
  text-shadow: 0 1px 30px rgba(30, 74, 90, .35);
}

/* Static hero on small screens and for reduced motion */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; display: flex; flex-direction: column; align-items: stretch; overflow: visible; }
  .hero__copy { max-width: 640px; padding-bottom: 40px; }
  .hero__window {
    position: relative; right: auto; bottom: auto;
    width: auto; height: auto; aspect-ratio: 4 / 5; max-height: 78svh;
    margin: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
    border-radius: 999px 999px 0 0;
  }
  .hero__after { display: none; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hero__copy { max-width: 58vw; }
  .hero__window { --w: 36vw; }
}

/* ---------- INTRO ---------- */
.intro { padding-block: clamp(96px, 14vw, 200px) clamp(80px, 10vw, 150px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 48px 64px; align-items: end; }
.intro__statement { font-size: clamp(27px, 2.9vw, 42px); line-height: 1.28; text-wrap: pretty; max-width: 30em; }
.intro__note { font-size: 16px; color: var(--ink-soft); border-top: 1px solid var(--ink); padding-top: 18px; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } .intro__note { max-width: 420px; } }

/* ---------- SECTION HEAD ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head p { color: var(--ink-soft); max-width: 30em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- STAYS ---------- */
.stays { padding-bottom: clamp(100px, 12vw, 180px); }
.stays__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(20px, 3vw, 44px); }
.stay { display: flex; flex-direction: column; gap: 10px; }
.stay:nth-child(3n + 2) { transform: translateY(clamp(0px, 6vw, 88px)); }
.stay img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 4px 4px;
  margin-bottom: 14px;
  background: var(--lime-deep);
}
.stay p { color: var(--ink-soft); font-size: 16px; max-width: 26em; }
@media (max-width: 960px) {
  .stays__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay:nth-child(3n + 2) { transform: none; }
  .stay:nth-child(even) { transform: translateY(48px); }
}
@media (max-width: 560px) {
  .stays__grid { grid-template-columns: 1fr; gap: 56px; }
  .stay:nth-child(even) { transform: none; }
  .stay img { aspect-ratio: 5 / 6; }
}

/* ---------- HOW ---------- */
.how { background: var(--paper); padding-block: clamp(96px, 11vw, 170px); }
.how__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.how__figure { margin: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.how__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.steps { list-style: none; counter-reset: step; margin-top: 48px; display: grid; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; row-gap: 8px;
  padding-block: 28px; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--display); font-size: 30px; line-height: 1; color: var(--terra);
}
.steps p { color: var(--ink-soft); max-width: 32em; }
@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__figure { position: relative; top: 0; }
  .how__figure img { aspect-ratio: 3 / 2; }
}

/* ---------- PLACES ---------- */
.places { padding-bottom: clamp(96px, 11vw, 170px); }
.places__image { height: clamp(360px, 72vh, 760px); overflow: hidden; }
.places__image img { width: 100%; height: 100%; object-fit: cover; }
.places__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(48px, 7vw, 110px); padding-top: clamp(64px, 8vw, 110px); }
.places__text p { margin-top: 24px; color: var(--ink-soft); max-width: 30em; }
.places__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; align-content: start;
  font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; color: var(--sea);
}
.partners { grid-column: 1 / -1; margin-top: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); padding-top: 32px; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.partners--trust { margin-top: 0; border-top: 0; padding-top: 0; }
.partners__label { font-size: 14px; color: var(--ink-soft); }
.partners__logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(28px, 4vw, 56px); }
.partners__logos img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: brightness(0) saturate(0); opacity: .62; }
@media (max-width: 860px) { .places__body { grid-template-columns: 1fr; } }

/* ---------- SLOW ---------- */
.slow { background: var(--sea); color: var(--lime); padding-block: clamp(96px, 12vw, 180px); }
.slow__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(48px, 7vw, 120px); align-items: center; }
.slow__mark { width: min(220px, 100%); height: auto; color: var(--lime); justify-self: center; }
.slow h2 { font-size: clamp(38px, 5vw, 70px); }
.slow p { margin-top: 28px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: rgba(241, 232, 218, .84); max-width: 36em; }
@media (max-width: 760px) { .slow__grid { grid-template-columns: 1fr; } .slow__mark { width: 96px; justify-self: start; } }

/* ---------- PLAN ---------- */
.plan { padding-block: clamp(96px, 11vw, 170px); }
.plan__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px clamp(48px, 7vw, 120px); align-items: start; }
.plan__intro p { margin-top: 22px; color: var(--ink-soft); max-width: 26em; }
.contact { margin: 40px 0 0; display: grid; gap: 16px; }
.contact div { display: grid; gap: 2px; }
.contact dt { font-size: 13px; color: var(--ink-soft); }
.contact dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact a:hover { border-bottom-color: var(--terra); }

.form { display: grid; gap: 28px; min-width: 0; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.field em { font-style: normal; }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(42,33,28,.35); border-radius: 0;
  padding: 10px 0; width: 100%; appearance: none; -webkit-appearance: none;
  transition: border-color .2s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(42,33,28,.38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terra); border-bottom-width: 2px; padding-bottom: 9px; }
.field [aria-invalid="true"] { border-bottom-color: #A33A1F; }

.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__chips legend { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 18px; padding: 0; }
.form__chips label { position: relative; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__chips span { display: inline-block; padding: 10px 18px; border: 1px solid rgba(42,33,28,.3); border-radius: 999px; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.form__chips input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.form__chips input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { font-size: 15px; color: var(--ink-soft); }
.form__status[data-state="error"] { color: #A33A1F; }
.form__status[data-state="ok"] { color: var(--olive); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .plan__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); color: var(--lime); padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px)); }
.foot__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.brand--foot { color: var(--lime); }
.brand--foot .brand__mark { color: var(--lime); }
.foot__line { color: rgba(241,232,218,.7); font-size: 15px; }
.foot__links { list-style: none; display: flex; gap: 24px; font-size: 15px; }
.foot__links a { text-decoration: none; color: var(--lime); }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { grid-column: 1 / -1; font-size: 13px; color: rgba(241,232,218,.66); border-top: 1px solid rgba(241,232,218,.14); padding-top: 24px; margin-top: 16px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- CONTENT PAGES ---------- */
.sub main { padding-top: var(--nav-h); }
.article__head { padding-block: clamp(56px, 8vw, 110px) clamp(36px, 5vw, 64px); max-width: 980px; margin-inline: 0; }
@media (min-width: 1240px) { .article__head { margin-left: calc((100vw - var(--wrap)) / 2); } }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.article h1 { font-size: clamp(42px, 6vw, 88px); line-height: 1.02; }
.article__lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; margin-top: 28px; max-width: 38em; color: var(--ink); }
.article__img { margin-block: 0 clamp(56px, 7vw, 96px); }
.article__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 999px 999px 4px 4px / 260px 260px 4px 4px; }
@media (max-width: 760px) { .article__img img { aspect-ratio: 4 / 3; border-radius: 999px 999px 4px 4px / 160px 160px 4px 4px; } }
.prose { max-width: 820px; margin-inline: auto; padding-bottom: clamp(72px, 9vw, 130px); }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); max-width: 40em; }
.prose p + p { margin-top: 16px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--terra-deep); border-bottom: 1.5px solid var(--terra-deep); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa details p { padding: 0 0 24px; max-width: 40em; }
.article__updated { margin-top: 48px; font-size: 14px; }
.related { background: var(--paper); padding-block: clamp(72px, 9vw, 130px); }
.related h2 { margin-bottom: 40px; }
.related__list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.related__list a { display: grid; gap: 12px; text-decoration: none; }
.related__list img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 4px 4px; }
.related__list span { font-family: var(--display); font-size: 18px; line-height: 1.25; }
.related__list a:hover span { color: var(--terra-deep); }
@media (max-width: 960px) { .related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cta-band { background: var(--terra-deep); color: #FBF6EE; padding-block: clamp(72px, 9vw, 120px); }
.cta-band__inner { display: grid; gap: 18px; }
.cta-band h2 { font-size: clamp(36px, 4.6vw, 62px); }
.cta-band p { color: rgba(251,246,238,.86); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 14px; }
.cta-band .btn { background: #FBF6EE; color: var(--ink); }
.cta-band .btn:hover { background: var(--lime); }
.cta-band .link { color: #FBF6EE; text-decoration-color: rgba(251,246,238,.5); }
.stay a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.stay a:hover h3 { color: var(--terra-deep); }
.stay__more { font-size: 15px; color: var(--terra-deep); text-decoration: underline; text-underline-offset: 4px; }
.foot__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; padding-top: 24px; border-top: 1px solid rgba(241,232,218,.14); margin-top: 16px; }
.foot__nav a { color: rgba(241,232,218,.78); text-decoration: none; }
.foot__nav a:hover { color: var(--lime); }
.home-faq { padding-bottom: clamp(96px, 11vw, 170px); }

/* =====================================================================
   V4 — editorial index
   Layout: asymmetric editorial spread. Big carved type on lime-wash, one arch window
   that shows whatever you point at. Quiet everywhere else.
   ===================================================================== */
/* hero */
.h4 { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end; padding: calc(var(--nav-h) + 5vh) max(var(--gutter), env(safe-area-inset-right, 0px)) 6vh max(var(--gutter), env(safe-area-inset-left, 0px)); }
.h4__copy { padding-bottom: 2vh; }
.h4__kicker { font-size: 15px; color: var(--terra-deep); margin-bottom: 26px; }
.h4__title { font-size: clamp(60px, 9.6vw, 168px); line-height: .92; letter-spacing: -.012em; }
.h4__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.h4__title .line > span { display: block; animation: rise 1.25s var(--ease) both; }
.h4__title .line:nth-child(2) > span { animation-delay: .1s; }
.h4__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.h4__lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 31em; margin-top: 34px; animation: fadein 1s .55s var(--ease) both; }
.h4__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; animation: fadein 1s .7s var(--ease) both; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.h4__arch { position: relative; margin: 0; height: min(78vh, 760px); border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--lime-deep); animation: archin 1.6s .15s var(--ease) both; }
@keyframes archin { from { clip-path: inset(100% 0 0 0 round 999px 999px 6px 6px); } to { clip-path: inset(0 0 0 0 round 999px 999px 6px 6px); } }
.h4__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 7s linear; }
.h4__arch img.is-on { opacity: 1; transform: scale(1); }
.h4__cap { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 13px; color: #FBF6EE; background: rgba(42,33,28,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) {
  .h4 { grid-template-columns: 1fr; align-items: start; }
  .h4__arch { height: 64vh; max-width: 520px; width: 100%; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .h4__title .line > span, .h4__lede, .h4__actions, .h4__arch { animation: none; }
  .h4__arch img { transition: opacity .01s; transform: none; }
}

/* manifesto */
.m4 { padding-block: clamp(110px, 14vw, 220px); border-top: 1px solid var(--line); }
.m4__inner { display: grid; justify-items: center; text-align: center; gap: 30px; }
.m4__title { font-size: clamp(48px, 8vw, 140px); line-height: .95; max-width: 11ch; }
.m4__text { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-soft); max-width: 34em; }

/* index */
.ix { padding-block: clamp(90px, 10vw, 150px); background: var(--paper); border-top: 1px solid var(--line); }
.ix__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.ix__head p { color: var(--ink-soft); max-width: 28em; }
.ix__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
.ix__list { list-style: none; border-top: 1px solid var(--line); }
.ix__list li { border-bottom: 1px solid var(--line); }
.ix__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 24px; padding: clamp(14px, 1.5vw, 22px) 4px; text-decoration: none; color: var(--ink); position: relative; }
.ix__list img { display: none; }
.ix__name { font-family: var(--display); font-size: clamp(28px, 3.3vw, 52px); line-height: 1.08; transition: transform .5s var(--ease), color .3s; }
.ix__cat { font-size: 14px; color: var(--ink-soft); transition: color .3s; }
.ix__list a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--terra-deep); transition: width .5s var(--ease); }
.ix__list a[aria-current="true"] .ix__name, .ix__list a:hover .ix__name, .ix__list a:focus-visible .ix__name { transform: translateX(44px); color: var(--terra-deep); }
.ix__list a[aria-current="true"]::before, .ix__list a:hover::before, .ix__list a:focus-visible::before { width: 30px; }
.ix__list a[aria-current="true"] .ix__cat { color: var(--terra-deep); }
.ix__list.is-hovering a:not(:hover):not(:focus-visible) .ix__name { color: rgba(42,33,28,.38); }
.ix__preview { position: sticky; top: calc(var(--nav-h) + 4vh); display: grid; gap: 22px; }
.ix__arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--lime-deep); max-height: 72vh; }
.ix__arch canvas, .ix__fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ix__fallback { object-fit: cover; }
.ix__arch.has-gl .ix__fallback { display: none; }
.ix__desc { color: var(--ink-soft); font-size: 16px; min-height: 3.4em; max-width: 30em; transition: opacity .35s; }
@media (max-width: 900px) {
  .ix__head, .ix__grid { grid-template-columns: 1fr; }
  .ix__preview { display: none; }
  .ix__list a { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; row-gap: 2px; align-items: center; padding: 14px 0; }
  .ix__list img { display: block; grid-row: 1 / 3; width: 88px; height: 104px; object-fit: cover; border-radius: 999px 999px 4px 4px; }
  .ix__name { font-size: clamp(24px, 6.4vw, 32px); }
  .ix__cat { grid-column: 2; }
  .ix__list a:hover .ix__name, .ix__list a[aria-current="true"] .ix__name { transform: none; }
  .ix__list a::before { display: none; }
}

/* healthspan */
.hs { padding-block: clamp(100px, 12vw, 180px); }
.hs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(48px, 7vw, 110px); align-items: center; }
.hs__n { font-family: var(--display); font-size: clamp(28px, 2.4vw, 36px); color: var(--ink); line-height: 1; }
.hs__n span { display: block; margin-bottom: .14em; font-size: clamp(120px, 16vw, 260px); line-height: .85; color: var(--terra-deep); letter-spacing: -.02em; }
.hs__text h2 { font-size: clamp(30px, 3.4vw, 50px); }
.hs__text p { margin-top: 24px; color: var(--ink-soft); max-width: 36em; }
.hs__src { font-size: 14px; }
@media (max-width: 860px) { .hs__grid { grid-template-columns: 1fr; } }

/* related list on content pages: four, evenly */
.related__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================================================================ V5: minimal */
body.z { background: var(--lime); color: var(--ink); }
.z main > section { padding-inline: var(--gutter); }
.zlabel { font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.zlink { font: inherit; font-size: 16px; color: var(--ink); background: none; border: 0; padding: 0 0 4px; cursor: pointer; text-decoration: none; border-bottom: 1px solid currentColor; transition: color .3s var(--ease); }
.zlink:hover { color: var(--terra-ink); }

.znav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); background: transparent; transition: background .4s var(--ease); }
.znav[data-scrolled] { background: color-mix(in srgb, var(--lime) 92%, transparent); backdrop-filter: blur(8px); }
.znav__links { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 15px; }
.znav__links a { text-decoration: none; color: var(--ink); }
.znav__links a:hover { color: var(--terra-ink); }
@media (max-width: 560px) { .znav__links a:not(:last-child) { display: none; } }

.zhero { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 34px; padding-block: 120px 80px; }
.zhero h1 { font-size: clamp(54px, 9.5vw, 168px); line-height: .94; max-width: 10ch; font-weight: 400; opacity: 0; animation: zin 1.6s var(--ease) .15s forwards; }
.zhero p { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); max-width: 31em; opacity: 0; animation: zin 1.4s var(--ease) .7s forwards; }
.zhero .zlink { opacity: 0; animation: zin 1.4s var(--ease) 1s forwards; }
@keyframes zin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .zhero h1, .zhero p, .zhero .zlink { animation: none; opacity: 1; } }

.zbook, .zhow, .ztrust, .zfaq, .zplan { padding-block: clamp(90px, 12vw, 180px); text-align: center; }
.zbook ul { list-style: none; margin-top: 44px; display: grid; gap: clamp(6px, 1vw, 14px); }
.zbook a { font-family: var(--display); font-size: clamp(30px, 4.2vw, 62px); line-height: 1.12; text-decoration: none; color: var(--ink); transition: color .35s var(--ease); }
.zbook a:hover, .zbook a:focus-visible { color: var(--terra-ink); }

.zline { padding-block: clamp(80px, 10vw, 150px); text-align: center; display: grid; justify-items: center; gap: 22px; }
.zline h2 { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.15; max-width: 20ch; font-weight: 400; }
.zline p { font-size: 13px; color: var(--ink-soft); }

.zhow ol { list-style: none; margin: 48px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.zhow h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; margin-bottom: 12px; }
.zhow p { color: var(--ink-soft); font-size: 16px; max-width: 22em; margin-inline: auto; }
@media (max-width: 760px) { .zhow ol { grid-template-columns: 1fr; gap: 36px; } }

.ztrust { display: grid; gap: 64px; justify-items: center; }
.ztrust .partners__logos { justify-content: center; margin-top: 28px; }

.zfaq .qa { max-width: 720px; margin: 36px auto 0; text-align: left; }

.zplan h2 { font-size: clamp(48px, 7vw, 120px); line-height: .95; font-weight: 400; }
.zplan__lede { color: var(--ink-soft); margin-top: 22px; font-size: 18px; }
.zform { max-width: 720px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; text-align: left; }
.zform label { display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.zform input, .zform textarea { font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; resize: vertical; }
.zform input:focus, .zform textarea:focus { outline: none; border-bottom-color: var(--ink); }
.zform [aria-invalid="true"] { border-bottom-color: var(--terra-deep); }
.zform__wide { grid-column: 1 / -1; }
.zform__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; justify-content: center; margin-top: 12px; }
@media (max-width: 600px) { .zform { grid-template-columns: 1fr; } }
.zplan__contact { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 15px; }
.zplan__contact a { color: var(--ink-soft); text-decoration: none; }
.zplan__contact a:hover { color: var(--terra-ink); }

.zfoot { display: grid; justify-items: center; gap: 14px; padding: 40px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--ink-soft); }
.zfoot .brand__mark { width: 26px; height: auto; color: var(--ink); }

/* ================================================================ V6: white, nacre and the blues */
:root {
  --white: #FFFFFF;
  --nacre: #F4F3EF;          /* pearl, warm-cool */
  --mist: #E4EDF1;           /* sea spray */
  --lagoon: #8DB6CB;         /* shallow water */
  --aegean: #2B6C93;         /* Ikaria shutters */
  --deep: #1B4560;           /* open sea */
  --abyss: #0E2A3B;          /* night water */

  --lime: var(--nacre);
  --lime-deep: var(--mist);
  --paper: var(--white);
  --terra: var(--aegean);
  --terra-deep: #245C7E;
  --terra-ink: #1F5677;
  --ochre: var(--lagoon);
  --olive: var(--deep);
  --sea: var(--deep);
  --ink: #13304A;
  --ink-soft: #4A6275;
  --line: rgba(19, 48, 74, .16);
  --sun: var(--lagoon);
}
.z-sea .zhero { background:
  radial-gradient(60% 50% at 18% 22%, rgba(228,237,241,.95), transparent 70%),
  radial-gradient(50% 45% at 85% 30%, rgba(246,238,236,.9), transparent 70%),
  radial-gradient(70% 55% at 60% 95%, rgba(214,230,238,.85), transparent 70%),
  var(--nacre); }
.z-sea .zbook, .z-sea .ztrust, .z-sea .zfaq { background: var(--white); }
.z-sea .zline { background: var(--deep); color: var(--white); }
.z-sea .zline p { color: rgba(255,255,255,.72); }
.z-sea .zhow { background: var(--nacre); }
.z-sea .zplan { background: var(--mist); }
.z-sea .zfoot { background: var(--abyss); color: rgba(244,243,239,.72); padding-top: 48px; }
.z-sea .zfoot .brand__mark { color: var(--nacre); }
.z-sea .partners__logos img { filter: brightness(0) saturate(100%) invert(16%) sepia(32%) saturate(1200%) hue-rotate(170deg) brightness(.9); opacity: .7; }
.z-sea .zbook a:hover, .z-sea .zbook a:focus-visible { color: var(--aegean); }

/* ================================================================ V7: blue grounds, white type */
body.z-deep {
  --pearl: #F7F6F2;
  --lime: #1E5578;
  --ink: var(--pearl);
  --ink-soft: rgba(247, 246, 242, .82);
  --line: rgba(247, 246, 242, .22);
  --terra: var(--pearl);
  --terra-deep: var(--lagoon);
  --terra-ink: #BFD8E4;
  --sun: var(--lagoon);
  background: #0B2233; color: var(--ink);
}
.z-deep .zhero { background:
  radial-gradient(55% 45% at 20% 20%, rgba(141,182,203,.30), transparent 70%),
  radial-gradient(45% 40% at 85% 30%, rgba(246,232,228,.12), transparent 70%),
  radial-gradient(70% 55% at 55% 100%, rgba(14,42,59,.65), transparent 70%),
  #1E5578; }
.z-deep .zbook { background: #1B4C6C; }
.z-deep .zline { background: #2B6C93; color: var(--pearl); }
.z-deep .zline p { color: rgba(247,246,242,.82); }
.z-deep .zhow { background: #18425E; }
.z-deep .ztrust { background: #153A53; }
.z-deep .zfaq { background: #12334A; }
.z-deep .zplan { background: #0F2C40; }
.z-deep .zfoot { background: #0B2233; color: rgba(247,246,242,.7); }
.z-deep .zfoot .brand__mark, .z-deep .brand { color: var(--pearl); }
.z-deep .brand__mark { color: var(--pearl); }
.z-deep .partners__logos img { filter: brightness(0) invert(1); opacity: .82; }
.z-deep .zbook a:hover, .z-deep .zbook a:focus-visible, .z-deep .znav__links a:hover, .z-deep .zplan__contact a:hover { color: #BFD8E4; }
.z-deep .zform input::placeholder, .z-deep .zform textarea::placeholder { color: rgba(247,246,242,.5); }
.z-deep .zform input:focus, .z-deep .zform textarea:focus { border-bottom-color: var(--pearl); }
.z-deep .znav[data-scrolled] { background: color-mix(in srgb, #12334A 88%, transparent); }
.z-deep :focus-visible { outline-color: var(--pearl); }
.z-deep .skip { background: var(--pearl); color: #12334A; }

/* ================================================================ V8: navy, sky, sea */
body.e {
  --navy: #0F1F3D; --navy-deep: #0A1630; --sea: #1D5E8A; --sky: #A8D4F0; --pearl: #F7F6F2;
  --fg: var(--pearl); --fg-soft: rgba(247,246,242,.8); --accent: var(--sky); --on-accent: var(--navy);
  --ink: var(--fg); --ink-soft: var(--fg-soft); --line: rgba(247,246,242,.22); --terra-deep: var(--accent);
  --lime: var(--navy); --sun: var(--sky);
  background: var(--navy-deep); color: var(--fg);
}
.t-navy { --fg: var(--pearl); --fg-soft: rgba(247,246,242,.8); --line: rgba(247,246,242,.2); --accent: var(--sky); --on-accent: var(--navy); background: var(--navy); }
.t-sea  { --fg: var(--pearl); --fg-soft: rgba(247,246,242,.86); --line: rgba(247,246,242,.26); --accent: var(--sky); --on-accent: var(--navy); background: var(--sea); }
.t-sky  { --fg: var(--navy); --fg-soft: rgba(15,31,61,.78); --line: rgba(15,31,61,.2); --accent: var(--navy); --on-accent: var(--pearl); background: var(--sky); }
[class*="t-"] { --ink: var(--fg); --ink-soft: var(--fg-soft); --terra-deep: var(--accent); color: var(--fg); }
.e main > section { padding: clamp(96px, 12vw, 180px) var(--gutter); position: relative; overflow: hidden; }

.ebtn { display: inline-flex; align-items: center; justify-content: center; font: 500 15px/1 var(--body); padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--on-accent); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ebtn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px var(--accent); }
.ebtn--sm { padding: 11px 20px; font-size: 14px; }
.elink { font-size: 15px; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s; }
.elink:hover { border-bottom-color: var(--fg); }
.ekicker, .elabel { font: 400 15px/1.4 var(--body); color: var(--fg-soft); }
.eripple { width: 60px; height: 18px; color: var(--accent); display: block; margin: 0 auto 26px; }
.ehead { text-align: center; max-width: 900px; margin: 0 auto; }
.ehead h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1.02; }

/* nav */
.enav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); transition: background .4s var(--ease); }
.enav[data-scrolled] { background: color-mix(in srgb, var(--navy) 92%, transparent); backdrop-filter: blur(10px); }
.enav .brand { color: var(--pearl); }
.enav .brand__mark { color: var(--pearl); }
.enav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font-size: 15px; }
.enav__links a:not(.ebtn) { color: var(--pearl); text-decoration: none; opacity: .86; }
.enav__links a:not(.ebtn):hover { opacity: 1; }
.enav .ebtn { --accent: var(--sky); --on-accent: var(--navy); }
@media (max-width: 760px) { .enav__links a:not(.ebtn) { display: none; } }

/* hero */
.ehero { min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4vw; padding-top: 140px !important; }
.ehero__copy { position: relative; z-index: 1; max-width: 720px; }
.ehero h1 { font-size: clamp(56px, 8.4vw, 150px); line-height: .93; margin: 18px 0 30px; animation: ein 1.4s var(--ease) both .1s; }
.ehero__lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--fg-soft); max-width: 30em; animation: ein 1.4s var(--ease) both .45s; }
.ekicker { animation: ein 1.2s var(--ease) both; }
.eactions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; animation: ein 1.4s var(--ease) both .7s; }
.ehero__arch { width: 100%; max-height: 74svh; color: var(--sky); justify-self: center; overflow: visible; }
.ehero__line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: edraw 2.6s var(--ease) forwards .2s; opacity: .8; }
.ehero__ref { stroke-dasharray: 300; stroke-dashoffset: 300; animation: edraw 2s var(--ease) forwards 1.4s; opacity: .55; }
.ehero__sun { fill: var(--sky); transform-box: fill-box; transform-origin: center; animation: erise 2.4s var(--ease) both .9s; filter: drop-shadow(0 0 40px rgba(168,212,240,.55)); }
@keyframes ein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes edraw { to { stroke-dashoffset: 0; } }
@keyframes erise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .ehero { grid-template-columns: 1fr; padding-top: 110px !important; text-align: center; gap: 24px; }
  .ehero__arch { order: -1; max-height: 34svh; }
  .ehero__copy { margin-inline: auto; }
  .eactions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ehero *, .ekicker { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1; } }

/* promise */
.epromise { text-align: center; }
.epromise p { font-family: var(--display); font-size: clamp(42px, 6.6vw, 112px); line-height: 1.02; color: var(--navy); }

/* book */
.ebook__list { list-style: none; max-width: 1240px; margin: clamp(56px, 7vw, 96px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); }
.ebook__list a { display: grid; gap: 10px; padding: 28px 0 34px; border-top: 1px solid var(--line); text-decoration: none; color: var(--fg); position: relative; }
.ebook__list a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--sky); transition: width .5s var(--ease); }
.ebook__list a:hover::before, .ebook__list a:focus-visible::before { width: 100%; }
.ebook__n { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.ebook__d { font-size: 16px; color: var(--fg-soft); }
@media (max-width: 960px) { .ebook__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ebook__list { grid-template-columns: 1fr; } }

/* stat */
.estat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; justify-content: center; }
.e main > .estat { padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2)); }
.estat__n { width: clamp(220px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(15,31,61,.35); display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 18px rgba(255,255,255,.18); }
.estat__n span { font-family: var(--display); font-size: clamp(110px, 13vw, 200px); line-height: .8; color: var(--navy); }
.estat__n small { font-size: 16px; color: var(--fg-soft); margin-top: 14px; }
.estat h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; color: var(--navy); max-width: 18ch; }
.esrc { font-size: 13px; color: var(--fg-soft); margin-top: 22px; }
@media (max-width: 760px) { .estat { grid-template-columns: 1fr; justify-items: center; text-align: center; } .estat h2 { margin-inline: auto; } }

/* how */
.ehow__steps { list-style: none; max-width: 1100px; margin: clamp(56px, 7vw, 90px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; position: relative; }
.ehow__steps::before { content: ""; position: absolute; top: 26px; left: 16.6%; right: 16.6%; height: 1px; background: var(--line); }
.ehow__i { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 26px; border-radius: 50%; background: var(--navy); border: 1px solid var(--sky); color: var(--sky); font-size: 14px; }
.ehow h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.ehow p { color: var(--fg-soft); font-size: 16px; max-width: 20em; margin-inline: auto; }
@media (max-width: 760px) { .ehow__steps { grid-template-columns: 1fr; } .ehow__steps::before { display: none; } }

/* trust */
.etrust { display: grid; gap: 56px; justify-items: center; text-align: center; }
.etrust .partners__logos { justify-content: center; margin-top: 26px; }
.e .partners__logos img { filter: brightness(0) invert(1); opacity: .9; }

/* faq */
.efaq .qa { max-width: 760px; margin: 48px auto 0; }
.efaq .qa a { color: var(--navy); }

/* plan */
.eplan__lede { color: var(--fg-soft); margin-top: 20px; font-size: 18px; }
.eform { max-width: 720px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.eform label { display: grid; gap: 8px; font-size: 14px; color: var(--fg-soft); }
.eform input, .eform textarea { font: inherit; font-size: 17px; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; resize: vertical; }
.eform input::placeholder, .eform textarea::placeholder { color: rgba(247,246,242,.45); }
.eform input:focus, .eform textarea:focus { outline: none; border-bottom-color: var(--sky); }
.eform [aria-invalid="true"] { border-bottom-color: #F2A38B; }
.eform__wide, .eform__foot { grid-column: 1 / -1; }
.eform__foot { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 10px; }
.e .form__status { color: var(--fg-soft); }
@media (max-width: 600px) { .eform { grid-template-columns: 1fr; } }
.eplan__contact { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 15px; }
.eplan__contact a { color: var(--fg-soft); text-decoration: none; }
.eplan__contact a:hover { color: var(--sky); }

/* foot */
.efoot { background: var(--navy-deep); color: var(--pearl); display: grid; justify-items: center; gap: 14px; text-align: center; padding: 72px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); }
.efoot__mark { width: 40px; height: auto; color: var(--pearl); }
.efoot__line { font-family: var(--display); font-size: 22px; }
.efoot__copy { font-size: 13px; color: rgba(247,246,242,.6); }
.e :focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.e .skip { background: var(--pearl); color: var(--navy); }

/* ================================================================ V9: full hero + one section per service */
.ehero2 { min-height: 100svh; background: var(--navy); display: grid; place-items: center; padding: 100px var(--gutter) 60px !important; }
.ehero2 h1 { font-size: clamp(64px, 12.6vw, 240px); line-height: .9; text-align: center; color: var(--pearl); max-width: 11ch; animation: ein 1.6s var(--ease) both .1s; }
.epromise__sub { font-family: var(--body) !important; font-size: clamp(17px, 1.4vw, 20px) !important; line-height: 1.5 !important; color: var(--fg-soft) !important; margin-top: 44px; scroll-margin-top: 90px; }

.svc { background: var(--bg); min-height: 92svh; }
.svc[data-tone="dark"] { --fg: var(--pearl); --fg-soft: rgba(247,246,242,.84); --line: rgba(247,246,242,.3); color: var(--fg); }
.svc[data-tone="light"] { --fg: var(--navy); --fg-soft: rgba(15,31,61,.78); --line: rgba(15,31,61,.3); color: var(--fg); }
.svc__cat { font-size: 15px; color: var(--fg-soft); }
.svc__t { line-height: .92; margin: 18px 0 28px; }
.svc__t a { color: inherit; text-decoration: none; }
.svc__d { font-size: clamp(17px, 1.4vw, 21px); color: var(--fg-soft); max-width: 30em; margin-bottom: 30px; }

/* dark: the name, in white letters filled with the photograph */
.svc--fill { display: grid; place-content: center; justify-items: center; text-align: center; }
.svc--fill .svc__t { font-size: clamp(64px, 11.5vw, 220px); max-width: 12ch; }
.svc--fill .svc__t { color: var(--pearl); }

/* light: an arch photograph and the name in navy */
.svc--arch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 120px); }
.e main > .svc--arch { padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2)); }
.svc--arch:nth-of-type(4n) .svc__img { order: 2; }
.svc__img { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; max-height: 76svh; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: ezoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
@keyframes ezoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.svc--arch .svc__t { font-size: clamp(52px, 6.6vw, 120px); }
@media (max-width: 860px) {
  .svc--arch { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .svc--arch .svc__img { order: 0 !important; width: min(78vw, 420px); }
  .svc__d { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .svc__t a, .svc__img img { animation: none !important; } }
@media (max-width: 600px) {
  .svc--fill .svc__t { font-size: 18vw; }
  .svc { min-height: auto; }
  .ehero2 h1 { font-size: 19vw; }
}

/* ================================================================ V10: rising motion */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .08em .3em; margin: -.14em -.08em -.3em; }
.wi { display: inline-block; }
.anim [data-rise] .wi { transform: translateY(140%); transition: transform 1.25s cubic-bezier(.19, 1, .22, 1) calc(var(--i) * 70ms); }
.anim .is-in [data-rise] .wi { transform: none; }
.ehero2 h1 { animation: none; }

.anim .eripple path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.4s var(--ease) .1s; }
.anim .is-in .eripple path { stroke-dashoffset: 0; }

.anim .svc__cat, .anim .svc__d, .anim .svc .elink, .anim .epromise__sub, .anim .esrc, .anim .eplan__lede,
.anim .ehow__steps li, .anim .ebook__list li, .anim .etrust__row, .anim .qa, .anim .eform, .anim .eplan__contact, .anim .estat__n {
  opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.anim .is-in .svc__cat { transition-delay: 0s; }
.anim .is-in .svc__d, .anim .is-in .epromise__sub, .anim .is-in .esrc, .anim .is-in .eplan__lede { transition-delay: .55s; }
.anim .is-in .svc .elink, .anim .is-in .qa, .anim .is-in .eform { transition-delay: .75s; }
.anim .is-in .eplan__contact { transition-delay: .95s; }
.anim .is-in .ehow__steps li:nth-child(1) { transition-delay: .3s; }
.anim .is-in .ehow__steps li:nth-child(2) { transition-delay: .5s; }
.anim .is-in .ehow__steps li:nth-child(3) { transition-delay: .7s; }
.anim .is-in .etrust__row:nth-child(2) { transition-delay: .3s; }
.anim .is-in :is(.svc__cat, .svc__d, .elink, .epromise__sub, .esrc, .eplan__lede, .ehow__steps li, .etrust__row, .qa, .eform, .eplan__contact, .estat__n) { opacity: 1; transform: none; }

/* the arch photograph opens from the horizon up */
.anim .svc__img { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s cubic-bezier(.65, 0, .35, 1) .1s; }
.anim .is-in .svc__img { clip-path: inset(0 0 0 0); }

/* the line linking the three steps draws across */
.anim .ehow__steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.anim .is-in .ehow__steps::before { transform: none; }

/* a slow breathing light in the dark sections */
.svc--fill::after { content: ""; position: absolute; inset: -20%; pointer-events: none; background: radial-gradient(40% 35% at 50% 60%, rgba(168,212,240,.10), transparent 70%); animation: ebreathe 9s ease-in-out infinite alternate; }
.svc--fill > * { position: relative; z-index: 1; }
@keyframes ebreathe { from { transform: translateY(6%) scale(.95); opacity: .6; } to { transform: translateY(-6%) scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .svc--fill::after { animation: none; } }

/* Arthur's arch logo */
.brand__mark { width: 48px; height: auto; }
.efoot__mark { width: 120px; }

/* ================================================================ V11: varied reveals */
/* blur: words come into focus one after another */
.anim [data-rise][data-fx="blur"] .wi { transform: translateY(.25em); opacity: 0; filter: blur(14px); transition: transform 1.4s var(--ease) calc(var(--i) * 90ms), opacity 1.4s var(--ease) calc(var(--i) * 90ms), filter 1.4s var(--ease) calc(var(--i) * 90ms); }
.anim .is-in [data-rise][data-fx="blur"] .wi { transform: none; opacity: 1; filter: none; }

/* wipe: the title is uncovered from left to right, like a tide line */
.anim [data-rise][data-fx="wipe"] { clip-path: inset(-.3em 100% -.3em 0); transition: clip-path 1.7s cubic-bezier(.77, 0, .18, 1) .1s; }
.anim .is-in [data-rise][data-fx="wipe"] { clip-path: inset(-.3em -.1em -.3em 0); }
.anim [data-rise][data-fx="wipe"] .wi { transform: none; transition: none; }

/* spread: letters gather from wide tracking */
.anim [data-rise][data-fx="spread"] { letter-spacing: .32em; opacity: 0; transition: letter-spacing 1.9s cubic-bezier(.19, 1, .22, 1), opacity 1.2s var(--ease); }
.anim .is-in [data-rise][data-fx="spread"] { letter-spacing: .005em; opacity: 1; }
.anim [data-rise][data-fx="spread"] .wi { transform: none; transition: none; }

/* focus: the whole title settles from slightly larger and soft */
.anim [data-rise][data-fx="focus"] { transform: scale(1.14); opacity: 0; filter: blur(10px); transition: transform 2s cubic-bezier(.19, 1, .22, 1), opacity 1.4s var(--ease), filter 1.6s var(--ease); }
.anim .is-in [data-rise][data-fx="focus"] { transform: none; opacity: 1; filter: none; }
.anim [data-rise][data-fx="focus"] .wi { transform: none; transition: none; }

/* tilt: words rise with a slight swing, like a sail catching wind */
.anim [data-rise][data-fx="tilt"] .wi { transform: translateY(140%) rotate(9deg); transform-origin: left bottom; transition: transform 1.3s cubic-bezier(.19, 1, .22, 1) calc(var(--i) * 110ms); }
.anim .is-in [data-rise][data-fx="tilt"] .wi { transform: none; }

/* arch photographs, four different openings */
.anim .svc__img[data-photo="iris"] { clip-path: circle(0% at 50% 60%); transition: clip-path 1.8s cubic-bezier(.65, 0, .35, 1) .1s; }
.anim .is-in .svc__img[data-photo="iris"] { clip-path: circle(80% at 50% 60%); }
.anim .svc__img[data-photo="soft"] { clip-path: none; opacity: 0; filter: blur(18px); transform: scale(.96); transition: opacity 1.6s var(--ease), filter 1.8s var(--ease), transform 2s var(--ease); }
.anim .is-in .svc__img[data-photo="soft"] { opacity: 1; filter: none; transform: none; }
.anim .svc__img[data-photo="side"] { clip-path: inset(0 0 0 100%); transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1) .1s; }
.anim .is-in .svc__img[data-photo="side"] { clip-path: inset(0 0 0 0); }

/* the stat ring draws itself */
.anim .estat__n { transform: scale(.7) rotate(-20deg); opacity: 0; transition: transform 1.8s cubic-bezier(.19, 1, .22, 1), opacity 1.2s var(--ease); }
.anim .is-in .estat__n { transform: none; opacity: 1; }

/* how-it-works circles pop in turn */
.anim .ehow__i { transform: scale(0); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.anim .is-in .ehow__steps li:nth-child(1) .ehow__i { transform: none; transition-delay: .5s; }
.anim .is-in .ehow__steps li:nth-child(2) .ehow__i { transform: none; transition-delay: .9s; }
.anim .is-in .ehow__steps li:nth-child(3) .ehow__i { transform: none; transition-delay: 1.3s; }

/* partner logos light up one by one */
.anim .partners__logos li { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .is-in .partners__logos li { opacity: 1; transform: none; }
.anim .is-in .partners__logos li:nth-child(2) { transition-delay: .12s; }
.anim .is-in .partners__logos li:nth-child(3) { transition-delay: .24s; }
.anim .is-in .partners__logos li:nth-child(4) { transition-delay: .36s; }
.anim .is-in .partners__logos li:nth-child(5) { transition-delay: .48s; }

/* ================================================================ V12: liquid glass */
.glass {
  --g-tint: rgba(255, 255, 255, .10); --g-edge: rgba(255, 255, 255, .38);
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 45%, rgba(255,255,255,.10)), var(--g-tint);
  -webkit-backdrop-filter: blur(18px) saturate(185%) brightness(1.08); backdrop-filter: blur(18px) saturate(185%) brightness(1.08);
  border: 1px solid var(--g-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(255,255,255,.12), inset 0 0 18px rgba(255,255,255,.08), 0 10px 34px -12px rgba(5, 15, 35, .45);
}
.glass::before { /* specular sweep */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.35), transparent 55%);
  opacity: .7; transition: opacity .4s var(--ease);
}
[data-tone="light"] .glass, .t-sky .glass { --g-tint: rgba(255,255,255,.35); --g-edge: rgba(255,255,255,.75); }

/* glass "Discover" pills */
.svc .elink.glass { display: inline-flex; padding: 13px 26px; border-radius: 999px; border-bottom: 1px solid var(--g-edge); font-size: 15px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc .elink.glass:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 40px -14px rgba(5,15,35,.55); }
.svc .elink.glass:hover::before { opacity: 1; }
[data-tone="light"] .elink.glass { color: var(--navy); }

/* glass tag resting on each arch photograph */
.svc__img { position: relative; }
.svc__tag { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; padding: 11px 20px; border-radius: 999px; font-size: 14px; color: var(--pearl); --g-tint: rgba(15,31,61,.18); --g-edge: rgba(255,255,255,.45); }
@media (max-width: 420px) { .svc__tag { font-size: 12px; padding: 9px 14px; } }

/* the stat as a glass lens */
.estat__n { border: 1px solid rgba(255,255,255,.7);
  background: radial-gradient(70% 60% at 30% 20%, rgba(255,255,255,.55), rgba(255,255,255,.12) 60%), rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), inset 0 -10px 30px rgba(29,94,138,.18), 0 30px 60px -30px rgba(15,31,61,.5); }

/* glass step markers */
.ehow__i { background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.04)), rgba(15,31,61,.6);
  border: 1px solid rgba(168,212,240,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 24px -10px rgba(0,0,0,.6); }

/* the main buttons get a liquid sheen */
.ebtn { position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 6px rgba(15,31,61,.12); }
.ebtn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.ebtn:hover::after { transform: translateX(120%); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(15,31,61,.85); }
  [data-tone="light"] .glass { background: rgba(255,255,255,.85); }
}
.svc[data-tone="dark"] .glass, .t-navy .glass, .t-sea .glass { -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%); }

/* ================================================================ V15: hero over a rendered glass pebble */
.ehero2 { position: relative; overflow: hidden; isolation: isolate; background: #0F1F3D; }
.hglass { position: absolute; inset: 0; z-index: -1; }
.hglass img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hglassin 2.2s cubic-bezier(.19,1,.22,1) both, hfloat 14s ease-in-out 2.2s infinite alternate; }
@keyframes hglassin { from { opacity: 0; transform: scale(1.06); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hfloat { from { transform: translateY(0) scale(1); } to { transform: translateY(-1.2%) scale(1.015); } }
.ehero2 h1 { font-family: 'Newsreader', 'Marcellus', Georgia, serif; font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(54px, 8.6vw, 150px); line-height: 1; letter-spacing: -.012em; text-align: center; max-width: none; color: #F4EEE4;
  text-shadow: 0 2px 24px rgba(5,15,35,.35); }
.ehero2 h1 em { font-style: italic; }
@media (max-width: 700px) { .ehero2 h1 { font-size: 12.6vw; } }
@media (prefers-reduced-motion: reduce) { .hglass img { animation: none; } }
@media (max-width: 700px) {
  .hglass img { object-fit: contain; transform-origin: center; width: 100%; }
  .hglass { inset: 0 -14%; }
  .ehero2 h1 { font-size: 11vw; }
}
@media (max-width: 700px) {
  .ehero2 { background: radial-gradient(120% 60% at 30% 20%, #133766, transparent 70%), linear-gradient(180deg, #0E2D58 0%, #08204a 45%, #01122F 100%); }
  .hglass { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 40%, #000 62%, transparent 72%); mask-image: linear-gradient(180deg, transparent 30%, #000 40%, #000 62%, transparent 72%); }
}
@media (max-width: 700px) {
  .hglass { -webkit-mask-image: none; mask-image: none; display: grid; place-items: center; }
  .hglass img { height: auto; aspect-ratio: 16 / 9; object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
}

/* ================================================================ guide page */
.ghero__in { position: relative; text-align: center; max-width: 900px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; }
.ghero h1 { font-size: clamp(56px, 8vw, 132px); }
.ghero__lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--fg-soft); max-width: 34em; margin-bottom: 10px; }
.gsub { margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-soft); max-width: 36em; margin-inline: auto; }
.gh { list-style: none; max-width: 1180px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; counter-reset: none; }
.gh li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.gh__n { grid-row: span 2; font-family: 'Newsreader', serif; font-style: italic; font-size: 52px; line-height: .9; color: var(--sea, #1D5E8A); }
.gh__t { font-family: 'Newsreader', serif; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.gh__d { font-size: 16px; color: var(--fg-soft); margin-top: 6px; }
.gp .ebook__n em { color: #F2C27B; font-style: italic; }
.gp__c { font: 600 13px Figtree, sans-serif; letter-spacing: .04em; color: #A8D4F0; }
.gp__go { font-size: 14px; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; margin-top: 6px; }
.gp { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .gh { grid-template-columns: 1fr; } .gp { grid-template-columns: 1fr; } }
.anim .is-in .ebook__list li { opacity: 1; transform: none; }
.anim .is-in .ebook__list li:nth-child(2) { transition-delay: .08s; } .anim .is-in .ebook__list li:nth-child(3) { transition-delay: .16s; }
.anim .is-in .ebook__list li:nth-child(4) { transition-delay: .24s; } .anim .is-in .ebook__list li:nth-child(5) { transition-delay: .32s; }
.anim .is-in .ebook__list li:nth-child(n+6) { transition-delay: .4s; }
.ghero .eactions { margin-top: 18px; }
/* guide hero: text centred inside the pebble, actions below it */
.ghero { display: block !important; padding: 0 !important; }
.ghero__in { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: min(820px, 58vw); gap: 10px; }
.ghero h1 { font-size: clamp(44px, 5.6vw, 96px); line-height: .98; }
.ghero__in .ghero__lede { font-size: clamp(15px, 1.25vw, 19px); margin: 6px 0 0; }
.ghero__below { position: absolute; left: 0; right: 0; top: 81%; display: grid; justify-items: center; gap: 18px; padding: 0 var(--gutter); }
.ghero__below .eactions { margin-top: 0; }
.ghero__lede--m { display: none; }
@media (max-width: 700px) {
  .ghero__in { width: 82vw; top: 50%; }
  .ghero h1 { font-size: 10.4vw; }
  .ghero__in .ghero__lede, .ghero__in .ekicker { display: none; }
  .ghero__below { top: 64%; }
  .ghero__lede--m { display: block; text-align: center; color: var(--fg-soft); font-size: 16px; max-width: 30em; }
  .ghero__below .eactions { flex-direction: column; }
}

/* ================================================================ V16: content pages in the V8 language */
.t-pearl { --fg: var(--navy); --fg-soft: rgba(15,31,61,.76); --line: rgba(15,31,61,.16); --accent: var(--navy); --on-accent: var(--pearl); background: var(--pearl); }
.ep h1, .ep h2, .ep h3, .ep summary { font-family: 'Newsreader', 'Marcellus', Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.ep h1 em, .ep h2 em { font-style: italic; }
.e.ep main > section { padding: clamp(80px, 10vw, 150px) var(--gutter); }

/* hero: one colour, one title */
.e.ep main > .ep-hero { min-height: 78svh; display: grid; align-content: center; justify-items: center; text-align: center; padding-top: clamp(130px, 16vw, 200px); }
.ep-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; font-size: 14px; color: var(--fg-soft); margin-bottom: 26px; }
.ep-crumbs a { color: var(--fg-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.ep-crumbs a:hover { color: var(--fg); }
.ep-hero h1 { font-size: clamp(46px, 7.4vw, 128px); line-height: .98; max-width: 14ch; }
.ep-hero__lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; color: var(--fg-soft); max-width: 36em; margin-top: 30px; }
.ep-hero .eactions { justify-content: center; }

/* in short: the answer first, photo in an arch */
.ep-short__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ep-short .svc__img { max-height: 70svh; width: 100%; }
.ep-short__k { font: 600 13px/1 var(--body); letter-spacing: .06em; color: var(--fg-soft); margin-bottom: 18px; }
.ep-short__a { font-family: 'Newsreader', Georgia, serif; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.28; }
.ep-facts { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ep-facts li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.ep-facts b { font: 600 13px/1.3 var(--body); color: var(--fg-soft); letter-spacing: .02em; }
.ep-facts span { font-size: 17px; line-height: 1.4; }
@media (max-width: 860px) {
  .ep-short__grid { grid-template-columns: 1fr; }
  .ep-short .svc__img { width: min(78vw, 400px); margin-inline: auto; }
  .ep-facts { grid-template-columns: 1fr; }
}

/* body */
.ep-body__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ep-toc { position: sticky; top: 110px; display: grid; gap: 12px; font-size: 14px; }
.ep-toc p { font-weight: 600; color: var(--fg-soft); }
.ep-toc a { color: var(--fg-soft); text-decoration: none; line-height: 1.35; }
.ep-toc a:hover { color: var(--fg); }
.ep-prose { max-width: 720px; }
.ep-prose h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; margin: 72px 0 20px; scroll-margin-top: 110px; }
.ep-prose h2:first-child { margin-top: 0; }
.ep-prose p, .ep-prose li { font-size: 18px; line-height: 1.7; color: var(--fg-soft); }
.ep-prose p + p { margin-top: 18px; }
.ep-prose ul { margin: 18px 0 0 1.1em; display: grid; gap: 8px; }
.ep-prose a { color: var(--fg); text-underline-offset: 3px; }
.ep-src { margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line); }
.ep-src h2 { font-size: 22px !important; margin: 0 0 12px !important; }
.ep-src li, .ep-src p { font-size: 14px !important; line-height: 1.55 !important; }
.ep-updated { margin-top: 28px; font-size: 14px !important; }
@media (max-width: 860px) { .ep-body__grid { grid-template-columns: 1fr; } .ep-toc { display: none; } }

/* faq */
.ep-faq .qa { max-width: 820px; margin: 48px auto 0; border-top-color: var(--line); }
.ep-faq .qa details { border-bottom-color: var(--line); }
.ep-faq .qa summary { color: var(--fg); font-size: clamp(21px, 1.9vw, 26px); }
.ep-faq .qa summary::after { border-color: var(--fg); }
.ep-faq .qa details p { color: var(--fg-soft); font-size: 17px; line-height: 1.65; }

/* related */
.ep-rel .ebook__n { font-family: 'Newsreader', Georgia, serif; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.ep-rel .ebook__d { color: var(--fg-soft); font-size: 15px; }

/* cta */
.ep-cta { text-align: center; }
.ep-cta h2 { font-size: clamp(40px, 6vw, 96px); line-height: 1; }
.ep-cta p { color: var(--fg-soft); margin-top: 20px; font-size: 18px; }
.ep-cta .eactions { justify-content: center; }

/* footer with every page */
.efoot__nav { max-width: 1100px; margin: 34px auto 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: left; }
.efoot__nav p { font: 600 13px/1.3 var(--body); color: rgba(247,246,242,.6); margin-bottom: 10px; }
.efoot__nav ul { list-style: none; display: grid; gap: 7px; }
.efoot__nav a { color: rgba(247,246,242,.82); text-decoration: none; font-size: 14px; line-height: 1.35; }
.efoot__nav a:hover { color: var(--sky); }
@media (max-width: 860px) { .efoot__nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .efoot__nav { grid-template-columns: 1fr; } }

.anim .ep-hero__lede, .anim .ep-hero .eactions, .anim .ep-short__a, .anim .ep-facts, .anim .ep-cta p { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) .45s, transform 1.2s var(--ease) .45s; }
.anim .is-in :is(.ep-hero__lede, .ep-hero .eactions, .ep-short__a, .ep-facts, .ep-cta p) { opacity: 1; transform: none; }
.ep-hero .eactions { animation: none; }
.ep-rel--4 .ebook__list { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .ep-rel--4 .ebook__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ep-rel--4 .ebook__list { grid-template-columns: 1fr; } }
.e.ep main > .ep-hub { padding-top: clamp(40px, 6vw, 80px); }
.ep-hub .ebook__list { margin-top: 0; }
/* hero: title optically centred inside the glass pebble */
.ehero2:not(.ghero) { padding: 0 var(--gutter) !important; }
.ehero2:not(.ghero) h1 { transform: translateY(-.06em); }

/* paid protocol */
.gpro { max-width: 1180px; margin: 64px auto 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.gpro__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.gpro__list li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--fg-soft); }
.gpro__list b { display: block; font-family: 'Newsreader', serif; font-weight: 400; font-size: 22px; line-height: 1.15; color: var(--fg); margin-bottom: 4px; }
.gpro__card { border-radius: 28px; padding: 40px 36px; background: rgba(255,255,255,.55); border: 1px solid var(--line); text-align: center; display: grid; gap: 14px; justify-items: center; }
.gpro__price { font-family: 'Marcellus', serif; font-size: clamp(56px, 6vw, 84px); line-height: 1; }
.gpro__price small { font-size: .4em; vertical-align: super; margin-right: 2px; }
.gpro__note { font-size: 14px; color: var(--fg-soft); max-width: 26em; }
@media (max-width: 860px) { .gpro { grid-template-columns: 1fr; gap: 36px; } .gpro__list { grid-template-columns: 1fr; } .gpro__card { padding: 32px 22px; } }

.gchoice { justify-content: center; gap: 14px; flex-wrap: wrap; }
.ebtn--pro { background: #A8D4F0; color: #0F1F3D; }
.ebtn--pro:hover { box-shadow: 0 10px 30px -12px #A8D4F0; }
.gchoice__note { font-size: 14px; color: var(--fg-soft); text-align: center; max-width: 34em; }
.gchoice__note a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 860px) { .gchoice .ebtn { width: 100%; max-width: 340px; } }
.ebtn--line { background: transparent; color: #F7F6F2; box-shadow: inset 0 0 0 1.5px rgba(247,246,242,.7); }
.ebtn--line:hover { box-shadow: inset 0 0 0 1.5px #F7F6F2; background: rgba(247,246,242,.08); }

/* longevity collection */
.ecol { max-width: 1180px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ecol__g { border-radius: 28px; padding: 34px 30px; background: rgba(255,255,255,.6); border: 1px solid var(--line); display: grid; align-content: start; gap: 10px; justify-items: start; }
.ecol__n { font-family: 'Newsreader', serif; font-style: italic; font-size: 40px; line-height: 1; color: #1D5E8A; }
.ecol__g h3 { font-family: 'Marcellus', serif; font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; }
.ecol__t { font-family: 'Newsreader', serif; font-style: italic; font-size: 19px; }
.ecol__d { font-size: 15px; color: var(--fg-soft); }
.ecol__p { font-family: 'Marcellus', serif; font-size: 34px; margin-top: 6px; }
.ecol__all { max-width: 1180px; margin: 24px auto 0; border-radius: 28px; padding: 32px 36px; background: #0F1F3D; color: #F7F6F2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ecol__all .ekicker { color: #A8D4F0; }
.ecol__price { font-family: 'Marcellus', serif; font-size: clamp(40px, 4vw, 56px); line-height: 1.1; margin-top: 6px; }
.ecol__price s { font-size: .45em; opacity: .6; margin-left: 6px; }
.ecol__save { font: 600 14px Figtree, sans-serif; letter-spacing: .04em; vertical-align: middle; padding: 6px 12px; border-radius: 99px; background: #A8D4F0; color: #0F1F3D; margin-left: 8px; }
.ecol__meta { font-size: 15px; opacity: .8; margin-top: 4px; }
@media (max-width: 960px) { .ecol { grid-template-columns: 1fr; } .ecol__all { padding: 28px 24px; } .ecol__all .ebtn { width: 100%; } }
.ecol__g { display: flex; flex-direction: column; align-items: flex-start; }
.ecol__p { margin-top: auto; padding-top: 10px; }
/* free guide email form */
.gform{border:0;padding:0;max-width:min(440px,calc(100vw - 32px));width:100%;background:#F7F6F2;color:#0F1F3D;border-radius:28px;box-shadow:0 30px 80px rgba(10,22,48,.35)}
.gform::backdrop{background:rgba(10,22,48,.62);backdrop-filter:blur(6px)}
.gform form,.gform__done{padding:40px 32px 32px;display:flex;flex-direction:column}
.gform h2{font-family:Marcellus,Georgia,serif;font-weight:400;font-size:32px;line-height:1.1;margin:0 0 10px}
.gform h2 em{font-family:Newsreader,Georgia,serif;font-style:italic}
.gform__lede,.gform__done p{font-size:16px;line-height:1.5;margin:0 0 22px;color:#2B3A55}
.gform label{font-size:14px;font-weight:500;margin:0 0 6px}
.gform input{font:inherit;font-size:16px;padding:13px 16px;border-radius:14px;border:1px solid rgba(15,31,61,.22);background:#fff;color:#0F1F3D;margin:0 0 16px}
.gform input:focus-visible{outline:2px solid #1D5E8A;outline-offset:1px;border-color:#1D5E8A}
.gform .ebtn{align-self:stretch;justify-content:center;text-align:center;margin-top:4px}
.gform .ebtn[disabled]{opacity:.6;cursor:progress}
.gform .ebtn--line2{background:transparent;color:#0F1F3D;box-shadow:inset 0 0 0 1.5px #0F1F3D}
.gform__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.gform__err{color:#A3322A;font-size:14px;margin:-4px 0 12px}
.gform__fine{font-size:13px;color:#56637A;margin:14px 0 0;text-align:center}
.gform__x{position:absolute;top:14px;right:16px;width:40px;height:40px;border:0;background:transparent;font-size:28px;line-height:1;color:#0F1F3D;cursor:pointer;border-radius:50%}
.gform__x:focus-visible{outline:2px solid #1D5E8A}
.gform [hidden]{display:none!important}
