/* —— Reset (replaces Tailwind Preflight) —— */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, svg, iframe { display: block; max-width: 100%; }
ul { list-style: none; }

/* —— Self-hosted fonts (replaces Google Fonts) —— */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-Italic-VariableFont_wght.woff2') format('woff2');
}
@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Italiana/Italiana-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Pinyon_Script/PinyonScript-Regular.woff2') format('woff2');
}

:root {
  --paper:#FAF4E4; --paper-warm:#F7EED7; --paper-deep:#F0E5C9;
  --coral:#D75A35; --coral-soft:#E68760; --peach:#F0A878;
  --sage:#9DB39A; --sage-deep:#6B8769;
  --forest:#3A5640; --forest-deep:#2C4232;
  --rust:#8B4A2B; --gold:#B8923C; --ink:#2A3528;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  font-weight: 400; font-size: 18px; line-height: 1.6;
  margin: 0; overflow-x: hidden;
  font-feature-settings: "kern", "liga", "onum";

  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 60% 50% at 8% 5%,    rgba(232, 135, 96, 0.13), transparent 55%),
    radial-gradient(ellipse 50% 60% at 95% 35%,  rgba(240, 168, 120, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 65%,  rgba(157, 179, 154, 0.10), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%,rgba(107, 135, 105, 0.13), transparent 55%);
  background-attachment: fixed;
  background-repeat: no-repeat;

  /* Hidden until translations are applied — avoids the language-flash */
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.lang-ready { opacity: 1; }

h1, h2, h3, .display {
  font-family: 'Italiana', serif; font-weight: 400;
  color: var(--forest); letter-spacing: 0.01em;
}
.script { font-family: 'Pinyon Script', cursive; font-weight: 400; }
.smallcaps {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase; letter-spacing: 0.3em;
  font-weight: 500; font-size: 0.8rem;
}

/* —— Navigation —— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1rem 2rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background-color: rgba(250, 244, 228, 0.65);
  border-bottom: 1px solid rgba(107, 135, 105, 0.16);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.logo-mark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; text-decoration: none; }
.logo-mark .mono { font-family: 'Italiana', serif; font-size: 1.65rem; color: var(--forest); letter-spacing: 0.14em; }
.logo-mark .mono .amp { font-family: 'Pinyon Script', cursive; color: var(--coral); font-size: 1.35rem; vertical-align: 0.06em; letter-spacing: 0; margin: 0 0.05em; }
.logo-mark .sub { font-family: 'Cormorant Garamond', serif; font-size: 0.65rem; letter-spacing: 0.34em; color: var(--sage-deep); margin-top: 4px; }

.nav-right { display: flex; align-items: center; gap: 1.25rem; }

/* —— Dropdown navigation —— */
.nav-menu { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.78rem; font-weight: 500;
  color: var(--forest-deep); padding: 6px 2px; line-height: 1;
  transition: color 0.3s;
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] { color: var(--coral); }
.nav-chevron { transition: transform 0.3s ease; }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-links {
  list-style: none; margin: 0; padding: 0.5rem 0;
  position: absolute; top: calc(100% + 0.9rem); right: 0;
  min-width: 230px;
  display: flex; flex-direction: column;
  background: rgba(250, 244, 228, 0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 135, 105, 0.18);
  box-shadow: 0 18px 40px rgba(44, 66, 50, 0.12);
  border-radius: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links a {
  display: block; padding: 0.7rem 1.6rem;
  color: var(--forest-deep); text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.78rem; font-weight: 500;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--coral); background: rgba(215, 90, 53, 0.06); }

/* —— Language switch —— */
.lang-switch {
  display: inline-flex; align-items: center;
  gap: 0.5rem;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(107, 135, 105, 0.3);
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(58, 86, 64, 0.42);
  padding: 4px 2px; line-height: 1;
  transition: color 0.3s ease;
}
.lang-btn:hover { color: var(--forest-deep); }
.lang-btn.active {
  color: var(--coral);
  cursor: default;
}
.lang-btn.active:hover { color: var(--coral); }
.lang-sep {
  color: rgba(107, 135, 105, 0.5);
  font-size: 0.85rem;
  user-select: none;
}

@media (max-width: 820px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-right { gap: 0.9rem; }
  .lang-switch { padding-left: 0.9rem; }
}

/* —— Hero —— */
.hero {
  position: relative; padding-top: 6.5rem; padding-bottom: 2rem;
  max-width: 1400px; margin: 0 auto;
  padding-left: 2rem; padding-right: 2rem;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: 2rem;
}
.hero-image { position: relative; margin-left: -3rem; }
.hero-image img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 8px 24px rgba(135, 74, 43, 0.06));
}
.hero-text { padding-left: 1rem; position: relative; z-index: 2; }
.hero-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; color: var(--sage-deep); }
.hero-kicker .rule { height: 1px; flex: 0 0 48px; background: var(--sage-deep); }
.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  line-height: 0.95; margin: 0;
  letter-spacing: -0.005em;
}
.hero h1 .line { display: block; }
.hero h1 .amp {
  font-family: 'Pinyon Script', cursive; color: var(--coral);
  font-size: 0.72em; vertical-align: 0.08em;
  margin-right: 0.18em; font-style: normal;
}
.hero-subtitle {
  margin: 2rem 0 2.5rem;
  font-size: 1.2rem; font-style: italic;
  color: var(--forest-deep);
  max-width: 24em; line-height: 1.55;
}
.hero-subtitle em.accent { color: var(--coral); font-style: italic; }

