/* ============================================================
   TENTICAL — DESIGN SYSTEM
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --bg-base: #0B0B0F;
  --bg-alt: #121216;
  --surface: #17171C;
  --border: #26262C;
  --text-primary: #F5F5F7;
  --text-secondary: #A0A0AA;
  --text-muted: #6B6B75;
  --accent: #7CFFCB;
  --accent-hover: #9DFFD9;
  --accent-30: rgba(124, 255, 203, 0.30);
  --accent-10: rgba(124, 255, 203, 0.10);

  /* Typography */
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing */
  --section-pad: 140px;
  --section-pad-mobile: 72px;
  --max-width: 1200px;
  --gutter: 24px;
  --gutter-mobile: 16px;

  /* Radii */
  --radius-card: 16px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-ambient: 0 20px 60px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --ease-default: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms var(--ease-default);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.text-accent {
  color: var(--accent);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* Screen reader only */
.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;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: 72px; }
h2 { font-size: 44px; }
h3 { font-size: 24px; }

.label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  padding: 16px 28px;
  transition: all 150ms var(--ease-default);
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-base);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-10);
  transform: scale(1.02);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 8px 4px;
  position: relative;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease-default);
}

.btn--ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: border-color 250ms var(--ease-default),
              transform 250ms var(--ease-default);
}

.card:hover {
  border-color: var(--accent-30);
  transform: translateY(-4px);
}

/* ---------- Pills / Tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  white-space: nowrap;
}

.pill--accent {
  border-color: var(--accent-30);
  color: var(--accent);
}

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  image-rendering: pixelated;
  box-shadow: var(--shadow-ambient);
}

.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease-default),
              transform 400ms var(--ease-default);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 300ms var(--ease-default),
              padding 300ms var(--ease-default),
              -webkit-backdrop-filter 300ms var(--ease-default),
              backdrop-filter 300ms var(--ease-default);
}

.nav.is-scrolled {
  background: rgba(23, 23, 28, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms var(--ease-default);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--accent);
}

.nav__cta {
  font-size: 14px;
  padding: 10px 20px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  z-index: 1010;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 300ms var(--ease-default),
              opacity 200ms var(--ease-default);
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 15, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1005;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 300ms var(--ease-default);
  pointer-events: none;
}

.nav__mobile-menu.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-menu .nav__link {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   §01 — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%,
    rgba(124, 255, 203, 0.04) 0%,
    transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subhead {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero__body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 40px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 400ms var(--ease-default);
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-cue__arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(4px); }
}

/* ============================================================
   §02 — STATS STRIP
   ============================================================ */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  text-align: center;
}

.stats__item {
  padding: 12px 0;
}

.stats__number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stats__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   PRE-BOOK MINT CTA
   ============================================================ */
.prebook {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prebook__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.prebook__content .pill {
  margin-bottom: 24px;
}

.prebook__content h2 {
  margin-bottom: 16px;
  font-size: 48px;
}

.prebook__body {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn--lg {
  padding: 20px 40px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 12px;
}

.prebook__btn {
  display: inline-flex;
  box-shadow: 0 0 40px rgba(124, 255, 203, 0.15),
              0 0 80px rgba(124, 255, 203, 0.05);
}

.prebook__btn:hover {
  box-shadow: 0 0 50px rgba(124, 255, 203, 0.25),
              0 0 100px rgba(124, 255, 203, 0.1);
}

.prebook__note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.prebook__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 255, 203, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================================
   MINT LINK — COMING SOON
   ============================================================ */
.mint-soon {
  text-align: center;
}

.mint-soon__content {
  max-width: 560px;
  margin: 0 auto;
}

.mint-soon__icon {
  color: var(--accent);
  margin-bottom: 24px;
}

.mint-soon__icon svg {
  width: 48px;
  height: 48px;
}

.mint-soon__content h2 {
  margin-bottom: 16px;
}

.mint-soon__body {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.mint-soon__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 10px 24px;
  background: var(--accent-10);
  border: 1px solid var(--accent-30);
  border-radius: var(--radius-pill);
}

.mint-soon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: mintPulse 2s ease-in-out infinite;
}

@keyframes mintPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* ============================================================
   §03 — ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text h2 {
  margin-bottom: 24px;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__image {
  width: 100%;
  aspect-ratio: 9 / 11;
}

/* ============================================================
   §04 — COLLECTION SHOWCASE
   ============================================================ */
.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase__image {
  width: 100%;
  aspect-ratio: 9 / 11;
  order: -1;
}

.showcase__text h2 {
  margin-bottom: 16px;
}

.showcase__intro {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.showcase__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   §05 — WHY TENTICAL
   ============================================================ */
.why__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.why__header h2 {
  margin-bottom: 12px;
}

.why__header p {
  color: var(--text-secondary);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.why__card .card__number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.why__card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.why__card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   §06 — VISION
   ============================================================ */
.vision {
  text-align: center;
}

.vision__content {
  max-width: 720px;
  margin: 0 auto;
}

.vision h2 {
  margin-bottom: 32px;
}

.vision__quote {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
  font-style: italic;
}

.vision__banner {
  margin-top: 56px;
  width: 100%;
  aspect-ratio: 21 / 9;
}

/* ============================================================
   §07 — ROADMAP
   ============================================================ */
.roadmap h2 {
  text-align: center;
  margin-bottom: 64px;
}

.roadmap__timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
}

/* Track line (background) */
.roadmap__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: var(--border);
}

/* Filled progress line */
.roadmap__progress {
  position: absolute;
  top: 0;
  left: 11px;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 100ms linear;
  z-index: 1;
}

.roadmap__phase {
  position: relative;
  margin-bottom: 48px;
}

.roadmap__phase:last-child {
  margin-bottom: 0;
}

/* Marker dot */
.roadmap__marker {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-base);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 300ms var(--ease-default),
              background 300ms var(--ease-default);
}

.roadmap__phase.is-completed .roadmap__marker,
.roadmap__phase.is-active .roadmap__marker {
  border-color: var(--accent);
  background: var(--accent);
}

.roadmap__phase.is-completed .roadmap__marker::after {
  content: '✓';
  font-size: 12px;
  color: var(--bg-base);
  font-weight: 700;
}

.roadmap__phase-label {
  display: inline-block;
  margin-bottom: 8px;
}

.roadmap__phase h3 {
  margin-bottom: 16px;
}

.roadmap__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.roadmap__list li {
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
}

.roadmap__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
}

