@font-face {
  font-family: "Roobert TRIAL";
  src: url("../fonts/roobert-trial-medium.woff2") format("woff2"),
       url("../fonts/RoobertTRIAL-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert TRIAL";
  src: url("../fonts/roobert-trial-semibold.woff2") format("woff2"),
       url("../fonts/RoobertTRIAL-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-regular.woff2") format("woff2"),
       url("../fonts/EBGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fef8ec;
  --ink: #000000;
  --accent: #9a3f33;
  --content: 1472px;
  --gap: 14px;
  --ui: clamp(12px, 0.84vw, 16px);
  --display: clamp(34px, 3.15vw, 60px);
  --serif: clamp(22px, 1.98vw, 38px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Roobert TRIAL", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.nav {
  --nav-gap: 1.7em;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  row-gap: 0.45em;
  column-gap: var(--nav-gap);
  padding: 64px 0 18px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink);
}

.nav a {
  position: relative;
  white-space: nowrap;
}

.nav-end {
  display: inline-flex;
  align-items: center;
  gap: var(--nav-gap);
}

.nav-dash {
  width: 28px;
  height: 1px;
  background: var(--ink);
  flex: none;
}

.nav a.reserve {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 18px 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.nav-toggle-icon {
  margin-inline: auto;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.28s ease;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

html.nav-open .nav-toggle-icon {
  background: transparent;
}

html.nav-open .nav-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

html.nav-open .nav-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

.links a.reserve,
.site-footer a.reserve,
.site-footer a.line {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.brand {
  padding: 170px 0 65px;
}

.wordmark {
  width: min(533px, 78%);
  margin: 0;
  container-type: inline-size;
  color: var(--ink);
  font-size: inherit;
  font-weight: 500;
  line-height: 0.72;
  text-transform: uppercase;
}

.wordmark-name,
.wordmark-place,
.wordmark-meta {
  display: block;
  font-size: 14.3cqi;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.wordmark-name {
  text-align: center;
  padding-left: 8%;
  margin-bottom: 0.4em;
}

.wordmark-place {
  margin-bottom: 0.38em;
}

.wordmark-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-right: 8%;
}

.wordmark-rule {
  align-self: center;
  justify-self: center;
  width: calc(12.7cqi - 4px);
  height: 0.08em;
  background: currentColor;
  transform: translate(-3.33cqi, 2px);
}

.hero-pan-sticky {
  position: sticky;
  top: 0;
  z-index: 1;
}

.hero-pan-frame {
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 1472 / 883;
  background: #e6dece;
}

.hero-pan-track img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1472 / 883;
  object-fit: cover;
}

.hero-pan-track img:first-child {
  object-position: 52% 50%;
}

.crop {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #e6dece;
}

.crop img {
  position: absolute;
  max-width: none;
  object-fit: cover;
}

.pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}

@media (min-width: 721px) {
  .pair.plates { grid-template-columns: 797fr 661fr; }
  .pair.chef { grid-template-columns: 693fr 761fr; }
  .pair.dining { grid-template-columns: 802fr 655fr; }
  .pair.drinks { grid-template-columns: 663fr 806fr; }
  .pair.terrace { grid-template-columns: 812fr 647fr; }
  .pair.lounge { grid-template-columns: 648fr 815fr; }
  .pair.events { grid-template-columns: 812fr 649fr; }
}

.kicker {
  margin: 0 auto 22px;
  max-width: 36em;
  text-align: center;
  font-weight: 600;
  font-size: clamp(12px, 1.05vw, 20px);
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.kicker .dash {
  display: block;
  width: 32px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--ink);
}

.moment .kicker {
  margin-bottom: 14px;
}

.moment {
  margin: 160px 0 152px;
}

#restaurant .moment {
  margin: 121px 0 96px;
}

#bar .moment {
  margin: 155px 0 152px;
}

#events > .moment:first-child {
  margin: 168px 0 148px;
}

.hero-copy {
  margin: 124px auto 218px;
  text-align: center;
}

.hero-copy .kicker {
  margin-bottom: 75px;
  line-height: 1.4;
}

.hero-copy .prose {
  width: min(34em, 100%);
}

.hero-copy .prose p {
  margin-bottom: 1.45em;
}

.hero-copy .prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.stack {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}

.stack p {
  margin: 0 0 0 var(--shift, 0);
  font-weight: 500;
  font-size: var(--display);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prose {
  width: min(30em, 100%);
  margin: 72px auto;
  text-align: center;
  font-family: "EB Garamond", Georgia, serif;
  font-size: var(--serif);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.prose p {
  margin: 0 0 0.85em;
}

.prose p:last-child {
  margin-bottom: 0;
}

#restaurant .prose {
  margin: 183px auto 188px;
}

#restaurant .prose p {
  margin-bottom: 1.5em;
}

#events .prose {
  width: min(34.9em, 100%);
  margin-top: 112px;
  margin-bottom: 0;
}

#events .prose p {
  margin-bottom: 0;
}

#events .prose .prose-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 4.6em;
  margin: 46px 0;
  font-family: "Roobert TRIAL", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1.05vw, 20px);
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

#events .prose .prose-links a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

#events .prose + .moment {
  margin-top: 156px;
  margin-bottom: 88px;
}

