:root {
  --ground: #EEF0F1;
  --surface: #DEE3E6;
  --ink: #273039;
  --soft: #5C666E;
  --accent: #314D63;
  --edge: clamp(20px,3vw,64px);
  --content-max: 90rem;
  --reading-width: min(100%,clamp(36rem,52vw,48rem));
  --pad-x: max(var(--edge),calc((100% - var(--content-max))/2));
  --view-h: 100svh;
  --bar-top: clamp(22px,2.8vh,36px);
  --bar-h: clamp(44px,4.5vw,66px);
  --frame-y: calc(var(--bar-top) + var(--bar-h) + clamp(30px,5vh,64px));
  --photo-width: 100%;
  --open: 0;
  --hero-copy-gap: clamp(16px,1.1vw,24px);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

html {
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: transparent;
}

/* One scrollbar treatment for the page and every nested scrolling surface. */
@supports selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }

  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--surface);
  }

  ::-webkit-scrollbar-thumb {
    min-height: 40px;
    min-width: 40px;
    border: 2px solid var(--surface);
    border-radius: 999px;
    background: var(--accent);
    background-clip: padding-box;
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--ink);
  }

  ::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }

  ::-webkit-scrollbar-corner {
    background: var(--surface);
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-base);
  line-height: 1.5;
  font-synthesis: none;
  cursor: default;
}

button {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  cursor: pointer;
}

:focus,:focus-visible {
  outline: none;
  box-shadow: none;
}

::selection {
  background: var(--accent);
  color: var(--ground);
}

[hidden] {
  display: none !important;
}

html:has(dialog[open]) {
  overflow: hidden;
}

html:has(dialog[open]) .stage {
  overflow-x: clip;
}

/* Header and hero */

.stage {
  position: relative;
}

.site-bar {
  position: fixed;
  z-index: 5;
  top: var(--bar-top);
  left: 0;
  right: 0;
  height: var(--bar-h);
  padding-inline: var(--edge);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  color: var(--ink);
  pointer-events: none;
}

.site-bar > * {
  pointer-events: auto;
}

.site-logo,
.site-languages {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, transform .35s ease, visibility 0s;
}

.site-bar.is-scrolled .site-logo,
.site-bar.is-scrolled .site-languages {
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, visibility 0s .35s;
}

@media (prefers-reduced-motion: reduce) {
  .site-logo,
  .site-languages {
    transition: opacity .15s linear, visibility 0s;
  }

  .site-bar.is-scrolled .site-logo,
  .site-bar.is-scrolled .site-languages {
    transform: none;
    transition: opacity .15s linear, visibility 0s .15s;
  }
}

.site-logo {
  grid-column: 2;
  justify-self: center;
  display: block;
  height: var(--bar-h);
}

.site-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.site-languages {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: var(--t-language);
  line-height: 1.3;
  letter-spacing: .1em;
}

.site-language {
  opacity: .65;
}

.site-language.is-current {
  opacity: 1;
}

.site-language-rule {
  width: 1px;
  height: 1.1rem;
  background: currentColor;
  opacity: .4;
}

.nav-toggle {
  grid-column: 3;
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 8px;
}

.nav-toggle span {
  display: block;
  background: currentColor;
  width: 28px;
  height: 2px;
}

.btn-primary {
  border: 0;
  background: var(--accent);
  color: var(--ground);
  padding: .9em 2em;
  font-size: var(--t-button);
  line-height: 1.3;
  min-height: 46px;
}

@media (max-width:700px) {
  :root {
    --edge: 20px;
    --bar-h: 44px;
    --bar-top: 20px;
    --frame-y: calc(var(--bar-top) + var(--bar-h) + 36px);
  }
}

:root {
  --rule: color-mix(in srgb,var(--ink) 22%,transparent);
  --section-space: clamp(64px,6vw + 3vh,160px);
  --head-gap: clamp(2.25rem, 3.5vw, 3.5rem);
  --content-media-gap: clamp(2.5rem, 4vw, 4rem);
  --column-gap: clamp(28px,4vw,72px);
  --row-gap: clamp(26px,3vw,48px);
}

/* Key figures */

.figures {
  background: var(--surface);
  container-type: inline-size;
  --fig-top: clamp(28px,2.6vw,44px);
  --fig-bottom: clamp(28px,3.4vw,52px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.6;
}

.figs {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
}

.fig {
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: var(--fig-top);
  padding-bottom: var(--fig-bottom);
}

.fig-value {
  margin: 0;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-fig-number);
  line-height: 1;
  letter-spacing: -.02em;
}

.fig-unit {
  margin-left: .28em;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-fig-unit);
  line-height: 1;
  letter-spacing: 0;
}

.fig-label {
  margin: 0;
  font-family: var(--f-data);
  font-weight: 500;
  font-size: var(--t-label);
  line-height: 1.4;
}

.fig-sub .fig-label {
  margin-top: 16px;
}

