/* ==========================================================================
   Ludlow · Dining Rooms
   Two inks (black and vermilion) on warm paper. Set in IM Fell, Libre Caslon
   and Libre Franklin.
   ========================================================================== */

:root {
  --paper: #EEE7D8;
  --paper-2: #E6DDCA;
  --card: #F8F3E8;
  --ink: #1C1A16;
  --ink-2: #48433A;
  --ink-3: #777064;
  --rule: rgba(28, 26, 22, .24);
  --rule-strong: rgba(28, 26, 22, .7);
  --red: #B5331C;
  --red-deep: #9A2915;
  --night: #15130F;
  --night-paper: #E8E0CD;
  --night-rule: rgba(232, 224, 205, .2);

  --display: "IM Fell French Canon", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --label: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gut: clamp(20px, 3.4vw, 52px);
  --cg: clamp(18px, 2.2vw, 36px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17.5px;
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .07 0 0 0 1.1 -.48'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--card); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); }

.label {
  font-family: var(--label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}
.kicker { margin: 0 0 14px; color: var(--red); }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--card); padding: 10px 14px;
  font-family: var(--label); font-size: 13px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* vertical column rules, centred in the gutter, newspaper fashion */
.rule-r, .rule-l { position: relative; }
.rule-r::after, .rule-l::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule);
}
.rule-r::after { right: calc(var(--cg) / -2); }
.rule-l::before { left: calc(var(--cg) / -2); }

/* ------------------------------------------------------------------ type */

.sec-folio {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.sec-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(54px, 8.4vw, 132px);
  line-height: .9;
  letter-spacing: -.012em;
  margin: 0;
}
.sec-title--md { font-size: clamp(44px, 5.4vw, 84px); line-height: .94; }

.fig {
  font-family: var(--label);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-right: .6em;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 5.1em;
  line-height: .78;
  padding: .06em .08em 0 0;
  margin-bottom: -.06em;
  color: var(--red);
}

.boxed {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px 0 6px;
  margin-top: 30px;
  font-size: 15.5px;
  line-height: 1.55;
}
.boxed--double { border-top: 4px double var(--ink); border-bottom: 4px double var(--ink); }

/* ----------------------------------------------------------------- photos */

.ph { margin: 0; }
.ph img {
  width: 100%;
  background: #d9cfba;
  filter: saturate(.82) contrast(1.04) sepia(.06);
}
.ph figcaption {
  margin-top: 10px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 46ch;
}

/* images settle in, like a print drying */
.js .ph img { opacity: 0; transform: scale(1.015); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); }
.js .ph.in img { opacity: 1; transform: none; }

/* ============================================================== RUNNING HEAD */

.demo-bar {
  background: var(--ink); color: var(--paper);
  font-size: 13.5px; line-height: 1.45;
}
.demo-bar__in { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; }
.demo-bar__tag {
  flex: none; font-family: var(--label); font-weight: 600;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--red); color: #fff; padding: 3px 7px 2px;
}
.demo-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media print { .demo-bar { display: none; } }
@media (max-width: 760px) { .demo-bar__more { display: none; } .demo-bar { font-size: 13px; } }

.runhead {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  background: rgba(238, 231, 216, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-101%);
  transition: transform .45s var(--ease);
}
.runhead.is-on { transform: none; }
.runhead__in {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  height: 52px;
}
.runhead__name {
  font-family: var(--display); font-size: 27px; line-height: 1; text-decoration: none;
  justify-self: start;
}
.runhead__sec { font-style: italic; font-size: 16px; color: var(--ink-2); }
.runhead__mark { color: var(--red); font-style: normal; }
.runhead__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.runhead__page { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--ink-2); }
.runhead__book {
  font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--card); background: var(--red);
  padding: 9px 14px 8px;
}
.runhead__book:hover { background: var(--ink); color: var(--card); }

/* ================================================================ MASTHEAD */

.masthead { padding-top: 6px; }

.folio {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 12px 0 11px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink-2);
}
.folio > :last-child { text-align: right; }
.folio__status { color: var(--red); }

.nameplate {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 1.6vw, 22px) 0 clamp(6px, 1vw, 14px);
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(96px, 21vw, 300px);
  line-height: .8;
  letter-spacing: -.018em;
  text-align: center;
}
.wordmark span { display: inline-block; }
.js .wordmark span { opacity: 0; filter: blur(5px); transform: scale(1.012); transition: opacity 1.3s var(--ease), filter 1.3s var(--ease), transform 1.8s var(--ease); }
.js.is-loaded .wordmark span { opacity: 1; filter: none; transform: none; }


