/* The Sauna Corner: shared styles for every page.
   Dark-first brand: Ink ground, Charcoal panels, Cream text, a rose to coral to marigold gradient.
   Young Serif for display, Figtree for text. Layout is fluid from 320px phones to wide desktops. */
:root {
  --ink: #211E22;
  --charcoal: #2E2A2E;
  --cream: #FBF4EC;
  --stone: #CFC4BA;
  --rose: #EFA3B2;
  --coral: #F19264;
  --marigold: #F6B23A;
  --gut: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --header-h: 92px;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gut: max(28px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
p { text-wrap: pretty; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--marigold); }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
main section { overflow-wrap: break-word; }
[hidden] { display: none !important; }

/* Decorative leaf shapes */
.leaf-a { -webkit-mask: url(assets/leaves-trio.webp) center/contain no-repeat; mask: url(assets/leaves-trio.webp) center/contain no-repeat; max-width: 90vw; }
.leaf-b { -webkit-mask: url(assets/leaf.webp) center/contain no-repeat; mask: url(assets/leaf.webp) center/contain no-repeat; max-width: 80vw; }

/* Hover lifts and borders used by cards */
.lift:hover { transform: translateY(-4px); }
.mod:hover, .ev:hover { border-color: var(--marigold) !important; }

/* Marquee */
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marq { animation: marq 38s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marq { animation: none; } html { scroll-behavior: auto; } .lift:hover { transform: none; } }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 30; color: var(--cream); }
.site-header.overlay { position: absolute; top: 0; left: 0; right: 0; }
.nav { max-width: 1400px; margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); flex: none; }
.brand img { width: 56px; height: auto; display: block; }
.brand span { font-family: 'Young Serif', Georgia, serif; font-size: 20px; white-space: nowrap; }
.menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; font-size: 15px; font-weight: 600; }
.menu a { padding: 10px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a[aria-current="page"] { color: var(--marigold); border-bottom-color: var(--marigold); }
.menu a.book { background: var(--cream); color: var(--ink); padding: 12px 20px; border-radius: 999px; border: 0; font-weight: 700; }
.menu a.book:hover { background: var(--marigold); color: var(--ink); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(251,244,236,.4); background: rgba(33,30,34,.55); color: var(--cream); font: 700 15px 'Figtree', sans-serif; cursor: pointer; }
.menu-btn svg path { transition: transform .2s, opacity .2s; transform-origin: center; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1359px) {
  .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .menu { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; font-size: 18px; }
  .menu.open { display: flex; }
  .menu a { padding: 15px 4px; border-bottom: 1px solid rgba(251,244,236,.12); }
  .menu a[aria-current="page"] { border-bottom-color: rgba(251,244,236,.12); }
  .menu a.book { margin-top: 14px; text-align: center; padding: 16px 20px; }
  .site-header.menu-open { background: var(--ink); }
  .site-header.overlay.menu-open { box-shadow: 0 20px 40px rgba(0,0,0,.35); }
}
@media (max-width: 420px) {
  .brand img { width: 44px; }
  .brand span { font-size: 17px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 10px 12px; }
}

/* ---------- home: training list with changing photo ---------- */
.svc-item { color: var(--cream); }
@media (hover: hover) and (min-width: 900px) {
  .svc-item { opacity: .5; }
  .svc-item.is-active, .svc-item:focus-visible { opacity: 1; }
}
@media (max-width: 899px) { .svc-figure { display: none; } }
@media (min-width: 900px) { .stick { position: sticky; top: 28px; align-self: start; } }
.span2 { min-width: 0; }
@media (min-width: 760px) { .span2 { grid-column: span 2; } }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid rgba(251,244,236,.18); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 44px; font-family: 'Young Serif', Georgia, serif; font-size: clamp(19px, 2vw, 22px); line-height: 1.25; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--marigold); border-radius: 2px; transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0deg); }
.faq p { font-size: 16px; line-height: 1.7; margin: 0; padding: 0 0 24px; max-width: 62ch; color: var(--stone); }