.fig-anchor {
  border-top: 0;
  padding-top: 0;
  grid-column: 1/7;
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* baseline of the big figure sits on the baseline of the lower row (Gentle: baseline .30em above the line-box bottom) */

.fig-anchor .fig-value {
  font-size: var(--t-fig-anchor);
  line-height: 1;
  margin-left: -.04em;
  margin-bottom: calc(16px + .3 * (var(--t-fig-number) - var(--t-fig-anchor)));
}

.fig-anchor .fig-unit {
  font-size: var(--t-fig-anchor-unit);
}

.fig-sub:nth-child(2),.fig-sub:nth-child(3) {
  grid-row: 1;
}

.fig-sub:nth-child(4),.fig-sub:nth-child(5) {
  grid-row: 2;
}

.fig-sub:nth-child(2),.fig-sub:nth-child(4) {
  grid-column: 7/10;
}

.fig-sub:nth-child(3),.fig-sub:nth-child(5) {
  grid-column: 10/13;
}

@media (min-width:761px) {
  .fig-sub:nth-child(2),.fig-sub:nth-child(3) {
    border-top: 0;
    padding-top: 0;
  }
}

@media (min-width:761px) and (max-width:1050px) {
  .figs {
    column-gap: 24px;
  }
}

@media (max-width:760px) {
  .figs {
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 20px;
  }

  .fig-anchor {
    grid-column: 1/-1;
    grid-row: auto;
    padding-bottom: clamp(28px,8vw,44px);
  }

  .fig-anchor .fig-value {
    margin-bottom: 0;
  }

  .fig-sub:nth-child(n) {
    grid-row: auto;
    grid-column: auto;
  }
}

/* History */

.lady {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.lady-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.lady-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 12ch;
  grid-column: 1/7;
  grid-row: 1;
}

.lady-text {
  min-width: 0;
  grid-column: 8/13;
  grid-row: 1;
  align-self: end;
  display: grid;
  gap: 24px;
}

.lady-text p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.lady-photo {
  margin: var(--head-gap) 0 0;
  background: var(--surface);
  aspect-ratio: 2/1;
  overflow: hidden;
  grid-column: 1/13;
  grid-row: 2;
}

.lady-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

@media (min-width:761px) and (max-width:1050px) {
  .lady {
    --column-gap: 24px;
  }

  .lady-title {
    grid-column: 1/7;
  }

  .lady-text {
    grid-column: 7/13;
  }
}

@media (max-width:760px) {
  .lady-inner {
    display: flex;
    flex-direction: column;
  }

  .lady-title {
    max-width: 16ch;
  }

  .lady-text {
    margin-top: var(--head-gap);
    gap: 20px;
  }

  .lady-photo {
    width: 100%;
    margin-top: 36px;
    aspect-ratio: 3/2;
  }
}

/* Owner suite */

.osuite {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.osuite-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.osuite-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 12ch;
  grid-column: 1/8;
  grid-row: 1;
}

.osuite p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.osuite h3,
.rdeck h3 {
  margin: 0 0 12px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.osuite-photo {
  margin: 0;
  background: var(--surface);
}

.osuite-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.osuite-office img {
  object-position: 40% 50%;
}

.osuite-intro {
  grid-column: 8/13;
  grid-row: 1;
  align-self: end;
}

.osuite-office {
  grid-column: 1/5;
  grid-row: 2;
  aspect-ratio: 16/10;
  margin-top: var(--head-gap);
}

.osuite-bedroom-photo {
  grid-column: 5/13;
  grid-row: 2;
  aspect-ratio: 16/10;
  margin-top: var(--head-gap);
}

.osuite-bedroom-copy {
  grid-column: 5/10;
  grid-row: 3;
  margin-top: var(--row-gap);
}

.osuite-bath-photo {
  grid-column: 1/8;
  grid-row: 4;
  aspect-ratio: 1672/941;
  margin-top: var(--content-media-gap);
}

.osuite-bath-copy {
  grid-column: 9/13;
  grid-row: 4;
  align-self: end;
}

@media (min-width:761px) and (max-width:1050px) {
  .osuite {
    --column-gap: 24px;
  }
}

@media (max-width:760px) {
  .osuite-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .osuite-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .osuite-title {
    max-width: 16ch;
  }

  .osuite-office {
    aspect-ratio: 3/2 !important;
  }

  .osuite-title {
    order: 0;
  }

  .osuite-intro {
    order: 1;
  }

  .osuite-office {
    order: 2;
  }

  .osuite-bedroom-photo {
    order: 3;
  }

  .osuite-bedroom-copy {
    order: 4;
  }

  .osuite-bath-photo {
    order: 5;
    aspect-ratio: 16/10;
  }

  .osuite-bath-copy {
    order: 6;
  }
}

/* Social decks */

.rdeck {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  --drop: clamp(48px,6vw,96px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.rdeck-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.rdeck-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 14ch;
  grid-column: 1/8;
  grid-row: 1;
}

.rdeck p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.rdeck-photo {
  margin: 0;
  background: var(--surface);
  aspect-ratio: 3/2;
  overflow: hidden;
}

.rdeck-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rdeck-intro {
  grid-column: 7/13;
  grid-row: 1;
  align-self: end;
}

.rdeck-saloon-photo {
  grid-column: 1/7;
  grid-row: 2;
  margin-top: var(--head-gap);
}

.rdeck-saloon-copy {
  grid-column: 1/7;
  grid-row: 3;
  margin-top: calc(var(--row-gap) - var(--drop));
}

.rdeck-sky-photo {
  grid-column: 7/13;
  grid-row: 2;
  margin-top: calc(var(--head-gap) + var(--drop));
}

.rdeck-sky-copy {
  grid-column: 7/13;
  grid-row: 3;
  margin-top: var(--row-gap);
}

.rdeck-sun-photo {
  grid-column: 1/13;
  grid-row: 4;
  margin-top: var(--content-media-gap);
  aspect-ratio: 2/1;
}

.rdeck-sun-photo img {
  object-position: 50% 60%;
}

.rdeck-sun-copy {
  grid-column: 7/13;
  grid-row: 5;
  margin-top: var(--row-gap);
}

@media (min-width:761px) and (max-width:1050px) {
  .rdeck {
    --column-gap: 24px;
  }
}

@media (max-width:760px) {
  .rdeck-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .rdeck-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .rdeck-title {
    max-width: 16ch;
  }

  .rdeck-photo {
    aspect-ratio: 3/2 !important;
  }

  .rdeck-title {
    order: 0;
  }

  .rdeck-intro {
    order: 1;
  }

  .rdeck-saloon-photo {
    order: 2;
  }

  .rdeck-saloon-copy {
    order: 3;
  }

  .rdeck-sky-photo {
    order: 4;
  }

  .rdeck-sky-copy {
    order: 5;
  }

  .rdeck-sun-photo {
    order: 6;
  }

  .rdeck-sun-copy {
    order: 7;
  }
}

/* Guest staterooms */

.guests {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.guests-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.guests-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  grid-column: 1/8;
  grid-row: 1;
}

.guests p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.guests h3 {
  margin: 0 0 12px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.guests-lead {
  grid-column: 7/13;
  grid-row: 1;
  align-self: end;
}

.guests-photo {
  margin: var(--head-gap) 0 0;
  background: var(--surface);
  overflow: hidden;
  position: relative;
  grid-row: 2;
}

.guests-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guests-king-photo {
  grid-column: 1/9;
  aspect-ratio: 1672/941;
}

.guests-twin-photo {
  grid-column: 9/13;
  align-self: stretch;
  min-height: 0;
}

.guests-twin-photo img {
  position: absolute;
  inset: 0;
  object-position: 50% 50%;
}

.guests-entry {
  min-width: 0;
  grid-row: 3;
  margin-top: var(--row-gap);
}

.guests-vip {
  grid-column: 1/5;
}

.guests-kings {
  grid-column: 5/9;
}

.guests-twin {
  grid-column: 9/13;
}

@media (min-width:761px) and (max-width:1050px) {
  .guests {
    --column-gap: 24px;
  }
}

@media (max-width:760px) {
  .guests-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .guests-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .guests-photo {
    aspect-ratio: 3/2 !important;
  }

  .guests-twin-photo img {
    position: static;
  }

  .guests-title {
    order: 0;
  }

  .guests-lead {
    order: 1;
  }

  .guests-king-photo {
    order: 2;
  }

  .guests-vip {
    order: 3;
  }

  .guests-kings {
    order: 4;
  }

  .guests-twin-photo {
    order: 5;
  }

  .guests-twin {
    order: 6;
  }
}

/* Deck plan */

.dplan {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.dplan-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.dplan-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  grid-column: 1/8;
  grid-row: 1;
}

.dplan p {
  margin: 0;
  max-width: 56ch;
}

.dplan-download {
  grid-area: 1/1;
  align-self: start;
  justify-self: end;
  z-index: 1;
  margin: clamp(16px, 2.5vw, 40px) clamp(16px, 4vw, 56px);
  max-width: calc(100% - 32px);
  text-align: right;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.dplan-download-mobile {
  display: none;
}

.dplan-photo {
  display: grid;
  margin: var(--head-gap) 0 0;
  background: #fff;
  overflow: hidden;
  grid-column: 1/13;
  grid-row: 2;
  aspect-ratio: 2/1;
}

.dplan-photo img {
  grid-area: 1/1;
  min-width: 0;
  min-height: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.dplan h3 {
  margin: 0 0 10px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.dplan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dplan li {
  position: relative;
  padding-left: 16px;
}

.dplan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.dplan li+li {
  margin-top: .15em;
}

.dplan-deck {
  min-width: 0;
  grid-row: 3;
  margin-top: var(--row-gap);
}

.dplan .d1 {
  grid-column: 1/4;
}

.dplan .d2 {
  grid-column: 4/7;
}

.dplan .d3 {
  grid-column: 7/10;
}

.dplan .d4 {
  grid-column: 10/13;
}

@media (min-width:761px) and (max-width:1050px) {
  .dplan {
    --column-gap: 24px;
  }

  .dplan .d1,.dplan .d2 {
    grid-column: span 6;
    grid-row: 3;
  }

  .dplan .d3,.dplan .d4 {
    grid-column: span 6;
    grid-row: 4;
  }
}

@media (max-width:760px) {
  .dplan-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .dplan-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .dplan-photo {
    aspect-ratio: auto;
    background: transparent;
  }

  .dplan-photo img {
    grid-row: 1;
    height: auto;
    aspect-ratio: 16/8;
  }

  .dplan-download {
    grid-row: 2;
    justify-self: start;
    margin: 16px 0 0;
    max-width: 100%;
    text-align: left;
  }

  .dplan-download-full {
    display: none;
  }

  .dplan-download-mobile {
    display: inline;
  }

}

/* Interior design */

.design {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.design-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.design-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  grid-column: 1/8;
  grid-row: 1;
}

.design p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.design-exterior {
  grid-column: 7/13;
  grid-row: 1;
  align-self: end;
}

.design-photo {
  margin: var(--content-media-gap) 0 0;
  background: var(--surface);
  overflow: hidden;
  position: relative;
  grid-row: 3;
}

.design-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design dl {
  margin: 0;
}

.design dt {
  font-family: var(--f-data);
  font-weight: 500;
  font-size: var(--t-eyebrow);
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5em;
}

.design dd {
  margin: 0;
  max-width: 50ch;
}

.design-mat {
  border-top: 1px solid var(--rule);
  /* Optical balance between mono capitals and body-text glyphs. */
  padding: 21px 0 17px;
}

.design .design-interior {
  grid-column: 1/6;
  grid-row: 2;
  margin-top: var(--head-gap);
}

.design .design-materials {
  grid-column: 7/13;
  grid-row: 2;
  margin-top: var(--head-gap);
}

.design-dining {
  grid-column: 1/9;
  aspect-ratio: 1670/941;
}

.design-bar {
  grid-column: 9/13;
  align-self: stretch;
  min-height: 0;
}

.design-bar img {
  position: absolute;
  inset: 0;
  object-position: 98% 50%;
}

@media (min-width:761px) and (max-width:1050px) {
  .design {
    --column-gap: 24px;
  }
}

@media (max-width:760px) {
  .design-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .design-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .design-photo {
    aspect-ratio: 3/2;
  }

  .design-bar img {
    position: static;
  }

  .design-title {
    order: 0;
  }

  .design-exterior {
    order: 1;
  }

  .design-dining {
    order: 2;
  }

  .design-interior {
    order: 3;
  }

  .design-materials {
    order: 4;
  }

  .design-bar {
    order: 5;
  }
}

/* Image interlude */

.breath {
  --bar-gap: clamp(2.5rem,7vh,9rem);
  --pause-y: calc(var(--bar-top) + var(--bar-h) + var(--bar-gap));
  position: relative;
  isolation: isolate;
  min-height: max(560px,100svh);
  display: grid;
  color: var(--ground);
  background: #0b1624;
  overflow: clip;
  padding: var(--pause-y) var(--pad-x);
}

.breath-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.breath-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

.breath-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.breath::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,rgb(0 0 0/.34),rgb(0 0 0/.12) 34%,transparent 52%);
}

.breath-line {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-breath-title);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 16ch;
  align-self: start;
  justify-self: start;
}

@media (orientation:portrait) {
  .breath-photo img {
    object-position: 28% 50%;
  }
}

/* Mothership */

.mship {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.mship-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.mship-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  grid-column: 1/8;
  grid-row: 1;
}

.mship p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.mship h3 {
  margin: 0 0 10px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.mship-photo {
  margin: var(--head-gap) 0 0;
  background: var(--surface);
  overflow: hidden;
  grid-column: 1/13;
  grid-row: 2;
  aspect-ratio: 2/1;
}

.mship-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 23%;
}

.mship-entry {
  min-width: 0;
}

.mship-programme {
  grid-column: 7/13;
  grid-row: 1;
  align-self: end;
}

.mship-anchor {
  grid-column: 1/7;
  grid-row: 3;
  margin-top: var(--content-media-gap);
}

.mship-water {
  grid-column: 7/13;
  grid-row: 3;
  margin-top: var(--content-media-gap);
}

@media (min-width:761px) and (max-width:1050px) {
  .mship {
    --column-gap: 24px;
  }
}

@media (max-width:760px) {
  .mship-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .mship-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .mship-photo {
    aspect-ratio: 3/2;
  }

  .mship-title {
    order: 0;
  }

  .mship-programme {
    order: 1;
  }

  .mship-photo {
    order: 2;
  }

  .mship-anchor {
    order: 3;
  }

  .mship-water {
    order: 4;
  }
}

/* Year-by-year register */

.years {
  background: var(--surface);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.years-inner {
  width: var(--reading-width);
  margin-inline: auto;
}

@media (min-width:761px) {
  .years {
    position: relative;
    isolation: isolate;
    background: transparent;
  }

  .years::before {
    content: "";
    position: absolute;
    inset: 0 var(--pad-x);
    z-index: -1;
    background: var(--surface);
    pointer-events: none;
  }
}

.years-title {
  margin: 0 0 var(--head-gap);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.years-lead {
  margin: 0 0 var(--head-gap);
  text-wrap: pretty;
}

.years-window {
  position: relative;
}

.years.is-collapsed .years-window {
  max-height: var(--years-preview-height);
  overflow: hidden;
  overflow-anchor: none;
}

.years.is-collapsed .years-window::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--years-fade-height);
  background: linear-gradient(to bottom,transparent,var(--surface));
  pointer-events: none;
}

.years-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.years-item {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
}

.years-year {
  margin: 0 0 8px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-year);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
}

.years-text {
  margin: 0;
  text-wrap: pretty;
}

.years-text .s {
  display: block;
}

.years-text .s+.s {
  margin-top: .12em;
}

.years-toggle {
  display: block;
  width: fit-content;
  min-height: 44px;
  margin-top: 16px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-button);
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  cursor: pointer;
  overflow-anchor: none;
}

.years-toggle[hidden] {
  display: none;
}

@media (max-width:760px) {
  .years-item {
    padding: 18px 0;
  }

  .years-year {
    margin-bottom: 6px;
  }
}

/* Crew and systems */

.crew {
  --column-gap: clamp(24px,3.5vw,60px);
  --row-gap: clamp(24px,2.5vw,40px);
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.crew-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.crew-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  grid-column: 1/10;
  grid-row: 1;
}

.crew p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.crew h3 {
  margin: 0 0 10px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.crew-photo {
  margin: 0;
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.crew-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crew-entry {
  min-width: 0;
}

.crew-cap {
  display: none;
  margin: 0 0 .6em;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-eyebrow);
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* B: the four entries first as a 2 x 2 register; the three rooms follow as a three-up row with functional captions */

.e-bridge {
  grid-column: 1/7;
  grid-row: 2;
  margin-top: var(--head-gap);
}

.e-crew {
  grid-column: 7/13;
  grid-row: 2;
  margin-top: var(--head-gap);
}

.e-galley {
  grid-column: 1/7;
  grid-row: 3;
  margin-top: var(--row-gap);
}

.e-way {
  grid-column: 7/13;
  grid-row: 3;
  margin-top: var(--row-gap);
}

.crew-bridge-photo {
  grid-column: 1/5;
  grid-row: 4;
  margin-top: var(--content-media-gap);
}

.crew-galley-photo {
  grid-column: 5/9;
  grid-row: 4;
  margin-top: var(--content-media-gap);
}

.crew-engine-photo {
  grid-column: 9/13;
  grid-row: 4;
  margin-top: var(--content-media-gap);
}

@media (max-width:760px) {
  .crew-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .crew-inner>* {
    width: 100%;
    min-width: 0;
    margin-top: 0 !important;
  }

  .crew-photo {
    aspect-ratio: 3/2 !important;
  }

  .crew-title {
    order: 0;
  }

  .e-bridge {
    order: 1;
  }

  .e-crew {
    order: 2;
  }

  .e-galley {
    order: 3;
  }

  .e-way {
    order: 4;
  }

  .crew-bridge-photo {
    order: 5;
  }

  .crew-galley-photo {
    order: 6;
  }

  .crew-engine-photo {
    order: 7;
  }
}

/* Film */

.film {
  padding: var(--section-space) var(--pad-x);
}

.film h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.film p {
  margin: var(--head-gap) 0 0;
  max-width: 32ch;
  font-size: var(--t-body);
  line-height: 1.65;
}

.film-frame {
  width: 100%;
  position: relative;
  margin: 0;
  aspect-ratio: 16/9;
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 440px;
}

.film-frame>picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.film-frame>picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.film-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(16,29,40,.68),rgba(16,29,40,.22) 48%,transparent 72%);
}

.film-overlay-copy {
  padding: clamp(28px,4.5vw,72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: var(--ground);
  max-width: calc(36ch + 144px);
}

.film-play {
  position: static;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-button);
  line-height: 1.2;
  cursor: default;
  margin-top: 32px;
}

.film-play svg {
  width: 14px;
  height: 16px;
  fill: currentColor;
}

.film-play span {
  transform: translateY(.125em);
}

@media (max-width:760px) {
  .film {
    padding: 0;
  }

  .film-frame {
    width: 100%;
    aspect-ratio: auto;
    height: 100dvh;
    min-height: 0;
  }

  .film-overlay-copy {
    padding: var(--section-space) var(--pad-x) 28px;
    gap: 0;
    max-width: 100%;
  }

  .film-play {
    min-height: 44px;
    padding: 10px 18px;
    gap: 12px;
    margin-top: 24px;
  }

  .film-frame>picture img {
    object-position: 58% 50%;
  }

  .film-frame::before {
    background: linear-gradient(180deg,rgba(16,29,40,.72),rgba(16,29,40,.28) 65%,transparent);
  }
}

/* Specification */

.spec {
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.6;
}

.spec-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: var(--head-gap) clamp(24px,3.5vw,60px);
  align-items: start;
}

.spec-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-spec-title);
  line-height: 1.08;
  letter-spacing: -.025em;
  grid-column: 1/6;
}

