:root {
  --ink: #171717;
  --soft-ink: #67635d;
  --paper: #f4f1ec;
  --white: #fff;
  --line: #e4dfd7;
  --accent: #b79a68;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(29, 25, 20, .10);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { color: inherit; }

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 88px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%;
  display: inline-grid; place-items: center; font-family: Georgia, serif; font-size: 20px;
}
.brand-mark.large { width: 58px; height: 58px; font-size: 32px; margin: 0 auto 24px; }
.brand-word { font-size: 18px; font-weight: 700; letter-spacing: .32em; }
.desktop-nav { display: flex; gap: 22px; }
.nav-button { border: 0; background: transparent; padding: 10px 2px; cursor: pointer; font-size: 14px; border-bottom: 2px solid transparent; }
.nav-button.active { border-color: var(--accent); }

.hero {
  min-height: 510px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(120deg, #3c3935, #797166);
  background-size: cover;
  background-position: center;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.72), rgba(10,10,10,.18) 55%, rgba(10,10,10,.05)); }
.hero-content { position: relative; color: white; padding: 70px clamp(24px, 7vw, 110px) 115px; max-width: 1000px; }
.hero h1, .subpage-hero h1 { margin: 8px 0 10px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(42px, 7vw, 78px); line-height: .98; }
.hero p:not(.eyebrow), .subpage-hero p:not(.eyebrow) { font-size: 18px; opacity: .92; }
.eyebrow { margin: 0; letter-spacing: .22em; font-size: 11px; font-weight: 700; }
.eyebrow.dark { color: var(--soft-ink); }

.content { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 110px; }
.content.overlap { position: relative; margin-top: -65px; }
.card { background: var(--white); border: 1px solid rgba(0,0,0,.045); border-radius: var(--radius); box-shadow: var(--shadow); }
.stay-summary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px clamp(22px, 4vw, 44px); gap: 26px; }
.date-block { display: flex; flex-direction: column; gap: 4px; }
.date-block:last-child { text-align: right; }
.meta, .info-kicker { color: var(--soft-ink); font-size: 10px; letter-spacing: .18em; font-weight: 800; }
.date-block strong { font-family: Georgia, serif; font-size: clamp(24px, 3vw, 34px); font-weight: 400; }
.date-block small { color: var(--soft-ink); }
.date-arrow { color: #a6a098; font-size: 28px; }

.section-block { margin-top: 58px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
h2 { margin: 7px 0 0; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 40px); font-weight: 400; }
.text-button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; padding: 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-card { min-height: 135px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.88); cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; transition: transform .18s ease, box-shadow .18s ease; }
.quick-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.quick-icon { width: 40px; height: 40px; border: 1px solid #d7d0c6; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }

.upgrade-list { display: grid; gap: 14px; }
.upgrade-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.upgrade-card h3 { margin: 0 0 6px; font-size: 18px; }
.upgrade-card p { margin: 0; color: var(--soft-ink); line-height: 1.5; }
.upgrade-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.price { font-weight: 800; white-space: nowrap; }
.buy-button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 19px; cursor: pointer; min-width: 94px; }
.buy-button:disabled { background: #d4d0ca; color: #77716a; cursor: not-allowed; }
.purchased-pill { border-radius: 999px; padding: 10px 14px; background: #e7f2e9; color: #28613a; font-weight: 700; font-size: 13px; }
.unavailable { font-size: 12px; color: var(--soft-ink); max-width: 210px; text-align: right; }
.quantity { width: 58px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }

.subpage-hero { background: #181818; color: #fff; padding: 88px max(24px, calc((100vw - 1120px)/2)) 72px; }
.subpage-hero h1 { font-size: clamp(42px, 6vw, 68px); }
.subpage-content { padding-top: 46px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card { padding: 28px; min-height: 190px; box-shadow: none; }
.info-card h3 { margin: 8px 0 18px; font-size: 21px; }
.info-card p, .list-card li { color: #4f4b46; line-height: 1.65; }
.secret { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: .08em; background: #f2efe9; padding: 11px 14px; border-radius: 10px; margin-top: 6px; }
.list-card { margin-top: 18px; padding: 30px; box-shadow: none; }
.list-card ul { margin: 20px 0 0; padding-left: 22px; }
.list-card li + li { margin-top: 10px; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; min-height: 210px; display: flex; flex-direction: column; }
.guide-card h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; margin: 0 0 12px; }
.guide-card p { color: var(--soft-ink); line-height: 1.55; flex: 1; }
.guide-card a { color: var(--ink); font-weight: 700; }
.banner { padding: 14px 18px; margin-bottom: 18px; background: #fff4d7; border: 1px solid #ead6a3; border-radius: 12px; }
.banner.success { background: #e7f2e9; border-color: #c4ddca; }
.fine-print { margin-top: 24px; color: var(--soft-ink); font-size: 12px; line-height: 1.6; }

.support-button { position: fixed; right: 22px; bottom: 22px; z-index: 40; background: #171717; color: #fff; text-decoration: none; border-radius: 999px; padding: 14px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.mobile-nav { display: none; }
.loading-screen, .error-screen { min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; padding: 40px; }
.loader { width: 34px; height: 34px; border: 3px solid #ded8cf; border-top-color: #171717; border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-card { max-width: 520px; }
.error-card h1 { font-family: Georgia, serif; font-weight: 400; font-size: 42px; }

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .site-header { height: 62px; padding: 0 20px; }
  .brand-word { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .desktop-nav { display: none; }
  .hero { min-height: 455px; }
  .hero-content { padding: 54px 24px 112px; }
  .content { width: min(100% - 28px, 1120px); padding-bottom: 84px; }
  .content.overlap { margin-top: -58px; }
  .stay-summary { gap: 9px; padding: 22px 18px; }
  .date-block strong { font-size: 22px; }
  .date-arrow { font-size: 20px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card { min-height: 116px; }
  .section-block { margin-top: 46px; }
  .upgrade-card { align-items: flex-start; flex-direction: column; }
  .upgrade-actions { width: 100%; justify-content: space-between; }
  .unavailable { text-align: left; max-width: none; }
  .subpage-hero { padding: 65px 22px 50px; }
  .info-grid, .guide-grid { grid-template-columns: 1fr; }
  .support-button { bottom: 88px; right: 14px; }
  .mobile-nav { position: fixed; display: grid; grid-template-columns: repeat(4, 1fr); left: 0; right: 0; bottom: 0; min-height: 68px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); z-index: 35; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav-button { border: 0; background: transparent; font-size: 11px; color: #716b64; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
  .mobile-nav-button span { font-size: 20px; }
  .mobile-nav-button.active { color: #111; font-weight: 700; }
}
