/* Syndor Studio: közös stíluslap. Egyetlen, szándékosan sötét téma: a stúdiólogó sötét háttérre készült.
   Játékonként az --accent változó színezi a kiemeléseket (kicker, keret, derengés). */
:root {
  color-scheme: dark;
  --ink: #0b0b0c;
  --ink-2: #111110;
  --ink-3: #191815;
  --line: #272420;
  --line-2: #34302a;
  --bone: #e9e3d6;
  --dust: #9f998d;
  --brass: #d9ae4e;
  --brass-dim: #7d6430;
  --signal: #e03131;
  --accent: var(--brass);
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1180px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
a { color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 80; background: var(--brass); color: var(--ink); padding: 8px 14px; border-radius: var(--radius); }
.mono { font-family: var(--mono); }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--body); padding: 14px 22px; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  background: var(--brass); color: var(--ink); border: 1px solid var(--brass);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn-ghost:hover { background: transparent; color: var(--brass); border-color: var(--brass-dim); }
.btn svg { width: 14px; height: 14px; flex: none; }

/* ---------- fejléc és menü ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 11, 12, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  max-width: var(--wrap); margin: 0 auto; min-height: 64px;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: 28px;
}
.studio-logo { display: block; flex: none; }
.studio-logo img { width: 176px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  appearance: none; background: none; border: 0; cursor: pointer; font: 500 14px/1 var(--body);
  color: var(--dust); text-decoration: none; padding: 12px 14px; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current] { color: var(--bone); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(-135deg) translateY(-1px); }
.nav-item { position: relative; }
.nav .btn { margin-left: 8px; }
.lang-switch { display: flex; gap: 2px; margin: 0 0 0 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; border: 1px solid var(--line-2); border-radius: 3px; padding: 2px; }
.lang-switch > * { padding: 8px 9px; border-radius: 2px; }
.lang-switch span { background: var(--ink-3); color: var(--bone); }
.lang-switch a { color: var(--dust); text-decoration: none; }
.lang-switch a:hover { color: var(--brass); }

.mega {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(760px, 92vw);
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega-link {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px;
  border-radius: var(--radius); text-decoration: none; color: var(--bone); border: 1px solid transparent;
}
.mega-link:hover, .mega-link[aria-current] { background: var(--ink-3); border-color: var(--line-2); color: var(--bone); }
.mega-link img { width: 84px; height: 52px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line-2); }
.mega-link b { display: block; font: 600 15px/1.25 var(--body); }
.mega-link span { display: block; font-size: 12.5px; color: var(--dust); line-height: 1.35; margin-top: 1px; }
.mega-all { display: block; text-align: right; padding: 10px 8px 2px; font-size: 13px; }

.burger { display: none; margin-left: auto; appearance: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; color: var(--bone); }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- nyitóblokk (főoldal) ---------- */
.hero { position: relative; overflow: hidden; padding-block: 72px 64px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 174, 78, 0.10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.kicker { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-family: var(--display); font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; margin-top: 16px; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
.lead { color: var(--dust); font-size: 18px; line-height: 1.6; max-width: 56ch; margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.collage { position: relative; aspect-ratio: 1.3 / 1; }
.collage figure { position: absolute; margin: 0; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.collage img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.collage .c1 { left: 0; top: 4%; width: 66%; aspect-ratio: 1280 / 900; }
.collage .c2 { right: 0; top: 30%; width: 62%; aspect-ratio: 1280 / 800; z-index: 2; }
.collage .c3 { left: 18%; bottom: 0; width: 24%; aspect-ratio: 560 / 1172; z-index: 3; border-radius: 12px; }

.facts-strip { border-bottom: 1px solid var(--line); background: var(--ink-2); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-row > div { padding: 20px 20px 20px 0; display: grid; gap: 2px; border-left: 1px solid var(--line); padding-left: 20px; }
.facts-row > div:first-child { border-left: 0; padding-left: 0; }
.facts-row b { font: 600 30px/1.05 var(--display); letter-spacing: 0.01em; font-variant-numeric: lining-nums; }
.facts-row span { font-size: 13px; color: var(--dust); }

/* ---------- szakaszok ---------- */
.sec { padding-block: 72px; }
.sec-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; margin-bottom: 32px; }
h2 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
.sh-meta { font-size: 14px; color: var(--dust); }
h3 { font-size: 16px; line-height: 1.35; }

/* ---------- játékmenü: szűrők és kártyák ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.chip {
  appearance: none; cursor: pointer; font: 500 13px/1 var(--body); color: var(--dust);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px;
  transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { color: var(--bone); border-color: var(--brass-dim); }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--brass); border-color: var(--brass); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover, .card:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.card-cover { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-cover img { transform: scale(1.035); }
.card-cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--accent); opacity: 0.9; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; background: rgba(11, 11, 12, 0.85); color: var(--bone); border: 1px solid var(--line-2); border-radius: 3px; padding: 6px 8px; }
.badge-18 { color: #ffb3b3; border-color: #6b2323; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.card h3 { font-family: var(--display); font-size: 30px; line-height: 1.05; }
.card h3 a { color: var(--bone); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--dust); font-size: 14.5px; line-height: 1.55; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.meta span { font-size: 12px; color: var(--dust); border: 1px solid var(--line-2); border-radius: 3px; padding: 4px 8px; }
.card-act { display: flex; gap: 10px; margin-top: 12px; position: relative; z-index: 2; }
.card-act .btn { flex: 1; }
.card.is-hidden { display: none; }

/* ---------- stúdió és kapcsolat ---------- */
.studio-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: start; }
.studio-mark img { width: 112px; height: auto; }
.text { display: grid; gap: 14px; color: var(--dust); max-width: 62ch; }
.text b { color: var(--bone); font-weight: 600; }
.contact { display: grid; gap: 10px; }
.contact-label { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dust); }
.mailbox { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line-2); background: var(--ink); border-radius: var(--radius); padding: 10px 10px 10px 14px; }
.mailbox a { font: 500 15px var(--mono); color: var(--bone); text-decoration: none; overflow-wrap: anywhere; }
.mailbox a:hover { color: var(--brass); }
.mailbox button { font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); background: transparent; border: 1px solid var(--brass-dim); border-radius: 3px; padding: 8px 10px; cursor: pointer; flex: none; }
.mailbox button:hover { background: rgba(217, 174, 78, 0.1); }
.small { font-size: 13px; color: var(--dust); }

