:root {
  --bg: #000000;
  --surface: #0e0e0e;
  --surface-2: #171717;
  --line: #262626;
  --line-2: #3a3a3a;
  --text: #ffffff;
  --muted: #a3a3a3;
  --dim: #6b6b6b;
  --red: #d7141a;
  --red-soft: rgba(215, 20, 26, .14);
  --green: #1e9e3a;
  --green-soft: rgba(30, 158, 58, .16);
  --amber: #e8a33a;
  --amber-soft: rgba(232, 163, 58, .14);
  --radius: 14px;
  --head: 'Jost', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: .01em; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(26px, 5vw, 34px); }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }

/* layout */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(0,0,0,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .logo { height: 44px; width: 44px; object-fit: contain; }
.topbar .title { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 500; }
.topbar .spacer { flex: 1; }
.wrap { max-width: 880px; margin: 0 auto; padding: 20px 16px calc(40px + var(--safe-b)); }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* buttons — mirrors the site's white pill buttons */
.btn { appearance: none; border: 1px solid var(--text); background: var(--text); color: #000; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; min-height: 52px; padding: 0 26px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform .08s ease, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.green { background: var(--green); border-color: var(--green); color: #fff; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn.block { width: 100%; }
.btn.big { min-height: 64px; font-size: 16px; }
.linkbtn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px 4px; }
.iconbtn { background: none; border: 1px solid var(--line-2); color: var(--text); width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; font-size: 18px; }

/* cards & forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card.tight { padding: 14px; }
label.field { display: block; }
label.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; letter-spacing: .02em; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], textarea, select {
  width: 100%; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 17px; padding: 14px 14px; outline: none; }
input:focus, textarea:focus { border-color: var(--text); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 26px; height: 26px; accent-color: var(--green); flex: none; margin-top: 2px; }
.err { background: var(--red-soft); border: 1px solid rgba(215,20,26,.5); color: #ffb3b5; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.note { background: var(--amber-soft); border: 1px solid rgba(232,163,58,.4); color: #f5cf92; padding: 12px 14px; border-radius: 10px; font-size: 14px; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.red { color: #ff6b70; background: var(--red-soft); border-color: rgba(215,20,26,.4); }
.badge.green { color: #57d276; background: var(--green-soft); border-color: rgba(30,158,58,.45); }
.badge.amber { color: var(--amber); background: var(--amber-soft); border-color: rgba(232,163,58,.4); }
.badge.white { color: #fff; }

/* brand swoosh divider: green → red like the logo */
.swoosh { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green) 0 30%, transparent 30% 70%, var(--red) 70% 100%); opacity: .9; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translateX(-50%); background: #fff; color: #000; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; }

/* photo grids */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); cursor: zoom-in; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.thumb.video { grid-column: 1 / -1; aspect-ratio: 16/9; cursor: default; }
.thumb.video .cap { pointer-events: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.96); z-index: 90; display: flex; flex-direction: column; }
.lightbox .lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); }
.lightbox .lb-img { flex: 1; display: grid; place-items: center; padding: 8px; min-height: 0; }
.lightbox .lb-img img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox .lb-nav { display: flex; justify-content: space-between; padding: 12px 16px calc(16px + var(--safe-b)); gap: 12px; }

/* spinner */
.spin { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
.btn:not(.ghost) .spin { border-color: rgba(0,0,0,.2); border-top-color: #000; }
@keyframes spin { to { transform: rotate(360deg); } }
.center { display: grid; place-items: center; min-height: 50vh; }
