/* Kove International Secondary School — public site styles
   Palette taken from the crest: navy shield, cove-blue wave, white. */

:root {
  --navy: #01306f;
  --navy-deep: #00224f;
  --cove: #3399ff;
  --cove-soft: #a9d2ff;
  --ink: #0a1f44;
  --muted: #4a5b78;
  --tide: #eef5fd;
  --line: #d6e1ef;
  --white: #ffffff;
  --danger: #b42318;
  --ok: #0f7a4a;

  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--cove); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 300; color: var(--ink); max-width: 46ch; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1;
  border-radius: 999px; border: 1.5px solid var(--navy);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--tide); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--tide); border-color: var(--tide); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Announcement banner (managed in /admin) */
.kove-banner { background: var(--navy); color: var(--white); font-size: .95rem; }
.kove-banner .wrap { display: flex; align-items: center; gap: 16px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.kove-banner p { margin: 0; flex: 1; }
.kove-banner strong { font-weight: 600; }
.kove-banner a { color: var(--white); font-weight: 500; text-decoration: underline; white-space: nowrap; }
.kove-banner button { background: none; border: 0; color: var(--white); font-size: 1.4rem; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.kove-banner button:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 400; }
.nav a:not(.btn):hover { background: var(--tide); color: var(--navy); }
.nav a:not(.btn)[aria-current='page'] { color: var(--navy); font-weight: 550; }
.nav .btn { margin-left: 10px; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; height: 44px; padding: 0 16px; font: inherit; color: var(--navy); cursor: pointer; }

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(1,48,111,.08); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px 0 0; }
}

/* Hero (home) */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-art { align-self: end; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero-copy { position: relative; z-index: 2; padding-bottom: clamp(56px, 7vw, 96px); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--navy); margin-bottom: 28px; background: var(--white); }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cove); box-shadow: 0 0 0 4px rgba(51,153,255,.18); }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 32px; }
.hero-art { position: relative; margin: 0; }
.hero-art img {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%), linear-gradient(to top, transparent 0, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%), linear-gradient(to top, transparent 0, #000 18%);
  mask-composite: intersect;
}
.hero-art figcaption { position: absolute; right: var(--gutter); top: 0; font-size: .82rem; color: var(--muted); background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 999px; }

/* The wave: the one signature element, taken from the crest */
.wave { position: relative; z-index: 1; height: clamp(70px, 9vw, 130px); margin-top: calc(-1 * clamp(56px, 7vw, 96px)); pointer-events: none; }
.wave svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wave path { fill: none; stroke-linecap: round; }
.wave .w1 { stroke: var(--cove); stroke-width: 5; }
.wave .w2 { stroke: var(--navy); stroke-width: 1.5; opacity: .35; }
.wave.is-drawing path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.2s cubic-bezier(.6,.1,.2,1) .25s forwards; }
.wave.is-drawing .w2 { animation-delay: .55s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .hero-copy { padding-bottom: 8px; }
  .hero-art { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
  .wave { height: 60px; margin-top: -36px; }
}

/* Voucher strip: echoes the cut-out voucher on the fair flyer */
.voucher-band { background: var(--navy); color: var(--white); padding: clamp(28px, 4vw, 44px) 0; }
.voucher {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 48px);
  border: 2px dashed rgba(255,255,255,.45); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 30px) clamp(20px, 3.5vw, 40px);
}
.voucher-amount { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.voucher-amount small { display: block; font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--cove-soft); margin-top: 8px; }
.voucher h2 { color: var(--white); font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .3em; }
.voucher p { margin: 0; color: rgba(255,255,255,.85); font-weight: 300; }
.voucher .fine { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 8px; }
@media (max-width: 760px) { .voucher { grid-template-columns: 1fr; } }

/* Generic sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tide { background: var(--tide); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Why Kove */
.why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.why-list h3 { margin: 0; }
.why-list p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .why-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* Steps (a real sequence, so it is numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-weight: 600; margin-bottom: 18px; position: relative;
}
.steps li:last-child::before { background: var(--navy); color: var(--white); }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}

