:root {
  --cream: #ffffff;
  --cream-deep: #e7eef7;
  --ink: #0c2744;
  --olive: #0c3a6e;
  --olive-deep: #082a52;
  --taupe: #1a62b5;
  --taupe-deep: #1a4e8c;
  --line: rgba(12, 39, 68, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

button, input { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; padding: 0; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}

/* Floating navigation */

.pill {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  translate: -50% 0;
  width: min(440px, calc(100% - 20px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(12, 58, 110, 0.94);
  color: #fff;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pill-btn:first-child { justify-self: start; }
.pill-btn:last-child { justify-self: end; }

.pill-logo { display: grid; place-items: center; }
.pill-logo img { height: 90px; width: auto; }

.pill-nav { display: none; }

.dock-enquire { display: none; }

.pill-brochure { display: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  background: var(--cream);
  padding: 110px 7vw 40px;
  overflow: auto;
}

.menu.is-open { display: block; }

.menu nav {
  display: grid;
  gap: 2px;
}

.menu a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  color: var(--taupe);
  text-decoration: none;
}

.menu a:hover,
.menu a:focus-visible { color: var(--ink); font-style: italic; }

/* Hero */

.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;
}

.hero {
  position: relative;
  background: #050505;
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .hero-slide img { aspect-ratio: 9 / 16; }
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.hero-dots button[aria-selected="true"] { background: #fff; }

/* Story */

.story {
  position: relative;
  background: var(--olive);
  color: #fff;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.story-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.story-photos { min-height: 0; }

.sq {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.sq-b { display: none; }

.sq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story .kicker { color: #c5dcff; }

.story h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 500;
  max-width: 14ch;
}

.story .lede {
  margin-top: 22px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.offer-line {
  margin-top: 18px;
  color: #d6e7ff;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.text-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-pill:hover { background: rgba(255, 255, 255, 0.1); }

.meter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.meter i {
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, #9ec6ff, rgba(255, 255, 255, 0.28));
}

/* Editorial lists */

.chapter { position: relative; padding: 88px 0; }

.sparks {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 72px;
  color: var(--taupe);
  pointer-events: none;
}

.sparks.on-dark { color: #fff; }

.spark {
  position: absolute;
  display: block;
  overflow: visible;
}

.spark-lg { width: 46px; height: 46px; left: 0; bottom: 0; }
.spark-sm { width: 18px; height: 18px; right: 2px; top: 0; }

.sparks.s-sm { width: 52px; height: 52px; }
.sparks.s-sm .spark-lg { width: 32px; height: 32px; }
.sparks.s-sm .spark-sm { width: 13px; height: 13px; }

.sparks.s-lg { width: 96px; height: 96px; }
.sparks.s-lg .spark-lg { width: 62px; height: 62px; }
.sparks.s-lg .spark-sm { width: 24px; height: 24px; }

.sparks.at-tr { top: 28px; right: 28px; }
.sparks.at-tl { top: 28px; left: 28px; }
.sparks.at-bl { bottom: 24px; left: 24px; }

.hero .sparks.at-bl { bottom: 18px; left: 18px; }
.banner .sparks { top: 36px; }
.enquire { position: relative; }

@media (max-width: 720px) {
  .sparks.at-tr { top: -45px !important; right: 14px; display: none;}
  .sparks.at-tl { top: -45px !important; left: 14px; display: none;}
  .sparks.at-bl { bottom: 16px; left: 14px; }
  .sparks.s-lg { width: 72px; height: 72px; }
  .sparks.s-lg .spark-lg { width: 46px; height: 46px; }
  .sparks.s-lg .spark-sm { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .spark-sm {
    animation: spark-twinkle 3.4s ease-in-out infinite;
  }
}

@keyframes spark-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.chapter > .wrap { container-type: inline-size; }

.giant {
  font-size: min(9.5rem, 16.4cqi);
  line-height: 0.82;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 18px;
  max-width: 100%;
}

.intro {
  max-width: 46ch;
  color: var(--taupe-deep);
  font-size: 15px;
}

.hl { margin-top: 40px; }

.hl-window { overflow: hidden; }

.hl-track {
  display: flex;
  transition: transform 0.55s ease;
}

.hl-card {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 8px 18px 12px;
}

.hl-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.hl-card h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.05;
  color: var(--olive);
}

.hl-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.hl-prev,
.hl-next {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--olive);
  font-size: 18px;
}

.hl-prev:hover,
.hl-next:hover { background: var(--cream-deep); }

.hl-dots { display: flex; gap: 8px; }

.hl-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(12, 58, 110, 0.28);
}

.hl-dots button[aria-selected="true"] { background: var(--olive); }

.place-acc details { border-bottom: 1px solid var(--line); }

.place-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: #6a96c4;
  transition: color 0.35s ease;
}

.place-acc summary::-webkit-details-marker { display: none; }

.place-acc summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--olive);
}

.place-acc details[open] summary {
  color: #0c3a6e;
  font-style: italic;
}

.place-acc details[open] summary::after { content: "–"; }

.place-acc details > .acc-body {
  display: block;
  max-height: 0;
  overflow: hidden;
  max-width: 42ch;
  transition: max-height 0.4s ease;
}

.place-acc details[open] > .acc-body { max-height: 8rem; }

.place-acc .acc-body .kicker { display: block; margin: 8px 0 6px; }

.place-acc .acc-body p { margin: 0 0 16px; color: var(--ink); font-size: 15px; }

.split {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.name-list { display: grid; }

.name-list button {
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: #6a96c4;
  padding: 2px 0;
}

.name-list button[aria-pressed="true"] {
  color: #0c3a6e;
  font-style: italic;
}

.detail {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 42ch;
}

.detail .kicker { display: block; margin-bottom: 8px; }

.detail p { color: var(--ink); font-size: 15px; }

.plan-slider { margin-top: 40px; }

.plan-window { overflow: hidden; }

.plan-track {
  display: flex;
  transition: transform 0.55s ease;
}

.plan-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 12px;
}

.plan-frame {
  position: relative;
  overflow: hidden;
  padding: 5px;
  background: linear-gradient(90deg, #a08572, #a0857247);
}

.plan-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(3px);
  background: #fff;
}

.plan-view {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.am { margin-top: 40px; }

.am-window { overflow: hidden; }

.am-track {
  display: flex;
  transition: transform 0.55s ease;
}

.am-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  gap: 22px;
  align-items: center;
}

.am-slide .frame { position: relative; min-height: 0; }

.am-note {
  position: absolute;
  left: 10px;
  bottom: 8px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.am-slide .frame img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1400 / 788;
  object-fit: cover;
}

.am-copy h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--olive);
}

.am-copy p:last-child {
  margin-top: 12px;
  max-width: 36ch;
  color: var(--ink);
  font-size: 15px;
}

.plan-view:hover { background: var(--olive-deep); border-color: var(--olive-deep); }

.frame {
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-deep);
}

#map-frame {
  position: relative;
  aspect-ratio: 1200 / 979;
}

#map-frame img,
#map-live,
#map-live iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

#map-frame img,
#map-live {
  transition: opacity 0.55s ease;
}

