/* ============================================================
   ASHLYN & TAYLOR WEDDING — style.css
   Burgundy · Cream · White · Charcoal
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES
   ============================================================ */

:root {
  /* ── Colors ── */
  --color-burgundy:        #6C001B;  /* primary accent on light backgrounds */
  --color-burgundy-dark:   #1E1B1A;  /* charcoal-mid — dark sections */
  --color-burgundy-deep:   #141210;  /* deep charcoal — heroes, footer */
  --color-charcoal:        #141210;  /* heroes, footer, deepest darks */
  --color-charcoal-mid:    #1E1B1A;  /* mid dark sections */
  --color-cream:           #E8E0D5;  /* accent on dark backgrounds (replaces gold) */
  --color-cream-muted:     rgba(232, 224, 213, 0.52);  /* labels/captions on dark */
  --color-white:           #FAF8F5;
  --color-beige:           #F5F0E8;
  --color-beige-dark:      #E8DDD0;
  --color-text-dark:       #1A1614;
  --color-text-mid:        #3D3530;
  --color-text-light:      #F0EAE0;
  --color-text-muted:      #9A8878;
  --color-overlay:         rgba(20, 18, 16, 0.60);
  --color-overlay-dark:    rgba(14, 12, 10, 0.80);

  /* ── Fonts ── */
  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'EB Garamond', Georgia, serif;
  --font-ui:       'Lato', system-ui, sans-serif;

  /* ── Type Scale (Major Third, 1.25x) ── */
  --text-xs:    0.64rem;
  --text-sm:    0.8rem;
  --text-base:  1rem;
  --text-md:    1.25rem;
  --text-lg:    1.563rem;
  --text-xl:    1.953rem;
  --text-2xl:   2.441rem;
  --text-3xl:   3.052rem;
  --text-hero:  clamp(3rem, 7vw, 5.2rem);

  /* ── Spacing ── */
  --space-xs:      0.5rem;
  --space-sm:      1rem;
  --space-md:      2rem;
  --space-lg:      4rem;
  --space-xl:      8rem;
  --section-pad:   clamp(4rem, 8vw, 7rem);

  /* ── Borders ── */
  --border-thin:    1px solid rgba(108, 0, 27, 0.18);
  --border-mid:     2px solid var(--color-burgundy);
  --border-radius:  2px;

  /* ── Shadows ── */
  --shadow-card:       0 4px 28px rgba(20, 18, 16, 0.09);
  --shadow-card-hover: 0 8px 40px rgba(20, 18, 16, 0.16);
  --shadow-nav:        0 2px 20px rgba(20, 18, 16, 0.14);

  /* ── Transitions ── */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* ── Layout ── */
  --max-width:   1160px;
  --nav-height:  90px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Inline text links (visible, clickable) */
.text-link {
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-base);
}

.text-link:hover {
  opacity: 0.75;
}

/* Variant for dark backgrounds */
.text-link--light {
  color: var(--color-cream);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================ */

.font-heading   { font-family: var(--font-heading); }
.font-body      { font-family: var(--font-body); }
.font-ui        { font-family: var(--font-ui); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); font-weight: 300; }
h3 { font-size: var(--text-xl);  font-weight: 500; }
h4 { font-size: var(--text-lg);  font-weight: 600; }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.8;
}

.lead {
  font-size: var(--text-md);
  font-family: var(--font-body);
  line-height: 1.75;
}

.label {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

.italic        { font-style: italic; }
.text-center   { text-align: center; }
.text-cream    { color: var(--color-cream); }
.text-burgundy { color: var(--color-burgundy); }
.text-light    { color: var(--color-text-light); }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

.section {
  padding-block: var(--section-pad);
}

.section--light   { background-color: var(--color-white); }
.section--beige   { background-color: var(--color-beige); }

.section--dark {
  background-color: var(--color-charcoal-mid);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(232,224,213,0.05) 0%, transparent 65%);
  color: var(--color-text-light);
}

.section--deep {
  background-color: var(--color-charcoal);
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(232,224,213,0.04) 0%, transparent 70%);
  color: var(--color-text-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base),
              padding var(--transition-base);
  padding-block: var(--space-sm);
}

