/* ==========================================================================
   Solmiraks — Premium Console Gaming (storytelling flow)
   Palette: carbon black · slate blue · steel gray · ice white · electric aqua
   Type: Schibsted Grotesk (display) · Public Sans (body)
   ========================================================================== */

:root {
  --carbon: #0b0d10;
  --carbon-2: #101318;
  --slate: #2b3a67;
  --slate-2: #34477e;
  --panel: #141824;
  --panel-2: #1b2233;
  --steel: #7d8799;
  --steel-dim: #545d6e;
  --ice: #eef2f7;
  --aqua: #29e0d0;
  --aqua-deep: #12c9bb;
  --line: rgba(125, 135, 153, 0.16);
  --glass: rgba(20, 24, 36, 0.55);
  --glass-2: rgba(11, 13, 16, 0.82);
  --shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
  --lux: 0 30px 70px -35px rgba(41, 224, 208, 0.2);
  --r-s: 12px;
  --r: 24px;
  --r-l: 40px;
  --maxw: 1320px;
  --disp: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body);
  background: var(--carbon); color: var(--ice);
  line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 720px at 80% -12%, rgba(52,71,126,0.6), transparent 60%),
    radial-gradient(680px 520px at 6% 8%, rgba(41,224,208,0.07), transparent 62%),
    linear-gradient(180deg, var(--carbon-2), var(--carbon));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--disp); font-weight: 800; line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 0.4em; }
h4 { font-family: var(--disp); font-weight: 700; margin: 0 0 0.4em; }

.shell { width: min(100% - 2.8rem, var(--maxw)); margin-inline: auto; }
.slab { padding: clamp(4.5rem, 10vw, 9.5rem) 0; position: relative; }

.tag { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--disp); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--aqua); }
.tag::before { content: ""; width: 22px; height: 2px; background: var(--slate-2); border-radius: 2px; }
.aq { color: var(--aqua); }
.st { color: var(--steel); }
.muted { color: var(--steel-dim); }
.grad { background: linear-gradient(100deg, var(--aqua), var(--slate-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--disp); font-weight: 700; font-size: 0.9rem; padding: 0.9rem 1.7rem; border-radius: 100px; cursor: pointer; border: 1px solid transparent; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s; }
.btn svg { width: 17px; height: 17px; }
.btn-aqua { background: linear-gradient(100deg, var(--aqua), var(--aqua-deep)); color: #042a27; box-shadow: var(--lux); }
.btn-aqua:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(41,224,208,0.4); }
.btn-line { border-color: var(--line); color: var(--ice); background: rgba(255,255,255,0.02); }
.btn-line:hover { border-color: var(--aqua); transform: translateY(-3px); }
.jump { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--disp); font-weight: 700; font-size: 0.88rem; color: var(--aqua); }
.jump svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.jump:hover svg { transform: translateX(5px); }

