/* ReservationReady — Newsprint and Brass */
:root {
  --bg: #e8e8e3;
  --surface: #dcdcd6;
  --ink: #181715;
  --muted: #5c5b56;
  --accent: #bfb21a;
  --accent-ink: #181715;
  --action: #181715;
  --action-ink: #e8e8e3;
  --inv-bg: #181715;
  --inv-surface: #242321;
  --inv-ink: #e8e8e3;
  --inv-muted: #91908d;
  --inv-accent: #bfb21a;
  --inv-action: #bfb21a;
  --inv-action-ink: #181715;
  --radius: 14px;
  --wrap: 1240px;
  --header-h: 120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Red Hat Display", "Red Hat Text", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h1 { letter-spacing: -0.035em; font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p, li {
  text-wrap: pretty;
  orphans: 3;
  widows: 3;
}

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
  border-radius: 4px;
}
.band-dark :focus-visible,
.site-footer :focus-visible,
.price-card.featured :focus-visible {
  outline-color: var(--inv-action);
}

img, video { display: block; max-width: 100%; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  padding-inline: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  background: var(--action);
  color: var(--action-ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid rgba(24, 23, 21, 0.14);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a, .main-nav .nav-soon {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.main-nav a:hover { background: var(--surface); }
.nav-group-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 12px;
  margin-right: 2px;
}
.nav-soon {
  color: var(--muted);
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--action);
  color: var(--action-ink);
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-light {
  background: var(--inv-action);
  color: var(--inv-action-ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 48px;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
}
html.m-enter .hero[data-enter] { animation: hero-enter 0.7s ease-out both; }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.hero-grid > div:first-child { grid-column: 1 / span 7; }
.hero-grid > aside { grid-column: 8 / span 5; }
.hero-lead { font-size: 1.15rem; max-width: 34em; }
.hero-note { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
.fact-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 0.95rem;
}
.fact-title {
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.6em;
}
.fact-panel p { margin-bottom: 0.7em; }
.fact-panel p:last-child { margin-bottom: 0; }
.fact-panel a { text-underline-offset: 2px; }

/* ---------- Sections ---------- */
section { padding: 48px 0; }
.section-intro { max-width: 40em; font-size: 1.05rem; }

/* ---------- Pack index ---------- */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1100px) {
  .pack-grid { grid-template-columns: repeat(3, 1fr); }
}
.pack-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
.pack-card:hover { transform: translateY(-2px); }
.pack-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.pack-card:hover img { transform: scale(1.02); }
.pack-card-body { padding: 18px 20px 20px; }
.pack-card h3 { margin-bottom: 0.25em; }
.pack-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.pack-card.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
}
.pack-card.wide img {
  width: 320px;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.pack-card.wide .pack-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- What you get ---------- */
.get-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.get-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 0;
}
.get-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}
.get-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 6px;
  height: 10px;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tier-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}
.partner-line { margin-top: 28px; color: var(--muted); }

/* ---------- Automation (dark band) ---------- */
.band-dark {
  background: var(--inv-bg);
  color: var(--inv-ink);
}
.band-dark .section-intro { color: var(--inv-ink); }
.automation-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
  margin-top: 8px;
}
.automation-grid > div:first-child { grid-column: 1 / span 7; }
.automation-grid > .price-box { grid-column: 8 / span 5; }
.price-box {
  background: var(--inv-surface);
  border-radius: var(--radius);
  padding: 28px;
}
.price-box .big-price { font-size: 2rem; font-family: "Red Hat Display", sans-serif; }
.price-box .per { color: var(--inv-muted); }
.counter {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 232, 227, 0.16);
  font-size: 0.95rem;
  color: var(--inv-muted);
}
.counter strong { color: var(--inv-ink); }
.math-box {
  margin-top: 32px;
  background: var(--inv-surface);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.math-box h3 { font-size: 1.1rem; }
.math-box table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.math-box th, .math-box td { text-align: left; padding: 8px 12px 8px 0; vertical-align: top; }
.math-box th { color: var(--inv-muted); font-weight: 400; }
.math-box tr + tr th, .math-box tr + tr td { border-top: 1px solid rgba(232, 232, 227, 0.12); }
.math-box td:last-child, .math-box th:last-child { text-align: right; padding-right: 0; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
}
.price-card.featured {
  background: var(--inv-bg);
  color: var(--inv-ink);
}
.price-card.featured .price-muted { color: var(--inv-muted); }
.price-card h3 { font-size: 1.4rem; }
.price-amount {
  font-family: "Red Hat Display", sans-serif;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 4px;
}
.price-muted { color: var(--muted); font-size: 0.95rem; }
.price-card ul { margin-top: 20px; }
.price-card li { margin-bottom: 0.6em; }
.standalone {
  margin-top: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.ordering-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 24px; }
.faq-list details {
  border-top: 1px solid rgba(24, 23, 21, 0.14);
  padding: 18px 0;
}
.faq-list details:last-child { border-bottom: 1px solid rgba(24, 23, 21, 0.14); }
.faq-list summary {
  cursor: pointer;
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
}
.faq-list details[open ] summary::after { content: "-"; }
.faq-list details p { margin: 12px 0 0; max-width: 38em; }

/* ---------- Pack view ---------- */
.pack-view { padding-top: 32px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 24px;
  min-height: 44px;
}
.room-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 40px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.chip:hover { background: var(--accent); color: var(--accent-ink); }
.photo-block {
  max-width: 880px;
  margin: 0 auto 64px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.photo-block h3 { font-size: 1.4rem; margin-bottom: 16px; }

/* Before/after slider */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 4 / 3);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  --pos: 50%;
  touch-action: pan-y;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.compare .img-after { z-index: 1; }
.compare .img-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  z-index: 3;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.compare-handle::before {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  white-space: nowrap;
}
.compare-tag {
  position: absolute;
  top: 12px;
  z-index: 4;
  background: rgba(24, 23, 21, 0.85);
  color: var(--action-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
}
.compare-tag.before { left: 12px; }
.compare-tag.after { right: 12px; }
.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.compare:focus-within {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

.fade-video { margin-top: 20px; }
.fade-video video {
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface);
}
.guide-link {
  display: inline-block;
  margin-top: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  line-height: 44px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--inv-bg);
  color: var(--inv-ink);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.footer-brand {
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.footer-nav a {
  color: var(--inv-muted);
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}
.footer-nav a:hover { color: var(--inv-ink); }
.footer-soon {
  color: var(--inv-muted);
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  font-size: 0.95rem;
}
.credits {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 232, 227, 0.16);
  color: var(--inv-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}
.credits a { color: var(--inv-muted); }

/* ---------- Views ---------- */
[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > div:first-child, .hero-grid > aside { grid-column: 1 / -1; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .automation-grid { grid-template-columns: 1fr; }
  .automation-grid > div:first-child, .automation-grid > .price-box { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: 1fr; }
  .get-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 160px; }
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  section { padding: 36px 0; }
  .hero { padding: 36px 0; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack-card.wide { flex-direction: column; }
  .pack-card.wide img { width: 100%; aspect-ratio: 4 / 3; }
  .header-inner { gap: 8px; }
  .room-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .chip { width: 100%; text-align: center; }
  .btn { width: 100%; }
  .price-card { padding: 24px; }
  .price-amount { font-size: 2rem; }
  .footer-nav { gap: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