.spec-register {
  grid-column: 6/13;
  min-width: 0;
}

.spec-group {
  border-top: 1px solid var(--rule);
}

.spec-group:last-child {
  border-bottom: 1px solid var(--rule);
}

.spec-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(60px, 6vw, 84px);
  padding: clamp(16px, 1.6vw, 22px) 0;
  cursor: pointer;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-summary);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.spec-group summary::-webkit-details-marker {
  display: none;
}

.spec-toggle {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--accent);
}

.spec-chevron-up,
.spec-group[open] .spec-chevron-down {
  display: none;
}

.spec-group[open] .spec-chevron-up {
  display: block;
}

.spec-tables {
  padding: 0 0 32px;
  display: grid;
  gap: 0;
}

.spec-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  text-align: left;
  font-size: inherit;
  line-height: 1.6;
}

.spec-table th,.spec-table td {
  /* Balance visible glyphs rather than the font's line box. */
  padding: 15px 0 9px;
  border-top: 1px solid var(--rule);
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.spec-group[open] .spec-table:first-child tr:first-child > th,
.spec-group[open] .spec-table:first-child tr:first-child > td {
  border-top-color: var(--ink);
}

.spec-table th {
  width: 38%;
  font-family: var(--f-data);
  font-weight: 500;
  font-size: var(--t-label);
  padding-right: 24px;
}

.spec-table td {
  font-weight: 300;
}

.spec-price td {
  font-size: var(--t-price-spec);
  line-height: 1.2;
  color: var(--ink);
}

@media (max-width:1100px) {
  .spec-inner {
    display: block;
  }

  .spec-title {
    margin-bottom: var(--head-gap);
  }
}

@media (max-width:760px) {
  .spec-group summary {
    gap: 20px;
  }

  .spec-table th {
    width: 40%;
    padding-right: 20px;
  }

  .spec-table th,.spec-table td {
    padding-block: 15px 9px;
  }

  .spec-tables {
    padding-bottom: 24px;
  }
}

/* Gallery */

.gallery {
  background: var(--surface);
  padding: var(--section-space) var(--pad-x);
  overflow: hidden;
}

.gallery-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: var(--head-gap);
  margin-bottom: clamp(32px,3vw,48px);
}