.nav__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.nav__logo {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 1.9rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  transition: color var(--transition-base), font-size var(--transition-base);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__link {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(240, 234, 224, 0.82);
  padding: 0.3rem 1.1rem;
  transition: color var(--transition-base);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-cream);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-cream);
}
.nav__link:hover::after { width: 60%; }

.nav__link--active {
  color: var(--color-cream) !important;
}
.nav__link--active::after {
  width: 40% !important;
  background: var(--color-cream);
}

.nav__sep {
  color: rgba(232, 224, 213, 0.28);
  font-size: 0.6rem;
  user-select: none;
  padding: 0 0.1rem;
}

/* Scrolled state */
.nav--scrolled {
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-nav);
  padding-block: 0.6rem;
}

.nav--scrolled .nav__logo {
  font-size: 1.4rem;
  color: var(--color-burgundy);
}

.nav--scrolled .nav__link {
  color: var(--color-text-mid);
}

.nav--scrolled .nav__link:hover {
  color: var(--color-burgundy);
}

.nav--scrolled .nav__link--active {
  color: var(--color-burgundy) !important;
}
.nav--scrolled .nav__link--active::after {
  background: var(--color-burgundy);
}

.nav--scrolled .nav__sep {
  color: rgba(108, 0, 27, 0.25);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  position: absolute;
  right: clamp(1.5rem, 5vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 10;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-cream);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav--open .nav__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav--open .nav__hamburger span:nth-child(2) {
  opacity: 0;
}
.nav--open .nav__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav--scrolled .nav__hamburger span {
  background: var(--color-burgundy);
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  background: var(--color-charcoal);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(232, 224, 213, 0.12);
}

.nav__mobile-menu.is-open {
  max-height: 380px;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 2rem;
  gap: 0.25rem;
}

.nav__mobile-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-light);
  padding: 0.75rem 2rem;
  width: 100%;
  text-align: center;
  transition: color var(--transition-base);
}

.nav__mobile-link:hover,
.nav__mobile-link--active {
  color: var(--color-cream);
}

/* ============================================================
   6. HERO — FULL HEIGHT (Home)
   ============================================================ */

.hero-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  background-color: var(--color-charcoal);
  overflow: hidden;
}

/* Photo background layer — grayscale via filter */
.hero-full__photo {
  position: absolute;
  inset: 0;
  background: url('../images/homepage.jpg') center / cover no-repeat;
  filter: grayscale(100%);
  z-index: 0;
}

/* Dark overlay above photo for text readability */
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.60);
  z-index: 1;
}

/* Decorative corner ornaments — above overlay */
.hero-full::before,
.hero-full::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(232, 224, 213, 0.22);
  z-index: 3;
}
.hero-full::before { top: 32px; left: 32px; border-right: none; border-bottom: none; }
.hero-full::after  { bottom: 32px; right: 32px; border-left: none; border-top: none; }

.hero-full__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-full__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-cream-muted);
  margin-bottom: 1.5rem;
}

.hero-full__rule {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cream), transparent);
  opacity: 0.5;
  margin: 0 auto 1.8rem;
}

.hero-full__names {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-hero);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.hero-full__ampersand {
  display: block;
  color: var(--color-cream);
  font-weight: 300;
  font-size: 0.55em;
  margin: 0.35rem 0;
}

.hero-full__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.8rem auto 1.6rem;
  color: var(--color-cream);
}

.hero-full__ornament::before,
.hero-full__ornament::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cream));
  opacity: 0.5;
}

.hero-full__ornament::after {
  background: linear-gradient(90deg, var(--color-cream), transparent);
}

.hero-full__ornament-diamond {
  font-size: 0.5rem;
  color: var(--color-cream);
  letter-spacing: 0.3em;
}

.hero-full__date {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.75);
  margin-bottom: 0.5rem;
}

.hero-full__venue {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cream-muted);
}

/* ============================================================
   7. COUNTDOWN TIMER
   ============================================================ */

.countdown {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: flex-start;
  justify-content: center;
  margin-top: 3.5rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.countdown__number {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--color-white);
  line-height: 1;
  min-width: 2.5ch;
  text-align: center;
}

