/* james.com - the Safety night, site-wide (css/safety-site.css).
   Loaded only in the Safety design (preview cookie or the site switch). Every class is ss- prefixed.
   Rules: transform and opacity only for motion; no data URIs; navy-only; served through the root minifier. */

/* the site fonts (2026-10-06, owner: "a font not many people use ... so that it doesn't look like an ai font"):
   Brygada 1918 (display / headings, --ss-serif) + Ysabeau Office (text / UI, --ss-sans), both SIL OFL 1.1,
   self-hosted in css/ss-pages/fonts/ (licenses beside them), variable wght 400-700, roman + true italic,
   split Latin / Latin-ext by unicode-range (an English page loads only the Latin files it uses).
   size-adjust keeps the visual size the px values were tuned for: Brygada to Cormorant's cap height (94%),
   Ysabeau to the mean of Montserrat's cap and x-height (116.2%). Choice: james-site-redesign/docs/fonts-1006. */
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(/css/ss-pages/fonts/brygada1918-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(/css/ss-pages/fonts/brygada1918-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(/css/ss-pages/fonts/brygada1918-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(/css/ss-pages/fonts/brygada1918-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ysabeau Office"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(/css/ss-pages/fonts/ysabeau-office-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ysabeau Office"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(/css/ss-pages/fonts/ysabeau-office-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ysabeau Office"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(/css/ss-pages/fonts/ysabeau-office-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ysabeau Office"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(/css/ss-pages/fonts/ysabeau-office-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* the home hero release title (--ss-display, home.css .ss-title .ss-t1): the same Brygada files (one download), sized
   to Cormorant's x-height and width (85%), so every title that fitted the copy column on one line still does and the
   background-clip:text box never cuts a glyph (Brygada at 94% is 12% wider than Cormorant was) */
@font-face { font-family: "Brygada 1918 Display"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 85%; src: url(/css/ss-pages/fonts/brygada1918-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918 Display"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 85%; src: url(/css/ss-pages/fonts/brygada1918-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* metric-matched local fallbacks, one face per weight range and style: the swap from Georgia / Arial to the web
   fonts keeps the line boxes and the line breaks (width ratio and line metrics measured against the served faces,
   with their size-adjust, on site text: docs/fonts-1006/tools/fallback_metrics.js, 2026-10-06) */
@font-face { font-family: "Brygada Fallback"; src: local("Georgia"); font-weight: 400 500; size-adjust: 96.9%; ascent-override: 88.7%; descent-override: 24.8%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 700; size-adjust: 84.8%; ascent-override: 101.4%; descent-override: 28.3%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; font-weight: 400 500; size-adjust: 91.6%; ascent-override: 93.9%; descent-override: 26.2%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Fallback"; src: local("Georgia Bold Italic"), local("Georgia-BoldItalic"); font-style: italic; font-weight: 600 700; size-adjust: 80.3%; ascent-override: 107.1%; descent-override: 29.9%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Display Fallback"; src: local("Georgia"); font-weight: 400 500; size-adjust: 87.6%; ascent-override: 88.7%; descent-override: 24.8%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Display Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 700; size-adjust: 76.7%; ascent-override: 101.4%; descent-override: 28.3%; line-gap-override: 0%; }
@font-face { font-family: "Ysabeau Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 500; size-adjust: 109.3%; ascent-override: 111.6%; descent-override: 31.1%; line-gap-override: 0%; }
@font-face { font-family: "Ysabeau Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 103.9%; ascent-override: 117.5%; descent-override: 32.7%; line-gap-override: 0%; }

:root {
  --ss-navy-0: #060b17;
  --ss-navy: #0b1426;
  --ss-navy-2: #101b33;
  --ss-navy-3: #1a2a4a;
  --ss-amber: #e0a458;
  --ss-gold: #c8a165;
  --ss-amber-hi: #f2c987;
  --ss-cream: #f3e9d2;
  --ss-ink: #ece3cd;
  --ss-muted: #aab2c5;
  --ss-muted-2: #7f8aa3;
  --ss-haze: #6f7f99;
  --ss-magenta: #b86a9e;
  --ss-line: rgba(242, 201, 135, 0.14);
  --ss-line-2: rgba(243, 233, 210, 0.08);
  --ss-card: rgba(16, 27, 51, 0.72);
  --ss-card-hi: rgba(26, 42, 74, 0.78);
  --ss-glass: rgba(8, 14, 28, 0.66);
  --ss-ok: #9fd3a8;
  --ss-warn: #f2c987;
  --ss-bad: #f0a3a3;
  --ss-release: var(--ss-gold);
  --ss-release-glow: rgba(200, 161, 101, 0.28);
  --ss-release-cover: none;
  --ss-btn-grad: linear-gradient(180deg, #f6d79f 0%, #e0a458 55%, #c98a3f 100%);
  --ss-btn-ink: #1b1206;
  --ss-serif: "Brygada 1918", "Brygada Fallback", Georgia, "Times New Roman", serif;
  --ss-sans: "Ysabeau Office", "Ysabeau Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ss-display: "Brygada 1918 Display", "Brygada Display Fallback", Georgia, "Times New Roman", serif;
  --ss-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ss-radius: 18px;
  --ss-gutter: clamp(16px, 4vw, 48px);
  --ss-maxw: 1180px;
  --ss-readw: 45em; /* = 68ch of Montserrat, about 70ch of Ysabeau Office (fonts-1006); in em so the font swap never changes the measure */
  --ss-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ss-topbar-h: 64px;
  /* the moon glow is placed and sized with transform only (no layout shift): JS sets px / a scale */
  --ss-moon-x: 64vw;
  --ss-moon-y: 26vh;
  --ss-moon-s: 5.2;
  color-scheme: dark;
}
@media (min-width: 1100px) { :root { --ss-topbar-h: 72px; }
}

/* ---------- base ---------- */
html {
  background: var(--ss-navy-0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ss-topbar-h) + 16px);
}
html.ss-menu-open { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ss-navy-0);
  color: var(--ss-ink);
  font-family: var(--ss-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* base rules use :where() (zero specificity) so every component class wins over them */
:where(.ss-main, .ss-topbar, .ss-menu, .ss-footer, .ss-night, .ss-dlg, .ss-toast),
:where(.ss-main, .ss-topbar, .ss-menu, .ss-footer, .ss-night, .ss-dlg) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.ss-main, .ss-footer, .ss-dlg) :where(img) { max-width: 100%; display: block; }
:where(.ss-main, .ss-footer, .ss-dlg) :where(a) { color: var(--ss-amber-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(.ss-main, .ss-footer, .ss-dlg) :where(a:hover) { color: var(--ss-cream); }
:where(.ss-main, .ss-topbar, .ss-menu, .ss-dlg) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.ss-main, .ss-topbar, .ss-menu, .ss-dlg) :where(button) { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ss-amber-hi); outline-offset: 3px; border-radius: 6px; }
.ss-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.14em; fill: currentColor; }
/* fix-1005: these brand glyphs sit off-centre inside their own 24-unit box (ink centres: Facebook 11, 14;
   Apple 11, 11.76; Deezer 11.5, 13; SoundCloud 11.23, 12.83; TikTok 12.6, 11.67; Amazon 12, 12.5), so they looked
   off-centre in the round controls. Shift each to 12, 12, in % of the icon box, so every icon size holds. */
.ss-ico use[href$="#facebook"] { transform-box: view-box; transform: translate(4.1667%, -8.3333%); }
.ss-ico use[href$="#apple"] { transform-box: view-box; transform: translate(4.1667%, 0.9833%); }
.ss-ico use[href$="#deezer"] { transform-box: view-box; transform: translate(2.0833%, -4.1667%); }
.ss-ico use[href$="#soundcloud"] { transform-box: view-box; transform: translate(3.1958%, -3.4583%); }
.ss-ico use[href$="#tiktok"] { transform-box: view-box; transform: translate(-2.5%, 1.3889%); }
.ss-ico use[href$="#amazon"] { transform-box: view-box; transform: translate(0, -2.0833%); }
.ss-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.ss-skip {
  position: fixed;
  left: 16px; top: -64px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ss-amber);
  color: var(--ss-navy);
  font: 700 14px/1.2 var(--ss-sans);
  text-decoration: none;
  transition: top 0.2s;
}
.ss-skip:focus { top: 12px; color: var(--ss-navy); }

.ss-main { position: relative; z-index: 2; display: block; min-height: 60vh; }
.ss-wrap {
  width: 100%;
  max-width: calc(var(--ss-maxw) + 2 * var(--ss-gutter));
  margin: 0 auto;
  padding: 0 var(--ss-gutter);
}
.ss-wrap-read { max-width: calc(var(--ss-readw) + 2 * var(--ss-gutter)); }
.ss-section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.ss-section + .ss-section { padding-top: clamp(24px, 4vw, 56px); }
.ss-section-tight { padding: clamp(36px, 5vw, 64px) 0; }

/* ---------- type ---------- */
.ss-kicker {
  margin: 0 0 10px;
  color: var(--ss-amber);
  font-family: var(--ss-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.ss-kicker .ss-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; vertical-align: 0.12em; background: var(--ss-release); box-shadow: 0 0 10px var(--ss-release-glow); }
.ss-display, .ss-h1 {
  margin: 0;
  font-family: var(--ss-serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ss-cream);
  text-wrap: balance;
}
.ss-h2 {
  margin: 0 0 18px;
  font-family: var(--ss-serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--ss-cream);
  text-wrap: balance;
}
.ss-h2-sm { font-size: clamp(32px, 4.2vw, 52px); }
.ss-h3 {
  margin: 0 0 6px;
  font-family: var(--ss-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: var(--ss-cream);
}
.ss-display em, .ss-h1 em, .ss-h2 em, .ss-h3 em { font-style: italic; color: var(--ss-amber-hi); }
.ss-lede {
  margin: 0;
  max-width: 33em; /* = about 62ch of Brygada 1918 (fonts-1006; was 29.6em for Cormorant), font-swap safe */
  font-family: var(--ss-serif);
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.38;
  color: var(--ss-ink);
}
/* fonts-1006: no lone word on the last line of a paragraph (Brygada / Ysabeau rewrap some text; e.g. "Tonic." alone
   under the sign-in lede). Zero specificity and the style longhand only, so a class's own text-wrap or nowrap still wins. */
:where(.ss-main, .ss-footer) :where(p, li, dd) { text-wrap-style: pretty; }
.ss-body-2 { color: var(--ss-muted); font-size: 15px; line-height: 1.55; }
.ss-meta { color: var(--ss-muted-2); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.4; }
.ss-label {
  display: block;
  margin: 0 0 6px;
  color: var(--ss-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ss-num { font-family: var(--ss-serif); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- the ambient night (weight B, every page but home) ---------- */
.ss-night {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--ss-navy-0);
  contain: strict;
}
.ss-nl { position: absolute; inset: 0; will-change: transform; }
.ss-nl-in { position: absolute; inset: 0; }
.ss-nl-sky { inset: -6% -4% -14%; transform-origin: 50% 30%; }
.ss-nl-sky picture, .ss-nl-sky img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ss-nl-sky img { object-fit: cover; object-position: 50% 0%; opacity: 0.62; }
.ss-moonglow {
  /* a fixed 100 px box: translate and scale (separate properties, so the ss-breathe transform still runs)
     move it onto the moon; nothing here changes layout, so the placement after the sky loads is no shift */
  position: absolute;
  left: 0;
  top: 0;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  translate: var(--ss-moon-x) var(--ss-moon-y);
  scale: var(--ss-moon-s);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 196, 0.32) 0%, rgba(242, 201, 135, 0.14) 34%, rgba(242, 201, 135, 0.05) 60%, rgba(242, 201, 135, 0) 100%);
  animation: ss-breathe 9s ease-in-out infinite;
}
.ss-stars { position: absolute; inset: 0; width: 100%; height: 70%; }
.ss-nl-stars .ss-stars + .ss-stars { opacity: 0.35; animation: ss-twinkle 6s ease-in-out infinite alternate; }
.ss-nl-ridge { top: auto; bottom: -4vh; height: 60vh; }
/* the ridge rises with the scroll: its dark foot continues below it, so no gap opens at the bottom */
.ss-nl-ridge .ss-nl-in::after { content: ""; position: absolute; left: -10%; right: -10%; top: 100%; height: 40vh; background: rgb(10, 21, 38); opacity: 0.55; }
.ss-nl-ridge img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(112%, 1100px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
}
.ss-nl-fog { top: auto; bottom: -10vh; height: 44vh; opacity: 0.2; }
.ss-fogband {
  position: absolute;
  inset: 0 auto 0 0;
  width: 300%;
  background: url("/img/safety-site/hero-fog-tile-1024.webp?v=1") repeat-x 0 100%;
  background-size: 33.334% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
  animation: ss-fogband 90s linear infinite;
}
@media (max-width: 760px) {
  .ss-fogband { background-image: url("/img/safety-site/hero-fog-tile-768.webp?v=1"); }
}
.ss-nl-glow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%);
}
@media (pointer: fine) {
  .ss-nl-glow img { mix-blend-mode: screen; opacity: 0.32; }
}
.ss-night-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 35%, rgba(6, 11, 23, 0) 40%, rgba(6, 11, 23, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 11, 23, 0.35) 0%, rgba(6, 11, 23, 0.1) 30%, rgba(6, 11, 23, 0.45) 70%, rgba(6, 11, 23, 0.6) 100%);
}
/* phones: the tall sky puts the moon behind the page head, so the moon zone is darkened (DESIGN-SYSTEM 9.2) */
@media (max-aspect-ratio: 4/5) {
  .ss-night-veil {
    background:
      radial-gradient(64% 32% at 50% 20%, rgba(6, 11, 23, 0.68), rgba(6, 11, 23, 0) 100%),
      radial-gradient(120% 80% at 50% 35%, rgba(6, 11, 23, 0) 40%, rgba(6, 11, 23, 0.55) 100%),
      linear-gradient(180deg, rgba(6, 11, 23, 0.35) 0%, rgba(6, 11, 23, 0.1) 30%, rgba(6, 11, 23, 0.45) 70%, rgba(6, 11, 23, 0.6) 100%);
  }
  .ss-pagehead .ss-wrap, .ss-legal .ss-wrap > .ss-kicker, .ss-legal .ss-legal-body > header { text-shadow: 0 1px 2px rgba(6, 11, 23, 0.6), 0 0 22px rgba(6, 11, 23, 0.55); }
  /* the 12 px kicker in the brighter amber over the moon zone (amber-hi: at least 4.5:1 there) */
  .ss-pagehead .ss-kicker, .ss-legal .ss-wrap > .ss-kicker { color: var(--ss-amber-hi); }
}
.ss-night[data-ss-depth="soft"] .ss-nl-sky img { opacity: 0.5; }
.ss-night[data-ss-depth="soft"] .ss-night-veil { background-color: rgba(6, 11, 23, 0.2); }
.ss-in-frame .ss-nl-fog, .ss-in-frame .ss-nl-stars { display: none; }
@media (hover: none), (pointer: coarse) {
  .ss-nl-sky .ss-nl-in { animation: ss-drift 48s ease-in-out infinite alternate; }
  .ss-nl-ridge .ss-nl-in { animation: ss-drift-2 62s ease-in-out infinite alternate; }
}
@keyframes ss-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1.2%, -0.6%, 0); } }
@keyframes ss-drift-2 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(1%, 0, 0); } }
@keyframes ss-fogband { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-33.334%, 0, 0); } }
@keyframes ss-breathe { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes ss-twinkle { from { opacity: 0.15; } to { opacity: 0.5; } }
.ss-page-shell { position: relative; z-index: 2; }

/* ---------- film grain (one page-level layer) ---------- */
.ss-grain {
  position: fixed;
  inset: -120px;
  z-index: 60;
  pointer-events: none;
  background-image: url("/img/safety-site/grain.svg?v=1");
  background-size: 240px 240px;
  opacity: 0.16;
}
@media (pointer: fine) {
  .ss-grain { opacity: 0.22; animation: ss-grain 0.9s steps(6) infinite; }
}
.ss-grain[data-ss-ctx="hero"] { opacity: 0.3; animation: ss-grain 0.9s steps(6) infinite; }
@media (pointer: fine) { .ss-grain[data-ss-ctx="hero"] { opacity: 0.4; }
}
/* owner 2026-10-06: the grain shows on the whole site - reading pages use the content-page grain too */
@keyframes ss-grain {
  0% { transform: translate3d(0, 0, 0); }
  17% { transform: translate3d(-38px, 22px, 0); }
  33% { transform: translate3d(24px, -46px, 0); }
  50% { transform: translate3d(-58px, -14px, 0); }
  67% { transform: translate3d(42px, 36px, 0); }
  83% { transform: translate3d(-16px, 58px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ---------- the immersive scene (weight A, home only; no dancer layer) ---------- */

/* touch: no idle JS loop (js/safety-site-hero.js); the slow drift is a CSS keyframe per depth plane and
   the stars twinkle by opacity, both on the compositor */

.ss-hero-line {
  margin: 18px 0 0;
  max-width: 34ch;
  font-family: var(--ss-serif);
  font-style: italic;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.3;
  color: var(--ss-cream);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9);
}
/* keyboard focus inside the hero copy undoes the scroll fade (the !important beats the inline style) */

@media (max-aspect-ratio: 4/5) {
  .ss-hero-line { margin-top: 12px; font-size: clamp(19px, 5.2vw, 24px); }
}

/* ---------- top bar ---------- */
.ss-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: var(--ss-ink);
  font-family: var(--ss-sans);
}
.ss-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 11, 23, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ss-line-2);
  opacity: 0;
  transition: opacity 0.4s;
}
.ss-topbar.is-scrolled::before { opacity: 1; }
.ss-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--ss-topbar-h);
  max-width: calc(1440px + 2 * var(--ss-gutter));
  margin: 0 auto;
  padding: 0 var(--ss-gutter);
}
.ss-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ss-cream);
  text-decoration: none;
  white-space: nowrap;
}
.ss-brand-mark { position: relative; display: inline-grid; place-items: center; width: 42px; height: 28px; }
.ss-brand-mark .ss-ico { width: 42px; height: 28px; color: var(--ss-cream); filter: drop-shadow(0 0 6px rgba(243, 233, 210, 0.25)); }
.ss-brand-mark::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 233, 210, 0.3), rgba(242, 201, 135, 0.08) 60%, rgba(242, 201, 135, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.ss-brand:hover .ss-brand-mark::before { opacity: 1; }
.ss-brand-word { font-family: var(--ss-serif); font-size: 13.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; } /* owner 2026-10-06: wordmark in Brygada 1918 - the sans J read like an I */
.ss-brand:hover { color: var(--ss-cream); }
.ss-nav { display: none; align-items: center; gap: clamp(14px, 1.7vw, 26px); }
.ss-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ss-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  opacity: 0.86;
  white-space: nowrap;
}
.ss-nav a:hover { opacity: 1; color: var(--ss-amber-hi); }
.ss-nav a .ss-ico { width: 11px; height: 11px; opacity: 0.7; }
.ss-nav a[aria-current="page"] { opacity: 1; color: var(--ss-cream); }
.ss-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff8e6 0%, var(--ss-cream) 45%, #d9c49a 100%);
  box-shadow: 0 0 10px rgba(243, 233, 210, 0.6);
}
.ss-actions { display: flex; align-items: center; gap: 12px; }
.ss-actions .ss-textlink {
  display: none;
  align-items: center;
  min-height: 44px;
  color: var(--ss-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  opacity: 0.86;
}
.ss-actions .ss-textlink:hover { opacity: 1; color: var(--ss-amber-hi); }
.ss-pill-tour {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(243, 233, 210, 0.22);
  background: rgba(6, 11, 23, 0.35);
  color: var(--ss-cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.25s, background-color 0.25s;
}
.ss-pill-tour:hover { border-color: var(--ss-amber-hi); background: rgba(26, 42, 74, 0.6); color: var(--ss-cream); }
.ss-moon-dot {
  width: 10px; height: 10px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff8e6 0%, var(--ss-cream) 42%, #d9c49a 100%);
  box-shadow: 0 0 10px rgba(243, 233, 210, 0.55), 0 0 22px rgba(242, 201, 135, 0.25);
}
.ss-topbar .ss-pill-tour { display: none; }
.ss-menu-btn {
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--ss-line);
  border-radius: 50%;
  background: rgba(6, 11, 23, 0.4);
  color: var(--ss-cream);
}
.ss-menu-btn span[aria-hidden] {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ss-ease-out);
}
.ss-menu-btn span[aria-hidden]:nth-child(1) { top: 17px; }
.ss-menu-btn span[aria-hidden]:nth-child(2) { top: 25px; }
.ss-menu-btn[aria-expanded="true"] span[aria-hidden]:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.ss-menu-btn[aria-expanded="true"] span[aria-hidden]:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 520px) {
  .ss-brand-word { font-size: 11.5px; letter-spacing: 0.18em; }
  .ss-brand { gap: 9px; }
  .ss-topbar-in { gap: 10px; }
  .ss-actions { gap: 8px; }
  .ss-actions .ss-btn-sm { padding: 8px 14px; font-size: 12.5px; letter-spacing: 0.04em; }
  .ss-brand-mark, .ss-brand-mark .ss-ico { width: 36px; height: 24px; }
}
@media (max-width: 380px) { .ss-brand-word { display: none; }
}
@media (min-width: 1100px) {
  .ss-nav { display: flex; }
  .ss-menu-btn { display: none; }
  .ss-actions .ss-textlink { display: inline-flex; }
}
@media (min-width: 1360px) { .ss-topbar .ss-pill-tour { display: inline-flex; }
}