/* ===================== NAV ===================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.nav.stuck { background: var(--glass-2); backdrop-filter: blur(20px) saturate(140%); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--disp); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--aqua); font-weight: 800; }
.links { display: flex; align-items: center; gap: 0.1rem; }
.links a { position: relative; font-family: var(--disp); font-size: 0.84rem; font-weight: 600; color: var(--steel); padding: 0.5rem 0.9rem; transition: color 0.25s; }
.links a::after { content: ""; position: absolute; left: 50%; bottom: 0.15rem; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); transform: translateX(-50%) scale(0); transition: transform 0.3s var(--ease); }
.links a:hover, .links a[aria-current] { color: var(--ice); }
.links a:hover::after, .links a[aria-current]::after { transform: translateX(-50%) scale(1); }
.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ice); margin: 4px auto; transition: 0.3s; }
.burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sheet { position: fixed; inset: 0 0 0 auto; width: min(85%, 360px); background: var(--glass-2); backdrop-filter: blur(24px); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform 0.5s var(--ease); z-index: 99; padding: 6.5rem 2.2rem 2rem; display: flex; flex-direction: column; gap: 0.1rem; }
.sheet.open { transform: none; }
.sheet a { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: var(--steel); }
.sheet a:hover { color: var(--aqua); }
.scrim { position: fixed; inset: 0; background: rgba(6,7,9,0.64); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 98; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ===================== 1 · OPENING SCENE ===================== */
.open { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 8rem 0 5rem; }
.open-bg { position: absolute; inset: 0; z-index: 0; }
.open-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transform: scale(1.1); }
.open::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,13,16,0.5), rgba(11,13,16,0.72) 55%, var(--carbon)); }
.open-in { position: relative; z-index: 2; width: 100%; }
.open h1 { font-size: clamp(3rem, 10vw, 9rem); line-height: 0.9; font-weight: 800; letter-spacing: -0.03em; }
.open h1 .l2 { display: block; }
.open-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.open-foot p { max-width: 46ch; color: var(--steel); font-size: 1.16rem; margin: 0; }
.open-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.open-orn { position: absolute; z-index: 1; right: 6%; top: 20%; width: 300px; height: 300px; }
.open-orn svg { width: 100%; height: 100%; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== 2 · CONSOLE GATEWAY (expanding panels) ===================== */
.gateway { display: flex; gap: 0.8rem; height: clamp(440px, 64vh, 660px); }
.gpanel { position: relative; flex: 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); cursor: pointer; display: flex; align-items: flex-end; transition: flex 0.6s var(--ease); min-width: 0; }
.gpanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(0.4) brightness(0.62); transition: filter 0.5s, transform 0.8s var(--ease); }
.gpanel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(11,13,16,0.94)); }
.gpanel .glab { position: relative; z-index: 2; padding: 1.6rem; width: 100%; }
.gpanel .glab .tier { font-family: var(--disp); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); }
.gpanel .glab h3 { font-size: 1.4rem; margin: 0.4rem 0 0; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: 0.4s; }
.gpanel .glab p { max-height: 0; opacity: 0; overflow: hidden; color: var(--steel); font-size: 0.9rem; margin: 0; transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s; }
.gateway:hover .gpanel { flex: 0.6; }
.gpanel:hover { flex: 2.6 !important; }
.gpanel:hover img { filter: grayscale(0) brightness(0.85); transform: scale(1.05); }
.gpanel:hover .glab h3 { writing-mode: horizontal-tb; transform: none; font-size: 1.9rem; }
.gpanel:hover .glab p { max-height: 100px; opacity: 1; margin-top: 0.6rem; }

/* ===================== 3 · GAMING WORLDS (atmosphere strips, each different) ===================== */
.wstrip { position: relative; overflow: hidden; }
.wstrip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1s var(--ease); }
.wstrip:hover img { transform: scale(1.05); }
.wstrip .win { position: relative; z-index: 2; width: min(100% - 2.8rem, var(--maxw)); margin-inline: auto; }
/* serene: tall, text bottom-left */
.wstrip.serene { min-height: 66vh; display: flex; align-items: flex-end; padding-bottom: 3rem; }
.wstrip.serene::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(11,13,16,0.92)); }
/* brutal: centered numeral */
.wstrip.brutal { min-height: 50vh; display: flex; align-items: center; }
.wstrip.brutal::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,13,16,0.9), transparent 70%); }
.wstrip.brutal .win { display: flex; align-items: center; gap: 2rem; }
.wstrip.brutal .num { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem,9vw,7rem); color: transparent; -webkit-text-stroke: 1.4px var(--slate-2); flex: 0 0 auto; }
/* playful: text right */
.wstrip.playful { min-height: 46vh; display: flex; align-items: flex-start; padding-top: 3rem; }
.wstrip.playful::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(11,13,16,0.9), transparent 72%); }
.wstrip.playful .win { text-align: right; }
.wstrip .wt { font-family: var(--disp); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); font-size: 0.74rem; }
.wstrip h2 { font-size: clamp(2rem, 6vw, 4.4rem); margin: 0.2rem 0 0.4rem; }
.wstrip p { color: var(--steel); max-width: 44ch; margin: 0; }
.wstrip.playful p { margin-left: auto; }

/* ===================== 4 · PLATFORM IDENTITY (asymmetric composition) ===================== */
.pid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 1.2rem; align-items: stretch; }
.pid-media { border-radius: var(--r); overflow: hidden; position: relative; }
.pid-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pid-media:hover img { transform: scale(1.06); }
.pid-media .cap { position: absolute; z-index: 2; left: 1.2rem; bottom: 1.2rem; padding: 0.6rem 1rem; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(12px); font-family: var(--disp); font-weight: 700; font-size: 0.9rem; }
.pid-copy { display: flex; flex-direction: column; justify-content: center; }
.pid-copy h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
.pid-copy p { color: var(--steel); margin: 0; max-width: 40ch; }
.pid .m1 { grid-column: span 5; grid-row: span 2; }
.pid .c1 { grid-column: span 7; }
.pid .m2 { grid-column: span 4; }
.pid .m3 { grid-column: span 3; }