.countdown__label {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-cream-muted);
}

.countdown__sep {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: rgba(232, 224, 213, 0.28);
  padding-top: 0.2rem;
  line-height: 1;
}

/* ============================================================
   8. HERO — SHORT (Inner Pages)
   ============================================================ */

.hero-short {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: calc(var(--nav-height) + 2rem);
  text-align: center;
  background-color: var(--color-charcoal);
  background-image:
    linear-gradient(175deg, rgba(14, 12, 10, 0.99) 0%, rgba(30, 27, 26, 0.90) 60%, rgba(14, 12, 10, 0.99) 100%);
  position: relative;
  overflow: hidden;
}

.hero-short::before {
  content: '';
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,224,213,0.18), transparent);
}

.hero-short__photo {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  filter: grayscale(100%);
  z-index: 0;
}

.hero-short__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.60);
  z-index: 1;
}

.hero-short--travel .hero-short__photo {
  background-image: url('../images/Locations_Madison.webp');
}

.hero-short--schedule .hero-short__photo {
  background-image: url('../images/schedule.jpg');
}

.hero-short--story .hero-short__photo {
  background-image: url('../images/our-story.jpg');
}

.hero-short__content {
  position: relative;
  z-index: 2;
}

.hero-short__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-cream-muted);
  margin-bottom: 1rem;
}

.hero-short__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--color-white);
  line-height: 1.15;
}

.hero-short__ornament {
  margin-top: 1.2rem;
  font-size: 0.55rem;
  color: var(--color-cream);
  opacity: 0.55;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

/* ============================================================
   9. ORNAMENTS & SECTION HEADERS
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  justify-content: center;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 0, 27, 0.3));
  opacity: 0.8;
}
.section-title::after {
  background: linear-gradient(90deg, rgba(108, 0, 27, 0.3), transparent);
}

/* Light variant — used on dark sections */
.section-title--light {
  color: var(--color-cream);
}
.section-title--light::before {
  background: linear-gradient(90deg, transparent, rgba(232,224,213,0.45));
}
.section-title--light::after {
  background: linear-gradient(90deg, rgba(232,224,213,0.45), transparent);
}

.section-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--color-text-mid);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.section-subtitle--light {
  color: rgba(240, 234, 224, 0.7);
}

/* Divider ornament — default for light sections */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: clamp(2rem, 4vw, 3.5rem) auto;
  color: var(--color-burgundy);
  opacity: 0.55;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-burgundy);
  opacity: 0.4;
}

.divider-ornament__icon {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: inherit;
}

/* Divider ornament on dark sections — override to cream */
.section--dark .divider-ornament,
.section--deep .divider-ornament {
  color: var(--color-cream);
}

.section--dark .divider-ornament::before,
.section--dark .divider-ornament::after,
.section--deep .divider-ornament::before,
.section--deep .divider-ornament::after {
  background: var(--color-cream);
}

/* ============================================================
   10. CARDS
   ============================================================ */

.card {
  background: var(--color-white);
  border: var(--border-thin);
  border-top: 3px solid var(--color-burgundy);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-radius: var(--border-radius);
}

.card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(108, 0, 27, 0.07);
  pointer-events: none;
}

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

.card--dark {
  background: var(--color-charcoal-mid);
  border-color: rgba(232, 224, 213, 0.2);
  color: var(--color-text-light);
}

.card--dark::before {
  border-color: rgba(232, 224, 213, 0.07);
}

.card__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-burgundy);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-burgundy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.card--dark .card__title {
  color: var(--color-cream);
}

.card__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-mid);
}

.card--dark .card__body {
  color: rgba(240, 234, 224, 0.78);
}

/* Info card (ceremony / date / reception) */
.info-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.info-card__icon {
  font-size: 1.5rem;
  color: var(--color-cream);
  margin-bottom: 1rem;
  line-height: 1;
}

.info-card__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-cream-muted);
  margin-bottom: 0.5rem;
}

.info-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 0.4rem;
}

