/* =====================================================================
   Design tokens – "Stone & Sage"
   Change colours / fonts here; every page and component reads from these.
   ===================================================================== */
:root {
  /* Brand palette */
  --stone: #F4F1EA;        /* main background */
  --sage: #465846;         /* headings, primary button, accents */
  --sage-light: #BAC3AE;   /* secondary surfaces, fine details */
  --ink: #272B25;          /* body text, navigation */

  /* Derived tones (tints / shades of the palette) */
  --stone-deep: #ECE7DC;   /* alternate section background */
  --stone-white: #FAF8F3;  /* cards, raised surfaces */
  --sage-dark: #374737;    /* primary button hover, footer */
  --sage-mist: #E2E6DA;    /* very light sage surface */
  --muted: #555B51;        /* secondary text (≈6.4:1 on stone) */
  --line: rgba(39, 43, 37, .14);
  --line-strong: rgba(70, 88, 70, .35);
  --wa: #1f8f4e;           /* WhatsApp floating button only */

  /* Typography */
  --font-display: "Frank Ruhl Libre", "David", "Times New Roman", serif;
  --font-body: "Heebo", "Segoe UI", Arial, sans-serif;

  /* Shape & rhythm */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -24px rgba(39, 43, 37, .35);
  --container: 1160px;
  --fs-base: 1.0625rem;

  /* Subtle stone grain (SVG noise) – used sparingly */
  --stone-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .25 0 0 0 0 .22 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  background: var(--stone);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sage); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; color: var(--sage); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { color: var(--sage); font-weight: 600; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; right: 12px; z-index: 1000; background: var(--sage); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.center { text-align: center; margin-top: 2.75rem; }
.muted { color: var(--muted); font-size: .95em; }
.nowrap { white-space: nowrap; }
@media (max-width: 479px) { .hide-mobile { display: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  color: var(--sage); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.script-title { /* section titles (class name kept for existing markup) */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -.005em;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .lead { margin-inline: auto; }
.section-head .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.section { padding: 88px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 120px 0; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .75em 1.8em;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 1.02rem/1.2 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-primary { background: var(--sage); color: var(--stone); box-shadow: 0 12px 26px -14px rgba(55, 71, 55, .7); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sage); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--sage-mist); border-color: var(--sage); }
.btn-waze { background: #33ccff; color: #08283a; }
.btn-waze:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { min-height: 58px; font-size: 1.08rem; padding-inline: 2.1em; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header { background: rgba(244, 241, 234, .88); backdrop-filter: blur(8px); } /* stays readable over the hero video */
.site-header.scrolled, .nav-open { background: rgba(244, 241, 234, .95); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--sage); }
.brand-lotus { width: 34px; height: 26px; color: var(--sage); }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1; letter-spacing: .01em; color: var(--ink); }

.nav-toggle { width: 46px; height: 46px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 72px 0 auto 0;
  background: var(--stone); box-shadow: 0 24px 30px -24px rgba(0,0,0,.25);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 20px 24px; }
.site-nav a { display: block; padding: 14px 4px; color: var(--ink); text-decoration: none; font-weight: 400; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.site-nav .nav-cta { margin-top: 16px; border: 0; background: var(--sage); color: var(--stone); text-align: center; border-radius: 999px; font-weight: 500; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; visibility: visible; opacity: 1; transform: none; background: none; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 6px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 14px; font-size: .98rem; color: var(--ink); position: relative; }
  .site-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
  .site-nav a:hover::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0 10px 0 0; padding: 10px 24px; }
  .site-nav .nav-cta:hover { background: var(--sage-dark); }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--stone);
  padding: 104px 0 56px;
}
.hero::before { /* stone grain, hero only */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--stone-grain); opacity: .22; mix-blend-mode: multiply; pointer-events: none;
}
.hero::after { /* soft sage-light shape behind the photo */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  left: -180px; bottom: -160px;
  background: radial-gradient(circle, rgba(186,195,174,.55) 0%, rgba(186,195,174,0) 68%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 3.9rem); line-height: 1.12; letter-spacing: -.01em;
  text-wrap: balance; /* wraps naturally by width, without leaving a single word alone */
  color: var(--sage); margin-bottom: .45em;
}
.hero-lead { font-size: 1.12rem; line-height: 1.85; color: var(--ink); max-width: 33em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-primary { min-height: 58px; padding-inline: 2.3em; font-size: 1.1rem; }

/* Wide background video: no frame – on desktop it fills the left part of the hero and fades into the
   stone background behind the text; on mobile it is a full-width band under the text. */
.hero-bg { position: relative; overflow: hidden; background: var(--sage-mist); }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { z-index: 0; object-position: 50% 28%; }
/* video sits above the photo but stays transparent until it has really started playing */
.hero-video { z-index: 1; opacity: 0; transition: opacity .8s ease; object-position: 50% 50%; }
.hero-bg.has-video .hero-video { opacity: 1; }
.video-toggle {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75);
  background: rgba(39,43,37,.5); color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .2s, transform .2s;
}
.video-toggle:hover { background: rgba(39,43,37,.75); transform: scale(1.05); }
.video-toggle[hidden] { display: none; }
.video-toggle svg { width: 17px; height: 17px; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; margin-inline-start: 2px; }