.strap {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0;
  margin: 0;
  padding: 11px 0 10px;
  border-top: 1px solid var(--ink);
  font-family: var(--display); font-style: italic;
  font-size: clamp(17px, 1.55vw, 22px);
  color: var(--ink-2);
}
.strap span { display: inline-flex; align-items: center; }
.strap span + span::before {
  content: ""; width: 6px; height: 6px; margin: 0 22px;
  background: var(--red); transform: rotate(45deg);
}

.sections {
  display: flex; justify-content: space-between; gap: 28px;
  padding: 13px 0 12px;
  border-top: 1px solid var(--rule);
  border-bottom: 4px double var(--ink);
}
.sections a {
  font-family: var(--label); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.sections a:hover { color: var(--red); }
.sections a.is-red { color: var(--red); }
.sections a.is-red:hover { color: var(--ink); }

/* ============================================================== FRONT PAGE */

.front { padding: clamp(28px, 3.6vw, 48px) 0 clamp(70px, 9vw, 130px); }

.front__index { grid-column: 1 / 4; }
.lead { grid-column: 4 / 10; }
.front__side { grid-column: 10 / 13; }

.lede { font-size: 20px; line-height: 1.5; }

.inside { margin-top: 30px; }
.inside ol { list-style: none; margin: 0; padding: 0; }
.inside li + li { border-top: 1px solid var(--rule); }
.inside a {
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 0 7px; text-decoration: none; font-size: 15.5px;
}
.inside a i { flex: 1; border-bottom: 1px dotted var(--ink-3); transform: translateY(-4px); }
.inside a b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 18px; color: var(--red); }
.inside a:hover span { color: var(--red); }

.ph--lead img { aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 42%; }
.lead__head {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 3.3vw, 50px);
  line-height: 1.02;
  letter-spacing: -.008em;
  margin: 26px 0 12px;
  text-wrap: balance;
}
.byline { color: var(--ink-3); margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.lead__body { columns: 2; column-gap: var(--cg); column-rule: 1px solid var(--rule); font-size: 16.5px; hyphens: auto; -webkit-hyphens: auto; }
.lead__body p { break-inside: avoid-column; }

.ph--side img { aspect-ratio: 4 / 5; object-fit: cover; }
.side__head {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: 30px; line-height: 1.04; margin: 18px 0 12px;
}
.front__side > p { font-size: 15.5px; line-height: 1.58; }
.bread {
  font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.25;
  color: var(--red);
  padding: 12px 0 0;
  border-top: 1px solid var(--rule);
}

/* ============================================================ BILL OF FARE */

.fare {
  background: var(--paper-2);
  padding: 0 0 clamp(80px, 10vw, 150px);
  position: relative;
}
.fare .sec-folio { border-top: 0; }
.fare__top { padding: clamp(40px, 5vw, 70px) 0 clamp(36px, 4vw, 56px); align-items: end; }
.fare__title { grid-column: 1 / 7; }
.fare__intro { grid-column: 8 / 13; font-size: 18px; }

.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 22px; border-top: 1px solid var(--ink); padding-top: 12px; }
.tabs button {
  appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--display); font-size: 26px; color: var(--ink-3);
  border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tabs button:hover { color: var(--red); }
.tabs .tabs__print {
  margin-left: auto; align-self: center;
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); border: 0; text-decoration: underline; text-underline-offset: .3em;
}

.fare__body { align-items: start; }
.card-wrap { grid-column: 1 / 10; }

.card {
  position: relative;
  background:
    radial-gradient(130% 90% at 50% 30%, rgba(255,255,255,.35), transparent 60%),
    var(--card);
  padding: clamp(36px, 5.2vw, 76px) clamp(26px, 5.4vw, 80px) clamp(32px, 4vw, 56px);
  box-shadow:
    0 1px 0 rgba(28,26,22,.06),
    0 2px 3px rgba(60,40,10,.06),
    0 34px 60px -34px rgba(60,40,10,.42);
  transform: rotate(-.35deg);
}
.card::after { /* faint impression border */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(28,26,22,.12); pointer-events: none;
}

