:root {
  --sage: #8CA391;
  --moss: #6F8A74;
  --ink: #1D2A24;
  --stone: #E8E2D6;
  --teal: #1F4E55;
  --clay: #C98B5E;
  --hairline: color-mix(in srgb, var(--clay) 55%, transparent);
  --display: "Italiana", "Cormorant Garamond", Georgia, serif;
  --text: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --measure: 36rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--text);
  text-wrap: pretty;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

a, button { touch-action: manipulation; }

img, svg { max-width: 100%; }

h1, h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.25rem); }
p { margin: 0 0 1.15rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
li + li { margin-top: 0.4rem; }

a {
  color: var(--teal);
  text-decoration: underline wavy color-mix(in srgb, var(--clay) 80%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-teal :focus-visible, .on-ink :focus-visible, .banner-split :focus-visible, .foot :focus-visible, .cookiebar :focus-visible { outline-color: var(--stone); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--stone);
}
.skip:focus { top: 0.75rem; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 0.75rem var(--gutter);
  background: var(--stone);
  border-bottom: 1px solid var(--hairline);
}
.mark {
  color: var(--ink);
  font: 400 1.6rem/1.2 var(--display);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.mark:hover { color: var(--teal); }

.menu { flex-basis: 100%; }
.menu ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.menu li + li { margin: 0; }
.menu a {
  display: block;
  padding: 0.45rem 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--clay), var(--clay)) left bottom / 0 1px no-repeat;
  transition: background-size 0.4s ease;
}
.menu a:hover, .menu a[aria-current] { background-size: 100% 1px; }

.menu-toggle {
  display: none;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 500 0.95rem var(--text);
  cursor: pointer;
}
.js .menu-toggle { display: inline-block; }
.js .menu { display: none; flex-basis: 100%; }
.js.menu-open .menu { display: block; padding: 1rem 0 1.5rem; }
.js .menu ul { flex-direction: column; align-items: center; gap: 0.25rem; }
.js .menu a { padding: 0.4rem 0.5rem; font: 400 1.9rem/1.3 var(--display); }

@media (min-width: 48em) {
  .top { flex-wrap: nowrap; }
  .menu, .js .menu, .js.menu-open .menu { display: block; flex-basis: auto; padding: 0; }
  .menu ul, .js .menu ul { flex-direction: row; align-items: center; gap: 0 1.75rem; }
  .js .menu a { padding: 0.45rem 0; font: 500 1rem/1.75 var(--text); }
  .js .menu-toggle { display: none; }
}

.demo-note {
  margin: 0;
  padding: 0.6rem var(--gutter);
  background: var(--teal);
  color: var(--stone);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.hero { position: relative; background: var(--ink); }
.hero img {
  display: block;
  width: 100%;
  height: clamp(28rem, 82svh, 54rem);
  object-fit: cover;
  object-position: 50% 82%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(29 42 36 / 0.82), rgb(29 42 36 / 0) 64%);
}
.hero-copy {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.5rem, 6vw, 4.5rem);
  color: var(--stone);
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.7rem, 10.5vw, 8.5rem);
  line-height: 0.95;
}
.hero p { max-width: 30rem; margin: 0; font-size: 1.125rem; }

.plate { margin: 0; overflow: hidden; background: var(--ink); }
.plate img {
  display: block;
  width: 100%;
  height: clamp(18rem, 58vh, 40rem);
  object-fit: cover;
}
.plate-low img { height: clamp(14rem, 36vh, 26rem); }

