@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/fraunces-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 600; font-display: swap; src: url(fonts/fraunces-italic.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-normal.woff2) format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --bg: #F2F0EA;          /* morning mist paper */
  --bg-2: #E8E5DC;
  --surface: #FBFAF6;
  --surface-2: #F4F2EC;
  --line: #DCD8CD;
  --ink: #18211D;         /* pine-black, high contrast for sunlight */
  --ink-2: #3D4A43;
  --muted: #66716B;
  --pine: #2C4A3A;
  --pine-2: #3F6350;
  --moss: #7E9278;
  --fog: #A9B0AC;
  --chai: #B8742B;        /* golden hour, deepened for contrast */
  --chai-soft: #F3E3CC;
  --chai-ink: #8A5419;
  --rose: #A8463A;
  --rose-soft: #F5DFDA;
  --ok: #3E7552;
  --ok-soft: #DDEBDF;
  --shadow: 0 1px 2px rgba(24,33,29,.05), 0 8px 24px -12px rgba(24,33,29,.18);
  --shadow-lg: 0 2px 6px rgba(24,33,29,.06), 0 24px 48px -20px rgba(24,33,29,.28);
  --r: 20px;
  --r-sm: 12px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
  --tabbar-h: 64px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0E1412; --bg-2: #131B18; --surface: #17201C; --surface-2: #1C2622; --line: #2A3631;
  --ink: #ECE8DF; --ink-2: #C9C6BC; --muted: #8E9993; --pine: #9CC3A8; --pine-2: #7FA88D; --moss: #6F8A73; --fog: #5B6661;
  --chai: #E6A85A; --chai-soft: #33281B; --chai-ink: #F0BE7E; --rose: #E58A7C; --rose-soft: #3A2320; --ok: #8CCB9E; --ok-soft: #1D3226;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1412; --bg-2: #131B18; --surface: #17201C; --surface-2: #1C2622; --line: #2A3631;
    --ink: #ECE8DF; --ink-2: #C9C6BC; --muted: #8E9993; --pine: #9CC3A8; --pine-2: #7FA88D; --moss: #6F8A73; --fog: #5B6661;
    --chai: #E6A85A; --chai-soft: #33281B; --chai-ink: #F0BE7E; --rose: #E58A7C; --rose-soft: #3A2320; --ok: #8CCB9E; --ok-soft: #1D3226;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 24px);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 0; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 7vw, 2.6rem); line-height: 1.05; }
h3 { font-size: 1.2rem; line-height: 1.25; }
em { font-style: italic; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--chai); outline-offset: 2px; border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 64vh; min-height: 64svh; overflow: hidden; isolation: isolate;
  color: #F6F3EC; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 14px) var(--gutter) 120px;
  background: #3a4a44;
}
.hero-photo {
  position: absolute; inset: -6% 0 0 0; z-index: -3;
  background: linear-gradient(180deg, rgba(14,20,18,.35) 0%, rgba(14,20,18,.05) 35%, rgba(14,20,18,.55) 100%), url(img/hero.webp) center 40%/cover no-repeat;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.06);
  will-change: transform;
}
.fog { position: absolute; z-index: -2; pointer-events: none; filter: blur(24px); opacity: .55; }
.fog-1 { width: 160%; height: 40%; left: -30%; bottom: 18%; background: radial-gradient(closest-side, rgba(242,240,234,.9), rgba(242,240,234,0)); animation: drift 38s ease-in-out infinite alternate; }
.fog-2 { width: 140%; height: 30%; left: -40%; bottom: 34%; background: radial-gradient(closest-side, rgba(242,240,234,.7), rgba(242,240,234,0)); animation: drift 52s ease-in-out -12s infinite alternate-reverse; opacity: .4; }
.fog-3 { width: 120%; height: 26%; left: -10%; top: 12%; background: radial-gradient(closest-side, rgba(242,240,234,.55), rgba(242,240,234,0)); animation: drift 64s ease-in-out -30s infinite alternate; opacity: .3; }
@keyframes drift { from { transform: translate3d(-8%, 0, 0); } to { transform: translate3d(10%, -4%, 0); } }
.ridge { position: absolute; left: 0; width: 100%; z-index: -1; pointer-events: none; }
.ridge-back { bottom: 40px; height: 90px; fill: var(--bg); opacity: .38; transform: translate3d(0, calc(var(--py, 0px) * -0.4), 0); }
.ridge-front { bottom: -1px; height: 110px; fill: var(--bg); }
.ridge-front .pines { fill: var(--bg); }

