/* Pellow & Vane, Savile Row. One stylesheet, phone first. */

:root {
  --paper: #f5efe3;
  --paper-2: #ebe2cf;
  --kraft: #c9a574;
  --kraft-2: #b8915c;
  --kraft-line: #7d5f38;
  --ink: #1f1b16;
  --ink-2: #4a4136;
  --red: #972b1e;
  --rule: rgba(52, 80, 110, 0.16);
  --cloth: #2a2926;
  --cloth-2: #34332f;
  --chalk: #f1ece1;
  --chalk-2: #cfc8b8;
  --door: #1d2a23;
  --gilt: #dcc58f;

  --display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --body: "Newsreader", "Iowan Old Style", Georgia, serif;
  --figures: "Newsreader", Georgia, serif;
  --hand: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;

  --gutter: clamp(1.1rem, 5vw, 3rem);
  --measure: 34rem;
  --space: clamp(3.5rem, 11vw, 7.5rem);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
  padding-bottom: 4.25rem; /* room for the telephone bar on phones */
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; z-index: 50; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--paper); }

.wrap {
  width: min(100% - 2 * var(--gutter), 74rem);
  margin-inline: auto;
}

.tnum { font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------------ */
/* Masthead                                                            */
/* ------------------------------------------------------------------ */

.masthead {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.masthead__inner {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.1rem 0 0;
}

.mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.6rem);
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.mark:hover { color: var(--ink); }
.mark__amp { font-style: italic; color: var(--red); font-size: 1.1em; }

.mark__sub {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nav {
  width: 100%;
  margin-top: 0.8rem;
  border-top: 1px solid var(--ink);
}
.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
}
.nav li { flex: 1 1 0; text-align: center; }
.nav li + li { border-left: 1px solid rgba(31, 27, 22, 0.25); }
.nav a {
  display: block;
  padding: 0.8rem 0.25rem;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav a[aria-current="page"] {
  font-style: italic;
  color: var(--red);
  background:
    linear-gradient(var(--red), var(--red)) center bottom 0.45rem / 1.4rem 1px no-repeat;
}

.masthead__tel { display: none; }

/* ------------------------------------------------------------------ */
/* Telephone bar, phones only                                          */
/* ------------------------------------------------------------------ */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-top: 3px solid var(--red);
}
.callbar:hover { color: var(--paper); }
.callbar__who { font-size: 0.85rem; line-height: 1.25; color: var(--chalk-2); }
.callbar__who strong { display: block; color: var(--paper); font-weight: 500; font-size: 1rem; }
.callbar__num {
  font-family: var(--display);
  font-size: 1.35rem;
  white-space: nowrap;
  border-bottom: 1px solid var(--gilt);
}

/* ------------------------------------------------------------------ */
/* Shared type                                                         */
/* ------------------------------------------------------------------ */

.kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 10vw, 4.9rem); }
h2 { font-size: clamp(1.95rem, 7vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 4.8vw, 1.8rem); line-height: 1.15; }
h1 em, h2 em { color: var(--red); }

.lede { font-size: clamp(1.2rem, 4.4vw, 1.45rem); line-height: 1.45; max-width: 30rem; }