#map-live {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

#map-frame.is-map img { opacity: 0; }

#map-frame.is-map #map-live {
  opacity: 1;
  pointer-events: auto;
}

.frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.frame.blur img {
  filter: blur(18px);
  transform: scale(1.15);
}

.linkish,
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
}

.linkish:hover,
.submit:hover,
.linkish[aria-pressed="true"] { background: var(--olive-deep); border-color: var(--olive-deep); }

.banner {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #082a52;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner h2 {
  position: relative;
  z-index: 1;
  padding: 0 4vw 4vh;
  color: #fff;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.84;
  text-transform: uppercase;
}

.quiet { background: var(--cream); }

/* Gallery */

.tabs { display: flex; gap: 18px; margin: 8px 0 22px; }

.tabs button {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.tabs button[aria-selected="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.gallery-panel { display: block; }

.gallery-panel[hidden] { display: none; }

.g-stage { position: relative; }

.g-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/1;
}

.g-track { position: relative; height: 100%; }

.g-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 74%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #111;
  transition: transform 0.55s ease;
}

.g-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.62);
  transition: opacity 0.45s ease;
}

.g-slide.is-active::after { opacity: 0; }

.g-slide:not(.is-active) .g-note { opacity: 0; }

.g-note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.g-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(12, 39, 68, 0.18);
  border-radius: 50%;
  background: #fff;
  color: #333;
}

