/* ---------- Self-hosted fonts (SIL Open Font License, see fonts/OFL-*.txt) ---------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/orbitron-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070709;
  --panel: #101015;
  --panel-2: #15151b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #b6b7be;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #f3a31b;
  --accent-soft: rgba(243, 163, 27, 0.12);
  --accent-glow: rgba(243, 163, 27, 0.34);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(243, 163, 27, 0.5) #0a0a0c;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(243, 163, 27, 0.08), transparent 30%),
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(180deg, #050507 0%, #09090b 35%, #070709 100%);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #111;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* ---------- Brand wordmark ---------- */

.wordmark {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  line-height: 1;
}

.wm-alpha {
  color: var(--text);
  -webkit-text-stroke: max(2px, .04em) var(--accent);
  paint-order: stroke fill;
}

.wm-pi {
  color: var(--accent);
  text-shadow: 0 0 .4em rgba(243, 163, 27, 0.45);
}

.wordmark-md { font-size: 1.35rem; }
.wordmark-lg { font-size: clamp(1.4rem, 5vw, 2.4rem); }

.wordmark-hero {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: .03em;
}

@supports (font-size: 1cqi) {
  .wordmark-hero {
    font-size: clamp(2rem, 9.2cqi, 5.4rem);
  }
}

.wordmark-hero .wm-pi {
  animation: pi-pulse 4s ease-in-out infinite;
}

@keyframes pi-pulse {
  0%, 100% { text-shadow: 0 0 .25em rgba(243, 163, 27, 0.35); }
  50% { text-shadow: 0 0 .55em rgba(243, 163, 27, 0.7), 0 0 1.2em rgba(243, 163, 27, 0.25); }
}

/* Inline mention inside running text: Pi in accent only */
.wm-inline {
  font-weight: 700;
  color: var(--text);
}

.wm-inline b {
  color: var(--accent);
  font-weight: inherit;
}

/* ---------- Background layers ---------- */

.site-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  opacity: .45;
  z-index: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  will-change: transform;
}

.orb-1 {
  top: -25vmax;
  right: -20vmax;
  background: radial-gradient(circle, rgba(243, 163, 27, 0.13) 0%, transparent 60%);
  animation: drift-1 26s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: -30vmax;
  left: -25vmax;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  animation: drift-2 32s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  to { transform: translate(-18vw, 22vh) scale(1.15); }
}

@keyframes drift-2 {
  to { transform: translate(20vw, -18vh) scale(1.1); }
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s ease, padding .3s ease;
}

.topbar.scrolled {
  padding: .7rem 0;
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent));
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scaleX(0);
  transform-origin: left;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1rem;
}

.brand-mark {
  flex-shrink: 0;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(243, 163, 27, 0.1), 0 0 24px rgba(243, 163, 27, 0.3);
  transition: transform .4s var(--ease-out), box-shadow .3s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.brand-mark-lg {
  width: 3.4rem;
  height: 3.4rem;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 0 0 5px rgba(243, 163, 27, 0.16), 0 0 34px rgba(243, 163, 27, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  transition: color .2s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .27rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.2rem;
  height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero,
.section {
  position: relative;
  z-index: 1;
}

.section {
  scroll-margin-top: 2rem;
}

.hero {
  padding: 9rem 0 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  container-type: inline-size;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  margin-right: .7rem;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.eyebrow .wm-inline {
  letter-spacing: .12em;
}

.hero-copy h1,
.section-title h2,
.section-heading h2,
.panel-copy h2,
.values-copy h2,
.merch-card h2,
.legal-block h2,
.socials-copy h2 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.04;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: .3rem 0 .4rem;
}

.hero-lead,
.section-heading p,
.section-copy p,
.panel-copy p,
.values-copy p,
.socials-copy p,
.legal-block p,
.merch-card p {
  color: var(--muted);
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 34rem;
}

.hero-tagline {
  margin: .2rem 0 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: .04em;
  color: var(--text);
}

.hero-tagline span {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 1.8rem 0 1.7rem;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-icon {
  gap: .6rem;
}

.btn-icon svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffd57d);
  color: #131313;
  box-shadow: 0 10px 30px rgba(243, 163, 27, 0.24);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease-out);
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(243, 163, 27, 0.4);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(243, 163, 27, 0.55);
  background: rgba(243, 163, 27, 0.08);
}

.hero-points {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: .65rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.4rem;
  color: #d7d8de;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62rem;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(243, 163, 27, 0.14);
}

.hero-visual {
  display: grid;
  gap: 1.4rem;
}

.logo-stage {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  perspective: 1000px;
  max-width: min(440px, 62vh);
  width: 100%;
  justify-self: center;
}

.logo-stage > * {
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease-out);
}

