/* ==========================================================
   sal-r.com — design v2 "On Air"
   Broadcast colour bars + live waveform. Built Nov 2026.
   The old assets/css/main.css is left untouched on the server.
   ========================================================== */

:root {
  --black: #000;
  --graphite: #15171c;
  --graphite-2: #1d2027;
  --paper: #ededE6;
  --dim: #a0a2a6;
  --faint: #6c6f75;
  --line: rgba(237, 237, 230, 0.14);

  /* SMPTE colour-bar family — one per discipline */
  --bar-motion: #19c6c6;
  --bar-logo: #dcd41c;
  --bar-print: #cf3fcf;
  --bar-art: #33c24d;
  --bar-audio: #e3382d;
  --bar-blue: #2f45e6;

  --accent: var(--bar-motion);

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-fa: "Vazirmatn", "Archivo", sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --nav-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--paper); color: var(--black);
  padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type scale (1.333 — perfect fourth) ---------- */
.display {
  font-weight: 800;
  font-variation-settings: "wdth" 62;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(3.2rem, 9vw, 9.5rem);
}
.h2 {
  font-weight: 750;
  font-variation-settings: "wdth" 70;
  line-height: 1;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}
.h3 {
  font-weight: 650;
  font-variation-settings: "wdth" 85;
  line-height: 1.15;
  font-size: 1.33rem;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.33rem); line-height: 1.55; color: var(--dim); max-width: 38em; }
.meta { font-size: 0.875rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.prose { max-width: 66ch; color: #cfd0cc; }
.prose p + p { margin-top: 1em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--paper); background: transparent; color: var(--paper);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--paper); color: var(--black); }
.btn--solid { background: var(--paper); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--paper); }
.btn .tally { width: 10px; height: 10px; border-radius: 50%; background: var(--bar-audio); flex: none; }

.text-link {
  text-decoration: none; font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 2px; transition: background-size .25s;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-solid, body:not(.page-home) .site-nav {
  background: rgba(0, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 750; font-variation-settings: "wdth" 75; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand__role { font-size: 0.78rem; color: var(--dim); }

.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--dim);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links .chip { width: 8px; height: 8px; flex: none; }
.nav-links .nav-cta { color: var(--paper); border: 1px solid var(--line); padding: 8px 14px; }
.nav-links .nav-cta:hover { border-color: var(--paper); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--paper);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--paper); }
  .nav-links .nav-cta { border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
}

main { display: block; }

/* ==========================================================
   HOME — hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; opacity: 0.55;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.82) 30%, rgba(0,0,0,.15) 70%);
}
.hero__body { padding-top: calc(var(--nav-h) + 32px); padding-bottom: clamp(20px, 3.5vh, 44px); }
.hero__sub { margin-top: clamp(16px, 2.6vh, 28px) !important; }
.hero__actions { margin-top: clamp(20px, 3.4vh, 36px) !important; }
.hero__title { max-width: 13ch; font-size: min(clamp(3.2rem, 8.4vw, 9.5rem), 13vh); }
.hero__sub { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* The signature: oscilloscope trace + colour bars + timecode */
.signal { position: relative; width: 100%; }
.signal__canvas { display: block; width: 100%; height: clamp(90px, 14vh, 150px); }
.signal__readout {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px var(--gutter) 12px;
  font-size: 0.85rem; color: var(--dim); font-variant-numeric: tabular-nums;
}
.signal__tc { color: var(--paper); font-weight: 600; letter-spacing: 0.04em; }
.signal__tc::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bar-audio); margin-right: 10px; vertical-align: 1px;
  animation: tally 1.6s steps(2, jump-none) infinite;
}
@keyframes tally { 50% { opacity: .25; } }

.bars { display: flex; height: 12px; }
.bars span { flex: 1; }
.bar-motion { background: var(--bar-motion); }
.bar-logo { background: var(--bar-logo); }
.bar-print { background: var(--bar-print); }
.bar-art { background: var(--bar-art); }
.bar-audio { background: var(--bar-audio); }
.bar-blue { background: var(--bar-blue); }
.bar-white { background: var(--paper); }

/* ---------- Credits line ---------- */
.credits { border-bottom: 1px solid var(--line); }
.credits .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: baseline; padding-top: 26px; padding-bottom: 26px; }
.credits__label { color: var(--faint); font-size: 0.9rem; }
.credits__name { font-weight: 650; font-variation-settings: "wdth" 80; font-size: 1.15rem; }

