/* NorteGames — nortegames.com
   Dark theme built on the NorteGames logo palette (#04D1FB → #8240F2 → #F00AE4, chevrons #00CDFC).
   Text gradients use lighter stops so every colour keeps WCAG AA contrast on the dark background.
   Fonts: system stacks only (no third-party font requests). */

:root {
  --bg: #0E0B18;
  --bg-2: #120E1E;
  --surface: #17122A;
  --surface-2: #1F1836;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #F4F1FF;
  --soft: #D2CBEA;           /* 12:1 on --surface */
  --muted: #BBB3D8;          /* 9.6:1 on --bg */
  --cyan: #04D1FB;
  --chevron: #00CDFC;
  --violet: #8240F2;
  --magenta: #F00AE4;
  --grad: linear-gradient(100deg, #04D1FB 0%, #8240F2 52%, #F00AE4 100%);
  --grad-text: linear-gradient(95deg, #2FDBFF 0%, #A877FF 52%, #FF5BEF 100%);
  --grad-btn: linear-gradient(100deg, #04D1FB 0%, #8FE9FF 30%, #C9A2FF 70%, #FF8AF2 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --section-y: clamp(56px, 7vw, 96px);
  --font-display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--cyan); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #7FE6FF; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; color: var(--text); }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .grad-text { color: CanvasText; -webkit-text-fill-color: currentColor; background: none; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .8125rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--chevron);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; flex: none;
  border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 650 1rem/1.2 var(--font-display); letter-spacing: .005em; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn .icon { flex: none; }
.btn-icon-only { width: 54px; padding: 0; }
.social-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  color: #0E0B18; background: var(--grad-btn); background-size: 140% 100%; background-position: 0 0;
  box-shadow: 0 8px 28px -10px rgba(4, 209, 251, .6), 0 6px 24px -12px rgba(240, 10, 228, .6);
}
.btn-primary:hover { color: #0E0B18; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(4, 209, 251, .7), 0 10px 30px -12px rgba(240, 10, 228, .75); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .09); border-color: rgba(4, 209, 251, .6); transform: translateY(-2px); }
/* Status label shaped like the secondary button (not interactive). */
.btn-status { color: var(--soft); background: rgba(255, 255, 255, .04); border-color: var(--line-strong); cursor: default; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #FFB547; box-shadow: 0 0 0 3px rgba(255, 181, 71, .2); flex: none; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateY(3px); }
@media (forced-colors: active) { .btn { border: 1px solid ButtonText; } }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(14, 11, 24, .75); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(14, 11, 24, .9); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; }
.brand-name { font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(2px, 1.6vw, 16px); }
.site-nav a {
  display: block; padding: 14px 8px; color: var(--muted); text-decoration: none;
  font: 600 .975rem/1 var(--font-display); position: relative; transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.lang-toggle {
  min-width: 48px; min-height: 44px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong);
  font: 700 .875rem/1 var(--font-display); letter-spacing: .06em; transition: border-color .2s, background-color .2s;
}
.lang-toggle:hover { border-color: var(--cyan); background: rgba(4, 209, 251, .1); }

@media (max-width: 479px) {
  .site-header .brand-name { display: none; }
  .site-nav a { padding-inline: 7px; font-size: .925rem; }
  .site-nav a::after { left: 7px; right: 7px; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(720px, 80svh); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 6vw, 72px) 0 48px;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.hero-glow span { position: absolute; border-radius: 50%; will-change: transform; }
.hero-glow span:nth-child(1) {
  width: 62vmax; height: 62vmax; right: -18vmax; top: -22vmax;
  background: radial-gradient(closest-side, rgba(130, 64, 242, .38), transparent);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.hero-glow span:nth-child(2) {
  width: 48vmax; height: 48vmax; right: 8vmax; top: 10vmax;
  background: radial-gradient(closest-side, rgba(4, 209, 251, .22), transparent);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.hero-glow span:nth-child(3) {
  width: 44vmax; height: 44vmax; left: -16vmax; bottom: -22vmax;
  background: radial-gradient(closest-side, rgba(240, 10, 228, .2), transparent);
  animation: drift-a 26s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vmax, 4vmax, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(5vmax, -3vmax, 0) scale(.92); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 78%);
}
.hero-wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.hero-inner { display: grid; gap: 24px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-title { font-size: clamp(3rem, 12.5vw, 7rem); font-weight: 800; letter-spacing: -0.035em; line-height: .95; }
.hero-tagline { max-width: 36ch; font-size: clamp(1.1rem, 1.2vw + .9rem, 1.375rem); line-height: 1.55; color: var(--soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-art { position: relative; display: grid; place-items: center; justify-self: start; }
.hero-art::before {
  /* Pre-softened glow: a radial gradient, no filter, no rotation. */
  content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(130, 64, 242, .45), rgba(4, 209, 251, .18) 55%, transparent 100%);
}
.hero-logo { width: 104px; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 12px 28px rgba(8, 4, 20, .6)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Two-games strip */
.hero-games { display: grid; gap: 12px; }
.hero-game {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 10px 16px 10px 10px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: rgba(23, 18, 42, .72); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .25s, transform .25s var(--ease), background-color .25s;
}
.hero-game:hover { color: var(--text); border-color: rgba(4, 209, 251, .55); transform: translateY(-2px); background: rgba(31, 24, 54, .85); }
.hero-game-thumb { width: 104px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.hero-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-game-thumb-sbs {
  display: grid; place-items: center;
  background: radial-gradient(80% 90% at 15% 20%, rgba(4, 209, 251, .6), transparent 60%),
              radial-gradient(80% 90% at 90% 90%, rgba(240, 10, 228, .65), transparent 60%), #3A1C77;
}
.hero-game-thumb-sbs svg { width: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-game-text { display: grid; gap: 2px; min-width: 0; }
.hero-game-name { font: 700 1.05rem/1.2 var(--font-display); }
.hero-game-status { font-size: .9rem; color: var(--muted); }
.hero-game-status.is-live { color: #7FE6FF; }
.hero-game-arrow { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.hero-game:hover .hero-game-arrow { transform: translateX(4px); color: var(--text); }


@media (max-width: 767px) {
  .hero-art { position: absolute; top: 0; right: 0; }
  .hero-inner { position: relative; }
  .hero-art { top: -6px; }
  .hero-logo { width: 72px; }
  .hero-copy .eyebrow { max-width: calc(100% - 84px); }
}
@media (max-width: 380px) {
  .hero-art { display: none; }
  .hero-copy .eyebrow { max-width: none; }
}
@media (min-width: 640px) {
  .hero-games { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; }
  .hero-art { justify-self: center; }
  .hero-logo { width: clamp(220px, 30vw, 420px); }
  .hero-art::before { inset: -18%; }
}
@media (min-width: 900px) {
  .hero { padding-bottom: 72px; }
  .hero-game-thumb { width: 128px; }
}
@media (min-width: 1600px) {
  .hero-logo { width: 480px; }
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: var(--section-y) 0; }
.hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 14px; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; }
.section-lead { color: var(--soft); font-size: clamp(1.05rem, .5vw + .95rem, 1.2rem); max-width: 60ch; }

/* ------------------------------------------------------------------ game cards */
.games { display: grid; gap: clamp(24px, 4vw, 40px); }
.game-card {
  --mx: 50%; --my: 0%;
  position: relative; display: grid; gap: clamp(20px, 3vw, 40px); padding: clamp(14px, 2vw, 22px);
  border-radius: calc(var(--radius) + 6px); isolation: isolate;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, rgba(4, 209, 251, .45), rgba(130, 64, 242, .25) 45%, rgba(240, 10, 228, .45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.game-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(130, 64, 242, .16), transparent 60%);
}
.game-media { display: grid; gap: 10px; align-content: center; min-width: 0; }
.game-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 4px clamp(4px, 1.5vw, 18px) clamp(8px, 1.5vw, 18px); min-width: 0; }
@media (min-width: 960px) {
  .game-card { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .game-card-alt .game-media { order: 2; }
  .game-body { justify-content: center; padding-block: 18px; }
}

.trailer {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: inset 0 0 0 1px var(--line);
}
.trailer picture, .trailer img, .trailer video { width: 100%; height: 100%; object-fit: cover; }
.trailer-poster { transition: transform .6s var(--ease); }
.trailer-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: #fff; text-decoration: none; border-radius: inherit;
  background: radial-gradient(circle at center, rgba(14, 11, 24, .15), rgba(14, 11, 24, .55));
}
.trailer-play:hover { color: #fff; }
.trailer-play:focus-visible { outline-offset: -5px; }
.play-icon {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #0E0B18;
  background: var(--grad-btn); box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 14px 40px -8px rgba(240, 10, 228, .7);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.play-icon svg { margin-left: 4px; }
.play-label {
  padding: 6px 14px; border-radius: 999px; background: rgba(14, 11, 24, .8);
  font: 650 .95rem/1.2 var(--font-display); letter-spacing: .02em;
}
.trailer:hover .trailer-poster { transform: scale(1.04); }
.trailer-play:hover .play-icon, .trailer-play:focus-visible .play-icon { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(255, 255, 255, .18), 0 16px 48px -8px rgba(240, 10, 228, .8); }

.shots { display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
@media (min-width: 720px) { .shots { display: grid; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 12px; border-radius: 999px; font: 650 .85rem/1.2 var(--font-display); letter-spacing: .02em;
  color: var(--soft); background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.tag-hot { color: #7FE6FF; background: rgba(4, 209, 251, .1); border-color: rgba(4, 209, 251, .45); }
.tag-hot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 2.2s ease-out infinite; vertical-align: 1px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(4, 209, 251, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(4, 209, 251, 0); } }

.game-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.game-title-logo img { width: min(300px, 78vw); height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
.game-tagline { font: 700 clamp(1.1rem, 1vw + .9rem, 1.3rem)/1.35 var(--font-display); color: var(--text); }
.game-desc { color: var(--muted); }
.features { display: grid; gap: 10px; width: 100%; }
.features li { position: relative; padding-left: 28px; color: var(--soft); }
.features li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px;
  border-top: 2.5px solid var(--chevron); border-right: 2.5px solid var(--chevron); transform: rotate(45deg);
}
.game-card-alt .features li::before { border-color: #FF5BEF; }
.game-meta { font-size: .95rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
.game-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Selling Bro Simulator art: typographic + line icons, no screenshots (none exist yet). */
.sbs-art {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(4, 209, 251, .55), transparent 60%),
    radial-gradient(70% 90% at 90% 85%, rgba(240, 10, 228, .6), transparent 60%),
    radial-gradient(80% 80% at 60% 30%, rgba(130, 64, 242, .7), transparent 70%),
    #1A1033;
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 960px) {
  .game-media { align-content: stretch; }
  .game-card:not(.game-card-alt) .game-media { grid-template-rows: 1fr auto; }
  .trailer { aspect-ratio: auto; min-height: 300px; height: 100%; }
  .sbs-art { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .sbs-art .sbs-wordmark { font-size: 4.4rem; }
  .sbs-hanger { left: 12%; top: 16%; }
  .sbs-box { right: 12%; top: 15%; }
  .sbs-tag { left: 13%; bottom: 15%; }
  .sbs-chat { right: 13%; bottom: 16%; }
}
.sbs-bg { position: absolute; z-index: -1; width: 70%; left: -14%; bottom: -18%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .08; rotate: -12deg; }
.sbs-bg-tag { width: 55%; left: auto; right: -12%; bottom: auto; top: -14%; rotate: 18deg; opacity: .07; }
.sbs-art::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px);
}
.sbs-wordmark {
  display: grid; justify-items: center; text-align: center; color: #fff;
  font: 800 clamp(1.9rem, 7vw, 3.8rem)/.92 var(--font-display); letter-spacing: -0.04em; text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(14, 11, 24, .55);
}
.sbs-wordmark span:nth-child(2) {
  font-size: 1.45em; background: linear-gradient(95deg, #BFF4FF, #fff 45%, #FFD2FA);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.sbs-wordmark span:nth-child(3) { font-size: .42em; letter-spacing: .38em; margin-top: .5em; padding-left: .38em; font-weight: 650; }
.sbs-icon {
  position: absolute; width: clamp(36px, 11%, 64px); height: auto; fill: none; stroke: #fff; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round; opacity: .88;
  animation: bob 6s ease-in-out infinite;
}
.sbs-icon circle { fill: #fff; stroke: none; }
.sbs-hanger { left: 7%; top: 10%; rotate: -10deg; animation-delay: -1s; }
.sbs-box { right: 7%; top: 9%; animation-delay: -3s; }
.sbs-tag { left: 8%; bottom: 9%; animation-delay: -2s; }
.sbs-chat { right: 8%; bottom: 10%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ------------------------------------------------------------------ about */
.about { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-copy { display: grid; gap: 18px; max-width: 640px; }
.about-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.about-copy p:not(.eyebrow) { color: var(--soft); font-size: 1.1rem; }
.pillars { display: grid; gap: 16px; }
.pillar {
  --mx: 50%; --my: 0%;
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start;
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .3s;
}
.pillar::before, .contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(4, 209, 251, .12), transparent 60%);
}
.pillar:hover { border-color: rgba(130, 64, 242, .55); }
.pillar-icon {
  grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(4, 209, 251, .18), rgba(240, 10, 228, .18)); border: 1px solid var(--line-strong);
}
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.2rem; font-weight: 700; padding-top: 2px; }
.pillar p { color: var(--muted); font-size: 1rem; }
@media (min-width: 960px) { .about { grid-template-columns: 5fr 7fr; } }

/* ------------------------------------------------------------------ contact */
.contact-card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px; align-items: end; padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(80% 140% at 0% 0%, rgba(4, 209, 251, .16), transparent 60%),
              radial-gradient(80% 140% at 100% 100%, rgba(240, 10, 228, .18), transparent 60%),
              var(--surface);
  border: 1px solid var(--line-strong);
}
.contact-copy { display: grid; gap: 14px; }
.contact-actions { display: grid; gap: 14px; justify-items: start; text-align: left; }
.contact-actions .btn { max-width: 100%; }
.contact-mail { color: var(--soft); font-size: 1rem; overflow-wrap: anywhere; }
@media (max-width: 599px) { .contact-actions, .social-btns, .contact-actions .btn { width: 100%; } }
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.3fr 1fr; } }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; background: var(--bg); }
.footer-inner { display: grid; gap: 28px; }
.footer-top { display: grid; gap: 22px; }
.footer-brand { display: grid; gap: 6px; justify-items: start; }
.footer-brand p { color: var(--muted); font-size: .95rem; }
.footer-brand p a { display: inline-block; padding: 11px 0; color: var(--text); text-decoration: none; }
.footer-brand p a:hover { color: #7FE6FF; text-decoration: underline; }
.footer-brand .brand img { width: 32px; height: 32px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-nav a { color: var(--text); text-decoration: none; font-size: 1rem; padding: 11px 0; display: inline-block; }
.footer-nav a:hover { color: #7FE6FF; text-decoration: underline; }
.footer-bottom { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); }
.footer-bottom small { font-size: .8125rem; line-height: 1.55; }
.footer-legal { display: grid; gap: 4px; }
.footer-side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: auto 1fr; align-items: start; }
  .footer-nav { justify-self: end; }
}
@media (min-width: 1024px) {
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .footer-side { flex-wrap: nowrap; justify-content: flex-end; }
  .footer-side p { white-space: nowrap; }
  .footer-side small { font-size: .78rem; }
}
@media (min-width: 1280px) { .footer-legal p:first-child { white-space: nowrap; } }

/* ------------------------------------------------------------------ legal page */
.legal { padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 8px; }
.legal h2, .legal h3 { font-size: 1.35rem; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0 0; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal dt { color: var(--muted); font-weight: 600; }
.legal dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.legal-lang h2.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 8px; }
.legal-lang { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-meta { color: var(--muted); font-size: .95rem; }
.legal-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 479px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* ------------------------------------------------------------------ scroll reveal (JS adds .js-reveal) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--reveal-delay, 0ms), transform .8s var(--ease) var(--reveal-delay, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Off-screen blocks: pause their decorative loops (JS toggles .anim-paused). */
.anim-paused *, .anim-paused *::before, .anim-paused *::after { animation-play-state: paused !important; }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