/* ---------- mobile menu ---------- */
.ss-menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  inset: 0;
  background: rgba(6, 11, 23, 0.96);
  color: var(--ss-ink);
  font-family: var(--ss-sans);
  overflow: auto;
}
.ss-menu::backdrop { background: rgba(4, 8, 18, 0.6); }
.ss-menu::before {
  content: "";
  position: fixed;
  right: -20vw; top: -20vw;
  width: 80vw; height: 80vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 233, 210, 0.16), rgba(242, 201, 135, 0.06) 55%, rgba(242, 201, 135, 0) 100%);
  pointer-events: none;
}
.ss-menu[open] { display: block; animation: ss-fade 0.35s var(--ss-ease-out); }
.ss-menu-in {
  position: relative;
  min-height: 100%;
  padding: calc(env(safe-area-inset-top) + 84px) var(--ss-gutter) calc(env(safe-area-inset-bottom) + 40px);
}
.ss-menu .ss-dlg-x { position: fixed; top: calc(env(safe-area-inset-top) + 10px); right: var(--ss-gutter); width: 44px; height: 44px; }
.ss-menu-main { list-style: none; margin: 28px 0 0; padding: 0; }
.ss-menu-main a {
  display: block;
  padding: 4px 0;
  color: var(--ss-cream);
  font-family: var(--ss-serif);
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
}
.ss-menu-main a[aria-current="page"] { color: var(--ss-amber-hi); font-style: italic; }
.ss-menu[open] .ss-menu-main li { animation: ss-rise 0.6s var(--ss-ease-out) both; }
.ss-menu[open] .ss-menu-main li:nth-child(2) { animation-delay: 0.04s; }
.ss-menu[open] .ss-menu-main li:nth-child(3) { animation-delay: 0.08s; }
.ss-menu[open] .ss-menu-main li:nth-child(4) { animation-delay: 0.12s; }
.ss-menu[open] .ss-menu-main li:nth-child(5) { animation-delay: 0.16s; }
.ss-menu-sub { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--ss-line-2); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ss-menu-sub a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ss-ink); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; }
.ss-menu-sub a .ss-ico { width: 12px; height: 12px; opacity: 0.7; }
.ss-menu-account { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ss-menu .ss-socials { margin-top: 28px; }
@keyframes ss-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes ss-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- footer ---------- */
.ss-footer {
  position: relative;
  z-index: 2;
  padding: 36px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ss-line-2);
  background: var(--ss-navy-0);
  color: var(--ss-muted-2);
  font-family: var(--ss-sans);
  font-size: 13.5px;
  line-height: 1.6;
}
.ss-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .ss-footer-grid { grid-template-columns: minmax(0, 1fr); }
}
.ss-footer-name { margin: 0 0 8px; font-family: var(--ss-serif); font-size: 26px; font-weight: 500; line-height: 1.1; color: var(--ss-cream); }
.ss-footer-line { margin: 0; color: var(--ss-muted); font-family: var(--ss-serif); font-style: italic; font-size: 18px; }
.ss-footer h2.ss-footer-h {
  margin: 0 0 10px;
  color: var(--ss-amber);
  font-family: var(--ss-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.ss-footer ul { margin: 0; padding: 0; list-style: none; }
.ss-footer li { margin: 0; }
.ss-footer li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ss-ink); text-decoration: none; }
.ss-footer li a:hover { color: var(--ss-amber-hi); text-decoration: underline; }
.ss-fineprint { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ss-line-2); font-size: 12px; color: var(--ss-muted-2); }
.ss-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ss-footer .ss-socials { margin-top: 0; } /* owner 2026-10-06: the name + tagline above the icons are gone; icons sit right under the footer line */
.ss-socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ss-line);
  color: var(--ss-cream);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ss-socials a:hover { background: var(--ss-amber); color: var(--ss-navy); border-color: var(--ss-amber); }
