/* ==========================================================================
   STRI — Base template (header + footer + typography)
   Source: Figma "Design Jam – Website Redesign" › Homepage Final (2473:188)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color — Figma variables + values used in Homepage Final */
  --c-cream: #f8f5f2;          /* Base/White/500 */
  --c-ink: #222222;            /* Base/Black/500 */
  --c-navy: #002657;
  --c-yellow: #ffcd00;
  --c-green: #00612f;
  --c-teal: #009aaf;
  --c-teal-dark: #006d7c;
  --c-gray-600: #5d5d5d;       /* meta / dates / copyright */
  --c-gray-700: #454545;       /* event details */
  --c-gray-650: #4a4a49;       /* date block month */
  --c-line: rgba(34, 34, 34, 0.12);

  /* Typeface — Proxima Nova (Adobe Fonts). Figtree is a free fallback. */
  --font-sans: "proxima-nova", "Proxima Nova", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Type scale (desktop values from Figma; large sizes scale down fluidly) */
  --fs-display: clamp(3rem, 1.6rem + 4.6vw, 5rem);      /* 80 */
  --fs-stat:    clamp(3.25rem, 2rem + 4vw, 5rem);       /* 80 */
  --fs-h1:      clamp(2.25rem, 1.7rem + 1.8vw, 3rem);   /* 48 */
  --fs-h2:      clamp(2rem, 1.6rem + 1.3vw, 2.5rem);    /* 40 */
  --fs-h3:      clamp(1.875rem, 1.6rem + 0.9vw, 2.25rem); /* 36 */
  --fs-h4:      clamp(1.625rem, 1.4rem + 0.7vw, 2rem);  /* 32 */
  --fs-h5:      clamp(1.375rem, 1.25rem + 0.4vw, 1.75rem); /* 28 */
  --fs-h6:      1.25rem;   /* 20 */
  --fs-lead:    1.125rem;  /* 18 */
  --fs-body-lg: 1.0625rem; /* 17 */
  --fs-body:    1rem;      /* 16 */
  --fs-eyebrow: 0.9375rem; /* 15 */
  --fs-small:   0.875rem;  /* 14 */
  --fs-caption: 0.8125rem; /* 13 */
  --fs-tag:     0.75rem;   /* 12 */

  /* Layout — 1440 artboard, 100px side margins => 1240 content */
  --container: 1240px;
  --gutter: 24px;
  --header-h: 94px;
  --radius-btn: 10px;
  --radius-card: 20px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--c-ink); color: var(--c-cream);
  padding: 10px 16px; border-radius: var(--radius-btn);
  font-weight: var(--fw-bold); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.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;
}

/* --------------------------------------------------------------------------
   3. Type utilities (the system)
   -------------------------------------------------------------------------- */
.t-display  { font-size: var(--fs-display); line-height: .9;  font-weight: var(--fw-bold); letter-spacing: -0.01em; }
.t-stat     { font-size: var(--fs-stat);    line-height: 1;   font-weight: var(--fw-extrabold); color: var(--c-yellow); }
.t-h1       { font-size: var(--fs-h1);      line-height: 1.05; font-weight: var(--fw-bold); }
.t-h2       { font-size: var(--fs-h2);      line-height: 1.1; font-weight: var(--fw-bold); }
.t-h3       { font-size: var(--fs-h3);      line-height: 1.1; font-weight: var(--fw-bold); }
.t-h4       { font-size: var(--fs-h4);      line-height: 1.05; font-weight: var(--fw-bold); }
.t-h5       { font-size: var(--fs-h5);      line-height: 1.25; font-weight: var(--fw-bold); }
.t-h6       { font-size: var(--fs-h6);      line-height: 1.15; font-weight: var(--fw-bold); }
.t-lead     { font-size: var(--fs-lead);    line-height: 1.3; font-weight: var(--fw-semibold); }
.t-body-lg  { font-size: var(--fs-body-lg); line-height: 1.3; font-weight: var(--fw-medium); }
.t-body     { font-size: var(--fs-body);    line-height: 1.3; font-weight: var(--fw-medium); }
.t-small    { font-size: var(--fs-small);   line-height: 1.3; font-weight: var(--fw-medium); color: var(--c-gray-600); }
.t-caption  { font-size: var(--fs-caption); line-height: 1.5; font-weight: var(--fw-medium); color: var(--c-gray-700); }
.t-eyebrow  { font-size: var(--fs-eyebrow); line-height: 1.2; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .5px; color: var(--c-navy); }
.t-tag      { font-size: var(--fs-tag);     line-height: 1.2; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06px; color: var(--c-navy); }
.t-tag--green { color: var(--c-green); }
.t-ui       { font-size: var(--fs-body);    line-height: 1.5; font-weight: var(--fw-semibold); }

.t-display, .t-stat, .t-h1, .t-h2, .t-h3, .t-h4, .t-h5, .t-h6,
.t-lead, .t-body-lg, .t-body, .t-small, .t-caption, .t-eyebrow, .t-tag { margin: 0; }

.u-yellow { color: var(--c-yellow); }
.u-navy   { color: var(--c-navy); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 42px; padding: 8px 19px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: inherit; font-size: 1rem; line-height: 1.5; font-weight: var(--fw-bold);
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn img { flex: none; }

.btn--primary { background: var(--c-yellow); color: var(--c-ink); }
.btn--primary:hover { background: #f2c200; }

.btn--outline-light { border-color: var(--c-yellow); color: var(--c-cream); }
.btn--outline-light:hover { background: rgba(255, 205, 0, .12); }

.btn--outline { height: 38px; font-size: var(--fs-eyebrow); border-color: var(--c-navy); color: var(--c-navy); }
.btn--outline:hover { background: rgba(0, 38, 87, .06); }

.btn--teal { height: 38px; gap: 13px; font-size: var(--fs-eyebrow); background: var(--c-teal); color: var(--c-cream); }
.btn--teal:hover { background: var(--c-teal-dark); }

/* --------------------------------------------------------------------------
   5. Header (no navigation)
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-cream);
}

.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.site-header__brand { display: block; flex: none; }
.site-header__brand img { width: 238.5px; height: auto; }

.site-header__utils { display: flex; align-items: center; gap: 33px; }
.site-header__tools { display: flex; align-items: center; gap: 34px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 1rem; line-height: 1.5; font-weight: var(--fw-semibold);
}
.lang-toggle img { width: 16px; height: 16px; }

.search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -7.5px; }
.search-toggle img { width: 17px; height: 17px; }

/* Search panel */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-cream);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 18px 30px -18px rgba(34, 34, 34, .25);
  padding: 24px 0 28px;
}
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 12px; align-items: center; }
.search-form input {
  flex: 1; min-width: 0; height: 52px;
  padding: 0 20px;
  font: inherit; font-size: var(--fs-lead); font-weight: var(--fw-semibold); color: var(--c-ink);
  background: #fff; border: 1px solid rgba(34, 34, 34, .2); border-radius: var(--radius-btn);
}
.search-form input:focus { outline: 2px solid var(--c-navy); outline-offset: 0; border-color: transparent; }
.search-form .btn { height: 52px; }

@media (max-width: 720px) {
  :root { --header-h: 76px; }
  .site-header__brand img { width: 170px; }
  .site-header__utils { gap: 18px; }
  .site-header__tools { gap: 22px; }
  .site-header .btn--primary { height: 38px; padding: 6px 14px; font-size: .9375rem; }
}