/* ---------- lábléc ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 40px 44px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; font-size: 14px; color: var(--dust); }
.foot h4 { margin: 0 0 12px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { color: var(--dust); text-decoration: none; }
.foot a:hover { color: var(--brass); }
.foot-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--dust); }
.foot-note b { color: var(--bone); }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-top: 4px; }

/* ---------- játékoldal ---------- */
.crumbs { padding-block: 20px 0; font-size: 13px; color: var(--dust); }
.crumbs a { color: var(--dust); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .5; }
.g-hero { position: relative; padding-block: 28px 56px; overflow: hidden; }
.g-hero::before {
  content: ""; position: absolute; inset: -10% -8% auto auto; width: 62%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%);
}
.g-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.g-hero h1 { font-family: var(--display); font-size: clamp(42px, 5.4vw, 68px); line-height: 1; margin-top: 14px; }
.g-logo { margin-top: 14px; }
.g-logo img { width: min(380px, 100%); height: auto; margin-left: -8px; }
.tagline { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin-top: 16px; color: var(--bone); }
.g-hero .desc { color: var(--dust); margin-top: 14px; max-width: 54ch; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.facts div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dust); }
.facts dd { margin: 0; }
.shot {
  display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden;
  background: var(--ink-2); cursor: zoom-in; transition: border-color .15s, box-shadow .15s; position: relative;
}
.shot:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line-2)); }
.shot img { width: 100%; }
.g-media { display: grid; gap: 12px; }
.g-media-main .shot { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.g-media-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g-media-thumbs .shot { border-radius: 4px; }
.g-media-thumbs .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.g-media.phone { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.phone-row { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.phone-row .shot { width: min(230px, 30vw); border-radius: 22px; border-width: 2px; }
.phone-row .shot:nth-child(2) { margin-top: 32px; }

.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats-row { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.stats-row > div { padding: 18px 16px 18px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; align-content: start; }
.stats-row > div:first-child { border-left: 0; padding-left: 0; }
.stats-row b { font: 600 34px/1 var(--display); font-variant-numeric: lining-nums; color: var(--bone); }
.stats-row span { font-size: 12.5px; color: var(--dust); line-height: 1.3; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; }
.cols-wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 104px minmax(0, 1fr); gap: 10px; padding-block: 12px; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(s); font: 500 12px var(--mono); color: var(--accent); }
.steps span { color: var(--dust); font-size: 14.5px; }

.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.feat article { padding: 20px 0; border-top: 1px solid var(--line); }
.feat h3 { color: var(--bone); font-size: 16px; }
.feat h3::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; margin-right: 10px; transform: translateY(-1px); }
.feat p { color: var(--dust); font-size: 14.5px; margin-top: 6px; }

.sys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; }
.sys article { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 14px; border-top: 1px solid var(--line); }
.sys .shot { aspect-ratio: 4 / 3; }
.sys .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sys p { color: var(--dust); font-size: 14.5px; margin-top: 4px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery.phones { grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 14px; max-width: calc(var(--cols, 6) * 250px); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 13px; color: var(--dust); margin-top: 8px; line-height: 1.4; }
.gallery.phones .shot { border-radius: 14px; border-width: 2px; }

.notes { display: grid; gap: 12px; }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; color: var(--dust); }
.note b { color: var(--bone); }
.note-warn { border-left-color: var(--signal); background: linear-gradient(90deg, rgba(224, 49, 49, 0.08), transparent 70%); padding: 12px 16px; }
.kv { margin: 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.kv div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--dust); }
.keys kbd { font: 500 12px var(--mono); background: var(--ink-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 3px; padding: 3px 7px; color: var(--bone); white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.ends { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ends th { text-align: left; font-weight: 500; font-size: 12px; color: var(--dust); padding: 0 14px 8px 0; border-bottom: 1px solid var(--line-2); }
.ends td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--dust); }
.ends td:first-child { color: var(--bone); font-weight: 600; white-space: nowrap; }
.ends .num { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--bone); padding-right: 0; }
.ends th.num { font-family: var(--body); }
.legacy { border: 1px solid var(--line-2); background: var(--ink); border-radius: 6px; padding: 20px; display: grid; gap: 10px; font-size: 14.5px; color: var(--dust); }
.legacy h3 { color: var(--bone); }
.formula { font: 500 12.5px/1.5 var(--mono); color: var(--bone); background: var(--ink-3); border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; }
.dash { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.dash li::marker { color: var(--brass); }

.play-band { border-block: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 9%, var(--ink-2)), var(--ink-2)); }
.play-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 36px; }
.play-in h2 { font-size: clamp(26px, 3vw, 34px); }
.play-in p { color: var(--dust); margin-top: 4px; }

