/* NERA GROUP — shared styles
   Concept: the slanted offset of the N mark is the site's one recurring shape.
   It cuts the venture tabs, the slide wipe and the section dividers.
   Brand reds come from the letterhead gradient: F60C13 → CF0C12 → 9F0B10 → 940418 → 82000E */
:root {
  --red: #F60C13;
  --bg: #FAF8F8;
  --surface: #FFFFFF;
  --sunk: #F2EDEE;
  --ink: #1A1315;
  --muted: #62575A;
  --line: #E4DBDD;
  --accent-text: #C20A10;
  --on-accent: #FFFFFF;
  --hero-ink: #F6F0F1;
  --hero-muted: #BDB0B4;

  --v: #F60C13;            /* active venture fill */
  --v-text: #C20A10;       /* venture colour usable as text on --bg */
  --v-ground: #17090B;     /* venture hero ground */
  --v-glow: rgba(246,12,19,.28);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
  --gutter: max(16px, 4vw);
  --slant: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120C0E; --surface: #1B1315; --sunk: #231A1C; --ink: #F5EEF0; --muted: #AB9FA3;
    --line: #35292C; --accent-text: #FF5A60; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120C0E; --surface: #1B1315; --sunk: #231A1C; --ink: #F5EEF0; --muted: #AB9FA3;
  --line: #35292C; --accent-text: #FF5A60; color-scheme: dark;
}

