/* TOHRA site (home page and arena alike): tokens, the war-table ground, the chrome (bar, notice strip, footer), page
   frame and titles. Palette / type / materials follow docs/steering/ui-design-code.md (parchment and ink, dark walnut,
   restrained gold, navy lacquer); dark by default, like the game's menus. One accent: gold. Every text colour here
   measures at least 4.5:1 on its ground (docs/tasks/20261115-night/S6.md). */
:root {
  color-scheme: dark;

  /* ui-design-code §2.1 tokens (hex, sRGB) */
  --parchment-sheet: #d9b77c;
  --parchment-board: #b09470;
  --parchment-shadow: #8e7048;
  --slate: #3a3328;
  --navy: #1c2740;
  --walnut: #4a3320;
  --crimson: #8c2a22;
  /* crimson as text on parchment (errors, a lost rating): the crimson itself is under 4.5:1 there */
  --crimson-ink: #4f120d;
  --gold-leaf: #c9a24e;
  --gold-hi: #e8cb74;
  --gold-lo: #7e5f26;
  --bronze: #8a6a3c;
  --ink: #2b2016;
  --ink-60: rgba(43, 32, 22, 0.6);
  --cream: #fff7e0;
  --chart-teal: #3d6c70;

  /* derived for the web (D-S2.md, S6.md): the game's ink.60 caption is 3.3:1 on parchment; 97 % ink keeps WCAG AA
     (>= 4.5:1, measured on the rendered pages) on the sheet, its vignette and the darker board; cream steps for the ground */
  --ink-soft: rgba(43, 32, 22, 0.97);
  --ink-20: rgba(43, 32, 22, 0.2);
  --cream-80: rgba(255, 247, 224, 0.8);
  --cream-70: rgba(255, 247, 224, 0.7);
  --cream-15: rgba(255, 247, 224, 0.15);
  --desk: #1b130c;
  --desk-hi: #2d1f12;
  --desk-lo: #120c07;
  --navy-hi: #2a3b66;
  --navy-lo: #121a2d;
  --gold-text: linear-gradient(180deg, #f6e3a0 0%, #e8cb74 32%, #c9a24e 66%, #9a7a33 100%);

  /* seat cloth: sampled from the HUD crests (Crest_Blue / Crest_Red); map tokens use the lit mid tones */
  --cloth-p1: #0c467d;
  --cloth-p2: #730b0e;
  --seat-1: #2b67b0;
  --seat-1-dark: #123b6e;
  --seat-2: #b5382d;
  --seat-2-dark: #6b1712;
  --win: #e8cb74;
  --loss: #d7766b;

  --font-title: "Cinzel Decorative", "Alegreya SC", Georgia, "Times New Roman", serif;
  --font-text: "EB Garamond", Georgia, "Times New Roman", serif;

  /* type scale (game 1080p px x ~0.72): display / page title / section title / card title / lede / body / value /
     caption / row label / caps micro (chips, captions in Cinzel) */
  --fs-display: clamp(1.9rem, 1.15rem + 3vw, 3.3rem);
  --fs-title: clamp(1.6rem, 1.1rem + 2.6vw, 2.9rem);
  --fs-h2: clamp(1.45rem, 1.05rem + 2vw, 2.45rem);
  --fs-section: clamp(1.02rem, 0.94rem + 0.45vw, 1.32rem);
  --fs-h3: 1.04rem;
  --fs-lede: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  --fs-body: 1.125rem;
  --fs-value: 1.25rem;
  --fs-caption: 0.9375rem;
  --fs-label: 0.8125rem;
  --fs-micro: 0.66rem;

  /* spacing (4 px steps), the page's side padding, the gap between the home page's sections */
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --pad: clamp(14px, 3.2vw, 34px);
  --section-gap: clamp(72px, 9vw, 128px);
  --page-max: 1240px;
  --bar-h: 66px;

  /* corners: small (media inside a card), card, pill */
  --r-s: 7px;
  --r-m: 10px;
  --r-pill: 999px;

  /* elevation: contact shadows only (ui-design-code: no plastic gloss, nothing floats) */
  --shadow-1: 0 6px 10px -4px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 14px 22px -10px rgba(0, 0, 0, 0.78);
  --shadow-3: 0 26px 44px -18px rgba(0, 0, 0, 0.88);

  /* materials: navy lacquer in a bronze-and-gilt frame (plates, buttons, cards), the frame of a picture */
  --lacquer:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
    var(--tex-cloth) 0 0 / 260px 260px,
    linear-gradient(180deg, var(--navy-hi), var(--navy) 54%, var(--navy-lo));
  --frame-lacquer: inset 0 0 0 1px #090d19, inset 0 0 0 3px var(--bronze), inset 0 0 0 4px rgba(232, 203, 116, 0.78), inset 0 0 0 5px #0b1020;
  --frame-lacquer-hi: inset 0 0 0 1px #090d19, inset 0 0 0 3px var(--gold-leaf), inset 0 0 0 4px var(--gold-hi), inset 0 0 0 5px #0b1020;
  --frame-picture: 0 0 0 1px #1b1209, 0 0 0 3px var(--bronze), 0 0 0 4px rgba(232, 203, 116, 0.7);
  --hairline-gilt: inset 0 0 0 1px rgba(201, 162, 78, 0.55);

  --pin: url(../img/pin.webp?v=yEPc6aLu);
  --tex-sheet: url(../img/parchment-sheet.webp?v=h4sJ2xAc);
  --tex-board: url(../img/parchment-board.webp?v=Bq1xJufo);
  --tex-cloth: url(../img/cloth-navy.webp?v=PANUo17x);
  --tex-slate: url(../img/slate.webp?v=z_Ud_QxK);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-actual, var(--bar-h)) + 12px);
  /* the home page's first view (index.html) fits the window; the script's sections then add a scrollbar: its room is
     kept from the start, so nothing moves sideways (R-code S7) */
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: var(--desk);
  color: var(--cream);
  font: 500 var(--fs-body) / 1.45 var(--font-text);
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* focus: a gold ring with a dark halo, visible on parchment, lacquer, footage and the ground alike */
:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px rgba(20, 13, 7, 0.7);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--cream);
  font: 700 0.8rem var(--font-title);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus {
  top: 10px;
}