/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--c-cream);
  padding: 77px 0 60px;
}

.site-footer__top {
  display: grid;
  /* x-offsets in Figma: 100 / 458 / 669 / 863 / 1103 */
  grid-template-columns: 1fr;
  align-items: start;
}

.site-footer__brand img { width: 238.5px; height: auto; }

.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: var(--fs-eyebrow); line-height: 1.5; font-weight: var(--fw-medium);
  text-decoration: none; white-space: nowrap;
}
.footer-links a:hover,
.site-footer__legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer__social-title { margin: 0 0 13px; font-size: 1.25rem; line-height: 1.1; font-weight: var(--fw-bold); }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; }
.social-list a { display: flex; align-items: center; justify-content: center; width: 25.39px; height: 25.39px; transition: opacity .15s; }
.social-list a:hover { opacity: .65; }
.social-list .is-instagram img { width: 24px; height: 24px; }
.social-list .is-facebook img,
.social-list .is-linkedin img { width: 25.39px; height: 25.39px; }
.social-list .is-x img { width: 21.16px; height: 21.16px; }

.site-footer__divider { border: 0; border-top: 1px solid var(--c-line); margin: 48px 0 48px; }

.site-footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.site-footer__copy { margin: 0; max-width: 605px; font-size: var(--fs-small); line-height: 1.3; font-weight: var(--fw-medium); color: var(--c-gray-600); }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; }
.site-footer__legal a { font-size: 1rem; line-height: 1; font-weight: var(--fw-medium); text-decoration: none; white-space: nowrap; }

@media (max-width: 1180px) {
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__social { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer { padding: 56px 0 44px; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__divider { margin: 48px 0 36px; }
  .site-footer__bottom { flex-direction: column-reverse; gap: 28px; }
  .site-footer__legal { gap: 14px 22px; }
}

/* --------------------------------------------------------------------------
   7. Typography page
   -------------------------------------------------------------------------- */
.page { flex: 1; }

.page-intro { padding: 72px 0 64px; border-bottom: 1px solid var(--c-line); }
.page-intro__grid { display: grid; grid-template-columns: 582px 1fr; column-gap: 159px; align-items: end; }
.page-intro__title { display: flex; flex-direction: column; gap: 24px; }
.page-intro__text { max-width: 499px; }

.ts-section { padding: 80px 0; border-bottom: 1px solid var(--c-line); }
.ts-section:last-of-type { border-bottom: 0; }
.ts-section__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 48px; max-width: 727px; }

/* Typeface block */
.typeface { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.typeface__hero {
  background: var(--c-navy); color: var(--c-cream);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 40px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.typeface__glyph { font-size: clamp(7rem, 5rem + 8vw, 13rem); line-height: .8; font-weight: var(--fw-bold); color: var(--c-yellow); }
.typeface__name { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.typeface__weights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.typeface__weights li {
  border: 1px solid var(--c-line); border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: #fff;
}
.typeface__weights .sample { font-size: 2.5rem; line-height: 1; }

/* Specimen rows */
.ts-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: -16px 0 32px; padding: 16px; border-radius: var(--radius-btn);
  background: #fff; border: 1px solid var(--c-line);
}
.ts-tools label { font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.ts-tools input[type="text"] {
  flex: 1 1 280px; min-width: 0; height: 40px; padding: 0 14px;
  font: inherit; font-size: var(--fs-body); color: var(--c-ink);
  background: var(--c-cream); border: 1px solid rgba(34, 34, 34, .18); border-radius: 8px;
}
.ts-tools .btn { height: 40px; }

.specimen { list-style: none; margin: 0; padding: 0; }
.specimen__row {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  padding: 32px 0; border-top: 1px solid var(--c-line);
  align-items: start;
}
.specimen__row:first-child { border-top: 0; padding-top: 0; }
.specimen__meta { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.specimen__name { font-size: var(--fs-small); font-weight: var(--fw-bold); }
.specimen__spec { font-size: var(--fs-caption); line-height: 1.5; color: var(--c-gray-600); font-variant-numeric: tabular-nums; }
.specimen__class {
  align-self: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
  color: var(--c-navy); background: rgba(0, 38, 87, .07); border-radius: 6px; padding: 2px 8px;
  cursor: copy; border: 0;
}
.specimen__class.is-copied { background: var(--c-yellow); color: var(--c-ink); }
.specimen__sample { min-width: 0; overflow-wrap: anywhere; }
.specimen__sample--dark { background: var(--c-navy); color: var(--c-cream); padding: 28px 32px; border-radius: var(--radius-card) 0 var(--radius-card) 0; }

/* In-context patterns */
.patterns { display: grid; grid-template-columns: 702px 1fr; column-gap: 39px; row-gap: 64px; }
.news-list { list-style: none; margin: 32px 0 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 118px 1fr; gap: 22px; align-items: center; padding: 30px 0; border-top: 1px solid var(--c-line); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-item__thumb { width: 118px; height: 89px; background: linear-gradient(135deg, #cfd8cf, #8ea79a); }
.news-item__body { display: flex; flex-direction: column; gap: 16px; }
.news-item__body .t-h6 + .t-small { margin-top: 2px; }

.event-list { list-style: none; margin: 32px 0 0; padding: 0; }
.event-item { display: grid; grid-template-columns: 47px 1fr; gap: 32px; align-items: center; padding: 26px 0; border-top: 1px solid var(--c-line); }
.event-item:first-child { border-top: 0; padding-top: 0; }
.date-block { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; line-height: 1.15; }
.date-block__month { font-size: 1.25rem; font-weight: var(--fw-semibold); text-transform: uppercase; color: var(--c-gray-650); }
.date-block__day { font-size: 2.5rem; font-weight: var(--fw-bold); line-height: .9; }
.event-item__body { display: flex; flex-direction: column; gap: 14px; }
.event-item__who { margin: 0; font-size: var(--fs-small); line-height: 1.5; font-weight: var(--fw-semibold); color: var(--c-gray-700); }
.event-item__when { margin: 0; font-size: var(--fs-caption); line-height: 1.5; font-weight: var(--fw-medium); color: var(--c-gray-700); }

.stats-band {
  background: var(--c-navy); color: var(--c-cream);
  padding: 80px 0;
}
.stats-band__title { margin: 0 0 56px; font-size: var(--fs-h5); line-height: 1.25; font-weight: var(--fw-bold); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 40px; }
.stats li { display: flex; flex-direction: column; gap: 18px; }
.stats p:last-child { margin: 0; font-size: var(--fs-lead); line-height: 1.1; font-weight: var(--fw-semibold); max-width: 233px; }

.buttons-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.buttons-row--dark { background: var(--c-navy); padding: 28px 32px; border-radius: var(--radius-card) 0 var(--radius-card) 0; }

/* Prose — WYSIWYG / rich text output */
.prose-wrap { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 40px; }
.prose { color: var(--c-ink); font-size: var(--fs-body-lg); line-height: 1.55; font-weight: var(--fw-medium); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: var(--fw-bold); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-h3); line-height: 1.1; font-weight: var(--fw-bold); margin-top: 1.5em; }
.prose h4 { font-size: var(--fs-h5); line-height: 1.25; font-weight: var(--fw-bold); margin-top: 1.4em; }
.prose h5 { font-size: var(--fs-h6); line-height: 1.15; font-weight: var(--fw-bold); margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + *, .prose h5 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose .lead { font-size: var(--fs-lead); line-height: 1.4; font-weight: var(--fw-semibold); }
.prose strong { font-weight: var(--fw-bold); }
.prose a { color: var(--c-navy); font-weight: var(--fw-semibold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--c-yellow); text-decoration-thickness: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--c-navy); }
.prose ol li::marker { color: var(--c-navy); font-weight: var(--fw-bold); }
.prose blockquote {
  margin-inline: 0; padding: 4px 0 4px 28px;
  border-left: 4px solid var(--c-yellow);
  font-size: var(--fs-h6); line-height: 1.35; font-weight: var(--fw-semibold);
}
.prose blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-gray-600); }
.prose figure figcaption { margin-top: 10px; font-size: var(--fs-caption); line-height: 1.5; color: var(--c-gray-700); }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); line-height: 1.4; }
.prose th { text-align: left; font-size: var(--fs-tag); text-transform: uppercase; letter-spacing: .06px; color: var(--c-navy); font-weight: var(--fw-bold); padding: 0 12px 10px 0; border-bottom: 2px solid var(--c-ink); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--c-line); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: rgba(0, 38, 87, .07); padding: 1px 6px; border-radius: 4px; }
.prose .img-placeholder { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #b9cbbf, #5f8a78); border-radius: var(--radius-card) 0 var(--radius-card) 0; }

/* Color chips for text colors */
.text-colors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.text-colors li { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.text-colors .chip { height: 56px; border-radius: 8px; margin-bottom: 10px; border: 1px solid rgba(0,0,0,.06); }

/* Responsive */
@media (max-width: 1180px) {
  .page-intro__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .patterns { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 80px; row-gap: 48px; }
}
@media (max-width: 860px) {
  .typeface { grid-template-columns: 1fr; }
  .specimen__row, .prose-wrap { grid-template-columns: 1fr; gap: 14px; }
  .specimen__meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
}
@media (max-width: 560px) {
  .page-intro { padding: 48px 0 44px; }
  .ts-section { padding: 56px 0; }
  .typeface__weights { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 88px 1fr; gap: 16px; }
  .news-item__thumb { width: 88px; height: 66px; }
  .event-item { gap: 20px; }
}

/* ==========================================================================
   8. Notice page (index-es.html) — comunicado institucional
   ========================================================================== */
.notice-bar { background: var(--c-navy); color: var(--c-cream); }
.notice-bar__inner { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 0; flex-wrap: wrap; }
.notice-bar__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-yellow); color: var(--c-ink);
  font-size: var(--fs-tag); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06px; line-height: 1;
  padding: 7px 10px; border-radius: 6px;
}
.notice-bar__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c0392b; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .notice-bar__tag::before { animation: none; } }
.notice-bar__text { margin: 0; font-size: var(--fs-small); font-weight: var(--fw-semibold); line-height: 1.3; }
.notice-bar__text a { color: var(--c-yellow); }

.notice-hero { padding: 72px 0 56px; }
.notice-hero__grid { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 64px; align-items: end; }
.notice-hero__title { display: flex; flex-direction: column; gap: 24px; }
.notice-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.notice-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.urgent {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--c-yellow); color: var(--c-ink);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 28px 32px;
}
.urgent__icon { width: 48px; height: 48px; }
.urgent__body { display: flex; flex-direction: column; gap: 8px; }
.urgent__body p { margin: 0; }
.btn--ink { background: var(--c-ink); color: var(--c-cream); }
.btn--ink:hover { background: #000; }

.notice-body { padding: 72px 0 80px; }
.notice-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; }

