/* ==========================================================================
   Monolith — SteelArt (by BLANCO) case study
   The product is steel, so the page behaves like steel. Rule one: the UI
   carries no colour anywhere — only the photography does. Emphasis is done
   with light instead: the hero is a brushed-metal field whose specular
   sheen follows the cursor (canvas), the wordmark is chrome-gradient text
   lit by the same cursor, and the Durinox story gets an interactive
   "smudge test" — half mirror polish that remembers every touch, half
   velvet matt that doesn't. Screens are mounted as German drawing sheets
   ("Blatt"), the brand-architecture move is a before/after diagram, and
   the outro badge gets pressed into the page like the real one is pressed
   into the bowl. Body bg + header adapt per section (js/pages/steelart.js).
   Relies on site.css for resets, nav/footer bones, keyframes.
   ========================================================================== */

html { background: #0E0F11; }
body {
  background: #0E0F11;
  color: #E8EAED;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background-color 0.9s ease;
}
::selection { background: #E8EAED; color: #0E0F11; }

/* adaptive chrome: dark throughout, flips once for the steel-white
   collateral section (toggled from js/pages/steelart.js) */
header.mono-nav {
  background: rgba(14,15,17,0.88); border-bottom: 1px solid rgba(232,234,237,0.1);
  transition: background-color 0.5s ease, border-color 0.5s ease;
}
header.mono-nav .mono-word, header.mono-nav nav a { color: #9BA1A8; transition: color 0.35s ease; }
header.mono-nav .mono-word:hover, header.mono-nav nav a:hover { color: #FFFFFF; }
header.mono-nav nav a.is-current { color: #FFFFFF; }
header.mono-nav.sa-steel-hdr { background: rgba(232,234,237,0.92); border-bottom-color: rgba(14,15,17,0.12); }
header.mono-nav.sa-steel-hdr .mono-word, header.mono-nav.sa-steel-hdr nav a { color: #62676D; }
header.mono-nav.sa-steel-hdr .mono-word:hover, header.mono-nav.sa-steel-hdr nav a:hover { color: #0E0F11; }
header.mono-nav.sa-steel-hdr nav a.is-current { color: #0E0F11; }
.mono-burger span { transition: transform 0.4s cubic-bezier(0.5,0.15,0.15,1), opacity 0.2s ease, background-color 0.35s ease !important; }
footer.mono-foot { border-top: 1px solid rgba(232,234,237,0.12); }
footer.mono-foot .mono-foot-brand span, footer.mono-foot .mono-foot-copy { color: #62676D; }

.sa-cursor { color: #E8EAED; animation: blink 1.2s steps(1) infinite; }
.sa-wrap { max-width: 1240px; margin: 0 auto; padding: 0 80px; box-sizing: border-box; }

/* ============ hero ============ */
.sa-hero {
  position: relative; padding: 64px 0 84px; overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, #1A1C1F 0%, #0E0F11 62%, #0A0B0D 100%);
}
.sa-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* static grain stand-in wherever the canvas is hidden (mobile, site.css) */
@media (max-width: 760px) {
  .sa-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
    background: repeating-linear-gradient(180deg,
      rgba(232,234,237,0.045) 0 1px, transparent 1px 3px,
      rgba(232,234,237,0.02) 3px 4px, transparent 4px 7px);
  }
}
.sa-hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,15,17,0) 0%, #0E0F11 100%);
}
.sa-hero-inner { position: relative; z-index: 2; }

.sa-kick { font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #7C838B; }
.sa-kick a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.sa-kick a:hover { color: #FFFFFF; }
.sa-hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.sa-tag { font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #62676D; }

/* the wordmark — the real SteelArt lockup (vector, chrome gradient baked
   into the SVG itself). The hero canvas underneath already carries the
   cursor-driven light sweep (js/pages/steelart.js), so the mark itself
   can sit as static brushed-chrome art on top of it. */
.sa-word { margin: 64px 0 0; }
.sa-word-img { display: block; width: 100%; max-width: 720px; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .sa-word { background-position: 50% 0; }
}

.sa-product {
  display: flex; align-items: center; gap: 14px; margin: 24px 0 0;
  font-family: 'VCR OSD Mono', monospace; font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.14em; text-transform: uppercase; color: #9BA1A8;
}
.sa-product-dot { width: 6px; height: 6px; border-radius: 50%; background: #E8EAED; flex: none; }

.sa-dek { max-width: 640px; margin: 46px 0 0; font-size: 20px; line-height: 1.55; color: rgba(232,234,237,0.8); }

.sa-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 84px; padding-top: 26px; border-top: 1px solid rgba(232,234,237,0.16); }
.sa-meta-item { display: flex; flex-direction: column; gap: 8px; }
.sa-meta-label { font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #62676D; }
.sa-meta-val { font-size: 15px; line-height: 1.45; color: #E8EAED; }

.sa-hero-hint {
  margin: 40px 0 0;
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #565B61;
}

/* ============ sections ============
   Every section paints its own data-bg color directly — body-sync (JS) is
   continuity polish, never load-bearing (lesson learned on Weissmuller). */
.sa-section { padding: clamp(80px, 9vw, 130px) 0 clamp(40px, 5vw, 64px); background-color: #0E0F11; }
.sa-section-light { background-color: #E8EAED; }
.sa-grid { display: grid; grid-template-columns: minmax(230px, 0.8fr) 1.55fr; gap: 54px; align-items: start; }

.sa-rail { position: relative; border-top: 1px solid rgba(232,234,237,0.22); padding-top: 18px; }
.sa-rail-dark { border-top-color: rgba(14,15,17,0.3); }
.sa-no { display: block; font-family: 'VCR OSD Mono', monospace; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: #E8EAED; }
.sa-h { margin: 14px 0 0; font-weight: 300; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.12; letter-spacing: 0.01em; color: #E8EAED; }
.sa-no-dark, .sa-h-dark { color: #0E0F11; }

.sa-copy { max-width: 640px; padding-top: 18px; }
.sa-lead { margin: 0 0 22px; font-size: clamp(21px, 2vw, 26px); line-height: 1.48; font-weight: 300; color: #E8EAED; }
.sa-body { margin: 0; font-size: 16.5px; line-height: 1.65; color: #9BA1A8; }
.sa-lead-dark { color: #0E0F11; }
.sa-body-dark { color: #4E5359; }

/* ============ the brief — pull quote ============ */
.sa-brief-quote {
  margin: clamp(56px, 7vw, 90px) auto 0; max-width: 940px; padding: 0; text-align: center;
}
.sa-brief-quote p {
  margin: 0; font-weight: 300;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.16; letter-spacing: 0; color: #E8EAED;
}
.sa-brief-quote em {
  font-style: normal;
  background-image: linear-gradient(100deg, #6A6F75 0%, #F2F4F6 50%, #6A6F75 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sa-brief-quote footer {
  margin-top: 26px; font-family: 'VCR OSD Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #62676D;
}

/* ============ captions ============ */
.sa-cap {
  display: flex; justify-content: space-between; gap: 24px; margin-top: 14px;
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #62676D;
}
.sa-cap span:first-child { white-space: nowrap; }
.sa-cap span:last-child { text-align: right; }

/* ============ Nº2 — brand architecture diagram ============ */
.sa-diagram {
  margin-top: clamp(48px, 6vw, 76px);
  border: 1px solid rgba(232,234,237,0.16); background: #121316;
}
.sa-diagram-tabs {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  border-bottom: 1px solid rgba(232,234,237,0.12);
  font-family: 'VCR OSD Mono', monospace;
}
.sa-diagram-tab {
  appearance: none; background: none; border: 0; padding: 2px 0; cursor: pointer;
  font-family: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #565B61; transition: color 0.25s ease;
}
.sa-diagram-tab:hover { color: #9BA1A8; }
.sa-diagram-tab.is-on { color: #FFFFFF; }
.sa-diagram-tab-sep { color: #33373C; font-size: 12px; }
.sa-diagram-stage { position: relative; min-height: 320px; }
.sa-diagram-state {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px; padding: 40px 32px;
  box-sizing: border-box;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sa-diagram-state.is-shown { opacity: 1; transform: none; pointer-events: auto; }

.sa-diag-master {
  font-family: 'VCR OSD Mono', monospace; font-size: 15px; letter-spacing: 0.3em;
  text-transform: uppercase; color: #E8EAED;
  border: 1px solid rgba(232,234,237,0.3); padding: 12px 26px 12px 30px;
}
.sa-diag-stem { width: 1px; height: 26px; background: rgba(232,234,237,0.25); }
.sa-diag-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sa-diag-box {
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #7C838B;
  border: 1px dashed rgba(232,234,237,0.2); padding: 10px 16px;
}
.sa-diag-box-sa { color: #E8EAED; border-style: solid; border-color: rgba(232,234,237,0.4); }
.sa-diag-note { margin: 6px 0 0; font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #565B61; }

.sa-diag-sub { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sa-diag-sub-word {
  font-weight: 300; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: 0.22em;
  text-indent: 0.22em; /* recenters tracked-out uppercase */
  color: #F2F4F6; text-transform: uppercase;
}
.sa-diag-sub-endorse { font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7C838B; }
.sa-diag-aud {
  font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9BA1A8;
  border-top: 1px solid rgba(232,234,237,0.14); padding-top: 18px;
}

/* ============ Nº3 — the smudge test ============ */
.sa-smudge {
  position: relative; margin-top: clamp(48px, 6vw, 76px);
  border: 1px solid rgba(232,234,237,0.16);
  height: clamp(300px, 38vw, 460px); overflow: hidden;
  cursor: crosshair;
}
.sa-smudge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sa-smudge-labels {
  position: absolute; top: 0; left: 0; right: 0; display: flex; pointer-events: none;
}
.sa-smudge-labels span {
  flex: 1; padding: 14px 18px;
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9BA1A8; text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.sa-smudge-labels span:last-child { text-align: right; }
.sa-smudge-foot {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex;
  justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px;
}
.sa-smudge-count {
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #7C838B; text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.sa-smudge-wipe {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9BA1A8; transition: color 0.2s ease;
  pointer-events: auto;
}
.sa-smudge-wipe:hover { color: #FFFFFF; }

/* ============ plates — screens mounted as drawing sheets ============ */
.sa-plate {
  margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  border: 1px solid rgba(232,234,237,0.16); background: #121316;
}
.sa-plate img { display: block; width: 100%; height: auto; }
.sa-plate-bar {
  display: flex; justify-content: space-between; gap: 18px; padding: 12px 16px;
  border-top: 1px solid rgba(232,234,237,0.14);
  font-family: 'VCR OSD Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #62676D;
}
.sa-plate-bar span:first-child { color: #9BA1A8; white-space: nowrap; }
.sa-plate-bar span:last-child { text-align: right; }
.sa-plate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.sa-plate-pair .sa-plate { margin-top: clamp(24px, 3vw, 40px); }

.sa-plate-light { border-color: rgba(14,15,17,0.18); background: #FFFFFF; box-shadow: 0 24px 60px rgba(14,15,17,0.12); }
.sa-plate-light .sa-plate-bar { border-top-color: rgba(14,15,17,0.12); color: #7A7F85; }
.sa-plate-light .sa-plate-bar span:first-child { color: #4E5359; }

/* ============ jobs ============ */
.sa-job { margin-top: clamp(64px, 8vw, 104px); }
.sa-job-head { display: flex; align-items: baseline; gap: 22px; border-top: 1px solid rgba(232,234,237,0.16); padding-top: 18px; }
.sa-job-no { font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #62676D; white-space: nowrap; }
.sa-job-h { margin: 0; font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: 0.01em; color: #E8EAED; }
.sa-job-copy { margin: 18px 0 0; max-width: 640px; font-size: 16.5px; line-height: 1.65; color: #9BA1A8; }

/* ============ tagline ============ */
.sa-tagline { padding: clamp(120px, 14vw, 200px) 0; text-align: center; background-color: #08090A; }
.sa-tagline-eyebrow {
  display: block; font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #62676D; margin-bottom: 30px;
}
.sa-tagline-line {
  margin: 0 auto; max-width: 980px; font-weight: 300;
  font-size: clamp(34px, 5.6vw, 76px); line-height: 1.12; letter-spacing: 0; color: #E8EAED;
}
.sa-tagline-line em {
  font-style: normal;
  background-image: linear-gradient(100deg, #62676D 0%, #F2F4F6 50%, #62676D 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sa-tagline-cap {
  margin: 34px 0 0; font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #565B61;
}

/* ============ Nº5 — light section specifics ============ */
.sa-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: 44px; }
.sa-spec-item { border-top: 1px solid rgba(14,15,17,0.2); padding-top: 14px; }
.sa-spec-label { display: block; font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7A7F85; margin-bottom: 8px; }
.sa-spec-val { font-size: 15.5px; line-height: 1.5; color: #0E0F11; }

/* ============ the film ============ */
.sa-film { padding: clamp(90px, 11vw, 150px) 0 clamp(40px, 5vw, 60px); background-color: #08090A; }
.sa-film-eyebrow {
  display: block; margin-bottom: clamp(28px, 4vw, 48px);
  font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #62676D;
}
.sa-film-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #0E0F11; overflow: hidden;
}
/* controls-free means click-free: the film is a material, not a player.
   Reduced-motion visitors get controls instead of autoplay (JS adds
   .is-interactive), so clicks have to reach the player there. */
.sa-film-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  pointer-events: none;
}
.sa-film-stage.is-interactive .sa-film-frame { pointer-events: auto; }
.sa-film-cap { margin-top: 18px; }

/* ============ outro — the stamp ============ */
.sa-outro { padding: clamp(110px, 13vw, 180px) 0 110px; text-align: center; background-color: #08090A; overflow: hidden; }
.sa-badge {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 44px 22px; border-radius: 6px;
  border: 1px solid rgba(232,234,237,0.14);
  background: linear-gradient(160deg, #17181B 0%, #101114 55%, #141518 100%);
  transform: scale(1.5); opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1.1, 0.36, 1), opacity 0.4s ease, box-shadow 0.55s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.sa-outro.is-pressed .sa-badge {
  transform: scale(1); opacity: 1;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.65), inset 0 -1px 0 rgba(232,234,237,0.08), 0 18px 50px rgba(0,0,0,0.5);
}
.sa-badge-img {
  display: block; width: clamp(200px, 22vw, 280px); height: auto;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.8));
}
.sa-outro-line {
  margin: 64px 0 0; font-weight: 300;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.18; letter-spacing: 0; color: #E8EAED;
}
.sa-outro-line em {
  font-style: normal;
  background-image: linear-gradient(100deg, #62676D 0%, #F2F4F6 50%, #62676D 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sa-next { display: inline-block; margin-top: 52px; font-family: 'VCR OSD Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #7C838B; text-decoration: none; transition: color 0.2s ease; }
.sa-next:hover { color: #FFFFFF; }

/* ============ reveal ============ */
[data-reveal] { opacity: 0.05; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.33,1,0.68,1), transform 0.8s cubic-bezier(0.33,1,0.68,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============ mobile ============ */
@media (max-width: 900px) {
  .sa-wrap { padding-left: 22px; padding-right: 22px; }
  .sa-grid { grid-template-columns: 1fr; gap: 28px; }
  .sa-meta { grid-template-columns: 1fr 1fr; gap: 22px; }
  .sa-plate-pair { grid-template-columns: 1fr; }
  .sa-specs { grid-template-columns: 1fr; }
  .sa-diagram-stage { min-height: 360px; }
}
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .sa-hero { padding-top: 40px; }
  .sa-hero-top { flex-direction: column; gap: 10px; align-items: flex-start; }
  .sa-word { margin-top: 40px; }
  .sa-meta { grid-template-columns: 1fr; }
  .sa-hero-hint { display: none; }
  .sa-smudge { height: 300px; }
  .sa-diag-row { flex-direction: column; align-items: stretch; text-align: center; }
  .sa-job-head { flex-direction: column; gap: 10px; }
}
