/* ==========================================================================
   The Dockside — concept site
   One hand-written stylesheet. No bundler, no framework, no utility classes.

   Palette is taken off their own logo, not invented: a circular cream-on-blue
   badge with a sailboat, which their current site renders at about 40px. The
   blue sampled #293986 and the cream #F8EBD6.

   Order: tokens, reset, chrome, home, menu, catering, boil, visit, footer,
   responsive, motion.
   ========================================================================== */

:root {
  --paper:    #faf4e6;
  --paper-2:  #f3ead6;
  --navy:     #293986;
  --navy-d:   #1c2a6b;
  --ink:      #15203f;
  --ink-2:    #414d6e;
  --marker:   #c0381e;
  --timber:   #8c7f6a;
  --rule:     #d9cdb2;

  --display: "Instrument Serif", "Hoefler Text", Georgia, serif;
  --body:    "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --ui:      "Barlow Semi Condensed", "Arial Narrow", Helvetica, sans-serif;

  --wrap: 74rem;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

[hidden] { display: none !important; }

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  /* Texture, not gradient: a very fine paper tint. */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(41,57,134,.035), transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(192,56,30,.03), transparent 40%);
  background-attachment: fixed;
}

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

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--marker); }

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

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }

p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--marker); color: #fff; padding: .75rem 1.25rem;
  font-family: var(--ui); text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-block;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: .55rem 1.1rem;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--navy); color: var(--paper); }

.btn--primary {
  background: var(--marker);
  border-color: var(--marker);
  color: #fff;
}
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn--big { font-size: 1.35rem; padding: .7rem 1.5rem; }

/* ------------------------------------------------- concept bar + notice --- */