.section { padding-block: var(--space); }
.section + .section { border-top: 1px solid rgba(31, 27, 22, 0.18); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.section-head p { max-width: var(--measure); }

.num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.pencil {
  font-family: var(--hand);
  font-size: 1.6rem;
  line-height: 1.1;
  color: #3a3631;
}

.prose { max-width: var(--measure); }

/* The quote as Ruth would say it: plain, no curly flourish. */
.said {
  margin: 2rem 0;
  padding: 0 0 0 1.1rem;
  border-left: 2px solid var(--red);
  font-family: var(--display);
  font-size: clamp(1.45rem, 5.4vw, 2.1rem);
  line-height: 1.22;
}
.said p { margin: 0; }
.said footer, .said cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.button:hover { background: var(--red); color: var(--paper); }
.button--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.button--line:hover { background: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------------ */
/* Photograph frames (to be replaced by real photographs)              */
/* ------------------------------------------------------------------ */

.photo {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(31, 27, 22, 0.045) 0 1px, transparent 1px 11px),
    var(--paper-2);
  border: 1px solid var(--kraft-line);
  box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(125, 95, 56, 0.45);
}
.photo--wide { aspect-ratio: 3 / 2; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo figcaption {
  max-width: min(17rem, 100%);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.photo figcaption b {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kraft-line);
}
/* chalk crosses in the corners, the way a cutter marks a point */
.photo::before, .photo::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--kraft-line), var(--kraft-line)) center / 100% 1px no-repeat,
    linear-gradient(var(--kraft-line), var(--kraft-line)) center / 1px 100% no-repeat;
}
.photo::before { top: 16px; left: 16px; }
.photo::after { bottom: 16px; right: 16px; }

/* ------------------------------------------------------------------ */
/* Home: opening                                                       */
/* ------------------------------------------------------------------ */

.opening { padding-block: clamp(2.25rem, 8vw, 5.5rem) var(--space); }
.opening__grid { display: grid; gap: 2.5rem; }
.opening h1 em { display: block; margin-top: 0.15em; }

.ring {
  margin-top: 2rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--kraft);
  color: var(--ink);
  position: relative;
  max-width: 26rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 1.2rem 100%, 0 calc(100% - 1.2rem));
}
/* the punched hole of a pattern hung on its hook */
.ring::before {
  content: "";
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--kraft-line);
}
.ring__label {
  margin: 0 0 0.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ring__num {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.7rem);
  line-height: 1.1;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}
.ring__num:hover { color: var(--red); border-color: var(--red); }
.ring__note { margin: 0.8rem 0 0; font-size: 1rem; line-height: 1.45; }

/* ------------------------------------------------------------------ */
/* Home: Ruth                                                          */
/* ------------------------------------------------------------------ */

.ruth__grid { display: grid; gap: 2.5rem; }
.ruth__grid .photo, .person .photo { aspect-ratio: 3 / 2; }

.banned {
  margin: 2.25rem 0 0;
  padding: 1.25rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  max-width: 30rem;
}
.banned h3 {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.banned dl { margin: 0; }
.banned dt {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.1;
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.banned dd { margin: 0.2rem 0 1.1rem; font-size: 1rem; color: var(--ink-2); }
.banned dd:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Too-polite questions                                                */
/* ------------------------------------------------------------------ */

.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.asks li {
  align-content: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(31, 27, 22, 0.25);
  display: grid;
  gap: 0.5rem;
}
.asks li:last-child { border-bottom: 1px solid rgba(31, 27, 22, 0.25); }
.asks h3 { margin: 0; font-size: clamp(1.35rem, 5vw, 1.65rem); }
.asks p { max-width: var(--measure); }
.asks .pencil { color: var(--red); font-size: 1.5rem; }

/* ------------------------------------------------------------------ */
/* Cloth panel: prices and the sixty hours                             */
/* ------------------------------------------------------------------ */

.cloth {
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(241, 236, 225, 0.075) 26px 27px, transparent 27px 28px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 3px),
    var(--cloth);
  color: var(--chalk);
}
.section.cloth + .section, .section + .section.cloth { border-top: 0; }
.cloth .kicker { color: var(--gilt); }
.cloth h2 em { color: var(--gilt); }
.cloth a:hover { color: var(--gilt); }

.cloth__grid { display: grid; gap: 3rem; }

.prices { margin: 0; padding: 0; list-style: none; }
.prices li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(241, 236, 225, 0.35);
}
.prices .what { font-size: 1.1rem; }
.prices .dots { flex: 1; min-width: 1rem; }
.prices .from { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chalk-2); }
.prices .amount { font-family: var(--display); font-size: 1.7rem; line-height: 1; font-variant-numeric: lining-nums; }

.terms { margin-top: 1.5rem; font-size: 1rem; color: var(--chalk-2); max-width: 30rem; }
.terms strong { color: var(--chalk); font-weight: 500; }

