/* Soxoa video guides. A static sibling of the soxoa.com field-note sheet:
   tokens, chrome and type follow app/globals.css, app/drawing-set.css,
   app/components/MarketingChrome.module.css and app/blog/[slug]/page.module.css.
   Fonts are the site's own self-hosted files under /fonts (OFL, see
   public/fonts/README.md in the soxoa-web repo). */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600 900; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Drafting Gothic SX"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/drafting-gothic-sx-latin.woff2") format("woff2"); }

:root {
  --ds-blue: #0B3D91;
  --ds-blue-deep: #08285F;
  --ds-blue-ink: #0A2A66;
  --ds-blue-2: #2B4A85;
  --ds-blue-3: #3F5C94;
  --ds-line-on-blue: #C9D8F2;
  --ds-line-faint-on-blue: #5E82C4;
  --ds-paper: #F4F7FB;
  --ds-paper-2: #E9EFF9;
  --ds-paper-3: #DCE6F5;
  --ds-white: #FFFFFF;
  --ds-rule: #B9C9E6;
  --ds-rule-soft: #D3DEF0;
  --ds-rule-strong: #7F9BD0;
  --ds-red: #D42A22;
  --ds-red-deep: #A81F18;
  --font-primary: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Barlow", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-draft: "Drafting Gothic SX", "Barlow", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }
h1, h2, h3, p { margin: 0; padding: 0; }

html {
  background-color: var(--ds-blue-deep);
  scrollbar-gutter: stable;
  scrollbar-color: var(--ds-rule-strong) var(--ds-paper-2);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  background-color: var(--ds-paper);
  color: var(--ds-blue-ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection { background: var(--ds-blue); color: var(--ds-white); }

:where(a, button, summary):focus-visible { outline: 3px solid var(--ds-blue); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ds-white);
  color: var(--ds-blue-ink);
  font: 700 1rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.skip-link:focus { top: 0.75rem; }

/* ---- Header: the set's cover strip ---------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--ds-line-on-blue);
  background: var(--ds-blue-deep);
  color: var(--ds-white);
}

.header-frame {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  container: marketing-header / inline-size;
}

.header-inner {
  width: 100%;
  height: 68px;
  padding: 0 clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(1rem, 2vw, 1.75rem);
}

.brand {
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ds-white);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 24px; flex: none; }

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: stretch;
  gap: clamp(0.85rem, 1.7vw, 1.6rem);
  height: 100%;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ds-line-on-blue);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  bottom: 0;
  left: -0.35rem;
  height: 9px;
  background-image: repeating-linear-gradient(135deg, var(--ds-white) 0 1.5px, transparent 1.5px 6px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 260ms var(--ease);
}

.nav-link:hover { color: var(--ds-white); }
.nav-link:hover::after { clip-path: inset(0 0 0 0); }

.site-header :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible { outline: 2px solid var(--ds-white); outline-offset: 3px; }

.header-actions {
  justify-self: end;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.05rem;
  border: 2px solid var(--ds-white);
  border-radius: 2px;
  background: var(--ds-red);
  box-shadow: 0 0 0 2px var(--ds-red);
  color: var(--ds-white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.header-cta:hover { background: var(--ds-red-deep); box-shadow: 0 0 0 2px var(--ds-red-deep); }

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--ds-line-on-blue);
  border-radius: 2px;
  background: transparent;
  color: var(--ds-white);
  cursor: pointer;
}

@container marketing-header (max-width: 73.75rem) {
  .primary-nav { display: none; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-toggle { display: flex; }
}

@container marketing-header (min-width: 73.8125rem) {
  .header-actions { min-width: 14.5rem; justify-content: flex-end; }
}

@container marketing-header (max-width: 21rem) {
  .header-cta { display: none; }
}

/* ---- Mobile navigation sheet (native popover, no script) ------------------ */

.menu-sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(390px, 100vw);
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-left: 2px solid var(--ds-blue);
  background: var(--ds-paper);
  color: var(--ds-blue-ink);
}

.menu-sheet::backdrop { background: rgb(8 40 95 / 0.55); }

/* Browsers without the Popover API keep the sheet closed and scroll the bar. */
@supports not selector(:popover-open) {
  .menu-sheet { display: none; }
  .nav-toggle { display: none !important; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto !important; }
  .primary-nav { display: flex !important; justify-self: stretch; overflow-x: auto; }
}

main:focus { outline: none; }

.menu-head {
  padding: 1.25rem 4.5rem 1rem 1.25rem;
  border-bottom: 1px solid var(--ds-rule-soft);
}

.menu-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.menu-desc { margin-top: 0.25rem; color: var(--ds-blue-2); font-size: 0.82rem; line-height: 1.5; }

.menu-nav { padding: 0.5rem 1.25rem 1.5rem; }

.menu-nav a:not(.menu-cta) {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--ds-rule-soft);
  color: var(--ds-blue-ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-nav a:not(.menu-cta):hover {
  background-image: repeating-linear-gradient(135deg, rgb(11 61 145 / 0.2) 0 1.5px, transparent 1.5px 7px);
}

.menu-group {
  margin: 1.25rem 0 0.35rem;
  color: var(--ds-blue-3);
  font-family: var(--font-draft);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 16px 26px;
  border: 2px solid var(--ds-paper);
  border-radius: 2px;
  background: var(--ds-red);
  box-shadow: 0 0 0 2px var(--ds-red);
  color: var(--ds-white);
  font: 700 1.12rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-cta:hover { background: var(--ds-red-deep); box-shadow: 0 0 0 2px var(--ds-red-deep); }

.menu-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-rule-strong);
  border-radius: 2px;
  background: var(--ds-white);
  color: var(--ds-blue-ink);
  cursor: pointer;
}

/* ---- Sheet stocks ----------------------------------------------------------- */

.ds-blueprint {
  --sheet-ground: var(--ds-blue);
  --sheet-ink: var(--ds-white);
  --sheet-ink-2: var(--ds-line-on-blue);
  --sheet-line: var(--ds-line-faint-on-blue);
  --sheet-line-strong: var(--ds-line-on-blue);
  position: relative;
  background-color: var(--sheet-ground);
  background-image:
    linear-gradient(rgb(201 216 242 / 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgb(201 216 242 / 0.09) 1px, transparent 1px),
    linear-gradient(rgb(201 216 242 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(201 216 242 / 0.045) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  color: var(--sheet-ink);
}

.ds-blueprint ::selection { background: var(--ds-white); color: var(--ds-blue); }
.ds-blueprint :where(a, button):focus-visible { outline: 2px solid var(--ds-white); outline-offset: 3px; }

.ds-whiteprint {
  --sheet-ground: var(--ds-paper);
  --sheet-ink: var(--ds-blue-ink);
  --sheet-ink-2: var(--ds-blue-2);
  --sheet-line: var(--ds-rule);
  --sheet-line-strong: var(--ds-blue);
  position: relative;
  background-color: var(--sheet-ground);
  color: var(--sheet-ink);
}

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

/* Sheet frame with zone ticks; notational, hidden from assistive tech. */
.sheet-frame {
  --band: 1.15rem;
  position: absolute;
  inset: 0.5rem;
  z-index: 0;
  border: 1px solid var(--sheet-line);
  pointer-events: none;
}
.sheet-frame::after { content: ""; position: absolute; inset: var(--band); border: 2px solid var(--sheet-line-strong); }
.ticks { position: absolute; display: flex; color: var(--sheet-ink-2); font: 0.64rem/1 var(--font-draft); letter-spacing: 0.06em; }
.ticks span { flex: 1; display: grid; place-items: center; }
.ticks-top, .ticks-bottom { left: var(--band); right: var(--band); height: var(--band); }
.ticks-top { top: 0; }
.ticks-bottom { bottom: 0; }
.ticks-top span + span, .ticks-bottom span + span { border-left: 1px solid var(--sheet-line); }
.ticks-left, .ticks-right { top: var(--band); bottom: var(--band); width: var(--band); flex-direction: column; }
.ticks-left { left: 0; }
.ticks-right { right: 0; }
.ticks-left span + span, .ticks-right span + span { border-top: 1px solid var(--sheet-line); }

/* ---- Header sheet ----------------------------------------------------------- */

.watch-head { padding-block: clamp(2.5rem, 5vw, 3.75rem); }

.watch-head__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}

.ds-title {
  max-width: 26ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  text-wrap: balance;
}

.ds-note {
  font-family: var(--font-draft);
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--sheet-ink-2);
}

.byline a {
  color: var(--ds-white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.byline a:hover { text-decoration-thickness: 2px; }

.ds-lede {
  max-width: 34em;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--sheet-ink-2);
}

.ds-titleblock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(0.5rem, 1.2vw, 1rem);
  border: 2px solid var(--sheet-line-strong);
  background: color-mix(in srgb, var(--sheet-ground) 86%, var(--ds-blue-deep));
}

.ds-titleblock__cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.7rem 0.9rem 0.8rem;
  border-right: 1px solid var(--sheet-line);
}
.ds-titleblock__cell:last-child { border-right: 0; }

.ds-titleblock__label {
  font-family: var(--font-draft);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sheet-ink-2);
}

.ds-titleblock__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sheet-ink);
}
.ds-titleblock__value a { color: inherit; text-underline-offset: 0.2em; }