.info-card__detail {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(240, 234, 224, 0.6);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

/* ============================================================
   11. BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 1rem 2.4rem;
  border-radius: var(--border-radius);
  transition: background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base), transform var(--transition-base),
              box-shadow var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  border: 1px solid var(--color-burgundy);
  box-shadow: 0 2px 12px rgba(108, 0, 27, 0.28);
}
.btn--primary:hover {
  background: #550016;
  border-color: #550016;
  box-shadow: 0 4px 20px rgba(108, 0, 27, 0.38);
}

/* Cream outline — for use on dark/charcoal backgrounds */
.btn--cream {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(232, 224, 213, 0.55);
}
.btn--cream:hover {
  background: rgba(232, 224, 213, 0.08);
  border-color: var(--color-cream);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(240, 234, 224, 0.35);
}
.btn--ghost:hover {
  border-color: var(--color-cream);
  color: var(--color-cream);
}

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

/* ============================================================
   12. WELCOME SECTION (index.html)
   ============================================================ */

.welcome {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.welcome__text {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-text-mid);
  line-height: 1.9;
}

/* ============================================================
   13. TIMELINE (schedule.html + story.html)
   ============================================================ */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(108,0,27,0.35) 8%, rgba(108,0,27,0.35) 92%, transparent);
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline__item:last-child { margin-bottom: 0; }

/* Dot on the line */
.timeline__dot {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
}

.timeline__dot::before {
  content: '◆';
  font-size: 0.7rem;
  color: var(--color-burgundy);
  display: block;
}

/* Time label */
.timeline__time {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-burgundy);
  padding-top: 1.5rem;
  line-height: 1.2;
}

.timeline__time--right {
  text-align: right;
  padding-right: 2rem;
}

.timeline__time--left {
  padding-left: 2rem;
}

/* Event card */
.timeline__card {
  padding: 1.8rem 2rem;
  border: var(--border-thin);
  border-top: 3px solid var(--color-burgundy);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  position: relative;
}

.timeline__card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(108, 0, 27, 0.06);
  pointer-events: none;
}

/* Odd items: time left, card right */
.timeline__item:nth-child(odd) .timeline__time {
  text-align: right;
  padding-right: 2rem;
  order: 1;
}
.timeline__item:nth-child(odd) .timeline__dot { order: 2; }
.timeline__item:nth-child(odd) .timeline__card { order: 3; margin-right: 0; margin-left: 0; }

/* Even items: card left, time right */
.timeline__item:nth-child(even) .timeline__card { order: 1; }
.timeline__item:nth-child(even) .timeline__dot { order: 2; }
.timeline__item:nth-child(even) .timeline__time {
  text-align: left;
  padding-left: 2rem;
  padding-right: 0;
  order: 3;
}

.timeline__event-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-burgundy);
  margin-bottom: 0.5rem;
}

.timeline__event-location {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-burgundy);
  opacity: 0.65;
  margin-bottom: 0.75rem;
}

.timeline__event-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.75;
}

/* Year label variant (story.html uses .timeline__time override) */
.timeline__year {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: var(--text-2xl);
  color: var(--color-burgundy);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.timeline__year--right {
  text-align: right;
  padding-right: 2rem;
  padding-top: 1.5rem;
}

.timeline__year--left {
  text-align: left;
  padding-left: 2rem;
  padding-top: 1.5rem;
}

/* ---- Two-day split (schedule.html) ---- */
.days {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1280px;
  margin: 0 auto;
}

.day-col {
  padding: 0 2.25rem;
}

.day-col + .day-col {
  border-left: var(--border-thin);
}

/* Location map at the top of each column */
.day-col__map {
  line-height: 0;
  margin-bottom: 1.75rem;
  border: var(--border-thin);
  box-shadow: var(--shadow-card);
}

.day-col__map iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
  filter: grayscale(100%) contrast(1.05);
}

.day-col__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.day-col__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-burgundy);
  opacity: 0.7;
  margin-bottom: 0.7rem;
}

.day-col__date {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}

.day-col__where {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  color: var(--color-text-mid);
}

.day-col__rule {
  display: block;
  margin-top: 0.9rem;
  color: var(--color-burgundy);
  opacity: 0.45;
}

