/* SK Health — site stylesheet
   Colours are taken from the logo: navy crescent, green cross, charcoal "SK".
   Gold nods to "the golden years". Type scale is large on purpose: many readers are elders. */

:root {
  --navy: #0b3a86;
  --navy-deep: #06265c;
  --ink: #13233c;
  --green: #1b9a3c;
  --green-deep: #0f7a2b;
  --leaf: #e8f5eb;
  --charcoal: #4c4f54;
  --muted: #5a6577;
  --gold: #eab13a;
  --paper: #fbf8f2;
  --sand: #f3ecdf;
  --white: #fff;
  --line: #e0dccf;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 22px 50px -24px rgba(6, 38, 92, .38);
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(112.5% * var(--scale)); scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--navy-deep); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.12; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: #dfe8f7; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .13em; font-size: .82rem; color: var(--green-deep); margin: 0 0 14px; display: block; }
.section--navy .eyebrow, .page-hero .eyebrow { color: #8fe0a3; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: #33435c; max-width: 62ch; }
.section--navy .lede { color: #dfe8f7; }
.accent { color: #7fdc93; }
.head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green-deep); color: #fff; }
.btn--green:hover { background: #0b6423; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--navy-deep); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--display); font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--green-deep); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }

/* Utility bar + header */
.utility { background: var(--navy-deep); color: #fff; font-size: .8rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.utility a { color: #fff; font-weight: 500; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility svg { width: 18px; height: 18px; flex: none; }
.utility__phones, .utility__extra, .utility__extra a, .utility__extra span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.utility__phones i { width: 1px; height: 16px; background: rgba(255, 255, 255, .5); }
.utility__extra { gap: 34px; }
.textsize { display: inline-flex; align-items: center; gap: 4px; }
.textsize span { margin-right: 6px; }
.textsize button { min-width: 34px; min-height: 30px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; border-radius: 6px; font: 600 .85rem var(--body); cursor: pointer; }
.textsize button:hover { background: rgba(255, 255, 255, .15); }

.site-header { position: sticky; top: 0; z-index: 90; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 112px; transition: min-height .25s; }
.site-header.is-stuck .wrap { min-height: 68px; }
.brand img { animation: beat-soft 5s ease-in-out infinite; height: 92px; width: auto; transition: height .25s; }
.site-header.is-stuck .brand img { height: 54px; }
.nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); }
.nav a:not(.btn) { font-family: var(--display); font-weight: 600; font-size: .86rem; color: var(--ink); text-decoration: none; padding: 8px 2px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 46px; padding: 8px 20px; font-size: .84rem; }
.nav a[aria-current="page"] { color: var(--green-deep); }
.nav__phone-only { display: none; }
.nav__more { position: relative; }
.nav__more summary { font: 600 .86rem var(--display); color: var(--ink); cursor: pointer; padding: 8px 2px; list-style: none; }
.nav__more summary::-webkit-details-marker { display: none; }
.nav__more summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.nav__more > div { position: absolute; top: 100%; left: -14px; z-index: 5; min-width: 190px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: grid; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 10px; background: var(--leaf); cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy-deep); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: -2px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--green), var(--navy)); transform: scaleX(0); transform-origin: left; }

