/* TNT Custom Design & Installation
   A screening room with the lights down: projection black, one lit bar, silver type. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Michroma";
  src: url("fonts/michroma.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #01030a;        /* the logo's own field */
  --well: #070c16;         /* a surface one step off black */
  --rule: rgb(196 210 228 / 0.16);
  --silver: #e6ebf1;
  --steel: #9aa7b8;        /* secondary text on black */
  --blue: #33a9ff;         /* live */
  --blue-deep: #0d3f80;
  --sheet: #f2f4f6;        /* the one light interlude */
  --sheet-ink: #0b1017;
  --sheet-steel: #4e5a69;
  --sheet-rule: #d3d9e0;

  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wide: "Archivo", "Hanken Grotesk", sans-serif; /* display: wide and even, after the logo's lettering */
  --plate: "Michroma", "Hanken Grotesk", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --measure: 62ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh; display: flex; flex-direction: column; /* the footer sits at the bottom of short pages */
  background: var(--black);
  color: var(--silver);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
}
::selection { background: var(--blue); color: var(--black); }
html { scrollbar-color: #2a3547 var(--black); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--wide); font-stretch: 122%; font-weight: 560; letter-spacing: -0.012em; line-height: 1.06; text-wrap: balance; }

main { flex: 1; }
.wrap { padding-inline: var(--gutter); max-width: 92rem; margin-inline: auto; width: 100%; }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--silver); color: var(--black); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { top: 0.75rem; }

/* ---- the plate face: navigation and specification labels only */
.plate { font: 400 0.6875rem/1.4 var(--plate); letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- the bar: cut from the logo itself, brushed metal with its blue flares. The only ornament. */
.bar {
  display: block; border: 0; margin: 0; height: 1.5rem;
  background: url("tnt-bar.webp") center / 100% 100% no-repeat;
}
.bar--quiet { height: 1px; background: var(--rule); }
.bar--live { animation: live 2.4s var(--ease) infinite alternate; }
@keyframes live { from { opacity: 0.35; scale: 0.6 1; } to { opacity: 1; scale: 1 1; } }

/* ---- masthead */
.mast { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.mast--bare .mast__in { justify-content: flex-end; } /* the title card is the mark; the header does not repeat it */
.mast__mark img { height: 2.6rem; width: auto; }
.mast nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); list-style: none; padding: 0; margin: 0; }
.mast nav a { text-decoration: none; color: var(--steel); padding-block: 0.6rem; display: inline-block; transition: color 0.3s var(--ease); }
.mast nav a:hover, .mast nav a[aria-current="page"] { color: var(--silver); }
.mast nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--blue); }

/* ---- actions */
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; align-items: center; }
.btn {
  appearance: none; border: 1px solid var(--silver); background: var(--silver); color: var(--black);
  font: 600 1rem/1 var(--text); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  padding: 1.05rem 1.6rem; border-radius: 2px; display: inline-flex; align-items: center; gap: 0.6rem;
  transition: box-shadow 0.5s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: #fff; box-shadow: 0 6px 30px -6px rgb(51 169 255 / 0.85); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--silver); border-color: rgb(230 235 241 / 0.45); }
.btn--line:hover { background: rgb(230 235 241 / 0.08); border-color: var(--silver); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.55; cursor: progress; }
.btn[aria-disabled="true"] { background: transparent; color: var(--steel); border: 1px dashed rgb(154 167 184 / 0.55); cursor: default; box-shadow: none; }
.btn[aria-disabled="true"]:hover { background: transparent; box-shadow: none; }
.btn[aria-disabled="true"]:active { transform: none; }
.lit { display: inline-grid; gap: 0.75rem; } /* a row of actions with the bar beneath it */
.lit .bar { height: 1.25rem; }
.fine { color: var(--steel); font-size: 0.9375rem; }
.notice { margin-top: 1rem; min-height: 3em; color: #ffc9c0; font-size: 0.9375rem; max-width: var(--measure); } /* space is held so an error never moves the page */

/* ---- title card (home, first viewport) */
.card {
  min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden;
  padding: 6.5rem var(--gutter) 4rem;
}
.card__mark { width: min(58rem, 86vw); margin-inline: auto; position: relative; }
.card__mark img {
  width: 100%; animation: bloom 2.4s var(--ease) both;
  /* the artwork's haze fades into the room instead of ending at the picture's edge */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 96%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 96%);
}
.card__mark::after { /* the light arriving along the bar */
  content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 34%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgb(51 169 255 / 0.5), rgb(13 63 128 / 0.25) 45%, transparent 72%);
  mix-blend-mode: screen; pointer-events: none; animation: flare 2.8s var(--ease) both;
}
.card h1 { font-size: clamp(1.75rem, 3.9vw, 3.5rem); margin-top: clamp(1rem, 3vh, 2.25rem); }
.card__tag { display: none; margin-top: 0.9rem; color: var(--silver); }
.card__fact { margin-top: 1.1rem; color: var(--steel); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); }
.card .actions { justify-content: center; margin-top: 2.25rem; }
.card__rest { animation: rise 1.6s 0.7s var(--ease) both; }

