:root {
  /* these are driven by js/main.js as the day moves on; values here = dawn */
  --sky-top: #f7d9c4;
  --sky-bot: #fbe9d0;
  --ink: #2a1a10;
  --ink-soft: rgba(42, 26, 16, .72);
  --accent: #b4441c;
  --dune: #dca25c;
  --line: rgba(42, 26, 16, .16);
  --card: rgba(255, 255, 255, .38);

  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --road-h: 38px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--body);
  color: var(--ink);
  background: var(--sky-bot);
  padding-bottom: var(--road-h);
  -webkit-font-smoothing: antialiased;
  transition: color .5s;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---------- sky ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(var(--sky-top), var(--sky-bot));
}
.disc {
  position: absolute; left: 0; top: 0;
  width: clamp(70px, 11vw, 130px); aspect-ratio: 1; border-radius: 50%;
  background: #fff3c4;
  box-shadow: 0 0 60px 20px rgba(255, 236, 170, .55);
  will-change: transform;
}
.disc.moon {
  background: #f1eee4;
  box-shadow: 0 0 40px 6px rgba(241, 238, 228, .25), inset -14px -8px 0 rgba(0, 0, 0, .08);
}
.stars { position: absolute; inset: 0; opacity: 0; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
}
.stars i:nth-child(5n) { width: 3px; height: 3px; }
.stars i:nth-child(3n) { opacity: .55; }

/* ---------- layout ---------- */
.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(720px, 100% - 2.5rem); }
section { padding: clamp(4.5rem, 11vw, 8.5rem) 0; position: relative; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 7.2vw, 5.4rem); }
h1 em, h2 em { font-weight: 400; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: var(--ink-soft); max-width: 40em; }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.note {
  font-family: var(--hand); font-size: 1.55rem; line-height: 1.2; color: var(--accent);
  margin: 0 0 1rem;
}
.tilt-l { transform: rotate(-2.5deg); transform-origin: left; display: inline-block; }
.tilt-r { transform: rotate(1.5deg); }
.center { text-align: center; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--sky-top) 72%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { text-decoration: none; display: flex; align-items: baseline; gap: .5rem; margin-right: auto; }
.brand-en { font: 600 1.3rem/1 var(--display); white-space: nowrap; }
.brand-en i { font-weight: 400; color: var(--accent); }
.clock {
  display: flex; align-items: baseline; gap: .5rem;
  font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--ink-soft);
}
.clock b { font: 600 1.05rem var(--display); color: var(--ink); }
.top-cta {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: .5rem 1rem; border-radius: 99px; border: 1.5px solid var(--ink);
}
.top-cta:hover { background: var(--ink); color: var(--sky-bot); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1.05rem var(--body); text-decoration: none; cursor: pointer;
  padding: .95rem 1.5rem; border-radius: 14px; border: 0;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.btn-wa { background: #0f7a5f; color: #fff; box-shadow: 0 6px 0 #0a5642; }
.btn-wa:active { transform: translateY(3px); box-shadow: 0 3px 0 #0a5642; }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 7rem; padding-bottom: 15rem; overflow: hidden; }
.hero .lead { margin: 1.6rem 0 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.dunes { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(150px, 26vw, 300px); pointer-events: none; }
.dunes path { fill: var(--dune); }
.dunes .d3 { opacity: .35; }
.dunes .d2 { opacity: .6; }

/* ---------- honest ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.5rem 0; }
.col { padding: 2rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.col h3 { margin-bottom: 1rem; }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { padding: .65rem 0 .65rem 2rem; border-top: 1px solid var(--line); position: relative; }
.col li::before { position: absolute; left: 0; font-weight: 600; }
.col-no li { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.col-no li::before { content: "✕"; color: var(--accent); text-decoration: none; display: inline-block; }
.col-yes { transform: rotate(.6deg); }
.col-yes li::before { content: "✓"; color: #0f7a5f; }

/* ---------- host ---------- */
.host-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.host .polaroid { transform: rotate(2.5deg); margin: 0; }
.host .polaroid img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 85%; }
.host p { font-size: 1.15rem; }
.host .sig { font-family: var(--hand); font-size: 2.6rem; color: var(--accent); transform: rotate(-3deg); display: inline-block; margin-top: .5rem; }

/* ---------- patrol ---------- */
.patrol-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 28px;
  background: var(--card); border: 1px solid var(--line);
}
.patrol-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: 18px; }
.p-ground { fill: var(--dune); }
.p-car, .road-car { fill: var(--ink); }
.p-line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }
.p-glass { fill: var(--sky-top); }
.specs { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.specs b { display: block; font: 600 1.5rem/1.1 var(--display); }
.specs span { font-size: .95rem; color: var(--ink-soft); }

/* ---------- the day ---------- */
.day-head { margin-bottom: clamp(3rem, 8vw, 6rem); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: minmax(7rem, 15rem) 1fr; gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(3rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line);
}
.timeline time {
  font: 400 clamp(2.6rem, 7vw, 5rem)/1 var(--display); font-variant-numeric: tabular-nums;
  color: var(--accent); letter-spacing: -.03em;
}
.timeline h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .9rem; }
.timeline p { max-width: 34em; font-size: 1.12rem; }
.timeline .note { margin-top: 1.2rem; transform: rotate(-1.5deg); transform-origin: left; }

