
:root {
  --ink: #17140f;
  --navy: #1b2430;
  --deep: #10161e;
  --ivory: #f3efe6;
  --paper: #faf7f2;
  --card: #fffdf9;
  --gold: #7d5c34;
  --gold-line: #b89664;
  --muted: #6d655c;
  --line: rgba(23, 20, 15, 0.12);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --nav: 76px;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(16, 22, 30, 0.12);
}

html:lang(zh) {
  --serif: "Noto Serif SC", "Songti SC", PMingLiU, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
html[lang="zh-Hant"] {
  --serif: "Noto Serif TC", "Songti TC", PMingLiU, serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
}
html[data-font="jp"] {
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Segoe UI", sans-serif;
}
html[data-font="kr"] {
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
}
html[data-font="ar"] {
  --serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
  --sans: "Noto Sans Arabic", "Segoe UI", sans-serif;
}
html[data-font="he"] {
  --serif: "Noto Serif Hebrew", "Noto Sans Hebrew", serif;
  --sans: "Noto Sans Hebrew", "Segoe UI", sans-serif;
}
html[data-font="hi"] {
  --serif: "Noto Serif Devanagari", "Noto Sans Devanagari", serif;
  --sans: "Noto Sans Devanagari", "Segoe UI", sans-serif;
}
html[data-font="bn"] {
  --serif: "Noto Serif Bengali", "Noto Sans Bengali", serif;
  --sans: "Noto Sans Bengali", "Segoe UI", sans-serif;
}
html[data-font="th"] {
  --serif: "Noto Serif Thai", "Noto Sans Thai", serif;
  --sans: "Noto Sans Thai", "Segoe UI", sans-serif;
  line-height: 1.85;
}
html[data-font="noto"] {
  --serif: "Noto Serif", "Palatino Linotype", serif;
  --sans: "Noto Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
body.home { background: var(--deep); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: #e6d3b4; color: #1a140e; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ivory);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold-line);
  z-index: 70;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  z-index: 50;
  color: var(--ivory);
}
.nav.solid {
  background: rgba(250, 247, 242, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a.active { box-shadow: inset 0 -1px 0 currentColor; }
.nav-cta {
  border: 1px solid currentColor;
  padding: 8px 14px;
}
.lang-wrap { position: relative; }
.lang {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 8px;
  text-transform: none;
}
.lang-menu[hidden] { display: none; }
.safari-gate[hidden] { display: none; }
.safari-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 22, 30, 0.82);
}
.safari-card {
  position: relative;
  width: min(680px, 100%);
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
  color: var(--ivory);
  box-shadow: var(--shadow);
}
.safari-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.safari-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 72px 32px 32px;
  background: linear-gradient(180deg, rgba(16, 22, 30, 0) 0%, rgba(16, 22, 30, 0.5) 26%, rgba(16, 22, 30, 0.9) 100%);
}
.safari-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ivory);
}
.safari-note {
  margin: 16px 0 0;
  max-width: 38em;
  color: rgba(243, 239, 230, 0.86);
  font-size: 16px;
  line-height: 1.7;
}
.safari-card .btn {
  width: 100%;
  margin-top: 26px;
  background: var(--ivory);
  color: var(--deep);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 15px;
}
html.safari-locked,
html.safari-locked body { overflow: hidden; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(440px, 92vw);
  max-height: min(70vh, 540px);
  overflow: auto;
  background: var(--ivory);
  color: var(--ink);
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu button {
  text-align: start;
  background: transparent;
  border: 0;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.lang-menu button[aria-current="true"] { background: rgba(184, 150, 100, 0.28); }
.lang-menu button:hover { background: rgba(23, 20, 15, 0.05); }
html:not([lang="en"]) .nav-links a { text-transform: none; letter-spacing: 0.02em; }
html[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .menu { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .prose,
html[dir="rtl"] .lede,
html[dir="rtl"] .crumbs,
html[dir="rtl"] .table th,
html[dir="rtl"] .table td { text-align: right; }
.menu {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  position: relative;
}
.menu span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
}
.menu span:first-child { top: 16px; }
.menu span:last-child { top: 24px; }

.sitbar {
  position: fixed;
  top: var(--nav);
  left: 0;
  right: 0;
  z-index: 45;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
  background: var(--navy);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sitbar a { color: var(--gold-line); }

main { min-height: 70vh; }
body:not(.home) main { padding-top: var(--nav); }
body.sitting main { padding-top: calc(var(--nav) + 42px); }

.hero {
  min-height: 100svh;
  position: relative;
  color: var(--ivory);
  display: grid;
  align-items: end;
}
.hero img, .media img, .fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 22, 30, 0.28), rgba(16, 22, 30, 0.18) 40%, rgba(16, 22, 30, 0.78)),
    linear-gradient(90deg, rgba(16, 22, 30, 0.45), transparent 55%);
}
.hero-copy, .wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.hero-copy { position: relative; padding: 0 0 72px; }
.eyebrow, .kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-line);
  margin: 0 0 14px;
}
.hero h1, .page-hero h1, .display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
  font-size: clamp(52px, 8vw, 104px);
  margin: 0;
}
.lede {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.65;
  margin: 22px 0 0;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 12px 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  background: transparent;
}
.btn.solid { background: var(--ivory); color: var(--deep); }
.btn.line { border-color: currentColor; color: inherit; }
.btn.gold { background: var(--navy); color: var(--ivory); }
.btn.small { padding: 8px 12px; }

