/* SaDeN · variante 3 "Timeline"
   Grafite e verde, ispirata al programma di montaggio: la pagina è una sequenza, in alto la timeline con la testina.
   Carattere: Familjen Grotesk per i testi, Atkinson Hyperlegible Mono per etichette e timecode. */

@font-face { font-family: "Familjen"; src: url("../fonts/familjen.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "AHMono"; src: url("../fonts/atkinson-hyperlegible-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "AHMono"; src: url("../fonts/atkinson-hyperlegible-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #121412;
  --panel: #1a1d1a;
  --panel-2: #222622;
  --line: #2f342f;
  --text: #e9ece5;
  --muted: #9ea69c;        /* 7:1 sul fondo */
  --go: #00ff00;
  --go-ink: #041204;
  --go-dim: #0d3a10;       /* clip "selezionata" */
  --font: "Familjen", "Helvetica Neue", Arial, sans-serif;
  --mono: "AHMono", ui-monospace, Menlo, monospace;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 64px;
  --track-h: 34px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--track-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; }
::selection { background: var(--go); color: var(--go-ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--go); color: var(--go-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

.eyebrow, .mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 14px; background: var(--go); }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec__title, .hero h1, .plain h1 { font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
.sec__title { font-size: clamp(2.1rem, 4.8vw, 3.8rem); }
.sec__lead { color: var(--muted); max-width: 48ch; font-size: 1.1rem; margin-top: 16px; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* ---------- pulsanti ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); color: var(--text);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:hover { border-color: var(--muted); }
.btn--go { background: var(--go); border-color: var(--go); color: var(--go-ink); }
.btn--go:hover { background: #7dff7d; border-color: #7dff7d; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--go); text-underline-offset: 5px; }
.link:hover { color: var(--go); }

/* ---------- intestazione + timeline ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(18, 20, 18, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .bar { background: rgba(18, 20, 18, .82); backdrop-filter: blur(12px); } }
.bar__in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.logo { margin-right: auto; }
.logo img { height: 34px; width: auto; }
.menu ul { display: flex; gap: 6px; }
.menu a { display: block; padding: 8px 12px; border-radius: 6px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.menu a:hover { background: var(--panel-2); }
.bar__cta { min-height: 40px; padding: 0 16px; }
.toggle { display: none; }

.track { border-top: 1px solid var(--line); background: var(--panel); }
.track__in { display: flex; align-items: center; gap: 14px; height: var(--track-h); }
.track__tc { font-family: var(--mono); font-size: .8rem; color: var(--go); font-variant-numeric: tabular-nums; min-width: 11ch; }
.track__lane { position: relative; flex: 1; height: 22px; }
.track__list { display: flex; height: 100%; gap: 2px; }
.track__item { flex: var(--w, 1) 1 0; min-width: 0; }
.track__seg {
  display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 8px;
  background: var(--panel-2); border-left: 2px solid var(--line); border-radius: 2px;
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  text-decoration: none; white-space: nowrap; overflow: hidden; transition: background-color .25s, color .25s, border-color .25s;
}
.track__seg:hover { color: var(--text); }
.track__seg[aria-current] { background: var(--go-dim); border-left-color: var(--go); color: var(--text); }
.track__head {
  position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; background: var(--go);
  transform: translateX(calc(var(--p, 0) * (100cqw - 2px)));
  pointer-events: none;
}
.track__lane { container-type: inline-size; }
.track__head svg { position: absolute; top: -1px; left: -5px; width: 12px; height: 12px; fill: var(--go); transform: rotate(90deg); }
.track__head svg use { fill: var(--go); color: var(--go); }

@media (max-width: 899px) {
  .bar__cta { display: none; }
  .toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
  .toggle__bars, .toggle__bars::before, .toggle__bars::after { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .3s var(--ease), background-color .2s; }
  .toggle__bars { position: relative; }
  .toggle__bars::before, .toggle__bars::after { content: ""; position: absolute; left: 0; }
  .toggle__bars::before { top: -7px; }
  .toggle__bars::after { top: 7px; }
  .toggle[aria-expanded="true"] .toggle__bars { background: transparent; }
  .toggle[aria-expanded="true"] .toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .toggle[aria-expanded="true"] .toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .menu { position: absolute; inset: var(--head-h) 0 auto; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 24px; display: none; }
  .menu.is-open { display: block; }
  .menu ul { flex-direction: column; }
  .menu a { padding: 14px 12px; font-size: 1.4rem; font-weight: 600; }
  .track__tc { min-width: 0; font-size: .72rem; }
  .track__seg { font-size: 0; padding: 0; justify-content: center; }
}

/* ---------- apertura ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.7rem); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--go); }
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 44ch; margin-bottom: 32px; }
.monitor { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.monitor__bar { display: flex; justify-content: space-between; gap: 16px; padding: 8px 14px; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.monitor__bar span:first-child { color: var(--text); }
.monitor__screen { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.monitor__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: transform 1s var(--ease); }
.monitor__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(18, 20, 18, .55); border: 1px solid rgba(255, 255, 255, .35); color: var(--go);
  transition: background-color .25s, transform .35s var(--ease);
}
@supports (backdrop-filter: blur(4px)) { .monitor__play { backdrop-filter: blur(6px); } }
.monitor__play .ic { width: 26px; height: 27px; margin-left: 4px; }
.monitor__screen:hover .monitor__play, .monitor__screen:focus-visible .monitor__play { background: var(--go); color: var(--go-ink); transform: scale(1.06); }
.monitor__screen:hover img { transform: scale(1.03); }

/* ---------- lavori: striscia di clip ---------- */
.works { border-top: 1px solid var(--line); }
.strip__ctrl { display: flex; align-items: center; gap: 8px; }
.strip__hint { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.strip__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); cursor: pointer; transition: border-color .2s, opacity .2s; }
.strip__btn:hover { border-color: var(--muted); }
.strip__btn:disabled { opacity: .35; cursor: default; }
.strip__btn--prev .ic { transform: scaleX(-1); }
.strip {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding-block: 4px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (hover: hover) { .strip { cursor: grab; } }
.strip__lane { display: flex; gap: 16px; width: max-content; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.clip { width: clamp(270px, 34vw, 470px); scroll-snap-align: start; }
.clip__link { display: block; height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.clip__link img { -webkit-user-drag: none; }
.clip__tag { display: flex; justify-content: space-between; padding: 8px 12px; background: var(--go-dim); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #c9f5c9; }
.clip__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.clip__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.clip__play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--go); color: var(--go-ink); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .35s var(--ease); }
.clip__play .ic { width: 16px; height: 17px; margin-left: 3px; }
.clip__body { display: grid; padding: 14px 14px 18px; }
.clip__client { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.clip__title { color: var(--muted); }
/* clip selezionata, come nel programma di montaggio */
.clip__link:hover, .clip__link:focus-visible { border-color: var(--go); box-shadow: 0 0 0 1px var(--go); outline: none; }
.clip__link:hover .clip__play, .clip__link:focus-visible .clip__play { opacity: 1; transform: none; }
.clip__link:hover .clip__frame img { transform: scale(1.04); }
@media (hover: none) { .clip__play { opacity: 1; transform: none; } }
.works__more { margin-top: 28px; }

/* ---------- noleggio: checklist da set ---------- */
.rent { background: var(--panel); border-block: 1px solid var(--line); }
.rent__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .rent__grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } .rent__intro { position: sticky; top: calc(var(--head-h) + var(--track-h) + 32px); } }
.note { margin-top: 16px; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; color: var(--muted); }
.basket { display: none; margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.js .basket { display: grid; gap: 14px; }
.basket__count { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; color: var(--muted); }
.basket__count [data-basket-count] { display: block; font-size: 1.6rem; color: var(--text); font-variant-numeric: tabular-nums; }
.basket.is-full .basket__count [data-basket-count] { color: var(--go); }
.basket .btn { justify-self: start; opacity: .4; pointer-events: none; transition: opacity .3s; }
.basket.is-full .btn { opacity: 1; pointer-events: auto; }
.rent__list { display: grid; gap: 16px; }
@media (min-width: 700px) { .rent__list { grid-template-columns: 1fr 1fr; } .rent__list--one { grid-template-columns: 1fr; } }
.rent__list--one .rent__item { padding-block: 18px; }
.rent__list--one .rent__name { font-size: 1.12rem; }
.rent__cat { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rent__cat-title { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--panel-2); font-family: var(--mono); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rent__n { color: var(--muted); font-weight: 400; }
.rent__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-top: 1px solid var(--line); transition: background-color .2s; }
.rent__text { flex: 1; display: grid; order: 2; }
.rent__name { font-weight: 600; }
.rent__note { color: var(--muted); font-size: .9rem; line-height: 1.4; }
/* il pulsante copre tutta la riga: si spunta toccando ovunque */
.rent__add { display: none; order: 1; position: static; width: 22px; height: 22px; padding: 0; flex: none; border: 1.5px solid var(--muted); border-radius: 4px; background: transparent; cursor: pointer; place-items: center; transition: background-color .15s, border-color .15s; }
.js .rent__add { display: grid; }
.rent__add::after { content: ""; position: absolute; inset: 0; }
.rent__add .ic { width: 14px; height: 14px; grid-area: 1 / 1; }
.rent__add .ic--plus { opacity: 0; }
.rent__add .ic--check { display: none; color: var(--go-ink); }
.rent__item:hover { background: var(--panel); }
.rent__item:hover .rent__add { border-color: var(--text); }
.rent__add[aria-pressed="true"] { background: var(--go); border-color: var(--go); }
.rent__add[aria-pressed="true"] .ic--check { display: block; }
.rent__item:has([aria-pressed="true"]) { background: rgba(13, 58, 16, .45); }
.rent__add:focus-visible { outline: none; }
.rent__add:focus-visible::after { outline: 2px solid var(--go); outline-offset: -2px; }

/* ---------- contatti ---------- */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.contact .sec__title { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.channels { margin-top: 36px; display: grid; gap: 8px; }
.channel { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: border-color .2s; }
.channel .ic { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 6px; background: var(--panel-2); color: var(--go); }
.channel__k { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.channel__v { font-weight: 600; font-size: 1.08rem; }
.channel:hover { border-color: var(--go); }

/* ---------- modulo ---------- */
.form { display: grid; gap: 20px; padding: clamp(20px, 3.5vw, 36px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; align-self: start; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field__label, .form__tipo legend { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.field__opt { text-transform: none; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: #4b524b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--go); box-shadow: 0 0 0 1px var(--go); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff7b72; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.form__tipo { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__tipo legend { margin-bottom: 10px; padding: 0; }
.form__tipo .opt { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; text-align: center; transition: background-color .2s, color .2s; }
.opt input:hover + span { background: var(--panel-2); }
.opt input:checked + span { background: var(--go); border-color: var(--go); color: var(--go-ink); }
.opt input:focus-visible + span { outline: 2px solid var(--go); outline-offset: 2px; }
.form__rent { display: grid; gap: 20px; padding: 16px; border: 1px dashed var(--line); border-radius: 8px; }
.form__rent[hidden] { display: none; }
.picked { display: flex; flex-wrap: wrap; gap: 6px; }
.picked li { display: inline-flex; align-items: center; padding: 2px 2px 2px 10px; background: var(--go-dim); border: 1px solid #1f6b24; border-radius: 4px; font-family: var(--mono); font-size: .8rem; }
.picked__x { display: grid; place-items: center; width: 30px; height: 30px; background: none; border: 0; cursor: pointer; color: var(--muted); }
.picked__x:hover { color: var(--text); }
.picked__empty { font-size: .92rem; color: var(--muted); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__note { font-size: .88rem; color: var(--muted); }
.form__status:empty { display: none; }
.form__status { padding: 12px 14px; border-left: 2px solid var(--go); background: var(--bg); font-size: .95rem; }

/* ---------- piè di pagina ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px 36px; }
.foot__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } .foot__legal { grid-column: 1 / -1; } }
.foot__logo { width: 300px; max-width: 100%; height: auto; }
.foot__addr { font-style: normal; color: var(--muted); font-size: .95rem; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--go); }
.foot__nav { display: grid; gap: 6px; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; }
.foot__legal { padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot__legal a { margin-right: 18px; }

/* ---------- player video ---------- */
.player { width: min(1120px, 94vw); padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); color: var(--text); }
.player::backdrop { background: rgba(8, 9, 8, .9); }
@media (prefers-reduced-motion: no-preference) { .player[open] { animation: v3-in .35s var(--ease) both; } }
@keyframes v3-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.player__bar { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 16px; }
.player__title { flex: 1; font-family: var(--mono); font-size: .8rem; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.player__out { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.player__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; }
.player__close:hover { border-color: var(--go); }
.player__screen { aspect-ratio: 16 / 9; background: #000; }
.player__screen iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- pagine legali ---------- */
.plain { padding-block: 72px 100px; }
.plain__head { margin-bottom: 44px; }
.plain h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
.legal { max-width: 70ch; }
.legal h2 { font-family: var(--mono); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--go); margin: 40px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p { color: #cfd4cc; }
.legal p + p { margin-top: 10px; }
.legal a { text-decoration-color: var(--go); text-underline-offset: 3px; }
.legal__date { margin-top: 40px; font-size: .9rem; color: var(--muted) !important; }
.legal .btns { margin-top: 32px; }

/* Telefono: il riepilogo compare in basso solo quando c'è qualcosa nella richiesta */
@media (max-width: 999px) {
  .js .basket:not(.is-full) { display: none; }
  .js .basket.is-full { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-color: var(--go); box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
  .js.at-contact .basket.is-full { display: none; }
  .basket__rest { display: none; }
  .basket.is-full .basket__count [data-basket-count] { font-size: 1.1rem; }
  .basket.is-full .btn { white-space: nowrap; min-height: 44px; padding: 0 14px; }
}
@media (max-width: 599px) { .strip__hint { display: none; } }

/* ---------- Swiss LiveCom: linguetta fissa a destra ---------- */
.assoc { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%); }
.assoc__link {
  position: relative; display: block; width: 44px; height: 160px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
  box-shadow: -10px 10px 30px rgba(0, 0, 0, .35); text-decoration: none;
  transition: width .5s var(--ease), border-color .25s;
}
.assoc__rail { position: absolute; inset: 0 auto 0 0; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 14px; transition: opacity .25s; }
.assoc__rail img { width: 20px; height: auto; }
.assoc__rail-text { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.assoc__full { position: absolute; inset: 0 auto 0 0; width: 236px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 22px; opacity: 0; transition: opacity .25s; }
.assoc__full img { width: 190px; height: auto; }
.assoc__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.assoc.is-open .assoc__link, .assoc__link:hover, .assoc__link:focus-visible { width: 236px; border-color: #3d443d; }
.assoc.is-open .assoc__rail, .assoc__link:hover .assoc__rail, .assoc__link:focus-visible .assoc__rail { opacity: 0; }
.assoc.is-open .assoc__full, .assoc__link:hover .assoc__full, .assoc__link:focus-visible .assoc__full { opacity: 1; transition-delay: .15s; }
.assoc__link:focus-visible { outline: 2px solid var(--go); outline-offset: -2px; }
@media (max-width: 899px) {
  .assoc { top: auto; bottom: 30%; transform: none; }
  .assoc__link { width: 32px; height: 124px; }
  .assoc__rail { width: 32px; gap: 8px; padding-top: 10px; }
  .assoc__rail img { width: 15px; }
  .assoc__rail-text { font-size: .56rem; }
}
.menu-open .assoc, .is-playing .assoc { display: none; }

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