/* Haaris Public School: "Today's news: your child" (school gazette).
   Tokens: newsprint ground, ink, headline red, column-rule grey (rules only), highlighter yellow. */
/* metric-matched fallbacks so the swap to the web fonts barely moves the text */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 93%; ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Old Standard Fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 112%; ascent-override: 86%; descent-override: 26%; line-gap-override: 0%; }
:root {
  --paper: #F5F1E6;
  --paper-2: #EDE7D6;
  --sheet: #FBF9F3;
  --ink: #1A1A1A;
  --ink-2: #4A463D;
  --red: #B3261E;
  --red-dk: #8E1D17;
  --rule: #8A8578;
  --hl: #F4D35E;
  --display: "Old Standard TT", "Old Standard Fallback", serif;
  --body: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.375rem;
  --step-2: 1.8rem;
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.4vw, 5rem);
  --gap: clamp(3rem, 2rem + 4vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--hl); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--red-dk); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.small { font-size: var(--step--1); }
.muted { color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
[lang="hi"] { font-family: var(--body); }

/* ---------- verified facts and pending items ---------- */
mark.v {
  background: linear-gradient(var(--hl), var(--hl)) 0 60% / 100% 78% no-repeat;
  color: inherit;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* the one authored motion: the reader's highlighter runs across the lead fact once on load */
.front .deck mark.v { animation: swipe 1.1s cubic-bezier(.16, 1, .3, 1) .35s both; }
@keyframes swipe { from { background-size: 0 78%; } to { background-size: 100% 78%; } }
.pending { border-bottom: 2px dashed var(--rule); color: var(--ink-2); font-style: italic; }
.stamp {
  display: inline-block;
  font: 400 italic .95rem/1 var(--display);
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 3px;
  padding: .3rem .55rem .25rem;
  transform: rotate(-4deg);
  background: rgba(251, 249, 243, .7);
}
.tbc {
  position: relative;
  border: 2px dashed var(--rule);
  padding: 1.25rem 1.25rem 1rem;
  margin: 0 0 1.5rem;
  background: var(--sheet);
}
.tbc .stamp { position: absolute; top: -.85rem; right: 1rem; }
.tbc-title { font-size: var(--step-1); margin-bottom: .35em; }
.tbc p:last-child { margin-bottom: 0; }

/* ---------- masthead ---------- */
.mast { border-bottom: 1px solid var(--ink); }
.mast-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 .6rem;
}
.ear {
  border: 1px solid var(--ink);
  padding: .5rem .75rem;
  width: 15.5rem;
  font-size: var(--step--1);
  line-height: 1.3;
}
.ear p { margin: 0; }
.ear-r { justify-self: end; text-align: right; }
.ear-k { font-family: var(--display); font-style: italic; color: var(--red); }
.ear-v { font-weight: 600; }
.ear-v a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); }
.brand-crest { width: 64px; height: 64px; }
.brand-name {
  font: 700 clamp(2.2rem, 1rem + 3.2vw, 3.9rem)/1 var(--display);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.mast-line {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 3px double var(--ink);
  margin: 0; padding: .35rem 0 .45rem;
  font-size: var(--step--1); font-style: italic; color: var(--ink-2);
}
.sections-btn { display: none; }
@media (min-width: 992px) { .mast-line-r { display: none; } }
.bar { background: var(--red); }
.bar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.bar-list a {
  display: block;
  padding: .7rem 1.1rem;
  color: #fff;
  font: 400 1.05rem/1 var(--display);
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, .35);
}
.bar-list li:first-child a { border-left: 1px solid rgba(255, 255, 255, .35); }
.bar-list a:hover { background: var(--red-dk); color: #fff; }
.bar-list a[aria-current="page"] { background: var(--ink); color: var(--hl); }
.bar-list a:focus-visible { outline-color: var(--hl); outline-offset: -4px; }

/* phone sheet: a folded newspaper that opens along its crease */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(26, 26, 26, .55); display: flex; align-items: flex-start; justify-content: center; padding: .75rem; }
.sheet[hidden] { display: none; }
.sheet-paper {
  width: min(100%, 26rem);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 40px rgba(26, 26, 26, .35);
  padding: 1rem 1.25rem 1.25rem;
  background-image: linear-gradient(90deg, transparent calc(50% - 1px), rgba(138, 133, 120, .45) 50%, transparent calc(50% + 1px));
  transform-origin: 50% 0;
  animation: unfold .38s cubic-bezier(.16, 1, .3, 1);
}
@keyframes unfold { from { transform: perspective(900px) rotateX(-70deg); opacity: .2; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px double var(--ink); padding-bottom: .5rem; margin-bottom: .5rem; }
.sheet-title { font: 700 1.6rem/1 var(--display); margin: 0; }
.sheet-close { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .75rem; background: none; border: 1px solid var(--ink); font: 400 1rem var(--body); color: var(--ink); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.sheet-list a { display: block; padding: .7rem 0; font: 400 1.5rem/1.1 var(--display); text-decoration: none; border-bottom: 1px solid var(--rule); background: var(--paper); }
.sheet-list a[aria-current="page"] { color: var(--red); font-style: italic; }
.sheet-foot { display: grid; gap: .6rem; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 48px; padding: .65rem 1.1rem;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none; border: 2px solid var(--ink); border-radius: 2px;
  cursor: pointer; transition: background-color .18s ease, color .18s ease;
}
.btn .ic { flex: none; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--hl); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--hl); color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; min-height: 44px; }