@keyframes bloom { from { clip-path: inset(0 50% 0 50%); filter: brightness(2.6) blur(6px); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes flare { 0% { scale: 0 1; opacity: 0; } 35% { scale: 1 1; opacity: 1; } 100% { scale: 1.1 1; opacity: 0.28; } }
@keyframes rise { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }

/* ---- sections */
.band { padding-block: clamp(5rem, 12vw, 10rem); }
.band > .wrap > h2, .lead h2 { font-size: clamp(1.875rem, 4.4vw, 4rem); max-width: 18ch; }
.lead { display: grid; gap: 1.5rem; }
.lead p { max-width: var(--measure); color: var(--steel); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.statement { font-family: var(--wide); font-stretch: 122%; font-size: clamp(1.625rem, 3.6vw, 3.25rem); font-weight: 560; letter-spacing: -0.012em; line-height: 1.12; max-width: 24ch; text-wrap: balance; }
.statement span { color: var(--steel); }

/* audio: the spectrum still beside the promise, the three kinds of room beneath it */
.hear { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hear__pic { margin: 0 0 0 calc(var(--gutter) * -1); }
.hear__pic img { width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); }
.hear__rooms { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--rule); }
.hear__rooms li { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 0.25rem 1.5rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.hear__rooms h3 { font-size: 1.125rem; }
.hear__rooms p { color: var(--steel); font-size: 1rem; }
.hear--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.hear--flip .hear__pic { order: 2; margin: 0 calc(var(--gutter) * -1) 0 0; }
.creds__since { margin-top: 1.25rem; color: var(--steel); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: var(--measure); }
@media (max-width: 52rem) {
  .hear { grid-template-columns: minmax(0, 1fr); }
  .hear__pic, .hear--flip .hear__pic { margin: 0 calc(var(--gutter) * -1); order: 0; }
  .hear--flip { grid-template-columns: minmax(0, 1fr); }
  .hear__rooms li { grid-template-columns: minmax(0, 1fr); }
}

/* the product's own light: warm, where the company's is blue */
.warm { display: block; height: 5px; margin-top: clamp(2.5rem, 6vw, 4.5rem); background: rgb(255 178 96);
  box-shadow: 0 0 22px 2px rgb(255 178 96 / 0.85), 0 0 120px 26px rgb(255 150 60 / 0.4); }

/* services: one line each, ruled, no boxes */
.lines { list-style: none; padding: 0; margin: clamp(2.5rem, 6vw, 5rem) 0 0; border-top: 1px solid var(--rule); }
.lines li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem 3rem; padding-block: clamp(1.4rem, 3vw, 2.4rem); border-bottom: 1px solid var(--rule); align-items: baseline; }
.lines h3 { font-size: clamp(1.375rem, 2.6vw, 2.25rem); }
.lines p { color: var(--steel); max-width: 46ch; }

/* credentials: one plate per body. The logo fills the same area on every plate (or the name,
   where there is no logo), and the level sits beneath in one size on every plate. */
.creds { list-style: none; padding: 0; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.creds li {
  position: relative; display: grid; grid-template-rows: 1fr 3.6rem; gap: 1.1rem; min-height: 14rem;
  padding: 2.4rem 1.25rem 1.2rem; border: 1px solid rgb(230 235 241 / 0.28); border-radius: 2px; text-align: center;
  background: url("tnt-bar.webp") top center / 100% 1.1rem no-repeat, linear-gradient(rgb(13 63 128 / 0.22), transparent 55%);
}
.creds img {
  width: 100%; height: 7rem; object-fit: contain; object-position: center; align-self: center;
  filter: brightness(0) invert(1); opacity: 0.92; /* one flat silver for every mark */
}
.creds li[data-badge="cedia"] img, .creds li[data-badge="network"] img, .creds li[data-badge="control4"] img { filter: none; opacity: 1; } /* the owner chose these marks in their own colours */
.creds strong { align-self: center; font-family: var(--wide); font-stretch: 122%; font-weight: 600; font-size: clamp(1.75rem, 2.4vw, 2.4rem); letter-spacing: -0.012em; line-height: 1; }
.creds li:has(img) strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } /* the logo says the name */
.creds .plate { display: block; color: var(--steel); letter-spacing: 0.14em; padding-top: 0.9rem; border-top: 1px solid var(--rule); text-wrap: balance; }
@media (max-width: 64rem) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 52rem) {
  /* on a phone the plates become a list: logo on the left, level on the right */
  .creds { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .creds li { grid-template-columns: 8.5rem minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 1.25rem; min-height: 0; padding: 1.9rem 1.1rem 1.1rem; text-align: left; background-size: 100% 0.9rem, auto; }
  .creds img { height: 4rem; }
  .creds strong { font-size: 1.75rem; }
  .creds .plate { border-top: 0; padding-top: 0; }
}

/* a feature pair: statement left, detail right */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.pair h3 { font-size: clamp(1.625rem, 3.4vw, 3rem); max-width: 14ch; }
.pair p { color: var(--steel); max-width: 52ch; }
.pair p + p { margin-top: 1rem; }
.pair strong { color: var(--silver); font-weight: 600; }

/* ---- product opening (driver page, first viewport) */
.open { min-height: 92svh; display: grid; align-content: end; padding: 9rem var(--gutter) clamp(1.5rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.open__bar { position: absolute; left: 50%; bottom: 100%; width: 100vw; height: 2rem; translate: -50% 0; margin-bottom: clamp(1.75rem, 4.5vw, 3.75rem);
  background: url("tnt-bar.webp") center / 100% 100% no-repeat; animation: sweep 2.6s var(--ease) both; }
@keyframes sweep { from { scale: 0 1; opacity: 0; } to { scale: 1 1; opacity: 1; } }
.open__in { max-width: 92rem; margin-inline: auto; width: 100%; position: relative; }
.open__in > :not(.open__bar) { animation: rise 1.6s 0.5s var(--ease) both; }
.open h1 { font-size: clamp(2.25rem, 6.2vw, 5.25rem); max-width: 14ch; }
.open__say { margin-top: 1.4rem; font-size: clamp(1.125rem, 1.9vw, 1.5rem); color: var(--steel); max-width: 34ch; }
.open .actions { margin-top: 2.25rem; }
.open .fine { margin-top: 1rem; }
.open .notice { margin-top: 0.5rem; }

/* ---- the room: pick a scene, the light changes */
.room { --k: 255 178 96; --lvl: 0.56; position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); background: var(--black); }
.room::before { /* light on the wall */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 38%, rgb(var(--k) / calc(var(--lvl) * 0.42)), transparent 70%);
  transition: background 1.2s var(--ease);
}
.room > * { position: relative; }
.room__light { height: 6px; border-radius: 3px; margin: clamp(2.5rem, 6vw, 4.5rem) 0; opacity: calc(0.25 + var(--lvl) * 0.75);
  background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat, rgb(var(--k));
  box-shadow: 0 0 calc(10px + var(--lvl) * 40px) calc(var(--lvl) * 6px) rgb(var(--k) / 0.9), 0 0 calc(40px + var(--lvl) * 160px) calc(var(--lvl) * 40px) rgb(var(--k) / 0.55);
  transition: background-color 1.2s var(--ease), box-shadow 1.2s var(--ease), opacity 1.2s var(--ease); }
.room[data-on="false"] .room__light { background: #1a2130; box-shadow: none; opacity: 1; }
.room[data-on="false"] { --lvl: 0; }
.room__desk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.scenes { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.scenes button {
  appearance: none; background: transparent; color: var(--silver); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer;
  font: 500 1rem/1 var(--text); padding: 0.85rem 1.1rem; display: inline-flex; align-items: center; gap: 0.6rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.scenes button::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgb(var(--dot)); box-shadow: 0 0 10px rgb(var(--dot) / 0.8); }
.scenes button:hover { border-color: rgb(230 235 241 / 0.5); }
.scenes button[aria-pressed="true"] { border-color: var(--silver); background: rgb(230 235 241 / 0.1); }
.dials { display: grid; gap: 1.5rem; }
.dial label { display: flex; justify-content: space-between; align-items: baseline; color: var(--steel); margin-bottom: 0.5rem; }
.dial output { color: var(--silver); font-variant-numeric: tabular-nums; font-family: var(--text); font-size: 1rem; letter-spacing: 0; text-transform: none; }
input[type="range"] { appearance: none; width: 100%; height: 1.75rem; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--rule); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--rule); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 1.1rem; height: 1.1rem; margin-top: -0.5rem; border-radius: 50%; background: var(--silver); border: 0; box-shadow: 0 0 14px rgb(51 169 255 / 0.8); }
input[type="range"]::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--silver); border: 0; box-shadow: 0 0 14px rgb(51 169 255 / 0.8); }
.switch { appearance: none; background: transparent; border: 1px solid var(--rule); color: var(--silver); border-radius: 2px; padding: 0.85rem 1.1rem; cursor: pointer; font: 500 1rem/1 var(--text); justify-self: start; }
.switch[aria-pressed="true"] { border-color: var(--silver); }
.room__note { margin-top: 2rem; color: var(--steel); font-size: 0.9375rem; max-width: 58ch; }