.ss-socials .ss-ico { width: 17px; height: 17px; }

/* ---------- buttons ---------- */
.ss-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--ss-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ss-ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.ss-btn:active { transform: scale(0.97); }
.ss-btn .ss-ico { width: 16px; height: 16px; }
a.ss-btn-primary, .ss-btn-primary {
  color: var(--ss-btn-ink);
  background: var(--ss-btn-grad);
  box-shadow: 0 10px 30px -8px rgba(224, 164, 88, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
a.ss-btn-primary:hover, .ss-btn-primary:hover { color: var(--ss-btn-ink); transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(224, 164, 88, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
a.ss-btn-ghost, .ss-btn-ghost {
  color: var(--ss-cream);
  border-color: rgba(243, 233, 210, 0.42);
  background: rgba(6, 11, 23, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
a.ss-btn-ghost:hover, .ss-btn-ghost:hover { color: var(--ss-navy); background: var(--ss-cream); border-color: var(--ss-cream); }
a.ss-btn-outline, .ss-btn-outline { color: var(--ss-amber-hi); border-color: rgba(242, 201, 135, 0.5); background: transparent; }
a.ss-btn-outline:hover, .ss-btn-outline:hover { color: var(--ss-navy); background: var(--ss-amber-hi); border-color: var(--ss-amber-hi); }
.ss-btn[disabled], .ss-btn.is-disabled, .ss-btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; transform: none; box-shadow: none; }
.ss-btn-sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.ss-btn-block { width: 100%; }
.ss-btn-icon {
  width: 44px; height: 44px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--ss-line);
  background: rgba(26, 42, 74, 0.5);
  color: var(--ss-cream);
}
.ss-btn-icon:hover { background: var(--ss-cream); color: var(--ss-navy); border-color: var(--ss-cream); }
.ss-btn-icon .ss-ico { width: 18px; height: 18px; }
.ss-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ss-spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(27, 18, 6, 0.3);
  border-top-color: var(--ss-btn-ink);
  animation: ss-spin 0.8s linear infinite;
}
@keyframes ss-spin { to { transform: rotate(360deg); } }
.ss-stream { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ss-stream a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(243, 233, 210, 0.22);
  color: var(--ss-cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.ss-stream a .ss-ico { width: 16px; height: 16px; transition: color 0.25s; }
.ss-stream a:hover { color: var(--ss-cream); border-color: var(--ss-brand, var(--ss-amber-hi)); }
.ss-stream a:hover .ss-ico { color: var(--ss-brand, var(--ss-amber-hi)); }
.ss-stream [data-brand="spotify"] { --ss-brand: #1db954; }
.ss-stream [data-brand="apple"], .ss-stream [data-brand="itunes"] { --ss-brand: #fa243c; }
.ss-stream [data-brand="tidal"] { --ss-brand: #f3e9d2; }
.ss-stream [data-brand="deezer"] { --ss-brand: #a238ff; }
.ss-stream [data-brand="amazon"] { --ss-brand: #25d1da; }
.ss-stream [data-brand="soundcloud"] { --ss-brand: #ff5500; }
.ss-stream [data-brand="youtube-music"], .ss-stream [data-brand="youtube"] { --ss-brand: #ff0000; }

/* ---------- cards ---------- */
.ss-card {
  position: relative;
  padding: 22px 22px 22px 20px;
  border-radius: var(--ss-radius);
  background: linear-gradient(135deg, var(--ss-card-hi), var(--ss-card));
  border: 1px solid var(--ss-line-2);
  border-left: 2px solid var(--ss-amber);
  transition: transform 0.5s var(--ss-ease-out), border-color 0.4s, box-shadow 0.5s;
}
.ss-card:hover { transform: translateY(-3px); border-color: var(--ss-line); border-left-color: var(--ss-amber); box-shadow: 0 24px 60px -30px rgba(224, 164, 88, 0.35); }
.ss-card-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.ss-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 201, 135, 0.45);
  color: var(--ss-amber-hi);
  background: radial-gradient(circle at 50% 35%, rgba(242, 201, 135, 0.16), rgba(242, 201, 135, 0));
}
.ss-card-icon .ss-ico { width: 24px; height: 24px; }
.ss-card h3, .ss-card .ss-card-title { margin: 2px 0 4px; font-family: var(--ss-serif); font-size: 25px; font-weight: 600; line-height: 1.15; color: var(--ss-cream); }
.ss-card p { margin: 0; color: var(--ss-muted); font-size: 14.5px; }
.ss-glass {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 26px;
  background: var(--ss-glass);
  border: 1px solid rgba(243, 233, 210, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 90px -40px rgba(224, 164, 88, 0.35);
}
.ss-glass-narrow { max-width: 520px; margin: 0 auto; }
.ss-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--ss-line);
  background: rgba(6, 11, 23, 0.35);
  color: var(--ss-cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ss-chip.is-amber { border-color: rgba(242, 201, 135, 0.6); color: var(--ss-amber-hi); }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* ---------- page head band ---------- */
.ss-pagehead {
  position: relative;
  padding: calc(var(--ss-topbar-h) + clamp(40px, 8vw, 110px)) 0 clamp(28px, 4vw, 56px);
  isolation: isolate;
}
.ss-pagehead::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -10%; top: -20%;
  width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(224, 164, 88, 0.12), rgba(224, 164, 88, 0) 100%);
  pointer-events: none;
}
.ss-pagehead[data-cover]::before {
  left: 0; top: 0; width: 100%; height: 100%;
  background: var(--ss-release-cover) center 30% / cover no-repeat;
  filter: blur(28px) brightness(0.35) saturate(1.1);
  opacity: 0.5;
  transform: scale(1.15);
}
.ss-pagehead::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: -1px;
  height: 140px;
  /* integration: fade back out, so no hard seam shows over the ambient night below the head */
  background: linear-gradient(180deg, rgba(6, 11, 23, 0) 0%, rgba(6, 11, 23, 0.45) 55%, rgba(6, 11, 23, 0) 100%);
  pointer-events: none;
}
.ss-pagehead .ss-lede { margin-top: 18px; }
.ss-pagehead .ss-btn-row { margin-top: 26px; }
.ss-pagehead-band { min-height: 46vh; display: flex; align-items: flex-end; }
@media (max-width: 760px) { .ss-pagehead-band { min-height: 0; }
}

/* ---------- release grid ---------- */

.ss-release { display: block; min-width: 0; color: var(--ss-ink); text-decoration: none; border-radius: 14px; }
.ss-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ss-navy-2);
  border: 1px solid rgba(243, 233, 210, 0.1);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.5s var(--ss-ease-out), box-shadow 0.5s;
}
.ss-cover img { width: 100%; height: 100%; object-fit: cover; }
.ss-cover-play {
  position: absolute;
  left: 50%; top: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 11, 23, 0.55);
  border: 1px solid rgba(243, 233, 210, 0.7);
  color: var(--ss-cream);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.35s, transform 0.35s var(--ss-ease-out);
}
.ss-cover-play .ss-ico { width: 16px; height: 16px; } /* the sprite's play is already optically centred (fix-1005) */
.ss-release-title {
  display: -webkit-box;
  margin: 12px 0 2px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--ss-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ss-cream);
  text-wrap: balance; /* fonts-1006 check: "Wherever You / Are" on a 360px phone became "Wherever / You Are" */
}
.ss-release-meta { margin: 0; color: var(--ss-muted-2); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; }
@media (hover: hover) and (pointer: fine) {
  .ss-release:hover .ss-cover { transform: translateY(-4px); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.9), 0 0 50px -12px var(--ss-release-glow); }
  .ss-release:hover .ss-cover-play { opacity: 1; transform: none; }
}
.ss-release:focus-visible { outline-offset: 6px; }
.ss-cover-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, var(--ss-navy-3), var(--ss-navy-0)); }
.ss-cover-fallback::before { content: ""; width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fff8e6, var(--ss-cream) 45%, #d9c49a); box-shadow: 0 0 22px rgba(243, 233, 210, 0.45); }
.ss-row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 220px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ss-row-scroll > * { scroll-snap-align: start; }
.ss-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.ss-section-head .ss-h2 { margin-bottom: 0; }

/* ---------- album page ---------- */
.ss-album-head { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .ss-album-head { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
}
.ss-stagelight { position: relative; isolation: isolate; max-width: 440px; }
.ss-stagelight::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--ss-release-glow), rgba(0, 0, 0, 0) 100%);
}
@media (pointer: fine) { .ss-stagelight::before { mix-blend-mode: screen; }
}
.ss-stagelight .ss-cover { border-radius: 16px; }

