/* =========================================================================
   Canadian Nurse Codex — global styles
   Plain CSS, no build step. Custom properties live in :root so you can
   re-theme the whole site by editing the values below.
   ========================================================================= */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Palette (cool near-white + teal + amber + regional accents). Never pure white/black. */
  --teal-900: #0B2B33;   /* darkest teal-navy — deep text / board contrast */
  --teal-700: #0C6B54;   /* primary brand, links, active states, section headings */
  --teal-600: #0E7A5F;
  --teal-500: #1F9277;
  --teal-100: #D5EDE4;   /* Good to know callout bg (a touch more saturated) */
  --cream: #F3F7F8;      /* page background — near-white, slight cool tint */
  --cream-deep: #E7EEF0; /* footer background — cool light grey */
  --amber-700: #8A5410;  /* warm accent — button fill / small amber text (AA-safe) */
  --amber-600: #A66614;
  --amber-500: #C07C18;  /* decorative accent: wordmark, chevrons, active markers */
  --amber-100: #FBEBCB;  /* Key fact bg accent (warmer, less pale) */
  --terracotta: #A8471F; /* Heads up border/icon/label */
  --terracotta-100: #F8DECE;
  --ink: #1B2A2D;        /* body text — deep teal-navy */
  --ink-soft: #506466;   /* secondary text — muted grey-teal */
  --border: #D6E0E2;
  --border-strong: #B4C3C5;
  --white: #FCFDFE;      /* cards — cool white */

  /* Regional colour system — each region gets a saturated accent, a light
     tint for backgrounds, and an AA-safe dark text colour (verified on white). */
  --pac: #1C6E8C;   --pac-tint: #E0EEF3;   --pac-text: #0F5570;   /* Pacific — BC */
  --pra: #B45B1E;   --pra-tint: #FBE8D8;   --pra-text: #834211;   /* Prairies — AB/SK/MB */
  --cen: #6A4A9E;   --cen-tint: #ECE5F6;   --cen-text: #4C3577;   /* Central — ON */
  --atl: #2C7A50;   --atl-tint: #DEF0E5;   --atl-text: #1C5636;   /* Atlantic — NB/NS/PEI/NL */
  --nor: #47586A;   --nor-tint: #E5EAEE;   --nor-text: #33424F;   /* North — YT/NT/NU */

  /* Semantic aliases so existing rules keep working against the new palette */
  --surface: var(--white);
  --surface-warm: #FBF3E3;
  --teal: var(--teal-700);
  --teal-dark: var(--teal-700);
  --teal-darker: var(--teal-900);
  --teal-soft: var(--teal-100);
  --accent: var(--amber-700);        /* text + button fills — AA-safe */
  --accent-hover: #6E480C;
  --accent-bright: var(--amber-500); /* large/decorative accents only */
  --accent-soft: var(--amber-100);
  --muted: var(--ink-soft);

  /* Shape + depth (very subtle shadows only — no heavy drop shadows) */
  --radius: 14px;        /* cards */
  --radius-lg: 14px;
  --radius-sm: 8px;      /* small elements */
  --shadow-sm: 0 1px 2px rgba(41, 40, 31, 0.06);
  --shadow-card: 0 1px 2px rgba(41, 40, 31, 0.06);

  --container: 67.5rem;  /* 1080px */
  --step: clamp(1rem, 0.6rem + 1.4vw, 1.35rem);

  /* Fonts — Patrick Hand is the site's handwritten voice (headings, labels,
     step titles, the wordmark). Inter carries all body/long-form text so
     anything read carefully stays highly legible. No serif anywhere. */
  --font-heading: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset-ish --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;   /* ~17px */
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--teal-700);          /* real colour, not near-black */
  line-height: 1.1;
  font-weight: 400;                /* Patrick Hand ships a single weight */
  letter-spacing: 0.01em;          /* handwritten faces want a little air */
  margin: 0 0 0.4em;
}
/* Handwritten headings read a little smaller per em — size up to compensate. */
h1 { font-size: clamp(2.35rem, 1.6rem + 3.3vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.7vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1rem; max-width: 68ch; }

a { color: var(--teal-700); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem; /* 24px */
}

main { display: block; }

.section { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--tight { padding-block: clamp(1.75rem, 1rem + 3vw, 3rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- Skip link --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 0.75rem; top: -3.5rem;
  z-index: 100;
  background: var(--teal-darker);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  transition: top 150ms ease;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  min-height: 44px;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--secondary { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--secondary:hover { background: var(--teal-soft); color: var(--teal-darker); }

/* ---- Focus states (visible + consistent) ------------------------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 248, 0.85); /* semi-transparent near-white */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--cream); }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.7rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--teal-900);
}
.brand:hover { color: var(--teal-900); }

/* -------------------------------------------------------------------------
   Wordmark — the brand is the name alone, no symbol. Intended treatment is
   Maiandra GD for "Canadian"/"Codex" and Algerian for "Nurse". Those are
   Windows-only system fonts, so to render consistently on every device we use
   the closest loaded web fonts instead (documented substitution):
     Maiandra GD  ->  Jost              (humanist geometric sans)
     Algerian     ->  Cinzel Decorative (decorative inscriptional caps)
   ------------------------------------------------------------------------- */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.28em;
  white-space: nowrap; line-height: 1; font-size: 1.25rem;
}
.wordmark__a, .wordmark__c {
  font-family: "Jost", var(--font-body);
  font-weight: 600; letter-spacing: 0.005em; color: var(--teal-900);
}
.wordmark__b {
  font-family: "Cinzel Decorative", "Georgia", serif;
  font-weight: 700; letter-spacing: 0.02em; color: var(--amber-700);
}
/* Light variant for dark surfaces (e.g. the chalkboard) */
.wordmark--light .wordmark__a, .wordmark--light .wordmark__c { color: #F4F1E8; }
.wordmark--light .wordmark__b { color: #E8A87C; }

/* With the search removed, keep the brand on the left, the actions on the
   right, and let the nav flow onto its own full-width row below. */
.header-actions { margin-left: auto; }
.primary-nav { flex-basis: 100%; }

/* Grouped dropdown navigation. Top-level links and group buttons share one
   look so nothing reads as an oversized pill; labels never wrap. */
.nav-list {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-group__btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.8rem; border-radius: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1;
  color: var(--teal-700); background: transparent; border: none;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.nav-list > li > a:hover,
.nav-group__btn:hover { background: var(--teal-100); color: var(--teal-900); }
.nav-list > li > a[aria-current="page"] { background: var(--teal-700); color: var(--white); }
.nav-group__btn.is-active { color: var(--teal-900); text-decoration: underline; text-underline-offset: 4px; }
.nav-group__chev { flex: none; transition: transform 200ms ease; }

/* Dropdown panels */
.nav-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 13rem; margin: 0; padding: 0.4rem;
  list-style: none; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(27,42,45,0.14);
  display: none; z-index: 60;
}
.nav-menu a {
  display: block; padding: 0.55rem 0.7rem; border-radius: 8px;
  color: var(--teal-700); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-menu a:hover { background: var(--teal-100); color: var(--teal-900); }
.nav-menu a[aria-current="page"] { background: var(--teal-700); color: var(--white); }

/* Desktop: open on hover, keyboard focus, or explicit toggle */
@media (min-width: 761px) {
  .nav-group:hover .nav-menu,
  .nav-group:focus-within .nav-menu,
  .nav-group.is-open .nav-menu { display: block; }
  .nav-group:hover .nav-group__chev,
  .nav-group:focus-within .nav-group__chev,
  .nav-group.is-open .nav-group__chev { transform: rotate(180deg); }
}

/* Mobile menu toggle (hidden on wide screens) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 20px; height: 2px;
  background: var(--teal-900);
  margin-inline: auto;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav { flex-basis: 100%; display: none; }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.1rem; padding-block: 0.5rem; }
  .nav-list > li { position: static; }
  .nav-list > li > a,
  .nav-group__btn { width: 100%; justify-content: space-between; }
  .nav-menu {
    position: static; display: none; min-width: 0;
    border: none; box-shadow: none; background: transparent;
    padding: 0.1rem 0 0.5rem 0.9rem;
  }
  .nav-group.is-open .nav-menu { display: block; }
  .nav-group.is-open .nav-group__chev { transform: rotate(180deg); }
}

/* =========================================================================
   Hero + province checker (homepage, above the fold)
   ========================================================================= */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.hero__eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.6rem;
}
.hero h1 { line-height: 1.12; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 55ch;
}

.province {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 0.8rem + 2vw, 2rem);
}
.province h2 { margin-bottom: 0.25rem; }
.province__hint { color: var(--muted); margin-bottom: 1.1rem; }

.province__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 16rem; }
.field label { font-weight: 700; color: var(--teal-darker); }
/* Native <select> styled to read as plain text (chrome removed, amber chevron) */
.province select {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-900);
  padding: 0.5rem 2rem 0.5rem 0.25rem;
  min-height: 44px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-bottom: 2px solid var(--border-strong);
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23BA7517' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
}
.province select:hover { border-bottom-color: var(--amber-500); }