.logo-ring {
  position: absolute;
  inset: -2px;
  border-radius: 34px;
  background: conic-gradient(from var(--angle), transparent 0%, transparent 60%, var(--accent) 80%, #ffd57d 85%, transparent 100%);
  animation: spin 6s linear infinite;
}

.logo-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(26px);
  opacity: .55;
}

@keyframes spin {
  to { --angle: 360deg; }
}

/* Shared glass card surface */
.logo-frame,
.feature-card,
.social-link,
.value-item,
.merch-card,
.legal-block,
.brand-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.logo-frame {
  position: relative;
  padding: 1rem;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #121217, #0a0a0d);
}

.logo-frame img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: auto 10% -10% 10%;
  height: 45%;
  background: radial-gradient(circle, rgba(243,163,27,0.4) 0%, rgba(243,163,27,0) 70%);
  filter: blur(40px);
  z-index: 1;
}

/* ---------- Sections ---------- */

.section {
  padding: 4.8rem 0;
}

.alt-section,
.values-section,
.socials-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.alt-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(80%, 900px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(243, 163, 27, 0.4), transparent);
}

.two-col,
.split-panel,
.values-grid,
.socials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.split-panel {
  align-items: center;
}

.section-heading p {
  max-width: 760px;
}

.section-title h2,
.section-heading h2,
.panel-copy h2,
.values-copy h2,
.socials-copy h2,
.legal-block h2,
.merch-card h2 {
  font-size: clamp(2rem, 5vw, 3.15rem);
}

.feature-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.value-item,
.social-link,
.legal-block {
  border-radius: var(--radius);
  padding: 1.35rem;
}

.feature-card h3 {
  margin-top: .2rem;
  margin-bottom: .55rem;
}

.feature-card p,
.value-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-index {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 163, 27, 0.45);
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
}

.feature-card:hover .card-index {
  color: rgba(243, 163, 27, 0.12);
  -webkit-text-stroke-color: var(--accent);
}

.feature-card h3 {
  padding-right: 3.5rem;
}

/* Cursor-following spotlight */
.spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(243, 163, 27, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity .35s ease;
}

.spotlight:hover::after {
  opacity: 1;
}

.rig-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.4rem;
  margin-top: 2rem;
  align-items: stretch;
}

.rig-photo {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 60px rgba(243, 163, 27, 0.08);
  background: #0a0a0d;
}

.rig-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.rig-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(243, 163, 27, 0.18);
  background: linear-gradient(180deg, transparent 65%, rgba(7, 7, 9, 0.55));
}

.rig-photo:hover img {
  transform: scale(1.03);
}

.spec-list {
  margin: 0;
  padding: .4rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.spec-row {
  flex: 1;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1rem;
  border-radius: 20px;
  transition: background .25s ease;
}

.spec-row + .spec-row {
  border-top: 1px solid var(--line);
}

.spec-row:hover {
  background: var(--accent-soft);
}

.spec-row:hover + .spec-row,
.spec-row:hover {
  border-top-color: transparent;
}

.spec-label {
  color: var(--accent);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spec-row strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.35;
}

.spec-row p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.about-name {
  color: var(--text);
}

/* ---------- Mindset brand card ---------- */

.brand-card {
  border-radius: 28px;
  padding: 2rem 1.5rem;
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(243, 163, 27, 0.14), transparent 60%),
    linear-gradient(180deg, #111116, #09090c);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.brand-card:hover {
  border-color: rgba(243, 163, 27, 0.45);
}

.brand-card img {
  width: min(240px, 70%);
  height: auto;
  border-radius: 22px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(243, 163, 27, 0.18));
  transition: transform .5s var(--ease-out);
}

