:root {
  --bg: #0a0712;
  --bg-elevated: #120e1c;
  --panel: rgba(36, 26, 59, 0.55);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(162, 125, 255, 0.22);
  --text: #f4f0ff;
  --text-muted: #a89bc4;
  --purple: #7a3cff;
  --purple-glow: rgba(122, 60, 255, 0.45);
  --purple-soft: #b794ff;
  --orange: #ff8a2a;
  --orange-soft: #ffb067;
  --gradient-hero: linear-gradient(
    120deg,
    #f0e8ff 0%,
    #c49bff 22%,
    #7a3cff 45%,
    #ff8a2a 72%,
    #ffd4a8 100%
  );
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --scroll: 0;
  --pointer-x: 0.5;
  --pointer-y: 0.35;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@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;
  }

  .sky-scroll,
  .sky-blob,
  .sky-mesh,
  .sky-beam {
    transform: none !important;
    animation: none !important;
  }

  .hero-shimmer {
    animation: none !important;
    background-position: 0 center;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scroll-linked aurora sky ── */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #05030a;
}

.sky-scroll {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 400vh;
  background: linear-gradient(
    180deg,
    #0a0614 0%,
    #1a0a3d 12%,
    #3d1a8c 28%,
    #7a3cff 42%,
    #c44a9e 55%,
    #ff6b2a 68%,
    #ff9f4a 78%,
    #1a0f2e 88%,
    #0a0614 100%
  );
  background-size: 100% 200%;
  opacity: 0.62;
  filter: blur(1px);
  transform: translate3d(
    calc((var(--pointer-x) - 0.5) * -40px),
    calc(var(--scroll) * -55vh + (var(--pointer-y) - 0.5) * -30px),
    0
  );
  will-change: transform;
}

.sky-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: 0.7;
  will-change: transform;
}

.sky-blob--violet {
  width: min(70vw, 620px);
  height: min(70vw, 620px);
  top: -8%;
  left: -12%;
  background: radial-gradient(circle, #9b5cff 0%, transparent 68%);
  animation: blob-drift-a 18s ease-in-out infinite alternate;
  transform: translate(
    calc(var(--scroll) * 12vw),
    calc(var(--scroll) * 18vh)
  );
}

.sky-blob--orange {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: 28%;
  right: -8%;
  background: radial-gradient(circle, #ff8a2a 0%, transparent 70%);
  animation: blob-drift-b 22s ease-in-out infinite alternate;
  transform: translate(
    calc(var(--scroll) * -10vw),
    calc(var(--scroll) * 22vh)
  );
}

.sky-blob--magenta {
  width: min(45vw, 400px);
  height: min(45vw, 400px);
  top: 55%;
  left: 20%;
  background: radial-gradient(circle, #e040a0 0%, transparent 72%);
  animation: blob-drift-c 16s ease-in-out infinite alternate;
  transform: translate(
    calc(var(--scroll) * 8vw),
    calc(var(--scroll) * -12vh)
  );
}

.sky-blob--cyan {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  bottom: 5%;
  right: 18%;
  background: radial-gradient(circle, #5c7cff 0%, transparent 70%);
  opacity: 0.45;
  animation: blob-drift-a 20s ease-in-out infinite alternate-reverse;
  transform: translate(
    calc(var(--scroll) * -14vw),
    calc(var(--scroll) * -8vh)
  );
}

@keyframes blob-drift-a {
  from {
    scale: 1;
  }
  to {
    scale: 1.15;
  }
}

@keyframes blob-drift-b {
  from {
    scale: 1.1;
    rotate: 0deg;
  }
  to {
    scale: 0.92;
    rotate: 12deg;
  }
}

@keyframes blob-drift-c {
  from {
    scale: 0.95;
  }
  to {
    scale: 1.2;
  }
}

.sky-mesh {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from calc(var(--scroll) * 360deg + var(--pointer-x) * 90deg) at 50% 45%,
    transparent 0deg,
    rgba(122, 60, 255, 0.35) 60deg,
    transparent 120deg,
    rgba(255, 138, 42, 0.28) 200deg,
    transparent 280deg,
    rgba(196, 74, 158, 0.3) 320deg,
    transparent 360deg
  );
  opacity: 0.5;
  animation: mesh-spin 40s linear infinite;
}

@keyframes mesh-spin {
  to {
    rotate: 360deg;
  }
}

.sky-beam {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 28vh;
  top: calc(var(--scroll) * 140vh - 5vh);
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(196, 155, 255, 0.2) 35%,
    rgba(255, 200, 140, 0.35) 50%,
    rgba(122, 60, 255, 0.25) 65%,
    transparent 100%
  );
  filter: blur(48px);
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
}

.sky-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    transparent 0%,
    rgba(5, 3, 10, 0.5) 55%,
    #05030a 100%
  );
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  position: relative;
  z-index: 2;
  width: min(1140px, 90%);
  margin: 0 auto;
}

.container.narrow {
  width: min(720px, 90%);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(10, 7, 18, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.9;
}

.brand-logo {
  width: clamp(100px, 14vw, 140px);
  height: auto;
  display: block;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--text);
}

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