/* ---- Player ------------------------------------------------------------------ */

.watch-player { padding-top: clamp(2rem, 4.5vw, 3.5rem); }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ds-blue);
  outline: 1px solid var(--ds-rule);
  outline-offset: 5px;
  background: var(--ds-blue-deep) center / cover no-repeat;
}

.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.player-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  color: var(--ds-blue-2);
}

.player-meta a, .ds-link {
  color: var(--ds-blue-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 160ms var(--ease);
}
.player-meta a:hover, .ds-link:hover { color: var(--ds-blue); text-decoration-thickness: 2px; }

/* ---- Reading column ------------------------------------------------------------ */

.watch-sheet { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }

.read { width: min(100% - 2 * var(--gutter), 664px); margin-inline: auto; color: var(--ds-blue-ink); }

.read p { margin: 0 0 1.35rem; font-size: 1.125rem; line-height: 1.78; color: var(--ds-blue-2); }

.read h2 {
  margin: clamp(2.25rem, 4.5vw, 3.25rem) 0 1.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--ds-rule);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.06;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--ds-blue-ink);
}

.read .standfirst {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ds-blue);
  font-family: var(--font-draft);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ds-blue-2);
}

.read .standfirst + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.read .answer { font-size: 1.25rem; line-height: 1.6; color: var(--ds-blue-ink); }