/* Venture themes. --v-text is lifted in dark mode so it stays readable. */
[data-v="construction"] { --v:#F60C13; --v-text:#C20A10; --v-ground:#15090B; --v-glow:rgba(246,12,19,.30); }
[data-v="interiors"]    { --v:#B80B22; --v-text:#A30A1E; --v-ground:#1A0A10; --v-glow:rgba(184,11,34,.34); }
[data-v="supply"]       { --v:#940418; --v-text:#8C0416; --v-ground:#1C0E0B; --v-glow:rgba(148,4,24,.40); }
[data-v="housing"]      { --v:#82000E; --v-text:#7A000D; --v-ground:#240A10; --v-glow:rgba(130,0,14,.45); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-v="construction"] { --v-text:#FF5A60; }
  :root:not([data-theme="light"]) [data-v="interiors"]    { --v-text:#F0627A; }
  :root:not([data-theme="light"]) [data-v="supply"]       { --v-text:#EE6677; }
  :root:not([data-theme="light"]) [data-v="housing"]      { --v-text:#E8707E; }
}
:root[data-theme="dark"] [data-v="construction"] { --v-text:#FF5A60; }
:root[data-theme="dark"] [data-v="interiors"]    { --v-text:#F0627A; }
:root[data-theme="dark"] [data-v="supply"]       { --v-text:#EE6677; }
:root[data-theme="dark"] [data-v="housing"]      { --v-text:#E8707E; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--v, var(--red)); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand svg { width: 2.5rem; height: auto; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 800 1.45rem/1 var(--font-display); font-stretch: 125%; letter-spacing: .16em; color: var(--ink); }
.brand-word i { font: 600 .56rem/1 var(--font-display); font-style: normal; letter-spacing: .5em; margin-top: .3rem; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; font-size: .92rem; font-weight: 500; }
.main-nav a { text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--red); }
.main-nav .cta { border: 0; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; flex: none; }
.lang button { font: 600 .74rem/1 var(--font-body); letter-spacing: .06em; padding: .55rem .7rem; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; font: 600 .85rem var(--font-body); background: transparent; color: var(--ink); border: 1px solid var(--line); padding: .55rem .9rem; border-radius: 3px; cursor: pointer; }

/* venture switcher bar */
.vbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25; background: #171113; color: #F6F0F1; }
.vbar-in { display: flex; align-items: stretch; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding-block: .5rem; }
.vbar-in::-webkit-scrollbar { display: none; }
.vlabel { align-self: center; font: 600 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .65; padding-right: .6rem; white-space: nowrap; }
.vtab {
  --c: var(--v); position: relative; flex: none; text-decoration: none; color: inherit;
  padding: .7rem 1.7rem; font: 600 .86rem/1.1 var(--font-body); white-space: nowrap;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  background: rgba(255,255,255,.07); transition: background .25s;
}
.vtab:hover { background: rgba(255,255,255,.16); }
.vtab[aria-current="true"] { background: var(--c); color: #fff; }
.vtab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.85); transform-origin: left; transform: scaleX(0); }
.vtab.group { --c: #3a2d30; }
.vtab[data-v="construction"] { --c:#F60C13; } .vtab[data-v="interiors"] { --c:#B80B22; }
.vtab[data-v="supply"] { --c:#940418; } .vtab[data-v="housing"] { --c:#82000E; }
.vtab[aria-current="true"][data-v="supply"], .vtab[aria-current="true"][data-v="housing"] { outline: 1px solid rgba(255,255,255,.35); outline-offset: -1px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font: 600 .95rem/1 var(--font-body); text-decoration: none; padding: 1rem 1.6rem; border: 2px solid var(--v, var(--red)); background: var(--v, var(--red)); color: #fff; cursor: pointer; border-radius: 2px; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--hero-ink); border-color: rgba(255,255,255,.5); }
.btn.ghost.dark { color: var(--ink); border-color: var(--line); }
.btn.sm { padding: .6rem 1rem; font-size: .85rem; }
.btn.red { --v: var(--red); }

/* ---------- hero slides ---------- */
.hero { position: relative; color: var(--hero-ink); background: var(--v-ground); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 82% 50%, var(--v-glow), transparent 70%),
              radial-gradient(circle, rgba(255,255,255,.07) 1.2px, transparent 1.6px) 0 0 / 18px 18px; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .01s .9s, visibility 0s .9s; }
.slide.is-active { visibility: visible; opacity: 1; transition: none; animation: wipe .95s cubic-bezier(.7,0,.2,1) both; z-index: 2; }
.slide.is-leaving { visibility: visible; opacity: 1; z-index: 1; }
@keyframes wipe { from { clip-path: polygon(0 0, 0 0, -22% 100%, -22% 100%); } to { clip-path: polygon(0 0, 124% 0, 102% 100%, 0 100%); } }
.slide-bg { position: absolute; inset: 0; background: var(--v-ground); }
.slide-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 82% 50%, var(--v-glow), transparent 70%), radial-gradient(circle, rgba(255,255,255,.07) 1.2px, transparent 1.6px) 0 0 / 18px 18px; }
.slide-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; }
.slide-photo.on { opacity: .38; mix-blend-mode: luminosity; }
.slide-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5rem); min-height: 31rem; }
.slide-copy { display: grid; gap: 1.4rem; justify-items: start; max-width: 36rem; }
.slide-kicker { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hero-muted); display: flex; align-items: center; gap: .8rem; }
.slide-kicker::before { content: ""; width: 1.6rem; height: .6rem; background: var(--v); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.slide h1, .slide h2.slide-h { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; font-stretch: 118%; line-height: .98; color: var(--hero-ink); }
.slide p.lead { color: var(--hero-muted); font-size: 1.06rem; max-width: 31rem; }
.slide-acts { display: flex; flex-wrap: wrap; gap: .8rem; }
.scene { width: 100%; height: auto; max-height: 27rem; justify-self: end; }

/* scene drawing */
.ln { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln.dim { stroke: rgba(255,255,255,.28); }
.ac { fill: var(--v); stroke: none; }
.ac.line { fill: none; stroke: var(--v); stroke-width: 2.2; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-active .draw { animation: draw 1.1s cubic-bezier(.5,0,.2,1) forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pop { opacity: 0; }
.is-active .pop { animation: pop .5s ease-out forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.grow { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.is-active .grow { animation: grow .9s cubic-bezier(.3,0,.2,1) forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes grow { to { transform: scaleY(1); } }
.is-active .sway { transform-box: view-box; transform-origin: 262px 92px; animation: sway 5s ease-in-out 1.6s infinite alternate; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.drive { transform: translateX(-340px); }
.is-active .drive { animation: drive 1.5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes drive { to { transform: none; } }
.lit { fill: rgba(255,255,255,.04); }
.is-active .lit.on { animation: lit .5s ease-out forwards; animation-delay: calc(.35s + var(--d, 0s)); }
@keyframes lit { to { fill: var(--v); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(3rem, 8vw, 6rem); }
.sec.sunk { background: var(--sunk); }
.sec h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; }
.sec .intro { color: var(--muted); max-width: 40rem; margin-top: 1rem; }
.sec-head { display: grid; gap: .2rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.eyebrow { font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .9rem; }

/* credentials */
.creds-wrap { border-block: 1px solid var(--line); background: var(--surface); }
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred { padding: 1.4rem 1.2rem 1.4rem 1.4rem; border-left: 1px solid var(--line); display: grid; gap: .25rem; }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred b { font: 700 1.05rem/1.2 var(--font-display); font-stretch: 112%; }
.cred span { font-size: .85rem; color: var(--muted); }

/* the chain: one project can pass through every venture */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 1rem; }
.link { position: relative; padding: 1.6rem 1.4rem 1.6rem 2rem; background: var(--lc); color: #fff; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); margin-left: -12px; text-decoration: none; display: grid; gap: .35rem; align-content: start; transition: filter .2s; }
.link:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.link:hover { filter: brightness(1.12); }
.link b { font: 800 1.3rem/1 var(--font-display); font-stretch: 118%; }
.link span { font-size: .84rem; opacity: .9; padding-right: .8rem; }

/* venture rows */
.vrows { display: grid; gap: 0; }
.vrow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding-block: 2rem; border-top: 1px solid var(--line); }
.vrow:last-child { border-bottom: 1px solid var(--line); }
.vrow h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; display: flex; align-items: center; gap: .9rem; }
.vrow h3::before { content: ""; flex: none; width: 1.7rem; height: 1.1rem; background: var(--v); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.vrow p { color: var(--muted); }
.vrow ul { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.vrow li, .chip { font-size: .8rem; padding: .3rem .7rem; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; }
.more { font: 600 .92rem var(--font-body); text-decoration: none; color: var(--v-text); border-bottom: 2px solid currentColor; padding-bottom: .15rem; white-space: nowrap; }

/* process rail (real sequence, so numbered) */
.rail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; counter-reset: s; }
.rail li { counter-increment: s; padding-top: 3rem; position: relative; font-size: .88rem; font-weight: 500; line-height: 1.35; }
.rail li::before { content: counter(s); position: absolute; top: 0; left: 0; font: 800 1.1rem/1 var(--font-display); color: #fff; background: var(--v, var(--red)); width: 2.4rem; height: 2.4rem; display: grid; place-items: center; clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.rail li::after { content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: -.4rem; height: 2px; background: var(--line); }
.rail li:last-child::after { display: none; }

/* two column definition lists */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 5vw, 4rem); }
.scope > div { padding-block: 1.3rem; border-top: 1px solid var(--line); display: grid; gap: .3rem; align-content: start; }
.scope h3 { font-size: 1.2rem; font-weight: 700; }
.scope p { color: var(--muted); font-size: .95rem; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tick { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.tick li { padding-left: 1.7rem; position: relative; }
.tick li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .9rem; height: .55rem; background: var(--v, var(--red)); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }

/* venture page hero */
.vhero .slide { visibility: visible; opacity: 1; animation: none; }
.vhero .slide.is-active { animation: none; }
.vhero .slide-in { min-height: 28rem; }
.crumb { font-size: .82rem; color: var(--hero-muted); }
.crumb a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }

/* photo placeholders */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.shot { display: grid; gap: .7rem; }
.ph { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--sunk); border: 1px dashed var(--line); overflow: hidden; background-size: cover; background-position: center; display: grid; place-items: center; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, color-mix(in srgb, var(--v, var(--red)) 38%, transparent) 1.3px, transparent 1.8px) 0 0 / 14px 14px; -webkit-mask: linear-gradient(120deg, #000, transparent 70%); mask: linear-gradient(120deg, #000, transparent 70%); }
.ph span { position: relative; font-size: .8rem; font-weight: 500; color: var(--muted); background: var(--surface); padding: .35rem .7rem; border-radius: 2px; }
.ph.has { border-style: solid; } .ph.has::before, .ph.has span { display: none; }
.shot figcaption { font-size: .88rem; color: var(--muted); }
.shot figcaption b { color: var(--ink); font-weight: 600; display: block; }

/* people */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.person { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.person .ph { aspect-ratio: 1; margin-bottom: .6rem; }
.person h3 { font-size: 1.15rem; font-weight: 700; }
.person .role { font-size: .85rem; font-weight: 600; color: var(--accent-text); }
.person p { font-size: .9rem; color: var(--muted); }

/* CTA band */
.band { background: var(--v-ground, #17090B); color: var(--hero-ink); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 90% 50%, var(--v-glow, rgba(246,12,19,.3)), transparent 70%), radial-gradient(circle, rgba(255,255,255,.07) 1.2px, transparent 1.6px) 0 0 / 18px 18px; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.4rem, 6vw, 4rem); }
.band h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 28rem; }
.band p { color: var(--hero-muted); margin-top: .6rem; max-width: 30rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.dl { display: grid; gap: 1.1rem; margin: 0; }
.dl div { display: grid; gap: .15rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.dl dt { font: 600 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; overflow-wrap: anywhere; }
.copy { font: 600 .72rem var(--font-body); padding: .25rem .6rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; border-radius: 2px; }
.form { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.form input, .form select, .form textarea { font: 400 1rem var(--font-body); padding: .8rem .9rem; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 2px; width: 100%; min-width: 0; }
.form textarea { min-height: 8rem; resize: vertical; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form small { color: var(--muted); font-size: .8rem; }
.note { font-size: .85rem; color: var(--muted); }

/* footer */
.foot { background: #0F0A0B; color: #E9E0E2; padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot h4 { font: 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #A99DA1; margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot .brand-word b, .foot .brand-word i { color: #fff; }
.foot-tag { margin-top: 1rem; color: #A99DA1; font-size: .9rem; max-width: 20rem; }
.foot-bar { height: .5rem; margin-block: 2rem 1rem; background: linear-gradient(90deg, #F60C13 0 25%, #CF0C12 25% 50%, #9F0B10 50% 75%, #82000E 75%); }
.legal { font-size: .8rem; color: #A99DA1; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; }

/* view transitions between pages (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: wipe .7s cubic-bezier(.7,0,.2,1) both; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .slide-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .scene { justify-self: center; max-height: 18rem; order: -1; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred:nth-child(3) { border-left: 0; padding-left: 0; } .cred:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .6rem; }
  .link:nth-child(3) { margin-left: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
  .vrow { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; }
  .rail li::after { display: none; }
  .cols, .cols.three, .scope, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .shots, .people { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-btn { display: inline-block; margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--line); margin: 0; }
  .main-nav.open { display: flex; }
  .lang { margin-left: 0; }
}
@media (max-width: 560px) {
  .chain { grid-template-columns: minmax(0, 1fr); }
  .chain .link, .chain .link:first-child, .chain .link:nth-child(3), .chain.three .link { margin-left: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); padding: 1.3rem 1.4rem 2rem; }
  .chain { row-gap: .2rem; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .vlabel { display: none; }
  .vbar-in { gap: .2rem; }
  .vtab { padding: .65rem .95rem; font-size: .8rem; --slant: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-active, ::view-transition-new(root) { animation: none; }
  .draw { stroke-dashoffset: 0; animation: none !important; }
  .pop, .grow, .drive { opacity: 1; transform: none; animation: none !important; }
  .lit.on { fill: var(--v); animation: none !important; }
  .sway { animation: none !important; }
}
.chain.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .chain.three { grid-template-columns: minmax(0, 1fr); } .chain.three .link { margin-left: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); } }

.legal a { color: #F4EEF0; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }
