/* ============================================================
   TOMA'TTO — Global Styles (Bold Modern Redesign)
   ============================================================ */

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

:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --fg: #ffffff;
  --primary: #A855F7;
  --primary-hover: #C084FC;
  --primary-glow: rgba(168, 85, 247, 0.3);
  --secondary: #cccccc;
  --accent: #A855F7;
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --muted: #888888;
  --border: #222222;
  --radius: 1.25rem;
  --max-w: 80rem;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }

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

::selection {
  background: var(--primary);
  color: #fff;
}

/* --- Utilities --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 60rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .3s, border-color .3s;
}

.navbar--scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.navbar__logo:hover { color: var(--primary); }

.navbar__logo-img {
  height: 32px;
  width: auto;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s;
}
.navbar__links a:hover { color: #fff; }
.navbar__links .btn--primary { color: #fff; }
.navbar__links .btn--primary:hover { color: #fff; }

@media (min-width: 768px) {
  .navbar__links { display: flex; }
  .navbar__hamburger { display: none !important; }
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all .3s;
}

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

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  animation: fadeIn .25s ease;
}

.navbar__mobile.active { display: flex; }

.navbar__mobile a {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
.navbar__mobile a:hover { color: #fff; }
.navbar__mobile .btn--primary { color: #fff; align-self: flex-start; }
.navbar__mobile .btn--primary:hover { color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .3s var(--transition);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { opacity: 0.9; color: var(--bg); }

.btn--white { background: #ffffff; color: #000000; }
.btn--white:hover { background: #f0f0f0; color: #000000; }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--lg { padding: 1rem 2rem; font-size: 1rem; gap: 0.75rem; }
.btn--xl { padding: 1.125rem 2.5rem; font-size: 1.125rem; gap: 0.75rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-group--center { justify-content: center; }

/* --- Hero (Full-Screen Video) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s var(--transition) forwards;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #ffffff;
  animation: fadeInUp .8s var(--transition) .1s forwards;
  opacity: 0;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--primary), #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin-top: 2rem;
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp .8s var(--transition) .2s forwards;
  opacity: 0;
}

.hero__buttons {
  margin-top: 3rem;
  animation: fadeInUp .8s var(--transition) .3s forwards;
  opacity: 0;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-hint .material-icons { font-size: 1.5rem; display: block; margin-top: 0.25rem; }

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* --- Section Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* --- Feature Blocks (alternating layout) --- */
.feature-block {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.feature-block__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-block__inner { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

.feature-block__content { position: relative; z-index: 2; }

.feature-block__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-block__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.feature-block__text {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
}

.feature-block__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-block__icon-wrapper {
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.02));
  border: 1px solid rgba(168, 85, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-block__icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15), transparent 70%);
}

.feature-block__icon-wrapper .material-icons {
  font-size: 5rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .feature-block--reverse .feature-block__inner {
    direction: rtl;
  }
  .feature-block--reverse .feature-block__inner > * {
    direction: ltr;
  }
}

/* --- Big Statement --- */
.statement {
  padding: 10rem 2rem;
  display: flex;
  align-items: center;
}

.statement__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.statement__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.statement__text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.8;
  margin-top: 2rem;
  max-width: 36rem;
}

/* --- Stats Section --- */
.stats-section {
  padding: 8rem 2rem;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.08), transparent 60%);
}

.stats-grid {
  display: grid;
  gap: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat { padding: 2rem; }

.stat__value {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Pillars Grid --- */
.pillars {
  padding: 8rem 2rem;
}

.pillars__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pillars__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pillars__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
}

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

.pillar {
  background: var(--bg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background .3s;
}

.pillar:hover { background: var(--surface); }

.pillar__icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.pillar__icon .material-icons { font-size: 2.5rem; color: var(--primary); }

.pillar__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.pillar__text { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* --- Callout Box --- */
.callout-section {
  padding: 8rem 2rem;
}

.callout {
  max-width: 50rem;
  margin: 0 auto;
  padding: 4rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(168, 85, 247, 0.01));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%);
  pointer-events: none;
}

.callout__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
}

.callout__text {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  position: relative;
}

.callout a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* --- CTA Section --- */
.cta-section {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.15), transparent 60%);
}

.cta__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  position: relative;
}

.cta__subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  position: relative;
}

.cta__buttons {
  margin-top: 3rem;
  position: relative;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(168, 85, 247, 0.1), transparent 60%);
}

.page-hero__title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
  animation: fadeInUp .8s var(--transition) forwards;
}

.page-hero__subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  animation: fadeInUp .8s var(--transition) .15s forwards;
  opacity: 0;
}

/* Legacy page-header support */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-header__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: fadeInUp .6s ease forwards;
}

.page-header__subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp .6s ease .15s forwards;
  opacity: 0;
}

