/* Kimgraf — anteprima immersiva. Direzione "The dark room" (tasteskill, seed 1665013831), palette del brand. */
@font-face { font-family: "Clash Grotesk"; src: url("../assets/fonts/clash-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../assets/fonts/clash-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Three styles. "chiaro" is the default (the identity online today); "notte" is brand-profile.json's
   dark palette; "grafite" a neutral dark with the brand's secondary green. */
:root, [data-theme="chiaro"] {
  --bg: #f4f7f5;
  --surface: #e9efeb;
  --surface-2: #dfe7e2;
  --surface-3: #d2ddd7;
  --surface-hover: #c6d4cc;
  --ink: #0b1a12;
  --muted: #4a5a51;
  --accent: #087443;
  --accent-hover: #0a8a50;
  --accent-ink: #ffffff;
  --field: #0b1a12;
  --field-ink: #f4f7f5;
  --field-muted: #a9b8af;
  --field-btn: #f4f7f5;
  --field-btn-ink: #0b1a12;
  --field-btn-hover: #ffffff;
  --theme-color: #f4f7f5;
}
[data-theme="notte"] {
  --bg: #070a08;
  --surface: #0d1310;
  --surface-2: #121a16;
  --surface-3: #1a2620;
  --surface-hover: #24342b;
  --ink: #eef4f0;
  --muted: #a3afa9;
  --accent: #00f59b;
  --accent-hover: #4dffbe;
  --accent-ink: #03140c;
  --field: #e9f1ed;
  --field-ink: #07100b;
  --field-muted: #4f5d56;
  --field-btn: #070a08;
  --field-btn-ink: #eef4f0;
  --field-btn-hover: #18241e;
  --theme-color: #070a08;
}
[data-theme="grafite"] {
  --bg: #111214;
  --surface: #18191c;
  --surface-2: #1f2124;
  --surface-3: #292c30;
  --surface-hover: #33373c;
  --ink: #eceef0;
  --muted: #a4a9ae;
  --accent: #10b981;
  --accent-hover: #34d399;
  --accent-ink: #04130c;
  --field: #eceef0;
  --field-ink: #111214;
  --field-muted: #5b6168;
  --field-btn: #111214;
  --field-btn-ink: #eceef0;
  --field-btn-hover: #24272b;
  --theme-color: #111214;
}
:root {
  /* the stage where light is shown stays dark in every style */
  --stage: #050605;
  --stage-ink: #eef4f0;

  --face: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  --step-head: clamp(2.125rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(5.25rem, 16vw, 17rem);

  --m: clamp(16px, 1.8vw, 28px);
  --gap-section: clamp(120px, 14vw, 220px);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--face); font-size: var(--step-body); line-height: 1.55; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 0.98; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 50; }
.skip:focus { top: var(--m); }

/* ---------- navigation ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--m); font-size: var(--step-small);
}
.nav__home { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: 0.01em; }
.nav__home img { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: var(--step-small);
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--quiet { background: var(--surface-3); color: var(--ink); }
.btn--quiet:hover { background: var(--surface-hover); }

/* style switch */
.theme { display: flex; gap: 14px; font-size: var(--step-small); }
.theme button { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--muted); position: relative; }
.theme button[aria-pressed="true"] { color: var(--ink); }
.theme button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
.theme button:hover { color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: 40px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.link:hover { color: var(--accent); }

/* ---------- hero: the lit object, the name under it ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto; background: var(--bg); overflow: hidden; }
.hero__stage { position: relative; min-height: 52svh; }
.hero__stage canvas, .hero__stage .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: contain; padding: 12svh 0 2svh; opacity: 0.9; }
.has-webgl .hero__poster { display: none; }
.hero__stage canvas { cursor: grab; touch-action: pan-y; }
.hero__stage canvas:active { cursor: grabbing; }
.hero__hint { grid-column: 7 / span 3; align-self: end; padding-bottom: 14px; font-size: var(--step-small); color: var(--muted); }
.no-webgl-hint .hero__hint { display: none; }
.hero__row {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 20px; align-items: end;
  padding: 0 var(--m) 28px;
}
.hero__lede { grid-column: 1 / span 6; font-size: max(1.125rem, var(--step-body)); max-width: 46ch; }
.hero__lede strong { font-weight: 500; }
.hero__row .btn { grid-column: 10 / span 3; justify-self: end; }
.hero__name {
  font-size: clamp(5.25rem, 24.4vw, 28rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.85;
  padding: 0 var(--m) 20px; margin-left: -0.04em; white-space: nowrap; text-transform: uppercase;
  transform-origin: 50% 100%;
}

/* ---------- sections ---------- */
.section { padding: var(--gap-section) var(--m) 0; position: relative; }
.h2 { font-size: var(--step-head); max-width: 18ch; }
.lead { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.muted { color: var(--muted); }

/* intro: staircase statement */
.stair { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 20px; align-content: center; }
.stair__text { grid-column: 1 / span 9; }
.stair__text .step { display: block; }
.stair h2 { font-size: var(--step-head); line-height: 1.02; max-width: none; }
.stair p { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1.1; margin-top: 18px; letter-spacing: -0.02em; }
.stair .s1 { padding-left: 0; }
.stair .s2 { padding-left: 6vw; }
.stair .s3 { padding-left: 12vw; color: var(--muted); }
.stair .s4 { padding-left: 18vw; color: var(--muted); }
.stair .s5 { padding-left: 24vw; color: var(--muted); }
.stair__pics { grid-column: 10 / span 3; grid-row: 1; display: grid; gap: 16px; align-self: start; }
.stair__pics img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 22%; }
.stair p.stair__note { margin-top: 56px; font-size: var(--step-body); letter-spacing: 0; line-height: 1.55; color: var(--muted); max-width: 60ch; }

/* work: one strip per project */
.work { display: grid; grid-template-columns: 13% 1fr; gap: 0 24px; }
.work__rail { position: sticky; top: 24px; align-self: start; }
.work__rail h2 { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.01em; }
.work__filters { display: grid; gap: 6px; margin-top: 18px; justify-items: start; }
.work__filters button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--muted); font-size: var(--step-small); }
.work__filters button[aria-pressed="true"] { color: var(--ink); }
.work__filters button:hover { color: var(--ink); }
.work__list { display: grid; gap: 45px; min-width: 0; }
.strip { display: block; text-decoration: none; transition: opacity 400ms var(--ease-out); }
.work__list:hover .strip:not(:hover) { opacity: 0.4; }
.strip[hidden] { display: none; }
.strip__frames { display: flex; gap: 8px; overflow: hidden; height: 190px; }
.strip__frames img { height: 190px; width: auto; flex: none; object-fit: cover; transition: transform 700ms var(--ease-out); }
.strip:hover .strip__frames img { transform: translateY(-4px); }
.strip__caption { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 10px; font-size: var(--step-small); }
.strip__caption span:nth-child(2) { color: var(--muted); }
.strip__caption span:last-child { justify-self: end; color: var(--muted); }
.strip__caption b { font-weight: 500; }
.strip__more { color: var(--accent); }