.hero-sprig {
  position: absolute; width: 140px;
  right: 8%; bottom: 12%;
  opacity: 0.55; transform: rotate(155deg);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr; padding-top: 5rem;
    min-height: auto; gap: 1rem;
  }
  .hero-image { max-width: 88%; margin: 0 auto; }
  .hero-text { padding-left: 0; }
  .hero-sprig { display: none; }
}

/* —— Sections —— */
.section {
  padding: 3.5rem 2rem 5rem; max-width: 1280px;
  margin: 0 auto; position: relative;
}
.eyebrow {
  display: flex; justify-content: center; align-items: center;
  gap: 1.1rem; color: var(--coral); margin-bottom: 1.5rem;
}
.eyebrow .rule { height: 1px; width: 56px; background: var(--coral); }
.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0 0 1rem; line-height: 1.02;
}
.section-sub {
  text-align: center; font-style: italic;
  max-width: 34em; margin: 0 auto 4.5rem;
  color: var(--forest); font-size: 1.05rem; opacity: 0.9;
}

/* —— Logistics —— */
.logistics-wrap { position: relative; }
.logistics-sprig {
  position: absolute; pointer-events: none;
  width: 180px; opacity: 0.7;
}
.logistics-sprig.tl { top: -2rem; left: -1rem; transform: rotate(-35deg); }
.logistics-sprig.br { bottom: 2rem; right: -2rem; transform: rotate(165deg) scaleX(-1); width: 200px; opacity: 0.5; }

.logistics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; align-items: stretch;
  position: relative; z-index: 2;
}
.logistics-card { text-align: center; padding: 2.5rem 1.8rem; position: relative; }
.logistics-card + .logistics-card { border-left: 1px solid rgba(107, 135, 105, 0.28); }
.logistics-icon { width: 44px; height: 44px; margin: 0 auto 1.5rem; color: var(--coral); stroke-width: 1.1; }
.logistics-card h3 { font-size: 1.95rem; margin: 0 0 0.4rem; color: var(--forest); }
.logistics-card .figure {
  font-family: 'Italiana', serif; font-size: 2.3rem;
  color: var(--coral); letter-spacing: 0.04em;
  margin: 0.4rem 0 1rem; line-height: 1;
}
.logistics-card .figure-sm {
  font-family: 'Italiana', serif; font-size: 1.6rem;
  color: var(--coral); letter-spacing: 0.02em;
  margin: 0.4rem 0 0.6rem; line-height: 1.15;
}
.logistics-card p { margin: 0.2rem 0; color: var(--ink); }
.logistics-card p.muted { opacity: 0.68; font-style: italic; font-size: 0.95rem; margin-top: 1rem; }
@media (max-width: 820px) {
  .logistics-grid { grid-template-columns: 1fr; }
  .logistics-card + .logistics-card {
    border-left: none; border-top: 1px solid rgba(107, 135, 105, 0.28);
  }
  .logistics-sprig { width: 110px; opacity: 0.4; }
  .logistics-sprig.tl { top: -1rem; left: 0; }
  .logistics-sprig.br { bottom: -1rem; right: 0; width: 130px; }
}

/* —— Directions —— */
.directions-section { padding: 3.5rem 2rem 5rem; position: relative; overflow: hidden; }
.directions-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 2;
}
.directions-map { position: relative; }
.map-frame {
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(135, 74, 43, 0.10);
}
.map-frame iframe { display: block; width: 100%; height: 520px; border: 0; }
.map-open {
  display: inline-block; margin-top: 0.9rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
  font-size: 0.92rem; color: var(--sage-deep);
  text-decoration: none; transition: color 0.3s;
}
.map-open:hover { color: var(--coral); }

.directions-body { padding: 1rem 0; }
.directions-body .eyebrow { justify-content: flex-start; margin-bottom: 1rem; }
.directions-body .section-title { text-align: left; margin-bottom: 0.5rem; }
.directions-body .section-sub { text-align: left; margin: 0 0 2.8rem; }
.directions-body .section-title + .course { padding-top: 0; }

.venue-link {
  display: inline-flex; align-items: center; margin-top: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
  font-size: 0.98rem; font-weight: 600;
  color: var(--coral); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color 0.3s;
}
.venue-link:hover { color: var(--forest); }

