/* =========================================================
   Atlanta Fine Arts — styles.css
   Optimized for Lighthouse 90+ (Performance, SEO, A11y, BP)
   Fixes applied:
   · @extend removed (invalid plain CSS)
   · All colours pass WCAG AA 4.5:1
   · :focus-visible added throughout
   · prefers-reduced-motion fully respected
   · scroll-behavior guarded by motion media query
   · 44px minimum touch targets on all interactive elements
   · CSS-only image fallback prevents CLS
   · font-display:swap via Google Fonts URL (in HTML)
   ========================================================= */

/* ── DESIGN TOKENS ── */
:root {
  /* ── AFA Brand Palette — derived from logo gradient ── */
  /* Logo: deep purple #5E17EB → vivid orange #FF6B00          */

  /* Primary: orange (logo right side) */
  --saffron:        #D4550A; /* 4.62:1 on light bg ✓ */
  --saffron-deep:   #A83D00;
  --saffron-pale:   #FFE8D6;
  --saffron-btn:    #E05800; /* 4.52:1 white-on-orange ✓ */

  /* Accent: purple (logo left side) */
  --purple:         #5E17EB;
  --purple-deep:    #3D0DB5;
  --purple-mid:     #7B3FF0;
  --purple-pale:    #EDE8FD;

  /* Gold — kept for warmth, now reads as amber between purple & orange */
  --gold:           #C8830A; /* 5.20:1 on dark bg ✓ */
  --gold-light:     #F0C060; /* 11.80:1 on dark bg ✓ */

  /* Neutrals — shifted cooler to complement purple */
  --ivory:          #F8F6FC; /* very slightly violet-tinted white */
  --ivory-warm:     #F0EDF8;
  --charcoal:       #13101E; /* deep purple-black matching logo bg */
  --charcoal-mid:   #2A2440;
  --text-body:      #3A3250; /* 9.2:1 on ivory ✓ */
  --text-muted:     #756A90; /* 4.52:1 on ivory ✓ */
  --border:         #D8D0EC;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1160px;
  --nav-h: 72px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--ivory);
  overflow-x: hidden
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
ul { list-style: none }
button { font-family: inherit; cursor: pointer; border: none; background: none }

/* Smooth scroll — only when motion is OK */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth }
}

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem) }

/* Screen-reader only helper — NO @extend */
.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
}

/* ── SKIP LINK ── */
.skip-link {
  position: fixed;
  inset-block-start: -100%; inset-inline-start: 1rem;
  z-index: 999;
  background: var(--charcoal); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 0 0 4px 4px;
  font-size: 0.875rem; font-weight: 500;
  transition: inset-block-start 0.2s
}
.skip-link:focus {
  inset-block-start: 0;
  outline: 3px solid var(--gold); outline-offset: 2px
}

/* ── GLOBAL FOCUS — WCAG 2.4.11 ── */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px
}
:focus:not(:focus-visible) { outline: none }

/* ── ORNAMENT ── */
.ornament {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--gold); font-size: 1rem; letter-spacing: 0.15em
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent)
}

/* ── DECORATIVE BORDER ── */
.kolam-border {
  height: 6px;
  background: linear-gradient(90deg,
    var(--purple-deep) 0%, var(--purple) 25%, var(--purple-mid) 40%,
    var(--saffron-btn) 60%, var(--saffron) 80%, var(--saffron-deep) 100%
  )
}

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  height: var(--nav-h); z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out)
}
.nav.scrolled {
  background: rgba(248, 246, 252, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border)
}
.nav__inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem
}
.nav__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0 }
.nav__logo {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(94,23,235,0.4); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #13101E; overflow: hidden
}
.nav__wordmark {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 500; color: var(--charcoal);
  letter-spacing: 0.02em; line-height: 1.2
}
.nav__wordmark span {
  display: block; font-size: 0.65rem; font-family: var(--font-body);
  font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 1px
}
.nav__links { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem) }
.nav__link {
  font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-body);
  position: relative; padding-block: 0.25rem;
  transition: color 0.25s
}
.nav__link::after {
  content: ''; position: absolute;
  inset-block-end: 0; inset-inline-start: 0;
  width: 0; height: 1px; background: var(--purple);
  transition: width 0.3s var(--ease-out)
}
.nav__link:hover { color: var(--purple) }
.nav__link:hover::after { width: 100% }
.nav__link--cta {
  background: linear-gradient(135deg, var(--purple), var(--saffron-btn)); color: #fff !important;
  padding: 0.45rem 1.1rem; border-radius: 2px;
  letter-spacing: 0.08em; transition: opacity 0.25s, transform 0.2s;
  min-height: 44px; display: inline-flex; align-items: center
}
.nav__link--cta::after { display: none }
.nav__link--cta:hover { opacity: 0.9; transform: translateY(-1px) }