.g-prev { left: 0; }
.g-next { right: 0; }

.g-arrow:hover { background: var(--cream-deep); }

/* Enquire */

.enquire {
  background: var(--cream);
  color: var(--ink);
  padding: 120px 0 0;
}

.enquire-inner {
  display: grid;
  gap: 36px;
  padding-bottom: 72px;
}

.enquire-meta {
  display: grid;
  gap: 36px;
}

.enquire-band {
  position: relative;
  min-height: 64vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #082a52;
}

.enquire-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.about-block img {
  width: 140px;
  height: auto;
  margin-bottom: 18px;
}

.about-block h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  max-width: 12ch;
  color: var(--olive);
}

.about-block .lede {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--ink);
  font-size: 15px;
}

.about-block .meter { color: var(--taupe-deep); }

.about-block .meter i {
  background: linear-gradient(90deg, var(--taupe), rgba(26, 98, 181, 0.22));
}

.enquire-form h2 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 10ch;
  color: var(--taupe);
}

.enquire .sub {
  margin: 12px 0 22px;
  max-width: 32ch;
  color: var(--taupe-deep);
}

.form { display: grid; gap: 18px; max-width: 520px; }

.fields { display: grid; gap: 16px; }

.field {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}

.field span,
.check span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}

.field input {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #1a62b5;
  background: transparent;
  border-radius: 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  outline: none;
}

.field input:focus { border-bottom-color: var(--ink); }

.phone { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1a62b5; }

.phone input { border-bottom: 0; }

.phone em { font-style: normal; color: var(--taupe-deep); }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--taupe-deep);
  font-size: 13px;
}

.check span { letter-spacing: 0; text-transform: none; font-size: 13px; }

.check input { accent-color: var(--taupe-deep); margin-top: 3px; }

.submit { justify-self: start; }

.submit[disabled] { opacity: 0.5; }

.form-error { color: #8a3b32; font-size: 14px; }
.form-error[hidden] { display: none; }

.hp {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.foot-links {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot-links button,
.foot-links a { text-align: left; text-decoration: none; text-transform: uppercase; }

.disclaimer {
  max-width: none;
  color: var(--taupe-deep);
  font-size: 12px;
  line-height: 1.55;
}

.rera { margin-top: 14px; font-size: 12px; letter-spacing: 0.04em; }

.wordmark {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 4vw 3vh;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 0.85;
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.copy {
  position: relative;
  z-index: 1;
  padding: 8px 4vw 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

/* Dialogs */

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100% - 24px);
  color: var(--ink);
}

dialog::backdrop { background: rgba(8, 32, 64, 0.62); }

.sheet {
  background: var(--cream);
  padding: 28px 24px 24px;
  border-radius: 18px;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.sheet h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.95;
  color: var(--olive);
}

.sheet .sub { margin: 8px 0 18px; color: var(--taupe-deep); }

.icon-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 22px;
  line-height: 1;
}

.privacy-sheet h3 { margin: 18px 0 6px; font-family: var(--sans); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.privacy-sheet p { color: #3d5674; font-size: 14px; margin-top: 8px; }

#enquire-dialog {
  position: fixed;
  inset: 0;
  width: min(480px, calc(100% - 32px));
  height: fit-content;
  max-height: min(90vh, 720px);
  margin: auto;
  overflow: auto;
}

#enquire-dialog .sheet { width: 100%; }

#privacy-dialog {
  position: fixed;
  inset: 0;
  width: min(720px, calc(100% - 32px));
  height: fit-content;
  max-height: min(80vh, 720px);
  margin: auto;
  overflow: auto;
}

#privacy-dialog .privacy-sheet {
  width: 100%;
  max-height: none;
}

#lightbox { width: min(1080px, 100%); }

.light {
  background: #082a52;
  border-radius: 12px;
  overflow: hidden;
}

#lightbox-img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #082a52;
}

.light-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--cream);
}