.brand-card:hover img {
  transform: scale(1.04) rotate(-2deg);
}

.panel-copy .panel-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.callout {
  margin: 1.4rem 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
  color: #e4e4e8;
  font-style: normal;
}

.palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .75rem .35rem .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.swatch i {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- Merch ---------- */

.merch-strip-section {
  padding-top: 0;
  scroll-margin-top: 7rem;
}

.merch-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(243,163,27,0.14), rgba(255,255,255,0.03)),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border-color: rgba(243, 163, 27, 0.25);
}

.merch-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.merch-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.merch-logo {
  flex-shrink: 0;
  width: clamp(48px, 6vw, 72px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(243, 163, 27, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.merch-card .merch-slogan {
  margin: .9rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: #e4e4e8;
}

/* ---------- Values ---------- */

.values-list {
  display: grid;
  gap: 1rem;
  counter-reset: value;
}

.value-item {
  counter-increment: value;
  padding-left: 4.4rem;
  overflow: hidden;
}

.value-item::before {
  content: counter(value, decimal-leading-zero);
  position: absolute;
  left: 1.3rem;
  top: 1.3rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--accent);
}

.value-item strong {
  display: block;
  margin-bottom: .35rem;
  font-size: 1.05rem;
}

.value-item p {
  margin: 0;
}

/* ---------- Socials ---------- */

.social-links {
  display: grid;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
}

.social-link span {
  color: var(--muted);
  font-weight: 600;
  transition: color .25s ease;
}

.social-link::before {
  content: '→';
  order: 2;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s ease, transform .25s ease;
}

.social-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-link:hover span {
  color: var(--text);
}

/* ---------- Shared hover ---------- */

.social-link:hover,
.social-link:focus-visible,
.feature-card:hover,
.value-item:hover {
  border-color: rgba(243, 163, 27, 0.45);
  box-shadow: 0 28px 80px rgba(0,0,0,0.48), 0 0 0 1px rgba(243,163,27,0.12) inset;
  transform: translateY(-3px);
}

.feature-card,
.value-item,
.social-link {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(80%, 900px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-block h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.legal-block {
  scroll-margin-top: 6rem;
}

.imprint {
  margin: 1rem 0 0;
  font-style: normal;
  color: #e4e4e8;
  line-height: 1.6;
}

.imprint-list {
  display: grid;
  gap: .55rem;
  margin: 1.1rem 0 0;
}

.imprint-list div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: .8rem;
}

.imprint-list dt {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-top: .2rem;
}

.imprint-list dd {
  margin: 0;
  color: #e4e4e8;
}

.imprint-list a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.imprint-note {
  color: var(--muted);
  font-size: .85rem;
}

.legal-details {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}

.legal-details summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: var(--accent);
  font-weight: 700;
  list-style: none;
}

.legal-details summary::-webkit-details-marker {
  display: none;
}

.legal-details summary::after {
  content: '';
  width: .5rem;
  height: .5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}

.legal-details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.legal-details h3 {
  margin: 1.4rem 0 .3rem;
  font-size: 1rem;
  color: var(--text);
}

.legal-details p {
  margin: 0 0 .6rem;
  font-size: .93rem;
}

.legal-details a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-details .legal-date {
  margin-top: 1.2rem;
  font-size: .82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 1.2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

.delay-1 { --d: .08s; }
.delay-2 { --d: .16s; }
.delay-3 { --d: .24s; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav { gap: .85rem; }
  .nav a { font-size: .88rem; }
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-col,
  .split-panel,
  .values-grid,
  .socials-grid,
  .merch-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rig-layout {
    grid-template-columns: 1fr;
  }

  .merch-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .topbar {
    padding: .8rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + .75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: .2rem;
    padding: .7rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: .8rem .85rem;
    border-radius: 14px;
    font-size: .95rem;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a.is-active {
    background: rgba(255,255,255,0.04);
  }

}

@media (max-width: 760px) {
  .hero {
    padding-top: 7.8rem;
    padding-bottom: 4rem;
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .social-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-link::before {
    display: none;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .imprint-list div {
    grid-template-columns: 1fr;
    gap: .1rem;
  }

  .footer-bottom,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .brand .wordmark {
    font-size: .85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    filter: none;
    transform: none;
  }
}