/* Mobile: text → buttons → full-bleed video band that fades in from the stone above */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; padding-bottom: 0; }
  .hero-grid { order: 1; }
  .hero-bg {
    order: 2; margin-top: 36px; height: min(78vw, 440px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }
  .hero-actions .btn-primary { flex: 1 1 100%; }
  .hero-actions .btn-ghost { flex: 1 1 100%; }
  /* centred, so it never sits under the floating WhatsApp / accessibility buttons */
  .video-toggle { left: 50%; transform: translateX(-50%); }
  .video-toggle:hover { transform: translateX(-50%) scale(1.05); }
}
@media (min-width: 900px) {
  .hero { min-height: 92vh; display: flex; align-items: center; padding: 120px 0 80px; }
  .hero::after { display: none; }
  .hero-bg {
    position: absolute; inset: 0 auto 0 0; width: 62%; z-index: -1;
    -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 100%);
            mask-image: linear-gradient(to right, #000 45%, transparent 100%);
  }
  .hero-text { max-width: 520px; }
  .video-toggle { left: 96px; bottom: 24px; } /* clear of the floating WhatsApp button */
}

/* ===== Treatments ===== */
.treatments { background: var(--stone-deep); }
.cards { display: grid; gap: 18px; }
.card {
  background: var(--stone-white); border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-light); }
.card-icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--sage-mist); color: var(--sage); margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.extras-title { text-align: center; font-size: 1.35rem; margin: 3rem 0 1.2rem; color: var(--sage); }
.card-sm { display: flex; gap: 18px; align-items: flex-start; padding: 22px 22px; }
.card-sm .card-icon { margin: 0; flex: none; width: 46px; height: 46px; padding: 11px; }
.card-sm h3 { font-size: 1.18rem; margin-bottom: .2em; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cards-extra { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
}

/* ===== First visit ===== */
.first-visit { background: var(--stone); }
.visit-grid { display: grid; gap: 48px; align-items: center; }
.visit-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.step-num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: var(--stone);
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem;
}
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }
.visit-note {
  margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: var(--sage-mist); color: var(--ink); line-height: 1.75;
}
@media (max-width: 899px) { .visit-image { max-width: 460px; margin-inline: auto; width: 100%; } .visit-image img { aspect-ratio: 4/3.4; } }
@media (min-width: 900px) { .visit-grid { grid-template-columns: .85fr 1.15fr; gap: 88px; } }

/* ===== About ===== */
.about { background: var(--stone-white); border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo { margin: 0 auto; position: relative; width: min(320px, 80vw); }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--sage-mist); }
.arch img { width: 100%; aspect-ratio: 372 / 560; object-fit: cover; }
.about-photo::before {
  content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--line-strong);
  border-radius: 999px 999px 22px 22px; z-index: 0; pointer-events: none;
}
.about-lotus { position: absolute; width: 78px; height: 60px; bottom: -24px; right: -16px; color: var(--sage); background: var(--stone-white); border: 1px solid var(--line); border-radius: 50%; padding: 14px; }
.about-quote { margin: 0 0 1.2rem; }
.about-quote p { font-family: var(--font-display); font-size: clamp(1.8rem, 5.5vw, 2.5rem); line-height: 1.25; color: var(--sage); margin: 0; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.25fr; gap: 96px; }
  .about-photo { width: 350px; }
}

/* Professional certification line (about) */
.pro-cert {
  display: flex; align-items: center; gap: .7rem; margin: 1.6rem 0 0;
  font-weight: 500; color: var(--sage); font-size: 1.02rem; line-height: 1.5;
}
.pro-cert svg { width: 30px; height: 24px; flex: none; color: var(--sage); }

/* ===== Clinic gallery ===== */
.gallery { background: var(--stone); }
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g-item { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: var(--sage-mist); }
.g-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.04); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(39, 43, 37, .9); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 12px; width: auto; background: var(--stone-white); }
.lightbox-close {
  position: absolute; top: -14px; left: -10px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--stone); color: var(--sage); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ===== Education (below the gallery) ===== */