.course { padding: 1.5rem 0; }
.course + .course { border-top: 1px solid rgba(107, 135, 105, 0.3); }
.course .course-label {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase; letter-spacing: 0.42em;
  color: var(--coral); font-size: 0.75rem;
  margin-bottom: 0.5rem; font-weight: 500;
}
.course .dish {
  font-family: 'Italiana', serif; font-size: 1.65rem;
  color: var(--forest); margin: 0.3rem 0; line-height: 1.15;
}
.course .dish-desc {
  font-style: italic; color: var(--ink);
  opacity: 0.85; font-size: 1.02rem; margin: 0.4rem 0 0;
}
.course .dish-desc a,
.info-card p a {
  color: var(--coral); text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.course .dish-desc a::after,
.info-card p a::after { content: '\2197'; margin-left: 0.12em; font-size: 0.9em; }
.course .dish-desc a:hover,
.info-card p a:hover { color: var(--forest); }
@media (max-width: 900px) {
  .directions-grid { grid-template-columns: 1fr; gap: 3rem; }
  .map-frame iframe { height: 320px; }
  .directions-body .eyebrow { justify-content: center; }
  .directions-body .section-title { text-align: center; }
  .directions-body .section-sub { text-align: center; margin-left: auto; margin-right: auto; }
}

/* —— Schedule (timeline) —— */
.timeline { max-width: 680px; margin: 0 auto; }
.timeline-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 2rem; padding: 1.6rem 0; align-items: baseline;
}
.timeline-item + .timeline-item { border-top: 1px solid rgba(107, 135, 105, 0.28); }
.timeline-time {
  font-family: 'Italiana', serif; font-size: 1.5rem;
  color: var(--coral); letter-spacing: 0.02em;
  line-height: 1; text-align: right;
}
.timeline-detail h3 { font-size: 1.5rem; margin: 0 0 0.35rem; color: var(--forest); }
.timeline-detail p {
  margin: 0; font-style: italic; color: var(--ink);
  opacity: 0.82; font-size: 1.02rem;
}
@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .timeline-time { text-align: left; font-size: 1.3rem; }
}

/* —— Info cards (accommodation & information) —— */
.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem; max-width: 1000px; margin: 0 auto;
}
.info-card {
  padding: 2.2rem;
  background: rgba(247, 238, 215, 0.5);
  border: 1px solid rgba(107, 135, 105, 0.18);
  border-radius: 2px;
}
.info-card h3 { font-size: 1.7rem; margin: 0 0 0.7rem; color: var(--forest); }
.info-card p { margin: 0; color: var(--ink); line-height: 1.6; }
.info-link {
  display: inline-flex; align-items: center; margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
  font-size: 0.98rem; font-weight: 600;
  color: var(--coral); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color 0.3s;
}
.info-link:hover { color: var(--forest); }
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* —— Footer —— */
.footer {
  background-color: var(--forest-deep);
  color: var(--paper);
  padding: 6rem 2rem 2.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(232, 135, 96, 0.16), transparent 38%),
    radial-gradient(circle at 88% 78%, rgba(184, 146, 60, 0.13), transparent 38%);
  pointer-events: none;
}
.footer-sprig {
  position: absolute; pointer-events: none;
  width: 280px; opacity: 0.18; filter: brightness(1.5);
}
.footer-sprig.left { top: 1.5rem; left: -2rem; transform: rotate(-25deg); }
.footer-sprig.right { bottom: 2rem; right: -2rem; transform: rotate(160deg) scaleX(-1); width: 240px; opacity: 0.14; }

.footer-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.footer .script-line { font-family: 'Pinyon Script', cursive; color: var(--coral-soft); font-size: 2.3rem; line-height: 1; margin-bottom: 0.25rem; }
.footer h2 { color: var(--paper); font-size: clamp(2.5rem, 5.5vw, 3.8rem); margin: 0 0 0.5rem; line-height: 1.05; }
.footer .footer-date {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase; letter-spacing: 0.45em;
  color: var(--peach); font-size: 0.78rem; margin-top: 1rem;
}
.footer-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 3rem 0 2.5rem;
  color: rgba(250, 244, 228, 0.32);
}
.footer-divider .rule { height: 1px; width: 120px; background: currentColor; }
.footer-divider .ornament { color: var(--coral-soft); font-size: 1rem; }
.footer-contact {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem; margin-bottom: 4rem;
}
.footer-contact .label {
  text-transform: uppercase; letter-spacing: 0.32em;
  font-size: 0.7rem; color: var(--peach); margin-bottom: 0.65rem;
}
.footer-contact .value {
  font-family: 'Italiana', serif; font-size: 1.18rem;
  color: var(--paper); letter-spacing: 0.02em;
}
.footer-contact a { color: inherit; text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: var(--coral-soft); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 244, 228, 0.14);
  font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(250, 244, 228, 0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
@media (max-width: 700px) {
  .footer-contact { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-sprig { width: 180px; opacity: 0.14; }
}

/* —— Reveal —— */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease-out, transform 1.1s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

::selection { background: var(--coral); color: var(--paper); }