/* ---------- events ---------- */
.chip-btn { font: 700 15px 'Figtree', sans-serif; min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer; border: 1.5px solid rgba(251,244,236,.35); background: transparent; color: var(--cream); }
.chip-btn[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.event-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-radius: 22px; overflow: hidden; background: var(--charcoal); border: 1.5px solid rgba(251,244,236,.1); color: var(--cream); }
.event-date { color: var(--ink); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.event-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 640px) {
  .event-card { grid-template-columns: minmax(0, 1fr); }
  .event-date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 12px; padding: 16px 20px; }
  .event-date > span:nth-child(2) { font-size: 34px !important; order: -1; }
  .event-body { padding: 20px; }
}

/* ---------- forms ---------- */
input, textarea, select { max-width: 100%; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--coral); outline-offset: 1px; }
button { touch-action: manipulation; }

/* Phones: keep big type and wide chips from crowding */
@media (max-width: 480px) {
  main ul[aria-label="Why train with us"] li { font-size: 13px !important; }
  main dl dd { font-size: 20px !important; }
}

/* Demo notice for the preview build */
.preview-note { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: max(14px, env(safe-area-inset-bottom, 0px)); background: var(--cream); color: var(--ink); padding: 12px 20px; border-radius: 999px; font: 700 14px 'Figtree', sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: calc(100% - 32px); text-align: center; }

/* Forms: spam trap, messages */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: #FDE3DE; color: #7A2318; font-size: 15px; line-height: 1.5; text-align: left; }
[data-state="done"]:focus { outline: none; }
button[disabled] { opacity: .7; cursor: progress; }

