/* ==========================================================================
   Nikki Mitchell LLC
   Locked palette (July 2026), Poppins, accessibility-first.
   ========================================================================== */

:root {
  /* Brand */
  --oxford:     #0A2342;
  --navy:       #1B2A57;
  --indigo:     #43559F;
  --periwinkle: #7B8CD1;
  --ocean:      #2A5B9A;
  --sky:        #74A9DE;
  --teal:       #3E9AA8;   /* accent only, used sparingly */
  --teal-deep:  #2E7C88;   /* same hue, darkened so white text passes AA */
  --ink:        #1C1E1E;

  /* Neutrals derived from the blues */
  --paper:      #FFFFFF;
  --mist:       #F5F8FD;
  --haze:       #EAF1FA;
  --edge:       #D8E4F3;
  --body:       #33415C;
  --muted:      #5A6B87;
  --on-dark:    #CEE2F4;

  /* Shape */
  --r-sm: 14px;
  --r:    22px;
  --r-lg: 28px;
  --r-xl: 40px;      /* full-width colour blocks */
  --r-pill: 999px;

  /* Elevation — soft, low contrast, no hard drop shadows */
  --shadow-1: 0 2px 10px rgba(10, 35, 66, .05);
  --shadow-2: 0 10px 30px rgba(10, 35, 66, .08);
  --shadow-3: 0 20px 50px rgba(10, 35, 66, .12);

  /* Rhythm */
  --section: clamp(4.5rem, 9vw, 8rem);
  --gutter:  clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1180px;
  --readw: 68ch;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;          /* 17px base — easier reading */
  line-height: 1.75;             /* generous for dyslexic readers */
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--oxford);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.15em; max-width: var(--readw); }
p:last-child { margin-bottom: 0; }

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

/* Keyboard focus must always be obvious */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--oxford); color: #fff;
  padding: .9rem 1.4rem; border-radius: 0 0 var(--r-sm) 0;
  z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; }

/* ------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* A section built to land inside one screen, so the reader takes in one idea
   at a time. Done by capping the artwork against the viewport height rather
   than by shrinking text, which would cost more in readability than it gains. */
.section--screen { padding-block: clamp(1.5rem, 3.5vh, 3rem); }
.section--screen .wrap { max-width: 1460px; }   /* wider than the text pages */
.section--screen .figure { background: none; box-shadow: none; }
.section--screen .figure img {
  max-height: min(72vh, 880px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}
.section--screen .lede {
  font-size: clamp(.95rem, 1.35vw, 1.06rem);
  margin-top: .9rem;
  max-width: 78ch;
}

/* Every colour block is a rounded card, not a hard-edged band */
.section--mist,
.section--haze {
  border-radius: var(--r-xl);
  margin-inline: clamp(0px, 2.2vw, 26px);
}
.section--mist { background: var(--mist); }
.section--haze { background: var(--haze); }

/* Consecutive tinted blocks sit close without their radii colliding */
.section--mist + .section--haze,
.section--haze + .section--mist,
.section--mist + .section--mist,
.section--haze + .section--haze { margin-top: clamp(.5rem, 1.5vw, 1rem); }

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}

.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(42, 91, 154, .09);
  border: 2px solid rgba(42, 91, 154, .38);   /* defined edge, as on the buttons */
  padding: .5rem 1.15rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.4rem;
}
/* Matched to the outline button: solid sky border, tinted fill, white text.
   The faint white wash it replaced barely separated from the hero gradient. */
.eyebrow--light {
  color: #fff;
  background: rgba(116,169,222,.22);
  border: 2px solid var(--sky);
  padding: .55rem 1.25rem;
}

/* Five cards do not divide neatly into a grid, so the pathway row flows and
   centres instead: three across, then two centred beneath. */
.grid--flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid--flow > * { flex: 1 1 290px; max-width: 360px; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;      /* label sits centred, never left-hugging */
  text-align: center;
  gap: .55rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;          /* stops the label wrapping into a fat oval */
  padding: .95rem 1.9rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--ocean); color: #fff; box-shadow: var(--shadow-2); }
.btn--primary:hover { background: var(--indigo); color: #fff; box-shadow: var(--shadow-3); }

.btn--ghost { background: transparent; color: var(--oxford); border-color: var(--edge); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ocean); color: var(--ocean); }

.btn--light {
  background: #fff;
  color: var(--oxford);
  border-color: var(--ocean);          /* blue edge on the white pills */
  box-shadow: var(--shadow-2);
}
.btn--light:hover { background: var(--on-dark); color: var(--oxford); border-color: var(--oxford); }

/* Secondary button on dark. Tinted fill plus a solid sky border so it reads
   as a distinct object against the navy rather than a faint outline. */
