/* ============================================================
   Priory Children's Home — stylesheet
   White background; palette drawn from the logo
   (navy, teal, green, purple, gold)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --bg:           #FFFFFF;
  --card:         #FFFFFF;
  --tint:         #EEF3F8;   /* alt sections + inline wave SVGs */
  --mint:         #E9F3EF;   /* secondary alt section */
  /* logo colours */
  --navy:         #1C3C6D;
  --navy-d:       #14294C;
  --teal:         #2BA3B5;
  --teal-d:       #1B7C8A;
  --green:        #74AC46;
  --green-d:      #5C8C36;
  --purple:       #8C5CA4;
  --purple-d:     #6F4685;
  --gold:         #EFA928;
  --gold-d:       #C9871A;
  /* soft tints */
  --teal-s:       #DCEFF1;
  --green-s:      #E6F1DA;
  --purple-s:     #ECE2F1;
  --gold-s:       #FBEBCB;
  --navy-s:       #DDE5F0;
  /* ink */
  --ink:          #243245;
  --ink-soft:     #5A6675;
  --head:         #1C3C6D;
  /* utility */
  --line:         #E2E8F0;
  --hair:         rgba(28, 60, 109, 0.10);
  --r-xs:         12px;
  --r-s:          18px;
  --r-m:          24px;
  --r-l:          32px;
  --r-pill:       999px;
  --shadow-s:     0 1px 2px rgba(28,42,76,.05), 0 8px 22px rgba(28,42,76,.07);
  --shadow-m:     0 4px 10px rgba(28,42,76,.07), 0 26px 50px rgba(28,42,76,.15);
  --maxw:         1180px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Mulish", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--head);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.015em; }
p  { color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--cream  { background: var(--tint); }
.section--sage   { background: var(--mint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.18rem; line-height: 1.65; color: var(--ink-soft); }

/* skip link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 10px 10px;
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* visible focus */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  font-size: 0.97rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, #234A82, var(--navy));
  color: #fff;
  box-shadow: 0 8px 20px rgba(28, 60, 109, 0.32);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(28, 60, 109, 0.42); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 92px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav a {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-pill);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.site-nav a:not(.nav-cta):hover { background: var(--tint); }
.site-nav a[aria-current="page"] { color: var(--teal-d); }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 13px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: relative; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 4px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(38rem 30rem at 88% -10%, rgba(43, 163, 181, 0.20), transparent 60%),
    radial-gradient(32rem 28rem at 4% 6%, rgba(140, 92, 164, 0.14), transparent 58%),
    radial-gradient(40rem 32rem at -8% 112%, rgba(116, 172, 70, 0.18), transparent 60%),
    radial-gradient(30rem 26rem at 104% 104%, rgba(239, 169, 40, 0.18), transparent 58%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-copy .lead { margin-bottom: 2rem; max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-trust div strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: var(--teal-d);
}
.hero-trust div span { font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; }

.hero-art {
  position: relative;
  border-radius: var(--r-l);
  background: linear-gradient(155deg, var(--teal) 0%, var(--navy) 100%);
  padding: 1.5rem;
  box-shadow: var(--shadow-m);
}
.hero-art .art-card {
  background: var(--card);
  border-radius: var(--r-m);
  padding: 1.7rem;
}
.hero-art .art-illustration {
  border-radius: var(--r-s);
  background: linear-gradient(150deg, var(--teal-s), var(--purple-s));
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.hero-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--card);
  border-radius: var(--r-s);
  padding: 0.95rem 1.15rem;
  box-shadow: var(--shadow-m);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 240px;
}
.hero-badge .dot {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
}
.hero-badge p { font-size: 0.82rem; margin: 0; line-height: 1.45; }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(2.8rem, 6vw, 4.4rem); text-align: center; }
.page-hero .lead { margin-inline: auto; max-width: 600px; }
.crumbs {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal-d); }