/* list: sticky picture, active list */
.eco { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 20px; }
.eco__pic { grid-column: 1 / span 5; position: sticky; top: 12vh; align-self: start; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.eco__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms var(--ease-out); }
.eco__pic img.is-on { opacity: 1; }
.eco__body { grid-column: 7 / span 6; }
.eco__body .h2 { margin-bottom: 48px; }
.eco__row { border: 0; }
.eco__row > button {
  width: 100%; min-height: 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  background: none; border: 0; padding: 12px 0; text-align: left; cursor: pointer; color: var(--muted);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -0.01em; transition: color 300ms var(--ease-out);
}
.eco__row > button small { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; }
.eco__row.is-on > button, .eco__row > button:hover { color: var(--ink); }
.eco__row.is-on > button small { color: var(--accent); }
.eco__desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease-out); }
.eco__desc > div { overflow: hidden; }
.eco__desc p { max-width: 44ch; padding: 2px 0 18px; font-size: var(--step-body); color: var(--ink); }
.eco__row.is-on .eco__desc { grid-template-rows: 1fr; }
.eco__desc a { font-size: var(--step-small); }

/* method: one verb at a time */
.method__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 20px; padding-bottom: 64px; }
.method__intro .h2 { grid-column: 1 / span 7; }
.method__intro p { grid-column: 8 / span 5; align-self: end; max-width: 40ch; }
.verb { position: relative; height: 100svh; overflow: clip; background: var(--stage); color: var(--stage-ink); }
.verb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42) contrast(1.08) saturate(0.85); }
.verb__word {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; padding: 0.1em 0;
  font-size: var(--step-display); font-weight: 500; letter-spacing: -0.05em; line-height: 0.85; color: var(--stage-ink);
}
.verb__line {
  position: absolute; left: var(--m); bottom: var(--m); max-width: 40ch; padding: 14px 16px;
  background: rgba(7, 10, 8, 0.72); font-size: var(--step-body);
}