.toc { position: sticky; top: 24px; }
.toc__title { margin: 0 0 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--c-line); }
.toc a {
  display: block; padding: 8px 0 8px 16px; margin-left: -1px;
  border-left: 3px solid transparent;
  font-size: var(--fs-eyebrow); line-height: 1.3; font-weight: var(--fw-medium); color: var(--c-gray-600);
  text-decoration: none; transition: color .15s, border-color .15s;
}
.toc a:hover { color: var(--c-ink); }
.toc a.is-active { color: var(--c-navy); font-weight: var(--fw-bold); border-left-color: var(--c-yellow); }

.notice-intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.notice-intro p { margin: 0; }

.reco-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.reco {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px;
  padding: 36px 0; border-top: 1px solid var(--c-line);
  scroll-margin-top: 24px;
}
.reco:first-child { border-top: 0; padding-top: 0; }
.reco__icon {
  width: 56px; height: 56px; border-radius: 14px 0 14px 0;
  background: rgba(0, 38, 87, .07); color: var(--c-navy);
  display: flex; align-items: center; justify-content: center;
}
.reco__icon svg { width: 28px; height: 28px; }
.reco__body { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.reco__body p { margin: 0; }
.reco__body .t-body-lg { line-height: 1.55; }
.reco__alert {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-yellow);
  border-radius: 8px; padding: 12px 16px;
  font-size: var(--fs-body); line-height: 1.45; font-weight: var(--fw-semibold);
}

.drill { background: var(--c-navy); color: var(--c-cream); padding: 80px 0; }
.drill__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 56px; max-width: 727px; }
.drill__head .t-eyebrow { color: var(--c-yellow); }
.drill__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.drill__steps li { display: flex; flex-direction: column; gap: 16px; }
.drill__steps .t-stat { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); line-height: .95; }
.drill__steps li p:last-child { margin: 0; font-size: var(--fs-lead); line-height: 1.3; font-weight: var(--fw-semibold); }
.drill__after { grid-column: 1 / -1; flex-direction: row !important; align-items: baseline; gap: 24px !important; border-top: 1px solid rgba(248, 245, 242, .25); padding-top: 32px; }
.drill__after .t-h5 { color: var(--c-cream); }

.contacts { padding: 80px 0; }
.contacts__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 40px; max-width: 727px; }
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.contact-card p { margin: 0; }
.contact-card__lines { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 8px; }
.contact-card__lines a, .contact-card__lines span { font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-semibold); color: var(--c-navy); text-decoration: none; }
.contact-card__lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-card--emergency { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.contact-card--emergency .t-tag { color: var(--c-yellow); }
.contact-card--emergency .t-body { color: rgba(248, 245, 242, .85); }
.contact-card__number { font-size: var(--fs-stat); line-height: 1; font-weight: var(--fw-extrabold); color: var(--c-yellow); text-decoration: none; }
.tbd {
  display: inline-flex; align-self: flex-start; gap: 6px; align-items: center;
  font-size: var(--fs-tag); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06px;
  color: #8a5a00; background: rgba(255, 205, 0, .22); border: 1px dashed #c99a00; border-radius: 6px; padding: 4px 8px;
}

.closing { padding: 0 0 96px; }
.closing__box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  border-top: 2px solid var(--c-ink); padding-top: 40px;
}
.closing__box p { margin: 0; max-width: 760px; }
.closing__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.share-status { font-size: var(--fs-small); color: var(--c-green); font-weight: var(--fw-semibold); min-height: 1.3em; margin-top: 8px; }

