:root {
  --navy: #05081c;
  --sage: #728359;
  --sage-light: #93a578;
  --sage-pale: #eef1e8;
  --silver: #b7b6ae;
  --silver-line: #d9d8d0;
  --cream: #fdfcfa;
  --ink: #2b2c26;
  --ink-soft: #55564d;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  font-weight: 600;
}

p { line-height: 1.65; margin: 0; }

a { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--sage-pale) 0%, var(--cream) 55%);
  text-align: center;
  padding: 5.5rem 1.5rem 5rem;
}

.hero-inner {
  max-width: 38rem;
}

.hero-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 1.6rem;
}

.wordmark {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.hero-sub {
  margin-top: 1.3rem;
  font-size: 1.02rem;
  color: var(--sage);
  font-weight: 400;
}

.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.meta-divider {
  width: 1px;
  height: 2.2rem;
  background: var(--silver-line);
}

.meta-note {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--sage);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  margin-top: 2.6rem;
  padding: 0.95rem 2.6rem;
  background: var(--sage);
  color: #fff;
  font-size: 0.95rem;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(114, 131, 89, 0.3); }

/* ---------- Welcome ---------- */

.welcome { padding: 6rem 1.5rem; }

.welcome-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Dress code ---------- */

.dress-code {
  padding: 6rem 1.5rem;
  background: var(--cream);
}

.dress-code-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.dress-code h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--navy);
}

.dress-code-main {
  margin-top: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.dress-code-note {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
}

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.section-label.light { color: var(--silver); }

.welcome h2, .programme h2, .ticket-card-top h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--navy);
}

.welcome p {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.02rem;
}

/* ---------- Programme ---------- */

.programme {
  padding: 6rem 1.5rem;
  background: var(--sage-pale);
}

.programme-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.programme-date {
  margin-top: 0.6rem;
  color: var(--sage);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--silver-line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--silver-line);
}

.timeline-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--sage);
  padding-top: 0.15rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 300;
}

.timeline-content ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 300;
}

.timeline-content li { margin-bottom: 0.3rem; }

/* ---------- Ticket ---------- */

.ticket {
  padding: 6.5rem 1.5rem 7rem;
  display: flex;
  justify-content: center;
}

.ticket-card {
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ticket-card-top {
  padding: 2.6rem 2.2rem 1.2rem;
  text-align: center;
}

.ticket-desc {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 300;
}

.ticket-card-body {
  padding: 1.6rem 2.2rem 2.6rem;
  text-align: center;
}

.ticket-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  color: var(--navy);
  margin-bottom: 1.6rem;
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.price-currency {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-top: 0.35rem;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
}

.quantity-label {
  font-size: 0.9rem;
  color: var(--ink);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.qty-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--silver-line);
  background: var(--sage-pale);
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.qty-btn:hover { background: var(--sage-light); color: #fff; }

.qty-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  min-width: 1.4rem;
  text-align: center;
}

.btn-buy {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--sage);
  color: #fff;
  font-size: 0.98rem;
}

.btn-buy:hover:not(:disabled) { background: var(--navy); }
.btn-buy:disabled { opacity: 0.6; cursor: wait; }

.checkout-error {
  margin-top: 0.9rem;
  color: #a13e3e;
  font-size: 0.85rem;
}

.ticket-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--silver);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
  background: var(--navy);
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-link {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--sage-light);
  border-bottom: 1px solid transparent;
}

.footer-link:hover { border-color: var(--sage-light); }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero-meta { gap: 1.1rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