.next-step {
  display: grid;
  gap: 0.35rem;
  margin: 1.75rem 0 0;
  padding: 1.15rem 0 1.25rem;
  border-top: 2px solid var(--ds-blue);
  border-bottom: 1px solid var(--ds-rule);
}
.next-step .ds-note { color: var(--ds-blue-3); }
.next-step a { font: 600 1.2rem/1.2 var(--font-display); letter-spacing: 0.015em; text-transform: uppercase; }

.transcript { margin: clamp(2.25rem, 4.5vw, 3.25rem) 0 0; border-top: 2px solid var(--ds-blue); border-bottom: 1px solid var(--ds-rule); }

.transcript summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0.9rem 0.5rem;
  cursor: pointer;
  list-style: none;
  font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.1 var(--font-display);
  letter-spacing: 0.012em;
  text-transform: uppercase;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; font-size: 1.6rem; color: var(--ds-blue); }
.transcript[open] summary::after { content: "\2212"; }
.transcript summary:hover { background-image: repeating-linear-gradient(135deg, rgb(11 61 145 / 0.16) 0 1.5px, transparent 1.5px 7px); }
.transcript__body { padding: 0.25rem 0 1.25rem; }
.transcript__body p { white-space: pre-line; }

.disclosure {
  margin-top: 1.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ds-rule-strong);
  background: var(--ds-white);
}
.read .disclosure p { margin: 0; font-size: 0.95rem; line-height: 1.55; }

/* ---- Gallery ------------------------------------------------------------------- */

.gallery { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ds-blue);
  background: var(--ds-white);
  background-image: repeating-linear-gradient(135deg, rgb(11 61 145 / 0.12) 0 1.5px, transparent 1.5px 7px);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 320ms var(--ease);
}
.card:hover, .card:focus-within { background-size: 100% 100%; }

.card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--ds-blue); background: var(--ds-blue-deep); }

.card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem 1.1rem 1.25rem; }

