/* Origin Study Network — style.css
 *
 * The Aleric theme, medical-light demo, built left to right, using the parts
 * Selora did not: the scale-up band, the testimonial over a dotted map, the
 * funfact circles, the counter's shaking icons, the service-details photo
 * cards and { 01 } process cards, and the offcanvas menu. Recoloured from the
 * theme's blue to berry, set in Schibsted Grotesk and Instrument Sans. See
 * tools/shell.py for the token notes.
 *
 * 1  Tokens      2  Base       3  Buttons     4  Header and drawer
 * 5  Hero        6  Home       7  Inner pages 8  Forms
 * 9  Footer      10 Responsive
 */

/* 1 ───────────────────────────────────────────────────────────── Tokens ── */
:root {
  --berry: #A3195B;
  --berry-d: #7E1146;
  --plum: #5E1A73;
  --ink: #17121A;
  --grey: #574F5A;
  --line: rgba(23, 18, 26, .12);
  --night: #1E1220;
  --night-2: #160D18;
  --foot: #CFC3CF;
  --white: #FFFFFF;
  --mist: #F8F4F6;
  --blush: #FBEAF0;
  --apricot: #FFF0E2;
  --lilac: #F0EAFA;
  --sage: #E8F3EA;
  --red: #B42318;
  --ff-head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gut: 24px;
  --r: 28px;
  --rc: 20px;
}

/* 2 ─────────────────────────────────────────────────────────────── Base ── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.62 var(--ff-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
a { color: var(--berry); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry-d); }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
svg { flex: none; }

/* The theme's subtitle, in brackets: "( Medical )" */
.s-sub { font: 500 16px/1.3 var(--ff-body); color: var(--berry); margin: 0 0 16px; }
.s-title { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.03; }
.s-head { margin-bottom: 44px; max-width: 660px; }
.s-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.s-lede { font-size: 19px; line-height: 1.55; color: var(--grey); margin: 20px 0 0; }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1.2 var(--ff-body); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.more svg { width: 16px; height: 16px; transition: transform .25s; }
a.more:hover { color: var(--berry); }
a.more:hover svg { transform: translateX(3px); }

/* 3 ──────────────────────────────────────────────────────────── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border: 0; border-radius: 100px;
  background: var(--berry); color: #fff; cursor: pointer;
  font: 600 16px/1.2 var(--ff-body); text-decoration: none;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s; }
.btn:hover { background: var(--berry-d); color: #fff; }
.btn:hover svg { transform: rotate(45deg); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blush); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* 4 ───────────────────────────────────────────────── Header and drawer ── */
/* The theme's header-blur: see-through over the hero, frosted once the page
 * moves. */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 86px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.brand .mark { width: 44px; height: 44px; }
.brand-word { display: flex; flex-direction: column; font: 700 26px/1 var(--ff-head); letter-spacing: -0.04em; }
.brand-word small { font: 500 12.5px/1 var(--ff-body); letter-spacing: .01em; margin-top: 5px; color: var(--grey); }
.brand:hover { color: var(--ink); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; align-items: center; gap: 6px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a, .site-nav .sub-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 16px; border-radius: 100px; background: none; border: 0; cursor: pointer;
  font: 500 16px/1 var(--ff-body); color: var(--ink); text-decoration: none;
  transition: background-color .25s;
}
.site-nav .sub-toggle svg { width: 13px; height: 13px; transition: transform .25s; }
.site-nav .menu > li > a:hover, .site-nav .sub-toggle:hover { background: var(--blush); color: var(--ink); }
.site-nav .menu > li > a[aria-current="page"], .site-nav .has-sub.is-current > .sub-toggle { background: var(--blush); color: var(--berry-d); }
.site-nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: #fff; border-radius: var(--rc); padding: 10px;
  box-shadow: 0 30px 70px rgba(30, 18, 32, .16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.site-nav .sub a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.3; }
.site-nav .sub a:hover, .site-nav .sub a[aria-current="page"] { background: var(--mist); color: var(--berry); }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub, .site-nav .has-sub.is-open > .sub {
  opacity: 1; visibility: visible; transform: none;
}
.site-nav .has-sub:hover .sub-toggle svg, .site-nav .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.head-cta { min-height: 48px; padding: 12px 22px; flex: none; }