/* ---------- song page and preview player ---------- */

/* ---------- lyrics reader ---------- */

/* ---------- lyrics index: search, list, accordions ---------- */

/* ---------- videos ---------- */
.ss-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border-radius: calc(var(--ss-radius) + 4px);
  border: 1px solid rgba(243, 233, 210, 0.1);
  background: #000;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(242, 201, 135, 0.05), 0 0 80px -30px rgba(224, 164, 88, 0.35);
  text-align: left;
}
.ss-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ss-ease-out), filter 1s; filter: saturate(0.95) brightness(0.88); }
.ss-frame:hover > img { transform: scale(1.06); filter: saturate(1.05) brightness(0.98); }
.ss-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* ---------- tour list with city filter ---------- */

.ss-empty { text-align: center; }
.ss-empty .ss-h3 { font-size: clamp(26px, 3vw, 34px); }

/* tour band (home, events) */

/* ---------- social grid ---------- */

/* ---------- forms ---------- */
.ss-form { display: grid; gap: 16px; text-align: left; }

.ss-field { min-width: 0; }
.ss-input, .ss-select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(243, 233, 210, 0.18);
  background: rgba(6, 11, 23, 0.6);
  color: var(--ss-cream);
  font-family: var(--ss-sans);
  font-size: 17px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ss-input::placeholder { color: rgba(170, 178, 197, 0.6); }
