:root {
  --night: #0b1830;
  --night-2: #13254a;
  --star: #f4ecd8;
  --gold: #e9b949;
  --paper: #faf8f3;
  --paper-2: #f0ece2;
  --ink: #18202e;
  --muted: #5b6475;
  --line: #ddd6c7;
  --accent: #1d4e89;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --gutter: max(clamp(16px, 4vw, 48px), calc((100% - 1600px) / 2));
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1524;
    --paper-2: #151d31;
    --ink: #e8e4da;
    --muted: #9aa3b5;
    --line: #2a3550;
    --accent: #8fb6ec;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-wrap: break-word;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--star); color: var(--night); padding: 8px 12px; }

.wrap { width: 100%; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px var(--gutter);
  background: rgba(11, 24, 48, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--star);
}
.brand { display: flex; align-items: baseline; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.brand-name { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.brand-name.small { font-size: 18px; }
.brand-sub { font-size: 13px; opacity: .75; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { color: var(--star); text-decoration: none; font-size: 15px; opacity: .85; padding: 6px 0; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.lang { display: flex; gap: 4px; }
.lang button {
  font: 600 13px/1 var(--sans); padding: 15px 12px; min-width: 44px; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--star); border: 1px solid rgba(244, 236, 216, .35);
}
.lang button[aria-pressed="true"] { background: var(--star); color: var(--night); border-color: var(--star); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  min-height: min(82vh, 760px);
  padding: 48px var(--gutter) 0;
  background: radial-gradient(ellipse at 30% 20%, var(--night-2), var(--night) 70%);
  color: var(--star);
}
.sky { position: absolute; top: 6%; left: 46%; width: min(24vw, 360px); opacity: .9; }
.sky .lines line { stroke: rgba(244, 236, 216, .28); stroke-width: .35; }
.sky .star { fill: var(--star); }
.sky .vega { fill: #fff; filter: drop-shadow(0 0 3px #cfe0ff); }
.hero-text { position: relative; z-index: 1; max-width: 640px; padding-bottom: 48px; }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hero h1 { font-size: clamp(72px, 13vw, 168px); font-weight: 400; margin: 0; letter-spacing: .01em; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; opacity: .92; max-width: 34em; }
.hero-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.boat { position: relative; z-index: 1; align-self: end; width: 100%; max-width: 460px; justify-self: end; }
.boat .sail { fill: var(--star); opacity: .95; }
.boat .jib { opacity: .8; }
.boat .mast { stroke: var(--star); stroke-width: 2; }
.boat .hull { fill: #f7f3ea; stroke: var(--gold); stroke-width: 1.5; }
.boat .water { fill: none; stroke: rgba(244, 236, 216, .45); stroke-width: 2; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: var(--gold); color: var(--night); font: 600 15px/1.2 var(--sans);
  text-decoration: none; border: 1px solid var(--gold); cursor: pointer;
}
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn:hover { filter: brightness(1.06); }

/* Sections */
.band { padding: clamp(48px, 8vw, 96px) 0; }
.band.alt { background: var(--paper-2); }
.two p { max-width: 68ch; }
.two > * { min-width: 0; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 24px; }
.spec { background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.spec .v { font-family: var(--display); font-size: 26px; font-weight: 600; }
.spec .k { color: var(--muted); font-size: 14px; }

.timeline { list-style: none; margin: 24px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 24px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline .date { font-weight: 600; color: var(--muted); font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 12px; }
.gallery figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; }

.sale { background: var(--night); color: var(--star); }

/* Footer */
.foot { background: var(--night); color: var(--star); padding: 28px 0; border-top: 1px solid rgba(244, 236, 216, .15); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }
.toast { min-height: 1.6em; font-size: 14px; color: var(--gold); padding-top: 8px; }

@media (max-width: 1100px), (max-height: 500px) {
  html { scroll-padding-top: 0; }
  .top { position: static; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .sky { width: 44vw; left: auto; right: 4%; top: 3%; opacity: .45; }
  .boat { max-width: 260px; justify-self: center; }
  .hero-text { padding-bottom: 0; }
  .two { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { order: 3; width: 100%; font-size: 14px; }
  .brand-sub { display: none; }
  .spec { padding: 16px; }
  .spec .v { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