.pitchbar {
  background: var(--ink);
  color: #e8e2d2;
  font-family: var(--ui);
  font-size: .95rem;
  line-height: 1.45;
  padding: .5rem 0;
}
.pitchbar__inner { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.pitchbar a { color: #fff; }
.pitchbar strong { color: #fff; }
.pitchbar__tag {
  flex: none;
  background: var(--marker);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
  font-weight: 600;
  padding: .18rem .5rem;
}

.strip { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-family: var(--ui); }
.strip__inner { display: flex; gap: .6rem; padding: .5rem 0; }
.strip__key { color: var(--marker); font-weight: 600; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }

/* ------------------------------------------------------------ masthead --- */

.masthead { border-bottom: 2px solid var(--navy); background: var(--paper); }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: .9rem 0;
}

.wordmark { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.mark { width: 2.6rem; height: 2.6rem; flex: none; color: var(--navy); }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name { font-family: var(--display); font-size: 1.75rem; color: var(--ink); letter-spacing: -.01em; }
.wordmark__sub {
  font-family: var(--ui); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--timber); margin-top: .22rem;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-family: var(--ui); font-size: 1.05rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
  padding-bottom: .15rem; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--marker); border-color: var(--marker); }
.nav__link[aria-current="page"] { border-color: var(--navy); color: var(--navy); }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero --- */

.hero { display: grid; grid-template-columns: 1.9fr 1fr; border-bottom: 2px solid var(--navy); }
.hero__media { overflow: hidden; background: var(--ink); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 26rem; }

.hero__panel {
  background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-left: 2px solid var(--navy);
  display: flex; flex-direction: column; justify-content: center; gap: .1rem;
}

.status { display: flex; align-items: center; gap: .55rem; margin: 0 0 .2rem; font-family: var(--ui); }
.status__dot { width: .72rem; height: .72rem; border-radius: 50%; background: var(--timber); flex: none; }
.status--open .status__dot { background: #2f7d4f; }
.status--shut .status__dot { background: var(--marker); }
.status__word { font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.status__note { font-family: var(--ui); color: var(--ink-2); margin: 0 0 .6rem; }
.status__on {
  font-family: var(--ui); font-weight: 600; color: var(--marker);
  border-left: 3px solid var(--marker); padding-left: .6rem; margin: 0 0 .35rem;
}

.hero__tel { margin: 1rem 0 .1rem; }
.hero__tel a {
  font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--marker); text-decoration: none; letter-spacing: -.01em;
}
.hero__tel a:hover { text-decoration: underline; }
.hero__telnote { font-family: var(--ui); font-size: .95rem; color: var(--ink-2); margin: 0 0 1rem; }

.hero__caveat {
  font-family: var(--ui); font-size: .9rem; line-height: 1.4; color: var(--ink-2);
  border-top: 1px solid var(--rule); padding-top: .7rem; margin: 1.2rem 0 0;
}

.hero__cam { margin: .9rem 0 0; font-family: var(--ui); font-size: .9rem; }
.hero__cam a { font-weight: 600; display: block; }
.hero__cam span { display: block; color: var(--timber); line-height: 1.4; margin-top: .2rem; }

/* ------------------------------------------------------- location line --- */

.locline { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.locline__h {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  max-width: 22ch;
  margin: 0;
  color: var(--navy);
}

/* --------------------------------------------------------------- doors --- */

.doors { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.doors__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }

.door {
  display: block; position: relative;
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border: 2px solid var(--navy);
  text-decoration: none; color: var(--ink);
  background: var(--paper);
  transition: background .15s, transform .15s;
}
.door:hover { background: var(--paper-2); transform: translateY(-2px); color: var(--ink); }
.door--2 { border-color: var(--marker); }
.door__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.door--2 .door__title { color: var(--marker); }
.door__detail { font-size: 1.05rem; margin: 0; color: var(--ink-2); }
.door__go { position: absolute; right: 1.2rem; bottom: 1rem; font-size: 1.5rem; color: var(--marker); }

/* --------------------------------------------------------- page header --- */

.pagehead { border-bottom: 2px solid var(--navy); }

/*
 * The hero band is a band, not a half-screen.
 *
 * 24rem fixed was a lot of sky above a title that then took another 300px of
 * its own. This scales with the viewport and tops out lower.
 */
.pagehead--hero .pagehead__media {
  max-height: clamp(12rem, 24vw, 19rem);
  overflow: hidden;
  background: var(--ink);
}
.pagehead--hero .pagehead__media img {
  width: 100%;
  height: clamp(12rem, 24vw, 19rem);
  object-fit: cover;
}

.pagehead__inner { padding: clamp(1.2rem, 2.6vw, 2rem) 0; }

/*
 * Title left, standfirst right, sharing a baseline.
 *
 * Stacked, these two used the left half of the page and left the right half
 * empty — see the comment in site/snippets/pagehead.php. Asymmetric columns,
 * because a 1:1 split reads as a grid rather than a page.
 */
.pagehead__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: end;
}

.pagehead__eyebrow {
  font-family: var(--ui); text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--timber); margin: 0 0 .4rem;
}
.pagehead__eyebrow a { color: var(--timber); }
.pagehead__title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.015em; }
.pagehead__standfirst {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin: 0 0 .5rem;
  color: var(--ink-2);
  border-left: 2px solid var(--rule);
  padding-left: var(--gap);
}

/*
 * The lede aligns with the title, not with the middle of the page.
 *
 * Centred, it put a second band of cream down both sides directly under a
 * left-aligned header, and the two alignments fought. Left is also where the
 * eye already is.
 */
.lede { padding: clamp(1.5rem, 3vw, 2.4rem) 0 0; }
.lede .wrap { max-width: none; }
.lede p { font-size: 1.15rem; max-width: 56ch; }

/* ---------------------------------------------------------------- jump --- */

.jump { border-block: 1px solid var(--rule); margin-top: clamp(2rem, 4vw, 3rem); }
.jump__inner {
  display: flex; gap: 1.1rem; flex-wrap: wrap; padding: .75rem 0;
  font-family: var(--ui);
}
.jump__link { font-size: 1rem; text-decoration: none; color: var(--ink-2); }
.jump__link:hover { color: var(--marker); }
.jump__link--out { color: var(--marker); font-weight: 600; }

/* ------------------------------------------------------------ the menu --- */

.menu { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }

/* ---------------------------------------------------------- menu tabs --- */

/*
 * Index tabs, set like the section rules across the top of a printed menu —
 * not pills, not a segmented control, no rounded corners and no shadow. The
 * active section is marked by weight and a thick rule, the way a menu marks
 * the page you are on.
 *
 * The strip hides itself with no JavaScript, because without JS the panels all
 * stay open and a tab that does nothing is worse than no tab. See the header
 * comment in site/templates/menu.php.
 */
html:not(.js) .tabs { display: none; }

