/* Double K Suites by Kaempff-Kohler */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Big Caslon";
  src: url("../assets/fonts/BigCaslonFB-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Caslon";
  src: url("../assets/fonts/BigCaslonFB-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #f7f5f3;
  --taupe: #e7e4e2;
  --bordeaux: #77201d;
  --bordeaux-deep: #5f1917;
  --green: #23321d;
  --ink: #211d1a;
  --ink-soft: var(--ink); /* secondary text is set in full black too, no grey */
  --ivory-soft: rgba(247, 245, 243, 0.78);
  --hairline: rgba(33, 29, 26, 0.14);
  --hairline-light: rgba(247, 245, 243, 0.22);

  /* Paper: the rib a laid sheet takes from the mould, with a fine tooth over it.
     The tooth's filter region is pinned to its tile — feTurbulence stitches across
     the region, so the default 120% box leaves a seam at every tile edge. */
  --paper-rib: repeating-linear-gradient(to bottom,rgba(247,245,243,0.03) 0,rgba(0,0,0,0) 1.5px,rgba(247,245,243,0.03) 3px);
  --paper-tooth: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27400%27%20height%3D%27400%27%3E%20%3Cfilter%20id%3D%27p%27%20x%3D%270%25%27%20y%3D%270%25%27%20width%3D%27100%25%27%20height%3D%27100%25%27%3E%20%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.75%27%20numOctaves%3D%271%27%20seed%3D%271%27%20stitchTiles%3D%27stitch%27%2F%3E%20%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%20%3CfeComponentTransfer%3E%20%3CfeFuncR%20type%3D%27linear%27%20slope%3D%271.5%27%20intercept%3D%27-0.25%27%2F%3E%20%3CfeFuncG%20type%3D%27linear%27%20slope%3D%271.5%27%20intercept%3D%27-0.25%27%2F%3E%20%3CfeFuncB%20type%3D%27linear%27%20slope%3D%271.5%27%20intercept%3D%27-0.25%27%2F%3E%20%3CfeFuncA%20type%3D%27linear%27%20slope%3D%270%27%20intercept%3D%271%27%2F%3E%20%3C%2FfeComponentTransfer%3E%20%3C%2Ffilter%3E%20%3Crect%20width%3D%27400%27%20height%3D%27400%27%20filter%3D%27url%28%23p%29%27%20opacity%3D%270.35%27%2F%3E%20%3C%2Fsvg%3E");
  --paper: var(--paper-rib), var(--paper-tooth);
  --paper-size: auto, 400px 400px;
  --paper-blend: normal, soft-light;
  /* The same sheet as seen through light ink: soft-light barely touches near-white letters,
     so text carries the tooth (same noise, same seed) as faint dark specks, plus the rib. */
  --paper-ink-rib: repeating-linear-gradient(to bottom,rgba(20,4,3,0.06) 0,rgba(0,0,0,0) 1.5px,rgba(20,4,3,0.06) 3px);
  --paper-ink-tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='i' x='0%25' y='0%25' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' seed='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -0.8 0 0 0 0.4'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23i)'/%3E%3C/svg%3E");

  --serif: "Big Caslon", "Big Caslon FB", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1320px;
  --section-space: clamp(104px, 13vw, 192px);
  --header-h: 68px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable; /* no sideways jump when a dialog locks scrolling */
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video,
picture,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--bordeaux);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.875rem;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Type ---------- */
/* Chapter label, set like the header links: serif small caps with a Roman numeral */
.chapter-label {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-label .num {
  font-size: 0.75em;
  letter-spacing: 0.04em;
}

.centered .chapter-label {
  justify-content: center;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: 0.012em;
  text-wrap: balance;
}

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.024em;
  text-wrap: balance;
}

.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: 0.016em;
  text-wrap: balance;
}

.coda {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.3;
  text-wrap: balance;
}