/* ---------- front page ---------- */
.front { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) 0 var(--gap); border-bottom: 1px solid var(--ink); }
.headline { font-size: var(--step-4); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .35em; max-width: 16ch; }
.deck { font-size: var(--step-1); line-height: 1.45; max-width: 40em; color: var(--ink); }
.hi { font-size: var(--step-1); color: var(--red); margin-bottom: 0; }
.photo { margin: 0; }
.halftone { display: block; position: relative; overflow: hidden; border: 1px solid var(--ink); background: var(--paper-2); }
.halftone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(26, 26, 26, .16) 1px, transparent 1.3px);
  background-size: 4px 4px;
  mix-blend-mode: multiply; opacity: .55;
}
.halftone img { width: 100%; filter: sepia(.12) saturate(.92) contrast(1.02); }
figcaption { font-size: var(--step--1); line-height: 1.4; padding-top: .5rem; border-bottom: 1px solid var(--rule); padding-bottom: .5rem; }
.cap { font-weight: 600; }
.credit { font-style: italic; color: var(--ink-2); }
.lead-photo .halftone img { aspect-ratio: 16 / 9.4; object-fit: cover; }

.stop { border-left: 1px solid var(--rule); }
.stop-box { border-top: 6px solid var(--ink); padding-top: .75rem; }
.stop-h { font-size: var(--step-2); font-style: italic; font-weight: 400; color: var(--red); border-bottom: 1px solid var(--ink); padding-bottom: .4rem; }
.rating { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; line-height: 1.3; }
.rating-num { font: 700 3.6rem/1 var(--display); }
.pull { margin: 0 0 1.25rem; padding: 0; }
.pull p { font: 400 italic var(--step-1)/1.35 var(--display); margin-bottom: .4rem; }
.pull footer { font-size: var(--step--1); color: var(--ink-2); }
.pull-sm p { font-size: 1.2rem; }
.facts { list-style: none; margin: 0 0 .75rem; padding: 0; border-top: 1px solid var(--ink); }
.facts li { display: flex; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.facts .k { flex: 0 0 5.2rem; font-family: var(--display); font-style: italic; color: var(--ink-2); }
.how-to-read { margin-top: 1.75rem; padding: 1rem; background: var(--sheet); border: 1px solid var(--ink); font-size: var(--step--1); }
.htr-h { font-size: 1.15rem; }
.how-to-read p:last-child { margin: 0; }

/* section flags: a section name set on an inked tab */
.flag {
  display: inline-block;
  font: 400 italic var(--step-3)/1.1 var(--display);
  letter-spacing: -.01em;
  border-bottom: 4px solid var(--red);
  padding-bottom: .15em;
  margin-bottom: .45em;
}
.sec-head { border-top: 6px solid var(--ink); padding-top: 1.1rem; margin-bottom: 1.75rem; display: grid; gap: .25rem 2rem; }
@media (min-width: 992px) { .sec-head { grid-template-columns: auto 1fr; align-items: end; } .sec-head .sec-deck { margin-bottom: 1.1em; } }
.sec-deck { max-width: 42em; color: var(--ink-2); }
.more-line { margin: 1.25rem 0 0; }

/* the columns */
.columns-sec, .notices, .letters-sec, .desk, .editorial, .voices, .listings, .approach, .process, .pictures, .expect, .contact-sec, .prose { padding: var(--gap) 0 0; }
.desk, .expect, .contact-sec + .desk { padding-bottom: var(--gap); }
.cols { position: relative; }
@media (min-width: 768px) {
  .col-item + .col-item { border-left: 1px solid var(--rule); }
}
.col-h { font-size: var(--step-2); margin: 1rem 0 .5rem; }
.dropcap::first-letter {
  float: left; font: 700 3.6em/.8 var(--display); color: var(--red);
  padding: .08em .1em 0 0;
}

/* notice board: classifieds */
.classifieds {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.ad { position: relative; padding: 1.25rem 1.1rem 1rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--sheet); }
.ad h3 { font-size: 1.35rem; margin-top: .9rem; }
.ad p { font-size: var(--step--1); margin-bottom: .5rem; }
.ad .stamp { position: absolute; top: .6rem; right: .7rem; font-size: .8rem; }
.ad-c { font-weight: 600; }
.ad-wide { background: var(--hl); }
.ad-wide .stamp { background: rgba(255, 255, 255, .45); }
.ad-dark { background: var(--ink); color: var(--paper); }
.ad-dark h3 { color: var(--hl); margin-top: 0; }
@media (min-width: 992px) { .classifieds { grid-template-columns: 1.3fr 1fr 1fr; } .ad-wide { grid-row: span 2; } .ad-wide h3 { font-size: 2rem; } .ad-wide p { font-size: var(--step-0); } }

/* letters to the editor */
.letter { border-top: 1px solid var(--ink); }
.letter:last-of-type { border-bottom: 1px solid var(--ink); }
.letter summary {
  list-style: none; cursor: pointer;
  padding: .9rem 2.4rem .9rem 0; position: relative; min-height: 44px;
}
.letter summary::-webkit-details-marker { display: none; }
.letter summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.2rem;
  width: .7rem; height: .7rem; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform .2s ease;
}
.letter[open] summary::after { transform: rotate(-135deg); top: 1.5rem; }
.dear { display: block; font-family: var(--display); font-style: italic; color: var(--red); font-size: var(--step--1); }
.q { font: 700 1.2rem/1.3 var(--display); }
.reply { padding: 0 0 1rem; }
.sig { font-style: italic; color: var(--ink-2); font-size: var(--step--1); margin-bottom: .4rem; }
.ed { font-weight: 600; }
.reader { background: var(--sheet); border: 1px solid var(--ink); padding: 1.25rem; }
.reader-h { font-size: var(--step-2); font-style: italic; font-weight: 400; }

