:root {
  --bg: #0c1814;
  --bg-deep: #07110e;
  --surface: #13231d;
  --surface-soft: #192b24;
  --text: #e8ece3;
  --muted: #aeb9ae;
  --line: rgba(225, 232, 220, 0.16);
  --accent: #d7a761;
  --accent-dark: #15150f;
  --radius: 2px;
  --header-height: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--accent-dark); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 68px);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), height .45s var(--ease);
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(7, 17, 14, .86);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(120%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; letter-spacing: .055em; white-space: nowrap; }
.brand-mark { width: 15px; height: 24px; border-left: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: skew(-8deg); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); font-size: 14px; }
.main-nav > a { color: rgba(232, 236, 227, .78); transition: color .25s ease; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a:focus-visible { color: var(--text); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); background: #e2b873; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.text-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(232,236,227,.55);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.text-link::after { content: ""; position: absolute; right: -24px; width: 12px; height: 1px; background: var(--accent); transition: width .25s var(--ease); }
.text-link:hover::after { width: 18px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -4; background: url("assets/hero.webp") 58% center / cover no-repeat; transform: scale(1.035); opacity: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(5,12,10,.92) 0%, rgba(5,12,10,.64) 42%, rgba(5,12,10,.18) 75%), linear-gradient(0deg, rgba(5,12,10,.78), transparent 38%, rgba(5,12,10,.22)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; box-shadow: inset 0 0 180px rgba(3,10,8,.5); pointer-events: none; }
.mist { position: absolute; z-index: -1; width: 78vw; height: 30vh; border-radius: 50%; filter: blur(60px); opacity: .16; background: rgba(190, 207, 204, .55); pointer-events: none; }
.mist-one { left: 18%; bottom: 14%; transform: rotate(-7deg); }
.mist-two { left: -30%; top: 17%; opacity: .08; }
.hero-content { width: min(1240px, calc(100% - 10vw)); margin: 0 auto; padding-top: min(11vh, 88px); }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.hero-eyebrow { opacity: 0; }
.title-mask { overflow: hidden; }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 6.7vw, 102px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 540;
  text-wrap: balance;
  transform: translateY(115%);
}
.hero-copy { max-width: 540px; margin: 30px 0 0; color: rgba(232,236,227,.8); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; opacity: 0; transform: translateY(16px); }
.hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 34px; opacity: 0; transform: translateY(14px); }
.hero-note { position: absolute; right: clamp(22px, 4vw, 68px); bottom: 34px; display: flex; gap: 34px; color: rgba(232,236,227,.58); font-size: 11px; letter-spacing: .1em; }

body.loaded .hero-photo { animation: heroPhoto 1.8s var(--ease) forwards; }
body.loaded .hero-eyebrow { animation: fadeUp .9s .25s var(--ease) forwards; }
body.loaded .hero h1 { animation: titleRise 1.15s .35s var(--ease) forwards; }
body.loaded .hero-copy { animation: fadeUp .9s .7s var(--ease) forwards; }
body.loaded .hero-actions { animation: fadeUp .9s .92s var(--ease) forwards; }
@keyframes heroPhoto { to { opacity: 1; transform: scale(1); } }
@keyframes titleRise { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.section { position: relative; padding: clamp(84px, 11vw, 154px) 0; }
.section-inner { width: min(1240px, calc(100% - 10vw)); margin: 0 auto; }
.manifesto { background: var(--bg); }
.manifesto::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 5% 55%, rgba(126,148,126,.1), transparent 32%); pointer-events: none; }
.manifesto-grid { display: grid; grid-template-columns: .72fr 1.35fr; gap: 13vw; align-items: start; }
.manifesto-lead { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--accent); color: var(--muted); font-size: 13px; }
h2 { margin: 0; max-width: 850px; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 520; }
.manifesto-copy > p { max-width: 690px; margin: 34px 0 42px; color: var(--muted); font-size: 18px; }
.detail-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: #cad2c8; font-size: 13px; }