/* Outcome panel */
.outcome {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  background: var(--surface-warm);
}
.outcome[hidden] { display: none; }
.outcome__icon { flex: none; width: 28px; height: 28px; margin-top: 2px; }
.outcome__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; margin: 0 0 0.15rem; }
.outcome__body { margin: 0; color: var(--ink); }
.outcome--clear { background: var(--teal-soft); border-color: #BEDDD9; }
.outcome--clear .outcome__icon { color: var(--teal-dark); }
.outcome--clear .outcome__title { color: var(--teal-darker); }
.outcome--nnas { background: var(--accent-soft); border-color: #EFC9B6; }
.outcome--nnas .outcome__icon { color: var(--accent-hover); }
.outcome--nnas .outcome__title { color: var(--accent-hover); }

/* =========================================================================
   Signature element: the guided-path waypoint trail
   Four numbered circles connected by a horizontal dashed line behind them.
   ========================================================================= */
.path__intro { max-width: 55ch; }
.waypoints {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: flex;
  position: relative;
}
/* dashed trail running behind the circles, between first and last centres */
.waypoints::before {
  content: "";
  position: absolute;
  top: 23px;                 /* half of the 46px circle */
  left: 12.5%; right: 12.5%; /* centre of first / last of 4 columns */
  border-top: 2px dashed var(--border-strong);
  z-index: 0;
}
.waypoint { flex: 1 1 0; text-align: center; position: relative; z-index: 1; }
.waypoint__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
  text-decoration: none;
  color: var(--ink);
}
.waypoint__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-700);
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.waypoint__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--teal-900);
}
.waypoint__desc { font-size: 0.92rem; color: var(--ink-soft); max-width: 22ch; }
.waypoint__link:hover .waypoint__num {
  transform: translateY(-3px);
  background: var(--teal-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.waypoint__link:hover .waypoint__title { color: var(--teal-700); }

@media (max-width: 640px) {
  .waypoints { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .waypoints::before { display: none; } /* hide connecting line on mobile */
}

/* =========================================================================
   Simple page shells (Before / While / After / legal placeholders)
   ========================================================================= */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(1.75rem, 1rem + 3vw, 3rem);
}
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.breadcrumbs a { color: var(--teal-dark); }
.page-head p.lead { color: var(--muted); font-size: 1.1rem; max-width: 55ch; margin-bottom: 0; }

.coming-soon {
  background: var(--surface-warm);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  text-align: center;
}
.coming-soon p { margin-inline: auto; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem; font-weight: 700; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--cream-deep);
  color: var(--ink);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  gap: 1.75rem 2.5rem;
  grid-template-columns: 1.6fr 1fr 1fr;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.footer-brand p { color: var(--ink-soft); margin-bottom: 0; }
.footer-brand .wordmark { font-size: 1.1rem; margin-bottom: 0.6rem; }
.footer-nav h2 { color: var(--teal-900); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-nav a { color: var(--teal-700); text-decoration: none; }
.footer-nav a:hover { color: var(--teal-900); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--border-strong);
  padding-block: 1.1rem;
}
.footer-bottom p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; max-width: none; }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================================
   Header actions: notes button + notepad panel
   ========================================================================= */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Header text+icon buttons (Notes, My story) share one look */
.notes-toggle, .header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--teal-700);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.notes-toggle:hover, .header-link:hover { background: var(--teal-100); border-color: var(--teal-700); color: var(--teal-900); }
.notes-toggle[aria-expanded="true"] { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }
.header-link[aria-current="page"] { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }

.notes-panel {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 60;
  width: 280px;
  max-width: calc(100vw - 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(41, 40, 31, 0.18);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.notes-panel.is-open { opacity: 1; transform: translateY(0); }
.notes-panel[hidden] { display: none; }
.notes-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.notes-panel__title {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0; font-size: 1.1rem; color: var(--teal-darker);
}
.notes-panel__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; color: var(--muted); cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.notes-panel__close:hover { background: var(--accent-soft); color: var(--accent-hover); }
.notes-panel__text {
  width: 100%;
  min-height: 11rem;
  resize: vertical;
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--amber-100); /* reads as actual note paper */
  color: var(--ink);
}
.notes-panel__foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.notes-panel__hint { margin: 0; font-size: 11px; color: var(--ink-soft); max-width: 16rem; }
.notes-panel__clear {
  flex: none;
  background: transparent; border: none;
  color: var(--accent-hover); font-family: var(--font-body); font-weight: 700;
  font-size: 0.85rem; cursor: pointer; padding: 0.25rem; text-decoration: underline;
}
.notes-panel__clear:hover { color: var(--accent); }

@media (max-width: 760px) {
  .notes-toggle__label, .header-link__label { display: none; }
  .notes-toggle, .header-link { padding: 0.4rem; width: 44px; justify-content: center; }
}
@media (max-width: 520px) {
  .notes-panel { width: auto; left: 16px; right: 16px; }
}

/* =========================================================================
   Express lane ("What are you looking for?")
   ========================================================================= */
/* Light card on the page background — sits directly under the dark hero, so it
   must read as its own step, not a continuation of the chalkboard. */
.express {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--teal-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.1rem, 0.8rem + 1.5vw, 1.6rem);
}
.express h2 { color: var(--teal-700); margin-bottom: 0.3rem; font-size: 1.5rem; }
.express p { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: 48ch; }
.express__controls { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: stretch; }
.express select {
  flex: 1 1 20rem;
  font: inherit; font-size: 1.05rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-warm);
  color: var(--ink);
  min-height: 48px;
  cursor: pointer;
}
.express select:hover { border-color: var(--teal-600); }

/* =========================================================================
   Latest updates carousel
   ========================================================================= */
.updates-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1rem; margin-bottom: 1rem;
}
.updates-head .last-checked { color: var(--ink-soft); font-size: 12px; margin: 0; }

.carousel { position: relative; }
.carousel__viewport {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber-500);
  border-radius: 0 var(--radius) var(--radius) 0; /* radius on the right only */
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
}
.carousel__track { list-style: none; margin: 0; padding: 0; }
.carousel__slide { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem 1rem; min-height: 5.5rem; }
.carousel__slide[hidden] { display: none; }
.update-tag {
  grid-row: 1; grid-column: 1;
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--amber-700); background: var(--amber-100);
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.update-date { grid-row: 1; grid-column: 3; justify-self: end; text-align: right; font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }
.update-headline { grid-column: 1 / -1; margin: 0; font-size: 1.15rem; color: var(--ink); max-width: 60ch; line-height: 1.5; }
.update-link, .update-source { grid-column: 1 / -1; }
.update-link { font-weight: 700; color: var(--accent); }
.update-link:hover { color: var(--accent-hover); }
.update-source { margin: 0; font-size: 0.85rem; color: var(--muted); font-style: italic; }

.carousel__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 0.9rem;
}
.carousel__dots { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.carousel__dot {
  width: 11px; height: 11px; padding: 0;
  border-radius: 50%; border: 1px solid var(--teal);
  background: transparent; cursor: pointer;
  transition: background-color 200ms ease;
}
.carousel__dot:hover { background: var(--teal-soft); }
.carousel__dot[aria-current="true"] { background: var(--teal); }
.carousel__arrows { display: flex; gap: 0.5rem; }
.carousel__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-warm); color: var(--teal-dark); cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.carousel__btn:hover { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-darker); }

/* =========================================================================
   Accordions (native <details>) — used on Before You Apply
   ========================================================================= */
.accordion {
  margin-top: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc { border-bottom: 1px solid var(--border); }
.acc:last-child { border-bottom: none; }
.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--teal-900);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { color: var(--teal-700); }
.acc__num {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-900);
  font-family: var(--font-heading); font-size: 0.95rem;
}
.acc__chevron { flex: none; margin-left: auto; color: var(--amber-500); transition: transform 200ms ease; }
.acc[open] > summary .acc__chevron { transform: rotate(180deg); }
.acc__body { padding: 0 1.25rem 1.35rem; }
.acc__body > *:first-child { margin-top: 0; }
.acc__body h3 { font-size: 1.1rem; margin-top: 1.25rem; color: var(--teal-dark); }

/* Two-option compare block (Expedited vs Regular) */
.compare { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0.5rem 0 1rem; }
.compare__card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; background: var(--surface-warm); }
.compare__card h3 { margin-top: 0; }
.compare__price { font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; color: var(--accent-hover); margin: 0 0 0.5rem; }
.compare__card ul { margin: 0; padding-left: 1.1rem; }
.compare__card li { margin-bottom: 0.35rem; }

/* =========================================================================
   Callout system — exactly FOUR types. Every callout shows an icon PLUS a
   visible text label, so colour is never the only signal. Default is
   "Good to know"; use the others sparingly.
     .callout--key    Key fact          gold      (star)
     .callout--heads  Heads up          terracotta(triangle)
     .callout--good   Good to know      teal      (info dot)   [default]
     .callout--verify Needs verification gray/dashed (question)
   ========================================================================= */
.callout {
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1rem 1.25rem;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-left: 5px solid var(--border-strong);
  background: var(--surface-warm);
}
.callout__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.callout__icon { flex: none; color: currentColor; }
.callout p { margin: 0; }
.callout p + p, .callout ul { margin-top: 0.6rem; }
.callout a { font-weight: 700; }

