/* Bench Repair — self-hosted IBM Plex, no runtime font host. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSansHebrew-Regular.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSansHebrew-Medium.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/IBMPlexSansHebrew-SemiBold.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
}

:root {
  --paper: #f6f7f8;
  --field: #e4e7eb;
  --ink: #121417;
  --header: #101318;
  --header-text: #f4f6f7;
  --header-dim: #b7c0c8;
  --muted: #4e5963;
  --line: #d5d9df;
  --green: #1f6b4a;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
}

body:has(#cookie-banner:not([hidden])) {
  padding-bottom: 8.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  z-index: 40;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

:focus {
  outline: none;
}

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

.mast :focus-visible,
.colophon :focus-visible,
.cookie :focus-visible {
  outline-color: var(--header-text);
}

.mast {
  background: var(--header);
  color: var(--header-text);
}

.mast-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.45rem 1.75rem 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand stub"
    "desk desk"
    "nav nav";
  column-gap: 1.5rem;
  row-gap: 0.85rem;
  align-items: start;
}

.brand {
  grid-area: brand;
  min-width: 0;
}

.kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--header-dim);
}

.shop {
  margin: 0.4rem 0 0;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.shop a {
  color: var(--header-text);
  text-decoration: none;
}

.shop a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.where {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
  color: var(--header-dim);
}

.stub-no {
  grid-area: stub;
  margin: 0.15rem 0 0;
  justify-self: end;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--green);
  background: var(--paper);
  padding: 0.48rem 0.62rem 0.42rem;
}

.desk-state {
  grid-area: desk;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--header-dim);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.desk-dot {
  width: 0.45rem;
  height: 0.45rem;
  border: 1.5px solid var(--header-dim);
  border-radius: 50%;
  flex: 0 0 auto;
}

.desk-state.is-open {
  color: var(--header-text);
}

.desk-state.is-open .desk-dot {
  background: var(--header-text);
  border-color: var(--header-text);
}

nav {
  grid-area: nav;
  display: block;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(244, 246, 247, 0.16);
}

nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0;
}

nav li {
  max-width: none;
  margin: 0;
}

nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  color: var(--header-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0 0.35rem;
  border-bottom: 2px solid transparent;
}

nav a span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--header-dim);
}

nav a:hover,
nav a:hover span {
  color: var(--header-text);
}

nav a[aria-current="page"] {
  color: var(--header-text);
  border-bottom-color: var(--header-text);
}

nav a[aria-current="page"] span {
  color: var(--header-text);
}

.bench-hero {
  margin: 0;
  background: var(--header);
  overflow: hidden;
}

.bench-hero img {
  display: block;
  width: 100%;
  height: clamp(280px, 54vw, 700px);
  object-fit: cover;
  object-position: center 42%;
  background: #1a1e24;
}

.bench-hero figcaption {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem 1.75rem 1rem;
  color: #d5dbe1;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.sheet {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--paper);
  padding: 0.35rem 1.75rem 2.6rem;
  min-width: 0;
}

main {
  padding: 1.7rem 0 0.4rem;
}

h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2.45rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
  max-width: 16ch;
}

h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p,
li {
  max-width: 68ch;
}

p {
  margin: 0.75rem 0;
}

.lede {
  font-size: 1.32rem;
  line-height: 1.5;
  max-width: 40ch;
  margin-top: 0.35rem;
}

.docket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0;
  margin: 0 0 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.docket span + span::before {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin: 0 0.75rem 0.05rem 0.7rem;
  background: var(--green);
  vertical-align: 0.02em;
}

a {
  color: var(--ink);
}

main a {
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.6rem;
  align-items: start;
  margin: 2rem 0 1.4rem;
}

.board section,
main > section:has(> .prices) {
  background: #ffffff;
  border: 1px solid var(--ink);
  min-width: 0;
}

.board h2 {
  margin: 0;
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}

.unit {
  margin: 0;
  padding: 0.8rem 1.15rem 0.15rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

main > section:has(> .prices) {
  margin: 1.5rem 0 1.8rem;
}

.prices {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.15rem;
}

.prices li {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr) auto;
  grid-template-areas:
    "tix job amt"
    "tix meta amt";
  column-gap: 0.75rem;
  row-gap: 0.22rem;
  align-items: start;
  max-width: none;
  margin: 0;
  padding: 1rem 1.15rem 1.05rem;
  border-bottom: 1px solid var(--line);
}

.prices li:last-child {
  border-bottom: 0;
}

.tix {
  grid-area: tix;
  padding-top: 0.18rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--green);
  line-height: 1.3;
}

.job {
  grid-area: job;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
}

.meta {
  grid-area: meta;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.amt {
  grid-area: amt;
  align-self: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 1.05rem;
  white-space: nowrap;
  text-align: right;
  letter-spacing: -0.02em;
}

.callout {
  margin: 1.8rem 0;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 2px solid var(--ink);
  max-width: 66ch;
}

.callout p:first-child {
  margin-top: 0;
}

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

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.15rem 1rem;
  margin: 1.3rem 0 0.6rem;
}

.shots figure,
.solo {
  margin: 0;
  max-width: none;
}

.solo {
  margin: 1.5rem 0 1.7rem;
}

.shots img,
.solo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: #d8dce1;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 62ch;
  color: var(--muted);
}

.hours {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  margin: 0.8rem 0 1.2rem;
}

.hours th,
.hours td {
  text-align: left;
  font-weight: 400;
  padding: 0.62rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hours th[scope="row"] {
  font-weight: 600;
  width: 42%;
}

table.spec {
  max-width: 100%;
  background: #ffffff;
  border: 1px solid var(--ink);
  margin-top: 1.1rem;
}

table.spec th,
table.spec td {
  padding: 0.8rem 0.95rem;
}

table.spec th[scope="row"] {
  width: 9.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green);
}

table.spec tr:last-child th,
table.spec tr:last-child td {
  border-bottom: 0;
}

.cta {
  margin: 1.8rem 0 0.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
}

.btn::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  background: var(--green);
  flex: 0 0 auto;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn:hover::before {
  background: var(--paper);
}

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

.steps {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.steps li {
  margin: 0.55rem 0;
}

.counter-questions {
  margin-top: 3.2rem;
}

.counter-questions h2 {
  max-width: 14em;
}

.qa {
  margin-top: 0.4rem;
  border-top: 1px solid var(--ink);
}

.qa article {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 66ch);
  column-gap: 0.85rem;
  align-items: start;
  padding: 1.7rem 0 1.65rem;
  border-bottom: 1px solid var(--line);
}

.qno {
  margin: 0.28rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--green);
  line-height: 1.2;
}

.qa h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  max-width: 28ch;
}

.qa p {
  margin: 0;
  max-width: none;
}

.folio h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 4.4vw, 3.45rem);
}

.doc-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.35rem;
  margin: 1.15rem 0 1.35rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--muted);
  max-width: none;
}

.doc-line span:first-child {
  color: var(--green);
  font-weight: 500;
}

.folio {
  counter-reset: clause;
}

.folio h2 {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  max-width: 40ch;
}

.folio h2::before {
  counter-increment: clause;
  content: counter(clause, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green);
}

.folio .lede {
  max-width: 48ch;
}

.colophon {
  background: var(--header);
  color: #c5ced6;
  padding: 1.85rem max(1.5rem, calc((100% - 1120px) / 2 + 1.75rem)) 1.7rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.colophon p {
  margin: 0.32rem 0;
  max-width: 72ch;
}

.colophon strong,
.colophon a {
  color: var(--header-text);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.35rem;
  margin-top: 0.95rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(244, 246, 247, 0.16);
}

.legal-links a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
}

.legal-links a:hover {
  border-bottom-color: var(--header-text);
}

.fine {
  margin-top: 0.75rem;
  color: #9aa6b2;
}

.cookie {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 30;
  max-width: 46rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  background: var(--header);
  color: var(--header-text);
  border: 1px solid rgba(244, 246, 247, 0.2);
  padding: 0.9rem 1rem;
}

.cookie p {
  margin: 0;
  flex: 1 1 16rem;
  max-width: none;
  color: #d5dbe1;
}

.cookie a {
  color: var(--header-text);
}

.cookie button {
  font: inherit;
  font-weight: 600;
  background: transparent;
  color: var(--header-text);
  border: 1px solid rgba(244, 246, 247, 0.45);
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.cookie button:hover {
  background: var(--header-text);
  color: var(--header);
}

.cookie[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .board {
    grid-template-columns: 1fr;
    gap: 1.35rem 0;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.0625rem;
  }

  .mast-inner,
  .bench-hero figcaption {
    padding-left: 1.05rem;
    padding-right: 1.05rem;
  }

  .sheet {
    padding-left: 1.05rem;
    padding-right: 1.05rem;
  }

  .shop {
    font-size: 1.7rem;
  }

  .qa article {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    padding: 1.3rem 0 1.25rem;
  }

  .folio h2 {
    gap: 0.6rem;
  }
}

@media (max-width: 420px) {
  .prices li {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
      "tix job"
      "tix meta"
      "tix amt";
  }

  .amt {
    text-align: left;
    padding-top: 0.1rem;
  }

  .stub-no {
    letter-spacing: 0.08em;
    font-size: 0.8rem;
  }
}

.hero {
  display: grid;
  gap: 1.5rem 2.25rem;
  align-items: start;
  padding-top: 0.85rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  max-width: 12em;
  font-size: clamp(2.2rem, 4.2vw, 3.45rem);
  line-height: 1.06;
}

.hero .lede {
  max-width: 38em;
  margin-top: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}

.hero-actions .text-link {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(300px, 46vw, 640px);
  object-fit: cover;
  object-position: center 40%;
  border: 1px solid var(--ink);
  background: #d8dce1;
}

.hero-photo figcaption {
  max-width: none;
}

.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.6rem 0 0.4rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.spec-item {
  min-width: 0;
  padding: 1.15rem 1rem 1.25rem;
  border-left: 1px solid var(--line);
}

.spec-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.spec-num {
  display: block;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.spec-item:last-child .spec-num {
  color: var(--green);
}

.spec-label {
  display: block;
  margin-top: 0.55rem;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.menu-block h2 {
  max-width: 16em;
}

.menu {
  margin-top: 1.15rem;
}

.menu-row {
  display: grid;
  grid-template-columns: 3.3rem minmax(0, 1fr) auto;
  grid-template-areas:
    "tix name price"
    "tix note price";
  column-gap: 0.75rem;
  row-gap: 0.18rem;
  align-items: start;
  padding: 0.95rem 0.35rem;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.menu-row:last-child {
  border-bottom: 1px solid var(--ink);
}

.menu-row:hover {
  background: #eef1f4;
}

.menu-row .tix {
  grid-area: tix;
}

.menu-name {
  grid-area: name;
  font-weight: 500;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.menu-note {
  grid-area: note;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.menu-price {
  grid-area: price;
  align-self: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.essays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  margin: 2.6rem 0 0.4rem;
}

.essays article {
  border-top: 1px solid var(--ink);
  padding-top: 0.9rem;
}

.essay-no {
  margin: 0 0 0.45rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--green);
}

.essays h3 {
  margin: 0 0 0.55rem;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.essays p {
  margin: 0;
  color: var(--ink);
  max-width: none;
}

.visit {
  margin-top: 2.8rem;
}

.visit-head {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: 1rem;
}

.visit-head h2 {
  margin: 0;
  max-width: 12em;
}

.visit-head p {
  margin: 0;
  max-width: 34ch;
}

.visit-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 26vw);
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.visit-card {
  border: 1px solid var(--ink);
  background: #ffffff;
  min-height: 15.5rem;
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.visit-card span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--green);
}

.visit-card strong {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.visit-card p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  .hero-photo img {
    height: min(70vh, 640px);
  }
}

@media (max-width: 900px) {
  .spec,
  .essays {
    grid-template-columns: 1fr 1fr;
  }

  .spec-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .spec-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .spec-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .spec,
  .essays {
    grid-template-columns: 1fr;
  }

  .spec-item,
  .spec-item:nth-child(odd),
  .spec-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .spec-item:first-child {
    border-top: 0;
  }

  .visit-head {
    display: block;
  }

  .visit-head p {
    margin-top: 0.6rem;
  }

  .desk-state {
    justify-self: start;
  }

  .menu-row {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
      "tix name"
      "tix note"
      "tix price";
  }

  .menu-price {
    padding-top: 0.15rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .reveal {
    animation: rise 680ms ease-out both;
  }

  .reveal-2 {
    animation-delay: 80ms;
  }

  .reveal-3 {
    animation-delay: 150ms;
  }

  .js .later {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 600ms ease, transform 600ms ease;
  }

  .js .later.is-in {
    opacity: 1;
    transform: none;
  }

  .visit-track {
    scroll-snap-type: x mandatory;
  }

  .visit-card {
    scroll-snap-align: start;
  }

  nav a,
  .btn,
  .btn::before,
  .prices li,
  .menu-row,
  .cookie button,
  .legal-links a {
    transition:
      background-color 160ms ease,
      color 160ms ease,
      border-color 160ms ease;
  }
}

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

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .mast-inner,
  .bench-hero img,
  .bench-hero figcaption {
    animation: none;
  }

  .reveal,
  .later,
  .js .later {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .visit-track {
    scroll-snap-type: none;
  }

  nav a,
  .btn,
  .btn::before,
  .prices li,
  .menu-row,
  .cookie button,
  .legal-links a {
    transition: none;
  }
}

@media print {
  body {
    background: #ffffff;
    padding-bottom: 0;
    color: #000000;
  }

  .skip,
  .cookie,
  nav,
  .cta {
    display: none;
  }

  .mast,
  .bench-hero,
  .colophon {
    background: #ffffff;
    color: #000000;
  }

  .mast a,
  .shop a,
  .where,
  .kicker,
  .colophon a,
  .colophon strong,
  .fine,
  .bench-hero figcaption {
    color: #000000;
  }

  .stub-no {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }

  .board h2 {
    background: #ffffff;
    color: #000000;
    border-bottom: 2px solid #000000;
  }

  .mast-inner,
  .bench-hero img,
  .bench-hero figcaption {
    animation: none;
  }

  .sheet {
    max-width: none;
    background: #ffffff;
  }
}