.menu-btn {
  display: none; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 16px;
  border: 1.5px solid var(--ink); border-radius: 100px; background: transparent; cursor: pointer;
  font: 600 15px/1 var(--ff-body); color: var(--ink);
}
.menu-lines { display: grid; gap: 5px; }
.menu-lines span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-lines span:last-child { width: 12px; }

/* The theme's offcanvas: a panel from the right over a dimmed page. */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(22, 13, 24, .5); opacity: 0; transition: opacity .35s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: #fff; padding: 22px 28px 36px; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.3, .7, .2, 1);
  display: flex; flex-direction: column; gap: 26px;
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blush); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.drawer-close svg { width: 20px; height: 20px; }
.drawer-menu > li { border-bottom: 1px solid var(--line); }
.drawer-menu > li > a, .drawer-menu .sub-toggle {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 17px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 22px/1.1 var(--ff-head); letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}
.drawer-menu .sub-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.drawer-menu .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.drawer-menu [aria-current="page"] { color: var(--berry); }
.drawer-menu .sub { display: none; padding: 0 0 14px; }
.drawer-menu .has-sub.is-open .sub { display: block; }
.drawer-menu .sub a { display: block; padding: 8px 0; color: var(--grey); text-decoration: none; font-size: 16.5px; }
.drawer-menu .sub a:hover, .drawer-menu .sub a[aria-current="page"] { color: var(--berry); }
.drawer-cta { align-self: flex-start; }
.drawer-contact { display: grid; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.drawer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.drawer-contact svg { width: 19px; height: 19px; color: var(--berry); margin-top: 3px; }
.drawer-contact a { color: var(--ink); text-decoration: none; }
.drawer-contact span { color: var(--grey); }

/* 5 ─────────────────────────────────────────────────────────────── Hero ── */
.hero, .page-hero {
  background:
    radial-gradient(48% 70% at 0% 0%, #FBE1EB 0%, rgba(251, 225, 235, 0) 70%),
    radial-gradient(42% 62% at 100% 6%, #FFEBD8 0%, rgba(255, 235, 216, 0) 70%),
    radial-gradient(38% 50% at 55% 40%, #F1E8FB 0%, rgba(241, 232, 251, 0) 70%),
    #fff;
}
.hero { margin-top: -86px; padding-top: 150px; }
.hero-sub { margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: .98; letter-spacing: -0.05em; max-width: 16.5ch; }
.chip {
  display: inline-block; width: 1.6em; height: .8em; vertical-align: -.02em;
  border-radius: 100px; overflow: hidden; background: var(--blush);
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 40px 0 64px; }
.hero-lede { font-size: 20px; line-height: 1.5; color: var(--grey); max-width: 46ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; flex: none; }

.hero h1, .hero-sub, .hero-foot { animation: rise .8s cubic-bezier(.25, .46, .45, .94) both; }
.hero-sub { animation-delay: .05s; }
.hero-foot { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* The theme's scale-up video band, without the video: the photograph starts
 * inset with rounded corners and opens to the full width as it scrolls up.
 * main.js sets --p from 0 to 1; without the script it simply sits inset. */
.band { --p: 0; position: relative; }
.band-fig {
  height: clamp(420px, 62vw, 760px); overflow: hidden;
  clip-path: inset(0 calc(var(--gut) + (5vw * (1 - var(--p)))) round calc(var(--r) * (1 - var(--p) * .6)));
  will-change: clip-path;
}
.band-fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(calc(1.14 - .14 * var(--p))); }
/* The card straddles the photograph's lower edge: half on it, half below.
 * translateY(-50%) holds that at every width, whatever the card's height. */
.band-wrap { position: relative; z-index: 1; }
/* The theme's counter row, with words where its numbers were. */
.asks {
  background: #fff; border-radius: var(--rc); padding: 30px 36px 32px;
  box-shadow: 0 18px 50px rgba(30, 18, 32, .1);
  transform: translateY(-50%);
  display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center;
}
.asks-title { font-size: 26px; line-height: 1.1; }
.asks-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ask { display: flex; align-items: center; gap: 14px; }
.ask-icon {
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--blush); color: var(--berry);
}
.ask:nth-child(2) .ask-icon { background: var(--apricot); color: #9A4A0C; }
.ask:nth-child(3) .ask-icon { background: var(--lilac); color: var(--plum); }
.ask:nth-child(4) .ask-icon { background: var(--sage); color: #1F6B3A; }
.ask-icon svg { width: 27px; height: 27px; }
.ask:hover .ask-icon svg { animation: shake .45s ease-in-out 1; }
.ask strong { display: block; font: 600 24px/1.05 var(--ff-head); letter-spacing: -0.04em; }
.ask small { display: block; font-size: 14.5px; color: var(--grey); margin-top: 4px; }
@keyframes shake { 15% { transform: translateY(-6px); } 45% { transform: rotate(-12deg); } 75% { transform: rotate(9deg); } 100% { transform: none; } }

/* 6 ─────────────────────────────────────────────────────────────── Home ── */
.process { padding: 10px 0 120px; }
.process-top { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: center; margin-bottom: 64px; }
.process-fig { position: relative; }
.process-fig img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: 50%; }
.process-fig::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(163, 25, 91, .35);
}
.process-top .s-head { margin: 0; }
.process-top .s-title { font-size: clamp(36px, 5vw, 70px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  border: 1px solid var(--line); border-radius: var(--rc); padding: 34px 26px 34px; text-align: center;
  display: flex; flex-direction: column; align-items: center; transition: border-color .3s, background-color .3s;
}
.step:hover { border-color: var(--berry); background: var(--mist); }
.step-n { font: 600 20px/1 var(--ff-head); color: var(--berry); letter-spacing: -0.02em; white-space: nowrap; }
.step h3 { font-size: 25px; margin: 48px 0 12px; }
.step p { color: var(--grey); font-size: 16px; margin: 0; }

.areas { padding: 110px 0 120px; background: var(--mist); border-radius: 40px; }
.areas-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; }
.areas-head .s-head { margin: 0; }
.areas-ctrl { display: flex; gap: 10px; align-items: center; flex: none; }
.rail-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s;
}
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover { background: var(--ink); color: #fff; }
.rail-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.areas-ctrl .btn { margin-left: 8px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 8px;
  scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail .acard { scroll-snap-align: start; }

/* The theme's service-details card: photograph, white panel on its lower
 * edge. The whole card is the link. */
.acard { position: relative; display: flex; flex-direction: column; }
.acard-img { border-radius: var(--rc); overflow: hidden; }
.acard-img img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; transition: transform .8s ease; }
.acard:hover .acard-img img { transform: scale(1.05); }
.acard-panel {
  position: relative; margin: -110px 16px 0; padding: 24px 24px 26px; background: #fff;
  border-radius: 16px; flex: 1; display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: 0 12px 40px rgba(30, 18, 32, .08);
}
.acard-short { font-size: 14px; font-weight: 600; color: var(--berry); margin: 0 0 8px; }
.acard h3 { font-size: 27px; margin-bottom: 10px; }
.acard h3 a { color: var(--ink); text-decoration: none; }
.acard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rc); }
.acard-text { color: var(--grey); font-size: 15.5px; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.acard:hover h3 a { color: var(--berry); }
.acard:hover .more { color: var(--berry); }
.acard:focus-within { outline: 3px solid var(--berry); outline-offset: 4px; border-radius: var(--rc); }
.acard h3 a:focus-visible { outline: none; }

/* The theme's testimonial over a dotted map, carrying the two rules instead
 * of an invented patient. */
.vow { position: relative; padding: 140px 0 130px; overflow: hidden; text-align: center; }
.vow-map { position: absolute; left: 50%; top: 50%; width: min(1100px, 120%); transform: translate(-50%, -50%); opacity: .9; pointer-events: none; }
.vow-inner { position: relative; max-width: 1060px; }
.vow-q { display: inline-block; color: var(--berry); margin-bottom: 34px; }
.vow-q svg { width: 52px; height: 40px; }
.vow-text {
  font: 600 clamp(28px, 3.9vw, 54px)/1.16 var(--ff-head); letter-spacing: -0.04em; color: var(--ink); margin: 0 0 46px;
}
.vow-mark { display: inline-grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(30, 18, 32, .1); margin-bottom: 16px; }
.vow-mark .mark { width: 46px; height: 46px; }
.vow-name { font: 600 22px/1.2 var(--ff-head); letter-spacing: -0.03em; margin: 0 0 4px; }
.vow-role { color: var(--grey); margin: 0; }

/* The theme's funfact panel, held still: a field of circles beside a title. */
.people { padding: 40px 0 120px; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.people-art { position: relative; }
.dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dot { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--blush); }
.dot img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.dot--lilac { background: var(--lilac); }
.dot--blush { background: var(--blush); }
.dot-plus {
  display: grid; place-items: center; width: calc(50% - 9px); aspect-ratio: 1; margin: 18px 0 0 calc(25% + 4px);
  border-radius: 50%; background: var(--berry); color: #fff; transition: background-color .3s, transform .4s;
}
.dot-plus svg { width: 38%; height: 38%; stroke-width: 1.2; transition: transform .5s; }
.dot-plus:hover { background: var(--berry-d); color: #fff; }
.dot-plus:hover svg { transform: rotate(90deg); }
.js .dots .dot { opacity: 0; transform: scale(.7); }
.js .dots.is-in .dot { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.3, .7, .2, 1.2); }
.js .dots.is-in .dot:nth-child(2) { transition-delay: .08s; }
.js .dots.is-in .dot:nth-child(3) { transition-delay: .16s; }
.js .dots.is-in .dot:nth-child(4) { transition-delay: .24s; }
.js .dots.is-in .dot:nth-child(5) { transition-delay: .32s; }
.js .dots.is-in .dot:nth-child(6) { transition-delay: .4s; }
.js .dots.is-in .dot:nth-child(7) { transition-delay: .48s; }
.js .dots.is-in .dot:nth-child(8) { transition-delay: .56s; }
.people-title { font-size: clamp(40px, 5.6vw, 80px); line-height: .98; letter-spacing: -0.05em; margin-bottom: 28px; }
.people-copy > p:not(.s-sub) { color: var(--grey); font-size: 18px; }
.people-copy .more { margin-top: 8px; }

.qa { padding: 110px 0; border-top: 1px solid var(--line); }
.qa-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.qa-side { position: sticky; top: 120px; display: grid; gap: 20px; align-content: start; }
.qa-side .s-head { margin-bottom: 4px; }
.qa-side .btn { justify-self: start; }
.qa-note { color: var(--grey); margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; letter-spacing: inherit; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 21px/1.3 var(--ff-head); letter-spacing: -0.03em; color: var(--ink);
}
.faq-q i { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 12px; top: 18px; width: 13px; height: 1.8px; background: var(--ink); transition: transform .3s, background-color .3s; }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i { background: var(--berry); border-color: var(--berry); }
.faq-item.is-open .faq-q i::before, .faq-item.is-open .faq-q i::after { background: #fff; }
.faq-item.is-open .faq-q i::after { transform: rotate(0); }
.faq-q:hover { color: var(--berry); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--grey); margin: 0; padding: 0 64px 28px 0; }

.guides { padding: 30px 0 130px; }
.glist { border-top: 1px solid var(--ink); }
.glist li { border-bottom: 1px solid var(--line); }
.grow {
  position: relative; display: grid; grid-template-columns: 1.05fr 1.2fr 64px; gap: 40px; align-items: center;
  padding: 30px 0; color: var(--ink); text-decoration: none;
}
.grow-title { font: 600 clamp(26px, 2.7vw, 38px)/1.08 var(--ff-head); letter-spacing: -0.04em; transition: color .3s, transform .4s; }
.grow-text { color: var(--grey); font-size: 17px; }
.grow-go {
  justify-self: end; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; transition: background-color .3s, border-color .3s, color .3s;
}
.grow-go svg { width: 20px; height: 20px; }
.grow-img {
  position: absolute; left: var(--mx, 70%); top: var(--my, 50%); width: 230px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  opacity: 0; transform: translate(28px, -60%) rotate(-6deg) scale(.85); transition: opacity .35s, transform .45s cubic-bezier(.3, .7, .2, 1);
  pointer-events: none; z-index: 2; box-shadow: 0 20px 50px rgba(30, 18, 32, .2);
}
.grow-img img { width: 100%; height: 100%; object-fit: cover; }
.grow:hover { color: var(--ink); }
.grow:hover .grow-title { color: var(--berry); transform: translateX(8px); }
.grow:hover .grow-go, .grow:focus-visible .grow-go { background: var(--berry); border-color: var(--berry); color: #fff; }
@media (hover: hover) and (min-width: 1100px) {
  .grow:hover .grow-img { opacity: 1; transform: translate(28px, -60%) rotate(-4deg) scale(1); }
}
.grow--small { grid-template-columns: 1fr 1.3fr 56px; padding: 24px 0; }
.grow--small .grow-title { font-size: clamp(22px, 2.2vw, 28px); }
.grow--small .grow-go { width: 48px; height: 48px; }
.guides--more { padding-top: 0; }
.others-title { font-size: 30px; margin-bottom: 26px; }

.cta { padding: 0 0 120px; }
.cta-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  background: var(--night); color: #fff; border-radius: var(--r); padding: 50px 56px;
  background-image: radial-gradient(50% 120% at 100% 0%, rgba(163, 25, 91, .55), rgba(163, 25, 91, 0) 70%);
}
.cta-mark .mark { width: 80px; height: 80px; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 10px; }
.cta-inner p { margin: 0; color: var(--foot); font-size: 18px; }

/* 7 ──────────────────────────────────────────────────────── Inner pages ── */
.page-hero { margin-top: -86px; padding: 160px 0 90px; text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.crumbs {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14.5px; margin-bottom: 28px;
  padding: 8px 18px; border-radius: 100px; background: rgba(255, 255, 255, .75); color: var(--grey);
}
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { color: var(--berry); text-decoration: underline; }
.page-hero h1 { font-size: clamp(44px, 7vw, 100px); line-height: 1; letter-spacing: -0.05em; max-width: 15ch; }
.ph-lede { font-size: 20px; line-height: 1.5; color: var(--grey); max-width: 54ch; margin: 24px 0 0; }

.area-photo { padding: 0 0 10px; }
.wide-fig img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r); }
.wide-fig--short img { aspect-ratio: 16 / 6; }
.page-liver-health .wide-fig img, .page-womens-health .wide-fig img { object-position: center 30%; }

.overview { padding: 90px 0 0; }
.overview-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.overview-who { background: var(--mist); border-radius: var(--rc); padding: 36px 34px; }
.overview-who h2 { font-size: 28px; margin-bottom: 10px; }
.small { font-size: 15px; color: var(--grey); }

.visits { padding: 100px 0 0; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard { border: 1px solid var(--line); border-radius: var(--rc); padding: 30px 26px; }
.vcard h3 { font-size: 22px; margin-bottom: 10px; }
.vcard p { color: var(--grey); font-size: 16px; margin: 0; }
.vcard:nth-child(1) { background: var(--blush); border-color: var(--blush); }
.vcard:nth-child(2) { background: var(--apricot); border-color: var(--apricot); }
.vcard:nth-child(3) { background: var(--lilac); border-color: var(--lilac); }
.vcard:nth-child(4) { background: var(--sage); border-color: var(--sage); }

.duo { display: grid; gap: 18px; }
.duo-card { border: 1px solid var(--line); border-radius: var(--rc); padding: 30px 30px 32px; background: #fff; }
.duo-card h2 { font-size: 24px; margin-bottom: 12px; }
.duo-card p { color: var(--grey); font-size: 16px; }
.duo-card--berry { background: var(--berry); border-color: var(--berry); }
.duo-card--berry h2 { color: #fff; }
.duo-card--berry p { color: #FBE6EF; }

.others { padding: 100px 0 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chiplink {
  display: inline-block; padding: 12px 22px; border-radius: 100px; border: 1.5px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .25s, background-color .25s;
}
.chiplink:hover { border-color: var(--berry); background: var(--blush); color: var(--ink); }

.prose p, .prose li { color: var(--grey); font-size: 17.5px; line-height: 1.72; }
.prose > h2, .prose section > h2 { font-size: clamp(28px, 2.8vw, 36px); margin: 54px 0 16px; }
.prose > h2:first-child, .prose section:first-child > h2 { margin-top: 0; }
.prose p.lead { font-size: 22px; line-height: 1.5; color: var(--ink); }
.prose a { color: var(--berry); }

.ticks { display: grid; gap: 13px; margin: 8px 0 10px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg {
  width: 26px; height: 26px; padding: 6px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--berry); color: #fff;
}
.qlist { display: grid; gap: 10px; margin: 10px 0; }
.qlist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.qlist svg { width: 24px; height: 24px; color: var(--berry); flex: none; margin-top: 2px; }
.note { margin-top: 48px; padding: 28px 32px; background: var(--blush); border-radius: var(--rc); }
.note p { margin: 0; color: var(--ink); }
.note h2 { font-size: 26px; margin-bottom: 10px; }
.note p + .more { margin-top: 18px; }

.tsteps { display: grid; gap: 14px; margin: 10px 0 16px; }
.tsteps li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--rc); }
.tsteps h3 { font-size: 21px; margin-bottom: 6px; }
.tsteps p { margin: 0; font-size: 16px; }
.tsteps .step-n { padding-top: 3px; }

.intro { padding: 30px 0 40px; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.intro-big { font: 600 clamp(28px, 3.3vw, 46px)/1.18 var(--ff-head); letter-spacing: -0.04em; margin: 0; }
.intro-fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r); }
.story { padding: 80px 0 0; }
.pair { padding: 90px 0 0; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pair-card { border: 1px solid var(--line); border-radius: var(--r); padding: 44px 42px; }
.pair-card h2 { font-size: 34px; margin-bottom: 24px; }
.pair-card .ticks li { color: var(--grey); }
.pair-card--soft { background: var(--night); border-color: var(--night); }
.pair-card--soft h2 { color: #fff; }
.pair-card--soft .ticks li { color: var(--foot); }
.pair-card--soft .ticks svg { background: rgba(255, 255, 255, .12); }
.page-about .story:last-of-type { padding-bottom: 110px; }

.hub { padding: 40px 0 120px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.hub .note { max-width: 780px; margin-top: 64px; }

.guide { padding: 80px 0 100px; }
.faq-page { padding: 40px 0 120px; }
.faq-page .qa-side { gap: 18px; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 19px; height: 19px; color: var(--berry); margin-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--berry); text-decoration: underline; }
.contact-list span { color: var(--grey); }

.legal { padding: 40px 0 120px; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 80px; align-items: start; text-align: left; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc p { font-weight: 600; margin-bottom: 12px; }
.legal-toc li a { display: block; padding: 7px 0 7px 14px; color: var(--grey); text-decoration: none; font-size: 15.5px; border-left: 2px solid var(--line); }
.legal-toc li a:hover { color: var(--berry); border-color: var(--berry); }
.legal section { scroll-margin-top: 110px; }
.legal section + section { margin-top: 46px; }
.legal section > h2 { margin: 0 0 14px; font-size: 30px; }

/* 8 ────────────────────────────────────────────────────────────── Forms ── */
.signup { padding: 40px 0 120px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 46px; background: #fff; box-shadow: 0 30px 80px rgba(30, 18, 32, .07); }
.panel-head h2 { font-size: 34px; margin-bottom: 8px; }
.panel-head p { color: var(--grey); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select {
  width: 100%; height: 56px; padding: 0 18px; border: 1.5px solid #D3C8D2; border-radius: 14px;
  background: #fff; color: var(--ink); font: 400 17px var(--ff-body);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317121A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(163, 25, 91, .14); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.consents { display: grid; gap: 14px; margin-top: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px 18px; background: var(--mist); border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--berry); cursor: pointer; }
.check span { font-size: 13.5px; line-height: 1.6; color: #463F49; }
.check a { color: var(--berry); }
.check.is-invalid { border-color: var(--red); background: #FEF3F2; }
.form-error { display: none; margin: 0; padding: 14px 16px; border-radius: 12px; background: #FEF3F2; color: var(--red); font-weight: 600; font-size: 15px; }
.form-error.is-shown { display: block; }
.form .btn { justify-self: start; min-width: 240px; }
.form-done { display: none; }
.form-done.is-shown { display: block; }
.form-done h2 { font-size: 36px; margin: 18px 0 10px; }
.form-done p { color: var(--grey); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #1F6B3A; }
.done-icon svg { width: 30px; height: 30px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.join-card { background: var(--night); border-radius: var(--rc); padding: 32px 30px; color: var(--foot); }
.join-card h2 { color: #fff; font-size: 26px; margin-bottom: 18px; }
.tsteps--light li { border-color: rgba(255, 255, 255, .12); grid-template-columns: 64px 1fr; padding: 18px 18px; }
.tsteps--light h3 { color: #fff; font-size: 18px; }
.tsteps--light p { color: var(--foot); font-size: 15px; }
.tsteps--light .step-n { color: #FF8DB8; font-size: 17px; }
.join-fig img { border-radius: var(--rc); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 9 ───────────────────────────────────────────────────────────── Footer ── */
.site-footer { background: var(--night); color: var(--foot); border-radius: 40px 40px 0 0; padding-top: 100px; overflow: hidden; }
.site-footer a { color: var(--foot); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 60px; padding-bottom: 80px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-top h2 { color: #fff; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.045em; max-width: 15ch; }
/* The theme's round call to action */
.site-footer .foot-circle {
  flex: none; width: 190px; height: 190px; border-radius: 50%; background: var(--berry); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  font: 600 18px/1.15 var(--ff-head); letter-spacing: -0.02em; padding: 30px; transition: transform .5s cubic-bezier(.3, .7, .2, 1), background-color .3s;
}
.foot-circle svg { width: 26px; height: 26px; transition: transform .4s; }
.site-footer .foot-circle:hover { background: #C2216C; color: #fff; text-decoration: none; transform: scale(1.06); }
.foot-circle:hover svg { transform: rotate(45deg); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; padding: 72px 0 30px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; margin-bottom: 22px; }
.site-footer .brand-word small { color: var(--foot); }
.foot-brand p { font-size: 15.5px; line-height: 1.6; }
.foot-col h2 { color: #fff; font: 600 18px/1.3 var(--ff-head); letter-spacing: -0.02em; margin-bottom: 18px; }
.foot-col li { font-size: 15.5px; line-height: 1.5; padding: 4px 0; }
.foot-contact { display: grid; gap: 12px; }
.foot-col .foot-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 0; }
.foot-contact svg { width: 19px; height: 19px; margin-top: 3px; color: #FF8DB8; }
/* The giant brand word, outlined rather than filled */
.foot-big {
  margin: 0; text-align: center; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
  font: 700 clamp(110px, 26vw, 400px)/.8 var(--ff-head); letter-spacing: -0.06em;
  transform: translateY(.12em); user-select: none; pointer-events: none;
}
/* The word's lower edge is cut where the bar begins. Without this it hung
 * over the bar, drawn on top of the legal links and the back-to-top button
 * and taking their clicks. */
.site-footer > .wrap { overflow: hidden; }
.foot-copy { position: relative; z-index: 1; background: var(--night-2); }
.foot-copy .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
.foot-copy p { margin: 0; flex: 1; font-size: 14px; }
.foot-copy ul { display: flex; gap: 20px; font-size: 14px; }
.to-top {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--berry); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: #fff; color: var(--ink); }

/* 10 ─────────────────────────────────────────────────────── Responsive ── */
@media (max-width: 1199px) {
  .site-nav .menu > li > a, .site-nav .sub-toggle { padding: 10px 12px; }
  .steps, .vgrid { grid-template-columns: repeat(2, 1fr); }
  .asks { grid-template-columns: 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1099px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-cta { margin-left: auto; }
  .site-header .wrap { min-height: 76px; gap: 14px; }
  .hero, .page-hero { margin-top: -76px; }
  .grow { grid-template-columns: 1fr 64px; gap: 10px 24px; }
  .grow-text { grid-column: 1; grid-row: 2; }
  .grow-go { grid-column: 2; grid-row: 1 / span 2; }
  .grow-img { display: none; }
}

@media (max-width: 991px) {
  .hero { padding-top: 130px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 48px; }
  .asks-list { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
  .process-top, .people-grid, .qa-grid, .overview-grid, .intro-grid, .form-grid, .legal-grid { grid-template-columns: 1fr; }
  .process-top { gap: 44px; }
  .process-fig { width: min(300px, 70%); margin: 14px; }
  .qa-side, .join-side, .legal-toc { position: static; }
  .legal-toc { display: none; }
  .people-grid { gap: 50px; }
  .people-art { max-width: 560px; }
  .areas-head { flex-direction: column; align-items: flex-start; }
  .overview-grid { gap: 48px; }
  .wide-fig img, .wide-fig--short img { aspect-ratio: 16 / 9; }
  .cta-inner { grid-template-columns: 1fr; padding: 44px 40px; gap: 22px; }
  .cta-inner .btn { justify-self: start; }
}

@media (max-width: 767px) {
  :root { --gut: 16px; --r: 22px; --rc: 18px; }
  body { font-size: 16.5px; }
  .head-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .brand .mark { width: 38px; height: 38px; }
  .brand-word { font-size: 23px; }
  .hero { padding-top: 116px; }
  .hero h1 { font-size: clamp(40px, 11.6vw, 60px); }
  .hero-lede { font-size: 18px; }
  .hero-actions { width: 100%; }
  .band-fig { height: 380px; }
  .asks { padding: 24px 20px; }
  .band-wrap { margin-bottom: -100px; }   /* the tall stacked card leaves half its height below */
  .asks-title { font-size: 22px; }
  .asks-list { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .ask { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ask-icon { width: 48px; height: 48px; }
  .ask-icon svg { width: 23px; height: 23px; }
  .ask strong { font-size: 20px; }
  .areas, .qa { padding: 76px 0; }
  .process { padding: 0 0 76px; }
  .areas { border-radius: 26px; }
  .process-top { margin-bottom: 40px; }
  .steps, .vgrid, .pair-grid, .row2, .foot-grid, .hub-grid { grid-template-columns: 1fr; }
  .step h3 { margin-top: 26px; }
  .areas-ctrl .rail-btn { width: 48px; height: 48px; }
  .acard h3 { font-size: 24px; }
  .vow { padding: 90px 0; }
  .vow-map { width: 190%; }
  .people { padding: 20px 0 80px; }
  .dots { gap: 10px; }
  .dot-plus { width: calc(50% - 5px); margin: 10px 0 0 calc(25% + 2px); }
  .faq-q { font-size: 18.5px; padding: 22px 0; }
  .faq-q i { width: 34px; height: 34px; }
  .faq-q i::before, .faq-q i::after { left: 9.5px; top: 15px; }
  .faq-a p { padding-right: 0; }
  .guides { padding-bottom: 80px; }
  .grow { padding: 24px 0; }
  .grow-go { width: 46px; height: 46px; }
  .grow-text { font-size: 15.5px; }
  .page-hero { padding: 120px 0 60px; }
  .ph-lede { font-size: 18px; }
  .crumbs { font-size: 13.5px; padding: 7px 14px; }
  .overview, .visits { padding-top: 64px; }
  .overview-who { padding: 28px 22px; }
  .others { padding: 70px 0 80px; }
  .tsteps li { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .tsteps--light li { grid-template-columns: 56px 1fr; }
  .pair-card { padding: 30px 24px; }
  .pair-card h2 { font-size: 28px; }
  .intro-big { font-size: 26px; }
  .panel { padding: 28px 20px; }
  .form .btn { width: 100%; }
  .cta { padding-bottom: 80px; }
  .cta-inner { padding: 34px 24px; }
  .cta-mark .mark { width: 60px; height: 60px; }
  .site-footer { padding-top: 72px; border-radius: 28px 28px 0 0; }
  .foot-top { padding-bottom: 56px; flex-direction: column; align-items: flex-start; gap: 36px; }
  .site-footer .foot-circle { width: 150px; height: 150px; font-size: 16px; }
  .foot-grid { gap: 36px; padding-top: 56px; }
  .foot-copy .wrap { flex-wrap: wrap; justify-content: space-between; }
  .foot-copy p { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .menu-word { display: none; }
  .menu-btn { width: 48px; padding: 0; justify-content: center; }
  .chip { width: 1.3em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .dots .dot { opacity: 1; transform: none; }
  .band { --p: .6; }
}

@media print {
  .site-header, .site-footer, .drawer, .cta { display: none; }
}
