/* Tokens mirror DESIGN-BRIEF.md */
:root {
  --ink: #202020;
  --ink-deep: #151515;
  --slate: #393d46;
  --muted: #767676;
  --line: rgba(150, 150, 150, 0.25);
  --fill: #e5e5e5;
  --fill-soft: #f6f6f6;
  --paper: #ffffff;
  --accent: #216e82;
  --scrim: rgba(0, 0, 0, 0.88);

  --banner-h: 0px; /* no concept banner on this page */
  --nav-h: 70px;
  --wide: 1060px;
  --read: 700px;
  --gutter: 16px;

  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--banner-h) + var(--nav-h) + 70px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--banner-h) + var(--nav-h));
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Concept banner (fixed, every page) ---------- */
.concept-banner {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  background: var(--ink-deep); color: #fff;
  font-size: 13px; line-height: 16px; text-align: center;
}

/* ---------- Header ---------- */
.site-nav {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
}
.site-nav .mark { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.site-nav .mark span { font-weight: 400; color: var(--muted); }
.site-nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { text-decoration: none; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 30px;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--fill-soft); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--small { min-height: 34px; padding: 0 20px; font-size: 14px; font-weight: 400; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(560px, 62vh); background: var(--fill); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .credit {
  position: absolute; right: 12px; bottom: 10px;
  padding: 2px 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; line-height: 18px;
}

/* ---------- Key details bar ---------- */
.details-bar {
  max-width: var(--wide); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.details-bar ul { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.details-bar li + li::before { content: "·"; padding: 0 10px; color: var(--muted); }
.details-bar .new { color: var(--muted); }

/* ---------- Title + pricing ---------- */
.intro {
  max-width: 900px; margin: 60px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 60px; align-items: start;
}
.eyebrow { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
h1 { margin: 0 0 20px; font-size: 50px; line-height: 60px; font-weight: 400; letter-spacing: -0.01em; }
.lede { margin: 0; }

.pricing { border-top: 1px solid var(--line); padding-top: 26px; }
.pricing h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.price-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; margin: 0 0 4px; }
.price-row b { white-space: nowrap; }
.calc { margin: 18px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc label { display: block; font-size: 14px; margin-bottom: 8px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--ink); }
.stepper button { width: 40px; height: 38px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.stepper button:disabled { color: var(--fill); cursor: default; }
.stepper output { flex: 1; text-align: center; font-weight: 500; }
.calc .total { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 700; }
.calc .per { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.pricing .btn + .btn { margin-top: 8px; }
.pricing .fine { margin: 10px 0 0; font-size: 12px; line-height: 17px; color: var(--muted); }

/* ---------- Sticky booking bar ---------- */
.book-bar {
  position: fixed; left: 0; right: 0; top: calc(var(--banner-h) + var(--nav-h)); z-index: 40;
  display: flex; justify-content: center; gap: 16px; padding: 8px var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--ink);
  transform: translateY(-120%); transition: transform .2s ease; visibility: hidden;
}
.book-bar.is-on { transform: none; visibility: visible; }

/* ---------- Gallery ---------- */
.gallery { max-width: var(--wide); margin: 60px auto 0; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--fill); cursor: zoom-in; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.03); }
.tile.fit-contain img { object-fit: contain; }
.tile .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 500; }
.credit-line { margin: 12px 0 0; font-size: 13px; line-height: 19px; color: var(--muted); }
.credit-line a { color: var(--accent); }

.placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  padding: 16px; text-align: center;
  background: repeating-linear-gradient(135deg, var(--fill) 0 14px, #ececec 14px 28px);
  color: var(--slate); font-size: 13px; line-height: 18px;
}
.placeholder strong { display: block; font-size: 14px; color: var(--ink); }

/* ---------- Reading sections ---------- */
.section { max-width: var(--read); margin: 70px auto 0; padding: 0 var(--gutter); }
.section h2 { margin: 0 0 12px; font-size: 24px; line-height: 30px; font-weight: 500; }
.section p { margin: 0 0 12px; }
.includes { margin: 0; padding-left: 18px; }
.includes li { margin-bottom: 2px; }

/* Accordion */
.days { border-top: 1px solid var(--ink); }
.day { border-bottom: 1px solid var(--line); }
.day button {
  width: 100%; display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.day .n { flex: 0 0 52px; font-size: 14px; color: var(--muted); }
.day .t { flex: 1; font-weight: 500; }
.day .chev { flex: 0 0 auto; width: 10px; height: 10px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.day button[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.day .panel { padding: 0 0 18px 68px; color: var(--slate); }
.day .panel[hidden] { display: none; }
.days-tools { display: flex; justify-content: flex-end; margin: -6px 0 6px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Explore */
.explore-intro { margin-bottom: 20px; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--wide); margin: 22px auto 0; padding: 0 var(--gutter); }
.place { border-top: 1px solid var(--ink); padding-top: 14px; }
.place .kind { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.place h3 { margin: 0 0 6px; font-size: 18px; line-height: 24px; font-weight: 500; }
.place p { margin: 0; font-size: 15px; line-height: 22px; color: var(--slate); }
.explore-filter { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.chip { min-height: 32px; padding: 0 14px; border: 1px solid var(--ink); background: var(--paper); font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.place[hidden] { display: none; }

/* Reviews (empty state) */
.reviews { max-width: var(--wide); margin: 80px auto 0; padding: 50px var(--gutter) 0; border-top: 1px solid var(--line); }
.reviews h2 { margin: 0 0 10px; font-size: 24px; font-weight: 400; }
.reviews p { margin: 0; color: var(--muted); }

/* Concept note */
.note { max-width: var(--wide); margin: 60px auto 0; padding: 0 var(--gutter); }
.note-box { padding: 26px 28px; background: var(--fill-soft); border-left: 3px solid var(--ink); }
.note-box h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.note-box p { margin: 0 0 8px; }
.note-box p:last-child { margin: 0; }

/* Next listings */
.more-listings { max-width: var(--wide); margin: 70px auto 0; padding: 0 var(--gutter); }
.more-listings h2 { margin: 0 0 20px; font-size: 24px; font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: block; text-decoration: none; }
.card .ph { aspect-ratio: 4 / 3; background: var(--fill); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .ph img { transform: scale(1.03); }
.card h3 { margin: 12px 0 2px; font-size: 16px; line-height: 22px; font-weight: 500; }
.card p { margin: 0; font-size: 14px; color: var(--slate); }
.card .meta { margin-top: 4px; font-weight: 500; color: var(--ink); }

/* Footer */
.site-foot { max-width: var(--wide); margin: 90px auto 0; padding: 26px var(--gutter) 60px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--muted); }
.site-foot p { margin: 0 0 6px; }

/* ---------- Dialogs: lightbox + concept note ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: var(--scrim); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 56px 72px 8px; min-height: 0; }
.lb-stage img, .lb-stage .placeholder { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lb-stage .placeholder { width: min(900px, 90vw); aspect-ratio: 16/9; height: auto; }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 16px 18px; font-size: 14px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-size: 12px; color: rgba(255,255,255,.75); }
.lb-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; font-size: 26px; line-height: 1; }
.lb-close { position: absolute; top: 14px; right: 16px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 22px; }

.notice { width: min(440px, calc(100vw - 32px)); padding: 30px 30px 26px; background: var(--paper); color: var(--ink); }
.notice h2 { margin: 0 0 10px; font-size: 24px; line-height: 30px; font-weight: 500; }
.notice p { margin: 0 0 18px; color: var(--slate); }

/* ---------- Index ---------- */
.index-head { max-width: var(--wide); margin: 80px auto 0; padding: 0 var(--gutter); }
.index-head h1 { max-width: 820px; }
.index-head .lede { max-width: 640px; font-size: 18px; line-height: 28px; color: var(--slate); }
.index-cards { max-width: var(--wide); margin: 50px auto 0; padding: 0 var(--gutter); }
.method { max-width: var(--wide); margin: 80px auto 0; padding: 40px var(--gutter) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.method h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.method p { margin: 0; font-size: 15px; line-height: 22px; color: var(--slate); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .pricing { max-width: 420px; }
  .places, .cards, .method { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --banner-h: 0px; --nav-h: 56px; }
  .concept-banner { font-size: 12px; }
  .site-nav { gap: 14px; padding: 0 var(--gutter); }
  .site-nav ul { display: none; }
  h1 { font-size: 34px; line-height: 40px; }
  .hero { height: 300px; }
  .details-bar { flex-direction: column; align-items: flex-start; }
  .details-bar ul { flex-direction: column; }
  .details-bar li + li::before { content: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .places, .cards, .method { grid-template-columns: 1fr; }
  .day .panel { padding-left: 0; }
  .lb-stage { padding: 56px 8px 8px; }
  .book-bar .btn { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
