/* ===== RESET & VARIABLES ===== */
:root {
  --navy: #1a2e4a;
  --navy-light: #2a4a72;
  --gold: #c4973b;
  --gold-light: #d4aa5a;
  --gold-pale: #f8f0e0;
  --cream: #faf8f5;
  --white: #ffffff;
  --ink: #1e2a38;
  --muted: #64748b;
  --light-gray: #f1f5f9;
  --line: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(26,46,74,0.06);
  --shadow-md: 0 4px 20px rgba(26,46,74,0.08);
  --shadow-lg: 0 12px 40px rgba(26,46,74,0.12);
  --shadow-xl: 0 20px 60px rgba(26,46,74,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

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

ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  width: min(var(--max-w), calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

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

.section--navy {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}

.section--navy h2,
.section--navy h3,
.section--navy strong {
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__header h2 {
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section__header p {
  color: rgba(255,255,255,0.7);
}

/* ===== GOLD ACCENT LINE ===== */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1.25rem;
  border-radius: 2px;
}

.gold-line--left {
  margin-left: 0;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.brand {
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.3;
}

.brand small {
  display: block;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.15rem;
}

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

.nav-links a {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--navy);
  background: var(--light-gray);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 50%, #1e3250 100%);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(196,151,59,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,151,59,0.4), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.hero .lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  line-height: 1.75;
}

.hero-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2rem;
}

.badge {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

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

.hero-portrait {
  position: relative;
  z-index: 1;
}

.hero-portrait .portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  border: 3px solid rgba(196,151,59,0.3);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-portrait .portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(26,46,74,0.95) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.9rem;
}

.portrait-caption strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: 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: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--light-gray);
  border-color: var(--navy);
  color: var(--navy);
}

/* ===== NOTICE BAR ===== */
.notice-bar {
  background: linear-gradient(135deg, var(--gold-pale), #fff8ec);
  border: 1px solid rgba(196,151,59,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  text-align: center;
}

.notice-bar strong {
  color: var(--navy);
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

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

.card--highlight {
  border-color: var(--gold);
  border-width: 2px;
  background: linear-gradient(180deg, #fffcf5 0%, var(--white) 100%);
}

/* ===== TIMELINE / STEPS ===== */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
  max-width: 720px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 64px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.step__num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__content strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.step__content .detail {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== RULE BOXES ===== */
.rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.rule-box {
  background: linear-gradient(180deg, #fffcf5 0%, var(--white) 100%);
  border: 1px solid rgba(196,151,59,0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.rule-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.rule-box p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(26,46,74,0.9) 0%, transparent 100%);
  color: rgba(255,255,255,0.9);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-item summary:hover {
  background: rgba(255,255,255,0.04);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold-light);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* ===== VALUES LIST ===== */
.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 0.65rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== MEMORIAL CARD ===== */
.memorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.memorial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.memorial-card h3 {
  margin-bottom: 0.75rem;
}

.memorial-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.memorial-card p + p {
  margin-top: 0.85rem;
}

/* ===== BOTTOM SECTION ===== */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.bottom-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bottom-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.bottom-card .bottom-card__body {
  padding: 1.5rem;
}

.bottom-card h3 {
  margin-bottom: 0.5rem;
}

.bottom-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.bottom-card p + p {
  margin-top: 0.6rem;
}

.bottom-card .impl-list {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.bottom-card .impl-list li {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 0;
  text-align: center;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
}

.footer p {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FORMS ===== */
.form-page {
  padding: 2rem 0 4rem;
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.form-shell h2 {
  margin-bottom: 0.25rem;
}

.form-intro {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,74,114,0.1);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.checks {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.checks label {
  display: flex;
  gap: 0.65rem;
  align-items: start;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
  cursor: pointer;
}

.checks input[type=checkbox] {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--navy);
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.form-notice {
  background: linear-gradient(135deg, var(--gold-pale), #fff8ec);
  border: 1px solid rgba(196,151,59,0.25);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 2rem;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
}

.form-notice strong {
  color: var(--navy);
}

.form-rule {
  background: linear-gradient(180deg, #fffcf5, var(--white));
  border: 1px solid rgba(196,151,59,0.3);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.form-rule strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-rule p {
  color: var(--muted);
  font-size: 0.9rem;
}

.file-label {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ===== PROTOTYPE BADGE ===== */
.prototype-banner {
  background: var(--light-gray);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-portrait {
    max-width: 380px;
    margin: 0 auto;
  }

  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .card-grid--2,
  .rule-grid,
  .memorial-grid,
  .bottom-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.85rem;
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .form-shell {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-badges {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .gallery {
    gap: 1rem;
  }
}

/* ===== ANIMATIONS ===== */

/* Base hidden state for all animated elements */
[data-animate] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}

/* Fade up (default) */
[data-animate="fade-up"] {
  transform: translateY(32px);
  transition-duration: 0.8s;
}

/* Fade in from left */
[data-animate="fade-left"] {
  transform: translateX(-40px);
  transition-duration: 0.8s;
}

/* Fade in from right */
[data-animate="fade-right"] {
  transform: translateX(40px);
  transition-duration: 0.8s;
}

/* Scale up */
[data-animate="zoom-in"] {
  transform: scale(0.92);
  transition-duration: 0.7s;
}

/* Blur in */
[data-animate="blur-in"] {
  filter: blur(8px);
  transform: translateY(16px);
  transition-duration: 0.9s;
}

/* Slide up (larger movement, good for hero) */
[data-animate="slide-up"] {
  transform: translateY(50px);
  transition-duration: 1s;
}

/* Visible state — applied when element enters viewport */
[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

/* Stagger delays for children */
[data-animate-stagger] > [data-animate]:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger] > [data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate-stagger] > [data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate-stagger] > [data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate-stagger] > [data-animate]:nth-child(5) { transition-delay: 0.4s; }
[data-animate-stagger] > [data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* Hero-specific text cascade */
.hero-content [data-animate]:nth-child(1) { transition-delay: 0.1s; }
.hero-content [data-animate]:nth-child(2) { transition-delay: 0.25s; }
.hero-content [data-animate]:nth-child(3) { transition-delay: 0.4s; }
.hero-content [data-animate]:nth-child(4) { transition-delay: 0.55s; }
.hero-content [data-animate]:nth-child(5) { transition-delay: 0.7s; }
.hero-content [data-animate]:nth-child(6) { transition-delay: 0.85s; }

/* Gold line animation */
.gold-line {
  transform-origin: left center;
}

[data-animate].visible .gold-line,
.gold-line[data-animate].visible {
  animation: line-grow 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Counter animation for step numbers */
.step__num {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
}

[data-animate].visible .step__num {
  animation: pop-in 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes pop-in {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* Typing cursor for hero h1 (optional subtle accent) */
.hero h1 .cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--gold-light);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: baseline;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Legacy fade-in class (backward compat) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}
