/* The Guest Gallery — brand styles */
:root {
  --terracotta: #B76D51;
  --terracotta-deep: #8F4F38;
  --cream: #F0E6D6;
  --cream-light: #FBF6EE;
  --peach: #DAB4A0;
  --peach-soft: #E6D3C4;
  --line: #C9A08B;
  --ink: #3E2B22;
  --ink-soft: #6B5145;
  --good: #3E5C3A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--terracotta-deep); }
a:hover { color: #6E3A27; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
.serif { font-family: var(--serif); }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
.center { text-align: center; }
.hidden { display: none !important; }

/* page shells */
.phone { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding: 24px 22px 28px; display: flex; flex-direction: column; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.brandbar { display: flex; align-items: center; justify-content: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--peach); }
.brandbar .rule { width: 26px; height: 1px; background: var(--terracotta); }
.wordmark { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--terracotta-deep); text-decoration: none; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); }
.names { font-family: var(--serif); font-weight: 500; font-size: 50px; line-height: 1.05; color: var(--terracotta); }
.names em { font-style: italic; }
.footer-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); border-top: 1px solid var(--peach); padding-top: 14px; margin-top: 24px; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--terracotta); color: #fff; font-family: var(--sans); font-size: 18.7px; font-weight: 700; text-decoration: none; cursor: pointer; width: 100%; }
.btn:hover { background: #A55F44; color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-line { background: transparent; color: var(--terracotta-deep); border: 1.5px solid var(--terracotta); font-size: 17px; font-weight: 600; }
.btn-line:hover { background: rgba(183,109,81,.08); color: var(--terracotta-deep); }
.btn-sm { min-height: 44px; font-size: 15px; padding: 0 16px; width: auto; }
.btn-dark { background: var(--ink); }
.btn-danger { background: transparent; color: #9B2C1F; border: 1.5px solid #C46A5E; font-size: 15px; font-weight: 600; }
label.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; }
.input, select.input, textarea.input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream-light); padding: 0 15px; font-family: var(--sans); font-size: 16px; color: var(--ink); }
textarea.input { padding: 12px 15px; min-height: 96px; resize: vertical; }
.input:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--terracotta-deep); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--terracotta); }
.card { background: var(--cream-light); border: 1px solid var(--peach); border-radius: 14px; padding: 18px; }
.notice { background: var(--cream-light); border: 1px solid var(--peach); border-left: 0; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.notice.error { border-color: #C46A5E; color: #7A2318; background: #FBEDE9; }
.notice.ok { border-color: #9DB59A; color: var(--good); background: #EFF4EC; }
.bar { height: 8px; border-radius: 4px; background: var(--peach-soft); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--terracotta); transition: width .3s; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.flexwrap { flex-wrap: wrap; }
.spacer { flex: 1 1 auto; }

/* guest upload list */
.uplist { display: flex; flex-direction: column; gap: 8px; }
.upitem { display: flex; gap: 12px; align-items: center; padding: 9px 11px; border-radius: 12px; background: var(--cream-light); }
.upitem .thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--peach) center/cover no-repeat; flex: none; }
.upitem .meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.upitem .meta .top { display: flex; justify-content: space-between; gap: 8px; }
.upitem .bar { height: 6px; }
.status-done { color: var(--good); font-weight: 500; }
.status-wait { color: var(--ink-soft); }
.status-warn { color: var(--terracotta-deep); font-weight: 500; }

/* scavenger hunt */
.hunt-list { display: flex; flex-direction: column; gap: 8px; }
.hunt-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream-light); font-family: var(--sans); font-size: 15.5px; color: var(--ink); cursor: pointer; }
.hunt-item .tick { width: 24px; height: 24px; border-radius: 12px; border: 1.5px solid var(--terracotta); flex: none; display: flex; align-items: center; justify-content: center; }
.hunt-item.found .tick { background: var(--terracotta); }
.hunt-item .count { margin-left: auto; font-size: 13px; color: var(--ink-soft); }

/* gallery */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-family: var(--sans); font-size: 14.5px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.hour { margin: 18px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.tile { position: relative; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: var(--peach-soft); border: 0; padding: 0; cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .badge { position: absolute; left: 6px; bottom: 6px; background: rgba(62,43,34,.8); color: #fff; font-size: 11.5px; font-weight: 500; padding: 3px 7px; border-radius: 6px; }
.tile .fav { position: absolute; right: 6px; top: 6px; }
.tile .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--terracotta-deep); }
.viewer { position: fixed; inset: 0; background: rgba(30,20,16,.96); z-index: 50; display: flex; flex-direction: column; }
.viewer .vbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--cream); }
.viewer .vbody { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 8px; }
.viewer .vbody img, .viewer .vbody video { max-height: 100%; max-width: 100%; object-fit: contain; }
.viewer .vbtn { min-width: 44px; min-height: 44px; border-radius: 22px; border: 1px solid rgba(240,230,214,.4); background: transparent; color: var(--cream); font-family: var(--sans); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; cursor: pointer; text-decoration: none; }
.viewer .vfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px 18px; color: var(--cream); font-size: 14px; }