/* ---------- Discipline bars (navigation as SMPTE bars) ---------- */
.disciplines { display: flex; height: clamp(300px, 46vh, 460px); border-bottom: 1px solid var(--line); }
.discipline {
  --c: var(--paper);
  flex: 1 1 0; position: relative; text-decoration: none; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px clamp(14px, 1.6vw, 26px);
  border-right: 1px solid var(--line);
  transition: flex-grow .45s cubic-bezier(.2,.7,.2,1), color .3s;
}
.discipline:last-child { border-right: 0; }
.discipline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--c);
  transition: height .45s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
}
.discipline { isolation: isolate; }
.discipline:hover, .discipline:focus-visible { flex-grow: 1.9; color: var(--black); }
.discipline:hover::before, .discipline:focus-visible::before { height: 100%; }
.discipline__count { font-size: 0.9rem; font-variant-numeric: tabular-nums; opacity: .8; }
.discipline__name {
  font-weight: 800; font-variation-settings: "wdth" 62; line-height: .95;
  font-size: clamp(1.6rem, 3.2vw, 3.1rem);
}
.d-motion { --c: var(--bar-motion); }
.d-logo { --c: var(--bar-logo); }
.d-print { --c: var(--bar-print); }
.d-art { --c: var(--bar-art); }
.d-audio { --c: var(--bar-audio); }