.card h2 {
  font: 700 1.35rem/1.08 var(--font-display);
  letter-spacing: 0.012em;
  text-transform: uppercase;
  text-wrap: balance;
}

.card h2 a { color: var(--ds-blue-ink); text-decoration: none; }
.card h2 a::after { content: ""; position: absolute; inset: 0; }
.card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.card p { color: var(--ds-blue-2); font-size: 1rem; line-height: 1.6; }

/* ---- Footer: the set's title block ------------------------------------------- */

.site-footer { border-top: 2px solid var(--ds-line-on-blue); background-color: var(--ds-blue-deep); color: var(--ds-white); }
.site-footer ::selection { background: var(--ds-white); color: var(--ds-blue); }

.footer-inner {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.38fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-identity { display: flex; flex-direction: column; gap: 1rem; }

.footer-brand {
  color: var(--ds-white);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 4.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 0.9;
  text-decoration: none;
}

.footer-statement { max-width: 24em; color: var(--ds-line-on-blue); font-size: 1.02rem; line-height: 1.55; }

.footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2vw, 2rem); }

.footer-group-title {
  margin: 0 0 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ds-line-faint-on-blue);
  color: var(--ds-white);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links { display: flex; flex-direction: column; }

.footer-links a {
  display: block;
  padding-block: 0.5rem;
  color: var(--ds-line-on-blue);
  font-size: 0.97rem;
  line-height: 1.3;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 160ms var(--ease);
}
.footer-links a:hover { color: var(--ds-white); text-decoration: underline; }

.footer-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border: 2px solid var(--ds-line-on-blue); }

.footer-address {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  color: var(--ds-line-on-blue);
  font-family: var(--font-draft);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contacts { display: flex; flex-wrap: wrap; }

.footer-contacts a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-left: 1px solid var(--ds-line-faint-on-blue);
  color: var(--ds-white);
  font-family: var(--font-draft);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 0.25em;
}
.footer-contacts a:hover { text-decoration: underline; }

/* ---- Responsive ---------------------------------------------------------------- */

@media (max-width: 960px) {
  .ds-titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-titleblock__cell { border-bottom: 1px solid var(--sheet-line); }
  .ds-titleblock__cell:nth-child(2n) { border-right: 0; }
  .ds-titleblock__cell:nth-child(n + 3) { border-bottom: 0; }
}

@media (max-width: 900px) {
  .sheet-frame { inset: 0.4rem; border: 2px solid var(--sheet-line-strong); }
  .sheet-frame::after, .ticks { display: none; }
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-meta { grid-template-columns: minmax(0, 1fr); }
  .footer-contacts a { flex: 1 1 auto; border-left: 0; border-top: 1px solid var(--ds-line-faint-on-blue); }
}

@media (max-width: 560px) {
  .header-inner { height: 60px; }
  .brand { font-size: 1.45rem; }
  .header-cta { padding-inline: 0.75rem; font-size: 0.95rem; }
  .read p { font-size: 1.0625rem; }
  .read .answer { font-size: 1.15rem; }
  .player { outline: 0; }
}

@media (max-width: 400px) {
  .footer-groups { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link, .nav-link::after, .header-cta, .footer-links a, .card, .player-meta a, .ds-link { transition: none; }
}

@media print {
  .site-header, .site-footer, .sheet-frame { display: none; }
}

.video-poster:not([hidden]) { position:absolute; inset:0; z-index:2; display:block; width:100%; height:100%; border:0; padding:0; margin:0; overflow:hidden; cursor:pointer; background:#131818; color:white; }
.video-poster img { width:100%; height:100%; display:block; object-fit:cover; }
.video-poster .video-play { position:absolute; right:4%; bottom:7%; display:inline-flex; align-items:center; gap:.45em; padding:.5em .9em .5em .65em; color:#fff; background:#131818ed; border:1px solid #ffffffb3; border-radius:2em; font:600 15px/1.25 system-ui,sans-serif; letter-spacing:0; text-transform:none; }
.video-poster:hover .video-play, .video-poster:focus-visible .video-play { background:#080a0b; outline:2px solid white; outline-offset:2px; }
.video-poster:focus-visible { outline:3px solid white; outline-offset:-4px; }