.prose {
  max-width: 34em;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.small {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.on-dark .prose,
.on-dark .small {
  color: var(--ivory-soft);
}

/* The script "Suites" from the logo, tinted by currentColor */
.script-word {
  display: inline-block;
  width: 2.62em;
  height: 0.74em;
  margin-left: 0.12em;
  background: currentColor;
  vertical-align: -0.06em;
  -webkit-mask: url("../assets/logo/suites-script.svg") left center / contain no-repeat;
  mask: url("../assets/logo/suites-script.svg") left center / contain no-repeat;
}

/* Vertical rhythm inside a text column */
.stack > * + * {
  margin-top: 24px;
}

.stack > .display + *,
.stack > .title + *,
.stack > .statement + * {
  margin-top: 32px;
}

.stack > .chapter-label + * {
  margin-top: 28px;
}

.stack > .coda,
.stack > .actions {
  margin-top: 40px;
}

/* ---------- Links & buttons ---------- */
/* Sentence-case underlined link; the rule wipes away and redraws on hover */
.link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  background: none;
  border: 0;
  cursor: pointer;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
}

@media (hover: hover) {
  .link:hover::after {
    animation: rule-wipe 700ms var(--ease-out);
  }
}

@keyframes rule-wipe {
  0% {
    transform: scaleX(1);
    transform-origin: right;
  }
  45% {
    transform: scaleX(0);
    transform-origin: right;
  }
  46% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--bordeaux);
  background: var(--bordeaux);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out), color 300ms var(--ease-out), transform 100ms ease-out;
}

.button:hover {
  background: var(--bordeaux-deep);
  border-color: var(--bordeaux-deep);
}

.button:active,
.link:active {
  transform: scale(0.97);
}

.button--light {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--bordeaux);
}

.button--light:hover {
  border-color: var(--taupe);
  background: var(--taupe);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

/* a flex row ignores the centring its parent sets on text */
.centered .actions {
  justify-content: center;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.section--taupe {
  background: var(--taupe);
}

.section--bordeaux {
  background: var(--bordeaux);
  color: var(--ivory);
  background-image: var(--paper);
  background-size: var(--paper-size);
  background-blend-mode: var(--paper-blend);
}

.section--green {
  background: var(--green);
  color: var(--ivory);
  background-image: var(--paper);
  background-size: var(--paper-size);
  background-blend-mode: var(--paper-blend);
}

/* On paper sections the text takes the paper too, like ink pressed into the sheet:
   the texture is laid over the text colour and clipped to the letterforms. Only the
   glyph fill changes (text-fill-color), so currentColor still drives underlines and
   line drawings, and photos are untouched. */
:is(.section--bordeaux, .section--green, .gastro) :is(h2, h3, p, li, dt, dd, address, .link) {
  background-image: var(--paper-ink-rib), var(--paper-ink-tooth), linear-gradient(currentColor, currentColor);
  background-size: auto, 400px 400px, auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
  :is(.section--bordeaux, .section--green, .gastro) :is(h2, h3, p, li, dt, dd, address, .link) {
    -webkit-text-fill-color: currentColor;
  }
}

.centered {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.centered .prose {
  margin-inline: auto;
}

/* Image + text pairs on a 12-column grid */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
}

.split__media {
  grid-column: 1 / span 6;
}

.split__text {
  grid-column: 8 / span 5;
}

.split--reverse .split__media {
  grid-column: 7 / span 6;
  grid-row: 1;
}

.split--reverse .split__text {
  grid-column: 1 / span 5;
  grid-row: 1;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }

  .split .split__media,
  .split .split__text {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Photographs: plain rectangles, the image settles slightly larger on hover */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--taupe);
}

.photo picture,
.photo img {
  width: 100%;
  height: 100%;
}

.photo img {
  object-fit: cover;
  transition: transform 1400ms var(--ease-out);
}

@media (hover: hover) {
  .photo:hover img {
    transform: scale(1.03);
  }

  .gastro__media:hover .gastro__mark img {
    transform: none;
  }
}

.photo--portrait {
  aspect-ratio: 4 / 5;
}

.photo--wide {
  aspect-ratio: 16 / 10;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ivory);
  transition: background-color 350ms var(--ease-out), color 350ms var(--ease-out), border-color 350ms var(--ease-out);
  border-bottom: 1px solid transparent;
}