@media (max-width: 1180px) {
  .notice-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .notice-hero__actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .notice-layout { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .toc a { border: 1px solid var(--c-line); border-radius: 999px; padding: 6px 14px; margin: 0; background: #fff; font-size: var(--fs-small); }
  .toc a.is-active { border-color: var(--c-navy); }
  .urgent { grid-template-columns: 1fr; gap: 16px; }
  .closing__box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .notice-hero { padding: 48px 0 40px; }
  .notice-body, .contacts, .drill { padding: 56px 0; }
  .reco { grid-template-columns: 1fr; gap: 16px; }
  .drill__steps { grid-template-columns: 1fr; gap: 28px; }
  .drill__after { flex-direction: column !important; gap: 12px !important; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header__utils, .search-panel, .notice-bar, .toc, .notice-hero__actions, .closing__actions, .skip-link { display: none !important; }
  body { background: #fff; }
  .notice-layout { grid-template-columns: 1fr; }
  .drill { background: #fff; color: var(--c-ink); border: 2px solid var(--c-ink); }
  .drill .t-stat { color: var(--c-ink); }
  .reco, .contact-card { break-inside: avoid; }
}

/* ==========================================================================
   9. Notice page — contact & resource components (ES + EN)
   ========================================================================== */
.phone-list { display: flex; flex-wrap: wrap; gap: 10px; }
.phone-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 8px 16px;
  border-radius: var(--radius-btn); background: var(--c-ink); color: var(--c-cream);
  font-size: 1rem; font-weight: var(--fw-bold); text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.phone-btn:hover { background: #000; }
.phone-btn svg { width: 16px; height: 16px; flex: none; }
.phone-btn--light { background: var(--c-yellow); color: var(--c-ink); }
.phone-btn--light:hover { background: #f2c200; }

.urgent--stack { grid-template-columns: auto 1fr; }
.urgent--stack .phone-list { grid-column: 2; }

.section-block { padding: 72px 0; border-top: 1px solid var(--c-line); scroll-margin-top: 24px; }
.section-block:first-child { border-top: 0; padding-top: 0; }
.section-block__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; max-width: 760px; }
.section-block__head p { margin: 0; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.panel {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.panel p { margin: 0; }
.panel--dark { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-cream); }
.panel--dark .t-tag { color: var(--c-yellow); }
.panel--dark .t-body, .panel--dark .t-body-lg { color: rgba(248, 245, 242, .9); }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 26px; font-size: var(--fs-body); line-height: 1.45; font-weight: var(--fw-medium); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px;
  border-radius: 3px 0 3px 0; background: var(--c-yellow);
}
.check-list strong { font-weight: var(--fw-bold); }
.panel--dark .check-list li { color: var(--c-cream); }

.stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.stepper li { position: relative; padding: 0 0 22px 32px; font-size: var(--fs-body); line-height: 1.45; }
.stepper li:last-child { padding-bottom: 0; }
.stepper li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--c-navy); background: #fff; box-sizing: border-box;
}
.stepper li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 16px); bottom: 4px; width: 2px; background: var(--c-line); }
.stepper li:last-child::after { display: none; }
.stepper strong { display: block; font-weight: var(--fw-bold); margin-bottom: 2px; }
.stepper a, .panel a.inline { color: var(--c-navy); font-weight: var(--fw-semibold); text-underline-offset: 3px; overflow-wrap: anywhere; }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.person { display: flex; flex-direction: column; gap: 10px; }
.person__lines { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 10px; }
.person__lines a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-semibold); color: var(--c-navy); text-decoration: none;
  overflow-wrap: anywhere;
}
.person__lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.person__lines svg { width: 15px; height: 15px; flex: none; }
.panel--dark .person__lines a { color: var(--c-yellow); }

.def-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; font-size: var(--fs-body); line-height: 1.45; }
.def-list dt { font-weight: var(--fw-bold); }
.def-list dd { margin: 0; font-weight: var(--fw-medium); overflow-wrap: anywhere; }
.def-list a { color: var(--c-navy); font-weight: var(--fw-semibold); text-underline-offset: 3px; }

.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-body-lg); line-height: 1.3; font-weight: var(--fw-bold); color: var(--c-ink); text-decoration: none;
}
.link-list a:hover { color: var(--c-navy); }
.link-list a:hover img { transform: translateX(4px); }
.link-list img { transition: transform .15s ease; flex: none; }
.link-list .meta { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-gray-600); }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid var(--c-yellow); background: #fff; border-radius: 8px; font-size: var(--fs-body); line-height: 1.45; font-weight: var(--fw-semibold); }

.support-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  background: var(--c-teal-dark); color: var(--c-cream);
  border-radius: var(--radius-card) 0 var(--radius-card) 0; padding: 40px;
}
.support-band p { margin: 0; }
.support-band .t-eyebrow { color: var(--c-cream); opacity: .85; margin-bottom: 14px; }
.btn--cream { background: var(--c-cream); color: var(--c-ink); }
.btn--cream:hover { background: #fff; }

@media (max-width: 1180px) {
  .people { grid-template-columns: 1fr 1fr; }
  .people .person:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .duo, .people { grid-template-columns: 1fr; }
  .support-band { grid-template-columns: 1fr; padding: 28px; }
  .urgent--stack { grid-template-columns: 1fr; }
  .urgent--stack .phone-list { grid-column: auto; }
}
@media (max-width: 560px) {
  .panel { padding: 24px; }
  .section-block { padding: 56px 0; }
  .def-list { grid-template-columns: 1fr; gap: 2px; }
  .def-list dd { margin-bottom: 10px; }
  .phone-list .phone-btn { flex: 1 1 100%; justify-content: center; }
}
.urgent .phone-btn--light { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 2px var(--c-ink); }
.urgent .phone-btn--light:hover { background: rgba(34, 34, 34, .08); }

/* ==========================================================================
   10. Earthquake page — strict source layout (ES/EN)
   ========================================================================== */
.panel--dark a.tel { color: var(--c-yellow); font-weight: var(--fw-bold); text-decoration: none; white-space: nowrap; }
.panel--dark a.tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.eap-group { display: flex; flex-direction: column; gap: 20px; }
.eap-group__people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eap-group__people .person { display: flex; flex-direction: column; gap: 8px; }
.people--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.flyer { margin: 0; display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 40px; align-items: start; }
.flyer a.flyer__img { display: block; border-radius: var(--radius-card) 0 var(--radius-card) 0; overflow: hidden; border: 1px solid var(--c-line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.flyer a.flyer__img:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(34, 34, 34, .35); }
.flyer__img img { width: 100%; height: auto; }
@media (max-width: 960px) {
  .flyer { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 860px) {
  .people--split, .eap-group__people { grid-template-columns: 1fr; }
}

/* ==========================================================================
   11. Earthquake hero — yellow band + emergency call card
   ========================================================================== */
.eq-hero {
  position: relative; overflow: hidden;
  background: var(--c-yellow); color: var(--c-ink);
}
.eq-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
  padding: 80px 0 96px;
}
.eq-hero__title { display: flex; flex-direction: column; gap: 24px; }
.eq-hero__title .t-display { font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4rem); line-height: .98; }
.eq-hero__title .t-lead { max-width: 520px; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.35; font-weight: var(--fw-semibold); }

.eq-hero__wave {
  position: absolute; left: 0; right: 0; bottom: 18px; height: 90px; width: 100%;
  color: var(--c-ink); opacity: .12; pointer-events: none;
}

.call-card {
  background: var(--c-ink); color: var(--c-cream);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 32px 32px 12px;
  box-shadow: 0 30px 60px -30px rgba(34, 34, 34, .55);
}
.call-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.call-card__badge {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #e5484d; color: #fff;
}
.call-card__badge svg { width: 24px; height: 24px; }
.call-card__title { margin: 0; font-size: var(--fs-h5); line-height: 1.15; font-weight: var(--fw-bold); }
.call-card__sub { margin: 0 0 18px 54px; font-size: var(--fs-body); line-height: 1.4; font-weight: var(--fw-medium); color: rgba(248, 245, 242, .75); }

.call-list { list-style: none; margin: 0; padding: 0; }
.call-list li + li { border-top: 1px solid rgba(248, 245, 242, .14); }
.call-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px; color: var(--c-cream); text-decoration: none;
  border-radius: 10px; transition: background-color .15s ease;
}
.call-link:hover { background: rgba(248, 245, 242, .06); }
.call-link__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-yellow); color: var(--c-ink);
}
.call-link__icon svg { width: 20px; height: 20px; }
.call-link__num { flex: 1; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.call-link__go { flex: none; opacity: .55; transition: transform .15s ease, opacity .15s ease; }
.call-link__go svg { width: 22px; height: 12px; display: block; }
.call-link:hover .call-link__go { opacity: 1; transform: translateX(4px); }

@media (max-width: 960px) {
  .eq-hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 72px; }
}
@media (max-width: 560px) {
  .call-card { padding: 24px 20px 8px; }
  .call-card__sub { margin-left: 0; margin-top: 10px; }
  .call-link { padding: 16px 0; }
}

