@font-face {
  font-family: 'Antonio';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/antonio-latin-700-normal.woff2') format('woff2'),
       url('../assets/fonts/antonio-latin-700-normal.woff') format('woff');
}

:root {
  --bg: #0B0C12;
  --surface: #121214;
  --surface-2: #17171A;
  --surface-3: #1E1E22;
  --border-soft: #1C1C20;
  --ink: #A0AABE;
  --ink-dim: #6E788E;
  --muted: #8A8A8F;
  --muted-low: #55555A;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --font-display: 'Antonio', var(--font-sans);
  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;
  --nav-h: 64px;
  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  transition: background-color 1s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bg); }

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-sm);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.scrolled {
  background: rgba(10,10,11,.82);
  border-bottom-color: var(--border-soft);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  user-select: none;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink-dim); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero-bg.png');
  background-size: auto 82%;
  background-repeat: no-repeat;
  background-position: center 6%;
  filter: grayscale(1);
  opacity: .18;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, black 40%, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 82%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 60% at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at center, black, transparent 80%);
  pointer-events: none;
  animation: grid-drift 14s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 64px -64px; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.display {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.5vw, 120px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  animation: fade-up .7s var(--ease) .15s both;
  user-select: none;
}
.display .char {
  display: inline-block;
  transition: transform .25s var(--ease);
  cursor: default;
}
.lead {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 34px;
  animation: fade-up .8s var(--ease) .7s both;
  user-select: none;
}
.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up .8s var(--ease) .85s both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-low);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: hint-in .6s ease 1.2s both, bob 2.6s ease-in-out 1.8s infinite;
  transition: opacity .5s ease;
}
.scroll-hint.hidden { opacity: 0 !important; pointer-events: none; }
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, transparent, #080F0E);
  pointer-events: none;
  z-index: 0;
}
.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@keyframes hint-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 26px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #E0E5F5; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-soft); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-dim); background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.section {
  padding: 120px 0;
  min-height: 100svh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.h-display {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  max-width: 820px;
  color: var(--ink);
  user-select: none;
}
.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 52px;
  line-height: 1.7;
}
.lede p { margin: 0; }
.lede p + p { margin-top: 18px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,45,35,.45);
  border: 1px solid rgba(0,80,60,.35);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cap {
  background: rgba(3,16,12,.55);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .25s var(--ease);
}
.cap:hover { background: rgba(6,26,20,.7); }
.cap-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.cap-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.stores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(45,28,4,.45);
  border: 1px solid rgba(70,45,8,.35);
  border-radius: var(--r-md);
  overflow: hidden;
}
.store {
  background: rgba(16,10,2,.5);
  padding: 24px 20px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  transition: background .2s var(--ease), color .2s var(--ease);
  position: relative;
}
.store:hover { background: rgba(24,15,3,.7); }
.store:hover .ext-icon { color: var(--ink-dim); transform: translate(2px,-2px); }
.store-action {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-low);
  line-height: 1;
  user-select: none;
}
.store-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color .2s var(--ease);
}
.store:hover .store-name { color: var(--ink); }

.channels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(28,10,50,.45);
  border: 1px solid rgba(50,18,80,.35);
  border-radius: var(--r-md);
  overflow: hidden;
}
.channel {
  background: rgba(10,5,18,.5);
  padding: 24px 20px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: flex-start;
  position: relative;
  transition: background .2s var(--ease);
}
.channel:hover { background: rgba(14,6,24,.7); }
.channel:hover .ext-icon { color: var(--ink-dim); transform: translate(2px,-2px); }
.ch-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  margin-bottom: 2px;
  transition: color .2s var(--ease);
}
.channel:hover .ch-icon { color: var(--ink-dim); }
.ch-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  line-height: 1.2;
  transition: color .2s var(--ease);
}
.channel:hover .ch-name { color: var(--ink); }
.ch-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3px;
  color: var(--muted-low);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ext-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--muted-low);
  line-height: 1;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.brand-icon {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(0.52);
  transition: filter .2s var(--ease);
}
.store:hover .brand-icon,
.channel:hover .brand-icon {
  filter: brightness(0) invert(0.84);
}


.site-foot {
  padding: 26px 0 32px;
  font-size: 12px;
  color: var(--muted-low);
}
.foot-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.foot-brand { font-size: 13px; font-weight: 500; letter-spacing: .02em; user-select: none; }
.foot-dot { user-select: none; }
.foot-copy { font-family: var(--font-mono); letter-spacing: .5px; user-select: none; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes char-float {
  0%   { opacity: 0;    transform: translateY(20px); }
  18%  { opacity: .13; }
  78%  { opacity: .07; }
  100% { opacity: 0;    transform: translateY(-70px); }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 100px 0; }
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10,10,11,.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a {
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .grid-4 { grid-template-columns: 1fr; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .channels { grid-template-columns: repeat(2, 1fr); }
.container, .nav { padding: 0 20px; }
  .section { padding: 80px 0; }
  .lede { font-size: 15px; margin-bottom: 36px; }
}

@media (max-width: 400px) {
  .stores { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: center; }
}

@media (min-width: 1440px) {
  .stores { grid-template-columns: repeat(5, 1fr); }
  .channels { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .display { animation: none; opacity: 1; transform: none; }
  .display .char { transform: none; }
  .scroll-hint { animation: none; opacity: 1; }
}