/* ---------- photos ---------- */
.photo-grid { columns: 3 260px; column-gap: 1.6rem; margin-top: 2.5rem; }
.polaroid, .photo-grid figure {
  margin: 0 0 1.6rem; background: #fff; padding: .6rem .6rem 0; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22); color: #2a1a10; break-inside: avoid;
}
.photo-grid figure:nth-child(odd) { transform: rotate(-1.2deg); }
.photo-grid figure:nth-child(even) { transform: rotate(1deg); }
.polaroid img, .photo-grid img, .photo-grid video { width: 100%; height: auto; display: block; }
.polaroid figcaption, .photo-grid figcaption { font: 500 1.35rem var(--hand); padding: .5rem .2rem .7rem; text-align: center; }

/* ---------- trips ---------- */
.trip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.trip-grid article { padding: 1.6rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.trip-grid h3 { margin: 1rem 0 .6rem; }
.trip-grid p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.tag { font: 500 1.25rem var(--hand); color: var(--accent); }
.price-line { margin-top: 2.5rem; font: 400 clamp(1.2rem, 2.2vw, 1.6rem)/1.4 var(--display); max-width: 30em; }

/* ---------- faq ---------- */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font: 600 1.2rem/1.3 var(--display);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 400; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); padding-right: 2rem; }

/* ---------- hello ---------- */
.hello { padding-bottom: clamp(12rem, 24vw, 18rem); overflow: hidden; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2.2rem; }
.form label { display: grid; gap: .4rem; font-weight: 500; font-size: .95rem; }
.form .full { grid-column: 1 / -1; }
.opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1.05rem; font-weight: 400; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .8rem .9rem; width: 100%; min-height: 3.1rem; color-scheme: light dark;
}
/* iPhone Safari draws date fields wider than their box unless told otherwise */
.form label { min-width: 0; }
.form input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%; text-align: left;
}
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form select option { color: #1a1a1a; background: #fff; }
.form ::placeholder { color: var(--ink-soft); opacity: .8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--accent); }
.form .bad { border-color: #ff7b5c; }
.form button { margin-top: .5rem; }
.or { margin-top: 1.5rem; color: var(--ink-soft); }
.dunes-night { height: clamp(110px, 18vw, 200px); }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem; font-size: .9rem;
  background: var(--dune); color: var(--ink);
}

/* ---------- the road ---------- */
.road { position: fixed; inset: auto 0 0 0; height: var(--road-h); z-index: 15; pointer-events: none; }
.road-dune { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--dune); }
.road-car { position: absolute; left: 0; bottom: 14px; width: 62px; height: auto; will-change: transform; }

/* ---------- small screens ---------- */
@media (max-width: 1560px) { .disc.moon { opacity: .3; } }
@media (max-width: 820px) {
  .two, .patrol-card, .host-grid { grid-template-columns: 1fr; }
  .host .polaroid { max-width: 340px; }
  .trip-grid { grid-template-columns: 1fr 1fr; }
  .col-yes { transform: none; }
}
@media (max-width: 560px) {
  .clock span { display: none; }
  .brand-en { font-size: 1.05rem; }
  .clock { display: none; }
  .top-cta { padding: .45rem .8rem; }
  .timeline li { grid-template-columns: 1fr; gap: .6rem; }
  .trip-grid, .form, .specs { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .hero { padding-bottom: 11rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