/* ==========================================================================
   12. Accessibility (WCAG 2.1 AA)
   ========================================================================== */
/* 1.4.3 — teal button: #F8F5F2 on #009AAF is 3.09:1; #006D7C gives 5.6:1 */
.btn--teal { background: var(--c-teal-dark); }
.btn--teal:hover { background: #005763; }

/* 2.4.7 / 1.4.11 — focus ring stays visible on dark surfaces */
.call-card :focus-visible,
.panel--dark :focus-visible,
.stats-band :focus-visible,
.buttons-row--dark :focus-visible,
.specimen__sample--dark :focus-visible { outline-color: var(--c-yellow); }
.eq-hero :focus-visible { outline-color: var(--c-ink); }
.skip-link:focus-visible { outline-color: var(--c-yellow); }

/* 1.4.12 — let controls grow when users increase text spacing */
.btn, .phone-btn { height: auto; min-height: 42px; }
.btn--outline, .btn--teal, .ts-tools .btn { min-height: 38px; }
.specimen__class { min-height: 24px; }

/* 2.5.8 — minimum target size */
.lang-toggle { min-height: 32px; padding: 0 2px; text-decoration: none; color: inherit; }
.lang-toggle:hover span:not(.sr-only) { text-decoration: underline; text-underline-offset: 3px; }

/* Flyer text alternative (1.1.1) */
.flyer figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.flyer-text { width: 100%; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; }
.flyer-text summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--c-navy); min-height: 48px;
}
.flyer-text summary::-webkit-details-marker { display: none; }
.flyer-text summary::after { content: "+"; font-size: 1.4rem; line-height: 1; font-weight: var(--fw-semibold); }
.flyer-text[open] summary::after { content: "–"; }
.flyer-text__body { padding: 4px 18px 20px; font-size: var(--fs-body); line-height: 1.5; }
.flyer-text__body h3 { margin: 18px 0 6px; font-size: var(--fs-body-lg); line-height: 1.3; font-weight: var(--fw-bold); }
.flyer-text__body p { margin: 0 0 8px; }
.flyer-text__body ul, .flyer-text__body ol { margin: 0; padding-left: 1.2em; }
.flyer-text__body li + li { margin-top: 4px; }
.flyer-text__body .credit { margin-top: 16px; font-size: var(--fs-small); color: var(--c-gray-600); }

/* 2.3.3 / user preference — minimize motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   13. Emotional-support feature (flyer)
   ========================================================================== */
.support-feature {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 40px; align-items: center;
  margin-top: 36px;
  padding: 48px;
  background: var(--c-teal-dark); color: var(--c-cream);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
}
.support-feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 205, 0, .18), transparent 55%);
}
.support-feature__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.support-feature__text .t-h2 { color: var(--c-cream); max-width: 12ch; }
.support-feature :focus-visible { outline-color: var(--c-yellow); }

.support-feature__flyer {
  position: relative; display: block; margin: -88px 0 -88px;
  background: #fff; padding: 8px; border-radius: 12px;
  box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.support-feature__flyer img { width: 100%; height: auto; border-radius: 6px; }
.support-feature__flyer:hover { transform: translateY(-4px); box-shadow: 0 36px 60px -24px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .12); }

.support-feature + .flyer-text { margin-top: 112px; }

@media (max-width: 860px) {
  .support-feature { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .support-feature__text .t-h2 { max-width: none; }
  .support-feature__flyer { margin: 0 auto; max-width: 340px; order: -1; }
  .support-feature + .flyer-text { margin-top: 24px; }
}
/* 1.4.10 — grid children may shrink below their content's min width */
.notice-layout > *, .duo > *, .people > * { min-width: 0; }
.panel, .t-h2, .t-h3, .t-h4 { overflow-wrap: break-word; hyphens: auto; }
.eq-hero .call-card :focus-visible { outline-color: var(--c-yellow); outline-offset: 2px; }
.support-feature__text .t-h2 { max-width: 16ch; }
/* Phone numbers with (507) prefix stay on one line */
.call-link__num { white-space: nowrap; }
@media (max-width: 560px) {
  .call-link { gap: 12px; }
  .call-link__icon { width: 36px; height: 36px; }
  .call-link__icon svg { width: 17px; height: 17px; }
  .call-link__go { display: none; }
  .call-link__num { font-size: clamp(1.0625rem, 5.6vw, 1.5rem); }
}

/* ==========================================================================
   14. Earthquake guide feature, INOVA access, video
   ========================================================================== */
.guide-feature {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  padding: 36px;
}
.guide-feature__cover {
  display: block; border-radius: 6px; overflow: hidden;
  box-shadow: 0 18px 36px -18px rgba(34, 34, 34, .45), 0 1px 3px rgba(34, 34, 34, .15);
  transition: transform .2s ease;
}
.guide-feature__cover:hover { transform: translateY(-3px); }
.guide-feature__cover img { width: 100%; height: auto; }
.guide-feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.guide-feature__body p { margin: 0; }
.guide-feature__sub { font-size: var(--fs-lead); line-height: 1.3; font-weight: var(--fw-semibold); color: var(--c-teal-dark); }
.guide-feature__meta { font-size: var(--fs-small); color: var(--c-gray-600); font-weight: var(--fw-semibold); }
.guide-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.text-link { color: var(--c-navy); font-weight: var(--fw-semibold); text-underline-offset: 3px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 109, 124, .1); color: var(--c-teal-dark); font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.2; }
.pill svg { width: 15px; height: 15px; }
.def-list .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; font-weight: 600; letter-spacing: .02em; }

.video-block { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.video-block p { margin: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--c-ink); border-radius: var(--radius-card) 0 var(--radius-card) 0; overflow: hidden; margin-top: 6px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 720px) {
  .guide-feature { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .guide-feature__cover { max-width: 180px; }
}

/* ==========================================================================
   15. "On this page" index
   ========================================================================== */
.toc__title { margin: 0 0 12px; }
.toc__icon { display: none; }

@media (max-width: 960px) {
  .toc {
    background: #fff; border: 1px solid var(--c-line);
    border-radius: var(--radius-card) 0 var(--radius-card) 0;
    padding: 22px 22px 6px;
    box-shadow: 0 12px 28px -20px rgba(34, 34, 34, .35);
  }
  .toc__title {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 6px; padding-bottom: 14px; border-bottom: 2px solid var(--c-ink);
    font-size: var(--fs-tag); letter-spacing: .06em;
  }
  .toc__icon { display: inline-flex; width: 28px; height: 28px; border-radius: 8px 0 8px 0; align-items: center; justify-content: center; background: var(--c-yellow); color: var(--c-ink); }
  .toc__icon svg { width: 16px; height: 16px; }
  .toc ol { display: block; border: 0; margin: 0; padding: 0; }
  .toc li + li { border-top: 1px solid var(--c-line); }
  .toc a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 52px; padding: 12px 2px; margin: 0;
    border: 0; border-radius: 0; background: none;
    font-size: var(--fs-body); line-height: 1.3; font-weight: var(--fw-semibold); color: var(--c-ink);
  }
  .toc a::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
    border-right: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy);
    transform: rotate(45deg) translate(-2px, -2px);
  }
  .toc a:hover, .toc a:focus-visible { color: var(--c-navy); }
  .toc a.is-active { color: var(--c-ink); font-weight: var(--fw-semibold); border-left: 0; }
}

/* ==========================================================================
   16. Contact panels — spacing rhythm
   ========================================================================== */
#contact .duo { gap: 28px; }
#contact .panel { padding: 44px 40px 40px; gap: 0; }
#contact .panel > .t-h4 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); line-height: 1.15; margin: 0 0 16px; }
#contact .panel > .t-body-lg { line-height: 1.5; margin: 0; }
#contact .panel > .check-list,
#contact .panel > .stepper { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--c-line); }
#contact .panel--dark > .check-list { border-top-color: rgba(248, 245, 242, .18); }

#contact .check-list { gap: 18px; }
#contact .check-list li { line-height: 1.55; padding-left: 28px; }
#contact .check-list li::before { top: .45em; }

#contact .stepper li { line-height: 1.55; padding: 0 0 30px 34px; }
#contact .stepper li:last-child { padding-bottom: 0; }
#contact .stepper li::before { top: .32em; }
#contact .stepper li::after { top: calc(.32em + 18px); bottom: 6px; }
#contact .stepper strong { margin-bottom: 6px; line-height: 1.35; }

@media (max-width: 860px) {
  #contact .duo { gap: 20px; }
  #contact .panel { padding: 32px 24px 28px; }
  #contact .panel > .t-h4 { margin-bottom: 14px; }
  #contact .panel > .check-list,
  #contact .panel > .stepper { margin-top: 24px; padding-top: 24px; }
  #contact .check-list { gap: 16px; }
  #contact .stepper li { padding-bottom: 26px; padding-left: 30px; }
}
/* Damage report (IGC-UP form): full-width panel under the guide */
.panel--report { margin-top: 28px; padding: 44px 40px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.panel--report .t-h4 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); line-height: 1.15; margin: 0 0 16px; }
.panel--report .t-body-lg { line-height: 1.5; }
.panel--report__body { display: flex; flex-direction: column; gap: 18px; }
.panel--report__body .t-body { line-height: 1.55; }
.panel--report__action { margin: 4px 0 0; }
@media (max-width: 860px) {
  .panel--report { margin-top: 20px; padding: 32px 24px 28px; grid-template-columns: 1fr; gap: 24px; }
}
/* Index rows: link arrow instead of a chevron (avoids an accordion look) */
@media (max-width: 960px) {
  .toc a::after {
    width: 20px; height: 11px; margin-right: 2px; border: 0; transform: none;
    background: url("../img/icon-arrow-navy.svg") center / contain no-repeat;
    transition: transform .15s ease;
  }
  .toc a:hover::after { transform: translateX(3px); }
}

/* ==========================================================================
   17. External links — diagonal arrow + news source cards
   ========================================================================== */
.link-list img.ext { width: 16px; height: 16px; }
.link-list a:hover img.ext { transform: translate(2px, -2px); }

.source-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.source-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.source-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 118px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px 0 14px 0;
  color: var(--c-ink); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.source-card:hover { border-color: var(--c-navy); box-shadow: 0 14px 28px -20px rgba(0, 38, 87, .45); transform: translateY(-2px); }
.source-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-card__domain { font-size: var(--fs-tag); line-height: 1.2; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; color: var(--c-gray-600); overflow-wrap: anywhere; }
.source-card__icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 38, 87, .07); transition: background-color .15s ease;
}
.source-card__icon img { width: 14px; height: 14px; transition: transform .15s ease; }
.source-card:hover .source-card__icon { background: var(--c-yellow); }
.source-card:hover .source-card__icon img { transform: translate(1px, -1px); }
.source-card__title { font-size: var(--fs-lead); line-height: 1.25; font-weight: var(--fw-bold); }
.source-card--national .source-card__title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }

.news-group + .news-group { margin-top: 44px; }
.news-group__title { margin: 0 0 18px; }

@media (max-width: 860px) {
  .source-grid, .source-grid--3 { grid-template-columns: 1fr; gap: 12px; }
  .source-card { min-height: 0; flex-direction: row-reverse; align-items: center; justify-content: space-between; }
  .source-card__top { flex-direction: column; align-items: flex-end; }
  .source-card__domain { display: none; }
  .source-card__body { display: flex; flex-direction: column; gap: 4px; }
  .source-card__body .source-card__domain--inline { display: block; }
}
.source-card__domain--inline { display: none; }

/* ==========================================================================
   18. "What to do in an earthquake" — 3 steps band
   ========================================================================== */
