/* Apotheek Van Hoecke — "Twee cirkels": zorg en welzijn die elkaar raken. Tokens first. */
:root {
  --paper: #f7f6f1;
  --white: #fff;
  --ink: #17200f;
  --ink-2: #4b5444;
  --line: #dcdfd4;
  --leaf: #3b6d11;       /* logo green, AA on paper */
  --leaf-d: #27500a;     /* logo wordmark */
  --lime: #639922;       /* logo light circle; decoration + large text only */
  --sage: #e5ece0;
  --sage-2: #c8d6bd;
  --night: #121a0d;
  --night-2: #1f2b18;
  --glow: #9fd56a;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --wrap: 78rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --r: 14px;
  --header: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.62 var(--sans); font-variant-numeric: tabular-nums; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.2vw, 6.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--leaf); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font: 600 .8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 0 0 1.2rem; display: flex; gap: .6rem; align-items: center; }
.eyebrow::before { content: "+"; font: 400 1.3rem/1 var(--serif); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink-2); max-width: 36rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 3rem; }
.brand b { display: block; font: 600 1.25rem/1 var(--sans); color: var(--leaf-d); letter-spacing: -.01em; }
.brand small { display: block; font: 500 .62rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #6b6a63; margin-top: .25rem; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; font-size: 1rem; }
.nav > a { text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav > a:hover, .nav > a[aria-current] { border-color: var(--lime); }
.nav .pill-m { display: none; }
.pill { display: inline-flex; align-items: center; gap: .5rem; font: 600 .95rem var(--sans); text-decoration: none; background: var(--leaf-d); color: #fff; padding: .7rem 1.15rem; border-radius: 99px; white-space: nowrap; }
.pill:hover { background: var(--ink); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #9aa095; flex: none; }
[data-open="true"] .dot { background: #4fc04a; box-shadow: 0 0 0 3px rgb(79 192 74 / .25); }
[data-open="false"] .dot { background: #c9a227; }
.menu-btn { display: none; margin-left: auto; font: 600 1rem var(--sans); background: none; border: 1.5px solid var(--ink); border-radius: 99px; padding: .45rem 1rem; color: var(--ink); }

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .site-header .wrap > .pill { display: none; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.5rem; max-height: calc(100dvh - var(--header)); overflow-y: auto; overscroll-behavior: contain; }
  .nav.is-open { display: flex; }
  .nav > a { padding: .8rem 0; border-bottom: 1px solid var(--line); font: 400 1.6rem var(--serif); }
  .nav .pill-m { display: inline-flex; margin-top: 1.2rem; align-self: flex-start; border: 0; padding: .8rem 1.3rem; font: 600 1rem var(--sans); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font: 600 1.05rem var(--sans); text-decoration: none; background: var(--leaf-d); color: #fff; padding: 1rem 1.5rem; border-radius: 99px; border: 0; cursor: pointer; }
.btn:hover { background: 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; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--glow); }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.arrow { text-decoration: none; font-weight: 600; display: inline-flex; gap: .5rem; border-bottom: 2px solid var(--lime); padding-bottom: .1rem; }
.arrow::after { content: "→"; transition: translate .2s; }
.arrow:hover::after { translate: 4px 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.6rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-media { position: relative; margin: 0; }
.hero-media img { border-radius: 50% 50% var(--r) var(--r) / 38% 38% var(--r) var(--r); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.hero-media figcaption { position: absolute; left: -1.5rem; bottom: 1.5rem; background: var(--white); border-radius: var(--r); padding: .9rem 1.1rem; box-shadow: 0 18px 40px -18px rgb(18 26 13 / .35); font-size: .95rem; max-width: 17rem; }
.hero-media figcaption strong { display: block; font: 400 1.25rem/1.15 var(--serif); }

/* The logo's two circles, used as a quiet motif */
.circles { position: absolute; pointer-events: none; overflow: visible; }
.circles circle { fill: none; stroke-width: 1.2; }
.circles .c1 { stroke: var(--leaf); }
.circles .c2 { stroke: var(--lime); }
.hero .circles { width: min(46rem, 90vw); right: -12rem; top: -6rem; opacity: .35; z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
  .hero .circles .c1 { animation: drift 14s ease-in-out infinite alternate; }
  .hero .circles .c2 { animation: drift 14s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { to { translate: 14px 0; } }

/* Location status cards */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2.2rem; max-width: 36rem; }
.loc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; display: grid; gap: .2rem; }
.loc:hover { border-color: var(--lime); }
.loc strong { font: 400 1.35rem/1.1 var(--serif); }
.loc .now { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.tight { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > p, .section-head > div > p:last-child { color: var(--ink-2); margin: 0; max-width: 32rem; }
.sage { background: var(--sage); }
.dark { background: var(--night); color: #e8eee2; }
.dark .eyebrow { color: var(--glow); }
.dark h2 em, .dark h3 em { color: var(--glow); }
.dark .lede, .dark p { color: #c3cdbb; }

/* Three pillars */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.pillar:nth-child(even) .pillar-media { order: 2; }
.pillar-media { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; align-items: end; }
.pillar-media img { border-radius: var(--r); width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.pillar-media img + img { aspect-ratio: 1; }
.pillar .num { font: italic 400 1.1rem var(--serif); color: var(--lime); }
.pillar h2 { margin: .3rem 0 1.2rem; }
.pillar ul { list-style: none; padding: 0; margin: 1.6rem 0 2rem; border-top: 1px solid var(--line); }
.pillar li a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pillar li a::after { content: "→"; color: var(--leaf); transition: translate .2s; }
.pillar li a:hover::after { translate: 4px 0; }
.pillar li span { color: var(--ink-2); font-size: .95rem; margin-left: auto; }

/* Task rail */
.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.tasks a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.5rem 1.4rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, translate .2s; }
.tasks a:hover { border-color: var(--lime); translate: 0 -3px; }
.tasks .n { font: italic 400 1.05rem var(--serif); color: var(--lime); margin-bottom: 1.6rem; }
.tasks h3 { font-size: 1.5rem; }
.tasks p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* EsthéPlus band */
.plus { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.plus-media { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.plus-media img { border-radius: var(--r); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.plus-media img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.plus-media img:not(:first-child) { aspect-ratio: 4 / 3; }
.prices { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--night-2); }
.prices li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--night-2); }
.prices li span { color: #c3cdbb; font-size: .95rem; }
.prices b { font: 400 1.3rem var(--serif); color: #fff; white-space: nowrap; }
.guarantee { display: flex; gap: .8rem; align-items: center; font-size: .98rem; color: #e8eee2 !important; }
.guarantee::before { content: "+"; display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--glow); color: var(--glow); font: 400 1.4rem/1 var(--serif); }

/* Team strip */
.team { list-style: none; padding: 0 var(--gut) 1rem; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13rem, 15rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; max-width: var(--wrap); margin-inline: auto; }
.team li { scroll-snap-align: start; }
.team a { text-decoration: none; display: grid; gap: .3rem; }
.team img { border-radius: 999px 999px var(--r) var(--r); aspect-ratio: 306 / 451; object-fit: cover; width: 100%; background: var(--sage); margin-bottom: .6rem; transition: border-radius .4s; }
.team a:hover img { border-radius: var(--r); }
.team strong { font: 400 1.3rem/1.1 var(--serif); }
.team span { font-size: .9rem; color: var(--ink-2); line-height: 1.35; }

/* Locations */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.place { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .3rem; }
.place h3 { font-size: 2.2rem; }
.place address { font-style: normal; margin: .4rem 0 1.2rem; color: var(--ink-2); }
.place .now { display: flex; align-items: center; gap: .55rem; font-weight: 600; margin-bottom: .6rem; }
.place .actions { margin-top: auto; padding-top: 1.4rem; }
.week { list-style: none; margin: 0 0 .4rem; padding: 0; font-size: .95rem; border-top: 1px solid var(--line); }
.week li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.week li.today { color: var(--ink); font-weight: 600; }
.week li.today span:first-child::after { content: " · vandaag"; color: var(--leaf); font-weight: 500; }

/* ---------- Subpages ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .lede { margin-top: 1.4rem; }
.page-head .circles { width: 30rem; right: -8rem; top: -8rem; opacity: .3; }
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.crumbs a { color: var(--ink-2); }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin: 3rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose .ways { padding-left: 0; }
.split { display: grid; grid-template-columns: 1fr 22rem; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.aside { position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.aside img { border-radius: var(--r); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.card h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.chapter { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 5vw, 4rem); }
.chapter:last-child { border-bottom: 0; }
.chapter h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.chapter img { border-radius: var(--r); margin-top: 1.5rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.4rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--lime); color: var(--leaf); font: italic 400 1.1rem var(--serif); margin-bottom: 1.4rem; }
.steps strong { display: block; font: 400 1.4rem/1.15 var(--serif); margin-bottom: .3rem; }
.steps span { color: var(--ink-2); }
.ways { counter-reset: w; list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.ways li { counter-increment: w; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.ways li::before { content: counter(w); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--leaf); font: italic 400 1.1rem var(--serif); }
.ways strong { display: block; font-size: 1.1rem; }
.ways span { color: var(--ink-2); }
.note { border-left: 3px solid var(--lime); background: var(--sage); padding: 1rem 1.2rem; border-radius: 0 var(--r) var(--r) 0; }
.numbers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
.numbers li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--sage-2); }
.numbers a { font-weight: 600; text-decoration: none; color: var(--leaf); white-space: nowrap; }
.big-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 2.5rem; }
.big-numbers a { background: var(--night); color: #fff; border-radius: var(--r); padding: 1.3rem; text-decoration: none; }
.big-numbers strong { display: block; font: 400 2.8rem/1 var(--serif); color: var(--glow); margin-bottom: .5rem; }
.videos { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.videos li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.videos a { display: flex; gap: .8rem; padding: .7rem 0; text-decoration: none; }
.videos a::before { content: "▶"; color: var(--leaf); font-size: .75rem; line-height: 2; }
.videos a:hover { color: var(--leaf); }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.docs a { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.docs a:hover { border-color: var(--lime); }
.docs small { color: var(--ink-2); }
.docs strong { font: 400 1.35rem var(--serif); }

/* Price menu (instituut) */
.menu-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.menu-tabs a { text-decoration: none; padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: .95rem; }
.menu-tabs a:hover { border-color: var(--lime); }
.treat { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.treat-media img { border-radius: var(--r); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.treat h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .4rem; }
.treat .sub { color: var(--ink-2); margin-bottom: 1.8rem; }
.rates { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.rates li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 1rem 0; border-bottom: 1px dashed var(--sage-2); }
.rates li > strong { font-weight: 600; }
.rates li > b { font: 400 1.25rem var(--serif); color: var(--leaf-d); white-space: nowrap; text-align: right; }
.rates li > span { grid-column: 1 / -1; color: var(--ink-2); font-size: .95rem; }
.rates.compact { columns: 2; column-gap: 2rem; }
.rates.compact li { break-inside: avoid; padding: .6rem 0; }
.rates .rates-head { display: block; border: 0; padding: 0; font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 1.4rem 0 .2rem; column-span: all; }
.rates .rates-head:first-child { margin-top: 0; }

/* Programs (leefstijl) */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.program { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.program.feat { background: var(--night); color: #e8eee2; border-color: var(--night); }
.program.feat .muted, .program.feat li { color: #c3cdbb; }
.program h3 { font-size: 2rem; }
.program .price { display: flex; align-items: baseline; gap: .7rem; margin: .4rem 0; }
.program .price b { font: 400 2.6rem/1 var(--serif); }
.program .price s { color: var(--ink-2); }
.program.feat .price s { color: #9aa48f; }
.program .muted { color: var(--ink-2); font-size: .95rem; margin: 0; }
.program ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .5rem; font-size: .98rem; }
.program li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .4rem; color: var(--ink-2); }
.program li::before { content: "+"; color: var(--lime); font: 400 1.2rem/1.2 var(--serif); }
.program .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Mega menu (native popover; see prompts/mega-menu.md) ---------- */
.mega-trigger { font: inherit; color: inherit; background: none; border: 0; padding: .3rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; border-bottom: 2px solid transparent; }
.mega-trigger::after { content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: 45deg; translate: 0 -2px; transition: rotate .3s, translate .3s; }
.mega-trigger:hover { border-color: var(--lime); }
.mega:has(.mega-panel:is(:popover-open, .\:popover-open)) .mega-trigger { border-color: var(--lime); }
.mega:has(.mega-panel:is(:popover-open, .\:popover-open)) .mega-trigger::after { rotate: 225deg; translate: 0 2px; }
.mega-label { display: none; }
.mega-panel {
  position: fixed; inset: calc(var(--header) + 1px) 0 auto; margin: 0 auto; width: min(calc(100% - 2 * var(--gut)), calc(var(--wrap) - 2 * var(--gut)));
  padding: 1rem; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 calc(var(--r) * 1.5) calc(var(--r) * 1.5);
  background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -28px rgb(18 26 13 / .4);
  opacity: 0; translate: 0 -8px;
  transition: opacity .2s, translate .3s cubic-bezier(.22, 1, .36, 1), display .3s allow-discrete, overlay .3s allow-discrete;
}
.mega-panel:is(:popover-open, .\:popover-open) { opacity: 1; translate: 0 0; }
@starting-style { .mega-panel:popover-open { opacity: 0; translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .mega-panel, .mega-trigger::after { transition: none; } }
.mega-grid { display: grid; grid-template-columns: 20rem 1fr; gap: 1rem; }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; min-height: 15rem; padding: 1.4rem; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--night); isolation: isolate; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: scale .5s; }
.mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(18 26 13 / .88), rgb(18 26 13 / .1) 70%); }
.mega-feature:hover img { scale: 1.04; }
.mega-feature strong { font: 400 1.7rem/1.1 var(--serif); }
.mega-feature span { font-size: .95rem; color: #dfe6d8; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; align-content: start; }
.mega-links a { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; border-radius: calc(var(--r) * .7); text-decoration: none; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--sage); }
.mega-links strong { font-weight: 600; font-size: 1.02rem; }
.mega-links strong::after { content: " →"; color: var(--leaf); opacity: 0; transition: opacity .2s; }
.mega-links a:hover strong::after { opacity: 1; }
.mega-links span { font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.mega-links .ext strong::after { content: " ↗"; }

@media (max-width: 1100px) {
  .mega-trigger { display: none; }
  .mega-panel { display: block; position: static; width: auto; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; opacity: 1; translate: none; transition: none; }
  .mega-label { display: block; font: 600 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 1.4rem 0 .2rem; }
  .mega-grid, .mega-links { display: block; }
  .mega-feature img, .mega-feature::before, .mega-feature span, .mega-links span { display: none; }
  .mega-feature, .mega-links a { display: block; min-height: 0; background: none; color: var(--ink); padding: .8rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .mega-feature strong, .mega-links strong { font: 400 1.6rem/1.1 var(--serif); color: var(--ink); }
  .mega-links strong::after { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #c3cdbb; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: 1rem; position: relative; overflow: hidden; }
.site-footer a { color: #fff; }
.site-footer .circles { width: 34rem; right: -10rem; bottom: -14rem; opacity: .25; }
.site-footer .circles .c1 { stroke: var(--glow); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; position: relative; }
.foot h2 { font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); margin-bottom: 1rem; }
.foot .big { font: 400 2rem/1.1 var(--serif); color: #fff; margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot p { margin: 0 0 .9rem; }
.legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-2); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; font-size: .85rem; position: relative; }
.legal img { height: 2.6rem; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .section-head, .pillar, .plus, .split, .chapter, .treat, .places { grid-template-columns: 1fr; }
  .pillar:nth-child(even) .pillar-media { order: 0; }
  .aside { position: static; }
  .hero-media figcaption { left: .8rem; }
  .tasks, .programs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .docs, .big-numbers { grid-template-columns: 1fr; }
  .videos, .rates.compact { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .tasks, .programs, .steps, .foot, .numbers, .locs { grid-template-columns: 1fr; }
  .week li.today span:first-child::after { content: ""; }
  .brand small { display: none; }
}
.steps.two { grid-template-columns: 1fr 1fr; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .steps.three { grid-template-columns: 1fr 1fr; } .steps.two { grid-template-columns: 1fr; } }