.band { padding: clamp(3.5rem, 9vw, 8rem) var(--gutter); }
.on-sage { background: var(--sage); color: var(--ink); }
.on-sage a, .on-sage a:hover { color: var(--ink); }
.on-paper { background: color-mix(in srgb, var(--stone) 55%, #fff); }
.on-teal { background: var(--teal); color: var(--stone); }
.on-ink { background: var(--ink); color: var(--stone); }
.on-teal a, .on-ink a, .on-teal a:hover, .on-ink a:hover { color: var(--stone); }

.column { max-width: var(--measure); margin-inline: auto; }
.column > h1, .column > h2, .column > .lede { text-align: center; }
.lede { font-size: 1.25rem; line-height: 1.6; }
.waterline {
  width: 6rem;
  height: 0.625rem;
  margin: 0 auto 2rem;
  border: 0;
  background: url("../waterline.svg") center / contain no-repeat;
}
.more { display: inline-block; margin-top: 0.5rem; font-weight: 600; }

.teaser {
  display: grid;
  gap: 2.5rem;
  max-width: 70rem;
  margin-inline: auto;
}
@media (min-width: 56em) {
  .teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 5rem; align-items: center; }
}

.split { display: grid; }
.split .plate { min-height: 20rem; }
.split .plate img { height: 100%; min-height: 20rem; }
.split-text { padding: clamp(2.5rem, 7vw, 6rem) var(--gutter); display: flex; align-items: center; }
.split-text > div { max-width: 30rem; margin-inline: auto; }
.split-text h2 { text-align: left; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split .plate { min-height: 34rem; }
  .flip .plate { order: 2; }
  .split-text > div { margin-inline: 0; }
}

.days { max-width: 62rem; margin: 0 auto; padding: 0 var(--gutter); list-style: none; }
.days li + li { margin-top: 0; }
.day {
  display: grid;
  gap: 0.75rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--hairline);
}
.day:last-child { border-bottom: 1px solid var(--hairline); }
.day-when { margin: 0; font: 400 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--display); }
.day-when small { display: block; margin-top: 0.4rem; font: 500 0.9rem/1.4 var(--text); opacity: 0.8; }
.day h2 { margin-bottom: 0.75rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.day p:last-child { margin-bottom: 0; }
@media (min-width: 48em) {
  .day { grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; }
}

.times { margin: 2rem 0 0; }
.times div { padding-block: 1.25rem; border-top: 1px solid var(--hairline); }
.times div:last-child { border-bottom: 1px solid var(--hairline); }
.times dt { font: 400 1.6rem/1.2 var(--display); }
.times dd { margin: 0.25rem 0 0; }
@media (min-width: 40em) {
  .times div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; }
  .times dd { margin: 0; }
}

.banner-split { display: grid; background: var(--ink); color: var(--stone); }
.banner-split .plate img { height: 100%; min-height: 18rem; }
.banner-text { padding: clamp(3rem, 8vw, 7rem) var(--gutter); align-self: center; }
.banner-text > div { max-width: 32rem; margin-inline: auto; }
.banner-text h1 { margin-bottom: 1rem; }
.kicker { margin: 0 0 1rem; font-weight: 500; color: var(--sage); }
@media (min-width: 56em) {
  .banner-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 36rem; }
  .banner-split .plate { order: 2; }
  .banner-text > div { margin-inline: 0 auto; }
}

.layout-two {
  display: grid;
  gap: 3rem;
  max-width: 70rem;
  margin-inline: auto;
}
@media (min-width: 56em) {
  .layout-two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
}