.stamp {
  position: absolute; top: clamp(14px, 2.6vw, 34px); right: clamp(14px, 2.6vw, 38px);
  width: clamp(96px, 11vw, 138px); height: auto;
  color: var(--red); opacity: .86; mix-blend-mode: multiply;
  transform: rotate(-13deg);
  z-index: 2;
}
.stamp text { font-family: var(--label); }
.stamp__ring { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; }
.stamp__big { font-family: var(--display) !important; font-size: 27px; }
.stamp__small { font-size: 12px; font-weight: 600; letter-spacing: 2px; }

[data-card-body] { transition: opacity .25s ease, filter .25s ease; }
[data-card-body].is-swapping { opacity: 0; filter: blur(3px); }

.card__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.card__name { font-family: var(--display); font-size: clamp(46px, 5vw, 68px); line-height: .9; margin: 0 0 10px; }
.card__meta { color: var(--ink-2); margin: 0; }
.card__orn { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; color: var(--red); }
.card__orn::before, .card__orn::after { content: ""; width: 54px; height: 1px; background: currentColor; }
.card__orn i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

.card__cols { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.course { break-inside: avoid; margin: 0 0 30px; }
.course h3 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: 25px; line-height: 1.1; margin: 0 0 12px;
  display: flex; align-items: baseline; gap: 12px;
}
.course h3::after { content: ""; flex: 1; height: 1px; background: var(--rule); transform: translateY(-5px); }
.course ul { list-style: none; margin: 0; padding: 0; }
.course li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  font-size: 16.5px; line-height: 1.38; padding: 5px 0;
}
.course li .dish { max-width: 30ch; }
.course li .price { font-variant-numeric: oldstyle-nums; white-space: nowrap; color: var(--ink-2); }
.course li.is-wide .dish { max-width: none; }
.course .tag { font-style: italic; color: var(--ink-3); }

.fn {
  font-family: var(--label); font-size: 10px; font-weight: 600;
  vertical-align: super; line-height: 0; margin-left: 2px;
  color: var(--red); text-decoration: none; padding: 0 1px;
}

.card__foot {
  margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--rule);
  text-align: center; font-style: italic; font-size: 14.5px; color: var(--ink-2);
}
.card__foot p { margin: 0 auto .4em; max-width: 60ch; }