/* Story teaser */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-crest { justify-self: center; width: min(300px, 70%); }
.story-year { font-size: 1rem; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .story-crest { width: 160px; order: -1; justify-self: start; } }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.visit dl { margin: 0 0 28px; display: grid; gap: 16px; }
.visit dt { font-size: .9rem; color: var(--muted); }
.visit dd { margin: 2px 0 0; font-weight: 450; }
.map { border-radius: var(--radius-m); overflow: hidden; min-height: 360px; border: 1px solid var(--line); background: var(--tide); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Closing CTA */
.cta-band { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .25em; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; font-weight: 300; }
.cta-band .crest-mark { position: absolute; right: -60px; top: 50%; width: 340px; transform: translateY(-50%); opacity: .07; pointer-events: none; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: 56px 0 32px; font-size: .96rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px; }
.footer-grid img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-grid h2 { color: var(--white); font-size: 1rem; font-weight: 550; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid ul a { text-decoration: none; }
.footer-grid li { overflow-wrap: anywhere; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.62); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Inner page heading */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 16ch; }

/* About: timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.timeline li { padding: 24px 28px 0 0; position: relative; }
.timeline li::before { content: ''; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); }
.timeline li:last-child::before { background: var(--cove); border-color: var(--cove); }
.timeline .when { font-size: 1.6rem; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); padding-left: 24px; gap: 28px; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -33px; top: 10px; }
}

/* About: crest explained */
.crest-explain { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.crest-explain img { width: min(340px, 100%); justify-self: center; }
.crest-parts { margin: 0; display: grid; gap: 22px; }
.crest-parts dt { font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.crest-parts dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 760px) { .crest-explain { grid-template-columns: 1fr; } .crest-explain img { width: 180px; justify-self: start; } }

.prose-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.prose-cols h3 { margin-bottom: .4em; }
.prose-cols p { color: var(--muted); }
@media (max-width: 860px) { .prose-cols { grid-template-columns: 1fr; } }

.figure-wide { margin: 0; }
.figure-wide img { width: 100%; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--white); }
.figure-wide figcaption { font-size: .9rem; color: var(--muted); margin-top: 12px; }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Register page */
.register-layout {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 88px); row-gap: 8px;
  grid-template-areas: 'aside main' 'next main' 'rest main'; grid-template-rows: auto auto 1fr;
  align-items: start; padding-bottom: clamp(64px, 8vw, 110px);
}
.register-aside { grid-area: aside; }
.register-main { grid-area: main; }
.register-next { grid-area: next; }
.register-aside h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.register-aside .voucher-note { margin-top: 8px; }
.next-steps { padding-left: 1.2em; margin: 0 0 20px; color: var(--muted); }
.next-steps li { margin-bottom: 8px; padding-left: 4px; }
.next-steps li::marker { color: var(--navy); font-weight: 600; }
.voucher-note { border: 2px dashed var(--cove); border-radius: var(--radius-m); padding: 18px 20px; background: var(--tide); font-size: .96rem; }
.voucher-note strong { color: var(--navy); font-weight: 600; }
.voucher-note p { margin: 0; }
@media (max-width: 960px) {
  .register-layout { grid-template-columns: 1fr; grid-template-areas: 'aside' 'main' 'next'; grid-template-rows: auto; row-gap: 32px; }
}