.light-bar button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.video-frame { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.video-title {
  font-size: min(5rem, 12cqi);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 28px;
}

.video-stage {
  width: 100%;
  aspect-ratio: 25 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.video-stage iframe { width: 100%; height: 100%; border: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* Thanks */

.thanks {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px 20px;
}

.thanks-logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 22px;
}

.thanks h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 12ch;
  margin-inline: auto;
  color: var(--taupe);
}

.thanks p { margin: 16px auto 22px; max-width: 36ch; color: var(--taupe-deep); }

body:has(.thanks) {
  min-height: 100svh;
  overflow: auto;
}

body:has(.thanks) .thanks {
  min-height: 0;
  flex: 0 0 auto;
  padding: 18px 20px 4px;
}

body:has(.thanks) .thanks-logo {
  width: 84px;
  margin-bottom: 10px;
}

body:has(.thanks) .thanks h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

body:has(.thanks) .thanks p { margin: 8px auto 12px; }

.main-container {
  width: min(960px, calc(100% - 32px));
  height: min(720px, 100svh);
  min-height: 520px;
  margin: 8px auto 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 42, 82, 0.12);
}

.iframe-container { flex: 1 1 auto; min-height: 0; }

.iframe-fullscreen { width: 100%; height: 100%; border: 0; }

@media (max-width: 1079px) {
  .pill-enquire { display: none; }
  .menu-toggle { grid-column: 1; }
  .pill-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
  }
  .pill-brochure {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
    min-height: 36px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .menu-dots {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  }

  .menu-toggle[aria-expanded="true"] .menu-dots {
    width: 16px;
    height: 16px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
  }

  .menu-toggle[aria-expanded="true"] .menu-dots::before,
  .menu-toggle[aria-expanded="true"] .menu-dots::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
  }

  .menu-toggle[aria-expanded="true"] .menu-dots::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-dots::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .dock-enquire {
    display: flex;
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--olive);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  }

  body:has(.dock-enquire) { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }

  .hero-dots { bottom: 68px; }
}

@media (min-width: 1080px) {
  .pill:has(.pill-nav) {
    width: min(1240px, calc(100% - 32px));
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    padding: 6px 8px 6px 14px;
  }

  .pill-logo {
    height: 40px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle { display: none; }

  .menu,
  .menu.is-open { display: none; }

  .pill-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 14px;
    min-width: 0;
  }

  .pill-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .pill-nav a:hover,
  .pill-nav a:focus-visible { opacity: 0.72; }
}

@media (min-width: 700px) {
  .hl-card,
  .plan-card { flex-basis: 50%; }

  .story {
    padding: 20px 0 80px;
  }
}

@media (max-width: 768px) {
  .story {
    padding: 40px 10px;
  }
  .chapter {
    padding: 40px 0;
  }
  .banner {
    min-height: 25vh;
  }
  .place-acc summary {
    padding: 5px 0;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
  }
  .g-window {
    aspect-ratio: 1.5;
  }
  .g-slide { width: 100%; }
  .enquire {
    padding: 60px 0 0;
  }
  .banner h2 {
    padding: 0 1vw 4vh;
  }
  .linkish, .submit {
    font-size: 10px;
  }
  .frame {
    min-height: 220px;
  }
  .plan-view {
    font-size: 12px;
    width: 65%;
  }
  .video-stage {
    aspect-ratio: 15 / 9;
  }
  
}

@media (min-width: 800px) {
  .am-slide { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .g-slide { width: 68%; }
  .g-window { aspect-ratio: 3/1; margin-inline: 56px; }
}

@media (min-width: 900px) {
  .hl-card,
  .plan-card { flex-basis: 33.333%; }
  .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .story-photos { position: relative; min-height: 480px; }
  .sq { position: absolute; width: 340px; display: block; }
  .sq-a { top: 0; right: 0; }
  .sq-b { left: 0; bottom: 0; width: 300px; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
  .enquire-inner { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .enquire-meta { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .field:last-child,
  .check,
  .submit,
  .form-error { grid-column: 1 / -1; }
}

.cursor-tail {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.h-ready .h-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.h-ready.h-chars { white-space: nowrap; }

.h-ready .h-word > span {
  display: inline-block;
  transform: translate3d(0, 115%, 0);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.h-ready.is-in .h-word > span { transform: translate3d(0, 0, 0); }

.giant.h-ready,
.giant.h-ready .h-word {
  line-height: 0.9;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track,
  .hl-track,
  .plan-track,
  .am-track,
  .g-slide,
  .place-acc summary,
  .place-acc details > .acc-body,
  #map-frame img,
  #map-live { transition: none; }
  .h-ready .h-word > span { transform: none; transition: none; }
}