/* proof: tools as one sentence */
.tools .h2 { margin-bottom: 32px; }
.tools__sentence { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.22; max-width: 62ch; color: var(--muted); }
.tools__sentence span { transition: color 400ms var(--ease-out); }
.tools__sentence span.is-lit { color: var(--ink); }

/* practical: two columns */
.facts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 20px; }
.facts .h2 { grid-column: 1 / span 6; }
.facts__col { grid-column: span 6; max-width: 56ch; }
.facts__col:first-of-type { grid-column: 1 / span 6; }
.facts__col h3 { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 14px; }
.facts__col p + p, .facts__col p + ul { margin-top: 14px; }
.facts__col li { padding: 6px 0; }
.facts__col li b { font-weight: 500; }

/* contact: one field */
.idea { padding-bottom: 40px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 20px; }
.idea__inner { grid-column: 1 / span 7; max-width: 640px; }
.idea h2 { font-size: var(--step-head); max-width: none; }
.idea__prompt { margin-top: 18px; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.idea__form { position: relative; margin-top: 28px; }
.idea__form input {
  width: 100%; height: 64px; border: 0; border-radius: var(--radius); padding: 0 70px 0 20px;
  background: var(--field); color: var(--field-ink); font-size: var(--step-body);
}
.idea__form input::placeholder { color: var(--field-muted); }
.idea__form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); } /* taste-skill-ignore: focus ring, not a shadow */
.idea__form button {
  position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: var(--radius); border: 0;
  background: var(--field-btn); color: var(--field-btn-ink); cursor: pointer; display: grid; place-items: center;
  transition: transform 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.idea__form button:hover { background: var(--field-btn-hover); }
.idea__form button:active { transform: scale(0.94); }
.idea__form button svg { width: 18px; height: 18px; }
.idea__help { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.idea__route { margin-top: 36px; }
.idea__route[hidden] { display: none; }
.idea__route h3 { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; line-height: 1.4; margin-bottom: 12px; }
.route { display: flex; flex-wrap: wrap; gap: 8px; }
.route li { padding: 8px 12px; background: var(--surface-2); font-size: var(--step-small); opacity: 0; transform: translateY(8px); animation: route-in 500ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms); }
.route li.is-human { background: var(--surface-3); color: var(--accent); }
@keyframes route-in { to { opacity: 1; transform: none; } }
.idea__send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.idea__contacts { grid-column: 9 / span 4; align-self: end; display: grid; gap: 24px; margin: 0; font-size: var(--step-body); }
.idea__contacts dt { color: var(--muted); }
.idea__contacts dd { margin: 4px 0 0; }

/* footer: a single quiet line */
.foot { padding: 14svh var(--m) 30px; }
.foot__line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: baseline; font-size: var(--step-small); }
.foot__line > span:first-child, .foot__line > span:last-child { color: var(--muted); }
.foot__line nav { display: flex; gap: 24px; }
.foot__line > span:last-child { justify-self: end; }
.foot__line button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.foot__credits { margin-top: 18px; font-size: var(--step-small); color: var(--muted); max-width: 120ch; }