/* ============================================================
   §08 — FUTURE PLANS
   ============================================================ */
.future h2 {
  text-align: center;
  margin-bottom: 40px;
}

.future__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.future__closing {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ============================================================
   §09 — COMMUNITY
   ============================================================ */
.community {
  text-align: center;
}

.community h2 {
  margin-bottom: 16px;
}

.community__statement {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.community__roles {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.community__role {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 8px 20px;
  position: relative;
}

.community__role:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ============================================================
   §10 — GALLERY
   ============================================================ */
.gallery h2 {
  text-align: center;
  margin-bottom: 48px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: transform 300ms var(--ease-default);
}

.gallery__item:nth-child(2),
.gallery__item:nth-child(5),
.gallery__item:nth-child(8) {
  aspect-ratio: 1 / 1.2;
}

.gallery__item:hover {
  transform: scale(1.03);
}

.gallery__item .placeholder-img {
  width: 100%;
  height: 100%;
}

/* ============================================================
   §11 — FAQ
   ============================================================ */
.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  background: none;
  border: none;
  transition: color 200ms var(--ease-default);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: 16px;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 250ms var(--ease-default);
}

.faq__icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms var(--ease-default),
              padding 250ms var(--ease-default);
}

.faq__answer-inner {
  padding-bottom: 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   §12 — FINAL CTA
   ============================================================ */
.final-cta {
  text-align: center;
  background: var(--bg-alt);
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta__body {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
}

.final-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   §13 — FOOTER
   ============================================================ */
.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE — TABLET (768px–1199px)
   ============================================================ */
@media (max-width: 1199px) {
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }

  .about__grid,
  .showcase__grid {
    gap: 40px;
  }

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

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

  .roadmap__list {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-pad: var(--section-pad-mobile);
    --gutter: var(--gutter-mobile);
  }

  body {
    font-size: 16px;
  }

  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 20px; }

  .label { font-size: 12px; }

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__cta.desktop-only {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 100px 0 var(--section-pad);
    min-height: auto;
  }

  .hero__subhead {
    font-size: 18px;
  }

  .hero__body {
    font-size: 15px;
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .stats__number {
    font-size: 32px;
  }

  /* Pre-book */
  .prebook__content h2 {
    font-size: 32px;
  }

  .btn--lg {
    padding: 16px 32px;
    font-size: 15px;
  }

  .prebook__glow {
    width: 260px;
    height: 260px;
  }

  /* About & Showcase */
  .about__grid,
  .showcase__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase__image {
    order: -1;
  }

  .about__image,
  .showcase__image {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  /* Why */
  .why__grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(8) {
    aspect-ratio: 4 / 3;
  }

  /* Roadmap */
  .roadmap__list {
    grid-template-columns: 1fr;
  }

  /* Community */
  .community__roles {
    flex-direction: column;
    gap: 0;
  }

  .community__role::after {
    display: none;
  }

  .community__role:not(:last-child) {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 4px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Scroll cue */
  .scroll-cue {
    bottom: 24px;
  }
}

/* ============================================================
   ACCESSIBILITY — Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-cue__arrow {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   iOS SAFE AREA
   ============================================================ */
@supports (padding: env(safe-area-inset-top)) {
  .nav {
    padding-top: calc(20px + env(safe-area-inset-top));
  }

  .nav.is-scrolled {
    padding-top: calc(12px + env(safe-area-inset-top));
  }

  .footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
}

/* Body scroll lock (JS toggled) */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
