:root {
  --paper: #e7e9e4;
  --paper-2: #dde0da;
  --ink: #14171b;
  --ink-2: #3a4148;
  --ink-3: #5b636b;
  --rule: rgba(20, 23, 27, 0.16);
  --rule-strong: rgba(20, 23, 27, 0.55);
  --blue: #2f7fb5;
  --blue-ink: #1d5f8c;
  --red: #c23a1e;
  --act: #0d6ea6;
  --act-light: #6cb8e8;
  --green: #1f8a4c;
  --amber: #b7790f;
  --plate: #0f1216;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'Chivo Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --frame: 28px;
  --navh: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(47, 127, 181, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 127, 181, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--sans);
  font-variation-settings: 'wdth' 100;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--act);
}
::selection { background: var(--blue); color: var(--paper); }
html { scrollbar-color: var(--ink-3) var(--paper-2); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border: 3px solid var(--paper-2); }

a { color: inherit; text-decoration-color: var(--act); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a:hover { color: var(--act); }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the sheet frame */
.frame { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--rule-strong); }
.frame .refs { position: absolute; display: flex; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.frame .refs.top { top: 10px; left: 10px; right: 10px; height: 18px; border-bottom: 1px solid var(--rule); }
.frame .refs.left { top: 10px; bottom: 10px; left: 10px; width: 18px; flex-direction: column; border-right: 1px solid var(--rule); }
.frame .refs span { flex: 1; display: grid; place-items: center; }
.frame .refs.top span + span { border-left: 1px solid var(--rule); }
.frame .refs.left span + span { border-top: 1px solid var(--rule); }
.frame .refs.top span:first-child { flex: 0 0 18px; }
@media (prefers-reduced-motion: no-preference) {
  .js .frame::before { animation: rule 1.1s var(--ease) both; }
}
@keyframes rule { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }

.sheet { padding-left: calc(var(--frame) + 10px); padding-right: calc(var(--frame) - 8px); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* nav */
.nav {
  position: sticky; top: 28px; z-index: 30; margin-top: 28px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap { display: flex; align-items: center; height: 52px; gap: 24px; }
.nav .who { margin-right: auto; }
.nav .lang { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-decoration: none; color: var(--ink-2); border: 1px solid var(--rule-strong); padding: 4px 8px 3px; }
.nav .lang:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.nav .who { font-weight: 800; font-variation-settings: 'wdth' 125; letter-spacing: 0.02em; text-decoration: none; font-size: 15px; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.nav ul a:hover { color: var(--act); }
.nav .menu { display: none; }

section { padding: clamp(72px, 10vw, 136px) 0 clamp(56px, 7vw, 96px); position: relative; }
section + section { border-top: 1px solid var(--rule); }

.h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; font-variation-settings: 'wdth' 112; line-height: 1.02; letter-spacing: -0.025em; max-width: 18ch; }
.lede { margin-top: 20px; max-width: 60ch; color: var(--ink-2); font-size: 18px; }

.viewtitle { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.viewtitle b { flex: none; white-space: nowrap; font-weight: 700; font-variation-settings: 'wdth' 112; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.viewtitle .mono { color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px;
  font-family: var(--sans); font-size: 15px; font-weight: 650;
  text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--act); border-color: var(--act); color: #fff; }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn.big { height: 64px; padding: 0 30px; font-size: 19px; }
.btn svg { width: 16px; height: 16px; flex: none; }

.plate {
  position: relative; aspect-ratio: 4 / 5; background: var(--plate); overflow: hidden;
  box-shadow: 0 1px 0 rgba(20,23,27,0.1), 0 18px 40px -22px rgba(20,23,27,0.55);
}
.plate video, .plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate video { z-index: 1; opacity: 0; transition: opacity 0.5s var(--ease); }
.plate video.on { opacity: 1; }
.plate::before, .plate::after {
  content: ''; position: absolute; z-index: 3; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--paper); border-style: solid; opacity: 0.7;
}
.plate::before { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.plate::after { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }
figure { margin: 0; }

/* ---------- the scrolly: one engine, a different place each time ---------- */
.scrolly { position: relative; height: calc(7 * 72vh + 100vh); }
.stage { position: sticky; top: var(--navh); height: calc(100vh - var(--navh)); display: flex; align-items: center; overflow: hidden; }
.stage > .wrap { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 64px); align-items: center; }
.copy { position: relative; height: 100%; }
.copy > div {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0.45s;
}
.copy > div.on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity 0.45s var(--ease), transform 0.7s var(--ease), visibility 0s; }
.cover h1 {
  font-size: clamp(56px, 6.2vw, 92px); font-weight: 900; font-variation-settings: 'wdth' 112;
  line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase;
}
.cover .claim { margin-top: 26px; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.18; font-weight: 600; font-variation-settings: 'wdth' 92; letter-spacing: -0.01em; max-width: 21ch; }
.cover .claim em { font-style: normal; color: var(--act); }
.cover .sub { margin-top: 18px; color: var(--ink-2); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.cue svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) { .cue svg { animation: nudge 1.8s var(--ease) infinite; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.chap .n { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }
.chap h2 { margin-top: 10px; font-size: clamp(34px, 4.2vw, 58px); font-weight: 800; font-variation-settings: 'wdth' 112; line-height: 1.02; letter-spacing: -0.025em; max-width: 14ch; }
.chap p { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.chap .actions { margin-top: 26px; }

/* the route down the margin */
.route { position: absolute; left: calc(var(--gutter) / 2 - 22px); top: 40px; bottom: 40px; width: 60px; z-index: 4; }
.stage .copy { margin-left: 30px; }
.stage .rail { display: none; }
.route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route path { fill: none; stroke-linecap: round; }
.route .track { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 2 5; }
.route .ink { stroke: var(--act); stroke-width: 2.25; }
.route .node {
  all: unset; position: absolute; box-sizing: border-box; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--ink-3); background: var(--paper); color: var(--ink-3);
  font-family: var(--mono); font-size: 11px; line-height: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.route .node:hover { border-color: var(--ink); color: var(--ink); }
.route .node:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; }
.route .node.reached { border-color: var(--act); color: var(--act); }
.route .node.current { background: var(--act); border-color: var(--act); color: #fff; transform: scale(1.2); }
.pager .route { display: none; }

.rail { display: none; position: absolute; left: var(--gutter); bottom: 28px; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; z-index: 4; }
.rail button {
  all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; width: 86px;
  font-size: 12px; font-weight: 650; color: var(--ink-3);
}
.rail button::before { content: ''; height: 3px; background: var(--rule); transition: background 0.3s var(--ease); }
.rail button[aria-current="step"] { color: var(--ink); }
.rail button[aria-current="step"]::before { background: var(--act); }
.rail button:hover { color: var(--ink); }
.rail button:focus-visible { outline: 2px solid var(--act); outline-offset: 4px; }

.fig { position: relative; margin-right: 250px; }
.fig .plate { height: min(calc(100vh - var(--navh) - 150px), 780px); width: auto; }
.fig .plate img { z-index: 0; transition: opacity 0.5s var(--ease); }
.fig .plate .layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.fig .plate .layer.on { opacity: 1; }
.fig .plate .layer video { opacity: 1; }
.empty {
  position: absolute; inset: 0; background: var(--paper);
  border: 1.5px dashed var(--ink-3);
  background-image:
    linear-gradient(rgba(47, 127, 181, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 127, 181, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  display: grid; place-items: center; color: var(--ink-2);
}
.empty svg { width: 46%; max-width: 220px; color: var(--ink-3); }
.empty span { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-weight: 750; font-variation-settings: 'wdth' 110; font-size: 20px; color: var(--ink); }

/* the card: a small title block that stays put while the place changes */
.card {
  position: absolute; left: calc(100% - 64px); bottom: 12%; width: 314px; z-index: 5;
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 0 24px 48px -26px rgba(20,23,27,0.6);
}
.card::before { content: ''; position: absolute; right: 100%; top: 34px; width: 40px; height: 1.5px; background: var(--ink); }
.card::after { content: ''; position: absolute; right: calc(100% + 36px); top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.card .row { padding: 10px 14px 11px; border-top: 1px solid var(--ink); }
.card .row:first-child { border-top: 0; }
.card .k { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.card .v { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; transition: opacity 0.18s ease, transform 0.18s ease; }
.card .v.big { font-size: 21px; font-weight: 800; font-variation-settings: 'wdth' 108; letter-spacing: -0.01em; line-height: 1.12; }
.card .v.swap { opacity: 0; transform: translateY(-6px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 8px; border: 1.5px solid currentColor; font-size: 14px; font-weight: 700; transition: color 0.3s ease; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip[data-tone="ok"] { color: var(--green); }
.chip[data-tone="warn"] { color: var(--amber); }
.chip[data-tone="alarm"] { color: var(--red); }
.chip[data-tone="info"] { color: var(--blue-ink); }
.chip[data-tone="none"] { color: var(--ink-2); border-style: dashed; }
.card .foot { padding: 8px 14px; border-top: 1px solid var(--ink); background: var(--paper-2); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }

.pager { display: none; }

/* ---------- twins grid ---------- */
.twins-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.twins-head .lede { margin-top: 0; }
.twins { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 20px; list-style: none; margin: 0; padding: 0; }
.twin { grid-column: span 3; }
.twin.big { grid-column: span 4; }
.twin button, .twin > a { all: unset; display: block; width: 100%; cursor: pointer; }
.twin button:focus-visible, .twin > a:focus-visible { outline: 2px solid var(--act); outline-offset: 4px; }
.twin .plate { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.twin button:hover .plate, .twin > a:hover .plate { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(20,23,27,0.1), 0 26px 50px -24px rgba(20,23,27,0.65); }
.twin .plate img { z-index: 0; }
.twin .play {
  position: absolute; z-index: 4; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(231, 233, 228, 0.92); color: var(--ink);
  opacity: 0; transform: scale(0.9); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.twin .play svg { width: 14px; height: 14px; }
.twin button:hover .play, .twin button:focus-visible .play { opacity: 1; transform: none; }
.twin h3 { margin-top: 14px; font-size: 17px; font-weight: 750; font-variation-settings: 'wdth' 106; line-height: 1.2; }
.twin.big h3 { font-size: 22px; font-weight: 800; }
.twin .tag { display: block; color: var(--act); font-family: var(--mono); font-size: 11px; font-weight: 400; margin-bottom: 4px; }
.twin p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.twin.big p { font-size: 15.5px; }
.twin.yours .plate { box-shadow: none; background: transparent; }
.twin.yours .plate::before, .twin.yours .plate::after { border-color: var(--ink-3); }
.twin.yours .empty span { font-size: 17px; }
.note { margin-top: 40px; color: var(--ink-3); }

.pump { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 56px); align-items: end; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--rule); }
.pump .plate { aspect-ratio: 1232 / 688; }
.pump .plate img { z-index: 0; }
.pump h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; font-variation-settings: 'wdth' 110; line-height: 1.05; letter-spacing: -0.015em; margin-top: 6px; }
.pump .kick { color: var(--blue-ink); }
.pump p { margin-top: 14px; color: var(--ink-2); }
.pump .btn { margin-top: 24px; }

/* ---------- four parts ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-grid .h2 { max-width: 13ch; }
.how-quote { margin-top: 28px; font-size: 19px; line-height: 1.45; max-width: 34ch; color: var(--ink-2); }
.how-quote strong { color: var(--ink); font-weight: 650; }
.layers { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.layer-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; border-bottom: 1.5px solid var(--ink); }
.layer-row .cut { grid-row: 1 / 3; grid-column: 1; border-right: 1.5px solid var(--ink); position: relative; }
.layer-row:nth-child(2) .cut { background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(20,23,27,0.85) 9px 10px); }
.layer-row:nth-child(3) .cut { background: repeating-linear-gradient(45deg, transparent 0 7px, rgba(20,23,27,0.55) 7px 8px), repeating-linear-gradient(-45deg, transparent 0 7px, rgba(20,23,27,0.55) 7px 8px); }
.layer-row:nth-child(4) .cut { background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(20,23,27,0.8) 5px 6.2px); }
.layer-row .cut .mono { position: absolute; left: 8px; top: 10px; background: var(--paper); padding: 1px 5px; color: var(--ink); }
.layer-row h3 { grid-column: 2 / 4; padding-top: 22px; font-size: 22px; font-weight: 800; font-variation-settings: 'wdth' 110; }
.layer-row p { padding: 8px 0 24px; font-size: 15.5px; color: var(--ink-2); }
.layer-row p.does { grid-column: 2; }
.layer-row p.yours { grid-column: 3; color: var(--ink); }
.layer-row p::before { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; margin-bottom: 4px; }
.layer-row p.does::before { content: 'What it does'; color: var(--ink-3); }
.layer-row p.yours::before { content: 'Made for your place'; color: var(--act); }
.layers-key { margin-top: 14px; color: var(--ink-3); }

/* ---------- work, in tabs ---------- */
.tabs { display: flex; gap: 6px; margin-top: 40px; border-bottom: 1.5px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.tab {
  all: unset; cursor: pointer; flex: none; padding: 13px 22px 12px; margin-bottom: -1.5px;
  font-size: 16px; font-weight: 700; font-variation-settings: 'wdth' 106; color: var(--ink-3);
  border: 1.5px solid transparent; border-bottom: 0;
}
.tab:hover { color: var(--ink); }
.tab:focus-visible { outline: 2px solid var(--act); outline-offset: -4px; }
.tab[aria-selected="true"] { color: var(--ink); background: var(--paper); border-color: var(--ink); }
.tab[aria-selected="true"][data-dark] { background: var(--ink); color: var(--paper); }
.panel { padding-top: 48px; }
.panel[hidden] { display: none; }
.panel .h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 22ch; }

.studio { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 56px); margin-top: 0; }
.studio a { text-decoration-color: var(--act-light); }
.studio a:hover { color: #fff; }
.studio .h2 { color: var(--paper); }
.studio .lede { color: #b9c0c6; }
.studio-film { margin-top: 40px; position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.studio-film video { width: 100%; height: 100%; object-fit: cover; }
.studio .viewtitle .mono { color: #8f989f; }
.studio-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.studio-cols h3 { font-size: 19px; font-weight: 750; font-variation-settings: 'wdth' 108; padding-top: 14px; border-top: 1.5px solid #59626a; }
.studio-cols h3 .mono { color: #7fb6dc; font-weight: 400; margin-right: 8px; font-size: 11px; }
.studio-cols p { margin-top: 10px; font-size: 15.5px; color: #c3c9ce; }
.around { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding-top: 28px; border-top: 1px solid #3b4249; }
.around h3, .phones h3 { font-size: 19px; font-weight: 750; font-variation-settings: 'wdth' 108; }
.around ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.around li { font-size: 15.5px; color: #c3c9ce; padding-left: 18px; position: relative; }
.around li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--act-light); }
.phones { margin-top: 52px; padding-top: 28px; border-top: 1px solid #3b4249; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.phones p { margin-top: 10px; font-size: 15.5px; color: #c3c9ce; max-width: 46ch; }
.phones .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 20px; }
.phones .pair figure:nth-child(2) { margin-top: 40px; }
.phone { border: 6px solid #2a3036; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9); }
.phone img { width: 100%; height: auto; }

.sim-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.questions { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.questions li { display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 600; line-height: 1.4; }
.questions li .mono { color: var(--blue-ink); padding-top: 4px; }
.questions + p { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
.shot { border: 1.5px solid var(--ink); background: #fff; box-shadow: 0 1px 0 rgba(20,23,27,0.1), 0 22px 44px -26px rgba(20,23,27,0.55); }
.shot img { width: 100%; height: auto; }
.sim-shots figure + figure { margin-top: 32px; margin-left: 14%; }
.sim-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
.sim-notes h3 { font-size: 19px; font-weight: 750; font-variation-settings: 'wdth' 108; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.sim-notes p { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink); }
.table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table td.n { font-family: var(--mono); font-size: 13px; color: var(--blue-ink); width: 52px; }
.table td.t { font-weight: 750; font-variation-settings: 'wdth' 106; width: 28%; }
.table td.t small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; font-variation-settings: 'wdth' 100; margin-top: 2px; }
.table td.d { color: var(--ink-2); }
.table td.s { font-family: var(--mono); font-size: 12px; color: var(--ink-3); width: 22%; }
.table td.y { font-family: var(--mono); font-size: 13px; white-space: nowrap; width: 110px; }
.table a { font-weight: 650; }

.bg-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bg-grid .copy-text { color: var(--ink-2); max-width: 52ch; margin-top: 24px; }
.bg-grid .copy-text p + p { margin-top: 16px; }

/* contact: one action, then the title block */
.contact { padding-bottom: 72px; }
.contact .lede { max-width: 56ch; }
.contact .actions { margin-top: 32px; }
.titleblock { margin-top: 56px; border: 1.5px solid var(--ink); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; background: var(--paper); }
.titleblock > div { padding: 14px 18px 18px; border-left: 1px solid var(--ink); min-width: 0; }
.titleblock > div:first-child { border-left: 0; }
.titleblock .row2 { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 2.4fr 1fr 1fr; padding: 0; }
.titleblock .row2 > div { padding: 12px 18px 14px; border-left: 1px solid var(--ink); }
.titleblock .row2 > div:first-child { border-left: 0; }
.titleblock .k { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.titleblock .v { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.titleblock .v a { text-decoration: none; }
.titleblock .v a:hover { text-decoration: underline; }
.titleblock .big { font-size: clamp(22px, 2.4vw, 30px); font-weight: 850; font-variation-settings: 'wdth' 118; line-height: 1.05; }

/* film viewer */
dialog.viewer { padding: 0; border: 0; background: transparent; color: var(--paper); max-width: none; max-height: none; width: 100%; height: 100%; }
dialog.viewer::backdrop { background: rgba(10, 12, 15, 0.9); }
dialog.viewer[open] { display: grid; place-items: center; }
.viewer .box { display: grid; grid-template-columns: auto minmax(0, 320px); gap: 32px; align-items: end; padding: 24px; max-height: 100%; }
.viewer video { height: min(84vh, 900px); width: auto; aspect-ratio: 4 / 5; background: #000; }
.viewer .meta .mono { color: #7fb6dc; }
.viewer h3 { font-size: 30px; font-weight: 850; font-variation-settings: 'wdth' 114; line-height: 1.05; margin-top: 8px; }
.viewer p { margin-top: 12px; color: #c3c9ce; font-size: 15.5px; }
.viewer .links { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.viewer .btn.primary { border-color: var(--act); color: #fff; justify-content: space-between; }
.viewer .btn.primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.viewer .close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #6b747c; background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; }
.viewer .close:hover { background: var(--paper); color: var(--ink); }
.viewer .close svg { width: 18px; height: 18px; }
.viewer .step { display: flex; gap: 8px; margin-top: 18px; }
.viewer .step button { width: 44px; height: 44px; border: 1px solid #6b747c; background: transparent; color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.viewer .step button:hover { background: var(--paper); color: var(--ink); }
.viewer .step svg { width: 16px; height: 16px; }

footer { padding: 0 0 56px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  .copy > div, .fig .plate .layer, .card .v, .plate video { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .fig { margin-right: 200px; }
  .card { width: 270px; left: calc(100% - 70px); }
  .card .v.big { font-size: 19px; }
}
@media (max-width: 1100px) {
  .studio-cols, .sim-notes { grid-template-columns: 1fr; gap: 24px; }
  .around, .phones { grid-template-columns: 1fr; }
  .twin.big { grid-column: span 6; }
  .twin.big:nth-child(3) { grid-column: span 12; }
  .twin.big:nth-child(3) .plate { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  :root { --frame: 0px; --navh: 52px; }
  .frame { display: none; }
  .sheet { padding: 0; }
  .nav { top: 0; margin-top: 0; }
  .nav ul { display: none; }
  .nav .menu { all: unset; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 650; padding: 10px 0 10px 12px; }
  .nav .menu svg { width: 18px; height: 18px; }
  .nav.open ul {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 52px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: 6px var(--gutter) 12px;
  }
  .nav.open ul a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }

  .scrolly { height: calc(7 * 80vh + 100vh); }
  .stage { align-items: stretch; height: calc(100svh - var(--navh)); }
  .stage > .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 14px; padding-bottom: 76px; }
  .fig { margin: 0; flex: 1; min-height: 0; display: flex; }
  .fig .plate { width: 100%; height: 100%; aspect-ratio: auto; }
  .card { left: auto; right: 12px; bottom: 12px; width: min(290px, calc(100% - 24px)); }
  .card::before, .card::after { display: none; }
  .card .row { padding: 7px 12px 8px; }
  .card .v { font-size: 14px; }
  .card .v.big { font-size: 17px; }
  .card .row.read, .card .foot { display: none; }
  .copy { flex: none; height: 212px; margin: 0 0 12px; }
  .copy > div { top: 0; transform: translateY(10px); }
  .copy > div.on { transform: none; }
  .copy > .cover {
    position: fixed; top: var(--navh); left: 0; right: 0; bottom: 0; z-index: 8; padding: 28px var(--gutter) 90px;
    background: var(--paper); display: flex; flex-direction: column; justify-content: center; transform: none;
  }
  .copy > .cover.on { transform: none; }
  .cover h1 { font-size: clamp(52px, 15vw, 76px); }
  .chap h2 { font-size: clamp(26px, 7.4vw, 34px); margin-top: 6px; }
  .chap p { font-size: 15.5px; margin-top: 10px; }
  .chap .actions { margin-top: 16px; }
  .chap .actions .btn { height: 44px; }
  .rail { display: none; }
  .pager {
    display: flex; align-items: center; gap: 10px; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14px; z-index: 9;
  }
  .pager .n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stage .route { display: none; }
  .stage .copy { margin-left: 0; }
  .pager .route { display: block; position: relative; left: auto; top: auto; bottom: auto; flex: 1; width: auto; height: 34px; margin-right: 6px; }
  .pager .route .node { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; }
  .pager button { all: unset; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--paper); cursor: pointer; }
  .pager button.next { background: var(--ink); color: var(--paper); }
  .pager button:disabled { opacity: 0.35; cursor: default; }
  .pager button:focus-visible { outline: 2px solid var(--act); outline-offset: 2px; }
  .pager svg { width: 16px; height: 16px; }

  .twins-head, .how-grid, .bg-grid, .sim-grid, .pump { grid-template-columns: 1fr; }
  .twins-head { gap: 20px; }
  .twins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .twin, .twin.big:nth-child(3) { grid-column: span 1; }
  .twin.big { grid-column: span 2; }
  .twin.big:nth-child(3) { grid-column: span 2; }
  .twin.big .plate, .twin.big:nth-child(3) .plate { aspect-ratio: 4 / 3.4; }
  .sim-shots figure + figure { margin-left: 8%; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--ink); }
  .titleblock > div:nth-child(4) { border-top: 1px solid var(--ink); }
  .titleblock .row2 { grid-template-columns: 1fr 1fr; }
  .titleblock .row2 > div:first-child { grid-column: 1 / -1; }
  .titleblock .row2 > div:nth-child(2) { border-left: 0; border-top: 1px solid var(--ink); }
  .titleblock .row2 > div:nth-child(3) { border-top: 1px solid var(--ink); }
  .viewer .box { grid-template-columns: 1fr; gap: 16px; justify-items: center; padding: 64px 16px 16px; overflow: auto; }
  .viewer video { height: auto; width: min(100%, 60vh); }
  .viewer .meta { width: min(100%, 60vh); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .twin h3 { font-size: 15.5px; }
  .twin.big h3 { font-size: 19px; }
  .twin p { font-size: 13.5px; }
  .layer-row { grid-template-columns: 36px minmax(0, 1fr); gap: 0 16px; }
  .layer-row .cut { grid-row: 1 / 4; }
  .layer-row h3, .layer-row p.does, .layer-row p.yours { grid-column: 2; }
  .layer-row p { padding-bottom: 8px; }
  .layer-row p.yours { padding-bottom: 22px; }
  .layer-row .cut .mono { left: 4px; padding: 1px 3px; }
  .around ul { grid-template-columns: 1fr; }
  .tabs { gap: 2px; }
  .tab { padding: 10px 11px 9px; font-size: 14.5px; }
  .phones .pair { gap: 12px; }
  .phones .pair figure:nth-child(2) { margin-top: 24px; }
  .table thead { display: none; }
  .table tr { display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .table td { border: 0; padding: 0 0 4px; width: auto !important; }
  .table td.n { grid-row: 1 / 5; }
  .table td.y { order: -1; }
  .titleblock > div, .titleblock .row2 > div { padding-left: 14px; padding-right: 14px; }
  .titleblock > div:first-child { grid-column: 1 / -1; }
  .titleblock > div:nth-child(2) { border-left: 0; border-top: 1px solid var(--ink); }
  .titleblock > div:nth-child(3) { border-left: 1px solid var(--ink); }
  .titleblock > div:nth-child(4) { border-left: 0; }
  .btn.big { width: 100%; justify-content: center; }
  footer .wrap { flex-direction: column; }
}

/* Turkish labels drawn by css */
:lang(tr) .layer-row p.does::before { content: 'Ne yapar'; }
:lang(tr) .layer-row p.yours::before { content: 'Sizin yerinize göre'; }