.steps-band { background: var(--c-navy); color: var(--c-cream); padding: 72px 0 64px; scroll-margin-top: 0; }
.steps-band :focus-visible { outline-color: var(--c-yellow); }
.steps-band__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; max-width: 760px; }
.steps-band__head .t-eyebrow { color: var(--c-yellow); }
.steps-band__head .t-h2 { color: var(--c-cream); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 28px;
  background: rgba(248, 245, 242, .06); border: 1px solid rgba(248, 245, 242, .16);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -24px; z-index: 1;
  width: 20px; height: 20px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23FFCD00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.step__icon {
  width: 64px; height: 64px; border-radius: 16px 0 16px 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-yellow); color: var(--c-ink);
}
.step__icon svg { width: 34px; height: 34px; }
.step__label { margin: 6px 0 0; font-size: var(--fs-tag); line-height: 1.2; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--c-yellow); }
.step__title { margin: 0; font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem); line-height: 1.15; font-weight: var(--fw-bold); color: var(--c-cream); }
.step ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(248, 245, 242, .16); display: flex; flex-direction: column; gap: 10px; }
.step li { position: relative; padding-left: 18px; font-size: var(--fs-body); line-height: 1.5; color: rgba(248, 245, 242, .92); }
.step li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-yellow); }
.step__phones { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; border: 0 !important; }
.step__phones li { padding: 0; }
.step__phones li::before { display: none; }
.step__phones a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 14px 6px 8px;
  border-radius: 999px; background: var(--c-yellow); color: var(--c-ink);
  font-size: 1.0625rem; font-weight: var(--fw-bold); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.step__phones a:hover { background: #f2c200; }
.step__phones svg { width: 16px; height: 16px; flex: none; }
.step__note { margin: 4px 0 0; font-size: var(--fs-small); line-height: 1.45; color: rgba(248, 245, 242, .8); }

.steps-band__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 28px; padding: 18px 22px;
  border: 1px solid rgba(255, 205, 0, .45); border-radius: 12px; background: rgba(255, 205, 0, .08);
}
.steps-band__foot p { margin: 0; display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-body); line-height: 1.5; max-width: 760px; }
.steps-band__foot p svg { flex: none; width: 24px; height: 24px; color: var(--c-yellow); margin-top: 1px; }
.steps-band__foot strong { color: var(--c-yellow); }
.steps-band__foot a { color: var(--c-cream); font-weight: var(--fw-bold); text-underline-offset: 3px; white-space: nowrap; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step:not(:last-child)::after { top: auto; bottom: -27px; right: auto; left: 50%; transform: translateX(-50%) rotate(90deg); }
}
@media (max-width: 560px) {
  .steps-band { padding: 56px 0 48px; }
  .step { padding: 24px 20px; }
  .step__icon { width: 56px; height: 56px; }
}
.step .step__phones { padding: 0; margin-top: 6px; }

/* Steps block inside the content column */
.steps-section .steps-band { padding: 44px 40px 40px; border-radius: var(--radius-card) 0 var(--radius-card) 0; }
.steps-section .steps-band__head { margin-bottom: 32px; }
.steps-section .steps { gap: 24px; }
.steps-section .step { padding: 26px 22px 24px; }
.steps-section .step:not(:last-child)::after { right: -22px; }
@media (max-width: 1180px) {
  .steps-section .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps-section .step:not(:last-child)::after { top: auto; bottom: -26px; right: auto; left: 50%; transform: translateX(-50%) rotate(90deg); }
}
@media (max-width: 560px) {
  .steps-section .steps-band { padding: 32px 18px 24px; }
  .steps-section .step { padding: 22px 18px; }
}

/* ==========================================================================
   19. Steps block — row layout with timeline (replaces the 3-column cards)
   ========================================================================== */
.steps-section .steps-band { padding: 52px 52px 44px; }
.steps-section .steps-band__head { margin-bottom: 12px; }
.steps-section .steps { display: block; }
.steps-section .step {
  display: grid; grid-template-columns: 64px minmax(0, 15rem) minmax(0, 1fr); column-gap: 28px; align-items: start;
  padding: 32px 0; background: none; border: 0; border-radius: 0;
  border-top: 1px solid rgba(248, 245, 242, .16);
}
.steps-section .step:first-child { border-top: 0; }
.steps-section .step:not(:last-child)::after {
  /* vertical timeline joining the icons */
  content: ""; position: absolute; left: 31px; top: 104px; bottom: -32px; right: auto;
  width: 2px; height: auto; transform: none; background: rgba(255, 205, 0, .35);
}
.steps-section .step__icon { width: 64px; height: 64px; position: relative; z-index: 1; }
.steps-section .step__head { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.steps-section .step__label { margin: 0; }
.steps-section .step__title { font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem); line-height: 1.15; }
.steps-section .step__body { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.steps-section .step__body > p { margin: 0; }
.steps-section .step__body > ul:not(.step__phones) { margin: 0; padding: 0; border: 0; gap: 12px; }
.steps-section .step li { font-size: var(--fs-body-lg); line-height: 1.5; }
.steps-section .step .step__phones { flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 0; }
.steps-section .step__note { margin: 0; font-size: var(--fs-body); }
.steps-section .steps-band__foot { margin-top: 12px; }

@media (max-width: 1180px) {
  .steps-section .step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 16px; }
  .steps-section .step__icon { width: 56px; height: 56px; grid-row: span 2; }
  .steps-section .step__body { grid-column: 2; padding-top: 0; }
  .steps-section .step:not(:last-child)::after { left: 27px; top: 96px; bottom: -32px; transform: none; }
}
@media (max-width: 560px) {
  .steps-section .steps-band { padding: 36px 20px 24px; }
  .steps-section .step { grid-template-columns: 1fr; padding: 28px 0; row-gap: 14px; }
  .steps-section .step__icon { grid-row: auto; width: 52px; height: 52px; }
  .steps-section .step__body { grid-column: 1; }
  .steps-section .step:not(:last-child)::after { display: none; }
  .steps-section .step li { font-size: var(--fs-body); }
}

/* ==========================================================================
   20. INOVA access card
   ========================================================================== */
.inova-card { padding: 36px; gap: 28px; }
.inova-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.inova-card__head .t-h6 { margin: 0; font-size: var(--fs-h5); line-height: 1.2; }
.inova-card__head .pill-row { margin: 0; }
.inova-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.access-method {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: 14px 0 14px 0;
  background: var(--c-cream); border: 1px solid var(--c-line);
}
.access-method__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--c-navy); }
.access-method__icon { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c-navy); color: var(--c-cream); }
.access-method__icon svg { width: 15px; height: 15px; }

.access-call, .access-link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label icon" "num icon"; align-items: center; column-gap: 12px;
  padding: 12px 14px; min-height: 64px; border-radius: 10px;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.access-call:hover, .access-link:hover { border-color: var(--c-navy); box-shadow: 0 10px 22px -18px rgba(0, 38, 87, .5); }
.access-call__label { grid-area: label; font-size: var(--fs-small); line-height: 1.3; font-weight: var(--fw-semibold); color: var(--c-gray-600); }
.access-call__num { grid-area: num; font-size: 1.25rem; line-height: 1.25; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; color: var(--c-navy); white-space: nowrap; }
.access-call__icon { grid-area: icon; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-yellow); color: var(--c-ink); }
.access-call__icon svg { width: 18px; height: 18px; }
.access-link__url { grid-area: num; font-size: 1.125rem; line-height: 1.25; font-weight: var(--fw-bold); color: var(--c-navy); overflow-wrap: anywhere; }
.access-link > img { grid-area: icon; width: 16px; height: 16px; margin-right: 12px; transition: transform .15s ease; }
.access-link:hover > img { transform: translate(2px, -2px); }

.access-field {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 14px; min-height: 64px; border-radius: 10px;
  background: #fff; border: 1px dashed rgba(34, 34, 34, .22);
}
.access-field__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.access-field__label { font-size: var(--fs-small); line-height: 1.3; font-weight: var(--fw-semibold); color: var(--c-gray-600); }
.access-field__value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.125rem; line-height: 1.3; font-weight: 700; letter-spacing: .03em; color: var(--c-ink); overflow-wrap: anywhere; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--c-navy); color: var(--c-navy); background: #fff;
  font: inherit; font-size: var(--fs-small); font-weight: var(--fw-bold); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { background: var(--c-navy); color: var(--c-cream); }
