@font-face {
  font-family: "Bodoni Moda";
  src: url("./assets/bodoni-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("./assets/bodoni-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0f0e10;
  --ink: #241c17;
  --ivory: #f5f1e8;
  --gold: #d6a11e;
  --warm-white: #fff1d9;
  --cream-muted: #d6c9bc;
  --rule: rgb(245 241 232 / 21%);
  --gutter: clamp(1.25rem, 4.8vw, 5rem);
  --serif: "Bodoni Moda", "Baskerville", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ivory);
  background-color: var(--night);
}
a { color: inherit; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }

.skip {
  position: absolute;
  z-index: 5;
  top: .75rem;
  left: var(--gutter);
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--ivory);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

.hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  min-height: max(44rem, 100svh);
  overflow: clip;
  background: var(--night);
}
.illumination, #flight, .film, .volume, .volume canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.illumination {
  background:
    radial-gradient(ellipse at 28% 25%, rgb(116 65 27 / 19%), transparent 49%),
    radial-gradient(ellipse at 75% 7%, rgb(119 74 32 / 8%), transparent 42%),
    #0f0e10;
}
#flight, .film, .volume { z-index: 0; }
.film { mix-blend-mode: screen; object-fit: fill; }
.volume canvas { z-index: auto; }

.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  margin-inline: var(--gutter);
  min-height: 4.35rem;
  border-bottom: 1px solid var(--rule);
  gap: .75rem;
}

.mark {
  display: grid;
  align-items: center;
  width: clamp(6rem, 9vw, 8.4rem);
  min-height: 2.75rem;
  flex-shrink: 0;
}
.mark img, .identity img {
  width: 100%;
  height: auto;
  display: block;
}
.header-links {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 3vw, 3.1rem);
  font-size: clamp(.69rem, .95vw, .86rem);
  font-weight: 550;
  letter-spacing: .025em;
}
.header-links a {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.hero-body {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: clamp(2rem, 7.3svh, 6.5rem) var(--gutter) clamp(2.5rem, 7svh, 5rem);
}
.lockup { width: min(100%, 80rem); text-align: center; }
.identity {
  position: relative;
  width: clamp(15rem, 30vw, 28rem);
  max-width: 100%;
  margin: 0 auto clamp(.45rem, 1.9svh, 1.35rem);
  aspect-ratio: 957 / 396;
}
.identity img, #reveal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#reveal { pointer-events: none; }
h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
}
h1 {
  color: var(--warm-white);
  letter-spacing: -.047em;
  line-height: 1.04;
  font-size: clamp(3.2rem, 6.55vw, 7rem);
  text-wrap: balance;
}
.hero-body p {
  max-width: 60ch;
  margin: clamp(.85rem, 2svh, 1.35rem) auto 0;
  font-size: clamp(.94rem, 1.28vw, 1.12rem);
  color: var(--cream-muted);
  line-height: 1.62;
  text-wrap: pretty;
}
.actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.25rem, 4.2svh, 2.25rem);
}
.action {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .75rem 1.2rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.action-primary { background: var(--warm-white); color: var(--ink); }
.action-outline { border-color: rgb(245 241 232 / 59%); color: var(--ivory); }
.action-dark { background: var(--night); color: var(--ivory); }
.action span { transition: transform 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .header-links a:hover, .compare:hover { color: var(--warm-white); text-decoration: underline; text-underline-offset: 4px; }
  .action-primary:hover { background: #f2d6a4; }
  .action-outline:hover { border-color: var(--warm-white); background: rgb(245 241 232 / 8%); }
  .action-dark:hover { background: #382d25; }
  .action:hover span { transform: translate(2px, -2px); }
}

.hero-footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: var(--gutter);
  padding-bottom: .9rem;
}
.compare {
  color: var(--cream-muted);
  text-decoration: none;
  padding: .65rem .5rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .77rem;
  letter-spacing: .055em;
}

.review, .destinations {
  color-scheme: light;
  color: var(--ink);
  background: var(--ivory);
}
.review {
  padding: clamp(3.5rem, 8vw, 7.5rem) var(--gutter);
}
.review-inner, .destinations {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 8rem);
}
.review-inner { width: min(100%, 74rem); margin: auto; }
h2 { font-size: clamp(2.05rem, 4.2vw, 4.8rem); letter-spacing: -.035em; line-height: 1.03; }
.review-intro p, .destinations p { color: #5f5147; font-size: .96rem; line-height: 1.65; max-width: 47ch; }
.options { display: grid; gap: 1.2rem; }
.options fieldset { min-inline-size: 0; margin: 0; border: 0; padding: 0; }
legend, .selects label { font-size: .85rem; font-weight: 650; }
.options fieldset label {
  display: inline-flex;
  position: relative;
  cursor: pointer;
  margin: .5rem .32rem 0 0;
}
.options fieldset input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}
.options fieldset span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid #9f9386;
  font-size: .84rem;
}
.options input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.options input:focus-visible + span { outline: 2px solid #8e5d1b; outline-offset: 3px; }
.selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.selects label { display: grid; gap: .45rem; }
select {
  min-width: 0;
  border: 1px solid #9f9386;
  border-radius: 0;
  min-height: 2.75rem;
  padding: .4rem .45rem;
  color: var(--ink);
  background: transparent;
  font-size: .85rem;
}
.review-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; }
.text-button {
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 2.75rem;
  padding: .4rem .2rem;
  font-size: .87rem;
}
#film-settings { margin: -.5rem 0 0; color: #5f5147; font-size: .84rem; line-height: 1.5; }
select:disabled { cursor: default; opacity: .55; }
#status {
  color: #5f5147;
  display: block;
  min-height: 2rem;
  font-size: .85rem;
  line-height: 1.55;
}
.review :focus-visible { outline-color: #8e5d1b; }

.destinations {
  padding: 2.8rem max(var(--gutter), calc((100% - 74rem) / 2)) 4.5rem;
  border-top: 1px solid #d7cdbf;
}
.destinations h2 { font-size: clamp(1.7rem, 2.6vw, 2.7rem); }

@media (max-width: 680px) {
  .hero { min-height: max(39rem, 100svh); }
  .hero-body { padding-block: 2rem 1.85rem; }
  .identity { width: clamp(12.5rem, 57vw, 16rem); margin-bottom: .8rem; }
  h1 { letter-spacing: -.035em; font-size: clamp(2.7rem, 10vw, 4.6rem); line-height: 1.04; }
  .hero-body p { max-width: 31ch; margin-top: .85rem; }
  .actions { margin-top: 1.4rem; gap: .6rem; }
  .action { font-size: .81rem; min-height: 2.85rem; padding-inline: .9rem; }
  .review-inner, .destinations { grid-template-columns: minmax(0, 1fr); }
  .header-links { gap: .62rem; }
}
@media (max-width: 375px) {
  .actions { flex-direction: column; max-width: 17rem; margin-inline: auto; }
  .hero-body { padding-block: 1.8rem 1.4rem; }
  .hero-footer { padding-bottom: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