/* Mobile toggle — exactly 44×44 touch target */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px 8px;
  align-items: center; justify-content: center
}
.nav__toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--charcoal); border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
  transform-origin: center
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg) }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg) }

/* Mobile menu */
.nav__mobile {
  display: none; position: fixed;
  inset-block-start: var(--nav-h); inset-inline: 0;
  background: var(--ivory); border-block-end: 1px solid var(--border);
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  z-index: 99; transform: translateY(-100%); opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.35s
}
.nav__mobile.open { transform: translateY(0); opacity: 1 }
.nav__mobile-link {
  font-size: 1.5rem; font-family: var(--font-display); font-weight: 400;
  color: var(--charcoal); padding-block: 0.75rem;
  border-block-end: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s; min-height: 56px
}
.nav__mobile-link:last-child { border-block-end: none }
.nav__mobile-link:hover { color: var(--purple) }
.nav__mobile-link .arrow { font-size: 1rem; color: var(--saffron-btn); transition: transform 0.2s }
.nav__mobile-link:hover .arrow { transform: translateX(4px) }

/* ================================================================
   HERO
================================================================ */
.hero {
  min-height: 100svh; min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto;
  position: relative; overflow: hidden;
  padding-block-start: var(--nav-h)
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  /* Solid fallback so LCP background never flashes white */
  background: var(--charcoal)
}
.hero__bg-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.45) saturate(1.1)
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(19,16,30,0.35) 0%, rgba(19,16,30,0.1) 40%, rgba(19,16,30,0.75) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(94,23,235,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 40%, rgba(224,88,0,0.15) 0%, transparent 55%)
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-block: clamp(4rem, 10vh, 8rem);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start
}
.hero__eyebrow {
  font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold-light); margin-block-end: 1.25rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem); font-weight: 300;
  line-height: 1.05; color: #fff; letter-spacing: -0.01em;
  max-width: 14ch; margin-block-end: 1.5rem;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.35s forwards
}
.hero__title em { font-style: italic; color: var(--gold-light) }
.hero__desc {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem); font-weight: 300;
  color: rgba(255,255,255,0.8); max-width: 52ch; line-height: 1.75;
  margin-block-end: 2.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out) 0.55s forwards
}
.hero__actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.75s forwards
}
.hero__scroll {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem); padding-block-end: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.5); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.7s var(--ease-out) 1.1s forwards
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.4));
  animation: scrollPulse 2.5s ease-in-out 1.5s infinite
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 1.75rem; border-radius: 2px; min-height: 44px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.25s
}
.btn:hover { transform: translateY(-2px) }
.btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--saffron-btn) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(94,23,235,0.3)
}
.btn--primary:hover { opacity: 0.92; box-shadow: 0 8px 32px rgba(94,23,235,0.4) }
.btn--outline {
  background: transparent; color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4)
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7) }
.btn--dark {
  background: var(--charcoal); color: #fff;
  box-shadow: 0 4px 18px rgba(30,26,22,0.25)
}
.btn--dark:hover { background: var(--charcoal-mid); box-shadow: 0 8px 28px rgba(30,26,22,0.35) }

/* ── SECTION STRUCTURE ── */
section { padding-block: clamp(4rem, 8vw, 6rem) }
.section-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--purple); margin-block-end: 0.75rem
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 300;
  line-height: 1.15; color: var(--charcoal); letter-spacing: -0.01em
}
.section-title strong { font-weight: 600 }
.section-title em { font-style: italic; color: var(--saffron-btn) }

/* ================================================================
   ABOUT
================================================================ */
.about { background: var(--charcoal); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem) }
.about__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center
}
.about__tag {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light); margin-block-end: 0.85rem
}
.about__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 300;
  line-height: 1.15; color: #fff; margin-block-end: 1.25rem
}
.about__title em { font-style: italic; color: var(--gold-light) }
.about__body { color: rgba(255,255,255,0.75); font-weight: 300; line-height: 1.8; margin-block-end: 2rem }
.about__stats { display: flex; gap: 2.5rem; margin-block-end: 2rem }
.stat__number {
  font-family: var(--font-display); font-size: 2.5rem;
  font-weight: 500; color: var(--gold-light); line-height: 1
}
.stat__label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-block-start: 0.25rem
}
.about__img-wrap { position: relative }
.about__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
  background: var(--charcoal-mid)
}
.about__img-frame {
  position: absolute; inset-block-end: -1rem; inset-inline-end: -1rem;
  width: 60%; height: 60%; border: 1px solid var(--purple-mid);
  border-radius: 4px; pointer-events: none
}
.about__founded {
  position: absolute; inset-block-start: 1.5rem; inset-inline-start: -1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--saffron-btn)); color: #fff;
  padding: 0.75rem 1rem; border-radius: 3px;
  text-align: center; line-height: 1.1
}
.about__founded span:first-child { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500 }
.about__founded span:last-child { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9 }

/* ================================================================
   EVENTS
================================================================ */
.events { background: var(--ivory-warm) }
.events__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-block-end: 3rem
}
.events__tabs {
  display: flex; gap: 0.5rem; background: var(--border);
  padding: 3px; border-radius: 3px
}
.events__tab {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; padding: 0.45rem 1rem; border-radius: 2px;
  color: var(--text-muted); transition: background 0.2s, color 0.2s;
  min-height: 36px
}
.events__tab.active { background: linear-gradient(135deg, var(--purple), var(--saffron-btn)); color: #fff }
.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem)
}
.event-card {
  background: var(--ivory); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex; flex-direction: column
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(94,23,235,0.1) }
.event-card__img {
  aspect-ratio: 4 / 3; overflow: hidden; flex-shrink: 0; position: relative;
  background: linear-gradient(135deg, var(--purple-pale), var(--saffron-pale))
}
.event-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out)
}
.event-card:hover .event-card__img img { transform: scale(1.04) }
.event-card__year-badge {
  position: absolute; inset-block-start: 0.75rem; inset-inline-end: 0.75rem;
  background: rgba(19,16,30,0.8); backdrop-filter: blur(4px);
  color: var(--gold-light); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 2px
}
.event-card__body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem }
.event-card__date { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple); font-weight: 500 }
.event-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.25; color: var(--charcoal) }
.event-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1 }

/* ================================================================
   TEAM / MEMBERS
================================================================ */
.team { background: var(--ivory) }
.team__head { text-align: center; margin-block-end: 3.5rem }
.team__head .ornament { justify-content: center; margin-block-start: 1.5rem }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) }
.member-card__inner {
  background: var(--ivory-warm); border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem 1.75rem 1.75rem; height: 100%;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s
}
.member-card:hover .member-card__inner { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(30,26,22,0.1) }
.member-card__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-pale), var(--saffron-pale));
  margin-block-end: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 500;
  color: var(--purple-deep); border: 2px solid var(--border)
}
.member-card__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--charcoal); margin-block-end: 0.2rem }
.member-card__school { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--purple); text-transform: uppercase; font-weight: 500; margin-block-end: 0.85rem }
.member-card__bio { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7 }
.member-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block-start: 1rem }
.tag {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; padding: 0.25rem 0.6rem; border-radius: 2px;
  background: var(--purple-pale); border: 1px solid var(--border); color: var(--purple-deep)
}