.tabs { border-bottom: 2px solid var(--navy); margin-bottom: clamp(2rem, 4vw, 3rem); }

.tabs__strip {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.tabs__strip::-webkit-scrollbar { height: 3px; }
.tabs__strip::-webkit-scrollbar-thumb { background: var(--rule); }

.tabs__tab {
  flex: none;
  scroll-snap-align: start;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;               /* sit the rule on the strip's border */
  padding: .55rem .1rem .5rem;
  font-family: var(--ui);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .12s, border-color .12s;
}
.tabs__tab:hover { color: var(--marker); }

.tabs__tab[aria-selected="true"] {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--marker);
}

/*
 * One section showing at a time, so the stacking rule and its trailing space
 * would hang off the bottom of the page with nothing under it. Scoped to the
 * panel so the standalone section pages keep their own spacing.
 */
.tabpanel .sect {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.sect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: var(--gap);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.sect--nophoto { grid-template-columns: minmax(0, 1fr); }
.sect__main { grid-column: 1; max-width: 52rem; }
.sect__aside { grid-column: 2; }
.sect:last-of-type { border-bottom: 0; }

.sect__media img { width: 100%; border: 1px solid var(--rule); }

.sect__title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .8rem; }
.sect__title a { text-decoration: none; color: var(--navy); }
.sect__title a:hover { color: var(--marker); }
.sect__crumb, .sect__note {
  font-family: var(--ui); color: var(--ink-2); font-size: 1rem;
  margin: 0 0 1.2rem; max-width: 52ch;
}

.dish { list-style: none; margin: 0; padding: 0; }
.dish__item { margin-bottom: 1.35rem; break-inside: avoid; }

/* Leader dots, the way a printed menu sets them. */
.dish__head { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .1rem; }
.dish__name { font-weight: 600; font-size: 1.1rem; }
.dish__dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-.22em);
  min-width: 1.5rem;
}
.dish__price {
  font-family: var(--ui); font-weight: 600; font-size: 1.1rem;
  font-variant-numeric: tabular-nums; color: var(--navy); flex: none;
}
.dish__detail { margin: 0; color: var(--ink-2); font-size: 1rem; max-width: 58ch; }

.dish__query, .cat__query {
  display: block; font-family: var(--ui); font-size: .88rem; line-height: 1.4;
  color: var(--marker); margin: .35rem 0 0; max-width: 58ch;
}
.dish__query span, .cat__query span {
  display: inline-block; background: var(--marker); color: #fff;
  text-transform: uppercase; letter-spacing: .08em; font-size: .66rem;
  padding: .1rem .38rem; margin-right: .35rem; vertical-align: .1em;
}

.menu__footnote, .menu__back {
  font-family: var(--ui); font-size: .92rem; color: var(--timber);
  border-top: 1px solid var(--rule); padding-top: 1rem; max-width: 60ch;
}

/* -------------------------------------------------------- the catering --- */

.catering { padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem; }

.headcount {
  border: 2px solid var(--navy);
  background: var(--paper-2);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  margin-bottom: 1.2rem;
}
/* No JS, no control — the printed three-column table stands alone. */
html:not(.js) .headcount { display: none; }

.headcount__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--gap);
  align-items: end;
}
.headcount__label {
  display: block; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1; color: var(--navy); margin-bottom: .3rem;
}
.headcount__hint {
  font-family: var(--ui); font-size: .95rem; color: var(--ink-2);
  margin: 0; max-width: 46ch;
}

.headcount__control { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.headcount__input {
  font-family: var(--ui); font-size: 2.4rem; font-weight: 600;
  width: 5.5rem; padding: .1rem .4rem;
  border: 0; border-bottom: 3px solid var(--marker);
  background: transparent; color: var(--marker);
  font-variant-numeric: tabular-nums;
}
.headcount__unit { font-family: var(--ui); font-size: 1.1rem; color: var(--ink-2); }
.headcount__clear {
  display: block; flex-basis: 100%;
  font-family: var(--ui); font-size: .88rem; color: var(--ink-2);
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  text-decoration: underline; text-align: left;
}
.headcount__clear:hover { color: var(--marker); }

.headcount__presets { display: flex; gap: .4rem; }
.headcount__preset {
  font-family: var(--ui); font-size: 1rem; font-weight: 600;
  padding: .4rem .7rem; cursor: pointer;
  border: 1.5px solid var(--navy); background: var(--paper); color: var(--navy);
}
.headcount__preset:hover { background: var(--navy); color: var(--paper); }

.headcount__state {
  font-family: var(--ui); font-size: .95rem; color: var(--ink);
  margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--rule);
}
.headcount__state:empty { display: none; }