#main {
  display: block;
  flex: 1 0 auto;
  width: 100%;
  min-height: calc(100vh - var(--bar-actual, var(--bar-h)));
  outline: none;
}
.is-promo #main {
  min-height: 100vh;
}
.bar,
.foot {
  flex: none;
}
.bar:empty,
.foot:empty {
  display: none;
}

/* ------------------------------------------------------------------ the ground: the war table at night, one candle */
.desk {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 52% at 7% -8%, rgba(246, 205, 118, 0.3), rgba(201, 162, 78, 0.11) 46%, transparent 72%),
    radial-gradient(ellipse 130% 95% at 50% 38%, transparent 52%, rgba(0, 0, 0, 0.58) 100%),
    repeating-linear-gradient(98deg, rgba(255, 235, 200, 0.014) 0 2px, transparent 2px 211px),
    linear-gradient(180deg, #2d1f12 0%, #1d140c 52%, #150e08 100%);
}
.desk__prop {
  display: none;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (min-width: 1380px) {
  .desk__prop {
    display: block;
  }
  /* The side banners were removed (designer, 2026-11-14: "the flags at the sides look poor"). */
  .desk__prop--flag-r,
  .desk__prop--flag-b {
    display: none;
  }
  .desk__prop--quill {
    right: 22px;
    bottom: 8px;
    width: 210px;
    height: 200px;
    background-image: url(../img/quill.webp?v=J6kjPjPm);
    opacity: 0.7;
    filter: drop-shadow(6px 8px 8px rgba(0, 0, 0, 0.55));
  }
  /* the home page has its own pictures */
  .is-promo .desk__prop--quill {
    display: none;
  }
}

/* ------------------------------------------------------------------ the bar: HUD navy linen + gold rule, every page */
.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
}
/* the linen and the rule are layers, so the home page's bar can fade them in over the hero */
.bar::before,
.bar::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.bar::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 17, 32, 0.1), rgba(12, 17, 32, 0.5)),
    var(--tex-cloth) 0 0 / 300px 300px,
    var(--navy);
  box-shadow: 0 1px 0 #0a0f1d, 0 6px 12px -2px rgba(0, 0, 0, 0.6);
}
.bar::after {
  left: 0;
  right: 0;
  bottom: -2px;
  height: 7px;
  background: url(../img/rule-gold.webp?v=JUO1Frjk) center / 100% 100% no-repeat;
}
/* the home page: the bar lies clear over the hero (the hero's shade darkens its top), solid once the hero is gone */
.bar--over {
  margin-bottom: calc(-1 * var(--bar-actual, var(--bar-h)));
}
.bar--over:not(.is-solid)::before,
.bar--over:not(.is-solid)::after {
  opacity: 0;
}
.bar--over:not(.is-solid) .brand {
  visibility: hidden;
  opacity: 0;
}
.bar--over:not(.is-solid) .tab,
.bar--over:not(.is-solid) .lang__btn {
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.bar--over:not(.is-solid) .lang {
  background: rgba(10, 15, 29, 0.62);
}
.brand {
  transition: opacity 0.35s ease, visibility 0.35s;
}
.bar__inner {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  max-width: var(--page-max);
  min-height: var(--bar-h);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand__logo {
  display: block;
  width: auto;
  height: 50px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}
.tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  align-self: stretch;
}
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  font: 700 0.78rem/1 var(--font-title);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-80);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.tab:hover {
  color: var(--cream);
}
.tab[aria-current="page"] {
  color: var(--gold-hi);
}
.tab[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-hi) 25%, var(--gold-hi) 75%, transparent);
}
.bar__tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* the connection lamp (arena): a candle, lit while the stream is live */
.lamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 0.7rem/1 var(--font-title);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-80);
  white-space: nowrap;
}
.lamp__candle {
  width: 19px;
  height: 27px;
  overflow: visible;
}
.lamp__wax {
  fill: #e6d6ac;
  stroke: #1b1209;
  stroke-width: 0.9;
}
.lamp__dish {
  fill: var(--bronze);
  stroke: #1b1209;
  stroke-width: 0.9;
}
.lamp__wick {
  fill: none;
  stroke: #1b1209;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.lamp__flame {
  fill: #ffd870;
  stroke: #b8741f;
  stroke-width: 0.6;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.lamp__glow {
  fill: rgba(255, 196, 92, 0.34);
}
.lamp--live {
  color: var(--gold-hi);
}
.lamp--live .lamp__flame {
  animation: flame 1.9s ease-in-out infinite;
}
.lamp--live .lamp__glow {
  animation: glow 2.7s ease-in-out infinite;
}
.lamp--wait .lamp__flame {
  transform: scale(0.62);
  fill: #e6a54d;
  animation: blink 1.1s steps(2, jump-none) infinite;
}
.lamp--wait .lamp__glow {
  fill: rgba(230, 165, 77, 0.16);
}
.lamp--down {
  color: #f0a69b;
}
.lamp--down .lamp__flame,
.lamp--down .lamp__glow {
  display: none;
}
.lamp--dim .lamp__flame {
  transform: scale(0.5);
  fill: #a98a50;
}
.lamp--dim .lamp__glow {
  fill: none;
}
@keyframes flame {
  0%,
  100% {
    transform: scale(1, 1) rotate(-1deg);
  }
  35% {
    transform: scale(0.94, 1.08) rotate(1.2deg);
  }
  65% {
    transform: scale(1.04, 0.95) rotate(-1.4deg);
  }
}
@keyframes glow {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes blink {
  to {
    opacity: 0.35;
  }
}

/* the language switch (bar and footer): a gilt-edged pill of three */
.lang {
  display: inline-flex;
  border: 1px solid rgba(201, 162, 78, 0.5);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: rgba(10, 15, 29, 0.35);
}
.lang__btn {
  min-width: 38px;
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  font: 700 0.68rem/1 var(--font-title);
  letter-spacing: 0.1em;
  color: var(--cream-80);
  cursor: pointer;
}
.lang__btn:hover {
  color: var(--cream);
}
.lang__btn[aria-pressed="true"] {
  background: rgba(201, 162, 78, 0.26);
  color: var(--gold-hi);
}
.lang__btn:focus-visible {
  border-radius: var(--r-pill);
}

/* the home page's music (js/ui/music.js): a round button in the language switch's gilt-edged style; a speaker with its
   waves when on, crossed when off, the waves dimmed while armed (on, waiting for the visitor's first gesture). Its
   hit area is 44 px whatever it draws. */
.music {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(201, 162, 78, 0.5);
  border-radius: 50%;
  background: rgba(10, 15, 29, 0.35);
  color: var(--cream-80);
  cursor: pointer;
}
.music::before {
  content: "";
  position: absolute;
  inset: -6px;
}
.music:hover {
  color: var(--cream);
}
.music[aria-pressed="true"] {
  background: rgba(201, 162, 78, 0.26);
  color: var(--gold-hi);
}
.music:focus-visible {
  border-radius: 50%;
}
.music__glyph {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.music__speaker {
  fill: currentColor;
  fill-opacity: 0.25;
}
.music[aria-pressed="true"] .music__mute,
.music[aria-pressed="false"] .music__waves {
  display: none;
}
.music[data-state="armed"] .music__waves {
  opacity: 0.45;
}
.bar--over:not(.is-solid) .music {
  background: rgba(10, 15, 29, 0.62);
  color: var(--cream);
}
.bar--over:not(.is-solid) .music[aria-pressed="true"] {
  color: var(--gold-hi);
}

@media (max-width: 820px) {
  .bar__inner {
    flex-wrap: wrap;
    padding-top: 6px;
    padding-bottom: 0;
    row-gap: 0;
  }
  .bar__tools {
    order: 2;
  }
  .tabs {
    order: 3;
    flex: 1 0 100%;
    align-self: auto;
    min-height: 40px;
    margin: 0 -8px;
  }
  .tab {
    padding: 0 12px;
  }
  .tab[aria-current="page"]::after {
    bottom: 5px;
  }
  .brand__logo {
    height: 42px;
  }
}
@media (max-width: 560px) {
  .lamp__text {
    display: none;
  }
  .bar__tools {
    gap: 10px;
  }
  .tabs {
    margin: 0 -6px;
  }
  .tab {
    padding: 0 9px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    gap: 5px;
  }
  .title::before,
  .title::after {
    display: none;
  }
}
/* The home page on a phone: ONE row, the arena's links at the left, music and languages at the right, on the page's
   side margins (the hero's big logo is the brand; the footer carries it too). Every control a 44 px target. Fits at
   360 px in Ukrainian, the longest (S23-landing-music.md, Phone layout). The arena's pages keep their two rows. */
@media (max-width: 560px) {
  .is-promo .bar__inner {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 0;
    padding: 4px var(--pad);
  }
  .is-promo .brand {
    display: none;
  }
  .is-promo .tabs {
    order: 0;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    margin: 0 0 0 -6px;
  }
  .is-promo .tab {
    padding: 0 6px;
  }
  .is-promo .tab[aria-current="page"]::after {
    bottom: 8px;
  }
  .is-promo .bar__tools {
    order: 1;
    gap: 8px;
  }
  .is-promo .lang__btn {
    min-width: 40px;
    min-height: 42px;
    padding: 0 6px;
  }
  .is-promo .music {
    width: 40px;
    height: 40px;
  }
  .is-promo .music::before {
    inset: -3px;
  }
}

/* matchmaker trouble (arena): a notice at the top of the page, in the flow, so it never covers a title */
.banner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--s-4) var(--pad) 0;
}
.banner:empty,
.is-promo .banner {
  display: none;
}
.banner .notice {
  box-shadow: inset 0 0 0 1px rgba(201, 162, 78, 0.55), var(--shadow-2);
}
.banner .notice--error {
  box-shadow: inset 0 0 0 1px rgba(232, 151, 140, 0.65), var(--shadow-2);
}

/* ------------------------------------------------------------------ page frame and titles */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) var(--pad) 0;
}
.page__head {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.page__status {
  margin-top: 18px;
}

/* the gilt title between arrow rules: page titles of the arena, section titles of the home page */
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  margin: 0;
  font: 900 var(--fs-title) / 1.12 var(--font-title);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  color: var(--gold-hi);
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}
.title__text {
  color: var(--gold-hi);
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.08em 0.05em;
}
.title::before,
.title::after {
  content: "";
  flex: none;
  width: clamp(36px, 8vw, 104px);
  height: clamp(12px, 2vw, 20px);
  background: var(--gold-text);
  -webkit-mask: url(../img/orn-arrow-l.webp?v=DxHfsFpx) center / contain no-repeat;
  mask: url(../img/orn-arrow-l.webp?v=DxHfsFpx) center / contain no-repeat;
  opacity: 0.9;
}
.title::after {
  -webkit-mask-image: url(../img/orn-arrow-r.webp?v=cDhuSBbe);
  mask-image: url(../img/orn-arrow-r.webp?v=cDhuSBbe);
}
.lede {
  margin: 0;
  max-width: 46em;
  text-align: center;
  text-wrap: pretty;
  font-style: italic;
  font-size: var(--fs-caption);
  color: var(--cream-80);
}

