:root {
  --wall: #1B2B26;
  --wall-deep: #132019;
  --ink: #0F1714;
  --paper: #F5F1E6;
  --brass: #B98B3E;
  --rose: #C47C7C;
  --paper-soft: #CFCBBD;
  --brass-light: #E3C88F;
  --brass-ink: #6B4E1C;
  --rose-line: rgb(196 124 124 / 0.55);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4.5vw, 2.25rem);
}

@view-transition {
  navigation: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--wall);
  color: var(--paper);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-wrap: break-word;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(185 139 62 / 0.25);
}

a {
  color: inherit;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

.sheet :focus-visible {
  outline-color: var(--brass-ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 60;
  padding: 0.65rem 1rem;
  border-radius: 0.4rem;
  background: var(--paper);
  color: var(--ink);
}

.skip:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3rem);
}

h3 {
  font-size: 1.4rem;
  font-weight: 500;
}

p {
  margin: 0 0 1.1em;
  max-width: 62ch;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 70rem);
  margin-inline: auto;
}

.masthead {
  border-bottom: 1px solid var(--rose-line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 2rem;
  padding-block: 0.9rem 0.4rem;
}

.wordmark {
  font: 500 1.6rem/1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none;
  padding-block: 0.4rem;
}

.masthead nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem;
}

.masthead nav a {
  display: block;
  padding-block: 0.65rem;
  text-decoration: none;
  font-size: 0.97rem;
  box-shadow: inset 0 -2px transparent;
}

.masthead nav a:hover {
  box-shadow: inset 0 -2px var(--brass);
}

.masthead nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--rose);
}

.demo {
  margin: 0;
  max-width: none;
  padding: 0.55rem var(--gutter);
  background: var(--wall-deep);
  color: var(--brass-light);
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--rose-line);
}

.button {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.3 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--brass-light);
}

.button.quiet {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--rose);
}

.button.quiet:hover {
  background: rgb(196 124 124 / 0.18);
}

.linklike {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero h1 {
  font-size: clamp(3.4rem, 1rem + 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
}

.lead {
  max-width: 28ch;
  margin: 1.6rem 0 1rem;
  font: 400 clamp(1.3rem, 1rem + 1.2vw, 1.75rem) / 1.35 var(--serif);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.arch {
  width: min(100%, 24rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 1.5rem 1.5rem;
  background: var(--wall-deep);
  justify-self: start;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  animation: dimmer 1.8s 0.2s ease-out both;
}

@keyframes dimmer {
  from {
    opacity: 0.3;
  }

  to {
    opacity: 1;
  }
}

.course {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem 3rem;
  padding-block: 1.6rem clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rose-line);
}

.course > h2,
.course > h3 {
  align-self: start;
}

.course-body > :last-child {
  margin-bottom: 0;
}

.deep {
  background: var(--wall-deep);
}

.band {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.lines a,
.lines .row-static {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.7rem;
  padding-block: 0.95rem;
  text-decoration: none;
}

.lines a:hover .name {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.2em;
}

.lines .name {
  font: 400 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem) / 1.1 var(--serif);
}

.lines .dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted currentColor;
  opacity: 0.4;
  translate: 0 -0.25em;
}

.lines .note {
  color: var(--paper-soft);
  font-size: 0.98rem;
}

.sheet {
  background: var(--paper);
  color: var(--ink);
  border-radius: 1.25rem;
}

.sheet a {
  text-decoration-color: var(--brass);
}

.menu-card {
  padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 5vw, 3.5rem);
  outline: 1px solid var(--rose);
  outline-offset: -0.75rem;
}

.menu-card h3 {
  margin-bottom: 0.2rem;
}

.dish {
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.dish-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--brass-ink);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.dish-name {
  display: block;
  font: 500 1.35rem/1.2 var(--serif);
}

.dish-note {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.95rem;
  color: #3F4A45;
}

.menu-card .menu-end {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px dotted var(--brass-ink);
  font-size: 0.95rem;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.ledger th,
.ledger td {
  padding: 0.7rem 1rem 0.7rem 0;
  text-align: left;
  vertical-align: baseline;
}

.ledger thead th {
  color: var(--brass-light);
  font-weight: 500;
  padding-bottom: 0.35rem;
}

.ledger tbody th {
  font: 500 1.25rem/1.2 var(--serif);
  white-space: nowrap;
}

.ledger tbody tr + tr > * {
  padding-top: 1.1rem;
}

.photo {
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem 1.75rem 1.75rem 0.5rem;
}

.photo img {
  width: 100%;
}

.photo.wide {
  margin-inline: auto;
}

.plan {
  margin: 0;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  max-width: 28rem;
}

.plan figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #3F4A45;
}

.plan-svg {
  width: 100%;
  height: auto;
}

.plan-svg text {
  font-family: var(--sans);
  fill: var(--wall);
}

.plan-wall {
  fill: none;
  stroke: var(--wall);
  stroke-width: 2;
}

.plan-room {
  fill: none;
  stroke: var(--wall);
  stroke-width: 1;
}

.plan-lit {
  fill: rgb(196 124 124 / 0.2);
  stroke: var(--wall);
  stroke-width: 1;
}

.plan-door {
  fill: none;
  stroke: var(--brass);
  stroke-width: 5;
}

.plan-route {
  fill: none;
  stroke: #A85D5D;
  stroke-width: 2.5;
  stroke-dasharray: 7 6;
  stroke-linejoin: round;
}

.plan-dot {
  fill: #A85D5D;
}

.plan-name {
  font-size: 17px;
  font-weight: 500;
}

.plan-small {
  font-size: 13px;
}

.banner {
  position: relative;
  margin-block: clamp(1.5rem, 4vw, 3rem) 0;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--wall-deep);
  min-height: clamp(20rem, 52vw, 29rem);
  display: grid;
  align-items: end;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(15 23 20 / 0.88) 0%, rgb(15 23 20 / 0.55) 30%, rgb(15 23 20 / 0) 62%);
}