.header.is-solid {
  background: var(--ivory);
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.header__left {
  display: flex;
  align-items: center;
}

/* Once solid, the monogram takes the far left and the links step aside for it */
.header__nav {
  transition: transform 450ms var(--ease-out);
}

.header.is-solid .header__nav {
  transform: translateX(80px);
}

.header__nav ol {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}

.header__nav a,
.header__util > a:not(.button),
.dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header__nav .num {
  font-size: 0.6875rem;
}

.header__nav a span:last-child,
.header__util > a:not(.button) {
  position: relative;
}

.header__nav a span:last-child::after,
.header__util > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease-out);
}

.header__nav a:hover span:last-child::after,
.header__util > a:not(.button):hover::after {
  transform: scaleX(1);
}

.header__mark {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease-out);
}

.header.is-solid .header__mark,
.header__mark:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.header__mark img {
  width: auto;
  height: 28px;
}

.header__util {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.6vw, 24px);
}

.header__book {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.8125rem;
}

.header__book:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}

.header.is-solid .header__book:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--ivory);
}

.header__menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.header__menu-toggle .bars {
  position: relative;
  width: 22px;
  height: 8px;
  border-block: 1px solid currentColor;
}

@media (max-width: 1240px) {
  .header__nav,
  .header__util .dropdown,
  .header__util > a:not(.button) {
    display: none;
  }

  .header__menu-toggle {
    display: inline-flex;
  }

  /* With the links folded away, the monogram sits in the centre */
  .header__mark {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.header__book .short {
  display: none;
}

@media (max-width: 480px) {
  .header__book .long {
    display: none;
  }

  .header__book .short {
    display: inline;
  }
}

/* Header dropdowns (currency, language), anchored to their trigger */
.dropdown {
  position: relative;
}

.dropdown__trigger {
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.dropdown__trigger svg {
  width: 8px;
  height: 8px;
  transition: transform 250ms var(--ease-out);
}

.dropdown__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.dropdown__list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid rgba(33, 29, 26, 0.07);
  /* a sheet lifted off the page, not a box drawn on it */
  box-shadow:
    0 1px 2px rgba(33, 29, 26, 0.05),
    0 10px 20px -12px rgba(33, 29, 26, 0.22),
    0 26px 50px -30px rgba(33, 29, 26, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.985);
  transform-origin: top right;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}

.dropdown.is-open .dropdown__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
}

/* marker · code · name, so the codes line up and the names start on one axis */
.dropdown__list button {
  display: grid;
  grid-template-columns: 3px 2.1em 1fr;
  align-items: center;
  gap: 0 12px;
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  background: none;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.dropdown__list button::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--bordeaux);
  opacity: 0;
  transition: opacity 160ms var(--ease-out);
}

.dropdown__list button > span {
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 160ms var(--ease-out);
}

.dropdown__list button:hover,
.dropdown__list button:focus-visible {
  background: rgba(231, 228, 226, 0.55);
}

.dropdown__list button:hover > span,
.dropdown__list button:focus-visible > span {
  color: var(--ink);
}

/* the live choice is named in bordeaux and ticked, never blocked out in taupe */
.dropdown__list button[aria-current="true"],
.dropdown__list button[aria-current="true"] > span {
  color: var(--bordeaux);
}

.dropdown__list button[aria-current="true"]::before {
  opacity: 1;
}

/* Full-screen menu for narrow screens */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: var(--ivory);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms var(--ease-out), visibility 0s linear 350ms;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 350ms var(--ease-out), visibility 0s;
}