.form { display: grid; gap: 40px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.form legend { font-size: 1.3rem; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; padding: 0; margin-bottom: 18px; }
.form .hint { font-size: .9rem; color: var(--muted); margin-top: -10px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 450; font-size: .98rem; }
.field .optional { color: var(--muted); font-weight: 300; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

input[type='text'], input[type='search'], input[type='email'], input[type='tel'], input[type='date'], input[type='password'], input[type='url'],
input[type='number'], input[type='datetime-local'], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c8dc; border-radius: var(--radius-s);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2301306f' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(51,153,255,.25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .9rem; }

.choice-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-tiles label { position: relative; display: block; border: 1.5px solid #b9c8dc; border-radius: var(--radius-m); padding: 16px 16px 16px 48px; cursor: pointer; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.choice-tiles label:hover { border-color: var(--navy); }
.choice-tiles input { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.choice-tiles strong { display: block; font-weight: 550; color: var(--navy); }
.choice-tiles span { font-size: .88rem; color: var(--muted); }
.choice-tiles label:has(input:checked) { border-color: var(--navy); background: var(--tide); box-shadow: inset 0 0 0 1px var(--navy); }
@media (max-width: 680px) { .choice-tiles { grid-template-columns: 1fr; } }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }

.child-card { border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: 20px; display: grid; gap: 16px; }
.child-card header { display: flex; justify-content: space-between; align-items: center; }
.child-card h3 { margin: 0; font-size: 1.05rem; }
.link-btn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .95rem; color: var(--navy); text-decoration: underline; cursor: pointer; }
.add-child { justify-self: start; }

.form-actions { display: grid; gap: 14px; justify-items: start; }
.form-status { border-radius: var(--radius-s); padding: 14px 16px; font-size: .96rem; }
.form-status.is-error { background: #fdecea; color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success-panel { border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: clamp(28px, 4vw, 44px); }
.success-panel h2 { margin-bottom: .3em; }
.ref-code { display: inline-block; font-size: 1.5rem; font-weight: 600; letter-spacing: .06em; color: var(--navy); background: var(--tide); border-radius: var(--radius-s); padding: 8px 16px; margin: 8px 0 20px; }

/* Popup (managed in /admin) */
.kove-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 18px; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 34, 79, .35); overflow: auto; }
.kove-modal::backdrop { background: rgba(0, 34, 79, .55); }
.kove-modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.kove-modal img { width: 100%; max-height: 300px; object-fit: cover; }
.kove-modal .modal-body { padding: 28px 28px 26px; }
.kove-modal h2 { font-size: 1.55rem; margin-bottom: .45em; }
.kove-modal p { color: var(--muted); }
.kove-modal .btn-row { margin-top: 20px; }
.kove-modal .modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.kove-modal .modal-close:hover { background: var(--white); }

/* Simple text pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wave.is-drawing path { stroke-dashoffset: 0; }
}
.steps-cta { margin-top: 40px; }
.h3 { font-size: 1.15rem; font-weight: 600; margin: 32px 0 12px; }
.contact-line { margin-top: 24px; font-size: .96rem; }
.section-flush-top { padding-top: 0; }
.section-404 { min-height: 55vh; }
.children { display: grid; gap: 16px; }

/* About: why we started */
.story-why { margin-bottom: clamp(40px, 6vw, 64px); }
.story-why p { color: var(--muted); }

/* About: banner content */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--cove); margin-bottom: 10px; }
.eyebrow-light { color: var(--cove-soft); margin-top: 18px; }
.about-head h1 { max-width: 14ch; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m, 16px); padding: clamp(22px, 3vw, 32px); }
.why-card svg { color: var(--navy); margin-bottom: 12px; }
.why-card h3 { color: var(--navy); margin-bottom: .35em; }
.why-card p { color: var(--muted); margin: 0; }
.why-closing { text-align: center; color: var(--navy); font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin: clamp(36px, 5vw, 56px) auto 0; max-width: 34ch; }
.intake-pill { display: inline-block; background: #f5b731; color: var(--navy-deep); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; padding: 8px 18px; border-radius: 999px; margin: 0 0 4px; }
.find-us { margin-top: 10px !important; line-height: 1.7; }
.find-us a { color: #f5b731; font-weight: 600; text-decoration: none; }
.find-us a + br + a { color: var(--white); font-weight: 400; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.cta-band .intake-pill { color: var(--navy-deep); font-weight: 700; }

/* Site-wide "coming soon" strip */
.soon-bar { background: var(--navy); color: rgba(255,255,255,.9); font-size: .86rem; line-height: 1.4; }
.soon-bar .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.soon-bar strong { color: #f5b731; font-weight: 600; letter-spacing: .02em; }
.soon-bar a { color: var(--white); font-weight: 600; margin-left: 10px; text-underline-offset: 3px; }
.soon-dot { width: 7px; height: 7px; border-radius: 50%; background: #f5b731; box-shadow: 0 0 0 3px rgba(245,183,49,.25); margin-right: 4px; }
@media (max-width: 520px) { .soon-bar a { margin-left: 4px; } }

/* ---- Mobile polish ---- */
/* .page-head's padding shorthand was wiping the side gutter on pages that combine it with .wrap */
.wrap.page-head { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (max-width: 860px) {
  .hero-art figcaption { left: var(--gutter); right: var(--gutter); top: -8px; text-align: center; }
}
@media (max-width: 600px) {
  .soon-bar { font-size: .78rem; }
  .soon-bar .wrap { flex-wrap: nowrap; white-space: nowrap; padding-top: 7px; padding-bottom: 7px; }
  .soon-long, .pill-long { display: none; }
  .soon-bar a { margin-left: 8px; }
  .section { padding: 52px 0; }
  .page-head { padding-top: 36px; padding-bottom: 28px; }
  .cta-band { padding: 48px 0; }
  .status-pill { margin-bottom: 20px; }
}
@media (max-width: 380px) {
  .soon-dot { display: none; }
  .soon-bar { font-size: .72rem; }
  .soon-bar .wrap { gap: 4px; padding-left: 12px; padding-right: 12px; }
  .soon-bar a { margin-left: 4px; }
}