/* ---- the sheet: one light interlude for specifications */
.sheet { background: var(--sheet); color: var(--sheet-ink); color-scheme: light; }
.sheet ::selection { background: var(--sheet-ink); color: var(--sheet); }
.sheet h2 { font-size: clamp(1.875rem, 4.4vw, 4rem); max-width: 16ch; }
.sheet a { text-decoration-color: #1c6fd0; }
.sheet :focus-visible { outline-color: #1c6fd0; }
.spec { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--sheet-ink); display: grid; }
.spec > div { display: grid; grid-template-columns: minmax(9rem, 3fr) minmax(0, 9fr); gap: 0.5rem 2rem; padding-block: 1.15rem; border-bottom: 1px solid var(--sheet-rule); align-items: baseline; }
.spec dt { color: var(--sheet-steel); }
.spec dd { max-width: 60ch; }
.spec dd small { display: block; color: var(--sheet-steel); font-size: 0.9375rem; margin-top: 0.25rem; }

/* ---- price */
.price { text-align: center; }
.price .wrap > .price__figure { font-size: clamp(3rem, 9.5vw, 6rem); max-width: none; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__terms { margin: 1.25rem auto 0; color: var(--steel); max-width: 44ch; }
.price .actions { justify-content: center; margin-top: 2.25rem; }


/* numbered steps: the order is the information */
.steps { list-style: none; counter-reset: step; padding: 0; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.steps li::before { content: counter(step); display: block; font: 400 0.6875rem/1 var(--plate); letter-spacing: 0.2em; color: var(--blue); margin-bottom: 1rem; }
.steps h3 { font-size: 1.375rem; letter-spacing: -0.012em; line-height: 1.2; }
.steps p { color: var(--steel); margin-top: 0.6rem; }

/* questions */
.asks { margin-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.asks details { border-bottom: 1px solid var(--rule); }
.asks summary { cursor: pointer; list-style: none; padding-block: 1.35rem; font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 600; letter-spacing: -0.012em; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
.asks summary::-webkit-details-marker { display: none; }
.asks summary::after { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); rotate: 45deg; translate: 0 -0.2rem; transition: rotate 0.4s var(--ease); }
.asks details[open] summary::after { rotate: 225deg; translate: 0 0.15rem; }
.asks details p { color: var(--steel); max-width: var(--measure); padding-bottom: 1.5rem; }

/* ---- the drivers shelf: a category selector over a ruled list */
.shelf { padding: 9rem 0 clamp(4rem, 9vw, 7rem); }
.shelf h1 { font-size: clamp(2.25rem, 6.2vw, 5.25rem); }
.shelf__say { margin-top: 1.25rem; color: var(--steel); max-width: var(--measure); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.filter button {
  appearance: none; background: transparent; color: var(--steel); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer;
  font: 500 1rem/1 var(--text); padding: 0.85rem 1.15rem; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.filter button:hover { color: var(--silver); border-color: rgb(230 235 241 / 0.5); }
.filter button[aria-pressed="true"] { color: var(--black); background: var(--silver); border-color: var(--silver); }
.catalogue { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 1px solid var(--rule); }
.catalogue li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0.75rem 3rem; align-items: baseline; padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--rule); }
.catalogue h2 { font-size: clamp(1.375rem, 2.6vw, 2.25rem); }
.catalogue h2 a { text-decoration: none; }
.catalogue h2 a:hover { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.catalogue li > div > p { color: var(--steel); margin-top: 0.6rem; max-width: 52ch; }
.catalogue__terms { color: var(--silver); }
.catalogue__terms .plate { display: block; color: var(--steel); margin-bottom: 0.5rem; }
.catalogue li[data-status="coming"] h2 { color: var(--steel); }
.catalogue li[data-status="coming"] .catalogue__terms { color: var(--steel); }
@media (max-width: 52rem) { .catalogue li { grid-template-columns: minmax(0, 1fr); } }

/* ---- reading pages (support) */
.read { padding: 9rem var(--gutter) clamp(4rem, 9vw, 7rem); max-width: 60rem; margin-inline: auto; width: 100%; }
.read h1 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); }
.read > p, .read > div > p { color: var(--steel); max-width: var(--measure); margin-top: 1.25rem; font-size: 1.1875rem; }
.read > div > .bar { margin-top: 2.5rem; max-width: 28rem; }
.read h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule); letter-spacing: -0.018em; }
.read ol, .read ul { margin-top: 1.25rem; padding-left: 1.4rem; max-width: var(--measure); display: grid; gap: 0.75rem; }
.read li::marker { color: var(--blue); }
.read section > p { margin-top: 1rem; max-width: var(--measure); color: var(--steel); }
.read strong { font-weight: 600; color: var(--silver); }
.read dl { margin-top: 1.25rem; display: grid; gap: 1.25rem; max-width: var(--measure); }
.read dt { font-weight: 600; }
.read dd { color: var(--steel); margin-top: 0.3rem; }

/* ---- licence key (thank-you) */
.key { margin-top: 2.5rem; }
.key__value { display: block; font: 600 clamp(1.25rem, 3.6vw, 2.5rem)/1.2 var(--text); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; padding: 1.5rem 0; border-block: 1px solid var(--rule); overflow-wrap: anywhere; user-select: all; }
.key .actions { margin-top: 1.5rem; }
[hidden] { display: none !important; }

/* ---- contact and footer */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.reach dl { display: grid; gap: 1.25rem; }
.reach dd { font-family: var(--wide); font-stretch: 122%; font-weight: 560; font-size: clamp(1.25rem, 2.4vw, 1.875rem); letter-spacing: -0.012em; line-height: 1.15; overflow-wrap: anywhere; } /* the display face, as in the headings */
.reach dd a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.reach dt { color: var(--steel); margin-bottom: 0.35rem; }
.foot { border-top: 1px solid var(--rule); padding-block: 2.5rem 3.5rem; color: var(--steel); font-size: 0.875rem; }
.foot__in { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.foot p { max-width: 70ch; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot a, .foot .linklike { color: var(--silver); }

@media (max-width: 52rem) {
  .mast__in { flex-direction: column; gap: 0.25rem; padding-block: 0.9rem 0.4rem; }
  .mast nav { width: 100%; }
  .mast nav ul { gap: 0; justify-content: space-between; letter-spacing: 0.02em; }
  .mast nav a { padding-block: 1rem; }
  .card__tag { display: block; margin-top: -0.6rem; position: relative; } /* tucked up into the faded glow */
  .card__mark { width: 100vw; margin-inline: calc(var(--gutter) * -1); }
  .card__mark img { -webkit-mask-image: none; mask-image: none; } /* the close crop keeps both bars whole */
  .lines li, .pair, .room__desk, .reach, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .card { padding-top: 8rem; }
  .open { min-height: 88svh; padding-top: 10rem; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- the opening (home): the tagline in a blue outline, one deep sustained chord, then the mark. Sound and timing in intro.js */
.intro-on { overflow: hidden; }
.intro-on .mast, .intro-on main, .intro-on .foot { visibility: hidden; }
.intro-on .card__mark img, .intro-on .card__mark::after, .intro-on .card__rest { animation-play-state: paused; }
.intro {
  --rise: 0; --thump: 0;
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse 70% calc(8% + var(--rise) * 40%) at 50% 50%, rgb(13 63 128 / calc(0.15 + var(--rise) * 0.55)), transparent 70%), var(--black);
  color: var(--silver); transition: opacity 1.4s var(--ease), filter 1.4s var(--ease);
}
.intro.is-out { opacity: 0; filter: brightness(1.8) blur(10px); pointer-events: none; }

.intro__tools { position: absolute; top: clamp(0.75rem, 2vw, 1.25rem); right: clamp(0.75rem, 2vw, 1.25rem); z-index: 3; display: flex; gap: 0.5rem; }
.intro__tool {
  appearance: none; display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; min-width: 2.75rem; padding: 0 0.75rem;
  justify-content: center; border: 1px solid rgb(230 235 241 / 0.22); border-radius: 999px; background: rgb(1 3 10 / 0.5);
  color: var(--steel); cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.intro__tool:hover { color: var(--silver); border-color: rgb(230 235 241 / 0.6); background: rgb(230 235 241 / 0.06); }
.intro__tool svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.intro__close { padding: 0; }
/* waiting for the first click (the browser holds sound until then): the outline stands ready with the prompt in it */
.intro.is-waiting { cursor: pointer; }
.intro__prompt {
  appearance: none; background: none; border: 0; padding: 1rem 1.5rem; margin: 0; cursor: pointer;
  color: var(--steel); font-size: clamp(0.6875rem, 1.2vw, 0.875rem); opacity: 0; pointer-events: none;
}
.intro.is-waiting .intro__prompt { opacity: 1; pointer-events: auto; transition: opacity 1s ease-out; animation: prompt 2.4s ease-in-out infinite alternate; }
.intro.is-waiting .intro__frame { opacity: 0.55; scale: 1; transition: opacity 1.2s ease-out; }
@keyframes prompt { from { color: var(--steel); } to { color: var(--silver); } }

/* the reveal: a thin blue outline on black with the tagline inside it. The words fade, the mark appears
   inside the same outline, then the outline fades and the mark shines. The mark is screen-blended so
   its black ground disappears into the page. */
.intro__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; pointer-events: none; }
.intro__stage > * { grid-area: 1 / 1; }
.intro__frame {
  width: min(50rem, 90vw); aspect-ratio: 2.35; border: 2px solid #2a7be4; border-radius: 3px;
  box-shadow: 0 0 calc(6px + var(--rise) * 26px) rgb(51 169 255 / calc(0.25 + var(--rise) * 0.45)), inset 0 0 calc(6px + var(--rise) * 20px) rgb(51 169 255 / calc(0.15 + var(--rise) * 0.3));
  opacity: 0; scale: 0.96;
}
.intro.is-boxed .intro__frame { opacity: 1; scale: 1; transition: opacity 1.4s ease-out, scale 2.4s var(--ease); }
.intro.is-unframed .intro__frame { opacity: 0; transition: opacity 1.4s ease-in-out; }
.intro__words {
  margin: 0; max-width: min(30ch, 80vw); font: 300 clamp(1.125rem, 2.6vw, 2rem)/1.35 var(--text); letter-spacing: 0.01em;
  color: #fff; text-wrap: balance; opacity: 0;
}
.intro.is-boxed .intro__words { opacity: 1; transition: opacity 1.6s ease-out 0.5s; }
.intro.is-words-out .intro__words { opacity: 0; transition: opacity 1.1s ease-in; }
.intro__logo { width: min(46rem, 86vw); opacity: 0; scale: 1.04; }
.intro.is-resolved .intro__logo { opacity: 1; scale: calc(1 + var(--thump) * 0.02); transition: opacity 0.9s ease-out, scale 2s var(--ease); }
.intro__mark {
  width: 100%; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 96%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 96%);
  filter: brightness(calc(1 + var(--thump) * 0.5));
}
.intro.is-unframed .intro__mark { animation: shine 2.2s ease-out both; }
@keyframes shine { 0% { filter: brightness(1); } 25% { filter: brightness(2.2) drop-shadow(0 0 24px rgb(120 190 255 / 0.9)); } 100% { filter: brightness(1.05); } }.intro__flash { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 30% at 50% 50%, #dff1ff, rgb(51 169 255 / 0.4) 50%, transparent 80%); opacity: 0; pointer-events: none; }
.intro.is-resolved .intro__flash { animation: resolve-flash 1.1s ease-out both; }
@keyframes resolve-flash { from { opacity: 0.9; } to { opacity: 0; } }
.linklike { appearance: none; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 0.22em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