.menu ol a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 10px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.022em;
}

.menu ol .num {
  width: 2.2em;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--bordeaux);
}

.menu__util {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu__util a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* While the menu is open the header sits on it, solid */
.header.is-menu {
  background: var(--ivory);
  color: var(--ink);
}

.header.is-menu .header__mark {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: #2a231c;
  color: var(--ivory);
}

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

.hero__dim {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.32);
}

.hero__brand {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero__logo img {
  width: clamp(220px, 21vw, 320px);
  height: auto;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(48px, 9vh, 88px) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
}

.hero__cue:active {
  transform: translateX(-50%) scale(0.97);
}

/* Logo settles in once, on load */
.js .hero__logo {
  animation: settle 1600ms var(--ease-out) 200ms both;
}

.js .hero__cue {
  animation: fade 1200ms var(--ease-out) 900ms both;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Intro ---------- */
/* One line on desktop: the column widens just for this headline */
.intro .centered {
  max-width: 76rem;
}

.intro .centered .prose {
  max-width: 34em;
}

.intro .statement {
  max-width: none;
  margin-inline: auto;
}

/* ---------- I. Service ethos ---------- */
.ethos .split__media {
  grid-column: 8 / span 5;
}

.ethos .split__text {
  grid-column: 1 / span 6;
}

@media (max-width: 860px) {
  .ethos .split__media {
    width: min(100%, 420px);
    justify-self: center;
  }
}

/* ---------- II. Suites carousel ---------- */
.suites {
  overflow: hidden;
}

.suites__head {
  margin-bottom: clamp(56px, 7vw, 96px);
}

.suites .display {
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.carousel {
  --slide-w: min(60vw, 1040px);
  position: relative;
}

.carousel__viewport {
  position: relative;
  height: calc(var(--slide-w) * 9 / 16);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.carousel__viewport.is-dragging {
  cursor: grabbing;
}

.carousel__viewport:focus-visible {
  outline-offset: 12px;
}

.slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--slide-w);
  height: 100%;
  margin-left: calc(var(--slide-w) / -2);
  overflow: hidden;
  background: var(--bordeaux-deep);
  will-change: transform;
  /* A very soft, low shadow under the centred suite; --lift (0–1) is set from its distance to centre */
  --lift: 0;
  box-shadow:
    0 10px 22px -8px rgba(20, 4, 3, calc(0.175 * var(--lift))),
    0 36px 80px -18px rgba(20, 4, 3, calc(0.3 * var(--lift)));
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carousel__captions {
  display: grid;
  margin-top: clamp(40px, 4vw, 56px);
  text-align: center;
}

.caption {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-out), visibility 0s linear 400ms;
}

.caption.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms var(--ease-out) 80ms, visibility 0s;
}

.caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.caption p {
  margin-top: 14px;
  color: var(--ivory-soft);
}

.caption .link {
  margin-top: 14px;
}

/* Hairline arrows either side of a set counter: 02 ——— 03 */
.carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: 36px;
}

.carousel__arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 300ms var(--ease-out);
}

.carousel__arrow:hover {
  opacity: 1;
}

.carousel__arrow svg {
  width: 48px;
  height: 12px;
  overflow: visible;
  transition: transform 500ms var(--ease-out);
}

.carousel__arrow--prev:hover svg {
  transform: translateX(-6px);
}

.carousel__arrow--next:hover svg {
  transform: translateX(6px);
}

.carousel__arrow:active svg {
  transition-duration: 100ms;
}

.carousel__arrow--prev:active svg {
  transform: translateX(-10px);
}

.carousel__arrow--next:active svg {
  transform: translateX(10px);
}

.carousel__progress {
  position: relative;
  width: 120px;
  height: 1px;
  background: var(--hairline-light);
  overflow: hidden;
}

.carousel__progress span {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  transition: transform 700ms var(--ease-out);
}