/* the caps line with gilt arrows: "Two lands. One victory." (the game's PvP line) */
.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 700 clamp(0.72rem, 0.62rem + 0.5vw, 0.95rem) / 1.3 var(--font-title);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}
.kicker::before,
.kicker::after {
  content: "";
  flex: none;
  width: clamp(28px, 6vw, 74px);
  height: 12px;
  background: var(--gold-text);
  -webkit-mask: url(../img/orn-arrow-l.webp?v=DxHfsFpx) center / contain no-repeat;
  mask: url(../img/orn-arrow-l.webp?v=DxHfsFpx) center / contain no-repeat;
}
.kicker::after {
  -webkit-mask-image: url(../img/orn-arrow-r.webp?v=cDhuSBbe);
  mask-image: url(../img/orn-arrow-r.webp?v=cDhuSBbe);
}

/* section title: Cinzel Bold caps flanked by the arrow rules, as on the game's boards */
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 12px;
  font: 700 var(--fs-section) / 1.2 var(--font-title);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
}
.sec-title::before,
.sec-title::after {
  content: "";
  flex: 1 1 24px;
  max-width: 96px;
  height: 14px;
  background: currentColor;
  opacity: 0.6;
  -webkit-mask: url(../img/orn-arrow-l.webp?v=DxHfsFpx) center / 100% 100% no-repeat;
  mask: url(../img/orn-arrow-l.webp?v=DxHfsFpx) center / 100% 100% no-repeat;
}
.sec-title::after {
  -webkit-mask-image: url(../img/orn-arrow-r.webp?v=cDhuSBbe);
  mask-image: url(../img/orn-arrow-r.webp?v=cDhuSBbe);
}
.sec-title--left {
  justify-content: flex-start;
  text-align: left;
}
.sec-title--left::before {
  display: none;
}
.sec-title--left::after {
  max-width: none;
  flex: 1;
}
.sec-title--ink {
  color: var(--ink);
}
.sec-title--ink::before,
.sec-title--ink::after {
  opacity: 0.55;
}
.sec-title__lock {
  width: 1em;
  height: 1em;
}
.sub-title {
  margin: 18px 0 4px;
  font: 700 0.78rem / 1.2 var(--font-title);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ the footer, every page */
.foot {
  margin-top: clamp(48px, 7vw, 80px);
  padding: 0 var(--pad) 40px;
  color: var(--cream-80);
  font-size: var(--fs-caption);
}
/* the home page ends on its call to action, which already fades into the ground */
.is-promo .foot {
  margin-top: 0;
}
.foot__inner {
  display: grid;
  gap: 14px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--cream-15);
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.foot__brand {
  display: block;
  flex: none;
  border-radius: 4px;
}
.foot__logo {
  display: block;
  width: 116px;
  height: auto;
}
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin-right: auto;
}
.foot__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  font: 700 0.74rem / 1 var(--font-title);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-80);
  text-decoration: none;
}
.foot__link:hover,
.foot__link[aria-current="page"] {
  color: var(--gold-hi);
}
.foot__meta {
  display: grid;
  gap: 2px;
  color: var(--cream-70);
}
.foot__note {
  font-style: italic;
}
.foot__line {
  font-variant-numeric: lining-nums tabular-nums;
}
.foot__line:empty {
  display: none;
}
@media (max-width: 560px) {
  .foot__link {
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .foot__row {
    justify-content: center;
  }
  .foot__nav {
    margin-right: 0;
    justify-content: center;
  }
  .foot__meta {
    text-align: center;
  }
}

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