/* Good to know — teal (default) */
.callout--good { background: var(--teal-100); border-color: #ADDCCC; border-left-color: var(--teal-600); }
.callout--good .callout__label { color: var(--teal-700); }

/* Key fact — amber */
.callout--key { background: var(--amber-100); border-color: #EBC98D; border-left-color: var(--amber-600); }
.callout--key .callout__label { color: var(--amber-700); }

/* Heads up — terracotta (not an alarming red) */
.callout--heads { background: var(--terracotta-100); border-color: #E6AF9A; border-left-color: var(--terracotta); }
.callout--heads .callout__label,
.callout--heads .callout__icon { color: var(--terracotta); }

/* Needs verification — white with a deliberately dashed border */
.callout--verify { background: var(--white); border: 1px dashed var(--border-strong); border-left: 5px dashed var(--nor); }
.callout--verify .callout__label { color: var(--nor-text); }

/* Definition-style scores list */
.scores { display: grid; gap: 0.4rem; margin: 0.75rem 0; padding: 0; list-style: none; }
.scores li { padding: 0.6rem 0.85rem; background: var(--surface-warm); border: 1px solid var(--border); border-radius: var(--radius); }
.scores strong { color: var(--teal-darker); }

.province-list { display: grid; gap: 0.6rem; margin: 1rem 0; padding: 0; list-style: none; }
.province-list li { padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.province-list b { color: var(--teal-darker); }

/* Note box (was a tight oval pill — now a padded block so long text with
   inline links flows as normal prose, with the label on its own line). */
.last-checked-banner {
  display: block;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 5px solid var(--border-strong);
  border-radius: var(--radius); padding: 0.85rem 1.2rem;
  font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft);
  margin: 0.9rem 0; max-width: 68ch;
}
.last-checked-banner strong { display: block; color: var(--teal-700); margin-bottom: 0.15rem; }
.last-checked-banner a { font-weight: 700; }

/* =========================================================================
   Province quick-facts pages
   ========================================================================= */
.fact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 1.5rem 0; }
.fact {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
  padding: 1.2rem;
}
.fact h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 0.5rem; }
.fact__value { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--teal-darker); margin: 0; }
.fact__sub { font-size: 0.85rem; color: var(--muted); margin: 0.4rem 0 0; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
}
.badge--yes { background: var(--accent-soft); color: var(--accent-hover); }
.badge--no { background: var(--teal-soft); color: var(--teal-darker); }

.regulator-cta { display: inline-flex; margin-top: 0.5rem; }
.next-steps { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 1.5rem; }
.next-steps a {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); text-decoration: none;
  color: var(--teal-darker); font-weight: 700;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.next-steps a:hover { border-color: var(--teal); background: var(--surface-warm); }
.next-steps a span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }

/* =========================================================================
   Compare-provinces table + filters
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1.25rem 0; }
.filters__label { font-weight: 700; color: var(--teal-darker); margin-right: 0.25rem; }
.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: transparent;
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.filter-btn:hover { background: var(--teal-soft); }
.filter-btn[aria-pressed="true"] { background: var(--teal); color: var(--white); }

.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 40rem; }
.compare-table caption { text-align: left; }
.compare-table th, .compare-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface-warm); vertical-align: bottom; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--surface-warm); }
.compare-table td a { font-weight: 700; }
.cell-note { color: var(--muted); font-size: 0.85rem; font-weight: 400; }

.sort-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: transparent; border: none; padding: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  color: var(--teal-darker); cursor: pointer;
}
.sort-btn:hover { color: var(--accent-hover); }
.sort-ind { color: var(--muted); font-size: 0.85rem; }
.compare-table th[aria-sort="ascending"] .sort-ind::after { content: "▲"; }
.compare-table th[aria-sort="descending"] .sort-ind::after { content: "▼"; }
.compare-table th[aria-sort] .sort-ind { font-size: 0; }
.compare-table th[aria-sort] .sort-ind::after { font-size: 0.8rem; color: var(--accent); }

/* =========================================================================
   My Story — personal narrative page (simpler, more breathing room than the
   data-heavy guide pages; deliberately does NOT use the callout system).
   ========================================================================= */
.story { max-width: 44rem; }
.story__intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
}
.story__intro .byline {
  display: block;
  font-family: var(--font-heading);
  color: var(--teal-dark);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.timeline {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.tl-item {
  position: relative;
  padding-left: 2.75rem;
  padding-bottom: 2rem;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--teal);
}
/* Pivotal moments get a warm accent dot. */
.tl-item--mark::before {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.tl-date {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--teal-darker);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.tl-body { margin: 0; color: var(--ink); max-width: 40ch; }

.story__outro {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--border);
}
.story__outro p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--teal-darker);
  font-family: var(--font-heading);
  font-weight: 400;
  max-width: 42ch;
}

/* Small homepage teaser linking to the story */
.story-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.story-teaser p { margin: 0; color: var(--muted); }
.story-teaser a { font-weight: 700; white-space: nowrap; }

/* =========================================================================
   Designation tabs on province pages (RN / LPN / RPN)
   ========================================================================= */
.desig-tabs { margin: 0.5rem 0 0; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
}
.tab {
  appearance: none;
  border: 2px solid transparent;
  border-bottom: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-dark);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: pointer;
  margin-bottom: -2px;
  transition: background-color 200ms ease, color 200ms ease;
}
.tab:hover { background: var(--teal-soft); color: var(--teal-darker); }
.tab[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--border);
  border-bottom: 2px solid var(--surface);
  color: var(--teal-darker);
}
.tabpanel { scroll-margin-top: 5rem; }
.tabpanel:focus { outline: none; }
.tabpanel > h2:first-child { margin-top: 0; }
/* Profession panels use H3 for their sub-headings */
.tabpanel h3 { font-size: 1.15rem; margin-top: 1.5rem; color: var(--teal-dark); }
.prof-apply { font-weight: 700; margin-top: 0.75rem; }
.prof-note { color: var(--muted); }

/* =========================================================================
   Compare table: designation toggle
   ========================================================================= */
.desig-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.desig-toggle__label { font-weight: 700; color: var(--teal-darker); margin-right: 0.25rem; }

/* =========================================================================
   Salaries page status tags
   ========================================================================= */
.stag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.stag--confirmed { background: var(--teal-soft); color: var(--teal-darker); }
.stag--previous  { background: #FBEED0; color: #7A5300; }
.stag--draft     { background: var(--accent-soft); color: var(--accent-hover); }
.stag--unverified{ background: #F4F1EA; color: #4A4640; border: 1px dashed #9C8F76; }
.salary-table td .stag { margin-top: 0.25rem; }
.salary-term { font-size: 0.85rem; color: var(--muted); }

/* =========================================================================
   Career-path comparison table
   ========================================================================= */
.careers-table { min-width: 56rem; }
.careers-table th, .careers-table td { vertical-align: top; }
.careers-table thead th:first-child { background: var(--surface-warm); }
.careers-table tbody th[scope="row"] {
  text-align: left;
  color: var(--teal-darker);
  background: var(--surface-warm);
  position: sticky;
  left: 0;
  z-index: 1;
}
.careers-table tbody td { color: var(--ink); }
.careers-table tbody tr:hover td,
.careers-table tbody tr:hover th[scope="row"] { background: var(--teal-soft); }

/* =========================================================================
   Non-bedside roles reference list
   ========================================================================= */
.roles-group { margin-top: 2rem; }
.roles-group > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.roles-group__count { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.roles-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}
.roles-list li {
  break-inside: avoid;
  margin: 0 0 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.roles-list li .role-sub { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.1rem; }
@media (max-width: 640px) { .roles-list { columns: 1; } }

/* Full role cards (non-bedside roles page) */
.role-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--teal-600); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 1.25rem 1.35rem; margin-bottom: 1rem;
}
.role-card--brief { border-left-color: var(--border-strong); }
.role-card__name { margin: 0 0 0.5rem; font-size: 1.4rem; color: var(--teal-900); }
.role-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.7rem; }
.role-tag {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 999px;
}
.role-tag--public      { background: var(--pac-tint); color: var(--pac-text); }
.role-tag--private     { background: var(--cen-tint); color: var(--cen-text); }
.role-tag--both        { background: var(--nor-tint); color: var(--nor-text); }
.role-tag--early       { background: var(--atl-tint); color: var(--atl-text); }
.role-tag--mid         { background: var(--amber-100); color: var(--amber-700); }
.role-tag--established  { background: var(--pra-tint); color: var(--pra-text); }
.role-card p { margin: 0 0 0.5rem; }
.role-card > p:last-child { margin-bottom: 0; }
.role-card__cert strong, .role-card__path strong { color: var(--teal-700); }
.role-card .callout { margin: 0.75rem 0 0; }