@media (max-width: 860px) {
  .carousel {
    --slide-w: 80vw;
  }
}

/* ---------- III. Business ---------- */
.facts {
  display: grid;
  gap: 12px;
}

/* ---------- Full-bleed interlude ---------- */
.interlude {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(78vh, 760px);
  padding: 96px var(--gutter);
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
}

.interlude .photo {
  position: absolute;
  inset: 0;
  background: #2a231c;
}

.interlude .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.36);
}

.interlude__text {
  position: relative;
  max-width: 40rem;
}

.interlude .prose {
  margin-inline: auto;
}

/* ---------- IV. Activities ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(64px, 7vw, 96px);
}

.card h3 {
  margin-top: 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.card p {
  margin-top: 8px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
}

/* ---------- Gastronomy: green half, film-still half ---------- */
.gastro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--green);
  color: var(--ivory);
  background-image: var(--paper);
  background-size: var(--paper-size);
  background-blend-mode: var(--paper-blend);
}

.gastro__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 100vh; /* one screen: the arch below gives up whatever is left over */
  padding: clamp(40px, 6vh, 104px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Late-afternoon light through a window: a warm glow on the diagonal, and soft shadows
   from the frame falling across the sheet, over the type as well, as on the embossed card. */
/* --shade (-1…1, set from scroll) slides the shadows along the diagonal, and the warm light
   half as far the other way, so the two read as light and shade rather than one moving sheet. */
.gastro__text {
  --shade: 0;
}

.gastro__text::before,
.gastro__text::after {
  content: "";
  position: absolute;
  inset: -160px; /* room to travel without showing an edge */
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

.gastro__text::before {
  background: radial-gradient(ellipse 62% 46% at 46% 48%, rgba(255, 196, 132, 0.09), rgba(255, 196, 132, 0) 72%);
  transform: translate3d(calc(var(--shade) * -36px), calc(var(--shade) * 24px), 0);
}

.gastro__text::after {
  background:
    radial-gradient(ellipse 70% 58% at 0% 0%, rgba(22, 14, 6, 0.5), rgba(22, 14, 6, 0) 70%),
    linear-gradient(122deg, rgba(22, 14, 6, 0) 56%, rgba(22, 14, 6, 0.34) 64%, rgba(22, 14, 6, 0.3) 74%, rgba(22, 14, 6, 0) 84%),
    linear-gradient(122deg, rgba(22, 14, 6, 0) 10%, rgba(22, 14, 6, 0.26) 20%, rgba(22, 14, 6, 0.22) 28%, rgba(22, 14, 6, 0) 38%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(22, 14, 6, 0.4), rgba(22, 14, 6, 0) 70%);
  filter: blur(28px);
  transform: translate3d(calc(var(--shade) * 72px), calc(var(--shade) * -48px), 0);
}

@media (prefers-contrast: more) {
  .gastro__text::before,
  .gastro__text::after {
    display: none;
  }
}

/* "EST. [archway] 1922": a line drawing flanked by the founding year */
.gastro__est {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
  margin-bottom: clamp(26px, 4.4vh, 72px);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums; /* full-height figures, level with the capitals */
  color: var(--ivory);
}

.gastro__est > span {
  /* Flex centres the line box, which sits low on a line of capitals; drop the
     words by half that gap so the caps straddle the arch's centre line. */
  transform: translateY(0.1em);
}

.gastro__passage {
  width: clamp(64px, 5.6vw, 86px);
  height: auto;
  opacity: 0.9;
}

/* Type comes from the shared .display and .prose styles; only spacing is set here */
.gastro__title {
  margin-top: 0; /* the EST. 1922 emblem above sets the gap */
  /* One line, and never wider than the paragraph column beneath it. */
  font-size: clamp(1.3125rem, 2.8vw, 2.5rem);
  letter-spacing: 0.025em;
  text-wrap: nowrap;
}

@media (max-width: 860px) {
  .gastro__title {
    font-size: clamp(1.3125rem, 5.6vw, 2.5rem); /* stacked, it has the full width */
  }
}

.gastro__note {
  max-width: 26em;
  margin-top: clamp(16px, 2.4vh, 36px);
}

.gastro__note + .gastro__note {
  margin-top: 1.1em;
}

.gastro .link {
  margin-top: 20px;
}

.gastro__media {
  min-height: 100%;
}

/* Out of flow, so a portrait photograph cannot stretch the row past one screen:
   the green column sets the height and the picture fills whatever that is. */
.gastro__media > picture:not(.gastro__mark),
.gastro__media > picture:not(.gastro__mark) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The Kaempff-Kohler roundel, centred on the photograph. No .reveal here: that
   class ends on transform:none, which would undo the centring. */
.gastro__media .gastro__mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: clamp(104px, 11.5vw, 184px);
  height: auto;
  transform: translate(-50%, -50%);
}

.gastro__media .gastro__mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* an ivory roundel needs a little shade under it to hold the warm photograph */
.gastro__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 40% at 50% 50%, rgba(27, 40, 23, 0.52), rgba(27, 40, 23, 0) 72%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .gastro {
    grid-template-columns: minmax(0, 1fr);
  }

  /* stacked, the panel is two screens tall and the column needs its full height */
  .gastro__text {
    max-height: none;
  }

  .gastro__media {
    order: -1;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- V. Prices & offers ---------- */
.offer .split__media {
  grid-column: 1 / span 7;
}

.offer .split__text {
  grid-column: 9 / span 4;
}

/* ---------- A suite's own page ---------- */
/* Built on the full-bleed interlude, but tall enough to open a page. */
.suite-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(88vh, 900px);
  padding: calc(var(--header-h) + 96px) var(--gutter) 96px;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
}

.suite-hero .photo {
  position: absolute;
  inset: 0;
  background: #2a231c;
}

.suite-hero .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.42);
}