@media (max-width: 760px) {
  .disciplines { flex-direction: column; height: auto; }
  .discipline { flex-direction: row; align-items: baseline; padding: 20px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  .discipline::before { width: 10px; height: 100%; right: auto; }
  .discipline:hover::before, .discipline:focus-visible::before { width: 100%; }
  .discipline__name { order: -1; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section__head .lede { margin-top: 14px; }
.cat-mark { display: inline-block; width: 44px; height: 10px; margin-bottom: 22px; background: var(--c, var(--paper)); }

/* ---------- Project cards ---------- */
.grid { display: grid; gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.grid--wide { grid-template-columns: repeat(2, 1fr); }
.grid--three { grid-template-columns: repeat(3, 1fr); }
.grid--four { grid-template-columns: repeat(4, 1fr); }
.grid--feature { grid-template-columns: repeat(3, 1fr); }
.grid--feature > :first-child { grid-column: 1 / -1; }
.grid--feature > :first-child .card__media { aspect-ratio: 21 / 9; }
.grid--feature > :first-child .card__title { font-size: clamp(1.6rem, 3vw, 2.6rem); font-variation-settings: "wdth" 66; font-weight: 800; }

.card { text-decoration: none; display: block; }
.card__media {
  position: relative; overflow: hidden; background: var(--graphite);
  aspect-ratio: 16 / 9;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.035); }
.card__media::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: var(--c, var(--accent)); transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__media::after, .card:focus-visible .card__media::after { width: 100%; }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.card__title { font-weight: 650; font-variation-settings: "wdth" 85; font-size: 1.2rem; line-height: 1.2; }
.card__meta { font-size: 0.85rem; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__client { display: block; font-size: 0.9rem; color: var(--dim); margin-top: 2px; }

.ratio-portrait .card__media { aspect-ratio: 4 / 5; }
.ratio-poster .card__media { aspect-ratio: 3 / 4; }
.ratio-square .card__media { aspect-ratio: 1 / 1; }
.ratio-logo .card__media { aspect-ratio: 4 / 3; }

@media (max-width: 1100px) {
  .grid--four { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .grid--three, .grid--four, .grid--feature { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--wide, .grid--three, .grid--feature { grid-template-columns: 1fr; }
  .grid--four { grid-template-columns: repeat(2, 1fr); }
  .grid--feature > :first-child .card__media { aspect-ratio: 16 / 9; }
  .card__body { flex-direction: column; gap: 2px; }
}

.empty {
  border: 1px dashed var(--line); padding: 48px; color: var(--dim); max-width: 640px;
}

/* ---------- Art strip ---------- */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip .card__media { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- About teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--dim); }
.facts li span:last-child { text-align: right; }

/* ---------- Page header (category, about, contact) ---------- */
.page-head { padding: calc(var(--nav-h) + clamp(48px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(3rem, 8vw, 7.5rem); }
.page-head .lede { margin-top: 22px; }
.page-head__count { margin-top: 18px; }

/* ---------- Project detail ---------- */
.detail-top { padding-top: calc(var(--nav-h) + 28px); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.92rem; color: var(--dim); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
.crumbs .chip { width: 10px; height: 10px; background: var(--c); display: inline-block; }

.stage { background: var(--black); display: flex; justify-content: center; }
.stage video, .stage img { max-height: 84vh; width: auto; max-width: 100%; height: auto; }
.stage--video video { width: 100%; max-width: 1600px; aspect-ratio: 16/9; background: #000; }
.stage--audio {
  position: relative; min-height: 60vh; align-items: center; overflow: hidden; isolation: isolate;
}
.stage--audio .stage__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) brightness(.35); z-index: -1; }
.stage--audio .stage__inner { width: min(560px, 90%); text-align: center; padding: 48px 0; }
.stage--audio .stage__inner img { width: 220px; height: 220px; object-fit: cover; margin: 0 auto 28px; }
.stage--audio audio { width: 100%; }

.detail-info {
  display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(40px, 6vw, 80px);
}
.detail-info .h2 { margin-bottom: 26px; }
@media (max-width: 860px) { .detail-info { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 12px; }
.gallery figure { background: var(--graphite); }
.gallery img { width: 100%; height: auto; }
.gallery figure:only-child, .gallery--single figure { grid-column: 1 / -1; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.pager a { text-decoration: none; padding: 32px var(--gutter); display: block; transition: background .25s; }
.pager a:hover { background: var(--graphite); }
.pager a + a, .pager .pager__next { text-align: right; border-left: 1px solid var(--line); }
.pager small { display: block; color: var(--dim); font-size: 0.85rem; margin-bottom: 6px; }
.pager strong { font-weight: 750; font-variation-settings: "wdth" 70; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.1; }

/* ---------- About page ---------- */
.portrait { position: relative; }
.portrait img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.portrait .bars { height: 10px; }
.portrait figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--dim); }
.fa { font-family: var(--f-fa); direction: rtl; unicode-bidi: isolate; }

.list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
@media (max-width: 640px) { .list-2 { grid-template-columns: 1fr; } }
.list-2 h3 { margin-bottom: 14px; }
.list-2 ul { list-style: none; border-top: 1px solid var(--line); }
.list-2 li { padding: 12px 0; border-bottom: 1px solid var(--line); }

.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline .year { font-weight: 750; font-variation-settings: "wdth" 70; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.timeline h3 { margin-bottom: 4px; }

.video-frame { background: var(--graphite); aspect-ratio: 16/9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); padding-block: clamp(48px, 7vw, 96px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.big-mail {
  display: inline-block; font-weight: 750; font-variation-settings: "wdth" 70;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.1; word-break: break-all; text-decoration: none;
}
.big-mail:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .form .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; color: var(--dim); }
.field input, .field textarea {
  font: inherit; color: var(--paper); background: var(--graphite);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; width: 100%;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 180px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--paper); }
.check { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); }
.check p { flex: 1; color: var(--dim); font-size: 0.95rem; }
.check input { width: 96px; text-align: center; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 18px 20px; margin-bottom: 26px; border-left: 4px solid; background: var(--graphite); }
.notice--ok { border-color: var(--bar-art); }
.notice--err { border-color: var(--bar-audio); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); }
.site-foot__cta { padding-block: clamp(72px, 11vw, 150px) clamp(56px, 8vw, 100px); }
.site-foot__cta .display { font-size: clamp(3rem, 8.5vw, 8.5rem); }
.site-foot__cta .display a { text-decoration: none; }
.site-foot__cta .display a:hover { color: var(--accent); }
.site-foot__row {
  display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: baseline;
  padding-block: 26px 34px; font-size: 0.92rem; color: var(--dim);
}
.site-foot__row a { text-decoration: none; }
.site-foot__row a:hover { color: var(--paper); }
.site-foot__links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Showreel lightbox ---------- */
.reel {
  position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.96);
  display: none; flex-direction: column; justify-content: center; align-items: center;
  padding: 64px var(--gutter) 24px;
}
.reel.is-open { display: flex; }
.reel video { width: min(1400px, 100%); max-height: 74vh; background: #000; }
.reel .signal { width: min(1400px, 100%); }
.reel .signal__canvas { height: 90px; }
.reel__close {
  position: absolute; top: 16px; right: var(--gutter);
  background: none; border: 1px solid var(--line); color: var(--paper);
  font: inherit; padding: 10px 16px; cursor: pointer;
}
.reel__close:hover { border-color: var(--paper); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__video { display: none; }
}
.site-nav:has(.nav-links.is-open) { background: var(--black); }

/* ---------- v2.1: hover previews ---------- */
.card__preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s;
}
.card.is-previewing .card__preview { opacity: 1; }
.card__hint {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-size: 0.78rem; font-weight: 600; padding: 4px 9px;
  background: rgba(0,0,0,.72); color: var(--paper);
  display: inline-flex; align-items: center; gap: 7px;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s;
}
.card__hint::before { content: ""; width: 0; height: 0; border-left: 7px solid var(--c, var(--accent)); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.card:hover .card__hint, .card:focus-visible .card__hint { opacity: 1; transform: none; }
.card.is-previewing .card__hint { opacity: 0; }
@media (hover: none) { .card__hint { opacity: 1; transform: none; } }

/* ---------- v2.1: equaliser headline ---------- */
.eq .ch { display: inline-block; font-variation-settings: "wdth" var(--w, 62), "wght" var(--g, 800); will-change: font-variation-settings; }
.eq .sp { display: inline-block; width: .22em; }
.eq .wd { display: inline-block; white-space: nowrap; }
.eq .ln { display: block; white-space: nowrap; }

.hero__status { margin-top: clamp(12px, 2vh, 22px); display: flex; align-items: center; gap: 10px; color: var(--paper); }
.hero__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bar-art); box-shadow: 0 0 0 4px rgba(51,194,77,.18); }

/* ---------- v2.2: cinematic page transitions (View Transitions API) ----------
   Browsers without support simply load the next page as normal. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .38s cubic-bezier(.7, 0, .3, 1) both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes vt-out { to { opacity: 0; filter: brightness(.4); } }
@keyframes vt-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.7, 0, .3, 1); }
.site-nav { view-transition-name: site-nav; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