.main-nav a,
.menu-dropdown summary {
  position: relative;
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.menu-dropdown summary:hover,
.menu-dropdown summary:focus-visible {
  color: var(--text);
  background: var(--glass);
}

.nav-cta {
  margin-left: 0.35rem;
  color: var(--text) !important;
  background: linear-gradient(135deg, var(--purple), #5c28cc) !important;
  border: 1px solid rgba(183, 148, 255, 0.35);
  box-shadow: 0 4px 20px var(--purple-glow);
}

.nav-cta:hover {
  filter: brightness(1.1);
  background: linear-gradient(135deg, #8b52ff, var(--purple)) !important;
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown summary {
  list-style: none;
  cursor: pointer;
}

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

.menu-dropdown summary::after {
  content: "▾";
  margin-left: 0.25rem;
  font-size: 0.7rem;
  opacity: 0.6;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  margin: 0;
  padding: 0.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(18, 14, 28, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  list-style: none;
}

.dropdown-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
}

.dropdown-list a:hover {
  background: rgba(122, 60, 255, 0.2);
  color: var(--purple-soft);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(1000px, 130vw);
  height: 65vh;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 55% 45% at 50% 42%,
    rgba(122, 60, 255, 0.35) 0%,
    rgba(255, 138, 42, 0.12) 40%,
    transparent 72%
  );
  pointer-events: none;
  opacity: calc(0.6 + var(--scroll) * 0.4);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-line {
  display: block;
}

.hero-shimmer {
  position: relative;
  background: linear-gradient(
    110deg,
    #fff 0%,
    #e8dcff 15%,
    #c49bff 30%,
    #ff8a2a 50%,
    #ffd4a8 65%,
    #c49bff 80%,
    #fff 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shimmer 6s linear infinite;
}

@keyframes text-shimmer {
  to {
    background-position: 250% center;
  }
}

.hero-copy {
  margin: 1.5rem 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s,
    filter 0.25s;
}

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

.btn-primary {
  color: #1a0f2e;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  box-shadow: 0 8px 32px rgba(255, 138, 42, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(255, 138, 42, 0.45);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--purple-soft);
  background: rgba(122, 60, 255, 0.12);
}

/* Hero panel */
.hero-panel {
  position: relative;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    145deg,
    rgba(122, 60, 255, 0.12) 0%,
    rgba(36, 26, 59, 0.6) 50%,
    rgba(255, 138, 42, 0.06) 100%
  );
  backdrop-filter: blur(24px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero-panel-shine {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.panel-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.hero-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.hero-panel > p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--glass-border);
  list-style: none;
}

.hero-stats li {
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--purple-soft), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-tag {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.glass {
  border: 1px solid var(--glass-border);
  background: rgba(8, 5, 14, 0.45);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about-lead p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-card {
  padding: 1.75rem;
}

.about-icon {
  font-size: 1.5rem;
  color: var(--purple-soft);
  margin-bottom: 0.75rem;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.about-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Bento products */
.section-products {
  position: relative;
}

.section-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(122, 60, 255, 0.06) 50%,
    transparent
  );
  pointer-events: none;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    160deg,
    rgba(36, 26, 59, 0.35),
    rgba(8, 5, 14, 0.75)
  );
  backdrop-filter: blur(12px);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(122, 60, 255, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 148, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-soft);
  background: rgba(255, 138, 42, 0.12);
  border: 1px solid rgba(255, 138, 42, 0.25);
  border-radius: 999px;
}

.bento-badge:has(+ .product-brand) {
  color: #9dffb8;
  background: rgba(80, 220, 140, 0.1);
  border-color: rgba(80, 220, 140, 0.3);
}

.product-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.product-brand h3 {
  margin: 0;
}

.product-domain {
  margin: 0.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--purple-soft);
  letter-spacing: 0.04em;
}

.bento-card h3 {
  position: relative;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.bento-featured h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.bento-card p {
  position: relative;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bento-link {
  position: relative;
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--purple-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.bento-link:hover {
  color: var(--orange-soft);
}

.bento-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* Help */
.help-block {
  padding: 2rem;
  text-align: center;
}

.help-block p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.help-email {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(122, 60, 255, 0.15);
  border: 1px solid var(--glass-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition:
    background 0.25s,
    transform 0.25s var(--ease-out);
}

.help-email:hover {
  background: rgba(122, 60, 255, 0.28);
  transform: scale(1.02);
}

.help-email svg {
  opacity: 0.7;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-tile {
  padding: 1.5rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.contact-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 148, 255, 0.45);
}

.contact-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.contact-tile a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-tile a:hover {
  color: var(--orange-soft);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
}

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

.footer-brand img {
  width: 100px;
  height: auto;
  opacity: 0.85;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.25s var(--ease-out);
}

.back-top:hover {
  color: var(--text);
  border-color: var(--purple-soft);
  transform: translateY(-3px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .bento,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bento-featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(10, 7, 18, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.35s var(--ease-out),
      opacity 0.35s,
      visibility 0.35s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a,
  .menu-dropdown summary {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .dropdown-list {
    position: static;
    margin-top: 0.25rem;
    box-shadow: none;
  }

  .brand-text {
    display: none;
  }
}