.suite-hero__text {
  position: relative;
  max-width: 44rem;
}

.suite-hero__meta {
  margin-top: 18px;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

/* The amenities run two abreast once there is room for them. */
.facts--columns {
  margin-top: clamp(40px, 4.6vw, 64px);
}

@media (min-width: 720px) {
  .facts--columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 5vw, 80px);
  }
}

/* Term and figure side by side, divided by a hairline, like a spec sheet. */
.spec {
  display: grid;
  gap: 0;
  margin-top: clamp(28px, 3vw, 40px);
}

.spec > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding-block: 12px;
  border-bottom: 1px solid var(--hairline);
}

.spec dt {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.spec dd {
  text-align: right;
}

/* Holds the drawing's place until the real floorplan arrives. */
.floorplan {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 32px;
  background: var(--taupe);
}

.floorplan__slot {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(33, 29, 26, 0.25);
  font-size: 0.875rem;
  text-align: center;
}

.cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--two .card a {
  display: block;
}

.cards--two .card h3 {
  transition: color 250ms var(--ease-out);
}

.cards--two .card a:hover h3 {
  color: var(--bordeaux);
}

@media (max-width: 860px) {
  .cards--two {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
}

/* ---------- Legal notice and data protection ---------- */
.legal {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px));
  padding-bottom: var(--section-space);
}

.legal__body {
  max-width: 48rem;
}

.legal__lede {
  margin-top: clamp(20px, 2.6vw, 32px);
}

.legal h2 {
  margin-top: clamp(40px, 4.6vw, 64px);
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.legal p,
.legal dd {
  margin-top: 14px;
  max-width: 42em;
  color: var(--ink-soft);
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hairline);
  transition: text-decoration-color 250ms var(--ease-out);
}

.legal a:hover {
  text-decoration-color: var(--bordeaux);
}