.band { background: var(--paper); color: var(--ink); padding: 88px 0; }
.band.navy { background: var(--deep); color: var(--ivory); }
.band.ivory { background: var(--ivory); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
h1, h2, h3 { overflow-wrap: break-word; }
h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(36px, 5vw, 64px); margin: 0 0 18px; }
h3 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 10px; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.nav.solid .muted, .band .muted { color: var(--muted); }
.band.navy .muted, .band.navy .card p { color: rgba(243, 239, 230, 0.78); }
.band.navy .card .meta { color: var(--gold-line); }

.figure { margin: 0; }
.figure figcaption, .caption {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.4;
}
.band.navy .figure figcaption { color: rgba(243, 239, 230, 0.7); }
.frame { overflow: hidden; background: #d9d2c6; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.frame.portrait { aspect-ratio: 4/5; }
.frame.landscape { aspect-ratio: 16/10; }
.frame.wide { aspect-ratio: 2/1; }
.frame.square { aspect-ratio: 1; }
a.frame:hover img, button.frame:hover img { transform: scale(1.04); }
button.frame {
  border: 0;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  display: block;
  background: #d9d2c6;
}

.fleet-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card h3 { font-size: 32px; }
.card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card p { margin: 8px 0 0; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.chip.on { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.timeline { display: grid; gap: 0; }
.beat {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.beat time {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head a { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 12px;
}
.mosaic a {
  position: relative;
  overflow: hidden;
  color: white;
  text-decoration: none;
  display: block;
}
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(10, 14, 20, 0.72));
}
.mosaic span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--serif);
  font-size: 30px;
}

.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.path a {
  text-decoration: none;
  border-top: 1px solid var(--gold-line);
  padding-top: 16px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.path strong { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.05; }
.path em { margin-top: auto; font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--gold); }

.crumbs { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; }
.crumbs a { text-decoration: none; }
.page-hero { padding: 54px 0 10px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 88px); }
.specs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
}
.specs div { padding: 16px 12px; }
.specs dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.specs dd { margin: 6px 0 0; font-family: var(--serif); font-size: 26px; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.gallery .stack { display: grid; gap: 12px; }
.pull {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin: 28px 0;
  color: var(--navy);
}
.deckplan { display: grid; gap: 8px; margin: 18px 0 8px; }
.deck {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
}
.deck b { font-weight: 400; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.deck i {
  display: block;
  height: 28px;
  background: var(--navy);
  border-radius: 2px 14px 2px 2px;
  font-style: normal;
}
.deck:nth-child(1) i { width: 46%; margin-left: auto; height: 22px; background: var(--gold-line); }
.deck:nth-child(2) i { width: 62%; margin-left: auto; }
.deck:nth-child(3) i { width: 88%; }
.deck:nth-child(4) i { width: 78%; background: #3d4b5e; }

.days { display: grid; gap: 28px; }
.day {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.day .num { font-family: var(--serif); font-size: 42px; color: var(--gold); line-height: 1; }
.note {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--gold-line);
  color: var(--muted);
  font-size: 15px;
}

.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.month {
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px;
  cursor: pointer;
  min-height: 84px;
}
.month.on { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.month b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.month-detail {
  margin-top: 16px;
  padding: 20px;
  background: var(--ivory);
}

.compare { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 18px; }
select, input, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 400; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 26px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}
.checks input { width: auto; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.form-grid .wide { grid-column: 1 / -1; }
.brief {
  white-space: pre-wrap;
  background: var(--ivory);
  padding: 18px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
}

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { text-decoration: none; }
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps article { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
}

.footer {
  background: var(--deep);
  color: rgba(243, 239, 230, 0.82);
  padding: 48px 0 32px;
  font-size: 14px;
}
.footer .wrap { display: grid; gap: 18px; }
.footer a { color: var(--ivory); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px 22px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
.footer-nav a { text-decoration: none; }

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.92);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: var(--ivory); text-align: center; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: 0;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 28px 0; }

:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }

@media (max-width: 980px) {
  .split, .fleet-grid, .card-grid, .path, .related, .two, .form-grid, .checks, .day, .gallery {
    grid-template-columns: 1fr;
  }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .months { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .mosaic a:first-child { grid-row: auto; }
  .compare { grid-template-columns: 1fr; }
  .menu { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: var(--ivory);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 26px;
    gap: 16px;
  }
  .nav.open .nav-links { display: flex; }
  .beat { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 640px) {
  .hero-copy, .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav { padding: 0 16px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .months { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .band { padding: 64px 0; }
  .hero h1, .page-hero h1 { font-size: 40px; line-height: 1.15; }
  .specs dd { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame img { transition: none; }
  a.frame:hover img, button.frame:hover img { transform: none; }
}