.ss-input:focus, .ss-select:focus { outline: none; border-color: var(--ss-amber-hi); box-shadow: 0 0 0 4px rgba(242, 201, 135, 0.16); }
.ss-input[aria-invalid="true"] { border-color: var(--ss-bad); }
.ss-pw { position: relative; }
.ss-pw .ss-input { padding-right: 58px; }
.ss-pw .ss-btn-icon { position: absolute; right: 4px; top: 4px; border: 0; background: transparent; color: var(--ss-muted); }
.ss-pw .ss-btn-icon:hover { background: rgba(243, 233, 210, 0.08); color: var(--ss-cream); }
.ss-pw .ss-ico-hide, .ss-pw [aria-pressed="true"] .ss-ico-show { display: none; }
.ss-pw [aria-pressed="true"] .ss-ico-hide { display: inline-block; }
.ss-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--ss-line-2);
  background: rgba(6, 11, 23, 0.4);
  color: var(--ss-muted);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}
.ss-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ss-amber); cursor: pointer; }
.ss-form-msg { min-height: 1.5em; margin: 0; font-size: 14px; font-weight: 500; color: var(--ss-amber-hi); }
.ss-form-msg:empty { min-height: 0; }
.ss-form-msg.is-bad { color: var(--ss-bad); }
.ss-form-msg.is-ok { color: var(--ss-ok); }
.ss-form-moon {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -60px;
  width: min(80vw, 560px);
  aspect-ratio: 1;
  /* integration: centred by margin, because the ss-breathe animation owns transform */
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255, 246, 225, 0.32), rgba(243, 233, 210, 0.16) 40%, rgba(200, 161, 101, 0.06) 64%, rgba(200, 161, 101, 0) 72%);
  animation: ss-breathe 9s ease-in-out infinite;
  pointer-events: none;
}
.ss-form-stage { position: relative; isolation: isolate; }
@media (max-width: 620px) { .ss-form .ss-btn-primary { width: 100%; }
}