.banner-text {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 4vw, 2.75rem);
}

.banner h1 {
  font-size: clamp(2.7rem, 1rem + 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.banner-where {
  margin: 0 0 0.6rem;
  color: var(--brass-light);
  font-weight: 500;
}

.facts {
  display: grid;
  gap: 1.5rem 2rem;
  margin: 0;
}

.facts > div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--rose-line);
}

.facts dt {
  color: var(--brass-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.facts dd {
  margin: 0.2rem 0 0;
  font: 400 1.4rem/1.25 var(--serif);
}

.facts dd small {
  display: block;
  margin-top: 0.2rem;
  font: 400 0.92rem/1.45 var(--sans);
  color: var(--paper-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.band h2 + .split {
  margin-top: 2rem;
}

.licence {
  margin-top: 1.75rem;
  padding: 1.1rem 1.3rem;
  border-radius: 0.9rem;
  background: var(--wall-deep);
  font-size: 0.97rem;
}

.licence p {
  margin: 0 0 0.35rem;
}

.licence p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.2rem;
  list-style: disc;
  max-width: 62ch;
}

.prose li {
  margin-bottom: 0.4rem;
}

.page-head {
  padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-head h1 {
  font-size: clamp(3rem, 1rem + 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-head .lead {
  margin-bottom: 0;
}

.small-note {
  font-size: 0.95rem;
  color: var(--paper-soft);
}

.sign {
  margin-block: 1rem 2rem;
  padding-top: 1rem;
  max-width: 70rem;
  border-top: 1px dotted var(--rose-line);
  font-size: 0.85rem;
  color: var(--paper-soft);
}

.foot {
  margin-top: 1rem;
  padding-block: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  background: var(--wall-deep);
  border-top: 1px solid var(--rose-line);
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  gap: 2rem 3rem;
}

.foot-name {
  margin-bottom: 0.5rem;
  font: 500 1.6rem/1.1 var(--serif);
}

.foot-head {
  margin-bottom: 0.4rem;
  color: var(--brass-light);
  font-weight: 500;
}

.foot-links li a {
  display: inline-block;
  padding-block: 0.3rem;
}

.foot-base {
  margin-block: 2rem 0;
  padding-top: 1rem;
  max-width: 70rem;
  border-top: 1px solid rgb(196 124 124 / 0.3);
  color: var(--paper-soft);
  font-size: 0.875rem;
}

.gate {
  width: min(100% - 2rem, 30rem);
  padding: clamp(1.5rem, 5vw, 2.25rem);
  border: 0;
  border-radius: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}

.gate::backdrop {
  background: rgb(15 23 20 / 0.9);
}

.gate h2 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
}

.gate-buttons,
.consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gate .button {
  background: var(--wall);
  color: var(--paper);
}

.gate .button.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--wall);
}

.consent {
  position: fixed;
  inset: auto 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  z-index: 40;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 0.45);
  font-size: 0.95rem;
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin-bottom: 0.7rem;
}

.consent .button {
  background: var(--wall);
  color: var(--paper);
}

.consent .button.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--wall);
}

.notfound {
  padding-block: clamp(3rem, 10vw, 7rem);
}

.notfound h1 {
  font-size: clamp(3rem, 1rem + 9vw, 7rem);
  line-height: 0.95;
  margin-bottom: 1.2rem;
}

@media (min-width: 48rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .arch {
    justify-self: end;
  }

  .course {
    grid-template-columns: 13rem minmax(0, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
  }

  .split.flip {
    grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .lines .dots {
    display: none;
  }

  .lines a {
    flex-direction: column;
    gap: 0.15rem;
  }

  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger th,
  .ledger td {
    display: block;
  }

  .ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .ledger tbody tr {
    padding-block: 0.9rem;
    border-top: 1px dotted var(--rose-line);
  }

  .ledger tbody tr + tr > * {
    padding-top: 0;
  }

  .ledger th,
  .ledger td {
    padding: 0 0 0.15rem;
  }

  .consent {
    inset: auto 0.5rem max(0.5rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .arch img {
    animation: none;
  }

  @view-transition {
    navigation: none;
  }
}

.menu-card .small-note {
  margin-bottom: 1.75rem;
  color: #3F4A45;
}

.course-body > .photo {
  margin-bottom: 2rem;
}

.foot-contact {
  margin: 1rem 0 0;
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
