/* Direction lock: Maison Margiela gallery wall (paper, ink, zero radius,
   photography carries the only color) with one scale jump from 21 TSI
   reserved for the wordmark. Cyan stays inside the photographs. */

:root {
  --ink: #121212;
  --paper: #ffffff;
  --atelier: #f7f7f2;
  --linen: #eaeae6;
  --charcoal: #333333;
  --graphite: #484847;
  --stone: #898989;
  --pebble: #bababa;
  --smoke: #818181;
  --pad: clamp(1.15rem, 3.2vw, 2.75rem);
  --section: clamp(4.25rem, 8vw, 7.25rem);
  --header: 4.25rem;
  --dock: 4.5rem;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.5rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.8rem;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

h1,
h2,
.wordmark {
  text-wrap: balance;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.prose {
  max-width: 38rem;
  color: var(--charcoal);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1rem;
}

.band {
  padding: var(--section) var(--pad);
}

.band-linen {
  background: var(--linen);
}

.band-atelier {
  background: var(--atelier);
}

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

.top-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.55rem var(--pad);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-strip a {
  color: var(--paper);
  text-decoration: none;
}

.top-strip span:last-child {
  color: #eaeae6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--linen);
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.28rem;
}

.brand strong {
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--graphite);
  font-weight: 400;
}

.nav-toggle {
  position: relative;
  z-index: 60;
  min-height: 44px;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.nav-links.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 40;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.35rem;
  padding: 0 var(--pad) calc(var(--dock) + 2rem);
  background: var(--paper);
}

.nav-links.is-open a {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.hero {
  display: grid;
}

.hero-photo {
  margin: 0;
  background: var(--ink);
}

.hero-photo img {
  width: 100%;
  height: 46vh;
  min-height: 280px;
  object-fit: cover;
  object-position: center 42%;
}

.hero-copy {
  padding: 1.75rem var(--pad) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(3.5rem, 16vw, 8.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.86;
}

.byline {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.hero-copy .prose {
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  min-height: 44px;
  padding: 0;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--ink);
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linen);
}

.proof div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proof strong {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.proof span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
}

.split {
  display: grid;
  gap: 2rem;
}

.note {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: var(--graphite);
  font-size: 0.95rem;
}

.index {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--pebble);
}

.index li {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--pebble);
  font-size: 0.98rem;
}

.index b {
  font-weight: 500;
}

.index span {
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.names {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  color: var(--charcoal);
}

.gallery-intro {
  padding-bottom: 1.25rem;
}

.plates {
  display: grid;
}

.plate {
  margin: 0;
  background: var(--atelier);
}

.plate img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--pad) 1.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}

.plate-tall img {
  height: min(88vh, 920px);
  object-fit: cover;
  object-position: center 20%;
}

.quotes {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 44rem;
}

.quotes li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--pebble);
}

.quotes li:last-child {
  border-bottom: 1px solid var(--pebble);
}

.quotes blockquote {
  margin: 0;
}

.quotes p {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.quotes footer {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}

.visit-grid {
  display: grid;
  gap: 2rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 0.75rem;
}

.hours th,
.hours td {
  text-align: left;
  font-weight: 400;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--pebble);
}

.hours th {
  font-size: 0.95rem;
}

.hours td {
  text-align: right;
  color: var(--charcoal);
}

.map-wrap {
  background: var(--atelier);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: min(68vh, 520px);
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.address {
  margin: 1rem 0 0;
  font-style: normal;
  line-height: 1.45;
}

.slip {
  max-width: 40rem;
}

.slip-head {
  margin-bottom: 1.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--pebble);
  border-radius: 0;
  background: var(--paper);
  appearance: none;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--ink);
}

.field-error {
  min-height: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
}

.hint,
.fine {
  margin: 0;
  color: var(--graphite);
  font-size: 0.92rem;
}

.summary {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pebble);
}

.summary[hidden],
.day-note[hidden],
.field-error:empty {
  display: none;
}

.faq {
  margin: 1.5rem 0 0;
  max-width: 42rem;
}

.faq dt {
  margin-top: 1.35rem;
  font-weight: 500;
}

.faq dd {
  margin: 0.4rem 0 0;
  color: var(--charcoal);
}

.site-footer {
  padding: 2.5rem var(--pad) calc(var(--dock) + 1.5rem);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  max-width: 40rem;
  color: #eaeae6;
  font-size: 0.92rem;
}

.footer-brand {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.made {
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  color: var(--paper);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border-top: 1px solid var(--ink);
}

.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--dock);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}

.dock a:last-child {
  background: var(--ink);
  color: var(--paper);
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 1.35rem;
    align-items: center;
  }

  .nav-links.is-open {
    position: static;
    padding: 0;
    background: transparent;
    flex-direction: row;
    gap: 1.35rem;
  }

  .nav-links.is-open a,
  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
  }

  .dock {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .split,
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    align-items: start;
  }

  .plates-pair {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .plates-pair .plate figcaption,
  .plate-wide figcaption {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.15fr);
    min-height: calc(100vh - 6.2rem);
  }

  .hero-photo {
    order: 2;
  }

  .hero-copy {
    order: 1;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-photo img {
    height: 100%;
    min-height: calc(100vh - 6.2rem);
  }

  .top-strip span:last-child {
    display: inline;
  }
}

@media (max-width: 799px) {
  .top-strip span:last-child {
    display: none;
  }

  .index li {
    grid-template-columns: 5.2rem 1fr;
  }

  .index span {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}