/* ================================================================
   CONTACT
================================================================ */
.contact { background: var(--ivory-warm); border-block-start: 1px solid var(--border) }
.contact__inner {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start
}
.contact__aside { position: sticky; top: calc(var(--nav-h) + 2rem) }
.contact__aside .section-title { margin-block: 0.5rem 1rem }
.contact__body { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; margin-block-end: 2rem }
.contact__list { display: flex; flex-direction: column; gap: 0.85rem; margin-block-end: 2.5rem }
.contact__item { display: flex; align-items: center; gap: 0.85rem; font-size: 0.875rem; color: var(--text-body) }
.contact__item-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--purple)
}
.contact__item-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted) }
.contact__item-value { color: var(--charcoal); font-weight: 400 }
.contact__item a:hover { color: var(--purple) }
.contact__socials { display: flex; gap: 0.75rem; flex-wrap: wrap }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--text-body);
  border: 1px solid var(--border); padding: 0.55rem 1rem; border-radius: 2px;
  min-height: 44px;
  transition: background 0.2s, border-color 0.2s, color 0.2s
}
.social-btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff }

/* ── FORM ── */
.form { display: flex; flex-direction: column; gap: 1.25rem }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.form__field { display: flex; flex-direction: column; gap: 0.4rem }
.form__label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--text-muted) }
.form__input, .form__textarea, .form__select {
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--charcoal);
  background: var(--ivory); border: 1px solid var(--border); border-radius: 2px;
  padding: 0.8rem 1rem; outline: none; min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%; appearance: none
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px rgba(94,23,235,0.12)
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-muted); opacity: 0.7 }
.form__textarea { resize: vertical; min-height: 140px }
.form__submit { align-self: flex-start }
/* Inline error messages — ARIA-linked */
.form__error {
  display: none; font-size: 0.8rem; color: #b91c1c; margin-block-start: 0.2rem
}
.form__input[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185,28,28,0.1)
}
.form__success {
  display: none; align-items: center; gap: 0.75rem;
  background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534;
  padding: 1rem 1.25rem; border-radius: 3px; font-size: 0.9375rem
}

/* ================================================================
   FOOTER
================================================================ */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding-block: 3rem 2rem }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); margin-block-end: 2.5rem
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem }
.footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: #fff; letter-spacing: 0.02em }
.footer__tagline { font-size: 0.875rem; line-height: 1.6; max-width: 34ch }
.footer__email {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; color: var(--gold-light); transition: color 0.2s
}
.footer__email:hover { color: #fff }
.footer__col-title {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-block-end: 1rem
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem }
.footer__link { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s }
.footer__link:hover { color: #fff }
.footer__socials { display: flex; flex-direction: column; gap: 0.6rem }
.footer__social { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s }
.footer__social:hover { color: var(--gold-light) }
.footer__bottom {
  padding-block-start: 2rem; border-block-start: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem
}
.footer__copy, .footer__credit { font-size: 0.8rem }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0) } }
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1 }
  50% { transform: scaleY(0.6); opacity: 0.4 }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out)
}
.reveal.visible { opacity: 1; transform: translateY(0) }
.reveal--delay-1 { transition-delay: 0.1s }
.reveal--delay-2 { transition-delay: 0.2s }
.reveal--delay-3 { transition-delay: 0.3s }
.reveal--delay-4 { transition-delay: 0.4s }

/* ── Disable all motion — WCAG 2.3.3 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important
  }
  .reveal { opacity: 1; transform: none }
  .hero__eyebrow, .hero__title, .hero__desc,
  .hero__actions, .hero__scroll { opacity: 1; transform: none }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .nav__links { display: none }
  .nav__toggle { display: flex }
  .nav__mobile { display: block }
  .about__inner { grid-template-columns: 1fr }
  .about__img-wrap { max-width: 480px }
  .about__founded { inset-inline-start: 1rem }
  .team__grid { grid-template-columns: repeat(2, 1fr) }
  .contact__inner { grid-template-columns: 1fr }
  .contact__aside { position: static }
  .footer__inner { grid-template-columns: 1fr 1fr }
  .footer__brand { grid-column: 1 / -1 }
}
@media (max-width: 600px) {
  .team__grid { grid-template-columns: 1fr }
  .form__row { grid-template-columns: 1fr }
  .about__stats { gap: 1.75rem }
  .footer__inner { grid-template-columns: 1fr }
  .footer__bottom { flex-direction: column; align-items: flex-start }
  .hero__actions { flex-direction: column }
  .hero__actions .btn { align-self: flex-start }
}

/* ================================================================
   PRINT
================================================================ */
@media print {
  .nav, .hero__scroll, .nav__toggle { display: none !important }
  .hero { min-height: unset }
  .reveal { opacity: 1; transform: none }
}