.notes { grid-column: 10 / 13; padding-top: 8px; }
.notes__list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.notes__list li {
  position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--rule);
  font-size: 15px; line-height: 1.5; font-style: italic; color: var(--ink-2);
  transition: background-color .3s ease, color .3s ease;
}
.notes__list li b {
  position: absolute; left: 0; top: 9px;
  font-family: var(--display); font-weight: 400; font-style: normal; font-size: 22px; color: var(--red);
}
.notes__list li.is-hot { background: rgba(181, 51, 28, .08); color: var(--ink); }
.notes__aside { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

/* ================================================================ BUILDING */

.building { padding: 0 0 clamp(80px, 10vw, 150px); }
.building .sec-folio { margin-bottom: clamp(40px, 5vw, 70px); }
.building__fig { grid-column: 1 / 6; }
.building__fig img { aspect-ratio: 11 / 13; object-fit: cover; }
.building__text { grid-column: 7 / 13; }
.building__text .sec-title { margin-bottom: 30px; }
.letter { font-size: 18.5px; line-height: 1.64; max-width: 36em; }
.signoff {
  font-family: var(--display); font-style: italic; font-size: 30px; margin-top: 26px;
}
.signoff::before { content: ""; display: block; width: 40px; height: 1px; background: var(--red); margin-bottom: 18px; }

/* ==================================================================== ROOM */

.room {
  background: var(--night); color: var(--night-paper);
  padding: 0 0 clamp(90px, 11vw, 160px);
}
.room .sec-folio { border-top-color: var(--night-paper); border-bottom-color: var(--night-rule); color: rgba(232,224,205,.66); }
.room__top { padding: clamp(50px, 6vw, 90px) 0 clamp(40px, 5vw, 70px); align-items: end; }
.room__title { grid-column: 1 / 9; font-size: clamp(50px, 7vw, 112px); text-wrap: balance; }
.room__intro { grid-column: 9 / 13; font-size: 17px; color: rgba(232,224,205,.8); margin: 0; }

.room .ph figcaption { color: rgba(232,224,205,.62); }
.room .ph img { background: #2a251d; }

.room__photos {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: clamp(40px, 5vw, 80px);
}
.rp--a { grid-column: 1 / 8; grid-row: 1; }
.rp--a img { aspect-ratio: 3 / 2; object-fit: cover; }
.rp--b { grid-column: 9 / 13; grid-row: 1 / 3; align-self: start; margin-top: 22%; }
.rp--b img { aspect-ratio: 4 / 5.1; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.rp--q { grid-column: 2 / 8; grid-row: 2; align-self: center; margin: 0; }
.rp--q p {
  font-family: var(--display); font-style: italic;
  font-size: clamp(34px, 4vw, 58px); line-height: 1.04; margin: 0;
  text-indent: -.42em;
}
.rp--q p::before { content: "\201C"; color: var(--red); }
.rp--q p::after { content: "\201D"; color: var(--red); }
.rp--c { grid-column: 1 / 7; grid-row: 3; }
.rp--c img { aspect-ratio: 13 / 9; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.rp--d { grid-column: 7 / 13; grid-row: 3; margin-top: 18%; }
.rp--d img { aspect-ratio: 13 / 9; object-fit: cover; }

/* =============================================================== SUPPLIERS */

.suppliers { padding: clamp(80px, 10vw, 150px) 0 clamp(80px, 10vw, 140px); }
.suppliers .sec-folio { margin-bottom: clamp(40px, 5vw, 70px); }
.suppliers__left { grid-column: 1 / 6; }
.suppliers__intro { font-size: 18.5px; margin: 28px 0 36px; max-width: 30em; }
.suppliers__fig img { aspect-ratio: 10 / 11; object-fit: cover; }

.ledger { grid-column: 7 / 13; margin: 0; align-self: start; border-top: 4px double var(--ink); }
.ledger__row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 15px 0 13px; border-bottom: 1px solid var(--rule);
}
.ledger dt { font-size: 17px; white-space: nowrap; display: flex; align-items: baseline; gap: 10px; flex: 1 1 auto; min-width: 0; }
.ledger dt::after { content: ""; flex: 1; min-width: 20px; border-bottom: 1px dotted var(--ink-3); transform: translateY(-4px); }
.ledger dd { margin: 0; font-style: italic; font-size: 16.5px; text-align: right; flex: 0 1 auto; max-width: 68%; }
.ledger dd small {
  display: block; font-family: var(--label); font-style: normal; font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-top: 3px;
}

/* ================================================================= NOTICES */

.notices { padding: 0 0 clamp(80px, 10vw, 140px); }
.notices .sec-folio { margin-bottom: clamp(36px, 4vw, 56px); }
.notice-box {
  border: 4px double var(--ink);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 56px) clamp(16px, 2.4vw, 30px);
  background: rgba(248, 243, 232, .5);
}
.notice-box__kicker { text-align: center; color: var(--red); margin: 0 0 10px; }
.notice-box__title {
  text-align: center; font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px); line-height: 1; margin: 0 0 clamp(26px, 3.4vw, 44px);
  padding-bottom: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--ink);
}
.notice-list {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: clamp(28px, 3.4vw, 54px); column-rule: 1px solid var(--rule);
}
.notice-list li { break-inside: avoid; margin: 0 0 26px; font-size: 16px; line-height: 1.56; }
.notice-list .num {
  display: block; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--red); margin-bottom: 8px;
}
.notice-list p { margin: 0; }

/* ================================================================ UPSTAIRS */

.upstairs { padding: 0 0 clamp(80px, 10vw, 140px); }
.upstairs .sec-folio { margin-bottom: clamp(40px, 5vw, 70px); }
.upstairs__text { grid-column: 1 / 5; }
.upstairs__text .sec-title { margin-bottom: 28px; }
.upstairs__fig { grid-column: 6 / 13; }
.upstairs__fig img { aspect-ratio: 16 / 11; object-fit: cover; }

.spec { margin: 30px 0 0; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 11px 0 10px; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--red); padding-top: 4px; }
.spec dd { margin: 0; font-size: 16px; }

/* ================================================================ FIND US */