.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.more .mega-link { background: var(--ink-2); border-color: var(--line); padding: 10px; }

/* ---------- nagyító ---------- */
dialog#lightbox { border: 1px solid var(--line-2); border-radius: 6px; background: var(--ink); color: var(--bone); padding: 14px; width: min(1400px, 94vw); max-height: 94vh; }
dialog#lightbox::backdrop { background: rgba(5, 5, 6, 0.9); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.lb-count { font: 500 12px var(--mono); color: var(--dust); }
.lb-btns { display: flex; gap: 8px; }
.lb-btns button { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dust); background: transparent; border: 1px solid var(--line-2); border-radius: 3px; padding: 9px 12px; cursor: pointer; }
.lb-btns button:hover { color: var(--bone); border-color: var(--brass-dim); }
#lb-img { max-height: calc(94vh - 130px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 3px; }
#lb-cap { margin-top: 10px; font-size: 14px; color: var(--dust); text-align: center; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.nf h1 { font-family: var(--display); font-size: clamp(64px, 12vw, 140px); line-height: 1; color: var(--brass); }

/* ---------- reszponzív ---------- */
@media (max-width: 1040px) {
  .hero-grid, .g-grid, .cols, .cols-wide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .collage { max-width: 620px; }
  .cards, .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sys { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery.phones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-grid { grid-template-columns: 96px minmax(0, 1fr); }
  .studio-mark img { width: 88px; }
  .contact { grid-column: 1 / -1; max-width: 440px; }
  .stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-row > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .stats-row > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .g-media-main { max-width: 760px; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line-2); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-link { width: 100%; padding: 14px 4px; justify-content: space-between; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; }
  .nav .lang-switch { margin: 14px 0 0; align-self: flex-start; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px; display: none; }
  .mega.open { display: block; }
  .nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); }
  .mega-all { text-align: left; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .studio-logo img { width: 148px; }
  .hero { padding-block: 40px 40px; }
  .lead { font-size: 16.5px; }
  .sec { padding-block: 48px; }
  .cards, .more, .feat, .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery.phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row > div:nth-child(n) { border-left: 1px solid var(--line); padding-left: 16px; border-top: 0; }
  .stats-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-row b { font-size: 28px; }
  .sys article { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
  .steps li { grid-template-columns: 22px minmax(0, 1fr); }
  .steps li span { grid-column: 2; }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .g-media-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .phone-row .shot { width: 38vw; }
  .ends td:first-child { white-space: normal; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .play-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