/* Event list inside a day column */
.day-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.day-event__time {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-lg);
  color: var(--color-burgundy);
}

.day-event__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-burgundy);
  margin: 0.15rem 0 0.4rem;
}

.day-event__where {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-burgundy);
  opacity: 0.65;
  margin-bottom: 0.6rem;
}

.day-event__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.75;
}

/* Each event sits in a thin frame */
.day-event {
  border: var(--border-thin);
  border-top: 3px solid var(--color-burgundy);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 2.25rem 2rem;
}

/* ============================================================
   14. ACCORDION (faq.html)
   ============================================================ */

.accordion {
  max-width: 740px;
  margin: 0 auto;
  border-top: 1px solid rgba(108, 0, 27, 0.18);
}

.accordion__item {
  border-bottom: 1px solid rgba(108, 0, 27, 0.18);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-burgundy);
  gap: 1rem;
  transition: color var(--transition-base);
  background: none;
  border: none;
  cursor: pointer;
}

.accordion__trigger:hover {
  color: #550016;
}

.accordion__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(108, 0, 27, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-burgundy);
  font-family: var(--font-ui);
  font-weight: 300;
  transition: transform var(--transition-base), background var(--transition-base);
  line-height: 1;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
  background: rgba(108, 0, 27, 0.07);
}

.accordion__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease;
  padding-bottom: 0;
}

.accordion__item.is-open .accordion__body {
  max-height: 600px;
  padding-bottom: 1.5rem;
}

.accordion__answer {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.85;
}

/* ============================================================
   15. HOTEL CARDS (travel.html)
   ============================================================ */

.hotel-card {
  background: var(--color-white);
  border: var(--border-thin);
  border-top: 3px solid var(--color-burgundy);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.hotel-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-burgundy);
  margin-bottom: 0.35rem;
}

.hotel-card__distance {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-burgundy);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.hotel-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.hotel-card__code-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.hotel-card__code {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.1em;
  background: var(--color-beige);
  border: 1px solid var(--color-beige-dark);
  color: var(--color-burgundy);
  padding: 0.5rem 1.1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

/* ============================================================
   16. REGISTRY CARDS (registry.html)
   ============================================================ */

.registry-card {
  background: var(--color-white);
  border: var(--border-thin);
  border-top: 3px solid var(--color-burgundy);
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.registry-card__store {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-burgundy);
  margin-bottom: 0.75rem;
}

.registry-card__rule {
  width: 60px;
  height: 1px;
  background: var(--color-burgundy);
  opacity: 0.25;
  margin: 0 auto 1.25rem;
}

.registry-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex: 1;
}

.registry-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ============================================================
   17. TRANSPORT / AREA GUIDE (travel.html)
   ============================================================ */

.transport-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.transport-block__icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--color-burgundy);
}

.transport-block__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-burgundy);
  margin-bottom: 0.5rem;
}

.transport-block__body {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.8;
}

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(232, 224, 213, 0.14);
  background-color: var(--color-charcoal);
  overflow: hidden;
}

/* Grayscale, darkened backdrop photo (set per-card via --area-card-bg) */
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--area-card-bg);
  background-size: cover;
  background-position: center;
  filter: grayscale(72%) brightness(0.6) contrast(1.05);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

/* Gradient scrim so text stays readable over any image */
.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 9, 8, 0.92) 0%,
    rgba(10, 9, 8, 0.72) 45%,
    rgba(10, 9, 8, 0.4) 100%
  );
}

.area-card:hover::before {
  transform: scale(1.04);
  filter: grayscale(55%) brightness(0.72) contrast(1.05);
}

/* Keep card content above the image + scrim */
.area-card > * {
  position: relative;
  z-index: 1;
}

.area-card__category {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-cream-muted);
  margin-bottom: 0.4rem;
}

.area-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.area-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

.area-card__name a:hover,
.area-card__name a:focus-visible {
  color: #E89AA3; /* light cherry — reads against the dark backdrop */
}

.area-card__desc {
  font-size: 0.9rem;
  color: rgba(240, 234, 224, 0.82);
  line-height: 1.7;
}