/* --- Content Sections --- */
.section {
  padding: 6rem 2rem;
}

.section--surface { background: var(--surface); }
.section .container { max-width: var(--max-w); margin: 0 auto; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .4s var(--transition);
}

.card:hover {
  background: var(--surface-hover);
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

.card__icon { font-size: 2rem; margin-bottom: 1.25rem; }
.card__icon .material-icons { font-size: 2.5rem; color: var(--primary); }
.card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.card__text { font-size: 0.9375rem; color: var(--muted); line-height: 1.7; }

/* --- Grid --- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--5 { grid-template-columns: 1fr 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

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

/* --- Legacy Stats --- */
.stats { display: grid; gap: 2rem; text-align: center; }

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}

/* --- Prose (legal text) --- */
.prose { max-width: 48rem; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; line-height: 1.75; color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.25rem; line-height: 1.75; color: var(--muted); }
.prose strong { font-weight: 600; color: var(--fg); }
.prose__meta { font-size: 0.875rem; color: var(--muted); margin-bottom: 2.5rem; }

/* --- Rule Lists (safety page) --- */
.rule-box { padding: 2rem; border-radius: var(--radius); }
.rule-box--green { background: rgba(34, 197, 94, 0.05); border: 1px solid rgba(34, 197, 94, 0.15); }
.rule-box--red { background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.15); }
.rule-box__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.rule-box ul { list-style: none; padding: 0; }
.rule-box li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; }
.rule-box li .dot { margin-top: 0.15rem; flex-shrink: 0; }
.dot--green { color: #16a34a; }
.dot--red { color: #A855F7; }

/* --- Content Block --- */
.content-block { max-width: 48rem; margin: 0 auto; }
.content-block__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .content-block__title { font-size: 1.875rem; } }
.content-block p { margin-bottom: 1rem; line-height: 1.75; color: var(--muted); }
.content-block p:last-child { margin-bottom: 0; }

/* --- Contact Form --- */
.contact-grid { display: grid; gap: 3rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color .2s, box-shadow .2s;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form__input::placeholder,
.form__textarea::placeholder { color: rgba(136, 136, 136, 0.6); }
.form__textarea { resize: none; min-height: 8rem; }
.form__honeypot { position: absolute; left: -9999px; }

.form__message { padding: 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; animation: fadeIn .3s ease; }
.form__message--success { background: rgba(34,197,94,.1); color: #4ade80; }
.form__message--error { background: rgba(239,68,68,.1); color: #f87171; }

.form__submit { width: 100%; padding: 0.875rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.form__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info__item label { font-size: 0.875rem; font-weight: 500; display: block; margin-bottom: 0.25rem; }
.contact-info__socials { display: flex; gap: 1rem; margin-top: 1rem; }
.contact-info__socials a { font-size: 0.875rem; color: var(--muted); text-transform: capitalize; }
.contact-info__socials a:hover { color: var(--primary); }

/* --- Press Page --- */
.boilerplate-box { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 1.5rem; }
.boilerplate-box__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.25rem; }

.color-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .color-grid { grid-template-columns: repeat(5, 1fr); } }

.color-swatch { text-align: center; }
.color-swatch__preview { height: 5rem; border-radius: 0.75rem; border: 1px solid var(--border); margin-bottom: 0.5rem; }
.color-swatch__name { font-size: 0.875rem; font-weight: 500; }
.color-swatch__hex { font-size: 0.75rem; color: var(--muted); }

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
  padding: 4rem 2rem;
}

.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer__brand-name { font-size: 1.125rem; font-weight: 800; color: var(--fg); }
.footer__brand-tagline { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__list { list-style: none; padding: 0; }
.footer__list li { margin-bottom: 0.625rem; }
.footer__list a { font-size: 0.875rem; color: var(--muted); }
.footer__list a:hover { color: #fff; }

.footer__socials { display: flex; gap: 1rem; }
.footer__socials a { color: var(--muted); transition: color .2s; }
.footer__socials a:hover { color: var(--primary); }
.footer__socials svg { width: 20px; height: 20px; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }

/* --- 404 --- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem 1.5rem;
}

.not-found__emoji { font-size: 5rem; margin-bottom: 1.5rem; }
.not-found__code { font-size: 3rem; font-weight: 800; }
.not-found__title { font-size: 1.25rem; font-weight: 700; margin-top: 0.75rem; }
.not-found__text { color: var(--muted); margin-top: 0.5rem; margin-bottom: 2rem; }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Legacy animate-on-scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .15s; }
.stagger > *:nth-child(4) { transition-delay: .2s; }
.stagger > *:nth-child(5) { transition-delay: .25s; }

/* --- SVG & Material Icons --- */
.icon { display: inline-block; vertical-align: middle; }
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 24px; height: 24px; }

.material-icons { vertical-align: middle; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