#terrasse .prose {
  margin-top: 130px;
  margin-bottom: 150px;
}

#terrasse .prose p {
  margin-bottom: 1.45em;
}

#bar .prose {
  width: min(30em, 100%);
  margin-bottom: 24px;
}

#bar .prose p {
  margin-bottom: 1.15em;
}

#terrasse > .moment {
  margin-top: calc(var(--serif) * 4.2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
  margin: 56px 0 50px;
}

.section-head h2 {
  margin: 0;
  font-weight: 500;
  font-size: var(--display);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.links {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-size: clamp(12px, 1.05vw, 20px);
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.links a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.links a,
.links span {
  margin-left: 1.35em;
}

.links a:first-child,
.links span:first-child {
  margin-left: 0;
}

.band {
  margin-top: 14px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
  margin-top: 36px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.col > .crop:last-child {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.mosaic-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 118px;
}

.mosaic-mark .wordmark {
  grid-column: 2;
  justify-self: center;
  width: min(100%, 420px);
}

.site-footer {
  margin-top: 118px;
  padding: 8px 0 280px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.72fr 0.72fr auto;
  gap: 28px 48px;
  align-items: start;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.footer-logo {
  display: block;
  width: 190px;
  justify-self: end;
}

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

.site-footer h2 {
  margin: 0 0 1.35em;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 1.15em;
}

.site-footer .footer-reserve {
  margin-top: 0.7em;
}

.site-footer a.reserve {
  position: relative;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fab {
  position: fixed;
  z-index: 30;
  right: 0;
  top: min(78vh, 1100px);
  width: 149px;
  height: 149px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(50%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: grid;
  place-items: center;
}

.fab:hover,
.fab:focus-visible {
  transform: translateX(calc(50% - 20px));
}

.fab-word {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.02;
  text-transform: uppercase;
}

.fab-word span {
  display: block;
  margin-left: var(--nudge, 0);
}

.nav a:hover,
.links a:hover,
.prose-links a:hover,
.hero-copy .prose a:hover,
.site-footer a:hover {
  opacity: 0.62;
}

@media (prefers-reduced-motion: reduce) {
  .hero-pan {
    height: auto !important;
  }

  .hero-pan-sticky {
    position: static;
  }

  .hero-pan-track {
    transform: none !important;
  }

  .hero-pan-track img + img {
    display: none;
  }

  .fab,
  .nav,
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    transition: none;
  }
}

@media (max-width: 980px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .links {
    text-align: left;
  }

  .mosaic-mark {
    margin-top: 72px;
  }

  .site-footer {
    margin-top: 80px;
    padding-bottom: 140px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-logo {
    grid-column: 1 / -1;
    width: min(190px, 46vw);
  }

  .fab {
    width: 112px;
    height: 112px;
    top: auto;
    bottom: 24px;
  }

  .fab-word {
    left: 16px;
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .brand {
    padding-top: 32px;
  }

  html.nav-open,
  html.nav-open body,
  html.nav-closing,
  html.nav-closing body {
    overflow: hidden;
  }

  html.nav-open .hero-pan-sticky,
  html.nav-closing .hero-pan-sticky {
    z-index: 40;
  }

  .nav {
    --nav-gap: 0;
    font-size: 18px;
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35em;
    padding: 96px max(20px, calc((100vw - var(--content)) / 2)) 64px;
    align-items: stretch;
    background: var(--cream);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: opacity 0.28s ease;
  }

  html.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-block: 0.55em;
    white-space: normal;
    text-wrap: wrap;
  }

  .nav-end {
    display: block;
  }

  .nav-dash {
    display: none;
  }

  .pair,
  .mosaic,
  .mosaic-mark,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-mark {
    margin-top: 56px;
  }

  .mosaic-mark .wordmark {
    grid-column: auto;
    justify-self: start;
    width: min(533px, 78%);
  }

  .site-footer {
    margin-top: 64px;
    padding-bottom: 96px;
  }

  .footer-grid {
    font-size: 18px;
  }

  .stack p {
    white-space: normal;
  }

  .prose,
  .moment {
    margin-top: 48px;
    margin-bottom: 40px;
  }

  #events .prose,
  #events .prose + .moment {
    margin-top: 48px;
    margin-bottom: 40px;
  }

  #events .prose .prose-links {
    gap: 12px 1.6em;
    margin: 28px 0;
  }

  #terrasse .prose,
  #restaurant .prose {
    margin-top: 48px;
    margin-bottom: 40px;
  }

  .hero-pan-frame,
  .hero-pan-track img {
    aspect-ratio: 1 / 1;
  }

  .hero-pan-track img + img {
    object-position: left center;
  }

  .hero-copy {
    margin: 40px auto 48px;
  }

  .section-head h2 {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
  }
}

@media (max-width: 540px) {
  #events-title {
    font-size: min(var(--display), calc((100vw - 48px) * 0.12));
  }

  #events-title span {
    display: block;
  }
}

.bookingwidget {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  width: 100vw;
  height: 100vh;
  padding-top: 100px;
  background: rgba(0, 0, 0, 0.92);
}

.bookingwidget.open {
  display: block;
}

.close-bookingwidget {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent url("../images/close.svg") center / contain no-repeat;
  cursor: pointer;
}