/* ---------- Curved divider ---------- */
.wave { display: block; width: 100%; height: auto; margin-bottom: -1px; }
.wave path { fill: var(--tint); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 1.9rem;
  box-shadow: var(--shadow-s);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  background: var(--teal-s);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.99rem; }

/* value cards */
.value {
  background: var(--card);
  border-radius: var(--r-m);
  padding: 1.7rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  text-align: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.value .badge {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}
.value h3 { margin-bottom: 0.35rem; }
.value p { font-size: 0.93rem; }

/* split feature row */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media {
  border-radius: var(--r-l);
  background: linear-gradient(150deg, var(--teal-s), var(--gold-s) 52%, var(--green-s));
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-s);
}
.tick-list { list-style: none; padding: 0; margin-top: 1.3rem; }
.tick-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}
.tick-list li::before {
  content: "";
  width: 23px; height: 23px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5 5 9.5 10 3'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* facility cards */
.facility {
  display: flex;
  gap: 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 1.6rem;
  box-shadow: var(--shadow-s);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.facility:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.facility .ficon {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--green-s);
  display: grid; place-items: center;
}
.facility h3 { font-size: 1.16rem; margin-bottom: 0.3rem; }
.facility p { font-size: 0.94rem; }

/* steps */
.step { position: relative; padding-left: 3.6rem; }
.step .num {
  position: absolute;
  left: 0; top: 0;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--teal-s);
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.1rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(26rem 19rem at 8% 2%, rgba(43,163,181,.55), transparent 60%),
    radial-gradient(24rem 20rem at 102% 106%, rgba(116,172,70,.5), transparent 62%),
    radial-gradient(20rem 18rem at 96% 0%, rgba(239,169,40,.4), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-d));
  border-radius: var(--r-l);
  padding: clamp(2.6rem, 6vw, 4.2rem);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-m);
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: 0.94; max-width: 540px; margin: 0.7rem auto 1.8rem; }
.cta-band .btn-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.6rem;
  align-items: start;
}
.contact-info { display: grid; gap: 1rem; }
.contact-tile {
  display: flex;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 1.35rem;
  box-shadow: var(--shadow-s);
}
.contact-tile .ficon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 13px;
  background: var(--teal-s);
  display: grid; place-items: center;
}
.contact-tile h3 { font-size: 1.08rem; margin-bottom: 0.15rem; }
.contact-tile p, .contact-tile a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.contact-tile a { color: var(--navy); font-weight: 700; }
.contact-tile a:hover { text-decoration: underline; }

/* form */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-m);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.field label .req { color: var(--teal-d); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--tint);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease),
              box-shadow 0.16s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 163, 181, 0.16);
}
.field textarea { min-height: 135px; resize: vertical; }
.field .error-msg {
  display: none;
  color: #B23A2E;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.3rem;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #B23A2E; background: #fff; }
.field.invalid .error-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.6rem; }
.form-success {
  display: none;
  background: var(--green-s);
  border: 1.5px solid var(--green);
  border-radius: var(--r-xs);
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: #3C5A26;
  margin-bottom: 1.2rem;
}
.form-success.show { display: block; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; margin-bottom: 0.6rem; }
.prose h3 { margin-top: 1.4rem; margin-bottom: 0.4rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--teal-d); }

/* ---------- FAQ ---------- */
.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.5rem;
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--head);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "Mulish", sans-serif;
  font-size: 1.6rem;
  color: var(--teal);
  transition: transform 0.2s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.5rem 1.3rem; }