.find { padding: 0 0 clamp(80px, 10vw, 140px); }
.find .sec-folio { margin-bottom: clamp(40px, 5vw, 70px); }
.find__text { grid-column: 1 / 6; }
.find__text .sec-title { margin-bottom: 26px; }
.address { font-family: var(--display); font-style: normal; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; margin-bottom: 18px; }
.contact { font-size: 18px; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.contact a:hover { border-color: var(--red); }

.timetable { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15.5px; }
.timetable caption { text-align: left; color: var(--red); padding-bottom: 10px; border-bottom: 4px double var(--ink); }
.timetable th, .timetable td { text-align: left; padding: 9px 8px 8px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.timetable thead th { font-family: var(--label); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.timetable tbody th { font-style: italic; }
.timetable td { font-variant-numeric: oldstyle-nums; white-space: nowrap; }
.timetable .is-closed td { font-style: italic; color: var(--ink-3); }
.timetable tr.is-today th, .timetable tr.is-today td { color: var(--red); }
.timetable tr.is-today th::after {
  content: "today"; margin-left: 8px;
  font-family: var(--label); font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  vertical-align: 2px;
}

.find__map { grid-column: 7 / 13; margin: 0; align-self: start; }
.map { width: 100%; height: auto; display: block; border: 1px solid var(--ink); box-shadow: 0 30px 50px -36px rgba(60,40,10,.45); }
.find__map figcaption { margin-top: 10px; font-style: italic; font-size: 14px; color: var(--ink-2); }
.map__street text { font-family: var(--label); font-size: 7.6px; font-weight: 600; letter-spacing: 1.6px; fill: var(--ink); }
.map__route { stroke: var(--red); stroke-width: 2.6; stroke-dasharray: 2 6; stroke-linecap: round; stroke-linejoin: round; }
.map__ludlow { font-family: var(--display); font-style: italic; font-size: 30px; fill: var(--ink); }
.map__water { font-family: var(--display); font-style: italic; font-size: 28px; fill: var(--ink); letter-spacing: 1px; }
.map__small { font-family: var(--label); font-size: 9px; font-weight: 600; letter-spacing: 2px; fill: var(--ink); }
.map__note { font-family: var(--display); font-style: italic; font-size: 17px; fill: var(--red); }
.map__compass text { font-family: var(--display); font-size: 15px; fill: var(--ink); }
.map__scale text { font-family: var(--label); font-size: 9px; font-weight: 500; letter-spacing: 1px; fill: var(--ink); }

.js .map__route { stroke-dashoffset: 0; }

/* ================================================================= BOOKING */

.book {
  background: var(--red); color: var(--card);
  padding: 0 0 clamp(90px, 11vw, 160px);
  position: relative;
}
.book .sec-folio { border-top-color: var(--card); border-bottom-color: rgba(248,243,232,.3); color: rgba(248,243,232,.8); margin-bottom: clamp(44px, 5.4vw, 80px); }
.book__text { grid-column: 1 / 5; font-size: 17.5px; }
.book__text a { color: var(--card); }
.book__text a:hover { color: var(--ink); }
.book__title { font-size: clamp(60px, 7.4vw, 118px); margin-bottom: 28px; }
.book__small { font-size: 14.5px; font-style: italic; opacity: .82; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(248,243,232,.35); }

.slip {
  grid-column: 6 / 13; align-self: start;
  position: relative;
  background: var(--card); color: var(--ink);
  padding: clamp(26px, 3.6vw, 52px) clamp(22px, 4vw, 58px) clamp(24px, 3vw, 40px);
  box-shadow: 0 40px 70px -40px rgba(40, 8, 0, .7), 0 2px 4px rgba(40, 8, 0, .18);
  transform: rotate(.5deg);
}
.slip::before { /* perforated tear-off edge */
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--red) 4px, transparent 4.5px) 0 0 / 16px 14px repeat-x;
}
.slip__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); color: var(--ink-2); }

.slip__line {
  font-family: var(--display); font-size: clamp(25px, 2.6vw, 38px); line-height: 1.62;
  margin: 26px 0 18px;
}
.fill {
  font: inherit; font-style: italic; color: var(--red);
  background: transparent; border: 0; border-bottom: 1.5px dotted var(--ink);
  padding: 0 2px; margin: 0 2px; border-radius: 0;
  appearance: none; -webkit-appearance: none;
  line-height: 1.1; vertical-align: baseline;
}
.fill:focus { outline: none; border-bottom: 1.5px solid var(--red); background: rgba(181,51,28,.06); }
.fill::placeholder { color: var(--ink-3); opacity: .7; }
select.fill {
  cursor: pointer;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B5331C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 3px center; background-size: 11px 7px;
}
select.fill option { font-family: var(--text); font-style: normal; color: var(--ink); }
.fill--text { width: 7.5em; }
.fill.is-wrong { border-bottom-color: var(--red); border-bottom-style: solid; background: rgba(181,51,28,.1); }

