@font-face { font-family: "Cocotte"; src: url("fonts/cocotte.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Montecatini"; src: url("fonts/montecatini.woff2") format("woff2"); font-display: swap; }

:root {
  --cream: #f6f2e7;
  --card: #fbf8f1;
  --ink: #4a2f16;
  --brown: #603913;
  --muted: #6b5136;
  --border: #efe7d4;
  --amber: #8f3723;
  --amber-hover: #a8442c;
  --terracotta: #8f3723;
  --forest: #1f5c45;
  --emerald: #1f5c45;
  --gold: #9b740d;
  --earth: #603913;
  --deep: #2f3b2f;
  --blush: #f1eadb;
  --sunset: #ebe2cd;
  --display: "Cocotte", "EB Garamond", Georgia, serif;
  --label: "Montecatini", "EB Garamond", Georgia, serif;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(74, 47, 22, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: var(--emerald); }
h1, h2, .event-name { font-family: var(--display); font-weight: 400; color: var(--emerald); letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 18px; }
h3 { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--emerald); }
p + p { margin-top: 16px; }

.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 80;
}
.skip:focus { top: 12px; }

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 231, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3d6b8;
}
.site-nav .bar {
  max-width: 1100px; margin: 0 auto; padding: 0 16px; min-height: 58px;
  display: flex; align-items: center; gap: 14px;
}
.site-nav .brand {
  font-family: var(--display); font-size: 1.35rem; color: var(--brown); text-decoration: none; white-space: nowrap;
}
.site-nav .links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-left: auto; list-style: none; }
.site-nav .links a {
  display: block; padding: 8px 10px; border-radius: 999px;
  font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.site-nav .links a:hover { background: rgba(155, 116, 13, 0.1); }
.site-nav .links a.nav-go { background: var(--terracotta); color: #fff; padding: 9px 16px; margin-left: 4px; }
.site-nav .links a.nav-go:hover { background: var(--amber-hover); }

.land-hero {
  position: relative; isolation: isolate; min-height: 640px;
  display: grid; align-items: end; background: #566442;
}
.land-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -1; }
.land-hero-inner { width: min(100%, 820px); margin: 0 auto; padding: 48px 20px 36px; }
.land-hero-panel {
  text-align: center; background: rgb(251 248 241 / 0.88);
  border-radius: 32px; border: 1px solid #e6dbc1; outline: 1px solid #bca46b; outline-offset: -12px;
  box-shadow: 0 16px 52px #26392126; padding: 34px 36px 32px;
}
.eyebrow, .kicker {
  font-family: var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  font-size: 1.05rem; margin-bottom: 10px;
}
.land-hero h1 { font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1.02; }
.land-hero .dates { font-size: 1.35rem; margin-top: 14px; }
.land-hero .place { color: var(--muted); margin-top: 4px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.btn {
  display: inline-block; background: var(--amber); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 28px; font-family: inherit; font-size: 1rem; font-weight: 600; text-decoration: none;
  cursor: pointer; box-shadow: 0 6px 18px rgba(143, 55, 35, 0.22);
}
.btn:hover { background: var(--amber-hover); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn-outline:hover { background: rgba(74, 47, 22, 0.06); }

.section { padding: 80px 22px; }
.section.blush { background: var(--blush); }
.section.sunset { background: var(--sunset); }
.wrap { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 740px; margin: 0 auto; }
.center { text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.weave {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; margin-top: 28px;
}
.weave ul { list-style: none; }
.weave li { padding: 12px 0; border-bottom: 1px solid rgba(74, 47, 22, 0.12); font-size: 1.05rem; }
.weave li::before { content: "✦"; color: var(--terracotta); margin-right: 10px; }
.weave img {
  width: 100%; max-width: 360px; height: auto; max-height: 380px;
  object-fit: contain; justify-self: center; border-radius: 0;
}
.coming { color: var(--muted); font-size: 0.95rem; margin-top: 14px; }

.questions { list-style: none; margin-top: 18px; }
.questions li { padding: 8px 0 8px 18px; position: relative; }
.questions li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 16px; }

.days { display: grid; gap: 14px; margin-top: 8px; }
.day {
  display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px;
}
.day strong { font-family: var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald); font-size: 0.92rem; }
.day span { color: var(--muted); }

.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.places button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.places figure { margin: 0; }
.places img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.places figcaption { padding: 10px 4px 0; font-size: 0.92rem; }
.places small { display: block; color: var(--muted); }
.thumb { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; border-radius: 12px; }
.place-link { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--amber); text-decoration: underline; cursor: pointer; }
.share { display: grid; gap: 4px; margin-top: 10px; font-size: 0.9rem; font-weight: 600; }
.share span, .share .hint { font-weight: 400; color: var(--muted); }
.share input { width: 100%; margin-top: 2px; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.photo-dialog { margin: auto; border: 0; padding: 22px 22px 16px; width: min(94vw, 760px); background: var(--card); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
.photo-dialog::backdrop { background: rgba(20, 16, 12, .75); }
.photo-dialog h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--emerald); margin: 0 36px 6px 0; }
.photo-dialog img { width: 100%; max-height: 62vh; object-fit: contain; background: #1c1612; border-radius: 14px; margin-top: 8px; }
.photo-dialog .navs { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.photo-dialog .navs button, .photo-dialog .close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blush); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.photo-dialog .close { position: absolute; top: 12px; right: 12px; }
.photo-dialog .caption { color: var(--muted); font-size: 0.92rem; min-height: 1.4em; margin-top: 8px; }

.faq { padding: 8px 22px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0; padding: 16px 0;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq-answer { display: none; padding: 0 0 16px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.ticket-card { max-width: 820px; margin: 0 auto; padding: 32px 28px 28px; text-align: left; }
.banner {
  background: #fbf3dc; border: 1px dashed #c8a03a; border-radius: 14px; padding: 12px 14px; margin-bottom: 22px; color: var(--earth);
}
.step { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.step h3 { font-size: 1.25rem; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.ticket-types, .addon-group { display: grid; gap: 10px; }
.addon-group { margin-top: 16px; }
.addon-group h4 {
  font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta);
}
.choice {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 16px;
}
.choice.in { border-color: var(--amber); }
.choice.sold { opacity: 0.55; }
.choice .price { color: var(--emerald); font-weight: 700; margin-left: 8px; }
.choice p { color: var(--muted); font-size: 0.9rem; }
.ph-tag {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: #fbf3dc; color: #7a5b10; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle;
}
.spots { color: var(--terracotta); font-weight: 600; }
.addon {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center;
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 12px;
}
.addon.in { border-color: var(--amber); }
.addon.sold { opacity: 0.55; }
.addon img, .addon .ph, .addon .thumb { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: var(--blush); }
.addon .thumb img { width: 88px; height: 88px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 42px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:disabled { opacity: 0.3; cursor: default; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.pick {
  border: 1.5px solid var(--amber); background: #fff; color: var(--amber); border-radius: 999px;
  padding: 10px 16px; font-family: inherit; font-weight: 600; cursor: pointer;
}
.pick[aria-pressed="true"] { background: var(--amber); color: #fff; }
.pick:disabled { opacity: 0.4; cursor: default; }

.cart-bar {
  position: sticky; bottom: 12px; z-index: 40; max-width: 820px; margin: 16px auto 0;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--deep); color: #f6f2e7; border-radius: 18px; padding: 14px 16px;
}
.cart-bar strong { color: #fff; }
.cart-lines { margin-top: 8px; font-size: 0.92rem; }
.cart-lines div { display: flex; justify-content: space-between; gap: 12px; }

.guest { display: grid; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.guest label { font-size: 0.82rem; font-weight: 600; }
.guest input, .field input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 12px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--terracotta); min-height: 1.4em; margin: 8px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.pay-choice { display: grid; gap: 8px; margin: 16px 0; }
.pay-choice label { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.pay-choice input { margin-top: 4px; }
.summary { margin: 8px 0 18px; }
.summary div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 16px 60px; }
.pin-box { max-width: 420px; margin: 40px auto; padding: 28px; }
.scroll { overflow-x: auto; }

footer { background: var(--deep); color: #efe7d4; text-align: center; padding: 28px 16px; }
footer a { color: #fff; }

@media (max-width: 800px) {
  .site-nav .bar { min-height: 52px; padding: 0 8px; }
  .site-nav .brand { display: none; }
  .site-nav .links { flex-wrap: nowrap; overflow-x: auto; margin-left: 0; width: 100%; }
  .site-nav .links a { letter-spacing: 0.04em; padding: 8px 8px; font-size: 0.68rem; }
  .site-nav .links a.nav-go { margin-left: 2px; padding: 8px 12px; }
  .land-hero { min-height: 100svh; }
  .land-hero-inner { padding: 12px 12px 16px; }
  .land-hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .land-hero .dates { font-size: 1.2rem; margin-top: 8px; }
  .land-hero-panel { padding: 22px 14px 18px; }
  .hero-actions { margin-top: 14px; }
  .hero-actions .btn { padding: 12px 18px; }
  .split, .weave, .day, .places, .pair { grid-template-columns: 1fr; }
  .weave img { max-width: 240px; margin: 8px auto 0; }
  .places { grid-template-columns: 1fr 1fr; }
  .addon { grid-template-columns: 72px 1fr; }
  .addon img, .addon .ph, .addon .thumb, .addon .thumb img { width: 72px; height: 72px; }
  .addon .qty, .addon .pick { grid-column: 2; justify-self: start; }
  .choice { grid-template-columns: 1fr; }
  .ticket-card { padding: 22px 14px; }
  .section { padding: 56px 16px; }
}