.gallery-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-gallery-title);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px clamp(20px,2.5vw,40px);
}

.gallery-tabs button {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: var(--t-control);
  min-height: 44px;
  line-height: 1.3;
}

.gallery-tabs button[aria-selected=true] {
  border-color: currentColor;
  color: var(--accent);
}

.gallery-select-wrap {
  display: none;
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--ink);
}

.gallery-category-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-control);
  line-height: 1.3;
  cursor: pointer;
}

.gallery-category-toggle svg {
  width: 16px;
  height: 10px;
  transform: translateY(-2px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  pointer-events: none;
}

.gallery-category-toggle[aria-expanded=true] svg {
  transform: translateY(-2px) rotate(180deg);
}

.gallery-category-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: 0;
  width: 14rem;
  max-width: calc(100vw - 2 * var(--edge));
  padding: 8px 0;
  border: 1px solid var(--rule);
  background: var(--ground);
}

.gallery-category-menu button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-control);
  line-height: 1.3;
  text-align: left;
}

.gallery-category-menu button[aria-checked=true] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

@media (max-width:760px) {
  .gallery-head {
    margin-bottom: 8px;
  }

  .gallery-tabs {
    display: none;
  }

  .gallery-select-wrap {
    display: block;
  }
}

.gallery-track {
  --gallery-slide-width: 72%;
  --gallery-gap: clamp(24px,3vw,48px);
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-right: 0;
  width: 100%;
  scroll-padding-left: 0;
  overscroll-behavior-x: contain;
}