.slip__note-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 8px; font-size: 16px; color: var(--ink-2); }
.slip__note-line label { font-style: italic; }
.fill--wide { flex: 1 1 260px; font-family: var(--text); font-size: 16px; padding: 4px 2px; }

.slip__more, .slip__error { font-size: 15px; font-style: italic; color: var(--red); margin: 14px 0 0; }

.slip__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ink);
}
.slip__fine { font-size: 13px; line-height: 1.5; font-style: italic; color: var(--ink-3); margin: 0; }

.btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: var(--ink); color: var(--card);
  padding: 16px 24px 15px;
  transition: background-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--red); }
.btn:active { transform: translateY(1px); }
.btn--small { padding: 13px 18px 12px; font-size: 11px; }

.slip__done { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.55; }
.slip__done p { margin: 0; }

.slip__stamp {
  position: absolute; right: clamp(16px, 4vw, 58px); top: 42%;
  width: clamp(200px, 22vw, 270px); height: auto;
  color: var(--red); mix-blend-mode: multiply;
  opacity: 0; transform: rotate(-9deg) scale(1.7); pointer-events: none;
}
.slip__stamp text { font-family: var(--label); }
.slip__stamp-big { font-size: 30px; font-weight: 600; letter-spacing: 4px; }
.slip__stamp-small { font-size: 10.5px; font-weight: 600; letter-spacing: 3px; }
.slip.is-stamped .slip__stamp { animation: thump .5s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.slip.is-stamped .slip__foot .btn { background: var(--ink-3); pointer-events: none; }
@keyframes thump {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.7); }
  60% { opacity: .95; transform: rotate(-9deg) scale(.97); }
  100% { opacity: .88; transform: rotate(-9deg) scale(1); }
}

/* =============================================================== COLOPHON */

.colophon { padding: clamp(60px, 7vw, 100px) 0 28px; border-top: 1px solid var(--ink); }
.colophon__grid { padding-bottom: clamp(40px, 5vw, 70px); }
.colophon__name { grid-column: 1 / 5; font-size: 16px; }
.colophon__mark { font-family: var(--display); font-size: clamp(64px, 6.4vw, 100px); line-height: .85; margin: 0 0 22px; }
.colophon__name a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }

.letter-form { grid-column: 5 / 9; font-size: 16px; }
.letter-form__row { display: flex; gap: 0; margin-top: 16px; border: 1px solid var(--ink); }
.letter-form input {
  flex: 1; min-width: 0; border: 0; background: var(--card); padding: 12px 14px;
  font: italic 16px var(--text); color: var(--ink);
}
.letter-form input:focus { outline: none; background: #fff; }
.letter-form input.is-wrong { background: rgba(181,51,28,.1); }
.letter-form__msg { margin-top: 12px; font-style: italic; font-size: 15px; color: var(--red); min-height: 1.5em; }

.colophon__note { grid-column: 9 / 13; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

.colophon__base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 16px; border-top: 4px double var(--ink); color: var(--ink-2);
}
.colophon__links { display: flex; gap: 24px; flex-wrap: wrap; }
.colophon__links a { text-decoration: none; }
.credit { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); transition: color .2s; }
.credit:hover { color: var(--red); }
.credit__logo { width: auto; height: 22px; display: block; transition: opacity .2s; }
.credit:hover .credit__logo { opacity: .8; }

/* ============================================================ RESPONSIVE */

