/* Direction: "Rosewood Garden" — warm cream stationery, dusty-rose terracotta,
   a graceful high-contrast serif display. Romantic, elegant, photographic. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #fcf7f1;
  --surface: #fffdfa;
  --surface-2: #f5e7dd;
  --border: #e7d6c8;
  --border-strong: #b8b1ac;
  --ink: #392722;
  --muted: #6f574c;
  --accent: #a85d47;
  --accent-hover: #8f4f3c;
  --accent-ink: #fffaf6;
  --accent-text: #8e4733;
  --accent-strong: #76392a;
  --accent-soft: #f3e2da;
  --accent-border: #d6b2a5;
  --success: #3f6b45;
  --success-ink: #ffffff;
  --success-soft: #e5e6dc;
  --success-strong: #3f6b45;
  --warning: #96681f;
  --warning-ink: #ffffff;
  --warning-soft: #f0e6d8;
  --warning-strong: #8a601d;
  --danger: #9d3a33;
  --danger-ink: #ffffff;
  --danger-soft: #f1e0da;
  --danger-strong: #9d3a33;
  --chart-1: #a85d47;
  --chart-2: #a68f12;
  --chart-3: #0c7044;
  --chart-4: #1199b5;
  --chart-5: #4b50a2;
  --chart-6: #bd6ba9;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.01em;
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-input: 10px;
  --card-pad: 1.75rem;
  --x-on-photo: #ffffff;
  --gradient-veil: linear-gradient(180deg, rgba(38, 22, 16, 0.55) 0%, rgba(38, 22, 16, 0.22) 42%, rgba(38, 22, 16, 0.72) 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Jost", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #180d0a;
  --surface: #2f2523;
  --surface-2: #241916;
  --border: #382f2c;
  --border-strong: #5d5654;
  --ink: #fcf7f1;
  --muted: #a19995;
  --accent: #a85d47;
  --accent-hover: #b57563;
  --accent-ink: #ffffff;
  --accent-text: #bb8170;
  --accent-strong: #bb8170;
  --accent-soft: #381f17;
  --accent-border: #593125;
  --success: #3f6b45;
  --success-ink: #ffffff;
  --success-soft: #212217;
  --success-strong: #75957b;
  --warning: #96681f;
  --warning-ink: #ffffff;
  --warning-soft: #34210f;
  --warning-strong: #ad8950;
  --danger: #9d3a33;
  --danger-ink: #ffffff;
  --danger-soft: #351713;
  --danger-strong: #bf7c79;
  --chart-1: #a85d47;
  --chart-2: #a68f12;
  --chart-3: #249760;
  --chart-4: #1199b5;
  --chart-5: #6e77cc;
  --chart-6: #bd6ba9;
}

html {
  scroll-behavior: smooth;
}
html.reduced-motion {
  scroll-behavior: auto;
}

/* Photo veil for the hero */
.veil {
  background: var(--gradient-veil);
}

/* A hairline rule with breathing room, between section eyebrows */
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--accent);
}
.flourish::before,
.flourish::after {
  content: "";
  height: 1px;
  width: clamp(1.75rem, 10vw, 6rem);
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* Countdown */
.count-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.1rem 0.5rem;
  text-align: center;
}
.count-box b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
}
.count-box span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Schedule timeline */
.timeline-item {
  position: relative;
  padding-left: 2.25rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.7rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0.79rem;
  top: 1.6rem;
  bottom: -1.75rem;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-child::after {
  display: none;
}

/* Drop cap for the story opening */
.story-lead::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.82;
  padding: 0.1rem 0.5rem 0 0;
  color: var(--accent-text);
}