/* coupon form */
.coupon {
  position: relative;
  background: var(--sheet);
  border: 2px dashed var(--ink);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.coupon-cut { position: absolute; top: -.9rem; left: 1.25rem; background: var(--paper); padding: 0 .35rem; color: var(--ink); line-height: 0; }
.coupon-cut .ic { width: 22px; height: 22px; }
.coupon-title { font-size: var(--step-3); border-bottom: 3px double var(--ink); padding-bottom: .35rem; }
.coupon-intro { color: var(--ink-2); }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.opt { font-weight: 400; color: var(--ink-2); font-style: italic; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  font: 400 1.05rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1px solid var(--ink); border-bottom-width: 2px; border-radius: 0;
  padding: .55rem .7rem;
  caret-color: var(--red);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--hl); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF6F4; }
.hint { font-size: var(--step--1); color: var(--ink-2); margin: .3rem 0 0; }
.err { font-size: var(--step--1); color: var(--red); font-weight: 600; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.form-foot .small { margin: 0; color: var(--ink-2); }
.form-summary { border: 2px solid var(--red); padding: .75rem 1rem; margin-bottom: 1rem; color: var(--red); font-weight: 600; background: #FFF6F4; }
.form-result:empty { display: none; }
.form-result { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--ink); }
.form-result.ok { background: var(--hl); }
.form-result.bad { background: #FFF6F4; border-color: var(--red); }

.find { border-top: 6px solid var(--ink); padding-top: .9rem; }
.find-h { font-size: var(--step-2); }
.find-addr { font: 400 var(--step-1)/1.45 var(--display); }
.reach { list-style: none; margin: 1rem 0; padding: 0; border-top: 1px solid var(--ink); }
.reach a { display: flex; align-items: center; gap: .65rem; min-height: 52px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.reach a:hover { background: var(--hl); }
.reach-lg a { font-size: 1.15rem; }

/* ---------- inner pages ---------- */
.page-top { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 1.5rem; border-bottom: 1px solid var(--ink); }
.crumbs { font-size: var(--step--1); font-style: italic; color: var(--ink-2); }
.page-h { font-size: var(--step-4); max-width: 18ch; }
.ed-h { font-size: var(--step-3); border-bottom: 3px double var(--ink); padding-bottom: .4rem; margin-bottom: 1.5rem; }
.ed-main .tbc:first-of-type { padding: 2rem 1.5rem; }
.ed-main .tbc:first-of-type .tbc-title { font-size: var(--step-2); font-style: italic; font-weight: 400; }
.file { background: var(--sheet); border: 1px solid var(--ink); padding: 1.25rem; }
.file-h { font-size: var(--step-2); border-bottom: 1px solid var(--ink); padding-bottom: .4rem; }
.file-list { margin: 0 0 1rem; }
.file-list dt { font-family: var(--display); font-style: italic; color: var(--ink-2); font-size: var(--step--1); margin-top: .65rem; }
.file-list dd { margin: 0; padding-bottom: .5rem; border-bottom: 1px solid var(--rule); }
.voices { padding-bottom: 0; }

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.ages { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ages th, .ages td { text-align: left; padding: .7rem .6rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ages thead th { font: 400 italic var(--step--1) var(--display); color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.ages tbody th { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.approach .cols { margin-bottom: 2rem; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.step { counter-increment: s; position: relative; padding: 1rem 0 1rem 4.2rem; border-top: 1px solid var(--ink); }
.step::before { content: counter(s); position: absolute; left: 0; top: .7rem; font: 700 3rem/1 var(--display); color: var(--red); }
.step-h { font-size: var(--step-1); margin-bottom: .3rem; }
.step p { margin: 0; }
.docs { margin-top: 1.75rem; background: var(--hl); padding: 1.25rem; border: 1px solid var(--ink); }
.docs-h { font-size: var(--step-1); }
.docs-list { padding-left: 1.2rem; margin: 0 0 .75rem; }
.docs-list li { margin-bottom: .3rem; }
.docs .pending { color: var(--ink); border-bottom-color: var(--ink); }

.gallery { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .gallery { grid-template-columns: 2fr 1fr 1fr; } .g-0 { grid-row: span 2; } .g-3 { grid-column: 2 / span 2; } }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-btn img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.g-0 .g-btn img { aspect-ratio: auto; height: 100%; }
@media (min-width: 992px) { .g-0 .g-btn, .g-0 .halftone { height: calc(100% - 2.2rem); } .g-0 .g-btn img { height: 100%; } }
.g-btn:hover img { transform: scale(1.03); }
.g-cap { font-size: var(--step--1); font-weight: 600; margin: .4rem 0 0; }
.lightbox { border: 1px solid var(--ink); padding: 1rem; background: var(--paper); max-width: min(92vw, 56rem); width: 100%; }
.lightbox::backdrop { background: rgba(26, 26, 26, .78); }
.lightbox figure { margin: 0; }
.lb-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: var(--paper-2); }
.lb-cap { border: 0; }
.lb-nav { display: flex; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.lb-nav button { min-height: 44px; padding: 0 1rem; border: 1px solid var(--ink); background: var(--sheet); font: 600 1rem var(--body); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.lb-nav button:hover { background: var(--hl); }

.tbc-wide { padding: 2rem 1.5rem 1.25rem; }
.tbc-lead { max-width: 46em; }
.places { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.place { border-top: 1px solid var(--rule); padding: .8rem 0; }
.place h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.place p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }

.map-card { border: 1px solid var(--ink); background: var(--sheet); min-height: 22rem; position: relative; }
.map-card iframe { display: block; width: 100%; height: 26rem; border: 0; }
.map-fallback { padding: 1.5rem; }
.map-h { font-size: var(--step-2); }
.prose h2 { font-size: var(--step-2); margin-top: 1.5em; }
.prose { padding-bottom: var(--gap); }

/* ---------- footer ---------- */
.colophon { background: var(--ink); color: var(--paper); padding: 3rem 0 2rem; margin-top: 0; border-top: 6px double var(--paper); }
.colophon a { color: var(--paper); text-decoration-color: var(--hl); }
.colophon a:hover { color: var(--hl); }
.colophon :focus-visible { outline-color: var(--hl); }
.foot-logo { width: 220px; height: auto; margin-bottom: .6rem; }
.foot-note { font-size: var(--step--1); font-style: italic; color: #CFC9B8; }
.colophon address { font-style: normal; line-height: 1.5; }
.foot-h { font-size: 1.35rem; font-style: italic; font-weight: 400; color: var(--hl); }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list a { display: inline-block; padding: .35rem 0; min-height: 44px; line-height: 2; }
.imprint { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid #5A564C; font-size: var(--step--1); color: #CFC9B8; }
.colophon mark.v { color: var(--ink); }

.dock { display: none; }

/* ---------- phones and tablets ---------- */
@media (max-width: 991.98px) {
  .mast-row { grid-template-columns: 1fr auto; padding: .8rem 0 .5rem; }
  .ear { display: none; }
  .brand { gap: .6rem; }
  .brand-crest { width: 46px; height: 46px; }
  .brand-name { font-size: clamp(1.5rem, 1rem + 2.6vw, 2.2rem); white-space: normal; line-height: 1; max-width: 8.5em; }
  .sections-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    min-height: 44px; padding: 0 .8rem;
    background: var(--ink); color: var(--paper); border: 0; border-radius: 2px;
    font: 400 1.05rem var(--display); font-style: italic; cursor: pointer;
  }
  .bar { display: none; }
  .mast-line { border-bottom: 1px solid var(--ink); }
  .mast { border-bottom: 4px solid var(--red); }
  .stop { border-left: 0; }
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--ink); border-top: 3px solid var(--red);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 58px; color: var(--paper); text-decoration: none; font-size: .9rem; font-weight: 600; }
  .dock a + a { border-left: 1px solid #4A463D; }
  .dock a:focus-visible { outline-color: var(--hl); outline-offset: -4px; }
  body { padding-bottom: 62px; }
}
@media (max-width: 575.98px) {
  .mast-line-r { display: none; }
  .headline { font-size: clamp(2.3rem, 1.4rem + 5vw, 3rem); }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .rating-num { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* links on ink grounds keep a light hover (dark red would fall to 1.9:1) */
.dock a:hover, .ad-dark a:hover, .ad-dark a, .skip:hover { color: var(--hl); }