.hero-top { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.brand-dot { color: #EDBB7A; margin: 0 1px; }
.hero-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  background: rgba(20,28,25,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; cursor: pointer; color: #F6F3EC;
}
.icon-btn svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: inline; } :root[data-theme="dark"] .icon-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .i-sun { display: inline; } :root:not([data-theme="light"]) .icon-btn .i-moon { display: none; } }
.net {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px;
  background: rgba(20,28,25,.28); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 6px;
}
.net::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8fd19e; }
.net.off::before { background: #EDBB7A; }

.hero-copy { max-width: 34rem; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin: 0 0 14px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-title { font-size: clamp(2.9rem, 13vw, 4.6rem); line-height: .98; font-weight: 400; letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-title em { font-weight: 300; color: #F4D9B0; }
.hero-sub { font-size: 1.02rem; line-height: 1.5; max-width: 26rem; margin: 16px 0 0; opacity: .94; text-shadow: 0 1px 14px rgba(0,0,0,.35); }

main { position: relative; }

/* ---------- Now card ---------- */
.now-wrap { padding: 0 var(--gutter); margin-top: -96px; position: relative; z-index: 2; }
.now-card {
  background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 22px 20px 20px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); overflow: hidden; position: relative;
}
.now-status { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--chai-ink); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--chai); box-shadow: 0 0 0 0 color-mix(in srgb, var(--chai) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--chai) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.now-title { font-size: clamp(1.9rem, 8.5vw, 2.5rem); line-height: 1.05; margin: 10px 0 6px; font-weight: 500; }
.now-where { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.now-note { font-size: 1rem; color: var(--ink-2); margin: 0 0 16px; }
.big-count { font-family: var(--serif); font-size: clamp(2.8rem, 15vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-weight: 400; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.big-count small { font-size: .38em; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 .35em 0 .08em; }
.count-cap { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin: 2px 0 6px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--moss), var(--chai)); border-radius: inherit; transition: width .6s ease; }
.prog-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.next {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  background: var(--surface-2); border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line);
}
.next-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.next-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; grid-column: 1; }
.next-in { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-variant-numeric: tabular-nums; }
.next-in b { display: block; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; color: var(--pine); }
.next-in span { font-size: .78rem; color: var(--muted); }
.now-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px;
  font-size: .92rem; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .15s ease, background .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-primary { background: var(--pine); color: var(--surface); border-color: transparent; }
:root[data-theme="dark"] .btn-primary { color: #0E1412; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #0E1412; } }
.btn-chai { background: var(--chai-soft); color: var(--chai-ink); border-color: transparent; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: .84rem; }
.shotlet { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 14px; }
.shotlet h4 { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.shotlet p { margin: 0 0 6px; font-size: .92rem; color: var(--ink-2); }
.shotlet .light { color: var(--chai-ink); }

.weather {
  margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2);
}
.weather b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.weather .wx-chip { padding: 3px 9px; border-radius: 99px; background: var(--bg-2); font-size: .78rem; font-weight: 600; }
.weather .wx-time { margin-left: auto; color: var(--muted); font-size: .74rem; }

/* ---------- Sections ---------- */
.section { padding: 56px var(--gutter) 8px; max-width: 760px; margin: 0 auto; }
.section-wide { max-width: 1100px; }
.section-head { margin-bottom: 20px; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--chai-ink); margin: 0 0 8px; }
.section-meta { color: var(--muted); font-size: .9rem; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.section-lede { color: var(--ink-2); margin: 10px 0 0; max-width: 36rem; }
.note { font-size: .9rem; color: var(--ink-2); background: var(--surface-2); border-left: 3px solid var(--moss); padding: 12px 14px; border-radius: 0 12px 12px 0; margin: 20px 0 0; }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }

/* ---------- Bookings ---------- */
.bookings { display: grid; gap: 14px; }
.ticket { position: relative; padding: 18px 18px 16px; overflow: hidden; }
.ticket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.ticket-type { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticket-op { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.15; margin-top: 2px; }
.ticket-cls { font-size: .84rem; color: var(--muted); }
.seat { text-align: center; min-width: 64px; padding: 8px 10px; border-radius: 14px; background: var(--chai-soft); color: var(--chai-ink); }
.seat small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.seat b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.route { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 6px; align-items: start; }
.route .arrow { align-self: center; height: 1px; background: var(--line); position: relative; margin-top: -18px; }
.route .arrow::after { content: ''; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--fog); border-right: 1px solid var(--fog); transform: rotate(45deg); }
.stop-l { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.stop-t { font-weight: 650; font-size: .98rem; margin: 2px 0; font-variant-numeric: tabular-nums; }
.stop-d { font-size: .84rem; color: var(--ink-2); line-height: 1.35; }
.route > div:last-child { text-align: right; }
.ticket-alert { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; font-size: .88rem; font-weight: 600; background: var(--rose-soft); color: var(--rose); display: flex; gap: 8px; align-items: center; }
.ticket-alert.calm { background: var(--ok-soft); color: var(--ok); }
.ticket-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.perf { position: absolute; left: 0; right: 0; top: 64%; height: 0; }

/* ---------- Segmented ---------- */
.seg { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--bg-2); margin-bottom: 18px; }
.seg button {
  flex: 1 1 0; min-width: 0; border: 0; background: transparent; border-radius: 99px; padding: 9px 4px; cursor: pointer; line-height: 1.15;
  font-size: .9rem; font-weight: 600; color: var(--muted); -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.seg button small { display: block; font-size: .68rem; font-weight: 500; opacity: .8; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg-scroll { overflow-x: auto; scrollbar-width: none; border-radius: 16px; }
.seg-scroll::-webkit-scrollbar { display: none; }
.seg-scroll button { flex: 0 0 auto; padding: 9px 14px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 61px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line), var(--line) 90%, transparent); }
.tl { display: grid; grid-template-columns: 50px 24px 1fr; gap: 0 0; padding: 0 0 18px; position: relative; }
.tl-time { font-size: .82rem; font-weight: 650; color: var(--ink-2); text-align: right; padding-top: 14px; padding-right: 2px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tl-time small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }
.tl-dot { position: relative; }
.tl-dot::before { content: ''; position: absolute; left: 7px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--moss); }
.tl[data-kind="food"] .tl-dot::before { border-color: var(--chai); }
.tl[data-kind="travel"] .tl-dot::before, .tl[data-kind="ride"] .tl-dot::before { border-color: var(--fog); }
.tl.is-past { opacity: .55; }
.tl.is-now .tl-dot::before { background: var(--chai); border-color: var(--chai); box-shadow: 0 0 0 5px color-mix(in srgb, var(--chai) 25%, transparent); }
.tl-body { padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); box-shadow: var(--shadow); }
.tl.is-now .tl-body { border-color: color-mix(in srgb, var(--chai) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chai) 14%, transparent), var(--shadow); }
.tl-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; line-height: 1.2; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.tag { font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: var(--bg-2); color: var(--muted); }
.tag.now { background: var(--chai); color: #fff; }
.tl-where { font-size: .84rem; color: var(--muted); margin: 3px 0 6px; }
.tl-note { font-size: .9rem; color: var(--ink-2); margin: 0; }
.tl-links { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ---------- Places ---------- */
.places { display: grid; gap: 16px; }
@media (min-width: 720px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .places { grid-template-columns: repeat(3, 1fr); } }
.place { overflow: hidden; display: flex; flex-direction: column; }
.place-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.place-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.place:hover .place-img img { transform: scale(1.04); }
.place-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,14,12,.55)); }
.place-when { position: absolute; left: 12px; bottom: 10px; z-index: 1; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.place-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.place-body h3 { font-size: 1.3rem; }
.place-hours { font-size: .8rem; color: var(--muted); font-weight: 600; }
.place-desc { font-size: .93rem; color: var(--ink-2); margin: 0; }
.place-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.credit { font-size: .7rem; color: var(--muted); text-decoration: none; line-height: 1.3; }
.credit:hover { text-decoration: underline; }

/* ---------- Budget ---------- */
.budget-hero { padding: 20px; }
.left-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.left-amt { font-family: var(--serif); font-size: clamp(3rem, 16vw, 4.2rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.left-amt.warn { color: var(--rose); }
.left-sub { font-size: .9rem; color: var(--muted); margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.stack { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--bg-2); gap: 2px; }
.stack i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.buckets { display: grid; gap: 10px; margin-top: 18px; }
.bucket-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .88rem; }
.bucket-row .bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bucket-row .bar i { display: block; height: 100%; background: var(--moss); border-radius: inherit; transition: width .5s; }
.bucket-row.over .bar i { background: var(--rose); }
.bucket-row .amt { font-variant-numeric: tabular-nums; color: var(--muted); }
.bucket-row.over .amt { color: var(--rose); font-weight: 600; }
.add { margin-top: 14px; padding: 16px; }
.add-row { display: flex; gap: 8px; }
.amt-input {
  flex: 1; min-width: 0; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  font: 600 1.4rem var(--sans); padding: 0 14px 0 34px; font-variant-numeric: tabular-nums;
}
.amt-wrap { position: relative; flex: 1; display: flex; min-width: 0; }
.amt-wrap::before { content: '₹'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; font-size: 1.2rem; color: var(--muted); }
.note-input { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: 400 .95rem var(--sans); padding: 0 12px; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 12px; font-size: .86rem; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--pine); color: var(--surface); border-color: transparent; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #0E1412; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"] { color: #0E1412; } }
.add-btn { height: 52px; padding: 0 20px; border-radius: 14px; border: 0; background: var(--chai); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
:root[data-theme="dark"] .add-btn { color: #1a120a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .add-btn { color: #1a120a; } }
.ledger { margin-top: 14px; padding: 6px 0; }
.ledger-h { display: flex; justify-content: space-between; padding: 10px 16px 6px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lrow { display: grid; grid-template-columns: 30px 1fr auto 36px; gap: 10px; align-items: center; padding: 9px 8px 9px 16px; border-top: 1px solid var(--line); }
.lrow:first-of-type { border-top: 0; }
.lrow .em { font-size: 1.1rem; text-align: center; }
.lrow .lbl { font-size: .93rem; line-height: 1.25; }
.lrow .lbl small { display: block; color: var(--muted); font-size: .76rem; }
.lrow .v { font-weight: 650; font-variant-numeric: tabular-nums; }
.lrow .x { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.lrow .x:hover { background: var(--bg-2); }
.lrow.fixed { color: var(--muted); }
.lrow.fixed .v { color: var(--muted); font-weight: 600; }
.empty { padding: 14px 16px; color: var(--muted); font-size: .9rem; }

/* ---------- Checklists ---------- */
.todo-groups, .pack { display: grid; gap: 14px; }
.group { padding: 6px 0; }
.group-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 4px; }
.group-h h3 { font-size: 1.05rem; }
.group-h span { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.check {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 11px 16px; cursor: pointer;
  border-top: 1px solid var(--line); -webkit-tap-highlight-color: transparent; font-size: .95rem; line-height: 1.4;
}
.group-h + .check { border-top: 0; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.box { width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid var(--fog); display: grid; place-items: center; margin-top: 1px; transition: background .2s, border-color .2s; }
.box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .25s ease; }
.check input:checked + .box { background: var(--pine); border-color: var(--pine); }
:root[data-theme="dark"] .check input:checked + .box svg { stroke: #0E1412; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .check input:checked + .box svg { stroke: #0E1412; } }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:checked ~ .ct { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.check input:focus-visible + .box { outline: 2px solid var(--chai); outline-offset: 2px; }
.check .rm { justify-self: end; }
.ring { display: inline-flex; align-items: center; gap: 8px; }
.ring svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.pack-tools { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.custom-add { display: flex; gap: 8px; padding: 10px 16px 12px; border-top: 1px solid var(--line); }
.custom-add input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); padding: 0 10px; font: 400 .92rem var(--sans); }

/* ---------- Shoot ---------- */
.shot-acc { display: grid; gap: 10px; }
.acc { overflow: hidden; }
.acc summary { list-style: none; display: grid; grid-template-columns: 56px 1fr 20px; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary img, .acc summary .ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--bg-2); display: grid; place-items: center; font-size: 1.4rem; }
.acc summary b { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; display: block; line-height: 1.2; }
.acc summary span { font-size: .8rem; color: var(--muted); }
.acc summary .chev { width: 18px; height: 18px; transition: transform .25s; stroke: var(--muted); fill: none; stroke-width: 2; }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc-body { padding: 2px 16px 16px; }
.light-box { padding: 10px 12px; border-radius: 12px; background: var(--chai-soft); color: var(--chai-ink); font-size: .88rem; font-weight: 550; margin-bottom: 12px; }
.shot-cols { display: grid; gap: 12px; }
@media (min-width: 640px) { .shot-cols { grid-template-columns: repeat(3, 1fr); } }
.shot-col h5 { margin: 0 0 6px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shot-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.shot-col li { font-size: .9rem; padding-left: 14px; position: relative; color: var(--ink-2); line-height: 1.4; }
.shot-col li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--moss); }
.reels { display: grid; gap: 12px; }
.reel { padding: 16px; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
.reel-n { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--chai); line-height: 1; grid-row: span 4; }
.reel h3 { font-size: 1.12rem; }
.reel .hook { font-size: .9rem; margin: 2px 0 0; }
.reel .hook b { color: var(--chai-ink); font-weight: 650; }
.reel .beats { font-size: .9rem; color: var(--ink-2); margin: 4px 0 0; }
.reel .fmt { font-size: .76rem; color: var(--muted); font-weight: 600; margin-top: 6px; }
.basics { display: grid; gap: 12px; }
.basic { padding: 16px; }
.basic h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 8px; }
.basic h3 i { font-style: normal; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--pine); font-size: 1rem; font-family: var(--sans); }
.basic ul { margin: 0; padding: 0 0 0 2px; list-style: none; display: grid; gap: 8px; }
.basic li { font-size: .92rem; color: var(--ink-2); padding-left: 16px; position: relative; line-height: 1.45; }
.basic li::before { content: '—'; position: absolute; left: 0; color: var(--fog); }
.road { display: grid; gap: 14px; }
.week { padding: 18px 16px 10px; position: relative; }
.week-n { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--chai-ink); }
.week h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.week .goal { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.res { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; }
.res b { font-weight: 650; font-size: .95rem; }
.res span { font-size: .85rem; color: var(--ink-2); grid-column: 1; line-height: 1.4; }
.res em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 3px 8px; border-radius: 99px; background: var(--bg-2); white-space: nowrap; }
.res:hover b { text-decoration: underline; }
.verified { font-size: .8rem; color: var(--muted); margin: 12px 2px 0; }

/* ---------- Safety ---------- */
.sos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sos a { text-decoration: none; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; -webkit-tap-highlight-color: transparent; }
.sos a:active { transform: scale(.98); }
.sos a b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.05; color: var(--rose); font-variant-numeric: tabular-nums; }
.sos a:first-child { background: var(--rose); border-color: transparent; }
.sos a:first-child b, .sos a:first-child span { color: #fff; }
:root[data-theme="dark"] .sos a:first-child b, :root[data-theme="dark"] .sos a:first-child span { color: #1a0f0d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sos a:first-child b, :root:not([data-theme="light"]) .sos a:first-child span { color: #1a0f0d; } }
.sos a span { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.sos-note { font-size: .78rem; color: var(--muted); margin: 8px 2px 0; }
.facility { padding: 14px 16px; margin-top: 10px; }
.facility h3 { font-size: 1.1rem; }
.facility .k { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facility p { margin: 6px 0 10px; font-size: .9rem; color: var(--ink-2); }
.facility .pn { font-size: .76rem; color: var(--muted); margin: 8px 0 0; }
.safety-notes { display: grid; gap: 12px; margin-top: 18px; }

/* ---------- Footer ---------- */
.foot { max-width: 760px; margin: 48px auto 0; padding: 24px var(--gutter) 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.foot-line { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-2); margin: 0 0 12px; }
.credits summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.credits ul { padding-left: 18px; margin: 10px 0; display: grid; gap: 4px; font-size: .8rem; }
.credits p { font-size: .78rem; }
.foot-small { font-size: .76rem; margin-top: 14px; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 20;
  display: flex; gap: 2px; padding: 6px; border-radius: 22px; width: min(440px, calc(100% - 24px));
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: var(--shadow-lg);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 16px;
  text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .02em; -webkit-tap-highlight-color: transparent; transition: color .2s, background .2s;
}
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: var(--pine); background: color-mix(in srgb, var(--pine) 11%, transparent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); border-radius: 14px; padding: 10px 10px 10px 16px; font-size: .9rem; font-weight: 550; z-index: 30;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: color-mix(in srgb, var(--bg) 18%, transparent); color: var(--bg); border-radius: 10px; padding: 6px 12px; font-weight: 700; cursor: pointer; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog, .pulse { animation: none !important; }
  .hero-photo, .ridge-back { transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .now-wrap { max-width: 760px; margin-left: auto; margin-right: auto; }
  .hero { min-height: 70vh; padding-bottom: 140px; }
}

/* ---------- Lock ---------- */
body.locked > header, body.locked > main, body.locked > .tabbar, body.locked > .skip { display: none; }
body.locked { padding-bottom: 0; }
.lock { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px var(--gutter); overflow: hidden; isolation: isolate; background: #2a3732; }
.lock[hidden] { display: none; }
.lock-bg { position: absolute; inset: -20px; z-index: -3; background: linear-gradient(180deg, rgba(14,20,18,.25), rgba(14,20,18,.7)), url(img/hero.webp) center/cover; filter: blur(6px) saturate(.8); }
.lock .fog { z-index: -2; }
.lock-card { width: min(380px, 100%); color: #F6F3EC; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px 22px; border-radius: 28px;
  background: rgba(20,28,25,.42); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.lock-title { font-size: 2.4rem; line-height: 1; font-weight: 400; letter-spacing: -0.03em; margin-top: 18px; }
.lock-title em { font-weight: 300; color: #F4D9B0; }
.lock-sub { margin: 0 0 6px; font-size: .95rem; opacity: .85; }
.lock-input { height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font: 500 1.05rem var(--sans); padding: 0 16px; }
.lock-input::placeholder { color: rgba(255,255,255,.55); }
.lock-input:focus { outline: 2px solid #EDBB7A; outline-offset: 1px; }
.lock-remember { display: flex; gap: 8px; align-items: center; font-size: .82rem; opacity: .85; }
.lock-remember input { accent-color: #C98A3D; width: 16px; height: 16px; }
.lock-btn { height: 52px; border: 0; border-radius: 14px; background: #E3A24F; color: #1a120a; font-weight: 700; font-size: 1rem; cursor: pointer; }
.lock-btn:disabled { opacity: .7; }
.lock-msg { min-height: 1.2em; margin: 0; font-size: .88rem; color: #F5B3A8; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: inherit; }