.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.facts div { padding: 1.25rem 1rem 1.25rem 1.1rem; border-left: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.facts dt { font-weight: 600; font-size: 0.9rem; opacity: 0.85; }
.facts dd { margin: 0.25rem 0 0; font: 400 1.35rem/1.25 var(--display); }
@media (max-width: 30em) {
  .facts { grid-template-columns: 1fr; }
}

.plan { display: block; width: 100%; height: auto; max-width: 44rem; margin-inline: auto; }
.plan .ground { fill: none; stroke: currentColor; stroke-opacity: 0.3; stroke-dasharray: 2 4; }
.plan .wall { fill: rgb(140 163 145 / 0.1); stroke: currentColor; stroke-width: 1.2; }
.plan .room { fill: rgb(140 163 145 / 0.1); stroke: currentColor; stroke-width: 0.8; }
.plan .gaming { fill: rgb(140 163 145 / 0.24); }
.plan .pool { fill: rgb(31 78 85 / 0.2); stroke: currentColor; stroke-width: 0.8; }
.plan .desk { fill: none; stroke: currentColor; stroke-width: 1; }
.plan .glass { fill: none; stroke: currentColor; stroke-width: 3.5; }
.plan .opening { fill: none; stroke: var(--clay); stroke-width: 4; }
.plan .route { fill: none; stroke: var(--clay); stroke-width: 2; stroke-dasharray: 7 6; stroke-linecap: round; }
.plan .stop { fill: var(--clay); }
.plan .label { font: 400 19px var(--display); fill: currentColor; }
.plan .small { font: 500 15px var(--text); fill: currentColor; }
.plan .note { font: 500 14px var(--text); fill: currentColor; opacity: 0.75; }

.legal { padding: clamp(3rem, 8vw, 6rem) var(--gutter) 1rem; }
.legal h1 { margin-bottom: 0.5rem; }
.legal .updated { margin-bottom: 2.5rem; text-align: center; font-size: 0.9rem; opacity: 0.85; }
.legal h2 { margin: 2.5rem 0 0.75rem; font: 600 1.25rem/1.4 var(--text); text-align: left; }
.scroll { margin: 0 0 1.5rem; overflow-x: auto; }
.scroll table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.95rem; }
.scroll th, .scroll td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }

.signature {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.foot { padding: 3rem var(--gutter) 2rem; background: var(--ink); color: var(--stone); font-size: 0.95rem; }
.foot a { color: var(--stone); }
.foot a:hover { color: var(--sage); }
.foot p { margin: 0 0 0.35rem; }
.foot-grid { display: grid; gap: 2rem; max-width: 70rem; margin-inline: auto; }
.foot-name { font: 400 1.5rem/1.3 var(--display); letter-spacing: 0.04em; }
.foot-links { margin: 0; padding: 0; list-style: none; }
.foot-links li + li { margin-top: 0.2rem; }
.foot-small { max-width: 70rem; margin: 2.5rem auto 0; font-size: 0.85rem; opacity: 0.8; }
@media (min-width: 56em) {
  .foot-grid { grid-template-columns: 1fr 1.4fr 0.8fr; gap: 4rem; }
}
.linkish {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline wavy color-mix(in srgb, var(--clay) 80%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  cursor: pointer;
}

.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.5;
  border-top: 1px solid var(--clay);
}
.cookiebar p { flex: 1 1 22rem; margin: 0; }
.cookiebar-buttons { display: flex; gap: 0.6rem; }
.cookiebar button, .gate button {
  min-height: 2.75rem;
  padding: 0 1.4rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: 600 0.95rem var(--text);
  cursor: pointer;
}
.cookiebar button:hover, .gate button:hover { opacity: 0.85; }
.cookiebar [data-consent="accepted"] { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.gate [data-age="yes"] { background: var(--teal); color: var(--stone); border-color: var(--teal); }

.gate {
  width: min(28rem, calc(100% - 2.5rem));
  padding: 2rem;
  border: 0;
  background: var(--stone);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--clay), 0 1.5rem 4rem rgb(0 0 0 / 0.35);
}
.gate { overscroll-behavior: contain; }
.gate::backdrop { background: rgb(29 42 36 / 0.78); }
.gate-title { margin: 0 0 0.75rem; font: 400 1.9rem/1.2 var(--display); }
.gate-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.gate-refusal { margin: 1.25rem 0 0; font-weight: 600; }

.quiet { text-align: center; padding: 6rem var(--gutter); }
.quiet h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes settle-title {
    from { opacity: 0; scale: 1.04; }
  }
  .hero h1 {
    transform-origin: left bottom;
    animation: settle-title 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @supports (animation-timeline: view()) and (animation-range: entry 0% cover 50%) {
    @keyframes settle-photo {
      from { scale: 1.12; }
      to { scale: 1; }
    }
    .plate img {
      animation: settle-photo linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
  }
}