.gallery-track::after {
  content: "";
  flex: 0 0 calc(100% - var(--gallery-slide-width) - var(--gallery-gap));
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  margin: 0;
  min-width: 0;
  position: relative;
  flex: 0 0 var(--gallery-slide-width);
  scroll-snap-align: start;
}

.gallery-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 3/2;
  cursor: pointer;
  background: var(--surface);
  overflow: hidden;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  margin-top: 12px;
  font-size: var(--t-caption);
  line-height: 1.5;
}

.gallery-controls {
  position: relative;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.gallery-controls::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(var(--gallery-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.gallery-arrows {
  display: flex;
  gap: 8px;
}

.gallery-arrows button {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  width: 56px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
}

.gallery-arrows button:disabled {
  opacity: .25;
  cursor: default;
}

.gallery-arrows svg {
  width: 24px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

@media (max-width:900px) {
  .gallery-controls {
    gap: 16px;
  }
}

@media (max-width:600px) {
  .gallery-head {
    gap: var(--head-gap);
  }

  .gallery-tabs {
    gap: 0 24px;
  }

  .gallery-track {
    --gallery-slide-width: 86%;
    --gallery-gap: 20px;
  }

  .gallery-photo {
    aspect-ratio: 4/3;
  }

  .gallery-controls {
    grid-template-columns: 1fr auto;
    margin-top: 24px;
    padding-top: 16px;
    gap: 12px;
  }

  .gallery-arrows {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery-arrows button {
    width: 48px;
    height: 44px;
  }
}

/* Ownership */

.ownership {
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.ownership-inner {
  width: var(--reading-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--head-gap);
  text-align: left;
}

.ownership-title {
  width: 100%;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-ownership-title);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ownership-copy {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.ownership-entry {
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.ownership-entry p {
  margin: 0;
  max-width: 50ch;
  text-wrap: pretty;
}

.ownership-label {
  margin: 0 0 12px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

@media (max-width:760px) {
  .ownership-inner {
    gap: var(--head-gap);
  }

  .ownership-copy {
    gap: 28px;
  }

  .ownership-entry {
    padding-top: 20px;
  }
}

/* Viewing, purchase and footer */

.purchase {
  padding: var(--section-space) var(--pad-x);
  font-size: var(--t-body);
  line-height: 1.65;
}

.purchase-inner {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: clamp(24px,3.5vw,60px);
  row-gap: clamp(40px,4vw,64px);
  align-items: start;
}

.purchase-title {
  grid-column: 1/13;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 20ch;
}

.purchase-story {
  grid-column: 1/7;
  grid-row: 2;
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.purchase-story h3 {
  margin: 0 0 12px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.purchase-story p {
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.purchase-process {
  grid-row: 3;
  margin-top: -24px;
  border-top: 0;
  padding-top: 0;
}

.purchase-offer {
  grid-column: 8/13;
  grid-row: 2/4;
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.purchase-price-label {
  margin: 0 0 12px;
  font-size: var(--t-label);
  line-height: 1.4;
}

.purchase-price {
  margin: 0;
  font-size: var(--t-price-purchase);
  line-height: 1.15;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.purchase-contact {
  font-style: normal;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--t-contact);
  line-height: 1.55;
}

.purchase-contact p {
  margin: 0;
}

.purchase-name,
.menu-contact > span {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.purchase-role {
  margin-bottom: 12px !important;
}

.purchase-contact a,
.menu-contact a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.purchase-enquire {
  margin-top: 28px;
  border: 0;
  background: var(--accent);
  color: var(--ground);
  padding: .9em 2.5em;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-button);
  line-height: 1.3;
  min-height: 46px;
  cursor: default;
}

.purchase-viewing {
  grid-column: 1/5;
  grid-row: 2;
}

.purchase-process {
  grid-column: 5/9;
  grid-row: 2;
  margin-top: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.purchase-offer {
  grid-column: 9/13;
  grid-row: 2;
}

@media (max-width:1100px) {
  .purchase-viewing {
    grid-column: 1/7;
    grid-row: 2;
  }

  .purchase-process {
    grid-column: 1/7;
    grid-row: 3;
    margin-top: -24px;
    border-top: 0;
    padding-top: 0;
  }

  .purchase-offer {
    grid-column: 8/13;
    grid-row: 2/4;
  }
}

@media (max-width:760px) {
  .purchase-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .purchase-inner>* {
    width: 100%;
  }

  .purchase-story,.purchase-offer,.purchase-process {
    padding-top: 20px;
  }

  .purchase-process,.purchase-process {
    margin-top: 0;
    border-top: 1px solid var(--rule);
  }

  .purchase-contact {
    margin-top: 32px;
  }
}

.purchase {
  position: relative;
  padding: 0 0 calc(var(--section-space) / 2);
  isolation: isolate;
}

.purchase-image {
  margin: 0;
  height: clamp(580px,74svh,820px);
  position: relative;
  z-index: -1;
  overflow: hidden;
  background: var(--surface);
}

.purchase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.purchase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(16,29,40,.45),transparent 42%);
}

.purchase-inner {
  padding-inline: var(--pad-x);
  row-gap: 0;
}

.purchase-title {
  position: absolute;
  top: clamp(48px,6vw,96px);
  left: var(--pad-x);
  right: var(--pad-x);
  max-width: 14ch;
  color: var(--ground);
  z-index: 1;
}

.purchase-viewing,.purchase-process,.purchase-offer {
  grid-row: 1;
  background: var(--ground);
  padding: 28px 24px 0;
  border-top: 0;
}

.purchase-process {
  margin-top: 0;
}

.purchase-offer {
  margin-top: -112px;
}

@media (min-width:761px) {
  .purchase-viewing,.purchase-process {
    grid-row: 2;
    padding-top: 0;
  }

  .purchase-viewing {
    padding-left: 0;
  }

  .purchase-offer {
    grid-row: 1/3;
    display: grid;
    grid-template-rows: subgrid;
  }

  .purchase-pricing {
    padding-bottom: 40px;
  }

  .purchase-contact {
    margin-top: 0;
  }
}

@media (min-width:1101px) {
  .purchase-offer {
    padding-inline: clamp(32px,3vw,56px);
  }
}

@media (max-width:1100px) and (min-width:761px) {
  .purchase-viewing {
    grid-column: 1/5;
    padding-right: 16px;
  }

  .purchase-process {
    grid-column: 5/9;
  }

  .purchase-offer {
    grid-column: 9/13;
  }

  .purchase-process,.purchase-offer {
    padding-inline: 16px;
  }
}

@media (max-width:760px) {
  .purchase-image {
    height: 64svh;
    min-height: 440px;
    max-height: 600px;
  }

  .purchase-title {
    top: 40px;
    max-width: 12ch;
  }

  .purchase-image img {
    object-position: 58% 50%;
  }

  .purchase-inner {
    gap: 32px;
  }

  .purchase-viewing,.purchase-process,.purchase-offer {
    margin-top: 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--rule);
  }

  .purchase-viewing {
    border-top: 0;
    padding-top: 28px;
  }
}

@media (max-width:600px) {
  .purchase-image img {
    object-position: 65% 50%;
  }
}

.purchase-footer {
  --footer-gap: 12px;
  padding-inline: var(--pad-x);
  margin-top: clamp(64px,6vw,96px);
  color: inherit;
}

.purchase-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  border-top: 1px solid var(--rule);
  padding-top: var(--footer-gap);
  font-size: var(--t-small);
  line-height: 1.5;
}

.purchase-footer-row p {
  margin: 0;
}

.listing-share {
  position: relative;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  text-align: right;
  cursor: pointer;
  display: inline-grid;
}

.listing-share-label,.listing-share-feedback {
  grid-area: 1/1;
}

.listing-share-feedback {
  visibility: hidden;
}

.listing-share.is-feedback .listing-share-label {
  visibility: hidden;
}

.listing-share.is-feedback .listing-share-feedback {
  visibility: visible;
}

.purchase-disclaimer {
  margin: var(--footer-gap) 0 0;
  max-width: 80ch;
  font-size: var(--t-disclaimer);
  line-height: 1.6;
}

@media (max-width:600px) {
  .purchase-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .listing-share {
    text-align: center;
  }
}

/* Enquiry */

.enquiry {
  position: relative;
  width: min(100%,1080px);
  background: var(--ground);
  padding: clamp(32px,4vw,64px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px,5vw,72px);
  color: var(--ink);
}

.enquiry-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: inherit;
}

.enquiry-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.enquiry-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-enquiry-title);
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 12ch;
}

.enquiry-title span {
  display: block;
}

.enquiry-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

.enquiry-person {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.enquiry-person legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: var(--t-label);
}

.enquiry-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: var(--t-control);
  line-height: 1.5;
}

.enquiry-radios label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.enquiry-radios input {
  appearance: none;
  margin: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 16px;
}

.enquiry-radios input:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--t-label);
}

.enquiry-field input,.enquiry-field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0 12px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-input);
  line-height: 1.5;
  min-height: 44px;
}

.enquiry-field textarea {
  resize: vertical;
  min-height: 108px;
  max-height: 240px;
}

.enquiry-send {
  align-self: flex-start;
  border: 0;
  background: var(--accent);
  color: var(--ground);
  padding: .9em 2em;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-button);
  line-height: 1.3;
  min-height: 46px;
}

.enquiry-thanks {
  display: none;
  grid-column: 1/-1;
  min-height: 300px;
  align-content: center;
  max-width: 40ch;
}

.enquiry-thanks h2 {
  margin: 0 0 24px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-thanks-title);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.enquiry-thanks p {
  margin: 0;
  font-size: var(--t-thanks-body);
  line-height: 1.6;
}

[data-enquiry-state=thanks] .enquiry-title,[data-enquiry-state=thanks] .enquiry-form {
  display: none;
}

[data-enquiry-state=thanks] .enquiry-thanks {
  display: grid;
}

.enquiry-dialog {
  position: fixed;
  border: 0;
  background: transparent;
  padding: 32px;
  margin: 0;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  overflow: auto;
  color: var(--ink);
}

.enquiry-dialog[open] {
  display: grid;
  place-items: safe center;
}

.enquiry-dialog::backdrop {
  background: rgba(39,48,57,.7);
}

html:has(.enquiry-dialog[open]) {
  overflow: hidden;
}

.enquiry-close,.purchase-enquire {
  cursor: pointer;
}

@media (max-width:760px) {
  .enquiry-dialog {
    padding: 20px;
  }

  .enquiry {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 64px 24px 32px;
  }

  .enquiry-title {
    padding: 0;
    max-width: 15ch;
  }

  .enquiry-title span {
    display: inline;
  }

  .enquiry-close {
    right: 12px;
    top: 12px;
  }

  .enquiry-form {
    gap: 20px;
  }

  .enquiry-radios {
    gap: 12px 20px;
  }

  .enquiry-thanks {
    min-height: 280px;
  }

  [data-enquiry-state=thanks] .enquiry-title,[data-enquiry-state=thanks] .enquiry-form {
    display: none;
  }
}

/* Navigation */

.menu {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  background: var(--ground);
  color: var(--ink);
  overflow: auto;
}

.menu::backdrop {
  background: var(--ground);
}

html:has(.menu[open]) {
  overflow: hidden;
}

html:has(.menu[open]) .site-logo,
html:has(.menu[open]) .site-languages {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.menu-close {
  position: fixed;
  z-index: 3;
  top: calc(var(--bar-top) + (var(--bar-h) - 44px)/2);
  right: var(--edge);
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  display: grid;
  place-content: center;
}

.menu-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.menu-sheet {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(64px,9vw,160px);
  row-gap: clamp(32px,5svh,64px);
  padding: clamp(100px,13svh,144px) var(--pad-x) clamp(24px,4svh,48px);
}

.menu-photo {
  display: block;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.menu-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width:701px) {
  .menu-photo {
    position: relative;
    align-self: center;
    margin-block: auto;
    top: var(--menu-center-shift, 0px);
    height: var(--menu-photo-height, 100%);
    min-height: min(clamp(200px, 48svh, 800px), var(--menu-photo-height, 1040px));
    max-height: 1040px;
    overflow: hidden;
  }

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

  .menu-links {
    position: relative;
    top: var(--menu-center-shift, 0px);
    align-self: center;
  }
}

.menu-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px,1.6svh,20px);
}