.catering__gapnote {
  font-family: var(--ui); font-size: .95rem; color: var(--ink-2);
  border-left: 3px solid var(--timber); padding-left: .8rem;
  max-width: 62ch; margin-bottom: 2rem;
}

.cat-sect { margin: clamp(2.5rem, 5vw, 4rem) 0; }
.cat-sect__head { border-bottom: 2px solid var(--navy); padding-bottom: .5rem; margin-bottom: 1.2rem; }
.cat-sect__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--navy); }
.cat-sect__note {
  font-family: var(--ui); font-size: .98rem; color: var(--ink-2);
  margin: .4rem 0 0; max-width: 62ch;
}
.cat-sect__media { margin: 0 0 1.5rem; float: right; width: 18rem; max-width: 40%; margin-left: var(--gap); }
.cat-sect__media img { border: 1px solid var(--rule); }
.cat-sect__media figcaption {
  font-family: var(--ui); font-size: .82rem; color: var(--timber);
  margin-top: .4rem; line-height: 1.35;
}

/* The catalogue table. Printed-menu setting, not a data grid. */
.cat { width: 100%; border-collapse: collapse; }
.cat thead th {
  font-family: var(--ui); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--timber);
  text-align: right; padding: 0 0 .5rem .9rem; vertical-align: bottom;
  border-bottom: 1px solid var(--rule);
}
.cat thead .cat__th-item { text-align: left; padding-left: 0; }
.cat thead th span { display: block; font-weight: 400; letter-spacing: .04em; text-transform: none; }

.cat__row { border-bottom: 1px solid var(--rule); }
.cat__row:last-child { border-bottom: 0; }

.cat__item { text-align: left; font-weight: 400; padding: .85rem .9rem .85rem 0; vertical-align: top; }
.cat__name { display: block; font-weight: 600; font-size: 1.08rem; }
.cat__detail { display: block; color: var(--ink-2); font-size: .97rem; max-width: 56ch; margin-top: .15rem; }

.cat__price {
  font-family: var(--ui); font-variant-numeric: tabular-nums;
  text-align: right; padding: .85rem 0 .85rem .9rem;
  vertical-align: top; white-space: nowrap; color: var(--navy); font-weight: 600;
}
.cat__price--span { text-align: right; }
.cat__unit { display: block; }
.cat__unit small { font-weight: 400; color: var(--timber); font-size: .8rem; }
.cat__min { display: block; font-weight: 400; font-size: .82rem; color: var(--timber); }
.cat__price--mp .cat__unit { color: var(--timber); font-weight: 500; }