/* admin */
.admin-top { border-bottom: 1px solid var(--peach); background: var(--cream-light); }
.admin-top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.admin-top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.admin-top nav a { text-decoration: none; color: var(--ink); }
.admin-top nav a.on { color: var(--terracotta-deep); font-weight: 600; }
.admin-main { padding: 28px 0 60px; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--peach); border-radius: 14px; background: var(--cream-light); }
table.list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.list th { text-align: left; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--peach); white-space: nowrap; }
table.list td { padding: 12px 14px; border-bottom: 1px solid #EADCCB; vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: var(--peach-soft); color: var(--ink); white-space: nowrap; }
.pill.live { background: #DCE7D8; color: var(--good); }
.pill.closed { background: #E8E0D8; color: var(--ink-soft); }
.pill.warn { background: #F6D9CF; color: #7A2318; }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cols > .main { flex: 999 1 520px; min-width: 0; }
.cols > .side { flex: 1 1 300px; min-width: 0; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 15px; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; word-break: break-word; }
.copy { display: flex; gap: 8px; }
.copy .input { min-height: 44px; font-size: 14px; }
.qrbox { background-color: var(--cream-light); background-image: linear-gradient(45deg, #E9DCCB 25%, transparent 25%, transparent 75%, #E9DCCB 75%), linear-gradient(45deg, #E9DCCB 25%, transparent 25%, transparent 75%, #E9DCCB 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; border: 1px solid var(--peach); border-radius: 12px; padding: 16px; display: flex; align-items: center; justify-content: center; }
.qrbox canvas, .qrbox svg { width: 170px; height: 170px; image-rendering: pixelated; }
.dl-list { display: flex; flex-direction: column; border-top: 1px solid var(--peach); }
.dl-list > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--peach); }
.dl-list .what { flex: 1 1 auto; display: flex; flex-direction: column; }
.dl-list .what b { font-size: 15px; }
.dl-list .what span { font-size: 13px; color: var(--ink-soft); }

/* ---------- public website ---------- */
.site { background: var(--cream); }
.site-header { border-bottom: 1px solid var(--peach); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 18px; padding-bottom: 18px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo .rule { width: 22px; height: 1px; background: var(--terracotta); }
.site-logo span.word { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--terracotta-deep); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--terracotta-deep); }
.site-nav .btn { width: auto; min-height: 44px; font-size: 15px; padding: 0 20px; color: #fff; }
.eyebrow-t { font-size: 14px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--terracotta-deep); }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.03; color: var(--ink); }
.display em { font-style: italic; color: var(--terracotta); }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.lead { font-size: 19px; line-height: 1.6; margin: 0; max-width: 560px; }
.site-section { padding: 84px 0; }
.site-section.tint { background: var(--cream-light); border-top: 1px solid var(--peach); border-bottom: 1px solid var(--peach); }
.site-section.dark { background: var(--ink); color: var(--cream); }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 72px 0 84px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-media { flex: 1 1 400px; min-width: 0; position: relative; display: flex; justify-content: flex-end; padding-bottom: 40px; }
.hero-media img { width: 88%; height: 520px; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
.phone-mock { position: absolute; left: 0; bottom: 0; width: 220px; height: 440px; border-radius: 34px; background: var(--ink); padding: 9px; }
.phone-mock > div { width: 100%; height: 100%; border-radius: 26px; background: var(--cream); padding: 24px 15px 15px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; }
.phone-mock .pm-brand { font-family: var(--serif); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--terracotta-deep); }
.phone-mock .pm-names { font-family: var(--serif); font-size: 30px; line-height: 1.05; color: var(--terracotta); margin-top: 16px; }
.phone-mock .pm-field { width: 100%; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--cream-light); font-size: 11px; color: var(--ink-soft); display: flex; align-items: center; padding: 0 10px; margin-top: 10px; }
.phone-mock .pm-btn { width: 100%; height: 40px; border-radius: 8px; background: var(--terracotta); color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row .btn { width: auto; padding: 0 28px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; border: 1px solid var(--peach); border-radius: 16px; background: var(--cream); }
.step-card .num { font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--terracotta); }
.step-card h3 { font-size: 20px; font-weight: 600; }
.step-card p { margin: 0; font-size: 16px; line-height: 1.6; }
.photo-row { display: flex; flex-wrap: wrap; gap: 16px; }
.photo-row img { min-width: 0; height: 420px; object-fit: cover; border-radius: 16px; }
.photo-row img:nth-child(1) { flex: 1 1 240px; object-position: 55% 40%; }
.photo-row img:nth-child(2) { flex: 2 1 380px; }
.photo-row img:nth-child(3) { flex: 1 1 240px; }
@media (max-width: 640px) { .photo-row img { height: 280px; } .hero-media img { height: 420px; } .phone-mock { width: 180px; height: 360px; } .phone-mock .pm-names { font-size: 24px; } }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px 32px; }
.feature { display: flex; gap: 12px; }
.feature svg { flex: none; margin-top: 3px; }
.feature b { display: block; font-size: 17px; font-weight: 600; }
.feature span { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.offer-pill { align-self: center; padding: 9px 20px; border-radius: 30px; border: 1px solid var(--peach); font-size: 15px; font-weight: 500; }
.pkgs { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.pkg { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 16px; padding: 34px; border-radius: 18px; background: var(--cream); color: var(--ink); }
.pkg.featured { border: 3px solid var(--peach); }
.pkg h3 { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--terracotta-deep); }
.pkg .price { display: flex; align-items: baseline; gap: 12px; }
.pkg .price b { font-size: 44px; font-weight: 600; }
.pkg .price s { font-size: 20px; color: var(--ink-soft); }
.pkg ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.pkg ul li::before { content: "✓"; color: var(--terracotta); font-weight: 700; margin-right: 10px; }
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.faq div { padding-bottom: 20px; border-bottom: 1px solid var(--peach); }
.faq h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.faq p { margin: 0; font-size: 16px; line-height: 1.6; }
.site-footer { border-top: 1px solid var(--peach); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; padding-bottom: 26px; font-size: 14px; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.placeholder-box { min-height: 240px; border-radius: 18px; border: 1.5px dashed var(--line); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--ink-soft); }