.menu-link {
  width: fit-content;
  max-width: 100%;
  display: block;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-menu);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  white-space: nowrap;
}

.menu-link[aria-current=location] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.menu-foot {
  grid-column: 1/3;
  grid-row: 2;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.menu-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-style: normal;
  font-size: var(--t-contact);
  line-height: 1.55;
}

.menu-contact > span {
  margin-bottom: 24px;
}

.menu-enquire {
  border: 0;
  background: var(--accent);
  color: var(--ground);
  padding: .9em 2em;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-menu-button);
  line-height: 1.3;
  min-height: 46px;
}

@media (max-width:1000px) and (min-width:701px) {
  .menu-sheet {
    column-gap: 48px;
  }

}

@media (max-width:700px) {
  .menu-sheet {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    row-gap: clamp(20px,3svh,32px);
    padding-top: 84px;
    padding-bottom: 20px;
  }

  .menu-links {
    grid-column: 1;
    grid-row: 1;
    gap: clamp(7px,1.4svh,14px);
  }

  .menu-photo {
    display: none;
  }

  .menu-foot {
    grid-column: 1;
    grid-row: 2;
    padding-top: 16px;
    gap: 16px;
  }
}

@media (max-height:450px) and (min-width:701px) {
  .menu-sheet {
    padding-top: 88px;
    row-gap: 24px;
  }

  .menu-links {
    gap: 8px;
  }
}