/* =========================================================================
   Policy / document pages (Privacy, Accessibility, Accuracy) — formal register
   ========================================================================= */
.prose { max-width: 46rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.doc-meta {
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
/* Prominent (but formal) highlight block for policy pages */
.doc-highlight {
  border-left: 4px solid var(--teal);
  background: var(--surface-warm);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.75rem;
}
.doc-highlight h2 { margin-top: 0; font-size: 1.2rem; }
.doc-highlight p { margin: 0; }

/* Clearly-marked template placeholders (contact email, etc.) */
.placeholder {
  background: #F4F1EA;
  border: 1px dashed #9C8F76;
  padding: 0 0.35rem;
  border-radius: 4px;
  color: #4A4640;
  font-size: 0.95em;
  white-space: nowrap;
}

/* Footer accuracy disclaimer line */
.footer-disclaimer {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0 0 0.65rem;
  max-width: 70ch;
}
.footer-disclaimer a { color: var(--teal-700); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--teal-900); }

/* =========================================================================
   Left-rail tip card (beside a fees section)
   ========================================================================= */
.fees-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .fees-layout { grid-template-columns: 1fr; }
}
.tip-card {
  background: var(--teal-100);
  border: 1px solid #C4E0D6;
  border-left: 4px solid var(--teal-700);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  position: sticky;
  top: 5.5rem;
}
.tip-card__eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal-700); margin: 0 0 0.4rem;
}
.tip-card__title { font-size: 1.1rem; margin: 0 0 0.5rem; color: var(--teal-900); }
.tip-card p { margin: 0 0 0.6rem; font-size: 0.95rem; color: var(--ink); }
.tip-card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .tip-card { position: static; } }

/* =========================================================================
   Homepage: hero + maple-leaf watermark
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.hero__leaf {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 92%);
  height: auto;
  opacity: 0.045;                 /* watermark — behind the hero only */
  color: var(--teal-700);
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero .lead { margin-inline: auto; max-width: 46ch; }
.hero__actions {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* =========================================================================
   Homepage: three-zone layout (left tips · center · right updates)
   ========================================================================= */
.zones {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr) 18rem;
  grid-template-areas:
    "tip1 province updates"
    "tip2 country  updates"
    "path path     updates";
  gap: 1.5rem 2rem;
  align-items: start;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.z-province { grid-area: province; }
.z-country  { grid-area: country; }
.z-path     { grid-area: path; }
.z-tip1     { grid-area: tip1; }
.z-tip2     { grid-area: tip2; }
.z-updates  { grid-area: updates; }
/* Only the updates rail (its own column, nothing below it) is sticky. The tip
   cards scroll normally in their column: a sticky tip would escape its grid row
   and overlap the path, which spans back into the tip column on the last row. */
.z-updates { align-self: start; position: sticky; top: 5.5rem; }
.z-tip1, .z-tip2 { align-self: start; }
/* Homepage rail tip cards are not the sticky fees-page variant — reset it. */
.z-tip1.tip-card, .z-tip2.tip-card { position: static; top: auto; }

/* Tablet: two zones — center content + updates rail; tips flow inline */
@media (max-width: 1080px) {
  .zones {
    grid-template-columns: minmax(0, 1fr) 16rem;
    grid-template-areas:
      "province updates"
      "tip1     updates"
      "country  updates"
      "tip2     updates"
      "path     updates";
  }
  .z-tip1, .z-tip2 { position: static; }
}
/* Mobile: single column, rail items inline after related section */
@media (max-width: 720px) {
  .zones {
    grid-template-columns: 1fr;
    grid-template-areas: "province" "tip1" "country" "tip2" "path" "updates";
  }
  .z-updates { position: static; }
}

/* Center: country-of-origin row */
.country-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.country-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-900);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.country-btn:hover { border-color: var(--teal-700); background: var(--teal-100); color: var(--teal-900); }
.country-btn .flag { font-size: 1.15rem; line-height: 1; }

/* Center: registration path as a loosely hand-drawn vertical trail.
   The connector is a gently drifting dashed line (a repeating SVG tile so it
   stays continuous at any height), and the step markers sit slightly off-axis
   from one another — so it reads as sketched by hand, not machine-ruled. */
.rpath { list-style: none; margin: 1.25rem 0 0; padding: 0; position: relative; }
.rpath::before {
  content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='132' viewBox='0 0 34 132' fill='none' stroke='%23B4C3C5' stroke-width='2.4' stroke-linecap='round' stroke-dasharray='2 12'%3E%3Cpath d='M17 0 C 9 26 25 46 17 66 C 9 86 25 106 17 132'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: left top;
  z-index: 0;
}
.rstep { position: relative; padding-left: 3.6rem; padding-bottom: 1.9rem; }
.rstep:last-child { padding-bottom: 0; }
/* Nudge alternate markers a few px off the trail's axis for a hand-placed feel */
.rstep:nth-child(odd)  .rstep__num { transform: translateX(-3px) rotate(-3deg); }
.rstep:nth-child(even) .rstep__num { transform: translateX(4px) rotate(2deg); }
.rstep__num {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-700); border: 2px solid var(--teal-700); color: var(--white);
  font-family: var(--font-heading); font-weight: 400; font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.rstep--current .rstep__num { background: var(--amber-600); border-color: var(--amber-600); color: var(--white); }