/* legal dialog */
.legal { max-width: 720px; width: calc(100% - 2 * var(--m)); max-height: 86svh; border: 0; padding: 40px; background: var(--surface-2); color: var(--ink); }
.legal::backdrop { background: rgba(3, 5, 4, 0.78); }
.legal h2 { font-size: var(--step-lead); letter-spacing: -0.01em; margin-bottom: 20px; }
.legal h3 { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; line-height: 1.3; margin: 22px 0 8px; }
.legal p, .legal li { font-size: var(--step-small); line-height: 1.6; }
.legal form { margin-top: 28px; }

/* ---------- motion (only when it is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero__row, .js .hero__name { animation: rise 1100ms var(--ease-out) both; }
  .js .hero__row { animation-delay: 380ms; }
  .js .hero__name { animation-delay: 160ms; }
  .js .nav { animation: fade 900ms var(--ease-out) 500ms both; }
  .js .verb > img { transform: scale(1.08); transition: transform 1600ms var(--ease-out); }
  .js .verb.is-in > img { transform: scale(1); }
  @supports (animation-timeline: view()) {
    .js .verb > img { animation: drift linear both; animation-timeline: view(); transition: none; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1) translateY(3%); } }

@media (max-width: 900px) {
  .work { grid-template-columns: 1fr; }
  .work__rail { position: static; display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap; margin-bottom: 24px; }
  .work__filters { display: flex; gap: 16px; margin: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .nav { padding: 16px var(--m); }
  .nav__end { display: none; }
  .nav__menu { display: inline-flex; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: var(--step-small); }
  .nav.is-open .nav__end { display: grid; gap: 14px; position: absolute; top: 56px; right: var(--m); background: var(--surface-2); padding: 14px 18px; }
  .nav.is-open .nav__links { display: grid; gap: 4px; }
  .hero { grid-template-rows: auto auto auto; }
  .hero__stage { min-height: 50svh; }
  .hero__row { display: grid; grid-template-columns: 1fr; gap: 18px; padding-top: 20px; }
  .hero__lede, .hero__row .btn { grid-column: 1; justify-self: start; }
  .hero__hint { display: none; }
  .hero__name { font-size: 23vw; padding-top: 14px; padding-bottom: 14px; }
  .stair { grid-template-columns: 1fr; min-height: auto; }
  .stair__text, .stair__pics, .stair__note { grid-column: 1; }
  .stair h2 { font-size: 9vw; }
  .stair .s2 { padding-left: 5vw; } .stair .s3 { padding-left: 10vw; } .stair .s4 { padding-left: 15vw; } .stair .s5 { padding-left: 20vw; }
  .stair p { font-size: 5.6vw; }
  .stair__pics { grid-row: auto; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stair__note { margin-top: 32px; }
  .work { grid-template-columns: 1fr; }
  .work__rail { position: static; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
  .work__filters { display: flex; gap: 16px; margin: 0; }
  .strip__frames { height: 120px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip__frames img { height: 120px; scroll-snap-align: start; }
  .strip__caption { grid-template-columns: 1fr auto; }
  .strip__caption span:nth-child(2) { display: none; }
  .eco { grid-template-columns: 1fr; }
  .eco__pic { grid-column: 1; position: sticky; top: 0; aspect-ratio: 4 / 3; height: 38svh; width: 100%; z-index: 2; }
  .eco__body { grid-column: 1; margin-top: 28px; }
  .eco__body .h2 { margin-bottom: 20px; }
  .eco__row > button { min-height: 56px; }
  .method__intro { grid-template-columns: 1fr; gap: 20px; }
  .method__intro .h2, .method__intro p { grid-column: 1; }
  .verb__word { font-size: 17vw; }
  .verb__line { left: 0; right: 0; bottom: 0; max-width: none; padding: 16px var(--m) 20px; }
  .facts { grid-template-columns: 1fr; }
  .facts .h2, .facts__col, .facts__col:first-of-type { grid-column: 1; }
  .idea { grid-template-columns: 1fr; }
  .idea__inner, .idea__contacts { grid-column: 1; }
  .idea__contacts { gap: 20px; }
  .foot { padding-top: 12svh; }
  .foot__line { grid-template-columns: 1fr; gap: 8px; }
  .foot__line > span:last-child { justify-self: start; }
  .foot__line nav { flex-wrap: wrap; gap: 8px 20px; }
  .legal { padding: 24px; }
}

/* Ledverse page. The stage and the console stay dark in every style: light is only seen on black. */
.lv .nav { position: relative; }
.logo-on-dark { display: none; }
[data-theme="notte"] .logo-on-light, [data-theme="grafite"] .logo-on-light { display: none; }
[data-theme="notte"] .logo-on-dark, [data-theme="grafite"] .logo-on-dark { display: block; }