/* One heading gap on mobile; preserve the existing 24px gaps between content blocks. */
@media (max-width: 760px) {
  :root {
    --head-gap: 1.5rem;
  }

  .osuite-title,
  .rdeck-title,
  .guests-title,
  .dplan-title,
  .design-title,
  .mship-title,
  .crew-title {
    margin-bottom: calc(var(--head-gap) - 24px);
  }
}

/* Paired section headings share their last text baseline above the content gap. */
@media (min-width:761px) {
  .osuite-title,
  .osuite-intro,
  .rdeck-title,
  .rdeck-intro,
  .guests-title,
  .guests-lead,
  .dplan-title,
  .design-title,
  .design-exterior,
  .mship-title,
  .mship-programme {
    align-self: last baseline;
  }
}

/* Every monetary amount uses the display face, including inline references. */
.hero-price,
.spec-price td,
.purchase-price,
.price-amount {
  font-family: var(--f-display);
  font-weight: 700;
}

/* Text-link hover: contact links and Share. The contact links keep their native 1px underline
   (baseline + 4px); an accent line at the same position draws over it from the left (240 ms)
   and leaves to the right (180 ms). Share has no rest line, its accent line sits 4px below the
   label baseline. */
.purchase-contact a,
.menu-contact a,
.listing-share {
  --link-line: round(calc(.98em + 4px), 1px);
  position: relative;
}