.copy-btn.is-copied { background: var(--c-green); border-color: var(--c-green); color: #fff; }

@media (max-width: 1180px) { .inova-card__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .inova-card { padding: 24px 18px; }
  .access-method { padding: 16px; }
  .inova-card__head .pill-row { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   21. Steps block — mobile refinements
   ========================================================================== */
@media (max-width: 560px) {
  .steps-section .steps-band {
    margin-inline: calc(-1 * var(--gutter));
    border-radius: 0;
    padding: 44px var(--gutter) 32px;
  }
  .steps-section .steps-band__head { gap: 12px; margin-bottom: 8px; }
  .steps-section .steps-band__head .t-h2 { font-size: 1.875rem; line-height: 1.1; }

  .steps-section .step {
    grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 16px;
    padding: 26px 0;
  }
  .steps-section .step__icon { width: 48px; height: 48px; border-radius: 12px 0 12px 0; grid-row: auto; }
  .steps-section .step__icon svg { width: 26px; height: 26px; }
  .steps-section .step__head { align-self: center; gap: 6px; padding-top: 0; }
  .steps-section .step__label { font-size: .6875rem; }
  .steps-section .step__title { font-size: 1.3125rem; line-height: 1.15; }
  .steps-section .step__body { grid-column: 1 / -1; gap: 14px; }
  .steps-section .step li { font-size: var(--fs-body); line-height: 1.5; padding-left: 20px; }
  .steps-section .step li::before { top: .6em; }

  .steps-section .step .step__phones { flex-direction: column; gap: 10px; }
  .steps-section .step .step__phones li { padding: 0; }
  .steps-section .step__phones a {
    display: flex; width: 100%; min-height: 52px; padding: 8px 18px;
    border-radius: 12px; font-size: 1.1875rem;
  }
  .steps-section .step__phones svg { width: 18px; height: 18px; }
  .steps-section .step__note { font-size: var(--fs-small); }

  .steps-section .steps-band__foot { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px; margin-top: 6px; }
  .steps-section .steps-band__foot p { gap: 10px; font-size: var(--fs-small); }
  .steps-section .steps-band__foot p svg { width: 22px; height: 22px; }
  .steps-section .steps-band__foot a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
    border: 1px solid rgba(248, 245, 242, .5); border-radius: 10px; text-decoration: none;
  }
  .steps-section .steps-band__foot a:hover { background: rgba(248, 245, 242, .08); }
}

/* ==========================================================================
   22. Video block — text hierarchy
   ========================================================================== */
.video-block { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--c-line); gap: 0; max-width: 820px; }
.video-block__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.video-block__head .t-tag { margin: 0; }
.video-block__title { margin: 0; font-size: var(--fs-h4); line-height: 1.1; font-weight: var(--fw-bold); color: var(--c-ink); }
.video-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.video-meta li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: rgba(0, 38, 87, .07); color: var(--c-navy);
  font-size: var(--fs-small); line-height: 1.2; font-weight: var(--fw-semibold);
}
.video-meta svg { width: 15px; height: 15px; flex: none; }
.video-block__text { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; max-width: 70ch; }
.video-block__text .t-body-lg { line-height: 1.55; }
.video-block__note { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--c-gray-600); }
.video-block .video-embed { margin-top: 0; }
.video-block__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; align-self: flex-start;
  color: var(--c-navy); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px;
}
.video-block__link img { width: 14px; height: 14px; transition: transform .15s ease; }
.video-block__link:hover img { transform: translate(2px, -2px); }
@media (max-width: 560px) {
  .video-block { margin-top: 40px; padding-top: 36px; }
  .video-block__title { font-size: 1.625rem; }
}

/* ==========================================================================
   23. Emotional support feature — calmer palette (matches the flyer's blues)
   ========================================================================== */
.support-feature {
  --sf-bg: #E4EEF8;
  --sf-bg-2: #D3E3F3;
  background: linear-gradient(135deg, var(--sf-bg) 0%, var(--sf-bg-2) 100%);
  color: var(--c-ink);
  border: 1px solid rgba(0, 38, 87, .10);
}
.support-feature::before {
  background:
    radial-gradient(60% 80% at 82% 50%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(0, 38, 87, .06), transparent 70%);
}
.support-feature__text .t-h2 { color: var(--c-navy); }
.support-feature :focus-visible { outline-color: var(--c-navy); }
.support-feature .btn--primary { background: var(--c-navy); color: var(--c-cream); }
.support-feature .btn--primary:hover { background: #001a3d; }
.support-feature__flyer { box-shadow: 0 30px 50px -24px rgba(0, 38, 87, .45), 0 2px 6px rgba(0, 38, 87, .12); }

/* Video title at the same size as the section headings */
.video-block__title { font-size: var(--fs-h2); line-height: 1.1; }
@media (max-width: 560px) { .video-block__title { font-size: var(--fs-h2); } }

/* Emotional support feature — site navy */
.support-feature {
  background: var(--c-navy);
  color: var(--c-cream);
  border: 0;
}
.support-feature::before {
  background:
    radial-gradient(55% 75% at 84% 50%, rgba(255, 255, 255, .12), transparent 70%),
    radial-gradient(45% 70% at 0% 0%, rgba(255, 205, 0, .10), transparent 70%);
}
.support-feature__text .t-h2 { color: var(--c-cream); }
.support-feature :focus-visible { outline-color: var(--c-yellow); }
.support-feature .btn--primary { background: var(--c-yellow); color: var(--c-ink); }
.support-feature .btn--primary:hover { background: #f2c200; }
.support-feature__flyer { box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .2); }

/* ==========================================================================
   24. INOVA access card — navy background
   ========================================================================== */
.inova-card { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-cream); }
.inova-card :focus-visible { outline-color: var(--c-yellow); }
.inova-card__head .t-h6 { color: var(--c-cream); }
.inova-card .pill { background: rgba(255, 205, 0, .14); color: var(--c-yellow); }

.inova-card .access-method { background: rgba(248, 245, 242, .06); border-color: rgba(248, 245, 242, .16); }
.inova-card .access-method__title { color: var(--c-yellow); }
.inova-card .access-method__icon { background: var(--c-yellow); color: var(--c-ink); }

.inova-card .access-call,
.inova-card .access-link { background: rgba(248, 245, 242, .08); border-color: rgba(248, 245, 242, .18); color: var(--c-cream); }
.inova-card .access-call:hover,
.inova-card .access-link:hover { background: rgba(248, 245, 242, .14); border-color: var(--c-yellow); box-shadow: none; }
.inova-card .access-call__label,
.inova-card .access-field__label { color: rgba(248, 245, 242, .75); }
.inova-card .access-call__num,
.inova-card .access-link__url { color: #fff; }

.inova-card .access-field { background: transparent; border-color: rgba(248, 245, 242, .32); }
.inova-card .access-field__value { color: #fff; }
.inova-card .copy-btn { background: transparent; border-color: var(--c-yellow); color: var(--c-yellow); }
.inova-card .copy-btn:hover { background: var(--c-yellow); color: var(--c-ink); }
.inova-card .copy-btn.is-copied { background: #2e8b57; border-color: #2e8b57; color: #fff; }

/* ==========================================================================
   25. Fade-up reveal on scroll (progressive enhancement)
   Only active when JS adds .js-reveal to <html>; content is visible otherwise.
   ========================================================================== */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