.hours { margin: 0; }
.hours__label { font-family: var(--display); font-size: clamp(1.6rem, 6vw, 2.3rem); line-height: 1.1; margin-bottom: 0.3rem; }
.hours__note { font-size: 0.95rem; color: var(--chalk-2); margin-bottom: 1.25rem; }
.tally { width: 100%; max-width: 30rem; }

.buys { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.buys li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: baseline; }
.buys .fig {
  font-family: var(--display);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--gilt);
  text-align: right;
  font-variant-numeric: lining-nums;
}
.buys p { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.buys strong { font-weight: 500; }

.cloth__close {
  margin-top: 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(241, 236, 225, 0.3);
  font-family: var(--display);
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.25;
  max-width: 38rem;
}

/* ------------------------------------------------------------------ */
/* The cellar door                                                     */
/* ------------------------------------------------------------------ */

.door-wrap { padding-block: var(--space); background: var(--paper-2); }
.door {
  margin: 0 auto;
  max-width: 34rem;
  padding: clamp(1.1rem, 4vw, 1.75rem);
  background: var(--door);
  color: var(--gilt);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}
.door__panel {
  border: 2px solid rgba(220, 197, 143, 0.35);
  box-shadow: inset 0 0 0 6px var(--door), inset 0 0 0 7px rgba(220, 197, 143, 0.2);
  padding: clamp(2rem, 8vw, 3.5rem) clamp(1rem, 5vw, 2.5rem);
  text-align: center;
}
.door__small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bfae84;
  margin-bottom: 1.5rem;
}
.door__rule {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1.12;
  margin: 0;
}
.door__rule span { display: block; }
.door__rule span:last-child { font-size: 0.78em; margin-top: 0.35em; }
.door__note { margin: 1.75rem 0 0; font-size: 1rem; color: #d8ceb3; }
.door__knob {
  width: 18px; height: 18px; margin: 1.5rem auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #efe0b4, #a88c4f 60%, #6d5a31);
}

/* ------------------------------------------------------------------ */
/* The ledger                                                          */
/* ------------------------------------------------------------------ */

.ledger {
  position: relative;
  background:
    linear-gradient(90deg, transparent 2.4rem, rgba(151, 43, 30, 0.55) 2.4rem, rgba(151, 43, 30, 0.55) calc(2.4rem + 1px), transparent calc(2.4rem + 1px), transparent calc(2.4rem + 4px), rgba(151, 43, 30, 0.55) calc(2.4rem + 4px), rgba(151, 43, 30, 0.55) calc(2.4rem + 5px), transparent calc(2.4rem + 5px)),
    repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), var(--rule) calc(2rem - 1px) 2rem),
    #fbf7ee;
  border: 1px solid rgba(31, 27, 22, 0.2);
  box-shadow: 0 20px 40px -30px rgba(31, 27, 22, 0.55);
  padding: 1rem 1rem 1rem 3.4rem;
  list-style: none;
  margin: 0;
}
.ledger__head {
  display: none;
}
.entry {
  position: relative;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(31, 27, 22, 0.35);
}
.entry:last-child { border-bottom: 0; }
.entry__year {
  position: absolute;
  left: -3.05rem;
  top: 1.35rem;
  width: 2.5rem;
  font-family: var(--display);
  font-size: 1rem;
  text-align: center;
  color: var(--red);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-variant-numeric: lining-nums;
}
.entry__name {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.3rem;
}
.entry__name s { text-decoration-color: var(--ink-2); }
.entry h3 { margin-bottom: 0.4rem; }
.entry__story { font-size: 1.02rem; margin-bottom: 0.8rem; max-width: 40rem; }
.entry__remark {
  margin: 0;
  padding: 0.55rem 0.75rem 0.45rem;
  background: rgba(201, 165, 116, 0.22);
  border-left: 2px solid var(--kraft-line);
}
.entry__remark span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.entry__remark .hand { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.entry__remark q, .entry__remark .hand {
  font-family: var(--hand);
  font-size: 1.7rem;
  line-height: 1.1;
  quotes: none;
  color: #2c2925;
}

.nobody {
  margin-top: 2rem;
  max-width: 34rem;
}

/* ------------------------------------------------------------------ */
/* Returners                                                           */
/* ------------------------------------------------------------------ */

.returner__grid { display: grid; gap: 2rem; align-items: start; }
.hanging { width: 100%; max-width: 22rem; margin-inline: auto; }

/* ------------------------------------------------------------------ */
/* Visit                                                               */
/* ------------------------------------------------------------------ */

.visit { background: var(--kraft); }
.section.visit { border-top: 0; }
.visit__grid { display: grid; gap: 2.25rem; }
.visit h2 { margin-bottom: 0.4em; }
.visit dl { margin: 0; display: grid; gap: 1.1rem; }
.visit dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.visit dd { margin: 0.15rem 0 0; font-size: 1.1rem; }
.visit .bignum {
  font-family: var(--figures);
  font-size: clamp(2.1rem, 9vw, 3rem);
  line-height: 1.1;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}
.visit .bignum:hover { color: var(--red); border-color: var(--red); }
.hours-table { border-collapse: collapse; font-size: 1.05rem; }
.hours-table th { text-align: left; font-weight: 400; padding: 0.2rem 1.25rem 0.2rem 0; }
.hours-table td { padding: 0.2rem 0; font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.foot {
  background: var(--ink);
  color: var(--chalk-2);
  padding-block: 3rem;
  font-size: 0.95rem;
}
.foot a { color: var(--chalk); }
.foot a:hover { color: var(--gilt); }
.foot__grid { display: grid; gap: 2rem; }
.foot__mark { font-family: var(--display); font-size: 1.8rem; color: var(--chalk); line-height: 1; margin-bottom: 0.5rem; }
.foot__mark span { font-style: italic; color: var(--gilt); }
.foot h2 {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gilt);
  margin-bottom: 0.7rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.4rem; }
.foot .unlinked { color: var(--chalk-2); }
.foot .unlinked small { display: block; font-size: 0.85rem; color: #a9a293; }
.foot__hugo {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(241, 236, 225, 0.2);
  font-size: 0.9rem;
  color: #aea796;
}

/* ------------------------------------------------------------------ */
/* Bespoke page                                                        */
/* ------------------------------------------------------------------ */

.page-open { padding-block: clamp(2.25rem, 8vw, 5rem) clamp(2rem, 7vw, 4rem); }
.page-open__grid { display: grid; gap: 2rem; }

.facts {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(31, 27, 22, 0.3);
  border: 1px solid rgba(31, 27, 22, 0.3);
  max-width: 34rem;
}
.facts li { background: var(--paper); padding: 0.9rem 0.9rem 1rem; }
.facts b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  font-variant-numeric: lining-nums;
}
.facts span { font-size: 0.9rem; line-height: 1.35; color: var(--ink-2); display: block; }

/* The tape measure down the side of the steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 3.25rem;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1.9rem;
  background:
    repeating-linear-gradient(180deg, #3a3631 0 1px, transparent 1px 1.25rem) left top / 0.9rem 100% no-repeat,
    repeating-linear-gradient(180deg, #3a3631 0 1px, transparent 1px 0.25rem) left top / 0.45rem 100% no-repeat,
    #e8d9a8;
  border-right: 1px solid #b69d5c;
  border-left: 1px solid #b69d5c;
}
.step {
  position: relative;
  padding-bottom: clamp(2.5rem, 8vw, 4rem);
}
.step:last-child { padding-bottom: 0; }
.step__n {
  position: absolute;
  left: -3.25rem;
  top: -0.1rem;
  width: 1.9rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.2rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step__meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.step__body { max-width: var(--measure); }
.step .said { font-size: clamp(1.25rem, 4.6vw, 1.6rem); margin: 1.25rem 0; }
.step__you {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--paper-2);
  font-size: 1rem;
  max-width: var(--measure);
}
.step__you b {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 0.4rem;
}
.step--quiet .step__n { background: var(--kraft); color: var(--ink); }
.step .photo { margin-top: 1.5rem; max-width: 30rem; }

/* Price ticket */
.ticket {
  background: var(--kraft);
  padding: 1.5rem 1.25rem 1.75rem;
  position: relative;
  max-width: 34rem;
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 0 100%);
}
.ticket::before {
  content: "";
  position: absolute;
  top: 1rem; left: 1rem;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--kraft-line);
}
.ticket table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.ticket th, .ticket td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(31, 27, 22, 0.35);
  vertical-align: baseline;
}
.ticket th { text-align: left; font-weight: 400; font-size: 1.08rem; }
.ticket td { text-align: right; font-family: var(--figures); font-size: 1.7rem; line-height: 1; font-variant-numeric: lining-nums; white-space: nowrap; }
.ticket td small { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 0.35rem; }
.ticket__cap { caption-side: top; text-align: left; margin-top: 1.25rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.ticket__terms { margin-top: 1.25rem; font-size: 1rem; }
.ticket__terms p { margin-bottom: 0.6rem; }
.ticket .pencil { position: absolute; top: 0.55rem; right: 2.2rem; font-size: 1.5rem; transform: rotate(-3deg); }

.price__grid { display: grid; gap: 2.5rem; }

/* Etiquette */
.qa { margin: 0; display: grid; gap: 0; }
.qa__item { padding: 1.5rem 0; border-top: 1px solid rgba(31, 27, 22, 0.25); }
.qa__item:last-child { border-bottom: 1px solid rgba(31, 27, 22, 0.25); }
.qa dt { font-family: var(--display); font-size: clamp(1.35rem, 5vw, 1.7rem); line-height: 1.2; margin-bottom: 0.55rem; }
.qa dd { margin: 0; max-width: var(--measure); }
.qa__group {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 2.5rem 0 0.25rem;
}
.qa__group:first-child { margin-top: 0; }

.closer { text-align: left; }
.closer__inner { max-width: 40rem; }

/* ------------------------------------------------------------------ */
/* House page                                                          */
/* ------------------------------------------------------------------ */

.sign-demo { display: grid; gap: 1.25rem; margin-top: 2rem; max-width: 30rem; }
.sign {
  padding: 1rem 1.1rem;
  background: var(--door);
  color: var(--gilt);
  font-family: var(--display);
  font-size: clamp(1.45rem, 6.5vw, 2rem);
  letter-spacing: 0.08em;
  text-align: center;
  border: 3px double rgba(220, 197, 143, 0.5);
  line-height: 1.1;
}
.sign--lop { transform: rotate(-4deg); transform-origin: left center; width: 72%; }
.sign__cap { font-size: 0.9rem; color: var(--ink-2); margin: 0.4rem 0 0; }
.sign-demo figure { margin: 0; }

.table-fig { margin: 0; }
.table-fig figcaption { font-size: 0.95rem; color: var(--ink-2); margin-top: 0.75rem; max-width: 30rem; }

.split { display: grid; gap: 2.5rem; align-items: start; }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
.person { display: grid; gap: 1.25rem; min-width: 0; }
.person > * { min-width: 0; }
.person__tag {
  display: inline-block;
  background: var(--kraft);
  padding: 0.35rem 0.8rem 0.3rem 1.6rem;
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  clip-path: polygon(0.7rem 0, 100% 0, 100% 100%, 0.7rem 100%, 0 50%);
}
.person__tag::before {
  content: "";
  position: absolute;
  left: 0.75rem; top: 50%;
  width: 0.4rem; height: 0.4rem;
  margin-top: -0.2rem;
  border-radius: 50%;
  background: var(--paper);
}
.person h3 { margin: 0.6rem 0 0.25rem; font-size: clamp(1.8rem, 7vw, 2.4rem); }
.person__years { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 1rem; }
.person .said { font-size: clamp(1.2rem, 4.5vw, 1.5rem); margin: 1.25rem 0 0; }
.aside { font-size: 0.95rem; font-style: italic; color: var(--ink-2); margin-top: 0.6rem; }

.cellar-fig { margin: 0; background: #2b2520; padding: 1rem 0.75rem 0.5rem; border: 1px solid #1a1612; }
.cellar-fig svg { width: 100%; }
.cellar-fig figcaption { color: #d7ccb4; font-size: 0.92rem; padding: 0.6rem 0.25rem 0.5rem; }

.bignum-line {
  font-family: var(--display);
  font-size: clamp(3.5rem, 18vw, 7rem);
  line-height: 0.9;
  color: var(--red);
  font-variant-numeric: lining-nums;
  margin: 0 0 0.25rem;
}

.cloth .bignum-line { color: var(--gilt); }

.ledger-page {
  margin: 0;
  padding: 1.25rem 1rem 1.5rem 1rem;
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(2.2rem - 1px), var(--rule) calc(2.2rem - 1px) 2.2rem),
    #fbf7ee;
  border: 1px solid rgba(31, 27, 22, 0.25);
  box-shadow: 0 20px 40px -30px rgba(31, 27, 22, 0.55);
}
.ledger-page__cols {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0 0.75rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(151, 43, 30, 0.6);
  margin-bottom: 0.6rem;
}
.ledger-line {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0 0.75rem;
  align-items: baseline;
  padding: 0.35rem 0;
}
.ledger-line .y { font-family: var(--figures); color: var(--red); font-variant-numeric: lining-nums; }
.ledger-line .hand { font-family: var(--hand); font-size: 1.75rem; line-height: 1.15; color: #2c2925; }
.ledger-page figcaption { font-size: 0.9rem; color: var(--ink-2); margin-top: 1rem; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.4rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -0.45rem; top: 0.55rem;
  width: 0.8rem; height: 0.8rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: rotate(45deg);
}
.timeline .y {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--red);
  font-variant-numeric: lining-nums;
}
.timeline p { margin: 0.2rem 0 0; max-width: var(--measure); }

.tools { display: grid; gap: 2rem; }
.tool h3 { margin-bottom: 0.4rem; }

/* ------------------------------------------------------------------ */
/* Wider screens                                                       */
/* ------------------------------------------------------------------ */

@media (min-width: 40em) {
  .ledger { padding: 1.25rem 1.75rem 1.25rem 4.5rem; }
  .ledger { background:
    linear-gradient(90deg, transparent 3.4rem, rgba(151, 43, 30, 0.55) 3.4rem, rgba(151, 43, 30, 0.55) calc(3.4rem + 1px), transparent calc(3.4rem + 1px), transparent calc(3.4rem + 4px), rgba(151, 43, 30, 0.55) calc(3.4rem + 4px), rgba(151, 43, 30, 0.55) calc(3.4rem + 5px), transparent calc(3.4rem + 5px)),
    repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), var(--rule) calc(2rem - 1px) 2rem),
    #fbf7ee; }
  .entry__year {
    left: -4.3rem; width: 3.4rem;
    writing-mode: horizontal-tb; transform: none;
    font-size: 1.25rem; top: 1.4rem;
  }
  .facts { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .tools { grid-template-columns: 1fr 1fr; }
  .ledger-page { padding: 1.5rem 1.75rem 1.75rem; }
  .ledger-page__cols, .ledger-line { grid-template-columns: 4.5rem 1fr; gap: 0 1.25rem; }
}

@media (min-width: 56em) {
  body { padding-bottom: 0; font-size: 1.1875rem; }
  .callbar { display: none; }

  .masthead__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    justify-items: start;
    align-items: center;
    column-gap: 2.5rem;
    padding: 1.3rem 0 1.2rem;
  }
  .mark { grid-column: 1; grid-row: 1; }
  .mark__sub { grid-column: 1; grid-row: 2; }
  .nav { grid-column: 2; grid-row: 1 / span 2; margin: 0; border: 0; justify-self: center; width: auto; }
  .nav ul { gap: 0.5rem; }
  .nav li { flex: none; }
  .nav li + li { border-left: 0; }
  .nav a { padding: 0.5rem 0.9rem; font-size: 1rem; }
  .nav a[aria-current="page"] { background-position: center bottom 0.2rem; }
  .masthead__tel {
    display: block;
    grid-column: 3; grid-row: 1 / span 2;
    text-align: right;
    text-decoration: none;
    line-height: 1.2;
  }
  .masthead__tel span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
  .masthead__tel strong { font-family: var(--figures); font-weight: 400; font-size: 1.6rem; border-bottom: 1px solid var(--red); }

  .opening__grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 4rem; }
  .ruth__grid { grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; align-items: start; }
  .ruth__grid .photo { position: sticky; top: 2rem; }
  .asks { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .asks li:nth-last-child(2) { border-bottom: 1px solid rgba(31, 27, 22, 0.25); }
  .asks li:nth-child(odd):last-child { grid-column: 1 / -1; }
  .cloth__grid { grid-template-columns: 1fr 1fr; column-gap: 5rem; row-gap: 3rem; }
  .cloth__grid > div:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .cloth__close { grid-column: 1; grid-row: 2; align-self: end; }
  .ruth__grid .photo { aspect-ratio: 4 / 5; }
  .person .photo { aspect-ratio: 4 / 5; }
  .returner__grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
  .visit__grid { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  .page-open__grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: end; }
  .steps-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 4rem; align-items: start; }
  .steps-layout .section-head { position: sticky; top: 2rem; }
  .price__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .qa-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 4rem; align-items: start; }
  .qa-layout .section-head { position: sticky; top: 2rem; }

  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split--flip > :first-child { order: 2; }
  .people { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; row-gap: 4rem; }
  .person { grid-template-columns: 0.8fr 1.2fr; gap: 1.75rem; align-items: start; }
  .person h3 { font-size: 2rem; }
}