/* ============================================================
   18. FOOTER
   ============================================================ */

.footer {
  background-color: var(--color-charcoal);
  background-image: radial-gradient(ellipse at 50% 100%, rgba(232,224,213,0.05) 0%, transparent 60%);
  color: var(--color-text-light);
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.footer__names {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.footer__date {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cream-muted);
  margin-bottom: 2rem;
}

.footer__divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,224,213,0.3), transparent);
  margin: 0 auto 2rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer__link {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(240, 234, 224, 0.4);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-cream);
}

.footer__fine {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(240, 234, 224, 0.22);
  font-style: italic;
}

/* ============================================================
   19. CTA SECTION
   ============================================================ */

.cta-section {
  text-align: center;
  padding-block: var(--section-pad);
  background: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,224,213,0.2), transparent);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,224,213,0.2), transparent);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-section__sub {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.6);
  margin-bottom: 2.5rem;
}

/* Contact section */
.contact-section {
  text-align: center;
  padding: var(--section-pad) 0;
}

.contact-section p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--color-text-mid);
  margin-bottom: 1rem;
}

.contact-link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-burgundy);
  border-bottom: 1px solid rgba(108, 0, 27, 0.28);
  padding-bottom: 2px;
  transition: border-color var(--transition-base), color var(--transition-base);
}
.contact-link:hover {
  border-color: var(--color-burgundy);
}

/* ============================================================
   20. SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}

.reveal-fade.is-visible {
  opacity: 1;
}

/* ============================================================
   21. UTILITIES
   ============================================================ */

.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mt-md  { margin-top: var(--space-md); }

.text-muted { color: var(--color-text-muted); }

/* ============================================================
   22. MEDIA QUERIES
   ============================================================ */

/* ── Tablet ── */
@media (max-width: 1024px) {
  :root { --nav-height: 80px; }

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

  .timeline::before { left: 20px; }
  .timeline__item {
    grid-template-columns: 40px 1fr;
  }
  .timeline__dot {
    order: 1 !important;
    margin-top: 1.2rem;
  }
  .timeline__time {
    display: none;
  }
  .timeline__card {
    order: 2 !important;
  }
  .timeline__item:nth-child(even) .timeline__card,
  .timeline__item:nth-child(odd) .timeline__card {
    margin: 0;
  }
  .timeline__item:nth-child(even) .timeline__time,
  .timeline__item:nth-child(odd) .timeline__time {
    display: none;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile-menu { display: block; }

  .nav__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-block: 0.5rem;
  }
  .nav__logo { font-size: 1.4rem; }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-full::before,
  .hero-full::after { width: 80px; height: 80px; }
  .hero-full::before { top: 16px; left: 16px; }
  .hero-full::after  { bottom: 16px; right: 16px; }

  .countdown { gap: 1.2rem; }
  .countdown__sep { display: none; }

  .timeline::before { left: 16px; }
  .timeline__item   { grid-template-columns: 36px 1fr; }

  /* Stack the two-day split */
  .days { grid-template-columns: 1fr; max-width: 480px; }
  .day-col { padding: 0; }
  .day-col + .day-col {
    border-left: none;
    border-top: var(--border-thin);
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .card,
  .hotel-card,
  .registry-card {
    padding: 2rem 1.5rem;
  }

  .footer__links { gap: 1.2rem; }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
  .hero-short { min-height: 45vh; }

  .section-title { font-size: var(--text-xl); }
  .section-title::before,
  .section-title::after { max-width: 50px; }
}

/* ── Print ── */
@media print {
  .nav,
  .footer,
  .countdown,
  .btn,
  .btn-group,
  .hero-full,
  .cta-section { display: none !important; }

  .hero-short {
    min-height: auto;
    background: none;
    color: var(--color-text-dark);
    padding-top: 1rem;
  }

  .hero-short__title {
    color: var(--color-text-dark);
    font-size: 1.8rem;
  }

  .section--dark,
  .section--deep {
    background: none;
    color: var(--color-text-dark);
  }

  .timeline::before,
  .timeline__dot::before {
    display: block;
  }
}