.rstep__title { display: block; font-family: var(--font-heading); font-size: 1.4rem; color: var(--teal-700); margin-bottom: 0.1rem; }
.rstep__title a { color: inherit; text-decoration: none; }
.rstep__title a:hover { color: var(--accent-hover); text-decoration: underline; }
.rstep__desc { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* Right rail: latest updates as a static stacked list */
.updates-rail__head { margin-bottom: 0.85rem; }
.updates-rail__head h2 { margin: 0; }
.updates-rail__checked { font-size: 12px; color: var(--ink-soft); margin: 0.15rem 0 0; }
.update-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
}
.update-card:last-child { margin-bottom: 0; }
/* Regional accent per province tag */
.update-card--pac { border-top-color: var(--pac); }
.update-card--pra { border-top-color: var(--pra); }
.update-card--cen { border-top-color: var(--cen); }
.update-card--atl { border-top-color: var(--atl); }
.update-card--nor { border-top-color: var(--nor); }
.update-card--pac .update-card__tag { color: var(--pac-text); background: var(--pac-tint); }
.update-card--pra .update-card__tag { color: var(--pra-text); background: var(--pra-tint); }
.update-card--cen .update-card__tag { color: var(--cen-text); background: var(--cen-tint); }
.update-card--atl .update-card__tag { color: var(--atl-text); background: var(--atl-tint); }
.update-card--nor .update-card__tag { color: var(--nor-text); background: var(--nor-tint); }
.update-card__row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.update-card__tag {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-100);
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.update-card__date { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.update-card__headline { font-weight: 700; color: var(--ink); margin: 0.4rem 0 0.3rem; line-height: 1.4; }
.update-card__link { font-weight: 700; font-size: 0.9rem; }

/* =========================================================================
   Recruitment incentives ("Money on the table")
   ========================================================================= */
.status-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap;
}
.status-badge--open    { background: var(--teal-100); color: var(--teal-700); }
.status-badge--closing { background: var(--amber-100); color: var(--amber-700); }
.status-badge--closed,
.status-badge--passed  { background: #E3E8E9; color: #4C5A5C; }

.ien-marker {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--ink-soft); background: var(--white);
}
.ien-marker--specific     { border-color: var(--teal-500); color: var(--teal-700); }
.ien-marker--contemplated { border-color: var(--amber-500); color: var(--amber-700); }

/* Headline teaser cards (surfaced up front, and reused on province pages) */
.incentive-teasers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem; margin: 1.25rem 0 1.75rem;
}
.incentive-teaser {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.incentive-teaser__amount { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--amber-700); line-height: 1.1; }
.incentive-teaser__name { font-weight: 700; color: var(--teal-900); }
.incentive-teaser__link { font-weight: 700; margin-top: auto; }

/* Two-column page layout: main content + right rail (e.g. province pages) */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  grid-template-areas: "main rail";
  gap: 2rem;
  align-items: start;
}
.page-main { grid-area: main; min-width: 0; }
.page-rail { grid-area: rail; position: sticky; top: 5.5rem; }
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; grid-template-areas: "rail" "main"; }
  .page-rail { position: static; }
}

/* Full per-program cards */
.incentive-list { margin-top: 1.5rem; }
.incentive {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}
.incentive--closed, .incentive--passed { border-left-color: var(--border-strong); }
.incentive--closing { border-left-color: var(--amber-500); }
.incentive__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.75rem; }
.incentive__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--teal-900); margin: 0; }
.incentive__region { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.incentive__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.incentive__amount { font-weight: 700; color: var(--amber-700); }
.incentive p { margin: 0.5rem 0 0; }
.incentive__link { display: inline-block; margin-top: 0.7rem; font-weight: 700; }

/* =========================================================================
   Cross-link promo card (Finding a Job -> Recruitment incentives)
   ========================================================================= */
.incentive-promo {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--amber-100), #FDF6E7);
  border: 1px solid #EBC98D;
  border-left: 6px solid var(--amber-600);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.9rem);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.incentive-promo:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.incentive-promo__eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber-700); margin-bottom: 0.35rem;
}
.incentive-promo__title {
  display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);
  color: var(--teal-900); line-height: 1.05; margin-bottom: 0.4rem;
}
.incentive-promo__body { display: block; color: var(--ink); max-width: 60ch; margin-bottom: 0.6rem; }
.incentive-promo__cta { display: inline-block; font-weight: 800; color: var(--amber-700); }

/* =========================================================================
   Regional colour system (Pacific / Prairies / Central / Atlantic / North)
   Applied to province tags, update-card borders, and province page headers.
   ========================================================================= */
.region-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.region-tag--pac { background: var(--pac-tint); color: var(--pac-text); }
.region-tag--pra { background: var(--pra-tint); color: var(--pra-text); }
.region-tag--cen { background: var(--cen-tint); color: var(--cen-text); }
.region-tag--atl { background: var(--atl-tint); color: var(--atl-text); }
.region-tag--nor { background: var(--nor-tint); color: var(--nor-text); }