.cabins { background: var(--bg-deep); }
.section-heading { max-width: 850px; margin-bottom: 64px; }
.section-heading p { max-width: 580px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.cabin-feature { display: grid; grid-template-columns: 1.55fr .75fr; min-height: 610px; background: var(--surface); }
.image-frame { overflow: hidden; }
.image-frame img { height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cabin-feature:hover .image-frame img { transform: scale(1.025); }
.cabin-info { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(34px, 4.2vw, 64px); }
h3 { margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 540; }
.cabin-info p, .secondary-copy p { color: var(--muted); margin: 22px 0; }
.cabin-facts { margin: auto 0 30px; }
.cabin-facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cabin-facts dt { color: var(--muted); font-size: 12px; }
.cabin-facts dd { margin: 4px 0 0; }
.cabin-secondary { display: grid; grid-template-columns: .85fr 1.15fr; margin-top: 24px; background: var(--surface-soft); }
.secondary-copy { padding: clamp(34px, 4.2vw, 64px); }
.secondary-copy p { max-width: 470px; }
.material-panel { min-height: 330px; display: grid; grid-template-columns: repeat(2, 1fr); background: radial-gradient(circle at 55% 48%, rgba(215,167,97,.12), transparent 24%), repeating-linear-gradient(95deg, rgba(232,236,227,.035) 0 1px, transparent 1px 46px), #10201a; }
.material-panel span { display: grid; place-items: center; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); color: rgba(232,236,227,.58); font-size: 13px; letter-spacing: .16em; }

.atmosphere { overflow: hidden; background: #0e1c17; }
.atmosphere::before { content: ""; position: absolute; width: 70vw; height: 70vw; left: -36vw; top: 15%; background: radial-gradient(circle, rgba(151,171,155,.12), transparent 68%); pointer-events: none; }
.atmosphere-intro { max-width: 820px; margin: 0 0 64px auto; }
.sensory-grid { display: grid; grid-template-columns: 1.45fr .55fr; grid-template-rows: auto auto; gap: 20px; }
.sensory { min-height: 260px; background: var(--surface); }
.sensory-image { grid-row: span 2; min-height: 700px; overflow: hidden; }
.sensory-image img { height: 100%; object-fit: cover; object-position: center; }
.sensory-text, .sensory-list { padding: clamp(30px, 3.5vw, 52px); }
.sensory-text p { margin: 24px 0 0; color: var(--muted); }
.sensory-quote { grid-column: 1 / -1; min-height: 330px; display: grid; place-items: center; padding: 50px; background: radial-gradient(circle at 50% 50%, rgba(215,167,97,.09), transparent 36%), #13231d; }
blockquote { max-width: 930px; margin: 0; text-align: center; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.04em; }
.sensory-list div { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.sensory-list div:first-of-type { margin-top: 20px; }
.sensory-list span { color: var(--muted); font-size: 12px; }
.sensory-list strong { font-weight: 500; }

.rhythm { background: var(--bg); }
.rhythm h2 { max-width: 750px; margin-bottom: 70px; }
.rhythm-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.rhythm-track article { min-height: 340px; padding: 28px 28px 20px 0; border-right: 1px solid var(--line); }
.rhythm-track article:not(:first-child) { padding-left: 28px; }
.rhythm-track article:last-child { border-right: 0; }
.rhythm-track time { color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.rhythm-track h3 { margin-top: 90px; font-size: 25px; }
.rhythm-track p { color: var(--muted); font-size: 14px; }

.closing { position: relative; min-height: 82dvh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.closing-bg { position: absolute; inset: 0; z-index: -2; background: url("assets/hero.webp") center 62% / cover no-repeat; filter: saturate(.72); }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5,13,10,.7); box-shadow: inset 0 0 200px rgba(2,8,6,.72); }
.closing-content { width: min(820px, calc(100% - 40px)); }
.closing-content h2 { margin-inline: auto; }
.closing-content p { max-width: 560px; margin: 28px auto 34px; color: rgba(232,236,227,.76); font-size: 18px; }

.footer { min-height: 240px; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-content: center; padding: 50px clamp(20px, 5vw, 80px); background: #06100d; border-top: 1px solid var(--line); }
.footer-brand { font-size: clamp(28px, 4vw, 54px); letter-spacing: -.04em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.footer-links a:hover { color: var(--accent); }
.footer p { grid-column: 1 / -1; margin: 0; color: rgba(232,236,227,.4); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.booking-dialog { width: min(610px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: clamp(30px, 5vw, 62px); overflow-y: auto; border: 1px solid rgba(232,236,227,.18); border-radius: var(--radius); background: #11211b; color: var(--text); box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.booking-dialog::backdrop { background: rgba(2,8,6,.76); backdrop-filter: blur(10px); }
.dialog-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; font-size: 25px; cursor: pointer; }
.booking-dialog h2 { font-size: clamp(38px, 6vw, 60px); }
.booking-form-wrap > p:not(.eyebrow), .booking-success > p:not(.success-mark) { color: var(--muted); }
#booking-form { display: grid; margin-top: 28px; }
#booking-form label { margin: 14px 0 7px; font-size: 13px; font-weight: 650; }
#booking-form input, #booking-form select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid rgba(232,236,227,.26); border-radius: var(--radius); background: #091611; color: var(--text); }
#booking-form input:focus, #booking-form select:focus { border-color: var(--accent); outline: 2px solid rgba(215,167,97,.24); }
.field-error { min-height: 20px; color: #ffb4a1; font-size: 12px; }
.submit-booking { margin-top: 22px; }
.booking-success { text-align: center; padding: 24px 0; }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid var(--accent); color: var(--accent); font-size: 28px; }
.booking-success h2 { margin-inline: auto; }
.booking-success .button { margin-top: 20px; }

@media (max-width: 980px) {
  .main-nav { gap: 18px; }
  .main-nav > a:nth-child(3) { display: none; }
  .hero h1 { font-size: clamp(46px, 7.4vw, 76px); }
  .manifesto-grid { gap: 8vw; }
  .cabin-feature { grid-template-columns: 1.25fr .75fr; min-height: 550px; }
  .rhythm-track { grid-template-columns: repeat(2, 1fr); }
  .rhythm-track article:nth-child(2) { border-right: 0; }
  .rhythm-track article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 767px) {
  :root { --header-height: 64px; }
  .site-header { padding-inline: 18px; }
  .brand { font-size: 13px; }
  .menu-toggle { position: relative; display: block; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-toggle span:first-child { top: 16px; }
  .menu-toggle span:nth-child(2) { top: 25px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
  .main-nav { position: fixed; inset: 64px 0 auto; display: grid; gap: 0; padding: 16px 18px 24px; background: rgba(7,17,14,.97); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s ease, visibility .3s; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav > a, .main-nav > a:nth-child(3) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav .button { margin-top: 18px; }
  .hero { align-items: flex-end; padding-bottom: 108px; }
  .hero-photo { background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,12,10,.85), rgba(5,12,10,.25)), linear-gradient(0deg, rgba(5,12,10,.94), transparent 66%); }
  .hero-content, .section-inner { width: calc(100% - 36px); }
  .hero-content { padding-top: 64px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 64px); line-height: 1; }
  .hero-copy { max-width: 430px; margin-top: 24px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 26px; }
  .hero-note { display: none; }
  .section { padding: 84px 0; }
  .manifesto-grid, .cabin-feature, .cabin-secondary, .sensory-grid { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 34px; }
  .manifesto-copy > p { font-size: 16px; }
  .detail-list { grid-template-columns: 1fr; gap: 12px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading p { font-size: 16px; }
  .cabin-feature { min-height: auto; }
  .cabin-image { min-height: 410px; }
  .cabin-info { min-height: 470px; padding: 32px 24px; }
  .cabin-secondary { margin-top: 16px; }
  .secondary-copy { padding: 36px 24px; }
  .material-panel { min-height: 280px; }
  .atmosphere-intro { margin: 0 0 44px; }
  .sensory-grid { grid-template-rows: auto; }
  .sensory-image { grid-row: auto; min-height: 480px; }
  .sensory-quote { grid-column: auto; padding: 52px 24px; }
  .rhythm h2 { margin-bottom: 48px; }
  .rhythm-track { grid-template-columns: 1fr; }
  .rhythm-track article, .rhythm-track article:not(:first-child) { min-height: 260px; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .rhythm-track h3 { margin-top: 48px; }
  .closing { min-height: 72dvh; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .footer p { grid-column: auto; }
}

@media (max-width: 420px) {
  .brand-mark { display: none; }
  .button { width: 100%; }
  .hero-actions .text-link { width: fit-content; }
  .hero h1 { font-size: 40px; }
  .cabin-image, .sensory-image { min-height: 340px; }
  blockquote { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-photo, .hero-eyebrow, .hero h1, .hero-copy, .hero-actions, .reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled, .main-nav { background: #07110e; backdrop-filter: none; }
  .booking-dialog::backdrop { backdrop-filter: none; }
}