@media (min-width: 72em) {
  .opening__grid { gap: 6rem; }
}

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

@media print {
  .callbar, .nav { display: none; }
  body { padding: 0; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.visit__wait { margin-top: 1.25rem; font-size: 1rem; }

/* IM Fell's old-style figures read 1 as I and 0 as o: numbers are set in Newsreader */
.ring__num, .callbar__num, .prices .amount, .buys .fig, .facts b, .bignum-line,
.timeline .y, .entry__year, .ledger-line .y, .ticket td, .visit .bignum,
.masthead__tel strong, .fig-inline {
  font-family: var(--figures);
  font-variant-numeric: lining-nums;
}
.fig-inline { font-size: 0.92em; }

/* ---- Bench photographs: added AFTER the build, identically on every site. ----
   Each picture fills the frame the design drew, cropped from the centre; the frame keeps
   the size the design gave it (its label is hidden, not removed). */
[data-bench-frame="static"] { position: relative; }
[data-bench-frame] { isolation: isolate; overflow: clip; }  /* clip, not hidden: hidden makes a grid item a scroll container and changes its automatic minimum size, which re-lays out some designs */
[data-bench-frame] > .bench-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; z-index: -1; margin: 0; border: 0; }
[data-bench-frame]:not([data-bench-over]) .bench-label { visibility: hidden; }
[data-bench-frame][data-bench-frame]:not([data-bench-over])::before,
[data-bench-frame][data-bench-frame]:not([data-bench-over])::after { visibility: hidden; }  /* hidden, not removed: some designs size the frame with a pseudo-element */
[data-bench-over] .bench-label { display: none; }
[data-bench-over] > .bench-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bench-scrim) 0%, color-mix(in srgb, var(--bench-scrim) 88%, transparent) 42%, color-mix(in srgb, var(--bench-scrim) 35%, transparent) 72%, transparent 100%); }
@media (max-width: 700px) { [data-bench-over] > .bench-scrim { background: color-mix(in srgb, var(--bench-scrim) 82%, transparent); } }
