:root {
  --bg: #0b0b0c;
  --bg-2: #161618;
  --bg-3: #1f1f22;
  --text: #f5f5f7;
  --muted: #98989f;
  --line: rgba(255,255,255,0.12);
  --accent: #2997ff;
  --accent-hover: #47a5ff;
  --orange: #ff7a1a;
  --range: rgba(41,151,255,0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.47;
  letter-spacing: -0.01em;
  min-height: 100vh;
}
a { color: inherit; }

/* ---------- Navigation ---------- */
nav {
  position: sticky; top: 0; z-index: 30;
  height: 56px;
  background: rgba(11,11,12,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
nav .inner {
  max-width: 1080px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 17px; font-weight: 600;
}
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 13px; text-decoration: none; color: var(--text); opacity: 0.75; transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: 980px; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; color: #fff; background: var(--accent);
  text-decoration: none; transition: background 0.2s, opacity 0.2s; white-space: nowrap;
}
.btn:hover:not(:disabled) { background: var(--accent-hover); }
.btn:disabled { opacity: 0.3; cursor: not-allowed; }
.btn.large { padding: 14px 30px; font-size: 17px; }
.btn.outline {
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
}
.btn.outline:hover { background: rgba(41,151,255,0.1); }
.btn.full { width: 100%; }

/* ---------- Pages ---------- */
.page { display: none; }
.page.active { display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 90px 24px 40px;
}
.eyebrow {
  font-size: 15px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 12px;
}
.hero h1 {
  font-size: 72px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04;
}
.hero .actions { margin-top: 28px; }
.hero-art {
  width: 100%; max-width: 380px; margin: 40px auto 0; display: block;
}
.hero-caption {
  font-size: 15px; color: var(--muted); margin-top: 18px;
}

/* ---------- Sections ---------- */
section.block { padding: 96px 0; border-top: 1px solid var(--line); }
.sec-num {
  font-size: 15px; color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.sec-title {
  font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 14px;
}
.sec-sub {
  font-size: 21px; color: var(--muted); max-width: 620px; margin-bottom: 44px;
}

/* ---------- Calendar panel ---------- */
.layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start;
}
.panel {
  background: var(--bg-2); border-radius: 20px; padding: 30px;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}
.cal-head .month { font-size: 18px; font-weight: 600; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--bg-3); color: var(--text); font-size: 18px; transition: background 0.2s;
}
.icon-btn:hover { background: #2a2a2e; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow { font-size: 12px; color: var(--muted); text-align: center; padding: 6px 0; font-weight: 500; }
.day {
  aspect-ratio: 1; border: none; background: transparent; border-radius: 50%;
  font-family: inherit; font-size: 15px; color: var(--text); cursor: pointer; transition: background 0.15s;
}
.day:hover { background: var(--bg-3); }
.day.today { color: var(--accent); font-weight: 700; }
.day.inrange { background: var(--range); border-radius: 0; }
.day.edge { background: var(--accent); color: #fff; font-weight: 600; }
.day.edge:hover { background: var(--accent-hover); }
.day.empty { visibility: hidden; }

.range-summary {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.range-summary strong { color: var(--text); font-weight: 600; }

.field { margin-top: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); color: var(--text);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41,151,255,0.25);
}
.field textarea { resize: vertical; min-height: 70px; }
.status { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 18px; text-align: center; }

/* ---------- Photo results ---------- */
.results-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.results-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.results-head span { font-size: 14px; color: var(--muted); }
.empty-state { text-align: center; padding: 90px 20px; color: var(--muted); }
.empty-state .big { font-size: 26px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.day-block { margin-top: 30px; }
.day-title {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
  font-size: 16px; font-weight: 600;
}
.day-title span { color: var(--muted); font-weight: 400; font-size: 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
figure {
  background: var(--bg-3); border-radius: 14px; overflow: hidden; cursor: zoom-in;
  transition: transform 0.25s, box-shadow 0.25s;
}
figure:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.5); }
figure img { width: 100%; height: 135px; object-fit: cover; display: block; }
figcaption { padding: 10px 12px; font-size: 13px; }
figcaption .t { color: var(--accent); font-weight: 600; }
figcaption .c { color: var(--muted); display: block; margin-top: 2px; }
.no-photos { font-size: 14px; color: var(--muted); padding: 12px 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px;
}
.card {
  background: var(--bg-2); border-radius: 20px; padding: 32px;
}
.card .num { font-size: 15px; color: var(--muted); margin-bottom: 40px; }
.card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--muted); }
.lead {
  font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; max-width: 860px; margin-bottom: 56px;
}
.lead span { color: var(--muted); }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { display: flex; flex-direction: column; }
.tier.featured { outline: 1px solid var(--accent); }
.tier .name { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.tier .blurb { font-size: 14px; color: var(--muted); min-height: 40px; }
.tier .price {
  font-size: 48px; font-weight: 600; letter-spacing: -0.03em; margin: 26px 0 4px;
}
.tier .price small { font-size: 16px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.tier ul { list-style: none; margin: 22px 0 30px; flex: 1; }
.tier li {
  font-size: 15px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text);
}
.tier li::before { content: "\2713\00a0\00a0"; color: var(--accent); }
.pricing-note { font-size: 14px; color: var(--muted); margin-top: 28px; text-align: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 12px; color: var(--muted); }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 100;
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; }
.lightbox .cap { color: #fff; margin-top: 14px; font-size: 15px; }

/* ---------- Form layout ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field select {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); color: var(--text);
  outline: none; appearance: none;
}
.field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41,151,255,0.25); }
.field input[type="date"] { color-scheme: dark; }
.form-error { margin-top: 14px; font-size: 14px; min-height: 18px; }

/* ---------- Glass hero ---------- */
.glass-stage { position: relative; max-width: 480px; margin: 44px auto 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb-a { width: 280px; height: 280px; background: #2997ff; opacity: 0.45; top: -60px; left: -80px; }
.orb-b { width: 240px; height: 240px; background: #ff7a1a; opacity: 0.3; bottom: -50px; right: -70px; }
.glass-card {
  position: relative; border-radius: 32px; padding: 12px;
  background: linear-gradient(150deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 45%, rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.hero-photo { display: block; width: 100%; height: auto; border-radius: 22px; }

/* ---------- Site picker ---------- */
.site-picker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 26px; }
.site-picker label { font-size: 14px; color: var(--muted); }
.site-select {
  padding: 11px 14px; font-size: 15px; font-family: inherit; min-width: 280px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); color: var(--text); outline: none;
}
.site-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41,151,255,0.25); }

/* ---------- Reports ---------- */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.report-card { background: var(--bg-2); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.report-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.report-card p { font-size: 15px; color: var(--muted); flex: 1; margin-bottom: 22px; }
.report-card .btn { width: 100%; }
.sub-head { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 64px 0 24px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(10px);
  background: var(--bg-3); border: 1px solid var(--line); color: var(--text);
  padding: 12px 18px; border-radius: 14px; font-size: 14px; max-width: 90vw;
  opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Call to action ---------- */
.cta-band {
  margin-top: 56px; padding: 56px 32px; text-align: center;
  background: linear-gradient(135deg, #14233a 0%, #0b0b0c 100%);
  border: 1px solid var(--line); border-radius: 24px;
}
.cta-band h3 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band p { font-size: 19px; color: var(--muted); margin-bottom: 28px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.timelapse-video { width: 100%; border-radius: 14px; margin-top: 16px; background: #000; }
.tl-note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .about-grid, .tiers, .grid-2, .report-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 52px; }
  .sec-title { font-size: 38px; }
  .lead { font-size: 22px; }
}
@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .brand span.word { display: none; }
  .hero h1 { font-size: 40px; }
  .hero { padding-top: 60px; }
  .panel { padding: 22px; }
  .sec-title { font-size: 32px; }
  .btn.large { padding: 12px 24px; }
}

/* ---------- Accessibility ---------- */
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, figure:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Calendar: which days have photos ---------- */
.day { position: relative; }
.day.has::after {
  content: ""; position: absolute; left: 50%; bottom: 14%; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--accent);
}
.day.edge.has::after { background: #fff; }
.day.none { color: var(--muted); opacity: 0.55; }
.day.none.edge { color: #fff; opacity: 1; }

/* ---------- Viewer extras ---------- */
.site-label { font-size: 15px; color: var(--muted); margin: -24px 0 26px; }
.site-label strong { color: var(--text); font-weight: 600; }
.photo-grid figure img { aspect-ratio: 4 / 3; height: auto; background: #000; }
.progress { height: 6px; border-radius: 6px; background: var(--bg-3); overflow: hidden; margin-top: 16px; }
.progress div { height: 100%; width: 0; background: var(--accent); transition: width 0.15s linear; }
.tl-speed { margin-top: 16px; }
.tl-speed label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tl-speed select {
  width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); color: var(--text); outline: none;
}

/* ---------- Lightbox controls ---------- */
.lightbox { cursor: default; }
.lightbox img { max-height: 76vh; cursor: zoom-out; }
.lb-bar { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.lb-bar .cap { margin-top: 0; }
.lb-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 22px; line-height: 1;
}
.lb-btn:disabled { opacity: 0.25; cursor: default; }
.lb-link { color: var(--accent); font-size: 14px; text-decoration: none; }
.lb-link:hover { text-decoration: underline; }

/* ---------- Reports ---------- */
.soon {
  align-self: flex-start; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 980px; padding: 6px 12px;
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  nav .inner { padding: 0 16px; gap: 10px; }
  nav .btn { padding: 8px 14px; font-size: 13px; }
  .container { padding: 0 16px; }
  section.block { padding: 64px 0; }
  .sec-sub { font-size: 18px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cta-band { padding: 40px 20px; }
  .cta-band h3 { font-size: 28px; }
  .tier .price { font-size: 40px; }
  .glass-stage { margin-left: 8px; margin-right: 8px; }
}