/* hero: the lit chandelier, the name under it */
.lv-hero__stage { position: relative; height: 64svh; min-height: 420px; background: var(--stage); overflow: hidden; }
.lv-hero__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.lv-hero__stage canvas:active { cursor: grabbing; }
.lv-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-webgl .lv-hero__poster { display: none; }
.lv-hero__caption { position: absolute; left: var(--m); bottom: 16px; z-index: 2; font-size: var(--step-small); color: var(--stage-ink); }
.lv-hero__caption b { font-weight: 500; }
.lv-hero__band { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 20px; padding: 40px var(--m) 0; align-items: start; }
.lv-hero__title { grid-column: 1 / span 5; }
.lv-hero__title img { width: 100%; max-width: 520px; height: auto; }
.lv-hero__text { grid-column: 7 / span 6; display: grid; gap: 18px; justify-items: start; }
.lv-hero__text p { max-width: 62ch; }
.lv-hero__text strong { font-weight: 500; }

/* console */
.lv-console__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-bottom: 40px; }
.lv-console__head .h2 { grid-column: 1 / span 5; }
.lv-console__head p { grid-column: 7 / span 6; max-width: 60ch; align-self: end; }

.console {
  --c-bg: #090c0b; --c-panel: #111614; --c-panel-2: #18201c; --c-panel-3: #222d28;
  --c-ink: #eef4f0; --c-muted: #9aa7a0; --c-accent: #00f59b; --c-red: #e41b23;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "bar bar" "view panel";
  gap: 8px; padding: 8px; background: var(--c-bg); color: var(--c-ink); font-size: 15px;
}
.console__bar { grid-area: bar; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 12px 14px; background: var(--c-panel); color: var(--c-muted); }
.console__live { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-weight: 500; }
.console__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.console__bar span { font-variant-numeric: tabular-nums; }
.console { align-items: start; }
.console__view { grid-area: view; display: grid; gap: 8px; min-width: 0; position: sticky; top: 16px; }
.console__canvas { position: relative; aspect-ratio: 16 / 11; background: #020302; overflow: hidden; }
.console__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.console__meter { background: var(--c-panel); padding: 10px 14px 12px; }
.console__meter-head { display: flex; justify-content: space-between; gap: 16px; color: var(--c-muted); font-size: 13px; margin-bottom: 8px; }
.console__meter canvas { width: 100%; height: 48px; }
.console__panel { grid-area: panel; display: grid; gap: 8px; align-content: start; }
.ctl { margin: 0; border: 0; padding: 14px; background: var(--c-panel); min-width: 0; }
.ctl legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-size: 13px; color: var(--c-muted); }
.ctl legend + * { clear: both; }
.ctl__desc { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--c-muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; }
.seg button, .fx button {
  min-height: 44px; border: 0; background: var(--c-panel-2); color: var(--c-ink); cursor: pointer; text-align: left; padding: 8px 12px;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.seg button small { display: block; font-size: 13px; color: var(--c-muted); }
.seg button:hover, .fx button:hover { background: var(--c-panel-3); }
.seg button:active, .fx button:active { transform: scale(0.97); }
.seg button[aria-checked="true"], .seg button[aria-selected="true"], .fx button[aria-checked="true"] { background: var(--c-ink); color: #070a08; }
.seg button[aria-checked="true"] small { color: #3d4a43; }
.fx { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.pal button { position: relative; min-height: 44px; border: 0; padding: 0; cursor: pointer; display: grid; align-items: end; background: var(--c-panel-2); }
.pal button i { position: absolute; inset: 0 0 20px 0; }
.pal button span { position: relative; padding: 2px 8px; font-size: 13px; text-align: left; color: var(--c-muted); background: var(--c-panel-2); }
.pal button[aria-checked="true"] { outline: 2px solid var(--c-ink); outline-offset: -2px; }
.pal button[aria-checked="true"] span { color: var(--c-ink); }
.sliders { display: grid; gap: 12px; }
.slider { display: grid; gap: 6px; }
.slider > span { display: flex; justify-content: space-between; font-size: 13px; color: var(--c-muted); }
.slider b { font-weight: 400; color: var(--c-ink); }
.slider output { font-variant-numeric: tabular-nums; }
.slider input { width: 100%; height: 28px; accent-color: var(--c-accent); cursor: pointer; }
.slider--master b { font-weight: 500; }
.blackout {
  width: 100%; min-height: 48px; margin-top: 12px; border: 0; cursor: pointer; font-weight: 500; letter-spacing: 0.02em;
  background: var(--c-red); color: #fff; transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.blackout:active { transform: scale(0.98); }
.blackout[aria-pressed="true"] { background: var(--c-ink); color: #070a08; }

/* chain */
.lv-chain { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: center; }
.lv-chain__pic { grid-column: 1 / span 7; background: var(--stage); }
.lv-chain__pic img { width: 100%; height: auto; }
.lv-chain__text { grid-column: 9 / span 4; display: grid; gap: 20px; }
.chain { display: grid; gap: 10px; counter-reset: none; list-style: none; padding: 0; }
.chain li { padding: 4px 0 10px; }
.chain li b { display: block; font-weight: 500; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 48px 0 0; }
.numbers div { display: flex; flex-direction: column-reverse; gap: 8px; }
.numbers dd { margin: 0; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.04em; line-height: 0.9; font-weight: 500; font-variant-numeric: tabular-nums; }
.numbers dt { font-size: var(--step-small); color: var(--muted); max-width: 22ch; }

/* two directions */
.lv-touch__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.lv-touch__cols > div { padding: 0; }
.lv-touch__cols h3 { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 14px; }

.lv-cta__actions { grid-column: 9 / span 4; align-self: end; }
.lv-cta .idea__send { margin-top: 0; }
.scenes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-top: 48px; align-items: start; }
.scenes img { width: 100%; height: auto; background: var(--stage); }
.scenes figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

@media (max-width: 1100px) {
  .console { grid-template-columns: 1fr; grid-template-areas: "bar" "view" "panel"; }
  .console__panel { grid-template-columns: 1fr 1fr; }
  .console__view { position: static; }
  .console__canvas { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .lv-hero__stage { height: 56svh; min-height: 340px; }
  .lv-hero__band, .lv-console__head, .lv-chain { grid-template-columns: 1fr; }
  .lv-hero__title, .lv-hero__text, .lv-console__head .h2, .lv-console__head p, .lv-chain__pic, .lv-chain__text { grid-column: 1; }
  .lv-hero__title img { max-width: 300px; }
  .console { margin: 0 calc(-1 * var(--m)); padding: 6px; }
  .console__panel { grid-template-columns: 1fr; }
  .console__canvas { aspect-ratio: 4 / 5; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .numbers div:last-child { grid-column: 1 / -1; }
  .lv-touch__cols { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr; }
  .lv-cta__actions { grid-column: 1; }
}