@media (max-width: 1100px) {
  .folio { grid-template-columns: auto 1fr auto; }
  .folio > :nth-child(2) { text-align: center; }
  .folio__status { white-space: nowrap; }
  .sections { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .sections::-webkit-scrollbar { display: none; }

  .front__index { grid-column: 1 / 5; }
  .lead { grid-column: 5 / 13; }
  .front__side { grid-column: 1 / 13; margin-top: 60px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--cg); }
  .front__side::before { display: none; }
  .front__side .ph--side { grid-column: 1 / 5; grid-row: 1 / 5; }
  .front__side > :not(.ph--side) { grid-column: 6 / 13; }
  .front__side .side__head { margin-top: 0; }
  .front__side { border-top: 4px double var(--ink); padding-top: 30px; }

  .fare__title { grid-column: 1 / 13; }
  .fare__intro { grid-column: 1 / 13; margin-top: 26px; max-width: 40em; }
  .card-wrap { grid-column: 1 / 13; }
  .notes { grid-column: 1 / 13; margin-top: 44px; columns: 2; column-gap: var(--cg); }
  .notes .kicker { column-span: all; }
  .notes__list li { break-inside: avoid; }

  .room__title { grid-column: 1 / 13; }
  .room__intro { grid-column: 1 / 10; margin-top: 26px; }

  .notice-list { columns: 2; }

  .upstairs__text { grid-column: 1 / 13; order: 2; margin-top: 34px; max-width: 40em; }
  .upstairs__fig { grid-column: 1 / 13; order: 1; }

  .find__text { grid-column: 1 / 13; }
  .find__map { grid-column: 1 / 13; margin-top: 44px; }

  .book__text { grid-column: 1 / 13; max-width: 36em; margin-bottom: 40px; }
  .slip { grid-column: 1 / 13; }

  .colophon__name { grid-column: 1 / 7; }
  .letter-form { grid-column: 7 / 13; }
  .colophon__note { grid-column: 1 / 13; margin-top: 30px; max-width: 46em; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .grid { column-gap: 0; }
  .grid > * { grid-column: 1 / -1 !important; }
  .rule-r::after, .rule-l::before { display: none; }

  .folio { grid-template-columns: auto 1fr; row-gap: 4px; font-size: 10px; }
  .folio > :nth-child(2) { text-align: right; }
  .folio > :last-child { grid-column: 1 / -1; text-align: left; border-top: 1px solid var(--rule); padding-top: 7px; }
  .wordmark { font-size: 27vw; }
  .strap { font-size: 16px; }
  .strap span:last-child { display: none; }
  .sections { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .sections::-webkit-scrollbar { display: none; }

  .front__index { order: 2; margin-top: 50px; padding-top: 26px; border-top: 4px double var(--ink); }
  .lead { order: 1; }
  .front__side { order: 3; display: block; }
  .lead__body { columns: 1; }
  .ph--lead img { aspect-ratio: 4 / 4.4; }

  .runhead__sec { display: none; }
  .runhead__in { grid-template-columns: 1fr auto; }
  .runhead__page { display: none; }

  .tabs { gap: 0 20px; }
  .tabs button { font-size: 23px; }
  .tabs .tabs__print { display: none; }
  .card { transform: none; margin-inline: calc(var(--gut) * -.4); }
  .card__cols { columns: 1; }
  .card__head { padding-top: 54px; }
  .stamp { width: 76px; top: 8px; right: 8px; }
  .course li .dish { max-width: none; }
  .notes { columns: 1; }

  .room__photos { display: block; }
  .room__photos > * + * { margin-top: 44px; }
  .rp--b { margin-top: 44px; width: 78%; margin-left: auto; }
  .rp--d { margin-top: 44px; }

  .ledger { margin-top: 44px; }
  .ledger__row { flex-wrap: wrap; }
  .ledger dt { flex-basis: 100%; }
  .ledger dt::after { display: none; }
  .ledger dd { text-align: left; max-width: none; }

  .notice-list { columns: 1; }

  .timetable { font-size: 14px; }
  .timetable th, .timetable td { padding-right: 6px; }
  .timetable td { white-space: normal; }
  .timetable tr.is-today th::after { display: block; margin: 2px 0 0; }

  .slip { transform: none; }
  .slip__line { font-size: 25px; line-height: 1.7; }
  .slip__stamp { top: auto; bottom: 90px; right: 10px; width: 210px; }
  .btn { width: 100%; }

  .letter-form { margin-top: 36px; }
  .colophon__base { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =================================================================== PRINT */
/* "Print this menu" prints only the card */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; }
  body::before { display: none; }
  body * { visibility: hidden; }
  .card, .card * { visibility: visible; }
  .card { position: absolute; left: 0; top: 0; width: 100%; transform: none; box-shadow: none; background: #fff; }
  .card::after { display: none; }
}

/* Fell's hyphen sits close to a following t */
.hy { margin: 0 .07em 0 .03em; }