/* ===================== 5 · EXPERIENCE SHOWCASE (overlapping horizontal) ===================== */
.xp { position: relative; margin-bottom: clamp(3rem, 8vw, 7rem); min-height: 60vh; display: flex; align-items: center; }
.xp:last-child { margin-bottom: 0; }
.xp .xmedia { position: relative; width: 62%; aspect-ratio: 16/10; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.xp .xmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.xp:hover .xmedia img { transform: scale(1.05); }
.xp .xcard { position: relative; z-index: 3; width: 46%; margin-left: -8%; background: var(--glass-2); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--r); padding: 2.2rem; box-shadow: var(--shadow); }
.xp.right { flex-direction: row-reverse; }
.xp.right .xcard { margin-left: 0; margin-right: -8%; }
.xp .xcard .xt { font-family: var(--disp); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); }
.xp .xcard h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 0.4rem 0 0.6rem; }
.xp .xcard p { color: var(--steel); margin: 0; }
.xp .xbignum { position: absolute; z-index: 1; font-family: var(--disp); font-weight: 800; font-size: clamp(6rem, 18vw, 16rem); color: transparent; -webkit-text-stroke: 1.4px rgba(125,135,153,0.12); top: -0.3em; }
.xp.right .xbignum { right: 0; }

/* ===================== 6 · SIGNATURE TITLES (editorial full-width) ===================== */
.sig { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.sig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sig::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sig.sl::after { background: linear-gradient(90deg, rgba(11,13,16,0.92) 30%, transparent 78%); }
.sig.sr::after { background: linear-gradient(270deg, rgba(11,13,16,0.92) 30%, transparent 78%); }
.sig .st2 { position: relative; z-index: 2; width: min(100% - 2.8rem, var(--maxw)); margin-inline: auto; }
.sig.sr .st2 { text-align: right; }
.sig .st2 .stag { font-family: var(--disp); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); font-size: 0.74rem; }
.sig .st2 h2 { font-size: clamp(2.4rem, 8vw, 6.5rem); margin: 0.2rem 0 0.5rem; line-height: 0.9; }
.sig .st2 p { color: var(--steel); max-width: 48ch; margin: 0; font-size: 1.06rem; }
.sig.sr .st2 p { margin-left: auto; }

/* ===================== 7 · WHY CONSOLE (infographic) ===================== */
.why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.why-copy h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.why-copy p { color: var(--steel); }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.wstat { border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; background: var(--glass); position: relative; overflow: hidden; }
.wstat .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(41,224,208,0.1); display: grid; place-items: center; margin-bottom: 1rem; }
.wstat .ico svg { width: 22px; height: 22px; stroke: var(--aqua); }
.wstat .n { font-family: var(--disp); font-weight: 800; font-size: clamp(1.8rem,4vw,2.6rem); }
.wstat .n .u { color: var(--aqua); font-size: 0.5em; }
.wstat .k { color: var(--steel-dim); font-size: 0.86rem; margin-top: 0.2rem; }
.wstat:nth-child(2), .wstat:nth-child(3) { transform: translateY(1.6rem); }