/* Inner page hero */
.page-hero { position: relative; color: #fff; background: var(--paper); overflow: hidden; isolation: isolate; }
.page-hero__img { position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: calc(100% - 3px); object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 3px; z-index: -1; background: linear-gradient(90deg, rgba(6, 38, 92, .95) 8%, rgba(6, 38, 92, .72) 52%, rgba(6, 38, 92, .25)); }
.page-hero .wrap { padding-block: clamp(64px, 9vw, 120px) clamp(80px, 11vw, 140px); }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); max-width: 15ch; }
.page-hero p { max-width: 54ch; font-size: clamp(1.08rem, 1.6vw, 1.26rem); color: #eef3fc; margin: 0; }

/* The curve from the roll-up banners */
.curve { display: block; width: 100%; height: clamp(36px, 6vw, 84px); margin-top: calc(-1 * clamp(36px, 6vw, 84px) + 1px); position: relative; z-index: 2; }

/* Feature band with cross-shaped photo */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cross { aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M38 0h24a7 7 0 0 1 7 7v24h24a7 7 0 0 1 7 7v24a7 7 0 0 1-7 7H69v24a7 7 0 0 1-7 7H38a7 7 0 0 1-7-7V69H7a7 7 0 0 1-7-7V38a7 7 0 0 1 7-7h24V7a7 7 0 0 1 7-7z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M38 0h24a7 7 0 0 1 7 7v24h24a7 7 0 0 1 7 7v24a7 7 0 0 1-7 7H69v24a7 7 0 0 1-7 7H38a7 7 0 0 1-7-7V69H7a7 7 0 0 1-7-7V38a7 7 0 0 1 7-7h24V7a7 7 0 0 1 7-7z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.cross img { width: 100%; height: 100%; object-fit: cover; }
.feature__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

/* Audience cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { margin: 0; color: #3e4c62; font-size: .98rem; line-height: 1.5; }
.card--plain { padding: 26px; }
.card--plain h3 { margin-bottom: 8px; }
.card--plain p { margin: 0; color: #3e4c62; }
.card__icon { width: 48px; height: 48px; color: var(--green-deep); margin-bottom: 14px; }

/* Closing call band */
.cta { background: var(--green-deep); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(44px, 6vw, 72px); }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; max-width: 52ch; }

/* Services page */
.finder { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); position: relative; z-index: 3; margin-top: clamp(-90px, -7vw, -44px); }
.finder h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font: 600 1rem var(--display); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.finder__out { margin-top: 18px; min-height: 3em; }
.finder__out ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.finder__out a { display: inline-block; padding: 6px 14px; background: var(--leaf); border-radius: 8px; color: var(--green-deep); font-weight: 600; text-decoration: none; }
.finder__out a:hover { text-decoration: underline; }