/* Preview only: submissions inbox for the owner */
.inbox-btn { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--marigold); color: var(--ink); font: 700 14px 'Figtree', sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.inbox-panel { position: fixed; z-index: 46; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 56px); width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 640px); overflow-y: auto; background: var(--cream); color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 12px; }
.inbox-panel h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 24px; margin: 0; }
.inbox-panel .chip-btn { color: var(--ink); border-color: rgba(33,30,34,.3); }
.inbox-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.inbox-note { margin: 0; font-size: 13px; line-height: 1.5; color: #5A5057; }
.inbox-item { border-top: 1px solid rgba(33,30,34,.15); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.inbox-item b { font-size: 16px; }
.inbox-item p { margin: 4px 0 0; white-space: pre-line; }

/* ---------- events: dates to be confirmed ---------- */
.interest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.interest-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--charcoal); border: 1.5px solid rgba(251,244,236,.1); color: var(--cream); }
.interest-card img { display: block; width: 100%; aspect-ratio: 8/5; height: auto; object-fit: cover; background: #3A353A; }
.interest-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

/* ---------- shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--charcoal); border: 1.5px solid rgba(251,244,236,.1); color: var(--cream); transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: var(--marigold); color: var(--cream); transform: translateY(-4px); }
.product-img { position: relative; display: block; aspect-ratio: 4/5; background: #3A353A; overflow: hidden; }
.product-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--marigold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-foot .buy { font-weight: 700; color: var(--marigold); }
@media (prefers-reduced-motion: reduce) { .product-card:hover { transform: none; } }

/* Logo placeholder when a photo can't load */
.product-img, .interest-card { background-color: #3A353A; }
.img-missing { visibility: hidden; }
.product-img:has(.img-missing), .interest-card:has(.img-missing) { background: #3A353A url(assets/logo.webp) center 38% / 28% auto no-repeat; }
.interest-card:has(.img-missing) { background-color: var(--charcoal); background-position: center 70px; background-size: 72px auto; }

/* ---------- the app (Sauna Master Hub) ---------- */
.hub-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
@media (max-width: 899px) { .hub-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.phone { justify-self: center; width: min(340px, 86vw); aspect-ratio: 9/18.5; border-radius: 46px; padding: 12px; background: #0F0D10; box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 2px #3A353A; transform: rotate(2deg); }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--ink); padding: 22px 16px 0; display: flex; flex-direction: column; gap: 12px; position: relative; font-size: 12px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-logo { width: 34px; height: 34px; border-radius: 50%; background: url(assets/logo.webp) center/contain no-repeat; }
.ph-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--rose); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.ph-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); margin-top: 4px; }
.ph-h { font-family: 'Young Serif', Georgia, serif; font-size: 25px; line-height: 1.05; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-tile { border-radius: 16px; padding: 12px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; line-height: 1.3; }
.ph-tile b { font-size: 14px; }
.ph-card { background: var(--charcoal); border-radius: 18px; padding: 13px 14px; display: flex; flex-direction: column; gap: 5px; color: var(--stone); line-height: 1.4; }
.ph-card b { color: var(--cream); font-size: 13.5px; }
.ph-pin { align-self: flex-start; background: var(--marigold); color: var(--ink); border-radius: 999px; padding: 2px 8px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ph-bar { height: 7px; border-radius: 99px; background: #45404A; overflow: hidden; }
.ph-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose), var(--coral), var(--marigold)); }
.ph-tabs { margin-top: auto; margin-inline: -16px; display: flex; justify-content: space-around; padding: 12px 6px 20px; border-top: 1px solid rgba(251,244,236,.1); background: #1A171B; font-size: 10px; font-weight: 600; color: var(--stone); }
.ph-tabs .on { color: var(--marigold); }
.hub-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.hub-features li { background: var(--ink); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.hf-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.hub-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; counter-reset: none; }
.hub-steps li { border-radius: 22px; background: var(--charcoal); border-top: 4px solid var(--c); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.hs-num { width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 18px; }

/* ---------- Find a Sauna Master ---------- */
.fm-search { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.fm-search label { font-size: 14px; font-weight: 700; }
.fm-search input { font: 400 17px 'Figtree', sans-serif; min-height: 52px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid rgba(251,244,236,.3); background: var(--charcoal); color: var(--cream); }
.fm-note { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(246,178,58,.14); color: var(--cream); font-size: 14px; line-height: 1.5; max-width: 720px; }
.masters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.master-card { border-radius: 22px; background: var(--charcoal); border: 1.5px solid rgba(251,244,236,.1); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.master-top { display: flex; gap: 14px; align-items: center; }
.master-avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: 'Young Serif', Georgia, serif; font-size: 20px; color: var(--ink); background: linear-gradient(135deg, var(--rose), var(--coral) 55%, var(--marigold)); }
.master-card h3 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.1; margin: 0; }
.master-loc { font-size: 14px; color: var(--stone); }
.master-quals { display: flex; flex-wrap: wrap; gap: 6px; }
.master-quals span { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(246,178,58,.16); color: var(--marigold); }
.master-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--stone); }
.master-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 15px; margin-top: auto; padding-top: 4px; }
.master-links a { color: var(--marigold); }
.master-check { font-size: 13px; border-top: 1px solid rgba(251,244,236,.1); padding-top: 12px; }
.master-check a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.fm-empty { margin: 0; font-size: 17px; color: var(--stone); }

/* Shop card text, and a compact two-up grid on phones */
.pc-name { font-family: 'Young Serif', Georgia, serif; font-size: 22px; line-height: 1.15; }
.pc-opts { font-size: 14px; font-weight: 600; color: var(--marigold); }
.pc-blurb { font-size: 15px; line-height: 1.6; color: var(--stone); }
.pc-price { font-size: 20px; }
@media (max-width: 639px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 16px; }
  .product-card:hover { transform: none; }
  .product-body { padding: 12px 12px 14px; gap: 5px; }
  .pc-name { font-size: 16px; line-height: 1.2; }
  .pc-opts { font-size: 12px; line-height: 1.35; }
  .pc-blurb { display: none; }
  .product-foot { padding-top: 6px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .pc-price { font-size: 17px; }
  .product-foot .buy { display: block; width: 100%; text-align: center; background: var(--marigold); color: var(--ink); border-radius: 999px; padding: 9px 10px; font-size: 14px; }
  .product-foot .buy span { display: none; }
  .ribbon { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }
}
@media (max-width: 479px) { .chip-btn { font-size: 14px; padding: 8px 14px; } }

/* ---------- basket and product panel ---------- */
html.no-scroll { overflow: hidden; }
.brand { margin-right: auto; }
.basket-btn { order: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(251,244,236,.4); background: rgba(33,30,34,.55); color: var(--cream); font: 700 15px 'Figtree', sans-serif; cursor: pointer; }
.basket-btn:hover { border-color: var(--marigold); }
.basket-btn[hidden] { display: none; }
.basket-count:not(:empty) { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--marigold); color: var(--ink); font-size: 12px; display: inline-grid; place-items: center; }
.menu { order: 1; }
@media (max-width: 1359px) {
  .basket-btn { order: 1; }
  .menu-btn { order: 2; }
  .menu { order: 3; }
}
@media (max-width: 479px) { .basket-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .basket-btn { padding: 10px 12px; } }

