:root {
  --navy: #071a33;
  --navy-2: #0d2747;
  --foam: #f4efe6;
  --sand: #e3b98f;
  --muted: #a9b5c6;
  --pad: clamp(20px, 4.4vw, 68px);
  --font: "Jost", "Century Gothic", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--navy); }
body { margin: 0; color: var(--foam); background: var(--navy); font: 400 19px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2 { margin: 0; font-weight: 300; text-wrap: balance; }
h2 { font-size: clamp(44px, 6.4vw, 104px); line-height: 1; font-weight: 200; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
cite { display: block; margin-top: 10px; font-style: normal; font-size: 16px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.demo { position: fixed; inset: 0 0 auto; z-index: 30; padding: 6px var(--pad); background: var(--foam); color: var(--navy); font-size: 13px; line-height: 1.3; text-align: center; }

.top { position: fixed; top: 29px; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); }
.past .top { background: var(--navy); }
.brand { margin-right: auto; font-weight: 500; font-size: 19px; text-decoration: none; }
.top nav { display: flex; gap: 26px; font-size: 17px; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--sand); }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 99px; background: var(--sand); color: var(--navy); font-weight: 500; font-size: 16px; text-decoration: none; transition: background .2s; }
.pill:hover { background: var(--foam); }

.hero { position: relative; height: 260svh; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--navy); }
.lagoon { position: absolute; inset: 0; clip-path: inset(calc(58% * (1 - var(--open, 0))) calc(13% * (1 - var(--open, 0))) 0 calc(13% * (1 - var(--open, 0)))); will-change: clip-path; }
.lagoon img, .lagoon canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live .lagoon img { visibility: hidden; }
.title { position: absolute; left: var(--pad); right: var(--pad); top: 12svh; font-weight: 200; line-height: .96; letter-spacing: -.01em; will-change: transform, opacity; pointer-events: none; }
.t1 { font-size: min(14vw, 24svh); }
.t2 { font-size: min(10.4vw, 18svh); text-align: right; }
.t2 em { font-style: normal; color: var(--sand); }
.hero-note { position: absolute; left: var(--pad); bottom: 34px; display: grid; gap: 8px; max-width: 520px; padding: 18px 22px; background: rgba(7, 26, 51, .78); opacity: var(--note, 0); transform: translateY(calc(20px * (1 - var(--note, 0)))); backdrop-filter: blur(8px); }
.hero-note h1 { font-size: clamp(22px, 2vw, 30px); font-weight: 400; line-height: 1.2; }
.hero-note b { color: var(--sand); font-weight: 500; }

.say { padding: 150px var(--pad); background: var(--foam); color: var(--navy); }
.say p { max-width: 15ch; font-size: clamp(50px, 8.6vw, 148px); font-weight: 200; line-height: 1; }
.say cite { color: #5a6678; margin-top: 26px; }

.path { position: relative; display: flex; align-items: flex-start; justify-content: center; height: 118svh; overflow: hidden; background: var(--img) center / cover no-repeat fixed; }
.path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7, 26, 51, .45), rgba(7, 26, 51, .06) 42%, rgba(7, 26, 51, .72)); }
.path h2 { position: relative; z-index: 1; margin-top: 16svh; font-size: clamp(76px, 15vw, 250px); text-shadow: 0 2px 40px rgba(7, 26, 51, .35); }
.path-note { position: absolute; z-index: 1; right: var(--pad); bottom: 44px; max-width: 380px; font-size: 21px; line-height: 1.3; }
.path-note cite { color: #dfe6ef; }

.base { padding: 130px var(--pad); background: var(--navy); }
.base-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 22px 60px; margin-bottom: 52px; }
.base-head h2 { max-width: 13ch; }
.base-head p { max-width: 34ch; font-size: 21px; }
.base-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.base-grid figure { margin: 0; overflow: hidden; }
.base-grid img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.base-grid .big { grid-column: 1 / -1; }
.base-grid .big img { aspect-ratio: 21 / 9; }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 70px; }
blockquote { margin: 0; padding-top: 16px; border-top: 1px solid rgba(244, 239, 230, .3); font-size: 22px; font-weight: 300; line-height: 1.3; }

.before { padding: 120px var(--pad); background: var(--sand); color: var(--navy); }
.before p { max-width: 30ch; margin-top: 22px; font-size: clamp(25px, 3vw, 42px); font-weight: 300; line-height: 1.2; }
.before cite { color: #4c3a29; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; padding: 120px var(--pad); background: var(--navy-2); }
.contact > div { display: grid; gap: 16px; align-content: start; }
.contact > div p { color: var(--muted); max-width: 36ch; }
form { display: grid; gap: 22px; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { padding: 0; margin-bottom: 10px; font-weight: 500; }
fieldset label { cursor: pointer; }
fieldset input { position: absolute; opacity: 0; }
fieldset span { display: flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .4); }
fieldset input:checked + span { background: var(--foam); color: var(--navy); }
fieldset input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.field { display: grid; gap: 10px; font-weight: 500; }
.field input { min-height: 50px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--foam); border-radius: 0; background: transparent; color: var(--foam); font: inherit; font-weight: 400; }
.field input::placeholder { color: var(--muted); }
output { display: block; padding: 14px; background: var(--navy); color: var(--muted); font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 99px; background: var(--sand); color: var(--navy); font-weight: 500; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--foam); }

.place { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 26px; padding: 70px var(--pad); background: var(--foam); color: var(--navy); }
.place h2 { margin-bottom: 8px; font-size: clamp(32px, 4.4vw, 68px); }
footer { padding: 22px var(--pad) 36px; color: var(--muted); font-size: 15px; }
.float { display: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.on { opacity: 1; transform: none; }

@media (max-width: 860px) {
  body { font-size: 18px; }
  .demo { font-size: 12px; }
  .top { top: 42px; padding-block: 10px; }
  .top nav, .top > .pill { display: none; }
  .hero { height: 220svh; }
  .lagoon { clip-path: inset(calc(52% * (1 - var(--open, 0))) calc(6% * (1 - var(--open, 0))) 0 calc(6% * (1 - var(--open, 0)))); }
  .title { top: 14svh; }
  .t1 { font-size: 22vw; }
  .t2 { font-size: 15.2vw; text-align: left; }
  .hero-note { left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; max-width: none; }
  .say { padding-block: 100px; }
  .path { height: 90svh; background-attachment: scroll; }
  .path-note { left: var(--pad); right: var(--pad); max-width: none; bottom: 28px; }
  .base, .before, .contact { padding-block: 84px; }
  .base-grid .big img { aspect-ratio: 3 / 2; }
  .voices, .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .past .float { display: inline-flex; }
  .float { position: fixed; right: 16px; bottom: 16px; z-index: 25; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 99px; background: var(--sand); color: var(--navy); font-weight: 500; text-decoration: none; }
  footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero { height: 100svh; }
  .hero-note { --note: 1; opacity: 1; transform: none; }
  .lagoon { clip-path: inset(46% 0 0 0); }
  .path { background-attachment: scroll; }
}