/* ---------- reading pages (legal, API docs): wraps the existing text unchanged ---------- */

.ss-legal-body code, .ss-code { font-family: var(--ss-mono); font-size: 0.92em; padding: 2px 6px; border-radius: 6px; background: rgba(6, 11, 23, 0.6); border: 1px solid var(--ss-line-2); color: var(--ss-amber-hi); word-break: break-word; }

/* ---------- toast and dialogs ---------- */
.ss-toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--ss-line);
  background: rgba(9, 15, 30, 0.95);
  color: var(--ss-cream);
  font: 500 14px/1.4 var(--ss-sans);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9);
  transform: translate3d(-50%, 160%, 0);
  /* integration: transparent at rest (the empty host showed a 2 px sliver at the bottom edge);
     opacity, not visibility, so the role=status live region stays in the accessibility tree */
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ss-ease-out), opacity 0.3s;
}
.ss-toast.is-on { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; }
.ss-dlg {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid rgba(243, 233, 210, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 33, 60, 0.98), rgba(9, 15, 30, 0.98));
  color: var(--ss-ink);
  font-family: var(--ss-sans);
  box-shadow: 0 60px 160px -40px rgba(0, 0, 0, 0.95), 0 0 100px -40px rgba(224, 164, 88, 0.45);
  overflow: auto;
}
.ss-dlg::backdrop { background: rgba(4, 8, 18, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ss-dlg[open] { animation: ss-dlgin 0.45s var(--ss-ease-out); }
@keyframes ss-dlgin { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.98); } to { opacity: 1; transform: none; } }
.ss-dlg-x {
  position: absolute;
  right: 14px; top: 14px;
  z-index: 3;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--ss-line);
  background: rgba(6, 11, 23, 0.5);
  color: var(--ss-cream);
}
.ss-dlg-x .ss-ico { width: 18px; height: 18px; }
.ss-dlg-x:hover { background: var(--ss-cream); color: var(--ss-navy); }
.ss-dlg-body { position: relative; padding: 30px clamp(20px, 4vw, 34px) 28px; }
.ss-dlg h2 { margin: 0 44px 8px 0; font-family: var(--ss-serif); font-size: clamp(30px, 4vw, 38px); font-weight: 600; line-height: 1.05; color: var(--ss-cream); }
.ss-dlg p { margin: 0 0 14px; color: var(--ss-muted); }
.ss-dlg-moon { width: 64px; height: 64px; margin: 0 0 18px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fffaf0 0%, var(--ss-cream) 46%, #d6bf93 100%); box-shadow: 0 0 40px rgba(243, 233, 210, 0.6), 0 0 120px rgba(242, 201, 135, 0.35); }

/* ---------- reveal ---------- */
.ss-js .ss-reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ss-ease-out), transform 1s var(--ss-ease-out); }
.ss-js .ss-reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion / transparency / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ss-grain, .ss-grain[data-ss-ctx] { animation: none; }
  .ss-hero .ss-plane > .ss-stage, .ss-hero .ss-plane-sky > .ss-sky, .ss-hero canvas.ss-stars,
  .ss-nl-in, .ss-fogband, .ss-fog-strip, .ss-moonglow, .ss-nl-stars .ss-stars + .ss-stars, .ss-halo, .ss-leak.is-loaded, .ss-band-moon, .ss-form-moon, .ss-eq i, .ss-scroll-cue::after { animation: none !important; }
  .ss-moonglow { opacity: 0.8; }
  .ss-js .ss-reveal { opacity: 1; transform: none; transition: none; }
  .ss-menu[open], .ss-menu[open] .ss-menu-main li, .ss-dlg[open] { animation: none; }
  .ss-btn, .ss-card, .ss-show, .ss-cover, .ss-social, .ss-video-card, .ss-frame > img, .ss-toast { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .ss-glass, .ss-topbar::before, .ss-btn-ghost, .ss-play, .ss-dlg::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ss-glass { background: rgba(8, 14, 28, 0.94); }
  .ss-topbar::before { background: rgba(6, 11, 23, 0.96); }
}
@media print {
  .ss-night, .ss-grain, .ss-topbar, .ss-menu, .ss-footer, .ss-toast, .ss-skip, .ss-stream, .ss-btn, .ss-preview { display: none !important; }
  html, body, .ss-main { background: #fff !important; color: #000 !important; }
  .ss-lyrics, .ss-h1, .ss-display, .ss-h2, .ss-legal-body, .ss-legal-body h2 { color: #000 !important; }
  .ss-pagehead { padding-top: 0; }
}

/* top bar: the actions never shrink; the brand gives way first */
.ss-actions, .ss-actions > *, .ss-menu-btn { flex: none; }
.ss-brand { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.ss-brand-word { overflow: hidden; text-overflow: ellipsis; padding: 0 0.1em 0.22em 0.3em; margin: 0 -0.1em -0.22em -0.3em; } /* owner 2026-10-06: the J's hook reaches left of the box in Ysabeau Office; room inside the clip, same position */
/* no horizontal growth of the mobile layout viewport */
html { overflow-x: hidden; overflow-x: clip; }
.ss-form-stage, .ss-main, .ss-after-hero { overflow-x: clip; }

/* touch: every control at least 44 px tall (DESIGN-SYSTEM 5; review 2026-10-05) */
@media (pointer: coarse) {
  .ss-btn-sm, a.ss-chip, button.ss-chip { min-height: 44px; }
  /* fix-1005: ".ss-footer a" also matched the social circles and turned their centring grid into a flexbox
     with the icon at the left edge; the circles are 44 x 44 already, so only the text links need this */
  .ss-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .ss-stream a { min-height: 44px; }
  .ss-form-links a, .ss-main .ss-body-2 a { display: inline-block; padding-block: 12px; }
}
