/* Cardale Fish Bar · "The Broadsheet". See the comment at the top of index.html. */

:root {
  --news:   #F6F2E9;   /* newsprint ground */
  --sheet:  #ECE4D3;   /* the listings sheet */
  --ink:    #16171B;   /* 16.0:1 on news, 14.2:1 on sheet */
  --ink-2:  #45434A;   /* 8.7:1 on news, 7.7:1 on sheet */
  --red:    #9B2A22;   /* kickers; 6.8:1 on news, 6.0:1 on sheet */
  --slate:  #3E4656;   /* roof: focus ring */
  --lamp:   #F5D77E;   /* lit windows: FILL ONLY */
  --board:  #16171B;
  --sign:   #56554F;   /* the shop sign board, from the drawing; cream on it 5.6:1 */
  --cream:  #F5DCA5;   /* the logo; on black only */
  --hair:   rgba(22, 23, 27, .28);  /* column rules: decorative */

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --black: "UnifrakturMaguntia", "Old English Text MT", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Torn edge (borrowed from Alek's): everything ABOVE the jagged line is
     opaque, so a .tear painted in the previous band's colour bleeds down. */
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 14 L38 7 L74 19 L110 9 L152 22 L188 11 L226 5 L262 18 L300 10 L340 23 L378 8 L414 16 L452 6 L490 20 L528 12 L566 24 L604 9 L642 17 L680 7 L718 21 L756 11 L794 15 L832 5 L870 19 L908 10 L946 23 L984 8 L1022 18 L1060 6 L1098 20 L1136 12 L1174 16 L1200 14 L1200 0 L0 0 Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; background: var(--news); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--news);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--news);
  padding: 10px 14px; font: 600 .8rem/1 var(--mono); text-decoration: none;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

/* ── shared typographic furniture ─────────────────────────────────── */

/* Kicker: the small mono line with a leading rule (Alek's), in paper red. */
.kicker {
  display: flex; align-items: center; gap: .7rem;
  font: 600 .72rem/1.2 var(--mono);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

/* Docket label: IBM Plex Mono, small, ink. */
.docket {
  font: 600 .7rem/1.3 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
}

/* The emphasised word in a headline: no italic, no highlight (Weslie,
   2026-10-07). Left as plain upright type, same as the rest of the line. */
h2 em, .front__head em { font-style: normal; }

/* Running head at the top of each "page". */
.pagehead {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-bottom: .45rem;
  border-bottom: 3px double var(--ink);
  font: 500 .66rem/1.2 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}

/* Two-part section head: headline left, intro right (Alek's). */
.sechead {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem 3rem;
  align-items: end;
  padding: 2.2rem 0 1.6rem;
  border-bottom: 1px solid var(--ink);
}
.sechead h2 {
  margin-top: .8rem;
  font: 800 clamp(2.4rem, 1.2rem + 4.4vw, 4.6rem)/1.04 var(--display);
  font-variation-settings: "opsz" 12;
  letter-spacing: -.02em;
}
.sechead__intro {
  font: italic 400 1.12rem/1.5 var(--text);
  color: var(--ink-2);
  padding-left: 1.4rem;
  border-left: 1px solid var(--hair);
  max-width: 34ch;
}

/* ══ MASTHEAD ════════════════════════════════════════════════════════ */
.mast { padding-top: 14px; }

.mast__folio {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font: 500 .68rem/1.2 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 10px;
}
.mast__edition {
  font: 400 1.05rem/1 var(--black);
  letter-spacing: 0; text-transform: none;
  color: var(--ink);
}

.mast__row {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(0, 150px);
  gap: 18px;
  align-items: stretch;
}

/* The nameplate: the shop sign, on its black board. */
.mast__plate {
  background: var(--board);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 3vw, 44px);
  box-shadow: inset 0 0 0 1px var(--board), inset 0 0 0 4px var(--news), inset 0 0 0 5px var(--board);
}
.mast__plate img { width: 100%; max-width: 780px; }

/* Ears: the little boxes either side of a nameplate. */
.ear {
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink); outline-offset: 3px;
  margin: 4px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 10px 8px;
}
.ear__flag {
  font: 600 .62rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
}
.ear__big {
  margin: .35rem 0 .3rem;
  font: italic 700 1.3rem/1.05 var(--display);
  font-variation-settings: "opsz" 28;
}
.ear__small { font: 400 .78rem/1.25 var(--text); color: var(--ink-2); }