/* term above, answer below: reads as a record rather than a table */
.legal__facts {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.legal__facts dt {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.legal__facts dd {
  margin-top: 6px;
}

.legal__updated {
  margin-top: clamp(40px, 4.6vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
}

/* Detail the client still owes us. Delete the span once the text is in. */
.todo {
  background: rgba(119, 32, 29, 0.08);
  box-shadow: inset 0 -1px 0 rgba(119, 32, 29, 0.35);
  color: var(--bordeaux);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--ivory);
}

/* The footer runs wider than the page column: generous side margins, no 1320px cap */
.footer .wrap {
  max-width: none;
  padding-inline: clamp(16px, 6.2vw, 120px);
}

/* The dK monogram, large and tone on tone, cut off by the bottom-right corner */
.footer__mark {
  position: absolute;
  right: -7vw;
  bottom: -9%; /* high enough that the bowl of the "d" shows; only the feet are cut off */
  width: clamp(360px, 44vw, 820px);
  aspect-ratio: 873 / 468;
  background: var(--ivory);
  opacity: 0.1;
  pointer-events: none;
  -webkit-mask: url("../assets/logo/monogram.svg") center / contain no-repeat;
  mask: url("../assets/logo/monogram.svg") center / contain no-repeat;
}

.footer__top {
  position: relative;
  display: grid;
  /* Logo column a touch wider; Menu, Address and Contact on an even rhythm */
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3vw, 56px);
  padding-block: clamp(88px, 8.3vw, 150px) clamp(110px, 10.8vw, 200px);
}

/* The logo sits centred in its column, level with the middle of the link columns */
.footer__brand {
  align-self: center;
  justify-self: center;
}

.footer__logo {
  display: inline-block;
}

.footer__logo img {
  width: clamp(200px, 16.8vw, 300px);
  height: auto;
}

.footer h2 {
  margin-bottom: 36px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: 0.028em;
}

.footer address,
.footer li {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
}

.footer address {
  line-height: 1.9;
}

.footer__col li + li {
  margin-top: 16px;
}

.footer__social {
  margin-top: 36px;
}

.footer a {
  position: relative;
  transition: opacity 250ms var(--ease-out);
}

.footer__col a::after,
.footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease-out);
}

.footer__col a:hover::after,
.footer__legal a:hover::after {
  transform: scaleX(1);
}

/* The address runs to three lines, so it underlines line by line instead of
   carrying the single sliding rule across the whole block. */
.footer__col address a::after {
  content: none;
}

.footer__col address a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

.footer__legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  padding-bottom: 44px;
  font-size: 0.8125rem;
}

@media (max-width: 960px) {
  .footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 56px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__col:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Suite detail sheet ---------- */
.sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.sheet::backdrop {
  background: transparent;
}

.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.5);
  opacity: 0;
}

.sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(580px, 100%);
  background: var(--ivory);
  will-change: transform;
}

.sheet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--hairline);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.sheet__grip {
  display: none;
}

.sheet__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.sheet__close svg {
  width: 12px;
  height: 12px;
}

.sheet__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sheet__media {
  aspect-ratio: 16 / 10;
}

.sheet__content {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px) 56px;
}

.sheet__content .title {
  font-size: clamp(1.875rem, 1.5rem + 1vw, 2.5rem);
}

.sheet__content .coda {
  color: var(--bordeaux);
}

.sheet__content .chapter-label {
  color: var(--bordeaux);
}

/* On narrow screens the sheet rises from the bottom instead */
@media (max-width: 700px) {
  .sheet__panel {
    top: auto;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    border-radius: 14px 14px 0 0;
    overflow: hidden;
  }

  .sheet__bar {
    position: relative;
    padding-top: 10px;
  }

  .sheet__grip {
    display: block;
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: var(--hairline);
  }
}

/* ---------- Opening page ---------- */
.opening-hero {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px));
  padding-bottom: var(--section-space);
}

.opening-hero .split__media {
  grid-column: 1 / span 5;
}