/* The quote column, written by app.js. */
.cat__quote {
  font-family: var(--ui); text-align: right; padding: .85rem 0 .85rem .9rem;
  vertical-align: top; white-space: nowrap;
}
.cat__q-price {
  display: block; font-size: 1.5rem; font-weight: 600; color: var(--marker);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.cat__q-working { display: block; font-size: .8rem; color: var(--ink-2); }
.cat__q-note { display: block; font-size: .8rem; color: var(--timber); }
.cat__q-none { display: block; font-size: 1rem; color: var(--timber); font-style: italic; }
.is-unpriced .cat__item { opacity: .78; }

.terms {
  border: 2px solid var(--marker);
  padding: clamp(1.2rem, 2.4vw, 1.9rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--paper);
}
.terms__title { font-size: 1.7rem; color: var(--marker); margin-bottom: .7rem; }
.terms ul { margin: 0; padding-left: 1.1rem; }
.terms li { margin-bottom: .5rem; }
.terms__count {
  font-family: var(--ui); font-size: .9rem; color: var(--timber);
  border-top: 1px solid var(--rule); padding-top: .8rem; margin: 1rem 0 0;
}

/* ---------------------------------------------------------- shrimp boil --- */

.boil { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.boil__inner { display: grid; grid-template-columns: 22rem 1fr; gap: var(--gap); align-items: start; }

.boil__price { border: 2px solid var(--marker); padding: 1.4rem; background: var(--paper-2); }
.boil__rate {
  font-family: var(--display); font-size: 3.6rem; line-height: 1;
  color: var(--marker); margin: 0 0 1rem;
}
.boil__rate span {
  display: block; font-family: var(--ui); font-size: .95rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-top: .3rem;
}

.boilcalc { border-top: 1px solid var(--rule); padding-top: .9rem; }
.boilcalc__label { display: block; font-family: var(--ui); font-size: .95rem; color: var(--ink-2); }
.boilcalc__input {
  font-family: var(--ui); font-size: 2rem; font-weight: 600; width: 5rem;
  border: 0; border-bottom: 3px solid var(--marker); background: transparent;
  color: var(--marker); font-variant-numeric: tabular-nums; padding: .1rem .3rem;
}
.boilcalc__out { font-family: var(--ui); margin: .8rem 0 0; }
.boilcalc__out strong { font-size: 1.9rem; color: var(--marker); display: block; line-height: 1.1; }
.boilcalc__out span { font-size: .85rem; color: var(--ink-2); }
.boilcalc__out:empty { display: none; }

.boil__caveat {
  font-family: var(--ui); font-size: .85rem; line-height: 1.4; color: var(--ink-2);
  border-top: 1px solid var(--rule); margin: 1rem 0 0; padding-top: .8rem;
}

.boil__h { font-size: 1.9rem; color: var(--navy); margin: 0 0 .7rem; }
.boil__body > .boil__h:not(:first-child) { margin-top: 2rem; }
.boil__list { margin: 0; padding-left: 1.1rem; }
.boil__list li { margin-bottom: .3rem; }
.boil__prose ul { padding-left: 1.1rem; }
.boil__prose li { margin-bottom: .5rem; }

.conflict { background: var(--paper-2); border-block: 2px solid var(--navy); padding: clamp(2rem, 4vw, 3rem) 0; }
.conflict__inner { max-width: 46rem; }
.conflict__title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: .8rem; }

/* --------------------------------------------------------------- visit --- */

.visit { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.visit__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.visit__h { font-size: 1.7rem; color: var(--navy); margin: 0 0 .6rem; }
.visit__col > .visit__h:not(:first-child) { margin-top: 2rem; }
.visit__addr { font-size: 1.15rem; margin-bottom: .3rem; }
.visit__tel a { font-family: var(--display); font-size: 2.2rem; color: var(--marker); text-decoration: none; }
.visit__status { font-family: var(--ui); color: var(--ink-2); }
.visit__list { list-style: none; margin: 0; padding: 0; font-family: var(--ui); }
.visit__list li { padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.visit__camnote { font-family: var(--ui); font-size: .88rem; color: var(--timber); line-height: 1.4; }

.hours__title { font-size: 1.7rem; color: var(--navy); margin-bottom: .6rem; }
.hours__list { margin: 0; font-family: var(--ui); }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .34rem 0; border-bottom: 1px solid var(--rule); }
.hours__row dt { color: var(--ink-2); }
.hours__row dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours__row.is-today { color: var(--marker); font-weight: 600; }
.hours__row.is-today dt { color: var(--marker); }
.hours__flag {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .1em;
  background: var(--marker); color: #fff; padding: .08rem .35rem; margin-left: .35rem;
  vertical-align: .1em; font-weight: 600;
}
.hours__caveat {
  font-family: var(--ui); font-size: .88rem; line-height: 1.4; color: var(--marker);
  margin: .8rem 0 .4rem;
}
.hours__note { font-family: var(--ui); font-size: .85rem; color: var(--timber); line-height: 1.4; margin: 0; }

.unknowns { background: var(--ink); color: #e8e2d2; padding: clamp(2rem, 4vw, 3rem) 0; }
.unknowns__inner { max-width: 48rem; }
.unknowns__title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.unknowns__body ul { padding-left: 1.1rem; }
.unknowns__body li { margin-bottom: .4rem; }
.unknowns__foot { font-family: var(--ui); font-size: .9rem; color: #a9a294; border-top: 1px solid #2e3a5c; padding-top: .9rem; }

/* ------------------------------------------------------------- enquiry --- */

.enquiry { border-top: 2px solid var(--navy); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.enquiry__inner { max-width: 46rem; }
.enquiry__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--navy); margin-bottom: .6rem; }
.enquiry__body { font-size: 1.1rem; color: var(--ink-2); }
.enquiry__actions { margin: 1.2rem 0; }
.enquiry__caveat, .enquiry__zdd {
  font-family: var(--ui); font-size: .92rem; line-height: 1.5; color: var(--ink-2);
  max-width: 58ch;
}
.enquiry__caveat { border-left: 3px solid var(--marker); padding-left: .9rem; }

/* -------------------------------------------------------------- footer --- */

.foot { border-top: 2px solid var(--navy); background: var(--paper-2); margin-top: 0; }
.foot__inner {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: var(--gap);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.foot__name { font-family: var(--display); font-size: 1.8rem; color: var(--navy); margin-bottom: .3rem; }
.foot__addr { font-family: var(--ui); margin-bottom: .4rem; }
.foot__tel a { font-family: var(--display); font-size: 1.9rem; color: var(--marker); text-decoration: none; }
.foot__link { font-family: var(--ui); }
.foot__nav { list-style: none; margin: 0; padding: 0; font-family: var(--ui); }
.foot__nav li { padding: .3rem 0; }

.foot__concept { background: var(--ink); color: #cfc9ba; padding: 1.5rem 0; font-family: var(--ui); font-size: .92rem; line-height: 1.55; }
.foot__concept a { color: #fff; }
.foot__concept strong { color: #fff; }
.foot__concept p { max-width: 74ch; }
.foot__honest { color: #a9a294; font-size: .86rem; margin-bottom: 0; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 62rem) {
  /* Two columns of header need two columns of room. */
  .pagehead__inner--split { grid-template-columns: 1fr; gap: .9rem; }
  .pagehead__standfirst { border-left: 0; padding-left: 0; margin-bottom: 0; }

  .hero { grid-template-columns: 1fr; }
  .hero__panel { border-left: 0; border-top: 2px solid var(--navy); }
  .hero__media img { min-height: 18rem; max-height: 22rem; }
  .doors__inner { grid-template-columns: 1fr; }
  .sect, .sect--nophoto { grid-template-columns: 1fr; }
  .sect__aside:empty { display: none; }
  .sect__media { max-width: 24rem; }
  .boil__inner { grid-template-columns: 1fr; }
  .visit__inner { grid-template-columns: 1fr 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .headcount__inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .cat-sect__media { float: none; width: 100%; max-width: 24rem; margin-left: 0; }
}

@media (max-width: 46rem) {
  .masthead__inner { flex-wrap: wrap; gap: .8rem; }

  .nav { width: 100%; flex-wrap: wrap; gap: .8rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--ui); font-size: 1rem; font-weight: 600;
    background: transparent; border: 1.5px solid var(--navy); color: var(--navy);
    padding: .45rem .8rem; cursor: pointer;
  }
  .nav-toggle__bars { width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 5px currentColor, 0 -5px currentColor; }
  .nav__list { display: none; width: 100%; flex-direction: column; gap: 0; }
  .nav__list.is-open { display: flex; }
  .nav__list li { border-bottom: 1px solid var(--rule); }
  .nav__link { display: block; padding: .7rem 0; border: 0; }

  .visit__inner, .foot__inner { grid-template-columns: 1fr; }

  /* The catalogue stops being a table on a phone. */
  .cat, .cat tbody, .cat__row, .cat__item, .cat__price, .cat__quote { display: block; width: 100%; }
  .cat thead { display: none; }
  .cat__row { padding: .9rem 0; }
  .cat__item { padding: 0 0 .4rem; }
  .cat__price, .cat__quote { text-align: left; padding: 0; white-space: normal; }
  .cat__price--span .cat__unit { display: inline-block; margin-right: 1rem; }
  .cat__price[data-tier]::before {
    content: attr(data-tier) ": ";
    font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--timber); font-weight: 400;
  }
  .cat__price[data-tier] { display: inline-block; width: auto; margin-right: 1.2rem; }
  .cat__q-price { display: inline-block; margin-right: .6rem; }
  .cat__q-working, .cat__q-note { display: inline-block; margin-right: .6rem; }
}

/* ------------------------------------------------------------- motion ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .door:hover { transform: none; }
}

@media print {
  .pitchbar, .nav, .headcount, .enquiry, .foot__nav { display: none; }
  body { background: #fff; }
}