.faq .faq-body p { font-size: 0.97rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding-block: 3.4rem 1.7rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line);
}
.site-footer .brand-logo { height: 74px; }
.site-footer h4 {
  color: var(--head);
  font-family: "Mulish", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer p { color: var(--ink-soft); font-size: 0.94rem; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.16s var(--ease);
}
.footer-links a:hover { color: var(--teal-d); }
.footer-contact { display: grid; gap: 0.55rem; font-size: 0.94rem; }
.footer-contact a { color: var(--ink); text-decoration: none; }
.footer-contact a:hover { color: var(--teal-d); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.7rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.footer-bottom nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--ink-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal-d); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Colourful accents (logo palette rotation) ---------- */
.icon svg  { stroke: var(--teal); }
.ficon svg { stroke: var(--green); }

/* card icon tiles — five-colour rotation */
.grid .card:nth-child(5n+1) .icon { background: var(--teal-s); }
.grid .card:nth-child(5n+1) .icon svg { stroke: var(--teal); }
.grid .card:nth-child(5n+2) .icon { background: var(--green-s); }
.grid .card:nth-child(5n+2) .icon svg { stroke: var(--green); }
.grid .card:nth-child(5n+3) .icon { background: var(--purple-s); }
.grid .card:nth-child(5n+3) .icon svg { stroke: var(--purple); }
.grid .card:nth-child(5n+4) .icon { background: var(--gold-s); }
.grid .card:nth-child(5n+4) .icon svg { stroke: var(--gold-d); }
.grid .card:nth-child(5n+5) .icon { background: var(--navy-s); }
.grid .card:nth-child(5n+5) .icon svg { stroke: var(--navy); }

/* value badges */
.grid .value:nth-child(5n+1) .badge { background: var(--teal); }
.grid .value:nth-child(5n+2) .badge { background: var(--green); }
.grid .value:nth-child(5n+3) .badge { background: var(--purple); }
.grid .value:nth-child(5n+4) .badge { background: var(--gold); }
.grid .value:nth-child(5n+5) .badge { background: var(--navy); }

/* facility icon tiles */
.grid .facility:nth-child(5n+1) .ficon { background: var(--teal-s); }
.grid .facility:nth-child(5n+1) .ficon svg { stroke: var(--teal); }
.grid .facility:nth-child(5n+2) .ficon { background: var(--green-s); }
.grid .facility:nth-child(5n+2) .ficon svg { stroke: var(--green); }
.grid .facility:nth-child(5n+3) .ficon { background: var(--purple-s); }
.grid .facility:nth-child(5n+3) .ficon svg { stroke: var(--purple); }
.grid .facility:nth-child(5n+4) .ficon { background: var(--gold-s); }
.grid .facility:nth-child(5n+4) .ficon svg { stroke: var(--gold-d); }
.grid .facility:nth-child(5n+5) .ficon { background: var(--navy-s); }
.grid .facility:nth-child(5n+5) .ficon svg { stroke: var(--navy); }

/* step numbers — tinted circle, readable dark numeral */
.grid .step:nth-child(5n+1) .num { background: var(--teal-s); }
.grid .step:nth-child(5n+2) .num { background: var(--green-s); }
.grid .step:nth-child(5n+3) .num { background: var(--purple-s); }
.grid .step:nth-child(5n+4) .num { background: var(--gold-s); }
.grid .step:nth-child(5n+5) .num { background: var(--navy-s); }

/* contact tiles */
.contact-info .contact-tile:nth-child(4n+1) .ficon { background: var(--teal-s); }
.contact-info .contact-tile:nth-child(4n+1) .ficon svg { stroke: var(--teal); }
.contact-info .contact-tile:nth-child(4n+2) .ficon { background: var(--green-s); }
.contact-info .contact-tile:nth-child(4n+2) .ficon svg { stroke: var(--green); }
.contact-info .contact-tile:nth-child(4n+3) .ficon { background: var(--purple-s); }
.contact-info .contact-tile:nth-child(4n+3) .ficon svg { stroke: var(--purple); }
.contact-info .contact-tile:nth-child(4n+4) .ficon { background: var(--gold-s); }
.contact-info .contact-tile:nth-child(4n+4) .ficon svg { stroke: var(--gold-d); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .lead { max-width: 46ch; }
  .hero-art { max-width: 470px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .brand-logo { height: 64px; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-m);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 0.9rem; }
  .nav-cta { margin-left: 0; text-align: center; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .value:hover, .facility:hover { transform: none; }
}
