/* Sharpvue Irmo International Festival — site styles.
   Look: bold black outlines, bright rounded color cards, big Changa One headlines, Inter text.
   Brand orange (#fe6600, from the logo) is the action color. */
:root {
  --brand: #fe6600;
  --brand-dark: #c94f00;
  --ink: #111111;
  --paper: #f7f8fb;
  --white: #ffffff;
  --sky: #74cff3;
  --sky-pale: #dff3fd;
  --coral: #fa5c53;
  --leaf: #7cbd75;
  --sun: #ffd004;
  --gold: #fdb614;
  --pink: #ff4589;
  --violet: #7f62c4;
  --blue: #006afe;
  --gray: #4f5560;
  --line: #d9dde3;
  --radius: 22px;
  --outline: 2px solid var(--ink);
  --font-display: "Changa One", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  /* used by the Book a Spot map */
  --green: #1f7a4d;
  --green-dark: var(--ink);
  --green-light: #9fd3b4;
  --green-pale: #eef6ff;
  --orange: var(--brand);
  --font-head: var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .45em; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section--pale { background: var(--paper); }
.section--sky { background: var(--sky-pale); }
.center { text-align: center; }
.lead { font-size: 1.2rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--brand-dark); margin: 0 0 .5em; }

/* Section header: big title, optional pill link, black rule (like a festival program) */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: var(--outline); padding-bottom: 14px; margin-bottom: 32px; }
.section-head h2 { text-transform: uppercase; margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--gray); }
.section-head .btn { white-space: nowrap; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-align: center;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 12px 26px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { color: var(--white); background: #333; transform: translateY(-2px); }
.btn--brand { background: var(--brand); border-color: var(--brand); }
.btn--brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--small { padding: 7px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.header-bar { display: flex; align-items: center; gap: 28px; max-width: 1480px; margin: 0 auto; padding: 10px 32px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 168px; height: auto; }
.brand-date { font-family: var(--font-display); font-size: 1.02rem; line-height: 1; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.brand-date i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a, .sub-toggle {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  font: 800 .95rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .01em;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.main-nav a:hover, .sub-toggle:hover { color: var(--brand-dark); }
.main-nav > ul > li.is-active > a, .main-nav > ul > li.is-active > .sub-toggle { box-shadow: inset 0 -3px 0 var(--brand); }
.sub-toggle svg { transition: transform .15s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.submenu {
  display: block; visibility: hidden; opacity: 0; transform: translateY(-4px);
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; z-index: 60;
  background: var(--white); border: var(--outline); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink);
  /* stays up briefly after the mouse leaves, so a slightly diagonal path down to the links doesn't close it */
  transition: opacity .15s, transform .15s, visibility 0s linear .3s;
}
/* invisible bridge over the gap between the menu header and the dropdown */
.submenu::before { content: ""; position: absolute; left: -2px; right: -2px; top: -12px; height: 12px; }
.submenu a { text-transform: none; font-weight: 700; font-size: 1rem; border-radius: 10px; padding: 10px 12px; }
.submenu a:hover { background: var(--sky-pale); color: var(--ink); }
.submenu a[aria-current="page"] { background: var(--sun); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta .btn { padding: 10px 20px; text-transform: none; color: var(--white); font-size: 1rem; background: var(--brand); border: 2px solid var(--brand); }
.main-nav .nav-cta .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.header-sponsor { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); padding-left: 20px; border-left: 1px solid var(--line); flex: none; }
.header-sponsor img { width: 92px; height: auto; }
.header-sponsor span { font-size: .68rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; letter-spacing: .04em; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 10px 18px; font: 800 .95rem var(--font-body); text-transform: uppercase; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.announce { display: block; background: var(--brand); color: var(--white); text-align: center; font-weight: 700; padding: 11px 20px; text-decoration: underline; text-underline-offset: 3px; }
.announce:hover { color: var(--white); background: var(--brand-dark); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: center; overflow: hidden; background: #1b2a1f; color: var(--white); border-bottom: 14px solid var(--brand); }
.hero video, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.08) 100%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero-sound { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(0,0,0,.45); color: var(--white); font: 700 .9rem var(--font-body); cursor: pointer; backdrop-filter: blur(4px); }
.hero-sound:hover, .hero-sound[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.hero h1 { color: var(--white); font-size: clamp(3.2rem, 9vw, 7.4rem); line-height: .92; margin-bottom: .35em; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--sun); }
.hero h1 .hero-kicker { font: 800 clamp(.95rem, 1.6vw, 1.2rem)/1.3 var(--font-body); letter-spacing: .14em; margin-bottom: 18px; text-shadow: none; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero-facts li { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; padding: 7px 16px; font-weight: 700; backdrop-filter: blur(4px); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--sky); border-bottom: var(--outline); padding: 64px 0 56px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: .25em; max-width: 900px; }
.page-hero p { max-width: 780px; font-size: 1.15rem; margin: 0 0 .6em; }
.page-hero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: var(--sun); border: var(--outline); }
.page-hero::after { content: ""; position: absolute; right: 150px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: var(--coral); border: var(--outline); }
.page-hero--coral { background: var(--coral); }
.page-hero--coral::after { background: var(--sky); }
.page-hero--leaf { background: var(--leaf); }
.page-hero--sun { background: var(--sun); }
.page-hero--sun::before { background: var(--brand); }
.page-hero--violet { background: var(--violet); color: var(--white); }
.page-hero--violet h1 { color: var(--white); }
.page-hero .btn-row { margin-top: 18px; }
.crumbs { font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Color cards ---------- */
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.color-grid--3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.color-card { display: flex; flex-direction: column; background: var(--sky); border: var(--outline); border-radius: var(--radius); padding: 10px 10px 22px; color: var(--ink); text-decoration: none; }
.color-card > img, .color-card .media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--outline); border-radius: 15px; margin-bottom: 18px; background: var(--white); }
.color-card .media--logo { object-fit: contain; padding: 12px; }
.color-card h3 { font-size: 1.75rem; margin: 0 10px .35em; }
.color-card p { margin: 0 10px .9em; font-size: 1rem; }
.color-card .btn { margin: auto 10px 0; align-self: flex-start; }
.color-card .tag { align-self: flex-start; margin: 0 10px 10px; background: var(--white); border: var(--outline); border-radius: 999px; padding: 2px 12px; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.c-sky { background: var(--sky); } .c-coral { background: var(--coral); } .c-leaf { background: var(--leaf); } .c-sun { background: var(--sun); }
.c-gold { background: var(--gold); } .c-pink { background: var(--pink); } .c-white { background: var(--white); }
.c-violet { background: var(--violet); color: var(--white); } .c-violet h3 { color: var(--white); }
.c-violet .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.c-blue { background: var(--blue); color: var(--white); } .c-blue h3 { color: var(--white); }
.c-blue .btn { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Quick-fact tiles (home "at a glance") */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.glance-card { position: relative; overflow: hidden; border: var(--outline); border-radius: var(--radius); padding: 26px 24px; text-align: center;
  background: radial-gradient(circle at 15% 85%, rgba(255,255,255,.9) 0 34px, transparent 35px), radial-gradient(circle at 88% 22%, rgba(255,255,255,.85) 0 26px, transparent 27px), linear-gradient(180deg, #8fd8f6, #d2effc); }
.glance-card .label { display: inline-block; background: var(--violet); color: var(--white); font: 800 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; border-radius: 8px; padding: 5px 12px; margin-bottom: 10px; }
.glance-card strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; color: var(--coral); -webkit-text-stroke: .5px rgba(0,0,0,.15); }
.glance-card span { display: block; margin-top: 6px; font-weight: 700; }
.glance-card a { text-decoration-thickness: 2px; }

/* ---------- Countdown ---------- */
.countdown-band { background: var(--ink); color: var(--white); padding: 56px 0; text-align: center; position: relative; overflow: hidden; }
.countdown-band h2 { color: var(--white); text-transform: uppercase; }
.countdown { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 6px; }
.countdown div { background: var(--brand); border: 2px solid var(--white); border-radius: 18px; padding: 14px 10px; min-width: 112px; }
.countdown div:nth-child(2) { background: var(--blue); } .countdown div:nth-child(3) { background: var(--leaf); color: var(--ink); } .countdown div:nth-child(4) { background: var(--pink); }
.countdown strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; }
.countdown span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.countdown-done { font-family: var(--font-display); font-size: 1.6rem; }

/* ---------- Big color band (calls to action) ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: var(--white); text-align: center; padding: 72px 20px; border-top: var(--outline); border-bottom: var(--outline); }
.cta-band h2 { color: var(--white); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band p { font-size: 1.2rem; max-width: 720px; margin: 0 auto 1.2em; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-band .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta-band .btn--light { background: transparent; color: var(--white); }

/* ---------- Photo wall ---------- */
.moments-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0; padding: 0 24px 16px; max-width: var(--max); margin: 0 auto; }
.photo-wall { display: grid; grid-template-columns: repeat(4, 1fr); }
.photo-wall img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: var(--outline); }

/* ---------- Decorations (sun, burst, squiggle) ---------- */
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco--sun { width: 260px; right: -70px; bottom: -80px; }
.deco--burst { width: 200px; left: -80px; top: 40%; }
.deco--blob { width: 110px; right: -30px; top: 60px; }
.deco--ring { width: 180px; left: -60px; top: -60px; }
@media (max-width: 700px) { .deco { opacity: .55; transform: scale(.7); } .empty-state > .deco { display: none; } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.feature img { width: 100%; border: var(--outline); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--sun); }
.feature--flip .feature-media { order: 2; }
.feature--flip img { box-shadow: -10px 10px 0 var(--sky); }

/* ---------- Listing cards (vendors, sponsors, non-profits) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--white); border: var(--outline); border-radius: var(--radius); padding: 0 20px 20px; overflow: hidden; word-break: break-word; }
.card::before { content: ""; display: block; height: 12px; margin: 0 -20px 18px; background: var(--sky); border-bottom: var(--outline); }
.card:nth-child(6n+2)::before { background: var(--coral); } .card:nth-child(6n+3)::before { background: var(--leaf); }
.card:nth-child(6n+4)::before { background: var(--sun); } .card:nth-child(6n+5)::before { background: var(--pink); } .card:nth-child(6n)::before { background: var(--violet); }
.card-logo { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card-logo img { max-height: 120px; width: auto; object-fit: contain; }
a.card-logo img, a.title-sponsor-logo img { transition: transform .2s; }
a.card-logo:hover img, a.title-sponsor-logo:hover img { transform: scale(1.05); }
.card h2 { font-size: 1.4rem; margin-bottom: .35em; }
.card p { margin: 0 0 .25em; font-size: .95rem; color: var(--gray); white-space: pre-line; }

/* Empty state ("no vendors yet") */
.empty-state { position: relative; overflow: hidden; border: var(--outline); border-radius: var(--radius); background: var(--sun); padding: 48px 32px; text-align: center; }
.empty-state h2 { text-transform: uppercase; }
.empty-state p { max-width: 640px; margin: 0 auto 1.2em; font-size: 1.1rem; }
.empty-state > * { position: relative; z-index: 1; }
.empty-state > .deco { position: absolute; z-index: 0; }

/* Registration tiles */
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.reg-card { display: flex; flex-direction: column; align-items: center; text-align: center; border: var(--outline); border-radius: var(--radius); padding: 26px 22px; background: var(--sky); }
.reg-card:nth-child(6n+2) { background: var(--coral); } .reg-card:nth-child(6n+3) { background: var(--leaf); } .reg-card:nth-child(6n+4) { background: var(--sun); }
.reg-card:nth-child(6n+5) { background: var(--gold); } .reg-card:nth-child(6n) { background: var(--pink); }
.reg-card h2 { font-size: 1.8rem; }
.reg-card p { margin-bottom: .8em; }
.reg-card p:last-of-type { margin-bottom: 1.2em; }
.reg-card .btn--outline { background: var(--white); }
.reg-card > .btn { margin-top: auto; }
.reg-icon { width: 140px; height: 140px; margin: 0 auto 12px; background: var(--white) url("../images/web/918b56_783716114d414f26a680e3d89272485a.png") no-repeat; background-size: 300% 200%; border: var(--outline); border-radius: 50%; }
.reg-icon--food { background-position: 0 0; }
.reg-icon--booth { background-position: 50% 0; }
.reg-icon--car { background-position: 100% 0; }
.reg-icon--vendor { background-position: 0 100%; }
.reg-icon--entertainment { background-position: 50% 100%; }
.reg-icon--sponsor { background-position: 100% 100%; }
.reg-icon--nonprofit { background: var(--white) url("../images/web/918b56_23961c6f13204af897dc88323876ac50.png") center / 80% no-repeat; }
.pricing-chart { max-width: 900px; width: 100%; margin: 0 auto; border: var(--outline); border-radius: var(--radius); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.team-card { background: var(--sky); border: var(--outline); border-radius: var(--radius); overflow: hidden; padding: 10px; }
.team-card:nth-child(6n+2) { background: var(--coral); } .team-card:nth-child(6n+3) { background: var(--leaf); } .team-card:nth-child(6n+4) { background: var(--sun); }
.team-card:nth-child(6n+5) { background: var(--gold); } .team-card:nth-child(6n) { background: var(--pink); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; border: var(--outline); border-radius: 15px; }
.team-card .body { padding: 16px 10px 8px; }
.team-card h3 { margin-bottom: .1em; }
.team-card .role { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; margin-bottom: .8em; }
.team-card p { font-size: .95rem; }

/* Schedule */
.schedule { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.schedule-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 12px 18px; background: var(--white); border: var(--outline); border-radius: 16px; }
.schedule-row time { font-family: var(--font-display); font-size: 1.15rem; color: var(--brand-dark); }

/* Title sponsor + packages table */
.title-sponsor { position: relative; overflow: hidden; display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: center; background: var(--white); border: var(--outline); border-radius: var(--radius); padding: 32px; box-shadow: 10px 10px 0 var(--brand); }
.title-sponsor-logo img { width: 100%; max-height: 220px; object-fit: contain; }
.title-sponsor h2 { margin-bottom: .2em; }
.table-scroll { overflow-x: auto; margin: 28px 0; border: var(--outline); border-radius: var(--radius); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; position: relative; z-index: 1; }
.faq-item { background: var(--white); border: var(--outline); border-radius: 18px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--white); font: 800 1.4rem/1 var(--font-body); }
.faq-item[open] summary::after { content: "\2212"; background: var(--ink); }
.faq-item > div { padding: 0 22px 6px; }
.faq-item > div p { margin-bottom: 14px; }

/* Guide pages */
.guide { max-width: 940px; }
.guide > h2 { margin-top: 56px; }
.guide-meta { font-weight: 700; margin-top: 10px; }
.quick-answer { position: relative; border: var(--outline); border-radius: var(--radius); background: var(--sun); padding: 24px 26px 20px; margin: 0 0 28px; font-size: 1.12rem; }
.quick-answer::before { content: "Quick answer"; position: absolute; top: -14px; left: 22px; background: var(--ink); color: var(--white); font: 800 .75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; padding: 7px 12px; border-radius: 999px; }
.quick-answer p:last-child { margin-bottom: 0; }
.guide-note { border-left: 6px solid var(--sky); background: var(--paper); padding: 14px 18px; border-radius: 0 14px 14px 0; font-size: .97rem; }
.season-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; text-transform: uppercase; border-bottom: var(--outline); padding-bottom: 10px; margin: 56px 0 20px; }
.season-head span { font: 700 1rem var(--font-body); text-transform: none; color: var(--gray); }
.fest-list { display: grid; gap: 16px; }
.fest-card { display: grid; grid-template-columns: 84px 1fr; background: var(--white); border: var(--outline); border-radius: 20px; overflow: hidden; scroll-margin-top: 120px; }
.fest-month { display: grid; place-items: center; background: var(--sky); border-right: var(--outline); font-family: var(--font-display); font-size: 1.45rem; text-transform: uppercase; }
.fest-card:nth-child(5n+2) .fest-month { background: var(--coral); } .fest-card:nth-child(5n+3) .fest-month { background: var(--leaf); }
.fest-card:nth-child(5n+4) .fest-month { background: var(--sun); } .fest-card:nth-child(5n) .fest-month { background: var(--pink); }
.fest-body { padding: 18px 22px 8px; }
.fest-body h3 { font-size: 1.55rem; margin-bottom: .35em; }
.fest-body h3 a { text-decoration: none; }
.fest-body h3 a:hover { text-decoration: underline; }
.fest-facts { display: grid; grid-template-columns: 104px 1fr; gap: 6px 14px; margin: 0 0 12px; }
.fest-facts dt { font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; padding-top: 4px; }
.fest-facts dd { margin: 0; }
.fest-badge { display: inline-block; background: var(--leaf); border: 1.5px solid var(--ink); border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 1px 9px; vertical-align: 2px; margin-left: 4px; }
.fest-last { color: var(--gray); font-size: .93rem; }
.fest-more { display: flex; flex-wrap: wrap; gap: 10px; }
.fest-card--ours { box-shadow: 8px 8px 0 var(--brand); }
.fest-card.fest-card--ours .fest-month { background: var(--brand); color: var(--white); }
.cal-table, .compare-table { width: 100%; border-collapse: collapse; background: var(--white); }
.cal-table th, .cal-table td, .compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cal-table thead th, .compare-table thead th { background: var(--ink); color: var(--white); font-weight: 800; }
.cal-table tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; width: 160px; }
.cal-table tbody tr:nth-child(even), .compare-table tbody tr:nth-child(even) { background: var(--paper); }
.cal-table td a { font-weight: 600; }
.compare-table { min-width: 620px; }
.compare-table tbody th { font-weight: 800; width: 170px; }
.compare-table .ours { background: #fff1e6; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.related a { display: block; border: var(--outline); border-radius: 16px; padding: 16px 18px; text-decoration: none; font-weight: 800; background: var(--sky); }
.related a:nth-child(3n+2) { background: var(--coral); } .related a:nth-child(3n) { background: var(--leaf); }
.related a small { display: block; font-weight: 500; }
.related a:hover { box-shadow: 4px 4px 0 var(--ink); transform: translateY(-2px); color: var(--ink); }
@media (max-width: 600px) {
  .fest-card { grid-template-columns: 1fr; }
  .fest-month { border-right: 0; border-bottom: var(--outline); padding: 6px 18px; place-items: center start; font-size: 1.1rem; }
  .fest-facts { grid-template-columns: 1fr; gap: 0; }
  .fest-facts dd { margin-bottom: 8px; }
  .cal-table tbody th { width: auto; }
}

[hidden] { display: none !important; }

/* Main stage schedule (entertainment page) */
.schedule-summary { font-weight: 700; margin: 0 0 14px; }
.schedule-summary strong { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--brand-dark); }
.stage-schedule { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: 190px 96px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; background: var(--white); border: var(--outline); border-radius: 16px; }
.slot time { font-family: var(--font-display); font-size: 1.1rem; }
.slot-status { justify-self: start; border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 10px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--leaf); }
.slot--booked { background: var(--paper); }
.slot--booked .slot-status { background: var(--ink); color: var(--white); }
.slot--festival { background: var(--sky-pale); }
.slot--festival .slot-status { background: var(--sky); }
.slot--open .slot-name { color: var(--gray); }
.slot--booked .slot-name, .slot--festival .slot-name { font-weight: 700; }
@media (max-width: 700px) {
  .slot { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .slot time { grid-column: 1; }
  .slot-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .slot-name { grid-column: 1 / -1; }
  .slot .btn { grid-column: 1 / -1; justify-self: start; }
}

/* Sponsorship packages (sponsors page) */
.pkg-core { border: var(--outline); border-radius: var(--radius); background: var(--ink); color: var(--white); padding: 20px 24px; margin-bottom: 22px; }
.pkg-core h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .5em; }
.pkg-core ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 20px; }
.pkg-core li, .pkg-extras li { position: relative; padding-left: 30px; }
.pkg-core li::before, .pkg-extras li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--leaf); color: var(--ink); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 18px; margin-bottom: 22px; }
.pkg-card { padding: 22px 20px 22px; }
.pkg-card h3 { margin: 0 0 4px; font-size: 1.55rem; }
.pkg-card .pkg-price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin: 4px 0 10px; color: var(--ink); }
.pkg-note { align-self: flex-start; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 10px; font-size: .78rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pkg-plus { font-weight: 700; margin: 6px 0 8px !important; font-size: .95rem !important; }
.pkg-extras { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.pkg-extras li::before { background: var(--white); border: 1.5px solid var(--ink); }
.pkg-card .btn { margin: auto 0 0; }
.pkg-card h3, .pkg-card p { margin-left: 0; margin-right: 0; }
.pkg-help { font-weight: 600; }

/* Contact form (pop-up dialog + contact page) */
.contact-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: var(--outline); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--brand); overflow: auto; }
.contact-dialog::backdrop { background: rgba(17, 17, 17, .55); }
.contact-dialog .contact-form, .contact-dialog .contact-done { max-width: none; padding: 22px 26px 26px; }
.contact-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin: -2px 0 -6px; }
.contact-head h2 { margin: 0; font-size: 1.9rem; }
.dialog-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: var(--outline); background: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--sun); }
.contact-done .dialog-close { width: auto; height: auto; border-radius: 999px; font-size: 1rem; }
.contact-intro { margin: 0; color: var(--gray); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-actions { display: flex; gap: 12px; }
.form-status { margin: 0; min-height: 1.2em; font-weight: 600; }
.form-status.is-error { color: #a3261b; }
.contact-done { text-align: center; padding: 10px 0; }
.contact-page .contact-done { border: var(--outline); border-radius: var(--radius); background: var(--sun); padding: 36px 24px; max-width: 680px; margin: 0 auto; }

/* Past festival year blocks */
.year-block { border: var(--outline); border-radius: var(--radius); background: var(--white); padding: 28px; margin-bottom: 28px; position: relative; overflow: hidden; }
.year-block h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0; }
.year-block .year-date { font-weight: 700; color: var(--gray); margin: 0 0 18px; }
.year-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.year-links a { display: flex; flex-direction: column; justify-content: center; gap: 2px; border: var(--outline); border-radius: 16px; padding: 16px 18px; text-decoration: none; font-weight: 800; background: var(--sky); }
.year-links a:nth-child(5n+2) { background: var(--coral); } .year-links a:nth-child(5n+3) { background: var(--leaf); } .year-links a:nth-child(5n+4) { background: var(--sun); } .year-links a:nth-child(5n) { background: var(--pink); }
.year-links a:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.year-links small { display: block; font-weight: 500; }
.past-note { border: var(--outline); border-radius: 16px; background: var(--sun); padding: 14px 18px; font-weight: 700; margin-bottom: 28px; }

/* Forms */
.form { max-width: 680px; margin: 0 auto; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.form input, .form textarea, .form select { font: inherit; font-size: 1rem; padding: 12px 14px; border: var(--outline); border-radius: 12px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; background: var(--white); }
.form textarea { min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; text-align: center; font-size: 1.2rem; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 0; padding: 0 0 28px; border-top: var(--outline);
  background: radial-gradient(ellipse 220px 70px at 12% 34%, rgba(255,255,255,.85), transparent 70%), radial-gradient(ellipse 280px 80px at 78% 22%, rgba(255,255,255,.8), transparent 70%),
              radial-gradient(ellipse 260px 70px at 55% 78%, rgba(255,255,255,.7), transparent 70%), linear-gradient(180deg, #9edcf7 0%, #d6f0fc 55%, #eef9ff 100%); }
.footer-sponsor { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 36px; border-bottom: var(--outline); max-width: none; background: var(--white); }
.footer-sponsor p { margin: 0; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.footer-sponsor img { width: 150px; height: 64px; object-fit: contain; }
.footer-sponsor-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; list-style: none; margin: 0; padding: 0; }
.footer-sponsor-logos li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-sponsor-logos li.is-title img { width: 210px; height: 94px; }
.footer-sponsor-logos span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.tier-tag { align-self: flex-start; background: var(--sun); border: var(--outline); border-radius: 999px; padding: 2px 12px; font-size: .78rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink) !important; margin-bottom: 8px !important; }
.footer-main { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; padding-top: 52px; padding-bottom: 36px; }
.footer-info img { width: 210px; margin-bottom: 14px; }
.footer-info p { margin: 0 0 .7em; font-size: .97rem; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-col h2 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: .7em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: .92rem; letter-spacing: .01em; }
.footer-col a:hover { text-decoration: underline; color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(0,0,0,.25); padding-top: 20px; }
.footer-bottom p { margin: 0; font-size: .9rem; }
.social { color: var(--ink); display: inline-flex; }
.social:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .header-sponsor { display: none; }
  .header-bar { gap: 18px; }
  .main-nav a, .sub-toggle { padding: 10px 9px; font-size: .9rem; }
}
/* Below this width the menu no longer fits beside the logo, so it becomes a panel. */
@media (max-width: 1180px) {
  .header-bar { padding: 8px 20px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: var(--outline); max-height: calc(100vh - 90px); overflow-y: auto; padding: 8px 20px 24px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; font-family: var(--font-display); font-weight: 400; }
  .main-nav > ul > li.is-active > a, .main-nav > ul > li.is-active > .sub-toggle { box-shadow: none; color: var(--brand-dark); }
  .submenu { display: none; visibility: visible; opacity: 1; transform: none; transition: none; position: static; box-shadow: none; border: 0; padding: 0 0 12px 8px; background: none; min-width: 0; }
  .submenu::before { display: none; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
  .has-sub.open > .submenu { display: block; }
  .submenu a { font-family: var(--font-body); font-weight: 700; font-size: 1rem; padding: 10px 12px; }
  .main-nav .nav-cta { margin: 18px 0 0; border: 0; }
  .main-nav .nav-cta .btn { width: 100%; justify-content: center; font-family: var(--font-body); font-weight: 700; padding: 14px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature--flip .feature-media { order: 0; }
  .title-sponsor { grid-template-columns: 1fr; text-align: center; padding: 24px; gap: 16px; }
  .title-sponsor-logo img { max-width: 300px; margin: 0 auto; }
  .photo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 128px; }
  .brand-date { font-size: .85rem; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .hero { min-height: min(78vh, 720px); }
  .hero-content { padding-top: 56px; padding-bottom: 56px; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero::before { width: 180px; height: 180px; right: -70px; top: -70px; }
  .page-hero::after { display: none; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-row { grid-template-columns: 1fr; gap: 2px; }
  .form-row { grid-template-columns: 1fr; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 0; flex: 1 1 0; max-width: 84px; padding: 10px 4px; }
  .countdown strong { font-size: 2rem; }
  .countdown span { font-size: .68rem; letter-spacing: .04em; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-sponsor { flex-direction: column; gap: 14px; }
  .footer-bottom { flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Book a Spot (interactive map) ---------- */
.steps { scroll-margin-top: 130px; list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0 0 28px; counter-reset: step; flex-wrap: wrap; }
.steps li { counter-increment: step; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; color: var(--gray); display: flex; align-items: center; gap: 8px; padding: 6px 12px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.steps li.is-current { color: var(--green-dark); }
.steps li.is-current::before { background: var(--orange); border-color: var(--orange); color: var(--white); }
.steps li.is-done::before { content: "\2713"; background: var(--green); border-color: var(--green); color: var(--white); }

.booking-notice { max-width: 860px; margin: 0 auto 20px; padding: 12px 16px; border-radius: 10px; border: 1px solid #f0b4a8; background: #fdf0ed; color: #8a2a17; }
.booking-notice--info { border-color: var(--green-light); background: var(--green-pale); color: var(--green-dark); }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.map-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; font-size: .9rem; }
.map-legend li { display: flex; align-items: center; gap: 6px; }
.dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.dot--open { background: #f26b1d; }
.dot--selected { background: var(--green); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--green); }
.dot--held { background: repeating-linear-gradient(45deg, #9a9a9a 0 3px, #c8c8c8 3px 6px); }
.dot--taken { background: #4a4a4a; }
.map-zoom { display: flex; gap: 4px; }
.map-zoom button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--green-dark); }
.map-zoom button:hover:not(:disabled) { border-color: var(--green); }
.map-zoom button:disabled { opacity: .4; cursor: default; }
.map-scroll { overflow: auto; max-height: 75vh; border: var(--outline); border-radius: 16px; background: var(--white); -webkit-overflow-scrolling: touch; }
.map-scroll:focus-visible { outline: 3px solid var(--orange); }
.map-canvas { position: relative; width: 100%; container-type: inline-size; }
.map-canvas img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; }
.map-hint { font-size: .9rem; color: var(--gray); margin-top: 8px; }

.spot { position: absolute; width: 1.7%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: transform .12s, box-shadow .12s; }
.spot span { font-family: var(--font-head); font-size: .7cqw; font-weight: 600; line-height: 1; color: var(--white); visibility: hidden; }
.spot--open:hover, .spot--open:focus-visible { box-shadow: 0 0 0 .25cqw var(--green-dark); transform: translate(-50%, -50%) scale(1.25); outline: none; z-index: 2; }
.spot--selected { background: var(--green); box-shadow: 0 0 0 .18cqw var(--white), 0 0 0 .38cqw var(--green); z-index: 3; }
.spot--selected span, .spot--held span, .spot--taken span { visibility: visible; }
.spot--held { background: repeating-linear-gradient(45deg, #8d8d8d 0 .2cqw, #b5b5b5 .2cqw .4cqw); cursor: not-allowed; }
.spot--taken { background: #4a4a4a; cursor: not-allowed; }
.spot--taken span { text-decoration: line-through; opacity: .8; }
.spot--drawn.spot--open { background: #7aa33a; box-shadow: 0 0 0 .1cqw var(--white); }
.spot--drawn span { visibility: visible; }
.spot:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.cart { background: var(--white); border: var(--outline); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.cart h2 { font-size: 1.4rem; margin-bottom: .4em; }
.cart-empty { color: var(--gray); font-size: .95rem; }
.cart-list { list-style: none; margin: 0 0 12px; padding: 0; }
.cart-list li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-spot { font-family: var(--font-head); font-weight: 600; background: var(--green); color: var(--white); border-radius: 999px; padding: 2px 10px; min-width: 46px; text-align: center; }
.cart-desc { font-size: .9rem; line-height: 1.3; }
.cart-desc small { color: var(--gray); }
.cart-remove { border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--gray); padding: 4px 6px; border-radius: 6px; }
.cart-remove:hover { color: #b3261e; background: #fdf0ed; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); font-size: 1.2rem; margin: 6px 0 14px; }
.cart-next { width: 100%; }
.cart-next:disabled { opacity: .45; cursor: not-allowed; }
.cart-prices { font-size: .85rem; color: var(--gray); margin: 12px 0 0; text-align: center; }

.booking-form h2, .pay-box h2 { text-align: center; }
.booking-summary { text-align: center; margin-top: -6px; }
.booking-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.cart-type { display: grid; gap: 6px; margin: 0 0 12px; font-family: var(--font-head); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.cart-type select { font: inherit; font-family: var(--font-body); text-transform: none; letter-spacing: 0; padding: 10px 12px; border: 1px solid #c9d3ce; border-radius: 10px; background: var(--white); }
.form-section { font-size: 1.3rem; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-help { margin: -8px 0 0; color: var(--gray); }
.field-help { display: block; font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--gray); }
.upload { display: grid; gap: 6px; }
.upload-label { font-family: var(--font-head); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.upload-files { display: grid; gap: 8px; }
.upload-files:empty { display: none; }
.upload-file { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.upload-file img, .upload-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; background: var(--green-pale); }
.upload-icon { display: grid; place-items: center; font-family: var(--font-head); font-size: .8rem; color: var(--green); }
.upload-name { overflow-wrap: anywhere; font-size: .95rem; }
.upload-name small { display: block; color: var(--green); }
.form label.check { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: 0; text-transform: none; cursor: pointer; }
.form label.check input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--green); }
.upload-file.is-error { border-color: #f0b4a8; background: #fdf0ed; }
.upload-file.is-error small { color: #8a2a17; }
.form .upload-pick { position: relative; display: inline-block; justify-self: start; text-transform: uppercase; cursor: pointer; }
.upload-pick[hidden] { display: none !important; }
.upload-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-pick:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.review-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.review-thumbs img, .review-thumbs .upload-icon { width: 56px; height: 56px; object-fit: cover; }
.pay-box { max-width: 640px; margin: 0 auto; background: var(--white); border: var(--outline); border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.review { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0 0 24px; }
.review dt { font-family: var(--font-head); text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; color: var(--gray); padding-top: 2px; }
.review dd { margin: 0; }
.paypal-area { min-height: 50px; }
.paypal-area .btn { width: 100%; }
.pay-note { font-size: .9rem; color: var(--gray); text-align: center; margin-top: 12px; }
.done { text-align: center; }
.done-text { font-size: 1.15rem; }

.calibrate { margin-top: 16px; }
.calibrate textarea { width: 100%; font-family: monospace; font-size: .85rem; }
.is-calibrating .spot { background: rgba(42,96,73,.55); box-shadow: 0 0 0 1px var(--white); cursor: move; touch-action: none; }
.is-calibrating .spot span { visibility: visible; }

@media (max-width: 960px) {
  .booking-layout { grid-template-columns: 1fr; }
  .map-scroll { max-height: 60vh; }
  .cart { position: sticky; bottom: 0; z-index: 5; border-radius: 14px 14px 0 0; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .cart h2, .cart-prices { display: none; }
  .cart-list { max-height: 30vh; overflow: auto; }
}
@media (max-width: 600px) {
  .review { grid-template-columns: 1fr; gap: 2px; }
  .review dd { margin-bottom: 10px; }
  .pay-box { padding: 20px 16px; }
}
@media print {
  .site-header, .site-footer, .page-hero, .steps, .booking-actions, .done .btn { display: none !important; }
}