/* Province page header tinted band per region */
.page-head--pac { background: var(--pac-tint); border-bottom-color: #B9D6E0; }
.page-head--pra { background: var(--pra-tint); border-bottom-color: #EAC5A6; }
.page-head--cen { background: var(--cen-tint); border-bottom-color: #CDBEE6; }
.page-head--atl { background: var(--atl-tint); border-bottom-color: #B5DCC2; }
.page-head--nor { background: var(--nor-tint); border-bottom-color: #C3CCD3; }
.page-head--pac h1 { color: var(--pac-text); }
.page-head--pra h1 { color: var(--pra-text); }
.page-head--cen h1 { color: var(--cen-text); }
.page-head--atl h1 { color: var(--atl-text); }
.page-head--nor h1 { color: var(--nor-text); }

/* =========================================================================
   Homepage: "Who this site is for" — three orienting blocks
   ========================================================================= */
.whofor {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 1.4rem;
}
.whofor__card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--teal-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.3rem;
}
.whofor__card--outside { border-top-color: var(--teal-600); }
.whofor__card--canada  { border-top-color: var(--pra); }
.whofor__card--explore { border-top-color: var(--cen); }
.whofor__eyebrow {
  font-family: var(--font-body); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.whofor__card--outside .whofor__eyebrow { color: var(--teal-700); }
.whofor__card--canada  .whofor__eyebrow { color: var(--pra-text); }
.whofor__card--explore .whofor__eyebrow { color: var(--cen-text); }
.whofor__title { font-size: 1.3rem; margin: 0; color: var(--teal-900); }
.whofor__card p { margin: 0; color: var(--ink); font-size: 0.98rem; }
.whofor__card a { font-weight: 700; }
.whofor__links { margin-top: auto; padding-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.15rem 0.9rem; }

/* =========================================================================
   Homepage / Before You Apply: "What is NNAS?" explainer
   ========================================================================= */
.nnas-explainer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 1rem + 2vw, 2.25rem);
}
.nnas-explainer > h2:first-of-type { margin-top: 0; }
.nnas-explainer p { max-width: 66ch; }
.nnas-explainer__who {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin: 1.1rem 0 0; padding: 0.9rem 1.1rem;
  background: var(--pac-tint); border-radius: var(--radius);
  color: var(--pac-text); font-weight: 600;
}
.nnas-explainer__who svg { flex: none; margin-top: 2px; }
.nnas-explainer .btn { margin-top: 1.1rem; }
.nnas-explainer--compact { box-shadow: none; border-style: dashed; margin-bottom: 1.5rem; }

/* =========================================================================
   Homepage country row + per-country requirement pages
   ========================================================================= */
.country-note { margin: 0.85rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

.country-flag { font-size: 1.05em; }
.country-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin: 1rem 0 2rem; align-items: start;
}
.country-q {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.35rem;
}
.country-q h2 { display: flex; align-items: center; gap: 0.6rem; margin-top: 0; font-size: 1.35rem; }
.country-q__n {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--teal-700); color: var(--white);
  font-family: var(--font-heading); font-size: 1.15rem;
}
.country-q > p:last-child { margin-bottom: 0; }
.country-q .callout:last-child { margin-bottom: 0; }

/* =========================================================================
   Chalkboard hero (homepage only)
   Dark slate board, chalk lettering, a loose dashed step trail, a maple leaf
   bleeding off the right edge, faint medical doodles, and starred notes.
   ========================================================================= */
.board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #25322E;
  /* faint grain so it reads as slate, not flat fill */
  background-image:
    radial-gradient(rgba(255,255,255,0.035) 0.5px, transparent 0.6px),
    radial-gradient(rgba(0,0,0,0.14) 0.5px, transparent 0.6px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 3px;
  border-radius: 0 0 22px 22px;
  padding: clamp(1.75rem, 1rem + 4vw, 3.25rem) 0 clamp(2.25rem, 1.5rem + 4vw, 3.75rem);
  box-shadow: inset 0 0 0 1px rgba(244,241,232,0.06), inset 0 0 60px rgba(0,0,0,0.35);
}
.board__art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.board__inner { position: relative; z-index: 1; }
.board__eyebrow {
  display: inline-block; font-family: "Patrick Hand", var(--font-heading);
  color: #A9C6BA; font-size: 1.05rem; letter-spacing: 0.04em; margin-bottom: 0.2rem;
}
.board__name {
  font-family: "Gochi Hand", "Patrick Hand", var(--font-heading);
  color: #F4F1E8; line-height: 0.95; margin: 0 0 0.35rem;
  font-size: clamp(2.5rem, 1.4rem + 6vw, 5rem);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.board__name .board__leaf-word { color: #C8202E; }
.board__tagline {
  font-family: "Patrick Hand", var(--font-heading);
  color: #F4F1E8; font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem);
  max-width: 34ch; margin: 0 0 1.75rem;
}
.board__steps-wrap { position: relative; }
.board__trail {
  position: absolute; left: 0; top: -6px; width: 100%; height: calc(100% + 12px);
  z-index: 0; pointer-events: none;
}
.board__steps {
  list-style: none; margin: 0.5rem 0 0; padding: 0;
  display: flex; gap: 0.5rem; align-items: flex-start;
  position: relative; z-index: 1;
}
.board__step { flex: 1 1 0; min-width: 0; }
/* Circle on top, title + subtitle directly beneath it, consistent across the
   row. The dashed trail runs only through the circle band above the labels, so
   no label overlaps the line. A hair of alternating offset keeps a hand-placed
   feel without pushing any label onto the trail or the leaf. */
.board__step:nth-child(odd)  { transform: translateY(4px); }
.board__step:nth-child(even) { transform: translateY(14px); }
.board__step-link {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  text-align: center; text-decoration: none; padding: 0.35rem 0.4rem;
  color: #F4F1E8;
}
.board__step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  border: 2.5px solid #F4F1E8; color: #F4F1E8;
  font-family: "Gochi Hand", "Patrick Hand", var(--font-heading);
  font-size: 1.9rem; line-height: 1; flex: none;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}
.board__step-text { display: block; }
.board__step-title {
  display: block; font-family: "Patrick Hand", var(--font-heading);
  color: #F4F1E8; font-size: 1.3rem; line-height: 1.05;
}
.board__step-sub {
  display: block; font-family: "Patrick Hand", var(--font-heading);
  color: #A9C6BA; font-size: 1rem; line-height: 1.1; margin-top: 0.1rem;
}
.board__step-link:hover .board__step-num,
.board__step-link:focus-visible .board__step-num {
  background: #F4F1E8; color: #25322E; transform: translateY(-3px);
}
.board__step-link:hover .board__step-title { text-decoration: underline; }

/* Starred annotations (real links) */
.board__stars { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: clamp(4.5rem, 3rem + 6vw, 6rem); }
.board__star {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Patrick Hand", var(--font-heading);
  color: #E8A87C; font-size: 1.15rem; text-decoration: none;
}
.board__star svg { flex: none; }
.board__star b { color: #F4F1E8; font-weight: 400; }
.board__star:hover { color: #E8A87C; }
.board__star:hover .board__star-label { text-decoration: underline; }

/* Focus ring tuned for the dark board */
.board a:focus-visible { outline: 3px solid #E8A87C; outline-offset: 3px; border-radius: 8px; }

/* Tablet: two steps per row */
@media (max-width: 820px) {
  .board__trail { display: none; }  /* trail is tuned for the 4-across desktop row */
  .board__steps { flex-wrap: wrap; row-gap: 1.5rem; }
  .board__step { flex: 1 1 42%; }
  .board__step:nth-child(1) { transform: translateY(0); }
  .board__step:nth-child(2) { transform: translateY(22px); }
  .board__step:nth-child(3) { transform: translateY(6px); }
  .board__step:nth-child(4) { transform: translateY(24px); }
  .board__step:nth-child(even) .board__step-link { flex-direction: column; }
}
/* Mobile: stack vertically, shorter connecting feel, smaller wordmark */
@media (max-width: 520px) {
  .board__steps { flex-direction: column; row-gap: 1rem; }
  .board__step, .board__step:nth-child(n) { flex: 1 1 100%; transform: none; }
  .board__step-link { flex-direction: row; align-items: center; gap: 0.9rem; text-align: left; }
  .board__step:nth-child(even) .board__step-link { flex-direction: row; }
  .board__step-num { width: 50px; height: 50px; font-size: 1.6rem; }
  .board__stars { margin-top: 2rem; flex-direction: column; gap: 0.6rem; }
}

/* =========================================================================
   Shared slate surface (chalkboard wall + page feedback) — matches the hero
   ========================================================================= */
.slate {
  position: relative;
  background-color: #25322E;
  background-image:
    radial-gradient(rgba(255,255,255,0.035) 0.5px, transparent 0.6px),
    radial-gradient(rgba(0,0,0,0.14) 0.5px, transparent 0.6px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 3px;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(244,241,232,0.06), inset 0 0 60px rgba(0,0,0,0.35);
  color: #F4F1E8;
}
.slate a:focus-visible,
.slate button:focus-visible,
.slate textarea:focus-visible { outline: 3px solid #E8A87C; outline-offset: 3px; border-radius: 8px; }

/* =========================================================================
   Chalkboard wall (homepage)
   ========================================================================= */
.wall { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.wall__inner { padding: clamp(1.5rem, 1rem + 3vw, 2.75rem); }
.wall__title {
  font-family: "Gochi Hand", "Patrick Hand", var(--font-heading);
  color: #F4F1E8; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin: 0 0 0.25rem;
}
.wall__intro { font-family: "Patrick Hand", var(--font-heading); color: #A9C6BA; font-size: 1.2rem; margin: 0 0 1.25rem; }

.wall__form { max-width: 40rem; margin-bottom: 2rem; }
.wall__label {
  display: block; font-family: "Patrick Hand", var(--font-heading);
  color: #F4F1E8; font-size: 1.25rem; margin-bottom: 0.4rem;
}
.wall__text {
  width: 100%; font: inherit; font-size: 1.05rem; line-height: 1.5;
  padding: 0.75rem 0.9rem; border-radius: 12px;
  border: 1px solid rgba(244,241,232,0.4);
  background: rgba(244,241,232,0.08); color: #F4F1E8; resize: vertical;
}
.wall__text::placeholder { color: rgba(244,241,232,0.55); }
.wall__privacy { color: #A9C6BA; font-size: 0.85rem; margin: 0.5rem 0 0; max-width: 52ch; }
.wall__row { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; }
.wall__count { font-size: 0.85rem; color: #A9C6BA; font-variant-numeric: tabular-nums; }
.wall__count.is-low { color: #E8A87C; }
.wall__btn {
  margin-left: auto; font-family: "Patrick Hand", var(--font-heading);
  font-size: 1.15rem; padding: 0.5rem 1.4rem; border-radius: 999px;
  background: #F4F1E8; color: #25322E; border: 2px solid #F4F1E8; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.wall__btn:hover { background: transparent; color: #F4F1E8; }
.wall__msg { min-height: 1.2rem; margin: 0.6rem 0 0; font-family: "Patrick Hand", var(--font-heading); font-size: 1.1rem; }
.wall__msg--ok { color: #A9C6BA; }
.wall__msg--err { color: #E8A87C; }
/* Honeypot — kept in the DOM, moved off-screen (not display:none, which bots skip) */
.wall__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wall__notes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-start; }
.wall__note {
  font-family: "Patrick Hand", var(--font-heading);
  color: #F4F1E8; font-size: 1.2rem; line-height: 1.35;
  max-width: 22rem; flex: 0 1 auto;
  padding: 0.7rem 0.95rem;
  background: rgba(244, 241, 232, 0.06);
  border: 1px solid rgba(244, 241, 232, 0.22);
  border-radius: 12px;
}
.wall__empty { color: #A9C6BA; font-family: "Patrick Hand", var(--font-heading); font-size: 1.15rem; }

/* =========================================================================
   "Chart this page" — page feedback control (every content page)
   ========================================================================= */
.chart-fb { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.chart-fb__board { padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); }
.chart-fb__title {
  font-family: "Gochi Hand", "Patrick Hand", var(--font-heading);
  color: #F4F1E8; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); margin: 0 0 0.2rem;
}
.chart-fb__sub { font-family: "Patrick Hand", var(--font-heading); color: #A9C6BA; font-size: 1.1rem; margin: 0 0 1.1rem; }
.chart-fb__btns { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.chart-fb__btn {
  text-align: left; cursor: pointer;
  background: rgba(244,241,232,0.06); color: #F4F1E8;
  border: 1px solid rgba(244,241,232,0.4); border-radius: 12px;
  padding: 0.8rem 1rem; transition: background-color 200ms ease, border-color 200ms ease;
}
.chart-fb__btn:hover { background: rgba(244,241,232,0.14); border-color: #F4F1E8; }
.chart-fb__btn--error:hover { border-color: #E8A87C; }
.chart-fb__label { display: block; font-family: "Patrick Hand", var(--font-heading); font-size: 1.2rem; line-height: 1.15; }
.chart-fb__desc { display: block; color: #A9C6BA; font-size: 0.92rem; margin-top: 0.15rem; }
.chart-fb__thanks { font-family: "Patrick Hand", var(--font-heading); color: #F4F1E8; font-size: 1.4rem; margin: 0; }

.chart-fb__errbox { margin-top: 1rem; max-width: 40rem; }
.chart-fb__errbox[hidden] { display: none; }
.chart-fb__errlabel { display: block; font-family: "Patrick Hand", var(--font-heading); color: #F4F1E8; font-size: 1.15rem; margin-bottom: 0.4rem; }
.chart-fb__errtext {
  width: 100%; font: inherit; font-size: 1.02rem; line-height: 1.5;
  padding: 0.65rem 0.85rem; border-radius: 10px;
  border: 1px solid rgba(244,241,232,0.4); background: rgba(244,241,232,0.08); color: #F4F1E8; resize: vertical;
}
.chart-fb__errrow { display: flex; gap: 0.6rem; margin-top: 0.6rem; align-items: center; }
.chart-fb__send {
  font-family: "Patrick Hand", var(--font-heading); font-size: 1.1rem;
  padding: 0.4rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: #F4F1E8; color: #25322E; border: 2px solid #F4F1E8;
}
.chart-fb__send:hover { background: transparent; color: #F4F1E8; }
.chart-fb__skip {
  font-family: "Patrick Hand", var(--font-heading); font-size: 1.05rem;
  background: transparent; color: #A9C6BA; border: none; cursor: pointer; text-decoration: underline;
}
.chart-fb__errcount { margin-left: auto; font-size: 0.85rem; color: #A9C6BA; font-variant-numeric: tabular-nums; }

/* =========================================================================
   Motion preferences
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
