/* ==========================================================================
   Valemont Education — Q4 2026 course prospectus
   Warm education / course prospectus identity.
   Palette: warm paper, ink, coral, mint/teal, muted ochre.
   ========================================================================== */

:root {
  --paper: #fbf7f0;
  --paper-2: #f5ecdf;
  --card: #fffdf9;
  --ink: #2a2724;
  --ink-soft: #5b544c;
  --ink-faint: #776e63;

  --coral: #ef6f4c;          /* decorative primary */
  --coral-ink: #b83f24;      /* text-safe coral (AA on paper, tint and cards) */
  --coral-tint: #fbe6de;
  --teal: #3fa796;           /* decorative secondary */
  --teal-ink: #21756a;       /* text-safe teal (AA on paper) */
  --teal-tint: #dcefeb;
  --ochre: #e0a53f;
  --ochre-ink: #8a5c12;
  --ochre-tint: #f8e8c6;

  --line: #e6dccd;
  --line-strong: #d6c8b3;

  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 6px rgba(74, 55, 40, 0.06);
  --shadow: 0 14px 34px -18px rgba(74, 55, 40, 0.35);
  --shadow-lift: 0 22px 48px -22px rgba(74, 55, 40, 0.42);

  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0.02, 0.24, 1);

  --shell: 1140px;
  --rail-w: 236px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 520px at 82% -8%, rgba(239, 111, 76, 0.16), transparent 62%),
    radial-gradient(880px 460px at 6% 4%, rgba(63, 167, 150, 0.13), transparent 60%),
    radial-gradient(1000px 700px at 50% 118%, rgba(224, 165, 63, 0.13), transparent 66%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.045'/%3E%3C/svg%3E");
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--coral-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--paper); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 240, 0.82);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--coral);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.brand__mark svg { width: 22px; height: 22px; display: block; }
.brand__name em { font-style: normal; color: var(--coral-ink); }

/* sticky module navigator */
.modnav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
  scroll-snap-type: x proximity;
}
.modnav::-webkit-scrollbar { display: none; }

/* below ~1160px the pill row is a horizontal scroller — hint that with a soft fade */
@media (max-width: 1160px) {
  .modnav {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  }
}

.modnav__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  scroll-snap-align: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.modnav__link:hover {
  background: var(--coral-tint);
  color: var(--coral-ink);
  border-color: var(--coral-tint);
}
.modnav__link[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.modnav__num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--coral-ink);
  font-variant-numeric: tabular-nums;
}
.modnav__link[aria-current="true"] .modnav__num { color: var(--ochre); }

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

.hero { padding: 56px 0 8px; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 15px 7px 11px;
  background: var(--ochre-tint);
  color: var(--ochre-ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow svg { width: 17px; height: 17px; }

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.05rem, 4.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral-ink);
  background: linear-gradient(transparent 62%, var(--ochre-tint) 62%);
  padding: 0 2px;
  border-radius: 4px;
}

.hero__lede {
  margin: 0 0 26px;
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 34em;
}

/* date callout */
.datecall {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  padding: 16px 20px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-left: 6px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.datecall__cal {
  flex: 0 0 auto;
  width: 54px;
  height: 58px;
  border-radius: 12px;
  background: var(--coral-tint);
  display: grid;
  place-items: center;
  color: var(--coral-ink);
}
.datecall__cal svg { width: 30px; height: 30px; }
.datecall__txt { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
.datecall__txt strong { display: block; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.datecall__txt a { font-weight: 700; }

/* hero aside checklist */
.hero__aside {
  padding: 22px 24px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hero__aside-title {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.hero__points { list-style: none; margin: 0; padding: 0; }
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__points li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero__points li:first-child { padding-top: 0; }
.hero__points svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--coral-ink);
}

/* hero media */
.hero__media {
  margin: 40px 0 0;
}
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero__media figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  padding-left: 4px;
}

/* ------------------------------------------------------- fact panel / dl */

.glance {
  margin: 44px 0 6px;
  padding: 26px 28px;
  background: linear-gradient(160deg, var(--card), var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.glance__title {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.glance__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
}
.glance__item { margin: 0; }
.glance__item dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}
.glance__item dt svg { width: 15px; height: 15px; color: var(--coral-ink); flex: 0 0 auto; }
.glance__item dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.glance__item dd span { display: block; font-weight: 500; font-size: 0.88rem; color: var(--ink-soft); }

/* --------------------------------------------------------------- dossier */

.dossier {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: start;
}

/* left progress rail */
.rail {
  position: sticky;
  top: 92px;
  align-self: start;
}
.rail__title {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.rail__list { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.rail__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--line-strong);
}
.rail__list li { margin: 0 0 3px; }
.rail__link {
  display: block;
  position: relative;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.rail__link::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 15px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.rail__link:hover { background: var(--coral-tint); color: var(--coral-ink); }
.rail__link:hover::before { border-color: var(--coral); }
.rail__link[aria-current="true"] { background: var(--paper-2); color: var(--ink); }
.rail__link[aria-current="true"]::before { border-color: var(--coral); background: var(--coral); transform: scale(1.12); }

/* ---------------------------------------------------------------- prose */

.prose { max-width: 720px; min-width: 0; }

.prose h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.7vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.prose h3 {
  margin: 34px 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.008em;
  font-weight: 700;
}
.prose p { margin: 0 0 20px; }
.prose .lede {
  font-size: 1.13rem;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--coral-ink); font-weight: 700; }
.prose strong { font-weight: 700; }

/* module blocks with numbered rail */
.module { margin: 0 0 52px; scroll-margin-top: 92px; }
.module__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.module__num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  background: var(--teal-tint);
  color: var(--teal-ink);
  border: 1.5px solid rgba(33, 117, 106, 0.18);
}
.module:nth-of-type(even) .module__num {
  background: var(--coral-tint);
  color: var(--coral-ink);
  border-color: rgba(196, 71, 42, 0.18);
}
.module__headtext { min-width: 0; }
.module__kicker {
  margin: 0 0 2px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.module__head h2 { margin: 0; }

/* section mark illustration */
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--coral-ink);
}
.mark svg { width: 40px; height: 40px; flex: 0 0 auto; }
.mark__rule {
  flex: 1 1 auto;
  height: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 15px);
}