/* ===================== 8 · FAQ ===================== */
.faq { max-width: 900px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa button { width: 100%; text-align: left; background: none; border: 0; color: var(--ice); font-family: var(--disp); font-weight: 700; font-size: 1.15rem; padding: 1.4rem 0; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.qa .sgn { color: var(--aqua); font-size: 1.4rem; transition: transform 0.4s var(--ease); }
.qa.open .sgn { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.qa .ans p { padding: 0 0 1.4rem; margin: 0; color: var(--steel); max-width: 66ch; }

/* ===================== FOOTER ===================== */
.foot { border-top: 1px solid var(--line); padding: clamp(4rem, 9vw, 7rem) 0 2.4rem; }
.foot-big { font-family: var(--disp); font-weight: 800; font-size: clamp(2.4rem, 9vw, 7rem); line-height: 0.94; letter-spacing: -0.03em; margin-bottom: 3rem; }
.foot-big a { display: inline-flex; align-items: center; gap: 1rem; }
.foot-big svg { width: 0.6em; height: 0.6em; color: var(--aqua); }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.foot-cols p { color: var(--steel-dim); max-width: 34ch; font-size: 0.92rem; margin: 1rem 0; }
.foot-cols h5 { font-family: var(--disp); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-dim); margin: 0 0 1rem; }
.foot-cols a { display: block; color: var(--steel); font-size: 0.92rem; padding: 0.3rem 0; transition: 0.25s; }
.foot-cols a:hover { color: var(--aqua); transform: translateX(4px); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; margin-top: 3rem; border-top: 1px solid var(--line); color: var(--steel-dim); font-size: 0.84rem; }
.dots { display: flex; gap: 0.6rem; }
.dots a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.3s; }
.dots a:hover { border-color: var(--aqua); background: rgba(41,224,208,0.08); }
.dots svg { width: 17px; height: 17px; }

/* ===================== INNER PAGE HEADER ===================== */
.phead { padding: clamp(9rem, 16vh, 13rem) 0 clamp(3rem, 6vw, 5rem); }
.phead .bc { font-family: var(--disp); font-size: 0.78rem; color: var(--steel-dim); margin-bottom: 1.4rem; letter-spacing: 0.06em; text-transform: uppercase; }
.phead .bc a:hover { color: var(--aqua); }
.phead h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 800; }
.phead .lead { color: var(--steel); max-width: 60ch; font-size: 1.16rem; margin-top: 1.3rem; }

/* GAMES — editorial index (no cards/grid) */
.gindex { display: grid; gap: 0; }
.grow { display: grid; grid-template-columns: 70px 96px 1fr auto; gap: 1.4rem; align-items: center; padding: 1.1rem 0.8rem; border-top: 1px solid var(--line); transition: background 0.35s var(--ease), padding 0.4s var(--ease); }
.gindex .grow:last-child { border-bottom: 1px solid var(--line); }
.grow:hover { background: rgba(41,224,208,0.05); padding-left: 1.6rem; }
.grow .gi { font-family: var(--disp); font-weight: 800; font-size: 1.4rem; color: var(--steel-dim); }
.grow:hover .gi { color: var(--aqua); }
.grow .gthumb { width: 96px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #12151a; }
.grow .gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.grow:hover .gthumb img { transform: scale(1.06); }
.grow .gbody { min-width: 0; }
.grow h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.85rem); margin: 0; }
.grow .meta { display: block; color: var(--steel); font-size: 0.86rem; margin-top: 0.25rem; }
.grow .sc { font-family: var(--disp); font-weight: 800; font-size: 1.5rem; text-align: right; }
.grow .sc .u { color: var(--aqua); font-size: 0.6em; }

/* PLATFORMS — each console a distinct composition */
.pshow { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.pshow .pbg { position: absolute; inset: 0; z-index: 0; }
.pshow .pbg img { width: 100%; height: 100%; object-fit: cover; }
.pshow.pl::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,13,16,0.92) 30%, transparent 78%); }
.pshow.pr::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(11,13,16,0.92) 30%, transparent 78%); }
.pshow .pc { position: relative; z-index: 2; width: min(100% - 2.8rem, var(--maxw)); margin-inline: auto; }
.pshow.pr .pc { text-align: right; }
.pshow .pc .pt { font-family: var(--disp); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aqua); font-size: 0.76rem; }
.pshow .pc h2 { font-size: clamp(2.2rem, 6.5vw, 5rem); margin: 0.2rem 0 0.6rem; line-height: 0.92; }
.pshow .pc p { color: var(--steel); max-width: 46ch; margin: 0 0 1.4rem; }
.pshow.pr .pc p { margin-left: auto; }
.ppills { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.pshow.pr .ppills { justify-content: flex-end; }
.ppill { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); border-radius: 100px; padding: 0.7rem 1.2rem; display: flex; align-items: baseline; gap: 0.5rem; }
.ppill .v { font-family: var(--disp); font-weight: 800; color: var(--aqua); font-size: 1.2rem; }
.ppill .k { font-size: 0.78rem; color: var(--steel-dim); }

