:root {
  --blue: #16293B;
  --green: #3F6B4D;
  --green-text: #8FBFA2;
  --bg: #0C0F11;
  --surface: #13181B;
  --surface-2: #1C2328;
  --line: #232B31;
  --input: #12171A;
  --input-line: #2E3840;
  --muted: #9AA6AE;
  --soft: #C4CDD3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: #fff; font-family: Manrope, 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: #fff; }
a:hover { color: var(--green-text); }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
input, select, button { font: inherit; }
h1, h2, h3 { font-family: Jost, sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* view switching */
.detail-only { display: none; }
body.is-detail .detail-only { display: block; }
body.is-detail .detail-hero.detail-only { display: grid; }
body.is-detail .home-only { display: none; }

/* header */
.hero-wrap { background: var(--blue); border-bottom: 1px solid #22303B; }
.nav { padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { text-decoration: none; font-family: Jost, sans-serif; font-size: 18px; letter-spacing: .32em; text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.nav-links a { text-decoration: none; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 14px 0; }
.nav-links .nav-book { padding: 13px 22px; border: 1px solid rgba(255,255,255,.5); }

.hero { padding-top: 150px; padding-bottom: 170px; display: flex; flex-direction: column; gap: 32px; }
.kicker { margin: 0; font-size: 12px; letter-spacing: .36em; text-transform: uppercase; color: #C9D6E0; }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(48px, 8vw, 112px); line-height: .98; letter-spacing: -.02em; max-width: 12ch; }
.rule { width: 64px; height: 1px; background: rgba(255,255,255,.6); }
.lead { margin: 0; font-size: 17px; line-height: 1.7; max-width: 44ch; color: #DCE5EC; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.detail-hero { padding-top: 72px; padding-bottom: 96px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; }
.detail-copy { display: flex; flex-direction: column; gap: 24px; }
.detail-copy h1 { margin: 0; font-weight: 300; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; }
.back { color: #C9D6E0; text-decoration: none; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; padding: 12px 0; align-self: flex-start; }
#detail-img { width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-2); }

/* buttons */
.btn-solid, .btn-ghost, .btn-outline { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; border-radius: 0; color: #fff; }
.btn-solid { background: var(--green); border: 1px solid var(--green); padding: 18px 32px; }
.btn-solid:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); padding: 17px 31px; }
.btn-outline { background: transparent; border: 1px solid #3A4650; min-height: 48px; font-size: 12px; }
.btn-outline:hover { border-color: var(--green-text); }

/* sections */
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 32px; margin-bottom: 48px; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { display: flex; flex-direction: column; gap: 14px; }
.section-head.plain { border: 0; padding: 0; margin-bottom: 44px; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--green-text); font-weight: 600; }
h2 { margin: 0; font-weight: 300; font-size: clamp(36px, 5vw, 48px); line-height: 1.05; }
.muted { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.narrow { max-width: 36ch; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: 16px 16px 20px; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-2); }
.card-head { display: flex; flex-direction: column; gap: 6px; }
.num { font-size: 11px; letter-spacing: .24em; color: var(--green-text); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { margin: 0; font-weight: 400; font-size: 22px; }
.price { font-size: 13px; color: var(--soft); }
.card .muted { font-size: 14px; flex-grow: 1; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tier { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.tier.popular { background: #151C21; border-color: #3A4650; }
.tier.chosen { border-color: var(--green); }
.tier-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; gap: 12px; }
.level { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--green-text); font-weight: 600; }
.badge { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; background: var(--green); }
.tier h3 { margin: 0; font-weight: 300; font-size: 32px; line-height: 1.1; }
.tier-price { margin: 0; font-family: Jost, sans-serif; font-size: 24px; }
.tier ul { margin: 0; padding: 20px 0 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; border-top: 1px solid #2A333A; }
.tier li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.tier li span:first-child { color: var(--green-text); }
.tier .btn-solid, .tier .btn-outline { min-height: 52px; padding: 0 16px; font-size: 12px; }

/* booking */
.book { background: #0F1417; border-top: 1px solid var(--surface-2); border-bottom: 1px solid var(--surface-2); }
.book-inner { max-width: 760px; margin: 0 auto; padding: 112px 32px; }
form { display: flex; flex-direction: column; gap: 26px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 10px; }
label, legend { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
input, select { height: 54px; padding: 0 16px; border: 1px solid var(--input-line); border-radius: 0; background: var(--input); font-size: 16px; color: #fff; }
input:focus, select:focus { border-color: var(--green-text); outline: none; }
input.date { max-width: 280px; color-scheme: dark; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 12px; }
.days { display: flex; gap: 10px; flex-wrap: wrap; }
.day { min-width: 66px; height: 48px; padding: 0 16px; border-radius: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; cursor: pointer; background: var(--input); color: #fff; border: 1px solid var(--input-line); }
.day[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.submit { align-self: flex-start; height: 58px; padding: 0 40px; }
.status { margin: 0; color: #F2A7A0; font-size: 15px; }
.status:empty { display: none; }
.thanks { background: var(--surface); border: 1px solid var(--line); padding: 44px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.thanks[hidden], form[hidden] { display: none; }
.thanks h3 { margin: 0; font-weight: 300; font-size: 30px; }
.thanks .btn-ghost { margin-top: 8px; padding: 14px 26px; font-size: 12px; }

/* footer */
.footer { background: #080A0B; }
.footer-inner { padding-top: 64px; padding-bottom: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .logo { font-size: 16px; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; font-size: 14px; color: var(--soft); }

@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 80px; padding-bottom: 100px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .book-inner { padding: 80px 20px; }
  .nav-links { gap: 20px; }
  #detail-img { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