.btn--outline-light {
  background: rgba(116,169,222,.22);
  color: #fff;
  border-color: var(--sky);
}
.btn--outline-light:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--oxford);
}

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

/* --------------------------------------------------------------- nav --- */

/* This bar is where most visitors make their first choice, so it is
   deliberately taller, heavier and higher contrast than a typical site header. */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--edge);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--sky); box-shadow: var(--shadow-2); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 94px;
}

.nav__brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.nav__brand img { width: 54px; height: 54px; object-fit: contain; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-name { font-weight: 700; color: var(--oxford); font-size: 1.25rem; }
.nav__brand-sub {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block;
  padding: .7rem 1.15rem;
  border-radius: var(--r-pill);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;      /* "Families & Children" stays on one line */
  text-align: center;
  color: var(--oxford);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nav__links a:hover { background: var(--haze); color: var(--ocean); }
.nav__links a[aria-current="page"] {
  background: var(--ocean);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-1);
}
.nav__links a[aria-current="page"]:hover { background: var(--indigo); color: #fff; }
.nav__links .btn { margin-left: .7rem; padding: .82rem 1.6rem; font-size: 1.02rem; font-weight: 700; }
/* The generic .nav__links a rule was out-specifying .btn--primary and forcing
   dark text onto the blue fill. This puts the white back. */
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover { color: #fff; font-weight: 600; }
.nav__links .btn:hover { background: var(--indigo); color: #fff; }

/* Keep the pill row on screen as long as possible: first tighten the pills,
   then shorten the longest label, and only then fall back to the menu button. */
@media (max-width: 1400px) {
  .nav__inner { gap: 1rem; }
  .nav__links a { padding: .62rem .88rem; font-size: 1rem; }
  .nav__links .btn { margin-left: .45rem; padding: .74rem 1.25rem; font-size: .98rem; }
}
@media (max-width: 1280px) {
  .nav__trim { display: none; }
}
@media (max-width: 1080px) {
  .nav__inner { min-height: 84px; }
  .nav__links a { padding: .55rem .7rem; font-size: .94rem; }
  .nav__brand img { width: 46px; height: 46px; }
  .nav__brand-name { font-size: 1.1rem; }
  .nav__brand-sub { display: none; }
}

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: .6rem; border-radius: var(--r-sm);
  color: var(--oxford);
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Last resort. Everything above has already been tried to keep the pills visible. */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__brand-sub { display: block; }
  .nav__trim { display: inline; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: #fff;
    padding: 1rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--edge);
    box-shadow: var(--shadow-2);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem 1rem; font-size: 1.02rem; }
  .nav__links .btn { margin: .5rem 0 0; justify-content: center; }
}

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: linear-gradient(150deg, var(--oxford) 0%, var(--navy) 42%, var(--indigo) 100%);
  color: #fff;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
  border-radius: var(--r-xl);          /* rounded on all four corners */
  margin-inline: clamp(0px, 2.2vw, 26px);
  margin-top: clamp(.5rem, 1.5vw, 1rem);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px;
  top: -230px; right: -180px;
  background: radial-gradient(circle, rgba(116,169,222,.30) 0%, transparent 68%);
}
.hero::after {
  width: 480px; height: 480px;
  bottom: -220px; left: -160px;
  background: radial-gradient(circle, rgba(62,154,168,.22) 0%, transparent 68%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero p { color: var(--on-dark); font-size: clamp(1.05rem, 1.8vw, 1.22rem); }
.hero .accent { color: var(--sky); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 260px; margin-inline: auto; }
}

.hero__art {
  background: rgba(255,255,255,.94);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-3);
}

/* Page hero — shorter variant for interior pages */
.hero--page { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero--page h1 { max-width: 20ch; }

.crumbs {
  font-size: .85rem;
  color: rgba(206,226,244,.75);
  margin-bottom: 1.2rem;
}
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------- card -- */

.card {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

a.card, .card--link { text-decoration: none; display: block; }
a.card:hover, .card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--sky);
}

.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--haze);
  color: var(--ocean);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }

.card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.1rem;
  font-weight: 600; font-size: .95rem; color: var(--ocean);
}
a.card:hover .card__more { gap: .75rem; }
.card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }

.card--soft { background: var(--mist); border-color: transparent; }
.card--dark {
  background: linear-gradient(150deg, var(--oxford), var(--indigo));
  border-color: transparent; color: var(--on-dark);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark); }

/* Pathway cards on the home page */
.pathway { position: relative; overflow: hidden; }
.pathway::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--ocean), var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.pathway:hover::after { transform: scaleX(1); }

