@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --ink: #1f2318;
  --muted: #555a48;
  --line: #e2d6c3;
  --olive: #4f5b2c;
  --olive-deep: #262c15;
  --peach: #fbb2cf;
  --rust: #ca2f56;
  --rust-hover: #a92647;
  --on-dark: #f7f1e8;
  --destructive: #a3261c;
  --radius-control: 9999px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); }
a:hover { color: var(--rust-hover); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
em.script { font-style: italic; font-weight: 400; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--olive); margin-bottom: 1rem; }
.dark .kicker { color: var(--peach); }
.muted { color: var(--muted); }
.wrap { padding-left: clamp(1.25rem, 5vw, 5rem); padding-right: clamp(1.25rem, 5vw, 5rem); }
.section { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.dark { background: var(--olive-deep); color: var(--on-dark); }
.dark a { color: var(--peach); }
.dark .muted { color: #c9c6b4; }
.olive { background: var(--olive); color: var(--on-dark); }
.olive a { color: var(--peach); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 99; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--olive-deep); color: var(--on-dark); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; padding-bottom: .6rem; }
.site-header .logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--peach); }
.session { display: inline-flex; align-items: center; gap: .6rem; min-width: 5.5rem; justify-content: flex-end; }
.session img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.session button { background: none; border: 0; color: #c9c6b4; font: inherit; font-size: .85rem; cursor: pointer; padding: 0; text-decoration: underline; }
.session button:hover { color: var(--peach); }
.menu-toggle { display: none; background: none; border: 1px solid #5d6447; color: var(--on-dark); border-radius: var(--radius-control); padding: .4rem .9rem; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--olive-deep); flex-direction: column; align-items: flex-start; padding: 1rem clamp(1.25rem, 5vw, 5rem) 1.5rem; }
  .nav.open { display: flex; }
  .session { justify-content: flex-start; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: var(--radius-control); padding: .85rem 1.6rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--peach); color: var(--ink); }
.btn-primary:hover { background: #fcc6dc; color: var(--ink); }
.dark .btn-primary, .olive .btn-primary { background: var(--peach); color: var(--olive-deep); }
.dark .btn-primary:hover, .olive .btn-primary:hover { background: #fcc6dc; color: var(--olive-deep); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--rust); text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.6rem; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(88vh, 820px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; padding-bottom: 4rem; }
.hero-copy .logo-big { width: min(360px, 80%); margin-bottom: 2rem; }
.hero-copy p.sub { font-size: 1.2rem; max-width: 34ch; color: #e6e1d0; }
.hero-photo { background-size: cover; background-position: 40% center; min-height: 420px; margin: clamp(1rem, 2.5vw, 2rem); border: 2px solid var(--peach); border-radius: var(--radius-lg); }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; } .hero-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 75vh; background-position: 45% 15%; order: -1; } }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }
.cover { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: 0 30px 60px -30px rgba(31,35,24,.45); }
.embed { border: 0; width: 100%; border-radius: var(--radius-md); margin-top: 1.4rem; }
.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; border-left: 3px solid var(--peach); padding-left: 1.2rem; margin: 1.5rem 0; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(31,35,24,.4); color: var(--ink); }
.card-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card .date { color: var(--rust); font-weight: 700; font-size: .92rem; }
.card h3 { margin: .1rem 0 .2rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .7rem; border-radius: var(--radius-control); background: var(--line); color: var(--ink); width: fit-content; }
.tag.sold { background: var(--ink); color: var(--bg); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; color: var(--ink); }
.plan.featured { border: 2px solid var(--rust); position: relative; }
.plan .badge { position: absolute; top: -.8rem; left: 1.6rem; background: var(--rust); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .8rem; border-radius: var(--radius-control); }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.plan .price small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: .6rem 0 1.2rem; display: grid; gap: .55rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--peach); border: 2px solid var(--rust); }
.plan .btn { margin-top: auto; width: 100%; }
.fine { font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--rust); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 62ch; }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 560px; }
.form.inline-lg { max-width: 640px; }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 700; font-size: .95rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field input[type=date], .field input[type=password], .field select, .field textarea { font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--rust); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--destructive); }
.field .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.field .check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--rust); flex: none; }
.field .help { font-size: .88rem; color: var(--muted); margin: 0; }
.error { color: var(--destructive); font-size: .9rem; margin: 0; font-weight: 500; }
.dark .error { color: #ffb4a8; }
.dark .field input, .dark .field select, .dark .field textarea { background: #fffaf3; }
.dark .field .help { color: #c9c6b4; }
.success { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; border-left: 4px solid var(--olive); max-width: 560px; }
.success p:last-child { margin: 0; }

/* Event page */
.event-band { width: 100%; height: min(460px, 56vw); object-fit: cover; object-position: center top; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .event-layout { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.tier:last-of-type { border-bottom: 0; }
.stepper { display: inline-flex; align-items: center; gap: .6rem; }
.stepper button { width: 2.2rem; height: 2.2rem; border-radius: var(--radius-control); border: 1.5px solid var(--line); background: var(--bg); font: inherit; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 1.5rem; text-align: center; font-weight: 700; }
.totals { display: grid; gap: .2rem; margin: 1rem 0; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .3rem; }
.panel .btn { width: 100%; }

/* Login tabs */
.tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
.tabs button { background: none; border: 0; font: inherit; font-weight: 700; padding: .6rem 0; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--rust); }

.placeholder-line { height: 1.2rem; width: 60%; background: var(--line); border-radius: 6px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* Footer */
.site-footer { background: var(--olive-deep); color: #c9c6b4; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.site-footer img { height: 54px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer .copy { margin-top: 2.5rem; font-size: .85rem; }

.page-head { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-head p.sub { font-size: 1.15rem; max-width: 52ch; }

/* Readable text in olive sections */
.olive .kicker { color: var(--peach); }
.olive a.card { color: var(--ink); }
.olive .card h3 { color: var(--rust); }