/* callout card */
.callout {
  margin: 26px 0;
  padding: 20px 24px 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.callout--ochre { border-left-color: var(--ochre); background: linear-gradient(150deg, var(--card), #fdf6e6); }
.callout__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.callout--ochre .callout__label { color: var(--ochre-ink); }
.callout p { margin: 0; }
.callout p + p { margin-top: 12px; }

/* figures */
.inline-fig { margin: 30px 0; }
.inline-fig img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.inline-fig figcaption {
  margin-top: 11px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  padding-left: 4px;
}

/* sequence / steps list */
.steps { list-style: none; margin: 24px 0; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  margin: 0 0 14px;
  padding: 16px 20px 16px 60px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ochre-tint);
  color: var(--ochre-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.86rem;
}
.steps strong { display: block; margin-bottom: 2px; }

/* table */
.table-scroll {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.95rem;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px 4px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
th, td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 800;
  background: var(--paper-2);
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(239, 111, 76, 0.05); }
td strong { color: var(--ink); }

/* related reading */
.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}
.related a {
  display: block;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.related a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--coral);
}
.related__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 6px;
}
.related__title { display: block; font-weight: 700; color: var(--ink); line-height: 1.42; }

/* ------------------------------------------------------------------ FAQ */

.faq { margin: 6px 0 0; }
.faq details {
  margin-bottom: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.faq details[open] { border-color: var(--coral); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  min-height: 44px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--coral-tint); color: var(--coral-ink); }
.faq summary::after {
  content: "";
  margin-left: auto;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--coral-ink);
  border-bottom: 3px solid var(--coral-ink);
  border-radius: 2px;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__body {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}
.faq__body p { margin: 0; }

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

.foot {
  margin-top: 40px;
  padding: 56px 0 40px;
  background: #262320;
  color: #efe7dc;
  border-top: 6px solid var(--coral);
}
.foot a { color: #f4b49c; }
.foot a:hover { color: #fff; }
.foot__brand {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
}
.foot__brand em { font-style: normal; color: var(--coral); }
.foot__blurb {
  margin: 0 0 30px;
  max-width: 52ch;
  color: #c8bfb3;
  font-size: 0.96rem;
}
.foot__net-title {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ochre);
}
.linknet {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 20px;
}
.linknet a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.92rem;
  color: #ded5c8;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.linknet a:hover { background: rgba(239, 111, 76, 0.15); color: #fff; }
.linknet a span {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}
.foot__legal {
  border-top: 1px solid rgba(239, 231, 220, 0.16);
  padding-top: 22px;
  font-size: 0.85rem;
  color: #a99f92;
}
.foot__legal p { margin: 0 0 10px; max-width: 78ch; }

/* ------------------------------------------------------------ reveal anim */

/* Default (no JavaScript): content is fully visible. */
.reveal { opacity: 1; transform: none; }

/* With JavaScript, the element starts shifted and eases in when scrolled into view. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .dossier { grid-template-columns: 1fr; gap: 28px; }
  .rail { position: static; }
  .rail__list { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 0; }
  .rail__list::before { display: none; }
  .rail__list li { margin: 0; }
  .rail__link { padding: 8px 13px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; font-size: 0.85rem; }
  .rail__link::before { display: none; }
  .rail__link[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .shell { padding: 0 18px; }
  .masthead__inner { flex-wrap: wrap; gap: 6px 12px; padding-top: 10px; padding-bottom: 10px; }
  .modnav { margin-left: 0; flex-basis: 100%; order: 3; padding-bottom: 6px; }
  .hero { padding-top: 34px; }
  .glance { padding: 20px; }
  .glance__grid { grid-template-columns: 1fr; gap: 14px; }
  .module__num { width: 40px; height: 40px; border-radius: 12px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.92rem; }
  .datecall { flex-direction: column; align-items: flex-start; gap: 12px; }
  .glance__grid { grid-template-columns: 1fr; }
}

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

/* ---------- brand logo ---------- */
/* Sized relative to the adjacent wordmark (em) with an absolute cap, so each
   site's own type scale governs the mark instead of one fixed pixel height. */
.brand-logo {
  display: inline-block;
  height: min(1.1em, 18px);
  width: auto;
  margin-right: 0.45em;
  vertical-align: -0.22em;
}
.foot__brand .brand-logo,
.foot__wordmark .brand-logo,
.foot__logo .brand-logo {
  height: min(1.3em, 26px);
  margin-right: 0.45em;
  vertical-align: -0.24em;
}
@media (max-width: 640px) {
  .brand-logo { height: min(1.05em, 16px); margin-right: 0.35em; }
  .foot__brand .brand-logo,
  .foot__wordmark .brand-logo { height: min(1.2em, 22px); }
}