/* -------------------------------------------------------------- lists -- */

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .8rem;
  max-width: var(--readw);
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(116,169,222,.2);
}
.ticks--light li { color: var(--on-dark); }
.ticks--light li::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(62,154,168,.25); }

/* --------------------------------------------------------- method 3-up -- */

.steps { counter-reset: step; }
.step { position: relative; }
/* Step 1 was ocean and step 2 indigo, which sat at 1.01:1 against each other
   and read as the same colour. Now navy -> ocean -> deep teal, each clearly
   distinct and each passing white-text contrast. */
.step__num {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);          /* 13.86:1 with white */
  color: #fff;
  font-weight: 700; font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.step:nth-child(2) .step__num { background: var(--ocean); }      /* 6.86:1 */
.step:nth-child(3) .step__num { background: var(--teal-deep); }  /* 4.82:1 */

/* --------------------------------------------------------- credentials -- */

.creds {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .7rem;
}
.cred {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r-pill);
  padding: .6rem 1.25rem;
  font-size: .92rem; font-weight: 500; color: var(--oxford);
  box-shadow: var(--shadow-1);
}
.cred strong { font-weight: 700; }

/* ------------------------------------------------------------- quotes -- */

.quote {
  background: #fff;
  border: 1px solid var(--edge);
  border-left: 4px solid var(--sky);
  border-radius: var(--r-sm);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-1);
}
.quote p { font-size: 1.02rem; color: var(--body); font-style: italic; }
.quote cite {
  display: block; margin-top: 1rem;
  font-style: normal; font-size: .88rem; font-weight: 600; color: var(--oxford);
}
.quote cite span { display: block; font-weight: 400; color: var(--muted); }

/* ------------------------------------------------------------- banner -- */

.band {
  background: linear-gradient(140deg, var(--oxford), var(--indigo) 85%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; width: 420px; height: 420px;
  top: -180px; right: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(116,169,222,.28), transparent 70%);
}
.band > * { position: relative; }
.band h2 { color: #fff; }
.band p { color: var(--on-dark); margin-inline: auto; }

/* Left-aligned variant, used for the in-school feature block */
.band--left { text-align: left; }
.band--left p { margin-inline: 0; }
.band--left .split { align-items: center; }
.band--left h2 { max-width: 18ch; }

/* ---------------------------------------------------------- accordion -- */

.acc { border: 1px solid var(--edge); border-radius: var(--r); background: #fff; overflow: hidden; }
.acc + .acc { margin-top: .9rem; }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.04rem; font-weight: 600; color: var(--oxford);
  text-align: left;
  padding: 1.25rem clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.45;
}
.acc__btn:hover { background: var(--mist); }
.acc__btn svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--ocean); transition: transform .25s ease; }
.acc__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc__panel { display: none; padding: 0 clamp(1.2rem, 3vw, 1.7rem) 1.5rem; }
.acc__panel.is-open { display: block; }
.acc__panel p { color: var(--muted); }

/* --------------------------------------------------------------- form -- */

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--oxford); }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--body);
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(42,91,154,.14);
  outline: none;
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ image holders -- */

.figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--haze);
}
.figure img { width: 100%; object-fit: cover; }

/* Placeholder for photographs Nikki will supply */
.photo-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 2px dashed var(--edge);
  background: linear-gradient(135deg, var(--mist), var(--haze));
  display: grid; place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}
.photo-slot svg { width: 34px; height: 34px; margin: 0 auto .7rem; color: var(--sky); display: block; }
.photo-slot--tall { aspect-ratio: 3 / 4; }
.photo-slot--wide { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------- footer -- */

.footer {
  background: var(--oxford);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-inline: clamp(0px, 2.2vw, 26px);
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
}
.footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6rem; font-size: .95rem; }
.footer p { font-size: .95rem; color: var(--on-dark); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* The emblem has a transparent background, so against the navy footer the
   children's dark linework dropped out of sight. A light tile brings them back
   without recolouring the artwork. */
.footer__brand img {
  width: 62px;
  margin-bottom: 1.1rem;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-sizing: content-box;
}
.footer__tag { color: var(--sky); font-weight: 600; margin-bottom: .9rem; }

.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(206,226,244,.18);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .84rem;
  color: rgba(206,226,244,.72);
}
.footer__legal p { font-size: .84rem; color: inherit; max-width: 70ch; }

/* ---------------------------------------------------------- animation -- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Anyone who has asked their system to reduce motion gets none of it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, a.card:hover, .card--link:hover { transform: none; }
}

/* ------------------------------------------------------------ utility -- */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media print {
  .nav, .footer, .btn, .photo-slot { display: none; }
  body { color: #000; }
}