.mast__dateline {
  margin-top: 14px;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding: 7px 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1.1rem;
  font: 500 .72rem/1.5 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
}
.mast__dateline span + span::before { content: "·"; margin-right: 1.1rem; color: var(--red); }

.mast__nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  border-bottom: 1px solid var(--ink);
}
.mast__nav a {
  padding: 10px 18px;
  font: 700 .82rem/1 var(--text);
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  border-left: 1px solid var(--hair);
}
.mast__nav a:first-child { border-left: 0; }
.mast__nav a span { font: 500 .66rem/1 var(--mono); color: var(--red); margin-right: .35rem; letter-spacing: .08em; }
.mast__nav a:hover { background: var(--lamp); }

/* ══ FRONT PAGE ══════════════════════════════════════════════════════ */
.front { padding: clamp(26px, 4vw, 44px) 0 clamp(40px, 5vw, 64px); }

.front__head {
  margin: .9rem 0 0;
  font: 900 clamp(2.6rem, .9rem + 6.4vw, 6.6rem)/.93 var(--display);
  font-variation-settings: "opsz" 12;
  letter-spacing: -.025em;
  max-width: 16ch;
  text-wrap: balance;
}

.front__grid {
  margin-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 22px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 7.4fr) minmax(0, 2.9fr);
  gap: 0;
}
.front__grid > * { padding: 0 22px; }
.front__grid > *:first-child { padding-left: 0; }
.front__grid > *:last-child { padding-right: 0; }
.front__grid > * + * { border-left: 1px solid var(--hair); }

.front__stand {
  font: 700 1.5rem/1.2 var(--display);
  font-variation-settings: "opsz" 12;
  padding-bottom: .8rem; margin-bottom: .9rem;
  border-bottom: 1px solid var(--hair);
}
.body { font-size: 1.02rem; line-height: 1.6; hyphens: auto; }
.body + .body { margin-top: .7rem; }
.body--when { font-style: italic; }

.jump {
  display: inline-block;
  margin-top: 1.4rem;
  font: 600 .72rem/1.2 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: .55rem 0;
}
.jump:hover { background: var(--lamp); }

/* The front-page picture: the drawing straight on the newsprint, no frame,
   with a caption under a hairline. */
.front__pic img { width: 100%; margin: 0 auto; }
.front__pic figcaption {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  font: italic 400 .86rem/1.45 var(--text);
  color: var(--ink-2);
}
.front__pic figcaption b { font-style: normal; font-weight: 700; color: var(--ink); }

.glance { margin-top: .6rem; }
.glance div {
  display: flex; justify-content: space-between; gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px dotted var(--ink-2);
  font-size: .92rem;
}
.glance dt { font-weight: 700; }
.glance dd { font-family: var(--mono); font-size: .8rem; white-space: nowrap; align-self: center; }
.glance__off dt, .glance__off dd { color: var(--ink-2); font-weight: 400; }

.docket--rule { margin-top: 1.7rem; padding-top: .9rem; border-top: 3px double var(--ink); }
.briefs { margin-top: .5rem; }
.briefs li {
  position: relative;
  padding: .45rem 0 .45rem 1rem;
  font-size: .92rem; line-height: 1.45;
  border-bottom: 1px solid var(--hair);
}
.briefs li::before { content: "■"; position: absolute; left: 0; top: .55rem; font-size: .5rem; color: var(--red); }
.briefs a { font: 600 .7rem var(--mono); color: var(--red); }