.layout-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sidenav { position: sticky; top: 110px; }
.sidenav ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.sidenav a { display: block; padding: 8px 14px; margin-left: -2px; border-left: 3px solid transparent; font: 600 1rem/1.2 var(--display); text-decoration: none; color: var(--muted); }
.sidenav a:hover { color: var(--navy); }
.sidenav a.is-active { color: var(--navy-deep); border-left-color: var(--green); }
.service { padding-block: clamp(34px, 5vw, 60px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service__num { font: 600 1rem var(--display); color: var(--green-deep); letter-spacing: .08em; }
.service img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 16px 0 20px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat; }
.section--navy .ticks li::before { background-color: var(--green); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; min-width: 0; }
.person h3 { margin-bottom: 10px; }
.person a { display: block; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.person a:hover { text-decoration: underline; }
.person a + a { margin-top: 6px; font-weight: 500; font-size: .9rem; }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { counter-increment: s; border-top: 3px solid var(--green); padding-top: 14px; }
.steps li::before { content: "0" counter(s); font: 700 2.2rem var(--display); color: var(--navy); display: block; margin-bottom: 8px; }
.section--navy .steps li::before { color: #8fe0a3; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: 1rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font: 600 1.25rem/1.25 var(--display); color: var(--navy-deep); padding: 14px 36px 14px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 1.7rem; color: var(--green-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: #33435c; }

/* Wellness day builder */
.builder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.builder fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.builder legend { font: 600 1.2rem var(--display); color: var(--navy-deep); padding: 0; margin-bottom: 10px; }
.builder__range { display: flex; align-items: center; gap: 16px; }
.builder__range input { flex: 1; min-width: 0; accent-color: var(--green-deep); height: 34px; }
.builder__range output { font: 700 1.5rem var(--display); color: var(--navy); min-width: 76px; text-align: right; }
.ticket { background: var(--navy-deep); color: #e6edf9; border-radius: var(--radius); padding: 28px; position: sticky; top: 110px; }
.ticket h3 { color: #fff; }
.ticket dl { margin: 0 0 20px; }
.ticket dt { font: 600 .8rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8fe0a3; margin-top: 12px; }
.ticket dd { margin: 2px 0 0; }

/* Impact story */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.story__stage { position: sticky; top: 104px; height: calc(100vh - 136px); max-height: 720px; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); }
.story__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.story__stage img.is-active { opacity: 1; }
.chapter { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 20px; opacity: .38; transition: opacity .4s; }
.chapter.is-active { opacity: 1; }
.chapter__img { display: none; }
.chapter small { font: 600 .9rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 8px; }
.pull { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.16; color: var(--navy-deep); max-width: 24ch; margin: 0; }
.section--navy .pull { color: #fff; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.gallery { columns: 4 260px; column-gap: 14px; }
.gallery__item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--sand); border-radius: 14px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__count { color: var(--muted); margin: 0 0 18px; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 18, 44, .96); color: #fff; }
.lightbox::backdrop { background: rgba(4, 18, 44, .96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 60px 12px 8px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__foot { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 16px 20px; text-align: center; }
.lightbox__foot p { margin: 0; flex: 1; max-width: 640px; }
.lightbox button { min-width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { position: absolute; top: 10px; right: 12px; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(26px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 16px; }
.form label { font: 600 1.04rem var(--display); display: grid; gap: 6px; color: var(--navy-deep); }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 11px 14px; border: 2px solid #c9c4b6; border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem var(--body); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); }
.form textarea { min-height: 140px; resize: vertical; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .9rem; color: var(--muted); margin: 0; }
.form__error { color: #a4231c; font-weight: 600; margin: 0; min-height: 1.4em; }
.alert { background: #fff4d9; border-left: 5px solid var(--gold); border-radius: 10px; padding: 16px 18px; }
.alert strong { display: block; font-family: var(--display); font-size: 1.14rem; }
.alert p { margin: 0; }
.mailboxes { list-style: none; display: grid; gap: 10px; }
.mailboxes span { display: block; color: var(--muted); font-size: .92rem; }
.mailboxes a { font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.footer { background: var(--navy-deep); color: #cfdbf0; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(26px, 5vw, 64px); padding-block: 56px 36px; }
.footer__logo { background: #fff; padding: 12px 16px; border-radius: 14px; display: inline-block; margin-bottom: 16px; }
.footer__logo img { height: 74px; width: auto; }
.footer h2 { font-size: 1.15rem; color: #fff; letter-spacing: .02em; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 18px; font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Floating call button, phones only */
.callfab { display: none; position: fixed; right: 14px; bottom: 14px; z-index: 80; }
.callfab .btn { box-shadow: 0 12px 28px -8px rgba(6, 38, 92, .6); }

/* Reveal on scroll: only hides content once JS has confirmed it can show it again */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 95; flex-direction: column; align-items: stretch; gap: 2px; padding: 88px 22px 24px; background: var(--white); box-shadow: -18px 0 40px rgba(6, 38, 92, .22); transform: translateX(105%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__more { display: none; }
  .nav__phone-only { display: block; }
  .nav a:not(.btn) { font-size: 1.1rem; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--green-deep); }
  .nav .btn { margin-top: 14px; min-height: 52px; }
  .nav-toggle { position: relative; z-index: 96; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .feature, .builder, .contact-grid, .layout-side, .story { grid-template-columns: minmax(0, 1fr); }
  .sidenav, .ticket { position: static; }
  .sidenav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .story__stage { display: none; }
  .chapter { min-height: 0; opacity: 1; padding-block: 18px; }
  .chapter__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
  .callfab { display: block; }
  body { padding-bottom: 70px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 90px; }
  .page-hero::before { background: rgba(6, 38, 92, .8); }
  .brand img, .site-header.is-stuck .brand img { height: 60px; }
  .site-header .wrap, .site-header.is-stuck .wrap { min-height: 76px; }
  .cards, .people, .steps, .footer__grid, .form__two { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .utility, .site-header, .callfab, .footer, .cta { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Home page */
.page-index { background: #fff; }
.btn--outline { background: #fff; border-color: var(--navy); color: var(--navy-deep); }
.btn--white { background: #fff; color: var(--green-deep); }
.play { width: 20px; height: 20px; border-radius: 50%; background: var(--navy-deep); position: relative; flex: none; }
.play::after { content: ""; position: absolute; left: 7px; top: 5px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }

.hh { position: relative; overflow: hidden; background: linear-gradient(115deg, #fff 30%, #eef6f1 70%); min-height: clamp(460px, 44vw, 620px); display: flex; align-items: center; }
.hh__photo { overflow: hidden; position: absolute; top: 0; right: 0; bottom: 0; width: 68%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.hh__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 22%; animation: hero-zoom 16s ease-out both; }
.hh__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 44% at 100% 0, #fff 30%, rgba(255, 255, 255, 0) 100%); }
.hh__text { position: relative; z-index: 2; padding-block: 44px 110px; }
.hh h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 18px; max-width: 9em; }
.hh h1 span { display: block; color: var(--green-deep); }
.hh p { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.4; max-width: 23em; color: var(--ink); margin-bottom: 26px; }
.hh__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hh__wave { position: absolute; left: 0; right: 0; bottom: -3px; z-index: 3; width: 100%; height: clamp(54px, 8vw, 120px); }

.hf { background: #fff; padding-block: 14px 62px; }
.hf__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.hf__item svg { transition: transform .25s; }
.hf__item:hover svg { transform: scale(1.14); }
.hf__item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-inline: 10px; text-align: center; font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--navy-deep); border-left: 1px solid var(--line); }
.hf__item:first-child { border-left: 0; }
.hf__item svg { width: 46px; height: 46px; color: var(--green-deep); stroke-width: 1.5; }

.hs { position: relative; overflow: hidden; background: #fff; padding-block: clamp(60px, 7vw, 92px) clamp(70px, 8vw, 104px); isolation: isolate; }
.hs__bg { position: absolute; inset: 3px 0; z-index: -1; overflow: hidden; background: var(--navy-deep); }
.hs__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: blur(9px) saturate(.5); transform: scale(1.06); }
.hs__edge { position: absolute; left: 0; right: 0; width: 100%; height: clamp(24px, 4vw, 60px); }
.hs__edge--top { top: -3px; }
.hs__edge--bottom { bottom: -3px; }
.hs h2 { color: #fff; text-align: center; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: 34px; }
.hs h2 span { color: #6fdc80; }
.hs h2::after { content: ""; display: block; width: 84px; height: 4px; border-radius: 2px; background: #fff; margin: 16px auto 0; }
.hs__cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.hs__card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px 18px; text-align: center; background: #fff; border-radius: 18px; color: var(--ink); text-decoration: none; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); transition: transform .2s; }
.hs__card:hover { transform: translateY(-5px); }
.hs__card > svg { width: 52px; height: 52px; color: var(--green-deep); stroke-width: 1.5; }
.hs__card strong { font-size: .92rem; line-height: 1.2; flex: 1; display: flex; align-items: center; }
.hs__go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); border: 2px solid #a9dcb4; color: var(--green-deep); }
.hs__go svg { width: 16px; height: 16px; stroke-width: 2.6; }

.ha { background: #fff; padding-block: clamp(30px, 4vw, 48px) clamp(26px, 3vw, 36px); }
.ha__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 40px); align-items: center; }
.ha__photo { position: relative; padding: 8px 0 0 8px; }
.ha__photo::before { content: ""; position: absolute; left: 0; top: 0; width: 52%; height: 70%; border-radius: 30px 0 0 0; background: linear-gradient(135deg, #3cb54a, var(--green-deep)); }
.ha__photo img { position: relative; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: 50% 45%; border-radius: 28px; }
.ha h2 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: 12px; }
.ha h2 span { color: var(--green-deep); }
.ha h2::after { content: ""; display: block; width: 100px; height: 4px; border-radius: 2px; background: var(--green-deep); margin-top: 12px; }
.ha p { font-size: 1rem; line-height: 1.45; margin-bottom: 18px; }

.hb { background: #fff; padding-block: 14px clamp(36px, 5vw, 56px); }
.hb__card { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); padding: clamp(20px, 3vw, 32px) clamp(18px, 4vw, 54px); border-radius: 26px; background: linear-gradient(100deg, var(--navy-deep), var(--navy)); color: #fff; }
.hb__card::after { content: ""; position: absolute; top: -70px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: #3cb54a; }
.hb__icon { flex: none; color: #fff; }
.hb__icon svg { display: block; width: clamp(44px, 6vw, 70px); height: clamp(44px, 6vw, 70px); stroke-width: 1.5; }
.hb__text { flex: 1; min-width: 0; }
.hb h2 { color: #fff; font-size: clamp(1.1rem, 2.8vw, 1.9rem); margin-bottom: 4px; }
.hb p { margin: 0; font-size: clamp(.82rem, 1.5vw, 1rem); line-height: 1.35; }
.hb .btn { position: relative; z-index: 1; flex: none; }

.ht { max-width: 720px; margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.ht h2, .hs--split h2, .ha--pad h2 { font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); color: var(--navy); margin-bottom: 12px; }
.ht h2 span, .ha--pad h2 span { color: var(--green-deep); }
.ht h2::after { content: ""; display: block; width: 84px; height: 4px; border-radius: 2px; background: var(--green-deep); margin: 14px auto 0; }
.ht p { margin: 0; color: #33435c; }

.hn { background: #fff; padding-block: clamp(26px, 4vw, 44px); }
.hn__row { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 22px; border-radius: 22px; background: var(--leaf); }
.hn__item { text-align: center; border-left: 1px solid #c6e4cd; padding-inline: 8px; }
.hn__item:first-child { border-left: 0; }
.hn__item strong { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; color: var(--navy); }
.hn__item span { display: block; line-height: 1.2; font-weight: 600; font-size: .9rem; color: var(--green-deep); }

.hc { background: #fff; padding-block: clamp(30px, 5vw, 56px) clamp(52px, 7vw, 84px); }
.hc__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.hc__card:nth-child(5) { grid-column: 2 / span 2; }
.hc__card { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid #e4e9f1; border-radius: 18px; color: var(--ink); text-decoration: none; box-shadow: 0 14px 28px -20px rgba(6, 38, 92, .5); transition: transform .2s, border-color .2s; }
.hc__card:hover { transform: translateY(-5px); border-color: var(--green); }
.hc__card svg { width: 42px; height: 42px; color: var(--green-deep); stroke-width: 1.5; }
.hc__card strong { font-size: 1rem; line-height: 1.2; color: var(--navy-deep); }
.hc__card span { font-size: .86rem; line-height: 1.4; color: #3e4c62; }

.hs--split { color: #e8eefa; }
.hs--split h2 { color: #fff; text-align: left; }
.hs--split h2::after { display: none; }
.hs--split p { margin-bottom: 12px; }
.hs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 56px); align-items: center; }
.hs--split .ticks { margin-bottom: 24px; }
.hs--split .ticks li::before { background-color: var(--green); }
.hs__ecg { display: block; width: min(100%, 340px); height: 50px; margin-bottom: 12px; }
.hs__ecg path { fill: none; stroke: #6fdc80; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.is-in .hs__ecg path { animation: ecg-draw 2.2s .3s ease-out forwards; }

.ha--pad { padding-block: clamp(44px, 6vw, 72px); }
.ha--pad .ticks { margin-bottom: 22px; font-size: .95rem; }
.ha--pad h2::after { display: none; }
.ha--pad h2 span { display: block; }

.hw { background: var(--leaf); padding-block: clamp(46px, 6vw, 72px); }
.hw__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hw__card { display: flex; flex-direction: column; padding-bottom: 18px; background: #fff; border-radius: 18px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hw__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hw__img { display: block; overflow: hidden; margin-bottom: 14px; }
.hw__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.hw__card:hover img, .hg__item:hover img { transform: scale(1.07); }
.hw__card strong { padding-inline: 16px; color: var(--navy-deep); font-size: 1rem; line-height: 1.2; margin-bottom: 4px; }
.hw__card > span:last-child { padding-inline: 16px; font-size: .86rem; line-height: 1.4; color: #3e4c62; }
.hw__more { margin-top: 26px; text-align: center; }
.hw__date { display: block; font-weight: 700; font-size: .76rem; letter-spacing: .03em; color: var(--green-deep); padding-inline: 16px; margin-bottom: 4px; }
.campaign { margin-bottom: clamp(36px, 6vw, 64px); scroll-margin-top: 110px; }
.campaign[hidden] { display: none; }
.campaign__head { margin-bottom: 16px; }
.campaign__head .hw__date { padding-inline: 0; }
.campaign__head h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 6px; }
.campaign__head p { margin: 0; color: #33435c; }
#story-nokaneng, #story-wheelchairs, #story-gamaepa, #story-gamalekane { scroll-margin-top: 120px; }

.hg { background: #fff; padding-block: clamp(46px, 6vw, 72px) 20px; }
.hg .hw__card { background: var(--leaf); }
.hg__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hg__item { display: block; overflow: hidden; border-radius: 16px; }
.hg__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }

.hd { background: #fff; padding-block: clamp(40px, 5vw, 60px) 26px; }
.hd__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hd__card { display: grid; justify-items: center; gap: 6px; padding: 20px 10px; text-align: center; border: 1px solid #e4e9f1; border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.hd__card:hover { transform: translateY(-4px); border-color: var(--green); }
.hd__card strong { color: var(--navy-deep); font-size: 1rem; }
.hd__card > span:last-child { font-weight: 600; color: var(--green-deep); font-size: .92rem; }
.hd__card .hs__go svg { fill: currentColor; stroke-width: 0; }

/* Motion */
.hh__text h1, .hh__text p, .hh__buttons { animation: rise-in .7s ease both; }
.hh__text h1 { animation-delay: .1s; }
.hh__text p { animation-delay: .28s; }
.hh__buttons { animation-delay: .44s; }
.has-splash .hh__text h1 { animation-delay: 2.7s; }
.has-splash .hh__text p { animation-delay: 2.88s; }
.has-splash .hh__buttons { animation-delay: 3.04s; }
.hf__item:nth-child(3) svg { animation: beat 2.2s ease-in-out infinite; }
.hs__card:hover > svg, .hc__card:hover svg { animation: beat 1s ease-in-out; }
.hb .btn { animation: call-out 2.4s ease-out infinite; }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 32% { transform: scale(1.09); } }
@keyframes beat-soft { 0%, 12%, 100% { transform: scale(1); } 4% { transform: scale(1.035); } 8% { transform: scale(1); } 10% { transform: scale(1.02); } }
@keyframes call-out { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }

/* Opening splash: plays and hides itself in CSS, so it can never block the page */
.splash { display: none; }
.has-splash .splash { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; background: #fff; animation: splash-out .55s ease 2.45s forwards; }
.splash__beat { position: relative; width: min(430px, 70vw); animation: splash-beat 1.15s ease-in-out 2; }
.splash__beat img { position: relative; width: 100%; mix-blend-mode: multiply; }
.splash__beat span { position: absolute; left: 20%; top: 50%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border-radius: 50%; border: 3px solid var(--green); opacity: 0; animation: splash-ring 1.15s ease-out 2; }
.splash__beat span + span { animation-delay: .2s; border-color: var(--navy); }
.splash__ecg { width: min(320px, 70vw); height: 50px; }
.splash__ecg path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ecg-draw 2s ease-out .1s forwards; }
.splash p { margin: 0; font-weight: 700; color: var(--navy); animation: rise-in .6s ease .5s both; }
@keyframes splash-beat { 0%, 45%, 100% { transform: scale(1); } 14% { transform: scale(1.12); } 27% { transform: scale(1); } 36% { transform: scale(1.07); } }
@keyframes splash-ring { 0% { opacity: .7; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .has-splash .splash { display: none; }
  .hs__ecg path { stroke-dashoffset: 0; }
}

@media (max-width: 860px) {
  .hs__grid { grid-template-columns: minmax(0, 1fr); }
  .ha__grid--flip { grid-template-columns: minmax(0, 1fr); }
  .hc__grid, .hw__grid, .hd__grid { grid-template-columns: repeat(2, 1fr); }
  .hc__card, .hc__card:nth-child(5) { grid-column: span 1; }
  .hc__card:last-child { grid-column: 1 / -1; }
  .page-index .site-header { border-radius: 0 0 26px 26px; border-bottom: 0; }
  .page-index main { margin-top: -26px; }
  .hh__text { padding-block: 62px 84px; }
  .hh__photo { width: 76%; }
  .hs__cards { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .hs__card { grid-column: span 2; }
  .hs__card:nth-child(4), .hs__card:nth-child(5) { grid-column: span 3; }
  .hs__card:nth-child(4) { margin-left: 12%; }
  .hs__card:nth-child(5) { margin-right: 12%; }
}

@media (max-width: 560px) {
  .utility { font-size: .68rem; }
  .utility .wrap { justify-content: center; min-height: 38px; }
  .utility__extra { display: none; }
  .utility__phones { gap: 7px; }
  .utility svg { width: 15px; height: 15px; }
  .hh { min-height: 0; }
  .hh__text { padding-block: 56px 70px; }
  .hh h1 { font-size: 1.6rem; max-width: 7.4em; margin-bottom: 10px; }
  .hh p { font-size: .8rem; max-width: 12.4em; margin-bottom: 14px; }
  .hh__buttons { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hh__buttons .btn { min-height: 44px; padding: 8px 14px; font-size: .78rem; min-width: 172px; }
  .hh__photo { width: 78%; -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 46%); mask-image: linear-gradient(90deg, transparent 18%, #000 46%); }
  .hh__photo img { object-position: 55% 20%; }
  .hf { padding-block: 4px 44px; }
  .hf__item { font-size: .68rem; gap: 6px; padding-inline: 3px; }
  .hf__item svg { width: 32px; height: 32px; }
  .hs { padding-bottom: 54px; }
  .hs h2 { margin-bottom: 20px; }
  .hs__card { padding: 12px 4px 10px; gap: 6px; border-radius: 14px; }
  .hs__card > svg { width: 34px; height: 34px; }
  .hs__card strong { font-size: .7rem; }
  .hs__go { width: 26px; height: 26px; }
  .ha__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .ha__photo img { aspect-ratio: 1 / 1; border-radius: 22px; }
  .ha h2 { font-size: 1.2rem; margin-bottom: 8px; }
  .ha h2::after { width: 56px; height: 3px; margin-top: 7px; }
  .ha p { font-size: .76rem; margin-bottom: 10px; }
  .ha .btn { min-height: 42px; padding: 6px 14px; font-size: .78rem; }
  .hn__row { padding-block: 14px; }
  .hn__item span { font-size: .68rem; }
  .hc__grid, .hw__grid, .hd__grid { gap: 10px; }
  .hc__card { padding: 14px; }
  .hc__card svg { width: 34px; height: 34px; }
  .hc__card strong { font-size: .86rem; }
  .hc__card span { font-size: .76rem; }
  .ha--pad .ha__grid { grid-template-columns: minmax(0, 1fr); }
  .ha--pad h2, .hs--split h2 { font-size: 1.5rem; }
  .ha--pad p, .hs--split p, .ha--pad .ticks, .hs--split .ticks { font-size: .9rem; }
  .ha--pad .btn { min-height: 48px; font-size: .9rem; }
  .ha--pad .ha__photo img { aspect-ratio: 4 / 3; }
  .hw__card strong { font-size: .86rem; padding-inline: 10px; }
  .hw__date { padding-inline: 10px; }
  .hw__card > span:last-child { font-size: .74rem; padding-inline: 10px; }
  .hw__img { margin-bottom: 8px; }
  .hg__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hb__card { gap: 8px; padding: 16px 12px; border-radius: 20px; }
  .hb__icon svg { width: 36px; height: 36px; }
  .hb__card::after { width: 90px; height: 90px; top: -44px; right: -30px; }
  .hb h2 { font-size: .84rem; }
  .hb p { font-size: .7rem; }
  .hb .btn { min-height: 40px; padding: 6px 10px; font-size: .72rem; gap: 4px; }
  .hb .btn svg { width: 15px; height: 15px; }
}
