:root {
  --ink: #080808;
  --ink-soft: #0f0e0e;
  --panel: rgba(21, 18, 17, 0.78);
  --paper: #f7e9c8;
  --muted: #baa98c;
  --red: #d83a2e;
  --red-bright: #f04c3b;
  --gold: #d7a94c;
  --gold-pale: #f1d78f;
  --line: rgba(215, 169, 76, 0.22);
  --shell: min(1180px, calc(100% - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(125, 25, 18, 0.1), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(197, 135, 47, 0.06), transparent 34%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}
.site-header.scrolled {
  border-color: rgba(215, 169, 76, 0.17);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; }
.brand img { border-radius: 50%; filter: drop-shadow(0 0 12px rgba(215, 169, 76, 0.22)); }
.brand span span { color: var(--red-bright); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { color: #d9cdb8; font-size: 0.88rem; font-weight: 600; transition: color 180ms ease; }
.nav-links > a:hover, .nav-links > a:focus-visible { color: #fff3d4; }
.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(215, 169, 76, 0.3);
  border-radius: 999px;
  background: rgba(215, 169, 76, 0.08);
  color: #f4dfaa;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.nav-store small { color: #a99b84; font-size: 0.54rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-store:hover { border-color: rgba(215, 169, 76, 0.65); background: rgba(215, 169, 76, 0.14); transform: translateY(-1px); }
.nav-ip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 144px;
  padding: 8px 14px;
  border: 1px solid rgba(215, 169, 76, 0.42);
  border-radius: 8px;
  background: rgba(215, 169, 76, 0.08);
  color: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.nav-ip:hover { border-color: var(--gold); background: rgba(215, 169, 76, 0.14); transform: translateY(-1px); }
.nav-ip span { color: var(--muted); font-size: 0.65rem; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.14em; }
.nav-ip strong { font-size: 0.82rem; line-height: 1.5; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image: url("assets/hero-banner.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: breathe 16s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.67) 37%, rgba(5, 5, 5, 0.18) 70%, rgba(5, 5, 5, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.58) 0%, transparent 25%, rgba(5, 5, 5, 0.25) 65%, #080808 100%);
}
.hero-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(215, 169, 76, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 650px; height: 650px; right: -180px; top: 12%; }
.orbit-two { width: 420px; height: 420px; right: -65px; top: 25%; border-color: rgba(235, 66, 49, 0.14); }
.hero-content { padding-top: 120px; padding-bottom: 125px; }
.hero-copy { max-width: 670px; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-pale);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow span { width: 27px; height: 1px; background: var(--red-bright); box-shadow: 8px 0 0 var(--red-bright); }
.hero h1 {
  max-width: 720px;
  margin: 20px 0 22px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.1vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.93;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.52);
}
.hero h1 em { color: var(--gold-pale); font-style: italic; font-weight: 500; }
.hero-copy > p { max-width: 610px; margin: 0 0 34px; color: #dfd3c0; font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  border-color: #eb4d3d;
  background: linear-gradient(135deg, var(--red), #aa241d);
  color: white;
  box-shadow: 0 12px 40px rgba(172, 35, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.button-primary:hover { box-shadow: 0 16px 44px rgba(172, 35, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.button-primary svg { width: 21px; }
.button-primary span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.button-primary small { opacity: 0.76; font-size: 0.67rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.button-primary strong { font-size: 0.95rem; }
.button-ghost { border-color: rgba(247, 233, 200, 0.25); background: rgba(8, 8, 8, 0.45); backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: rgba(247, 233, 200, 0.52); background: rgba(8, 8, 8, 0.72); }
.button-ghost svg { width: 18px; }
.button-store { border-color: rgba(215, 169, 76, 0.4); background: rgba(28, 22, 14, 0.66); color: var(--gold-pale); backdrop-filter: blur(10px); }
.button-store:hover { border-color: rgba(241, 215, 143, 0.72); background: rgba(48, 36, 19, 0.82); }
.button-store svg { width: 20px; }
.button-store span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.button-store small { color: var(--muted); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.button-store strong { font-size: 0.86rem; }
.hero-facts {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: var(--shell);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts span { color: #9e907a; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-facts strong { font-size: 0.86rem; }
.hero-facts i { width: 1px; height: 30px; background: rgba(215, 169, 76, 0.24); }
.status b, .available b { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #65c779; box-shadow: 0 0 12px #65c779; }
.scroll-cue {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9e907a;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue svg { width: 18px; animation: nudge 1.8s ease-in-out infinite; }
.hero-mobile-logo { display: none; }

.section { position: relative; padding: 120px 0; overflow: hidden; }
.section-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.glow-red { top: 0; left: -420px; background: radial-gradient(circle, rgba(161, 36, 26, 0.18), transparent 68%); }
.glow-gold { right: -420px; top: 20%; background: radial-gradient(circle, rgba(188, 133, 47, 0.14), transparent 68%); }
.section-heading { max-width: 730px; margin-bottom: 55px; }
.section-heading h2, .connect h2, .final-cta h2 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.section-heading p, .connect-copy > p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.75; }

.experience { border-top: 1px solid rgba(215, 169, 76, 0.1); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(31, 26, 23, 0.78), rgba(14, 13, 13, 0.66));
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.feature-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(215, 169, 76, 0.46); background: linear-gradient(145deg, rgba(38, 29, 25, 0.88), rgba(14, 13, 13, 0.78)); }
.feature-card:hover::after { opacity: 1; }
.card-index { position: absolute; top: 25px; right: 28px; color: rgba(215, 169, 76, 0.26); font-family: var(--serif); font-size: 2.1rem; }
.feature-icon, .portal-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(215, 169, 76, 0.35); border-radius: 50%; color: var(--gold-pale); background: rgba(215, 169, 76, 0.06); }
.feature-icon svg, .portal-icon svg { width: 25px; height: 25px; }
.feature-card h3, .portal-card h3 { margin: 36px 0 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.feature-card p, .portal-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.connect { border-block: 1px solid rgba(215, 169, 76, 0.1); background: linear-gradient(100deg, #0e0d0d, #16100e 55%, #0d0c0c); }
.connect::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 72% 50%, rgba(181, 46, 33, 0.12), transparent 30%);
  pointer-events: none;
}
.connect-layout { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.edition-tabs { display: inline-flex; gap: 6px; margin-top: 30px; padding: 5px; border: 1px solid rgba(215, 169, 76, 0.2); border-radius: 9px; background: rgba(0, 0, 0, 0.28); }
.edition-tabs button { min-width: 100px; min-height: 44px; padding: 9px 16px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.edition-tabs button[aria-selected="true"] { background: linear-gradient(135deg, #d33b2e, #9d211a); color: white; box-shadow: 0 4px 14px rgba(145, 32, 24, 0.32); }
.join-card { padding: 35px; border: 1px solid rgba(215, 169, 76, 0.28); border-radius: 16px; background: rgba(8, 8, 8, 0.58); box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28); backdrop-filter: blur(18px); }
.join-topline { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(215, 169, 76, 0.14); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.available { color: #8fd69d; }
.steps { padding: 10px 0 18px; }
.step { display: flex; gap: 18px; align-items: center; padding: 14px 0; }
.step > span { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(215, 169, 76, 0.36); border-radius: 50%; color: var(--gold-pale); font-family: var(--serif); }
.step p { margin: 0; color: #cbbda7; }
.step strong { color: var(--paper); }
.server-address { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid rgba(239, 72, 57, 0.55); border-radius: 9px; background: rgba(198, 47, 36, 0.13); color: var(--paper); cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.server-address:hover { border-color: var(--red-bright); background: rgba(198, 47, 36, 0.21); }
.server-address > span:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.server-address small { color: #af9e84; font-size: 0.65rem; letter-spacing: 0.13em; text-transform: uppercase; }
.server-address strong { font-size: 1rem; }
.copy-mark { display: inline-flex; align-items: center; gap: 7px; color: #f1c7bf; font-size: 0.78rem; font-weight: 700; }
.copy-mark svg { width: 18px; }

.portals { padding-bottom: 60px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portal-card { position: relative; min-height: 310px; padding: 30px 30px 92px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18, 16, 15, 0.72); transition: transform 220ms ease, border-color 220ms ease, background 220ms ease; }
a.portal-card:hover { transform: translateY(-6px); border-color: rgba(215, 169, 76, 0.52); background: rgba(27, 22, 19, 0.9); }
.portal-tag { position: absolute; top: 30px; right: 28px; padding: 4px 9px; border: 1px solid rgba(215, 169, 76, 0.24); border-radius: 20px; color: var(--gold-pale); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.portal-tag.live { color: #93dda1; border-color: rgba(101, 199, 121, 0.27); }
.portal-card h3 { margin-top: 32px; }
.portal-link { position: absolute; left: 30px; bottom: 27px; color: var(--gold-pale); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.portal-link b { margin-left: 4px; color: var(--red-bright); }
.store-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid rgba(215, 169, 76, 0.28); border-radius: 8px; background: rgba(215, 169, 76, 0.07); cursor: pointer; }
.store-link:hover { border-color: rgba(215, 169, 76, 0.55); background: rgba(215, 169, 76, 0.13); color: #fff0bd; }
.store-link b { color: #bca878; font-size: 0.65rem; }
.store-card { background: linear-gradient(145deg, rgba(33, 27, 19, 0.82), rgba(18, 16, 15, 0.74)); }

.staff { padding-top: 90px; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.staff-card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg, rgba(28, 24, 22, 0.5), rgba(17, 15, 14, 0.96)); overflow: hidden; transition: transform 220ms ease, border-color 220ms ease; }
.staff-card:hover { transform: translateY(-6px); border-color: rgba(215, 169, 76, 0.53); }
.staff-card::before { position: absolute; inset: 10% 5% 25%; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(213, 55, 42, 0.18), transparent 65%); filter: blur(8px); }
.staff-card.builder::before { background: radial-gradient(circle, rgba(51, 155, 174, 0.16), transparent 65%); }
.staff-render { position: absolute; inset: 15px 0 75px; display: flex; align-items: flex-end; justify-content: center; }
.staff-render img { height: 92%; width: auto; image-rendering: pixelated; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.48)); transition: transform 260ms ease; }
.staff-card:hover .staff-render img { transform: translateY(-5px) scale(1.025); }
.staff-info { position: relative; z-index: 2; padding: 22px; border-top: 1px solid rgba(215, 169, 76, 0.16); background: rgba(10, 9, 9, 0.82); backdrop-filter: blur(10px); }
.staff-info span { color: var(--red-bright); font-size: 0.64rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.builder .staff-info span { color: #64c5d7; }
.staff-info h3 { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; overflow-wrap: anywhere; }

.final-cta { margin-top: 20px; padding-block: 80px; border-block: 1px solid rgba(215, 169, 76, 0.15); }
.final-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(111, 23, 18, 0.21), transparent 45%, rgba(173, 118, 38, 0.12)); }
.final-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.final-inner > img { width: 118px; height: 118px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(215, 169, 76, 0.35), 0 18px 45px rgba(0, 0, 0, 0.36); }
.final-cta h2 { margin-bottom: 0; font-size: clamp(2rem, 3.8vw, 3.5rem); }

.site-footer { padding: 34px 0; background: #060606; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner p { color: #887c69; font-size: 0.76rem; text-align: center; }
.footer-links { display: flex; gap: 20px; color: #a7977e; font-size: 0.78rem; font-weight: 700; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--paper); }

.toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid rgba(215, 169, 76, 0.44); border-radius: 9px; background: rgba(15, 13, 12, 0.95); color: var(--paper); box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45); backdrop-filter: blur(15px); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; color: #75d187; stroke-width: 2.4; }
.toast span { font-size: 0.8rem; white-space: nowrap; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.feature-grid .reveal:nth-child(2), .portal-grid .reveal:nth-child(2), .staff-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.feature-grid .reveal:nth-child(3), .portal-grid .reveal:nth-child(3), .staff-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.staff-grid .reveal:nth-child(4) { transition-delay: 240ms; }

@keyframes breathe { from { transform: scale(1.03); } to { transform: scale(1.075); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 760px); }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid rgba(215, 169, 76, 0.28); border-radius: 8px; background: rgba(10, 10, 10, 0.42); cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: var(--paper); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links { position: absolute; top: 68px; left: 16px; right: 16px; display: grid; gap: 0; max-height: calc(100svh - 84px); padding: 12px; border: 1px solid rgba(215, 169, 76, 0.2); border-radius: 12px; background: rgba(9, 9, 9, 0.97); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); backdrop-filter: blur(18px); overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 180ms ease, transform 180ms ease; }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links > a, .nav-store { min-height: 46px; width: 100%; justify-content: space-between; padding: 12px; border: 0; border-bottom: 1px solid rgba(215, 169, 76, 0.1); border-radius: 0; background: transparent; text-align: left; }
  .nav-store small { font-size: 0.58rem; }
  .nav-ip { width: 100%; margin-top: 10px; }
  body.menu-open { overflow: hidden; }
  .no-js .menu-toggle, .no-js .nav-links { display: none; }
  .scroll-cue { display: none; }
  .feature-grid, .portal-grid { grid-template-columns: 1fr; }
  .feature-card, .portal-card { min-height: 270px; }
  .connect-layout { grid-template-columns: 1fr; gap: 42px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .final-inner { grid-template-columns: auto 1fr; }
  .final-inner .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .nav { min-height: 68px; padding-top: env(safe-area-inset-top); }
  .brand { font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: 100svh; align-items: start; }
  .hero-media { background-image: radial-gradient(circle at 50% 28%, rgba(176, 42, 31, 0.38), transparent 34%), linear-gradient(165deg, #160e0b 0%, #080808 68%); animation: none; }
  .hero-shade { background: linear-gradient(180deg, transparent 40%, #080808 100%); }
  .hero-content { padding-top: calc(88px + env(safe-area-inset-top)); padding-bottom: 46px; }
  .hero-mobile-logo { display: block; width: min(70vw, 275px); margin: 0 auto -8px; }
  .hero-mobile-logo img { width: 100%; height: auto; aspect-ratio: 980 / 959; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.45)); }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero h1 { margin-top: 16px; font-size: clamp(2.45rem, 12.5vw, 4rem); line-height: 0.98; }
  .hero-copy > p { margin-bottom: 24px; font-size: 0.96rem; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .button { width: 100%; min-height: 56px; }
  .hero-actions .button-primary { grid-column: 1 / -1; }
  .hero-actions .button-ghost, .hero-actions .button-store { padding-inline: 12px; }
  .hero-facts { position: relative; left: auto; bottom: auto; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(215, 169, 76, 0.17); transform: none; }
  .hero-facts div { align-items: center; text-align: center; }
  .hero-facts i { display: none; }
  .hero-facts span { font-size: 0.65rem; }
  .hero-facts strong { font-size: 0.78rem; line-height: 1.35; }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 38px; }
  .feature-card { padding: 27px; }
  .portal-card { padding: 27px 27px 92px; }
  .portal-link { left: 27px; }
  .portal-tag { font-size: 0.66rem; }
  .edition-tabs { width: 100%; }
  .edition-tabs button { min-width: 0; flex: 1; }
  .join-card { padding: 24px 20px; }
  .join-topline { flex-wrap: wrap; font-size: 0.67rem; }
  .step { align-items: flex-start; }
  .staff-grid { grid-template-columns: 1fr; }
  .staff-card { min-height: clamp(410px, 125vw, 470px); }
  .staff-info span { font-size: 0.68rem; }
  .final-inner { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; }
  .toast { width: max-content; max-width: calc(100% - 28px); padding-bottom: max(13px, env(safe-area-inset-bottom)); }
  .toast span { white-space: normal; }
}

@media (max-width: 380px) {
  :root { --shell: calc(100% - 22px); }
  .brand span { font-size: 0.98rem; }
  .hero-content { padding-top: calc(82px + env(safe-area-inset-top)); }
  .hero-mobile-logo { width: min(72vw, 250px); }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.14em; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3rem); }
  .section { padding: 76px 0; }
  .section-heading h2, .connect h2, .final-cta h2 { font-size: 2.15rem; }
  .feature-card { min-height: 255px; padding: 23px; }
  .portal-card { min-height: 255px; padding: 23px 23px 90px; }
  .portal-tag { top: 24px; right: 22px; }
  .portal-link { left: 23px; }
  .server-address { align-items: flex-start; flex-direction: column; gap: 10px; }
  .copy-mark { align-self: flex-end; }
  .staff-card { min-height: 400px; }
}

@media (min-width: 360px) and (max-width: 640px) {
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .staff-card { min-height: clamp(315px, 86vw, 365px); }
  .staff-render { inset: 12px 0 68px; }
  .staff-info { padding: 16px 12px; }
  .staff-info h3 { font-size: clamp(0.94rem, 4vw, 1.08rem); }
}

@media (max-width: 640px) and (max-height: 700px) {
  .hero-content { padding-top: calc(76px + env(safe-area-inset-top)); padding-bottom: 36px; }
  .hero-mobile-logo { width: min(58vw, 210px); }
  .hero h1 { margin-block: 12px 16px; font-size: clamp(2.2rem, 11vw, 2.75rem); }
  .hero-copy > p { margin-bottom: 20px; font-size: 0.9rem; line-height: 1.5; }
  .hero-facts { margin-top: 24px; padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 3px; }
