:root {
  --ink: #0B0E14;
  --panel: #141A26;
  --line: #232B3B;
  --amber: #E8A33D;
  --amber-dim: #6b4c1c;
  --text: #E9E4D8;
  --muted: #8B93A3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: var(--ink); }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,14,20,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  letter-spacing: .01em; text-decoration: none;
}
.brand span { color: var(--amber); }
.nav nav { display: flex; gap: 28px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 0; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 7.5vw, 88px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.01em;
  max-width: 12ch;
}
.hero p {
  margin-top: 28px; max-width: 52ch; color: var(--muted); font-size: 19px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; font-size: 16px;
  text-decoration: none; border-radius: 3px; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--amber); color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: #f0b458; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* waveform */
.wave { margin: 64px 0 0; display: block; width: 100%; height: 120px; }
.wave rect { fill: var(--amber); }
.wave .dim { fill: var(--line); }

@keyframes meter {
  0%, 100% { transform: scaleY(.35); } 30% { transform: scaleY(1); }
  55% { transform: scaleY(.6); } 75% { transform: scaleY(.85); }
}
.wave rect { transform-origin: center bottom; animation: meter 2.6s ease-in-out infinite; }
.wave rect:nth-child(2n) { animation-duration: 3.1s; animation-delay: -.4s; }
.wave rect:nth-child(3n) { animation-duration: 2.2s; animation-delay: -.9s; }
.wave rect:nth-child(5n) { animation-duration: 3.6s; animation-delay: -1.4s; }
@media (prefers-reduced-motion: reduce) {
  .wave rect { animation: none; transform: scaleY(.55); }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
section { padding: 96px 0; }
.kicker {
  font-size: 13px; color: var(--amber); letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 600;
}
h2 {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 44px);
  font-weight: 600; line-height: 1.1; max-width: 22ch;
}
.section-intro { margin-top: 18px; color: var(--muted); max-width: 56ch; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 56px; border: 1px solid var(--line); }
.service { background: var(--ink); padding: 32px 28px 36px; }
.service h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; font-weight: 600; }
.service p { color: var(--muted); font-size: 15.5px; }
.service .price { display: block; margin-top: 20px; font-size: 14px; color: var(--amber); }

/* room */
.room { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.gear { list-style: none; margin-top: 8px; }
.gear li {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.gear li span:last-child { color: var(--muted); text-align: right; }

/* rates */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.rate { border: 1px solid var(--line); padding: 30px 26px; border-radius: 4px; }
.rate.featured { border-color: var(--amber-dim); background: linear-gradient(180deg, rgba(232,163,61,.06), transparent 60%); }
.rate h3 { font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.rate strong { display: block; font-family: var(--serif); font-size: 40px; margin: 12px 0 4px; font-weight: 600; }
.rate strong small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 400; }
.rate p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* booking */
.booking { border-top: 1px solid var(--line); }
form { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; color: var(--muted); }
input, select, textarea {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 12px 14px; font: inherit; border-radius: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); }
form .btn-primary { grid-column: 1 / -1; justify-self: start; cursor: pointer; border: 0; font-family: inherit; }
.demo-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  section { padding: 72px 0; }
  .hero { padding-top: 72px; }
  .services, .rates { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; gap: 40px; }
  form { grid-template-columns: 1fr; }
  .nav { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav nav { gap: 20px; flex-wrap: wrap; }
}