/* REVIEWS */
.rlead { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rmedia { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.rmedia img { width: 100%; height: 100%; object-fit: cover; }
.rrow { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: baseline; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.rrow:last-child { border-bottom: 1px solid var(--line); }
.rrow h3 { font-family: var(--disp); font-weight: 700; font-size: 1.25rem; margin: 0 0 0.2rem; }
.rrow p { color: var(--steel); font-size: 0.9rem; margin: 0; }
.rrow .rv { font-family: var(--disp); font-weight: 800; font-size: 2.2rem; }
.rrow .rv .u { color: var(--aqua); font-size: 0.5em; }
.rkey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.rkey .cell { padding: 2rem 1.4rem; border-right: 1px solid var(--line); }
.rkey .cell:last-child { border-right: 0; }
.rkey .n { font-family: var(--disp); font-weight: 800; font-size: clamp(1.6rem,4vw,2.4rem); }
.rkey .t { color: var(--steel-dim); font-size: 0.86rem; margin-top: 0.3rem; }

/* about pair + stats */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pair-media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.pair-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pair-media:hover img { transform: scale(1.05); }
.checks { display: grid; gap: 1rem; margin-top: 1.6rem; }
.checks li { display: flex; gap: 0.8rem; color: var(--steel); }
.checks svg { flex: 0 0 20px; width: 20px; height: 20px; stroke: var(--aqua); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stats .cell { padding: 2rem 1.4rem; border-right: 1px solid var(--line); }
.stats .cell:last-child { border-right: 0; }
.stats .n { font-family: var(--disp); font-weight: 800; font-size: clamp(2.2rem,5vw,3.6rem); }
.stats .n .u { color: var(--aqua); font-size: 0.5em; }
.stats .t { color: var(--steel-dim); font-size: 0.86rem; }

/* prose */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--steel); }
.prose ul { list-style: none; padding-left: 0; display: grid; gap: 0.6rem; margin: 1rem 0; }
.prose ul li { padding-left: 1.4rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 3px; background: var(--aqua); }
.prose a { color: var(--aqua); }
.prose .stamp { color: var(--steel-dim); font-size: 0.9rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--disp); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select { width: 100%; padding: 0.9rem 1.1rem; border-radius: var(--r-s); border: 1px solid var(--line); background: rgba(0,0,0,0.3); color: var(--ice); font-family: inherit; font-size: 0.96rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--aqua); }
.field textarea { min-height: 140px; resize: vertical; }
.cinfo li { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.cinfo .k { font-family: var(--disp); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-dim); }
.cinfo .v { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; margin-top: 0.2rem; }

/* Reveal */
[data-r] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-r].vis { opacity: 1; transform: none; }
[data-r][data-d="1"] { transition-delay: 0.1s; }
[data-r][data-d="2"] { transition-delay: 0.2s; }
[data-r][data-d="3"] { transition-delay: 0.3s; }

/* back-to-top + progress */
#totop { position: fixed; right: 1.6rem; bottom: 1.6rem; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-2); backdrop-filter: blur(10px); color: var(--aqua); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(20px); transition: 0.4s var(--ease); z-index: 90; }
#totop.show { opacity: 1; pointer-events: auto; transform: none; }
#totop svg { width: 20px; height: 20px; }
#prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--aqua), var(--slate-2)); z-index: 200; }

/* cookie */
#cookie { position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 150; max-width: 560px; margin-inline: auto; padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: var(--shadow); display: none; }
#cookie.show { display: block; }
#cookie p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--steel); }
#cookie .row { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .pid { grid-template-columns: 1fr 1fr; }
  .pid .m1, .pid .c1, .pid .m2, .pid .m3 { grid-column: span 1; grid-row: span 1; }
  .why, .rlead { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .stats, .rkey { grid-template-columns: 1fr 1fr; }
  .stats .cell:nth-child(2), .rkey .cell:nth-child(2) { border-right: 0; }
}
@media (max-width: 860px) {
  .links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .gateway { flex-direction: column; height: auto; }
  .gpanel { min-height: 200px; }
  .gpanel .glab h3 { writing-mode: horizontal-tb; transform: none; }
  .xp, .xp.right { flex-direction: column; }
  .xp .xmedia, .xp .xcard, .xp.right .xcard { width: 100%; margin: 0; }
  .xp .xcard { margin-top: -2rem; }
  .pid, .pair, .contact-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .wstat:nth-child(2), .wstat:nth-child(3) { transform: none; }
  .grow { grid-template-columns: 36px 72px 1fr auto; gap: 0.9rem; }
  .grow .gthumb { width: 72px; }
  .grow .meta { display: none; }
}
@media (max-width: 560px) {
  .foot-cols, .stats, .rkey { grid-template-columns: 1fr; }
  .stats .cell, .rkey .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .wstrip.brutal .win { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-r] { opacity: 1; transform: none; }
}
