/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #1A1A2E;
  background-color: #FAFAF7;
  line-height: 1.75;
}

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

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: #B8860B; text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 700; }
em { font-style: italic; }

/* ===========================
   UTILITIES
=========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad { padding: 5rem 0; }

.bg-light { background-color: #F0EDE6; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1A1A2E;
}

.section-title.light { color: #FAFAF7; }

.section-sub {
  text-align: center;
  color: #5a5a72;
  font-size: 1.05rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.section-sub.light { color: #c8c0b0; }

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: #B8860B;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid #B8860B;
  transition: background 0.25s, color 0.25s;
}

.btn:hover {
  background: transparent;
  color: #B8860B;
  text-decoration: none;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1A1A2E;
  border-bottom: 2px solid #B8860B;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #FAFAF7;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #c8c0b0;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #B8860B;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #FAFAF7;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1A2E;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(184, 134, 11, 0.04) 0px,
      rgba(184, 134, 11, 0.04) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(184, 134, 11, 0.04) 0px,
      rgba(184, 134, 11, 0.04) 1px,
      transparent 1px,
      transparent 60px
    );
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0d0d1a 0%, #1A1A2E 60%, #2a1a0e 100%);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #B8860B;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 {
  color: #FAFAF7;
  font-style: italic;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #c8c0b0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* ===========================
   INTRO
=========================== */
.intro-inner {
  max-width: 780px;
  text-align: center;
}

.intro-inner .section-title { margin-bottom: 1.5rem; }

.intro-inner p {
  font-size: 1.05rem;
  color: #3a3a52;
}

/* ===========================
   TIMELINE
=========================== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #B8860B, transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #B8860B;
  border: 3px solid #F0EDE6;
  box-shadow: 0 0 0 2px #B8860B;
}

.timeline-content {
  background: #fff;
  border-left: 3px solid #B8860B;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.07);
}

.timeline-era {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7A5900;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.timeline-content h3 {
  margin-bottom: 0.6rem;
  color: #1A1A2E;
}

.timeline-content p {
  color: #3a3a52;
  font-size: 0.97rem;
  margin: 0;
}

/* ===========================
   DRESS CODES
=========================== */
.dress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.dress-card {
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.07);
  border-top: 3px solid #B8860B;
  transition: transform 0.22s, box-shadow 0.22s;
}

.dress-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26, 26, 46, 0.12);
}

.dress-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.dress-card h3 {
  margin-bottom: 0.6rem;
  color: #1A1A2E;
}

.dress-card p {
  font-size: 0.93rem;
  color: #3a3a52;
  margin-bottom: 1rem;
}

.dress-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #F0EDE6;
  color: #7A5900;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===========================
   ATTIRE GRID
=========================== */
.attire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.attire-item {
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.07);
  border-left: 4px solid #B8860B;
}

.attire-item h3 {
  color: #7A5900;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.attire-item p {
  font-size: 0.93rem;
  color: #3a3a52;
  margin: 0;
}

/* ===========================
   WHY DRESS UP
=========================== */
.why-section {
  background: #1A1A2E;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  text-align: left;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(184, 134, 11, 0.3);
  padding: 2rem;
  transition: background 0.22s;
}

.why-card:hover {
  background: rgba(184, 134, 11, 0.08);
}

.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #B8860B;
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  color: #FAFAF7;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: #c8c0b0;
  font-size: 0.95rem;
  margin: 0;
}

.closing-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: #FAFAF7;
  border-top: 1px solid rgba(184, 134, 11, 0.4);
  border-bottom: 1px solid rgba(184, 134, 11, 0.4);
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-text {
  color: #c8c0b0;
  font-size: 1.05rem;
  margin: 0;
}

.cta-text em {
  color: #B8860B;
  font-style: italic;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #0d0d1a;
  border-top: 2px solid #B8860B;
  padding: 2.5rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #FAFAF7;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.footer-sub {
  color: #8a8a9a;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #8a8a9a;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #B8860B; text-decoration: none; }

.footer-nav span { color: #3a3a52; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .section-pad { padding: 3.5rem 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1A1A2E;
    border-top: 1px solid #B8860B;
    padding: 1rem 1.5rem;
  }

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

  .nav-links li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-toggle { display: block; }

  .site-header { position: relative; }

  .hero { min-height: 80vh; }

  .timeline { padding-left: 1.75rem; }
  .timeline-marker { left: -1.75rem; }

  .dress-grid,
  .attire-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .closing-quote br { display: none; }
}

@media (max-width: 480px) {
  .logo { font-size: 1.1rem; }
  .timeline-content { padding: 1rem 1.1rem; }
}

/* ===========================
   SKIP LINK
=========================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: #B8860B;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ===========================
   LOGO AS LINK
=========================== */
a.logo {
  text-decoration: none;
}

a.logo:hover {
  text-decoration: none;
  color: #c8c0b0;
}

/* ===========================
   FOCUS VISIBLE
=========================== */
:focus-visible {
  outline: 3px solid #B8860B;
  outline-offset: 3px;
  border-radius: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.why-section :focus-visible {
  outline-color: #FAFAF7;
}

/* ===========================
   TIMELINE AS OL
=========================== */
ol.timeline {
  list-style: none;
}

/* ===========================
   REDUCED MOTION
=========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