.listing-share {
  --link-line: round(calc(1em + 14px), 1px);
}

.purchase-contact a::after,
.menu-contact a::after,
.listing-share::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--link-line);
  height: 1px;
  pointer-events: none;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms cubic-bezier(.25,1,.5,1);
}

@media (hover: hover) and (pointer: fine) {
  .purchase-contact a:hover::after,
  .menu-contact a:hover::after,
  .listing-share:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    transition-duration: 240ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .purchase-contact a::after,
  .menu-contact a::after,
  .listing-share::after {
    transition: none;
  }
}

/* PDF and View all / Hide keep their native accent underline at rest (it skips descenders).
   On hover an accent line at the same position takes over and retracts to the right (180 ms);
   leaving draws it back from the left (240 ms), then the native underline returns. */
.dplan-download,
.years-toggle {
  position: relative;
  transition: text-decoration-color 0s 240ms;
}

.dplan-download {
  --link-line: calc(1.06em + 4px);
}

.years-toggle {
  --link-line: calc(50% + .225em + 4px);
}

.dplan-download::after,
.years-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--link-line);
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform-origin: left;
  transition: transform 240ms cubic-bezier(.25,1,.5,1), opacity 0s 240ms;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .dplan-download:hover,
  .years-toggle:hover {
    text-decoration-color: transparent;
    transition: none;
  }

  .dplan-download:hover::after,
  .years-toggle:hover::after {
    opacity: 1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms cubic-bezier(.25,1,.5,1), opacity 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dplan-download,
  .years-toggle,
  .dplan-download::after,
  .years-toggle::after {
    transition: none;
  }
}

/* Gallery and lightbox arrows: the frame and the arrow take the accent on hover (160 ms).
   A disabled arrow stays as it is. */
.gallery-arrows button,
.media-arrows button {
  transition: border-color 160ms ease, color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-arrows button:not(:disabled):hover,
  .media-arrows button:not(:disabled):hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-arrows button,
  .media-arrows button {
    transition: none;
  }
}

/* Gallery photo: on hover the photograph zooms inside its frame (1.045, 650 ms; back 500 ms).
   The frame (overflow: hidden) and the layout stay put. Reduced motion: no zoom. */
@media (hover: hover) and (pointer: fine) {
  .gallery-photo img {
    transform: scale(1);
    transition: transform 500ms cubic-bezier(.22,1,.36,1);
  }

  .gallery-photo:hover img {
    transform: scale(1.045);
    transition-duration: 650ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-photo img,
  .gallery-photo:hover img {
    transform: none;
    transition: none;
  }
}

/* Film Play: the light button fills with ink from its top edge on hover (280 ms), like the
   other filled buttons; the label and triangle turn light. Only once media.js enables it. */
@media (hover: hover) and (pointer: fine) {
  .film-play {
    position: relative;
    isolation: isolate;
    overflow: clip;
    transition: color 280ms cubic-bezier(.165,.84,.44,1);
  }

  .film-play::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: center top;
    transition: transform 280ms cubic-bezier(.165,.84,.44,1);
  }

  .film-play:not([aria-disabled="true"]):hover {
    color: var(--ground);
  }

  .film-play:not([aria-disabled="true"]):hover::before {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-play,
  .film-play::before {
    transition: none;
  }
}

/* Gallery category tabs: an unselected tab's label takes the accent on hover (160 ms).
   The underline stays the mark of the selected tab. */
.gallery-tabs button {
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-tabs button:not([aria-selected=true]):hover {
    color: var(--accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tabs button {
    transition: none;
  }
}

/* FAQ questions and the close X of the light overlays take the accent on hover (160 ms);
   their size does not change. The film X is light on the black film view, where the accent
   would vanish, so it keeps its colour. */
.faq-question,
.faq-close,
.menu-close,
.enquiry-close,
.media-close {
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .faq-question:hover,
  .faq-close:hover,
  .menu-close:hover,
  .enquiry-close:hover,
  #gallery-lightbox .media-close:hover {
    color: var(--accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-question,
  .faq-close,
  .menu-close,
  .enquiry-close,
  .media-close {
    transition: none;
  }
}

/* ASK (and its twin inside the open FAQ view): the round accent button fills with ink from its
   top edge on hover (280 ms), like the other filled buttons. The label stays light. The
   button's own show / hide fade (faq-motion.css) is untouched; the fill has its own transition. */
@media (hover: hover) and (pointer: fine) {
  .faq-trigger,
  .faq-toggle {
    isolation: isolate;
    overflow: clip;
  }

  .faq-trigger::before,
  .faq-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: center top;
    transition: transform 280ms cubic-bezier(.165,.84,.44,1);
  }

  .faq-trigger:hover::before,
  .faq-toggle:hover::before {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-trigger::before,
  .faq-toggle::before {
    transition: none;
  }
}