.education { background: var(--stone-white); border-top: 1px solid var(--line); }
.degrees { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; max-width: 820px; }
.degree {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; text-align: right;
  background: var(--stone); border: 1px solid var(--sage-light); border-radius: var(--radius-lg);
  padding: 26px 26px 26px 92px; /* room for the tag in the top-left corner */
}
.degree-tag {
  position: absolute; top: 18px; left: 18px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--sage);
  background: var(--sage-mist); border-radius: 999px; padding: .2rem .7rem; unicode-bidi: isolate;
}
.degree-type { font-size: .95rem; color: var(--muted); }
.degree-field { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage); line-height: 1.3; }
@media (min-width: 640px) { .degrees { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ===== Location + booking ===== */
.contact { background-color: var(--sage); color: var(--stone); overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--stone-grain); opacity: .12; mix-blend-mode: overlay; }
.contact::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; z-index: -1;
  border: 1px solid rgba(186,195,174,.3); top: -280px; left: -160px;
}
.contact-grid { display: grid; gap: 40px; align-items: center; }
.contact-lotus { width: 56px; height: 44px; color: var(--sage-light); margin-bottom: 10px; }
.contact .eyebrow { color: var(--sage-light); }
.contact .script-title { color: var(--stone); font-size: clamp(2.3rem, 7vw, 3.2rem); }
.address { font-style: normal; font-family: var(--font-display); font-size: 1.5rem; color: var(--stone); margin-bottom: .6rem; }
.contact .lead { color: var(--sage-mist); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.contact .btn-primary { background: var(--stone); color: var(--sage-dark); }
.contact .btn-primary:hover { background: #fff; }
.contact .btn-ghost { color: var(--stone); border-color: rgba(244,241,234,.5); }
.contact .btn-ghost:hover { background: rgba(244,241,234,.12); border-color: var(--stone); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(244,241,234,.25); aspect-ratio: 4/3; background: var(--sage-dark); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }
@media (max-width: 639px) { .contact-actions .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--sage-light); padding: 36px 0 104px; font-size: .95rem; text-align: center; }
.site-footer p { margin: .35em 0; }
.site-footer a { color: var(--stone); }
.footer-brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-display); color: var(--stone); font-size: 1.05rem; }
.footer-brand svg { width: 28px; height: 22px; color: var(--sage-light); }
.footer-links span { margin: 0 .5em; }
.footer-copy { opacity: .75; font-size: .85rem; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ===== Accessibility widget ===== */
.a11y { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; }
.a11y-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff;
  background: #1d4e89; color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.45);
}
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-panel {
  position: absolute; right: 0; bottom: 64px; width: min(290px, calc(100vw - 36px));
  background: #fff; color: #1a1a1a; border-radius: 14px; padding: 14px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); display: grid; gap: 8px;
  font-family: Arial, sans-serif; font-size: 16px; line-height: 1.4;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.a11y-head strong { font-size: 18px; color: #1d4e89; }
.a11y-close { width: 36px; height: 36px; border: 0; background: #eee; border-radius: 50%; font-size: 22px; cursor: pointer; }
.a11y-row { display: flex; align-items: center; gap: 8px; }
.a11y-row span { flex: 1; }
.a11y-row button { width: 48px; height: 40px; border: 1px solid #ccc; background: #f5f5f5; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; }
.a11y-opt, .a11y-reset {
  width: 100%; text-align: start; padding: 10px 12px; border: 1px solid #d0d0d0; border-radius: 8px;
  background: #f7f7f7; font-size: 16px; cursor: pointer; color: #1a1a1a;
}
.a11y-opt[aria-pressed="true"] { background: #1d4e89; color: #fff; border-color: #1d4e89; }
.a11y-reset { background: #fff; text-align: center; }
.a11y-statement { text-align: center; color: #1d4e89; font-weight: 700; padding: 6px; }

/* Accessibility modes (applied on <html>) */
html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast body *:not(svg):not(path):not(use):not(g):not(circle):not(img):not(video):not(.a11y-panel):not(.a11y-panel *) {
  background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #ff0 !important; }
html.a11y-contrast .hero::before, html.a11y-contrast .hero::after, html.a11y-contrast .contact::before { display: none; }
html.a11y-readable .about-quote p { font-family: Arial, sans-serif !important; }
html.a11y-grayscale body > *:not(.a11y) { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3,
html.a11y-readable .script-title, html.a11y-readable .brand-name, html.a11y-readable .quote-band, html.a11y-readable .hero-quote { font-family: Arial, sans-serif !important; letter-spacing: .02em; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M4 2l28 16-12 3 7 13-5 3-7-13-9 8z' fill='black' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ===== Reveal on scroll ===== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Accessibility statement page ===== */
.page-simple { padding: 120px 0 60px; }
.page-simple .container { max-width: 820px; }
.page-simple h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
.page-simple h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.page-simple ul { padding-inline-start: 1.3rem; }
.page-simple-header { background: var(--stone); box-shadow: 0 1px 0 var(--line); }
.back-link { font-weight: 500; text-decoration: none; }