.opening-hero .split__text {
  grid-column: 7 / span 6;
}

@media (max-width: 860px) {
  .opening-hero .split__media {
    width: min(100%, 420px);
  }
}

.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(56px, 7vw, 96px);
}

.choice {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 3.4vw, 48px);
  background: var(--ivory);
}

.choice .chapter-label {
  color: var(--bordeaux);
}

.choice .title {
  margin-top: 20px;
  font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2.125rem);
}

.choice .prose {
  margin-top: 16px;
}

.choice__terms {
  margin-top: 12px;
}

.choice__action {
  margin-top: auto;
  padding-top: 32px;
}

.choice--featured {
  background: var(--bordeaux);
  color: var(--ivory);
}

.choice--featured .chapter-label {
  color: var(--taupe);
}

@media (max-width: 960px) {
  .choices {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Coming soon (single full-screen page) ---------- */
/* Nothing scrolls here, so no gutter is kept for a scrollbar */
html:has(.soon-page) {
  scrollbar-gutter: auto;
  background: #2a231c;
}

.soon-page {
  background: #2a231c;
}

.soon {
  display: grid;
  grid-template-rows: 1fr auto;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
}

.soon__dim {
  background: rgba(20, 15, 10, 0.5);
}

.soon__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter) 24px;
  text-align: center;
}

.soon__logo {
  width: clamp(180px, 15vw, 240px);
  height: auto;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.soon__title {
  margin-top: 20px;
}

.soon__text {
  max-width: 30em;
  margin-top: 20px;
  color: var(--ivory-soft);
}

.signup {
  width: min(100%, 520px);
  margin-top: clamp(32px, 5vh, 48px);
  text-align: left;
}

.signup__row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.signup__input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 243, 0.6);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: 400 1rem/1 var(--sans);
  transition: border-color 250ms var(--ease-out);
}

.signup__input::placeholder {
  color: rgba(247, 245, 243, 0.62);
}

/* Focus shows as a heavier underline rather than a box around the field */
.signup__input:focus,
.signup__input:focus-visible {
  outline: none;
  border-bottom-color: var(--ivory);
  box-shadow: 0 1px 0 var(--ivory);
}

/* Keep browser autofill from painting its own pale fill over the film */
.signup__input:-webkit-autofill,
.signup__input:-webkit-autofill:hover,
.signup__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ivory);
  caret-color: var(--ivory);
  transition: background-color 9999s ease-out 0s;
}

.signup__input:autofill {
  background: transparent;
}

.signup__input[aria-invalid="true"] {
  border-bottom-color: #f0b4a8;
}

.signup__submit {
  flex: none;
  color: var(--green);
}

.signup__submit:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ivory);
}

.signup__submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.signup__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ivory-soft);
  cursor: pointer;
}

.signup__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ivory);
}

.signup__consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup__error {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: #f0b4a8;
}

.signup__status:not(:empty) {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--ivory);
}

.signup__done {
  margin-top: clamp(32px, 5vh, 48px);
}

.signup__done:focus {
  outline: none;
}

.signup__done .prose {
  margin: 12px auto 0;
  color: var(--ivory-soft);
}

.soon__base {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  font-size: 0.8125rem;
  color: var(--ivory-soft);
}

.soon__base em {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--ivory);
}

@media (max-width: 560px) {
  .signup__row {
    flex-direction: column;
  }

  .soon__base {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Smooth scrolling (Lenis base rules) ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__logo,
  .js .hero__cue {
    animation: fade 600ms ease both;
  }

  .js .reveal {
    transform: none;
    transition: opacity 500ms ease;
  }

  .photo img,
  .header,
  .dropdown__list {
    transition: none;
  }

  .photo:hover img {
    transform: none;
  }

  .link:hover::after {
    animation: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: var(--ink);
    --ivory-soft: var(--ivory);
    --hairline: rgba(33, 29, 26, 0.5);
  }
}