/* ══ TICKER (Alek's scrolling band of dish names) ════════════════════ */
.ticker {
  background: var(--ink);
  color: var(--news);
  overflow: hidden;
  border-top: 4px double var(--news);
  outline: 1px solid var(--ink);
  padding: 13px 0 12px;
  position: relative; z-index: 1;
}
.ticker__track {
  display: flex; width: max-content;
  animation: tick 60s linear infinite;
}
.ticker span {
  font: italic 600 1.35rem/1 var(--display);
  font-variation-settings: "opsz" 12;
  white-space: nowrap;
  padding: 0 1.1rem;
  display: inline-flex; align-items: center; gap: 2.2rem;
}
.ticker span::after { content: ""; width: 7px; height: 7px; background: var(--lamp); transform: rotate(45deg); margin-left: 1.1rem; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ══ TORN EDGES ══════════════════════════════════════════════════════ */
.sheet, .story { position: relative; }
.tear {
  position: absolute; inset: 0 0 auto 0; height: 28px;
  background: var(--ink);
  -webkit-mask-image: var(--tear); mask-image: var(--tear);
  -webkit-mask-size: 1200px 28px; mask-size: 1200px 28px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  pointer-events: none;
}
.tear--sheet { background: var(--sheet); }

/* ══ P.2 LISTINGS ════════════════════════════════════════════════════ */
.menu { background: var(--sheet); padding: 58px 0 clamp(56px, 6vw, 84px); }

.listings {
  margin-top: 26px;
  column-count: 4;
  column-gap: 30px;
  column-rule: 1px solid var(--hair);
}
.cat { break-inside: avoid; margin-bottom: 26px; }
.cat h3 {
  font: 700 1.02rem/1.2 var(--text);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: .12em;
  text-align: center;
  padding: 6px 0 5px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: 6px;
}
.cat h3::first-letter { text-transform: uppercase; }
.cat li {
  display: flex; align-items: baseline; gap: .4rem;
  padding: 4px 0;
  font-size: .95rem; line-height: 1.35;
}
.cat li > span { display: block; min-width: 0; }
/* dotted leader between dish and price */
.cat li::after {
  content: ""; order: 1; flex: 1 1 auto;
  border-bottom: 1px dotted var(--ink-2);
  transform: translateY(-4px);
  min-width: 12px;
}
.cat li b { order: 2; font: 600 .86rem/1 var(--mono); white-space: nowrap; }
.cat i { font-style: italic; color: var(--ink-2); font-size: .88em; }
.cat small { display: block; font-size: .82rem; line-height: 1.4; color: var(--ink-2); font-style: italic; margin-top: 2px; }

/* Specials as a boxed display ad in the classifieds. */
.cat--ad {
  border: 2px solid var(--ink);
  outline: 1px solid var(--ink); outline-offset: 3px;
  margin: 4px 4px 30px;
  padding: 10px 12px 8px;
  background: var(--news);
}
.cat--ad h3 {
  border: 0; padding: 0 0 6px;
  font: 900 1.6rem/1 var(--display);
  font-variation-settings: "opsz" 12;
  font-variant: normal; text-transform: none; letter-spacing: -.01em;
  border-bottom: 3px double var(--ink);
  margin-bottom: 8px;
}
.cat--ad li { align-items: flex-start; flex-wrap: nowrap; padding: 6px 0; }
.cat--ad li + li { border-top: 1px solid var(--hair); }
.cat--ad li::after { display: none; }
.cat--ad li > span { flex: 1; font-weight: 700; }
.cat--ad small { font-weight: 400; }
.cat--ad li b { font-size: .95rem; padding-top: 2px; }

/* ══ P.3 FEATURE ═════════════════════════════════════════════════════ */
.story { padding: 58px 0 clamp(56px, 6vw, 84px); }

.article {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  font-size: 1.08rem; line-height: 1.65;
}
.article > * { padding: 0 26px; }
.article > *:first-child { padding-left: 0; }
.article > *:last-child { padding-right: 0; }
.article > * + * { border-left: 1px solid var(--hair); }
.article__p { margin-bottom: 1.2rem; hyphens: manual; }
.dropcap::first-letter {
  float: left;
  font: 900 5.4rem/.8 var(--display);
  font-variation-settings: "opsz" 12;
  padding: .3rem .55rem 0 0;
  color: var(--ink);
}

.pull {
  align-self: start;
  margin: 0;
  text-align: center;
}
.pull p {
  padding: 1.4rem 0 1.2rem;
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--ink);
  font: italic 700 clamp(2.4rem, 1.4rem + 2.6vw, 3.6rem)/1 var(--display);
  font-variation-settings: "opsz" 12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.pull p::before { content: "\201C"; color: var(--red); margin-right: .04em; }
.pull p::after { content: "\201D"; color: var(--red); margin-left: .04em; }
.pull footer { margin-top: .7rem; color: var(--ink-2); }

.note {
  break-inside: avoid;
  border: 1px solid var(--ink);
  padding: 14px 16px 16px;
  background: linear-gradient(var(--lamp), var(--lamp)) top / 100% 6px no-repeat;
  padding-top: 20px;
  font-size: 1rem; line-height: 1.55;
}
.note .docket { margin-bottom: .45rem; color: var(--red); }

/* ══ P.4 NOTICES ═════════════════════════════════════════════════════ */
.visit { padding: 10px 0 clamp(56px, 6vw, 84px); border-top: 1px solid var(--hair); }
.notices {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
}
.notice { padding: 0 26px; }
.notice:first-child { padding-left: 0; }
.notice:last-child { padding-right: 0; }
.notice + .notice { border-left: 1px solid var(--hair); }
.notice h3 {
  font: 700 .98rem/1.2 var(--text);
  font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 6px 0 5px; margin-bottom: 12px;
}
.notice h3::first-letter { text-transform: uppercase; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 8px; border-bottom: 1px dotted var(--ink-2); text-align: left; }
.hours th { font-weight: 700; }
.hours td { font: 500 .86rem var(--mono); text-align: right; white-space: nowrap; }
.hours .closed th, .hours .closed td { color: var(--ink-2); font-weight: 400; }
.hours tr.today th, .hours tr.today td { background: var(--lamp); }
.hours tr.today th::after {
  content: "Today"; margin-left: .6rem;
  font: 600 .6rem var(--mono); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 2px 4px; vertical-align: 2px;
}
.small { margin-top: 12px; font-size: .88rem; font-style: italic; color: var(--ink-2); }
address { font-style: normal; font-size: 1.08rem; line-height: 1.6; margin-bottom: 14px; }
.notice p + p { margin-top: 10px; }
.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.link:hover { background: var(--lamp); }
.social { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ══ FOOTER ══════════════════════════════════════════════════════════ */
.foot {
  background: var(--board); color: var(--cream);
  border-top: 4px double var(--board);
  padding: 30px 0 34px;
}
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.foot__logo { width: min(380px, 100%); }
.foot p { font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* ══ RESPONSIVE ══════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .listings { column-count: 3; }
}
@media (max-width: 960px) {
  .mast__dateline span:last-child { flex-basis: 100%; text-align: center; }
  .mast__dateline span:last-child::before { content: none; }
  .front__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .front__pic { grid-column: 1 / -1; order: -1; padding: 0 !important; border: 0 !important; margin-bottom: 24px; }
  .front__lead { padding-left: 0 !important; border-left: 0 !important; }
  .article { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 28px; }
  .pull { grid-column: 1 / -1; padding: 0 !important; border-left: 0 !important; }
  .article__col:first-child { padding-left: 0; }
  .notices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 30px; }
  .notice:first-child { grid-column: 1 / -1; padding-right: 0; }
  .notice:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .mast__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .mast__plate { grid-column: 1 / -1; order: -1; }
  .ear { margin: 4px 4px 2px; padding: 8px; }
  .ear__big { font-size: 1.1rem; }
  .sechead { grid-template-columns: minmax(0, 1fr); }
  .sechead__intro { padding-left: 0; border-left: 0; }
  .listings { column-count: 2; column-gap: 22px; }
  .mast__nav a { padding: 9px 11px; font-size: .74rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .front__grid { grid-template-columns: minmax(0, 1fr); }
  .front__grid > * { padding: 0 !important; border-left: 0 !important; }
  .front__side { margin-top: 26px; padding-top: 18px !important; border-top: 3px double var(--ink); }
  .listings { column-count: 1; }
  .article { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pull { margin: .6rem 0 0; }
  .article > * { padding: 0 !important; border-left: 0 !important; }
  .notices { grid-template-columns: minmax(0, 1fr); }
  .notice { padding: 0 !important; border-left: 0 !important; }
  .mast__folio { font-size: .6rem; }
  .mast__dateline { font-size: .62rem; gap: 0 .6rem; }
  .mast__dateline span + span::before { margin-right: .6rem; }
  .mast__nav a span { display: none; }
  .ticker span { font-size: 1.1rem; }
  .pagehead span:nth-child(2) { display: none; }
}

/* ── Simple front page (2026-10-07): headline, the village panorama, one line ── */
.front .kicker, .front__head { text-align: center; }
.front .kicker { justify-content: center; }
.front__head { max-width: 15ch; margin-left: auto; margin-right: auto; }
.front__pic { margin: clamp(20px, 3vw, 36px) auto 0; padding: 0; border: 0; }
.front__pic img { width: 100%; }
.front__line {
  margin: clamp(14px, 2vw, 22px) auto 0;
  padding-top: 14px;
  max-width: 34rem;
  border-top: 3px double var(--ink);
  text-align: center;
  font: italic 400 clamp(1.05rem, 1.6vw, 1.25rem)/1.5 var(--text);
  color: var(--ink);
}
/* On a phone the whole panorama is a thin strip: crop in on the shop and
   its nearest cottages, edge to edge. The shop sits at 32–67% across. */
@media (max-width: 560px) {
  .front__pic { margin-left: -16px; margin-right: -16px; }
  .front__pic img { aspect-ratio: 1.3; object-fit: cover; object-position: 50% 100%; }
}

/* ── Simplified (2026-10-07): the extras are gone from the markup; these
   overrides tidy what they left behind. ── */
.mast__row { grid-template-columns: minmax(0, 1fr); }
.mast__nav { margin-top: 14px; border-top: 3px double var(--ink); }
.visit { padding-top: 58px; }
@media (min-width: 761px) { .article { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* No italics anywhere on the page (Weslie, 2026-10-07). */
em, i, .sechead__intro, .body--when, .cat i, .cat small, .small, .front__line,
.front__pic figcaption { font-style: normal; }

/* No black bar behind the logo (Weslie, 2026-10-07): the wordmark in ink,
   straight on the paper. (Superseded 2026-10-08: the header is the shop sign below.) */
.mast__plate { background: none; border: 0; outline: 0; padding: clamp(18px, 3vw, 30px) 0 0; box-shadow: none; }
.mast__plate img { max-width: min(560px, 100%); }

/* Headline font is Newsreader (Weslie picked it from four, 2026-10-07,
   replacing Bodoni Moda). It only has 500 to 700, so the old 800/900
   weights are pulled back to 600, and the opsz pin that Bodoni needed is
   cleared so Newsreader picks its own optical size. */
h2, .sechead h2, .front__head, .cat--ad h3, .dropcap::first-letter {
  font-weight: 600; font-variation-settings: normal; letter-spacing: -.01em;
}
.front__head { font-size: clamp(2.4rem, 1rem + 4.2vw, 4.4rem); line-height: 1.05; }

/* Illustrations (Weslie's watercolours, 2026-10-07). Decorative, so alt="".
   One per section head, sitting above the intro on the right; salt and
   vinegar closes the last menu column. No frames: they are cut-outs. */
.sechead__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.sechead__art { display: block; height: auto; margin-left: 1.4rem; }
.sechead__art--wide { width: min(100%, 380px); }
.sechead__art--tv   { width: min(100%, 240px); }
.sechead__art--sign { width: min(100%, 280px); }
@media (max-width: 760px) {
  .sechead__side { align-items: center; }
  .sechead__art { margin: .4rem auto 0; }
  .sechead__art--wide { width: min(100%, 320px); }
  .sechead__art--tv { width: min(70%, 220px); }
  .sechead__art--sign { width: min(80%, 240px); }
  .listings__art { width: 150px; }
}

/* ── Why Cardale? + Where and when, reworked (2026-10-07) ──
   The TV and the OPEN sign moved out of the section heads into the
   content; no drop cap; the vegetarian note is a plain line; today's
   hours row is marked with a small label instead of a yellow bar; a
   Google map sits under the address. */
.story__body {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem clamp(32px, 5vw, 72px); align-items: center;
}
.story__text { font-size: 1.12rem; line-height: 1.7; max-width: 38rem; }
.story__text p + p { margin-top: 1.1rem; }
.story__veg { padding-top: 1.1rem; border-top: 1px solid var(--hair); font-size: 1rem; color: var(--ink-2); }
.story__veg .docket { display: block; margin-bottom: .3rem; color: var(--red); }
.story__art { display: block; width: min(100%, 320px); height: auto; margin: 0 auto; }

.visit__grid {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.5rem clamp(32px, 5vw, 64px);
}
.visit__info .notice + .notice { margin-top: 2rem; }
.visit .notice { padding: 0 !important; border-left: 0 !important; }
.visit__sign { display: block; width: min(60%, 220px); height: auto; margin: 0 0 1.2rem; }
.visit__where address { font-style: normal; margin-bottom: 1rem; }

.hours td { font: 400 1rem var(--text); font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { background: none; color: var(--ink); font-weight: 700; }
.hours tr.today th::after {
  content: "Today"; margin-left: .6rem; padding: 0; border: 0;
  font: 600 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); vertical-align: middle;
}

@media (max-width: 760px) {
  .story__body, .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .story__art { width: min(70%, 260px); }
  .visit__sign { margin-left: auto; margin-right: auto; }
}

/* ── Where and when, organised (2026-10-07, second pass) ──
   Head: headline left, the OPEN sign right. Then three equal columns
   (hours / address / contact) under one rule, then our own drawn map
   across the full width (images/map.svg from tools/build-map.py, in the
   illustration's palette), linking out to Google Maps. Times in 24-hour. */
.visit .sechead { align-items: end; }
.visit__sign { display: block; width: min(100%, 210px); height: auto; justify-self: end; margin: 0 0 -.4rem; }
.visit__cols {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.visit__cols .notice { padding: 0 26px !important; }
.visit__cols .notice:first-child { padding-left: 0 !important; }
.visit__cols .notice:last-child { padding-right: 0 !important; }
.visit__cols .notice + .notice { border-left: 1px solid var(--hair) !important; }

.map {
  position: relative; display: block; overflow: hidden;
  margin: 2.6rem 0 0; aspect-ratio: 21 / 8;
  border: 1px solid var(--ink); background: #F3EEE3;
}
.map img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.map__cta {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--news); border: 1px solid var(--ink); padding: 7px 12px;
  font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.map:hover .map__cta { background: var(--ink); color: var(--news); }

/* Menu category drawings, one above each category head. */
.cat__art { display: block; width: 92px; height: auto; margin: 0 auto 4px; }
.cat--ad .cat__art { width: 104px; margin-top: 2px; }

@media (max-width: 760px) {
  .visit .sechead { align-items: start; }
  .visit__sign { justify-self: start; width: 170px; margin: .4rem 0 0; }
  .visit__cols { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .visit__cols .notice { padding: 0 !important; border-left: 0 !important; }
  .map { aspect-ratio: 1 / 1; }
}

/* Menu ends at the last price row (Weslie, 2026-10-07: salt and vinegar
   removed, "crop the section till here"). */
.menu { padding-bottom: clamp(28px, 3vw, 40px); }
.listings .cat:last-child { margin-bottom: 0; }

/* The TV, 35% larger (Weslie, 2026-10-07): 320 -> 432px, phones 260 -> 351px. */
.story__art { width: min(100%, 432px); }
@media (min-width: 761px) { .story__body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (max-width: 760px) { .story__art { width: min(94%, 351px); } }

/* ── Menu, organised (Weslie, 2026-10-07: "organise this to be better") ──
   Specials is a full-width feature box across the top, its three deals side
   by side. The other eight categories sit on a grid whose rows line up:
     Fish | Chips | Pukka pies
     From the fryer (two columns wide, its 12 items in two lists) | Burgers
     With chips | Tubs | Drinks
   Every drawing gets the same box, so the headings align across a row. */
.specials {
  margin: 30px 0 0; padding: 22px 26px 18px;
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 30px; align-items: center;
}
.specials__head { text-align: center; }
.specials__head .cat__art { width: 150px; margin: 0 auto 4px; }
.specials__head h3 { margin: 0; border: 0; padding: 0; }
.specials ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.specials li { padding: 4px 0; }
.specials li + li { border-top: 0; border-left: 1px solid var(--hair); padding-left: 28px; margin-left: -14px; }

.listings {
  column-count: initial; columns: auto; column-rule: none;
  margin-top: 34px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 40px; align-items: start;
}
.listings .cat { margin: 0; break-inside: auto; }
.cat__art { width: auto; height: 78px; max-width: 120px; object-fit: contain; margin: 0 auto 8px; }
.cat--wide { grid-column: span 2; }
.cat--wide ul { columns: 2; column-gap: 40px; }
.cat--wide li { break-inside: avoid; }

@media (max-width: 960px) {
  .specials { grid-template-columns: minmax(0, 1fr); }
  .specials__head { margin-bottom: 10px; }
  .specials ul { grid-template-columns: minmax(0, 1fr); }
  .specials li + li { border-left: 0; border-top: 1px solid var(--hair); padding-left: 0; margin-left: 0; }
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .listings { grid-template-columns: minmax(0, 1fr); }
  .cat--wide { grid-column: auto; }
  .cat--wide ul { columns: 1; }
}
/* Two-column tablets: Burgers moves up beside Pukka pies so no row has a hole. */
@media (min-width: 561px) and (max-width: 960px) {
  .listings > .cat { order: 2; }
  .listings > .cat:nth-child(-n+3), .listings > [aria-labelledby="cat-burgers"] { order: 1; }
}

/* Map inside the Find us column (Weslie, 2026-10-07: "put the map in the
   find us section, make it smaller"). The square drawing, cropped to 4:3,
   between the address and the directions link. */
.visit__cols .map { margin: 2px 0 12px; aspect-ratio: 4 / 3; border: 1px solid var(--ink); }
.visit__cols .map img { object-position: 50% 50%; }
@media (max-width: 760px) { .visit__cols .map { aspect-ratio: 1 / 1; } }
@media (max-width: 760px) {
  /* Same specificity as the desktop column divider, so it actually goes. */
  .visit__cols .notice + .notice { border-left: 0 !important; padding-left: 0 !important; }
}

/* Section labels without the leading red dash; the line under the hero
   drawing on one line where it fits (Weslie, 2026-10-07). */
.kicker::before { content: none; display: none; }
.front__line { max-width: none; }
@media (min-width: 700px) { .front__line { white-space: nowrap; width: max-content; padding-left: 1.5rem; padding-right: 1.5rem; } }

/* Menu drawings 20% larger (Weslie, 2026-10-07: "a bit small"). */
.cat__art { height: 94px; max-width: 144px; }
.specials__head .cat__art { width: 180px; height: auto; max-width: none; }
.specials { grid-template-columns: 200px minmax(0, 1fr); }
@media (max-width: 960px) { .specials { grid-template-columns: minmax(0, 1fr); } }

/* ── Section dividers (Weslie's drawings, 2026-10-07) ──
   The cod on newspaper opens the menu, the folded newspaper closes it. The drawings carry their own transparent
   margin, so the negative margins pull them in to a sensible height. */
.divider { display: block; text-align: center; padding: 0 var(--gutter); line-height: 0; }
.divider img { display: inline-block; width: min(100%, 720px); height: auto; margin: -2.2% 0; }
/* No gradient (Weslie, 2026-10-07: tried a fade, twice, and it was rejected).
   Hard colour change as before; both drawings sit on the menu's sheet. */
.divider--to-menu, .divider--from-menu { background: var(--sheet); }
.divider--to-menu { padding-top: clamp(14px, 2vw, 24px); }
.divider--from-menu { padding-bottom: clamp(14px, 2vw, 24px); }
.front { padding-bottom: clamp(12px, 2vw, 24px); }
.menu { padding-top: clamp(8px, 1.5vw, 18px); }
.story { padding-top: clamp(8px, 1.5vw, 18px); }
.menu { padding-bottom: clamp(12px, 1.5vw, 20px); }
/* With hard edges back, give the paper either side of the menu its room. */
.front { padding-bottom: clamp(32px, 4vw, 52px); }
.story { padding-top: clamp(20px, 3vw, 36px); }
.menu .sechead { padding-top: .6rem; }

/* Longer divider lines (Weslie's re-export, 2026-10-07: 4344x724, same
   drawings, lines twice as long). Shown across the content width; the
   drawing in the middle ends up about the size it was before. */
.divider img { width: min(100%, 1120px); margin: -1.2% 0; }
/* Phones: crop in on the middle so the drawing doesn't shrink to a speck. */
@media (max-width: 560px) { .divider img { width: 100%; aspect-ratio: 2.6; object-fit: cover; object-position: 50% 50%; margin: -3% 0; } }

/* ── Where and when, two columns on the menu's colour (Weslie, 2026-10-07) ──
   Left: opening times with contact under it. Right: Find us with a bigger
   map. Visit sits on --sheet so the page alternates paper / sheet / paper /
   sheet, with hard edges (no fades). */
.visit { background: var(--sheet); border-top: 0; }
.visit__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.visit__left > .notice { padding: 0 !important; border: 0 !important; }
.visit__contact { margin-top: 2.2rem; }
.visit__cols > .notice + .notice,
.visit__cols > .visit__left + .notice { padding-left: 40px !important; border-left: 1px solid var(--hair) !important; }
.visit__cols > .visit__left { padding-right: 40px; }
.visit__cols .map { aspect-ratio: 16 / 10; }
.hours abbr { text-decoration: none; }
@media (max-width: 760px) {
  .visit__cols { grid-template-columns: minmax(0, 1fr); }
  .visit__cols > .visit__left { padding-right: 0; }
  .visit__cols > .visit__left + .notice { padding-left: 0 !important; border-left: 0 !important; }
  .visit__cols .map { aspect-ratio: 1 / 1; }
}
.visit__cols .visit__left .notice + .notice { border-left: 0 !important; padding-left: 0 !important; }

/* Around the shop: the walk to the Tramway Museum and Crich Stand, drawn
   in the map palette (tools/build-around-map.py). */
.around { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 620px; padding: 0; }
.around__head { text-align: center; padding: 10px 0; margin-bottom: 14px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
  font: 700 1.02rem/1.2 var(--text); font-variant: small-caps; letter-spacing: .12em; text-transform: lowercase; }
.around__head::first-letter { text-transform: uppercase; }
.around img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }
.around figcaption { margin-top: 8px; font-size: .82rem; color: var(--ink-2); text-align: center; }

/* ── More of the logo yellow (Weslie, 2026-10-07): fills only, ink on top.
   --cream is ~1.2:1 on paper so it never carries text; ink on cream is
   ~13:1, ink-2 on cream ~7:1. ── */
.front__line {
  background: var(--cream); border-top: 0;
  padding: 12px 1.6rem; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(22, 23, 27, .18);
}
.specials { background: var(--cream); }
.specials li + li { border-color: rgba(22, 23, 27, .22); }
.specials small, .specials .cat small { color: var(--ink-2); }

/* The TV is gone (Weslie, 2026-10-07): the Around the shop map takes its
   place beside the story text. */
.story__body .around { margin: 0; max-width: none; width: 100%; }
@media (min-width: 761px) { .story__body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }

/* ── Hero fits the screen (Weslie, 2026-10-07: "on 100% need to make it
   fit"). On desktop the masthead, headline, drawing and strapline all sit
   inside one screen height: the headline scales with the viewport height
   and the drawing takes whatever height is left. ── */
@media (min-width: 761px) {
  .mast__plate { padding-top: 14px; }
  .mast__plate img { max-width: min(440px, 100%); }
  .front { padding-top: clamp(14px, 2.2vh, 26px); padding-bottom: clamp(20px, 3vh, 40px); }
  .front__head { font-size: clamp(2rem, min(1rem + 4.2vw, 7vh), 4.4rem); line-height: 1.02; margin-top: .5rem; }
  .front__pic { margin-top: clamp(10px, 2vh, 28px); }
  .front__pic img { width: auto; max-width: 100%; max-height: calc(100svh - var(--hero-chrome, 330px)); margin: 0 auto; }
  .front__line { margin-top: clamp(8px, 1.6vh, 18px); }
}

/* Around the shop: smaller, so it ends level with the vegetarian note. */
@media (min-width: 761px) {
  .story__body .around { max-width: 420px; justify-self: end; }
  .story__body { align-items: end; }
}
@media (min-width: 761px) {
  .front__pic img { max-height: calc(100svh - 372px); }
  .story__body { align-items: start; }
  .story__body .around { max-width: 400px; }
  .story__body .around img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 44%; }
}

/* ── Header as the shop sign (Weslie, 2026-10-08) ──
   The cream logo on the sign's slate board with a thin light inset border,
   colour sampled from the sign in the watercolour hero. Softer than the
   near-black bar removed on 2026-10-07; keep it slate, not black. */
.mast__plate {
  background: var(--sign); border-radius: 2px;
  padding: clamp(12px, 1.6vw, 18px) clamp(18px, 3vw, 32px);
  box-shadow: inset 0 0 0 4px var(--sign), inset 0 0 0 5.5px rgba(245, 220, 165, .55);
}
.mast__plate img { max-width: min(400px, 100%); }
@media (min-width: 761px) { .mast__plate { margin-top: 14px; padding-top: 16px; } }
@media (min-width: 761px) { .front__pic img { max-height: calc(100svh - 404px); } }  /* the sign header is ~30px taller */