dialog.basket-drawer, dialog.product-panel { border: 0; padding: 0; color: var(--cream); background: var(--ink); max-width: none; max-height: none; }
dialog.basket-drawer::backdrop, dialog.product-panel::backdrop { background: rgba(15,13,16,.7); }
dialog.basket-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; width: min(440px, 100vw); display: none; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.4); }
dialog.basket-drawer[open] { display: flex; }
.bd-head { display: flex; justify-content: space-between; align-items: center; padding: max(18px, env(safe-area-inset-top, 0px)) 20px 14px 24px; border-bottom: 1px solid rgba(251,244,236,.12); }
.bd-head h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 26px; margin: 0; }
.bd-close, .pp-close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(251,244,236,.3); background: transparent; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }
.bd-empty { padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; color: var(--stone); }
.bd-empty p { margin: 0; font-size: 17px; }
.bd-shop { color: var(--marigold); font-weight: 700; }
.bd-lines { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.bd-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(251,244,236,.1); }
.bd-line img, .bd-noimg { width: 72px; height: 90px; object-fit: cover; border-radius: 12px; background: var(--charcoal); display: block; }
.bd-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 15px; }
.bd-info > span { color: var(--stone); font-size: 14px; }
.bd-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.bd-remove { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--stone); font: 600 13px 'Figtree', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(251,244,236,.3); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; color: var(--cream); font-size: 20px; cursor: pointer; border-radius: 50%; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.bd-foot { padding: 18px 24px max(22px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(251,244,236,.12); display: flex; flex-direction: column; gap: 10px; background: var(--charcoal); }
.bd-sub { display: flex; justify-content: space-between; font-size: 18px; }
.bd-note, .bd-secure { margin: 0; font-size: 13px; color: var(--stone); }
.bd-checkout, .pp-add { min-height: 52px; border: 0; border-radius: 999px; background: var(--marigold); color: var(--ink); font: 700 17px 'Figtree', sans-serif; cursor: pointer; }
.bd-checkout:hover, .pp-add:hover { background: var(--cream); }

dialog.product-panel { margin: auto; width: min(1040px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); border-radius: 28px; overflow-y: auto; overscroll-behavior: contain; }
.pp-close { position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 2; background: rgba(33,30,34,.75); }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 32px; }
.pp-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pp-main { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--charcoal); }
.pp-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.pp-thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; width: 64px; }
.pp-thumbs button[aria-current="true"] { border-color: var(--marigold); }
.pp-thumbs img { width: 100%; height: auto; display: block; aspect-ratio: 4/5; object-fit: cover; }
.pp-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding-top: 8px; }
.pp-info h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; margin: 0; padding-right: 50px; }
.pp-price { margin: 0; font-size: 22px; font-weight: 700; }
.pp-price s { color: var(--stone); font-weight: 400; margin-left: 6px; }
.pp-opt { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-opt legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.pp-opt legend span { font-weight: 400; color: var(--stone); }
.pp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-choices [aria-disabled="true"] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pp-choices small { font-size: 12px; font-weight: 600; }
.swatch { width: 44px; height: 44px; border-radius: 50%; padding: 4px; border: 2px solid rgba(251,244,236,.25); background: none; cursor: pointer; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; }
.swatch[aria-pressed="true"] { border-color: var(--marigold); }
.pp-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pp-add { flex: 1; min-width: 180px; }
.pp-add[aria-disabled="true"] { background: rgba(246,178,58,.45); }
.pp-hint { margin: -6px 0 0; font-size: 14px; color: var(--stone); }
.pp-hint.nudge { color: var(--marigold); font-weight: 700; }
.pp-soldout { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--charcoal); color: var(--stone); }
.pp-added { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(246,178,58,.14); }
.pp-added button { background: none; border: 0; padding: 0; color: var(--marigold); font: 700 15px 'Figtree', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pp-desc, .pp-sec { font-size: 16px; line-height: 1.7; color: var(--stone); }
.pp-desc p, .pp-sec p { margin: 0 0 8px; }
.pp-sec { padding-bottom: 20px; }
.ribbon.sold { left: auto; right: 14px; background: var(--cream); }
.order-thanks { max-width: 1400px; margin: 20px auto 0; padding: 16px 20px; border-radius: 16px; background: var(--marigold); color: var(--ink); font-size: 17px; width: calc(100% - 2 * var(--gut)); }
@media (max-width: 759px) {
  dialog.product-panel { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .pp-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 16px max(28px, env(safe-area-inset-bottom, 0px)); }
  .pp-close { top: max(10px, env(safe-area-inset-top, 0px)); margin: 10px 10px -54px 0; }
  .pp-main { aspect-ratio: 1/1; }
  .pp-info h2 { padding-right: 0; }
  .pp-buy { position: sticky; bottom: 0; padding: 12px 0 max(4px, env(safe-area-inset-bottom, 0px)); background: var(--ink); z-index: 1; }
}

@media (max-width: 374px) { .nav { gap: 10px; } .brand span { font-size: 15px; } .basket-btn { padding: 8px 10px; } .menu-btn { padding: 8px 10px; } }
@media (max-width: 339px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Home hero: keep Jesse in frame and the headline readable */
.hero-img { object-position: 78% 30%; }
.hero-img + div { background: linear-gradient(90deg, rgba(33,30,34,.82) 0%, rgba(33,30,34,.45) 55%, rgba(33,30,34,0) 85%), linear-gradient(180deg, rgba(33,30,34,.6) 0%, rgba(33,30,34,.2) 35%, rgba(33,30,34,.93) 100%) !important; }
@media (max-width: 699px) { .hero-img { object-position: 82% 20%; } .hero-img + div { background: linear-gradient(180deg, rgba(33,30,34,.7) 0%, rgba(33,30,34,.55) 45%, rgba(33,30,34,.95) 100%) !important; } }
#svc-img[src*="jesse-red"] { object-position: 50% 70%; }

/* ---------- live pages: shared ---------- */
.live-status { margin: 0; font-size: 17px; color: var(--stone); }
.text-link { color: var(--marigold); font-weight: 700; }
.text-link.small { font-size: 14px; }
.more-btn { align-self: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid rgba(251,244,236,.4); background: transparent; color: var(--cream); font: 700 15px 'Figtree', sans-serif; cursor: pointer; }
.more-btn:hover { border-color: var(--marigold); }
.reg-btn { display: block; width: 100%; text-align: center; min-height: 52px; padding: 14px 22px; border: 0; border-radius: 999px; background: var(--marigold); color: var(--ink); font: 700 17px 'Figtree', sans-serif; cursor: pointer; }
a.reg-btn:hover, .reg-btn:hover:not(:disabled) { background: var(--cream); color: var(--ink); }
.reg-btn:disabled { opacity: .5; cursor: not-allowed; }
.text-btn { background: none; border: 0; padding: 8px 0; color: var(--stone); font: 600 14px 'Figtree', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- blog ---------- */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; transition: opacity .2s; }
.post-grid.dim { opacity: .5; }
.post-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--charcoal); border: 1.5px solid rgba(251,244,236,.1); color: var(--cream); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--marigold); color: var(--cream); transform: translateY(-4px); }
.post-cover { display: block; aspect-ratio: 16/10; background: #3A353A url(assets/logo.webp) center / 64px auto no-repeat; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; font-weight: 600; color: var(--stone); margin: 0; }
.post-title { font-family: 'Young Serif', Georgia, serif; font-size: 24px; line-height: 1.15; }
.post-excerpt { font-size: 15px; line-height: 1.6; color: var(--stone); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-read { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--marigold); }
@media (min-width: 900px) {
  #post-grid .post-card.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
  #post-grid .post-card.lead .post-cover { aspect-ratio: auto; min-height: 380px; }
  #post-grid .post-card.lead .post-title { font-size: clamp(30px, 3vw, 42px); }
  #post-grid .post-card.lead .post-body { padding: 36px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .post-card:hover { transform: none; } }

.post-page { padding: 40px 0 100px; }
.post-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); display: flex; flex-direction: column; gap: 16px; }
.post-h1 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; margin: 6px 0 0; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold); }
.post-hero { max-width: 1100px; margin: 28px auto 36px; padding: 0 var(--gut); }
.post-hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 26px; display: block; }
.post-content { font-size: 18px; line-height: 1.75; color: #EDE3D9; overflow-wrap: break-word; }
.post-content > * { margin: 0 0 1.1em; }
.post-content h2, .post-content h3, .post-content h4 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; color: var(--cream); line-height: 1.2; margin: 1.6em 0 .5em; }
.post-content h2 { font-size: 30px; } .post-content h3 { font-size: 24px; }
.post-content a { color: var(--marigold); text-decoration: underline; text-underline-offset: 3px; }
.post-content img, .post-content video, .post-content iframe { max-width: 100%; height: auto; border-radius: 18px; }
.post-content figure { margin: 1.5em 0; } .post-content figcaption { font-size: 14px; color: var(--stone); margin-top: 8px; }
.post-content blockquote { border-left: 3px solid var(--marigold); padding-left: 20px; font-style: italic; color: var(--cream); margin-left: 0; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-cta { margin-top: 30px; padding: 28px; border-radius: 22px; background: var(--charcoal); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.post-cta p { margin: 0; font-family: 'Young Serif', Georgia, serif; font-size: 24px; line-height: 1.2; }
.post-cta .reg-btn { width: auto; display: inline-block; }
.post-related { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.post-related h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 30px; margin: 0; }
.post-grid.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.post-grid.small .post-title { font-size: 19px; }

/* ---------- event page ---------- */
.event-page, .confirm-page { padding: 40px 0 110px; }
.ev-wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); display: flex; flex-direction: column; gap: 16px; }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); grid-template-areas: "head side" "media side" "about side"; gap: 28px 56px; align-items: start; }
.ev-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; }
.ev-side { grid-area: side; position: sticky; top: 24px; }
.ev-media { grid-area: media; margin: 0; }
.ev-media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 26px; display: block; }
.ev-about { grid-area: about; font-size: 17px; line-height: 1.75; color: #EDE3D9; max-width: 72ch; }
.ev-about > * { margin: 0 0 1em; } .ev-about a { color: var(--marigold); text-decoration: underline; }
.ev-about h2, .ev-about h3 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; color: var(--cream); }
.ev-about img { max-width: 100%; height: auto; border-radius: 16px; }
.ev-title { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; margin: 0; }
.ev-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.ev-facts li { background: var(--charcoal); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.ev-facts span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }
.ev-facts b { font-size: 16px; } .ev-facts small { font-size: 14px; color: var(--stone); }
@media (max-width: 899px) {
  .ev-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "media" "about"; }
  .ev-side { position: static; }
}
.reg-card { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.reg-card h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 28px; margin: 0; }
.reg-card a:not(.reg-btn) { color: #8A3A12; text-decoration: underline; text-underline-offset: 3px; }
.reg-card .text-link { color: #8A3A12; }
.reg-note { margin: 0; font-size: 14px; line-height: 1.55; color: #5A5057; }
.reg-card .reg-btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.tiers { display: flex; flex-direction: column; gap: 12px; }
.tier { border: 1.5px solid rgba(33,30,34,.15); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tier.off { opacity: .55; }
.tier-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tier-head b { font-size: 16px; } .tier-head span { font-weight: 700; white-space: nowrap; }
.tier-desc { margin: 0; font-size: 14px; line-height: 1.55; color: #4A4249; white-space: pre-line; }
.tier small { font-size: 12px; color: #5A5057; }
.tier-state { margin: 0; font-size: 13px; font-weight: 700; color: #8A3A12; }
.tier-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.reg-card .qty { border-color: rgba(33,30,34,.3); }
.reg-card .qty button { color: var(--ink); }
.guest-price input { width: 100px; min-height: 40px; border-radius: 10px; border: 1.5px solid rgba(33,30,34,.3); padding: 6px 10px; font: 16px 'Figtree', sans-serif; }
.reg-totals { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(33,30,34,.15); padding-top: 12px; font-size: 15px; }
.reg-totals div { display: flex; justify-content: space-between; } .reg-totals .total { font-size: 17px; }
.rsvp-form { display: flex; flex-direction: column; gap: 8px; }
.rsvp-form label, .rsvp-form legend { font-size: 14px; font-weight: 700; margin-top: 6px; }
.rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid rgba(33,30,34,.25); background: #fff; padding: 10px 14px; font: 16px 'Figtree', sans-serif; color: var(--ink); }
.rsvp-form textarea { min-height: 110px; resize: vertical; }
.rsvp-choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.rsvp-choices label { font-weight: 400; margin: 0; display: flex; gap: 8px; align-items: center; }
.guest-names { display: flex; flex-direction: column; gap: 8px; }
.rsvp-form .reg-btn { margin-top: 10px; }
.confirm-card { max-width: 720px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--marigold); }
.confirm-event { margin: 0; font-size: 18px; line-height: 1.5; } .confirm-event a { color: var(--cream); font-weight: 700; } .confirm-event span { color: var(--stone); font-size: 15px; }
.confirm-meta { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.confirm-meta div { background: var(--charcoal); border-radius: 14px; padding: 12px 16px; } .confirm-meta dt { font-size: 12px; color: var(--stone); } .confirm-meta dd { margin: 4px 0 0; font-weight: 700; }
.confirm-items { list-style: none; margin: 0; padding: 0; } .confirm-items li, .confirm-total { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(251,244,236,.12); }
.confirm-card .reg-btn { width: auto; align-self: flex-start; padding: 14px 28px; }
@media (min-width: 1360px) { .menu { gap: 6px 17px; } .basket-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .basket-btn { padding: 10px 14px; } .nav { gap: 14px 18px; } }

/* Accreditations: rows of 5 on desktop, 2 across on smaller screens */
@media (max-width: 1023px){ .accred-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important } }

/* Testimonials page */
.ts-count{margin:0;color:#CFC4BA;font-size:16px}
.ts-grid{columns:3 300px;column-gap:20px}
.ts-card{break-inside:avoid;margin:0 0 20px;background:#211E22;border:1px solid rgba(251,244,236,.12);border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:14px}
.ts-card:nth-child(3n+1) .ts-stars{color:#EFA3B2}.ts-card:nth-child(3n+2) .ts-stars{color:#F19264}.ts-card:nth-child(3n) .ts-stars{color:#F6B23A}
.ts-stars{letter-spacing:3px;font-size:16px}
.ts-card blockquote{margin:0;font-size:16px;line-height:1.65;color:#EDE3D9}
.ts-card figcaption{display:flex;flex-direction:column;gap:2px;font-size:14px;color:#CFC4BA}
.ts-card figcaption b{color:#FBF4EC;font-size:15px}
.ts-photo{width:64px;height:64px;border-radius:50%;object-fit:cover}
.share-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start}
@media (max-width:900px){.share-grid{grid-template-columns:1fr}}
.ts-form{color-scheme:light;display:flex;flex-direction:column;gap:14px;background:#FBF4EC;color:#211E22;border-radius:24px;padding:clamp(22px,3vw,34px)}
.ts-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.ts-form input[type=text],.ts-form input[type=email],.ts-form select,.ts-form textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border-radius:12px;border:1.5px solid rgba(33,30,34,.25);background:#fff;color:#211E22;width:100%;box-sizing:border-box}
.ts-form textarea{resize:vertical}
.ts-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){.ts-form-row{grid-template-columns:1fr}}
.ts-form .ts-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:15px}
.ts-check input{width:18px;height:18px;margin-top:2px;flex:none;accent-color:#9A3F2A}
.ts-submit{align-self:flex-start;background:#211E22;color:#FBF4EC;border:0;padding:15px 26px;border-radius:999px;font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.ts-submit:disabled{opacity:.6}
.ts-form .form-msg{margin:0;color:#9A3F2A;font-weight:700}
.ts-done{display:flex;flex-direction:column;gap:6px;background:#FBF4EC;color:#211E22;border-radius:24px;padding:34px;font-size:17px}
.ts-done b{font-family:'Young Serif',serif;font-weight:400;font-size:28px}
.ts-hub-card{border-radius:24px;padding:clamp(22px,3vw,34px);background:#2E2A2E;display:flex;flex-direction:column;gap:12px;font-size:16px;line-height:1.6;color:#CFC4BA}
.ts-hub-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#F6B23A}
.ts-hub-h{font-family:'Young Serif',serif;font-size:26px;line-height:1.2;color:#FBF4EC}
.ts-hub-btn{align-self:flex-start;background:#F6B23A;color:#211E22;padding:14px 22px;border-radius:999px;font-weight:700;font-size:15px;margin-top:6px}
