/*
 * GENERATED FILE — do not edit. php bin/build-tokens.php
 *
 * A concatenation of tokens.css, base.css, layout.css, components.css, in that order.
 * Edit those; this is the bundle the pages actually link.
 */

/* === tokens.css ================================================== */
/*
 * GENERATED FILE — do not edit.
 *
 * php bin/build-tokens.php
 *
 * Every value here comes from data/design-profile.json, which was extracted
 * from Read directly from the operator's own existing site: the source files at data/existing-site/ (style.css, index.php, includes/) supplied by the operator on 2026-10-23, cross-checked against the live page at https://mobilecocktailbars.co.uk/..
 *
 * No colour, size, radius or font may be hardcoded in any other stylesheet.
 * A hardcoded value does not change when the profile changes, and that is how
 * two sites built from this plan drift back into looking like siblings.
 */

:root {
  /* colour */
  --mcb-colour-primary: #ac8c25;
  --mcb-colour-primary-light: #d4af37;
  --mcb-colour-secondary: #1a1a1a;
  --mcb-colour-accent: #896f1d;
  --mcb-colour-background: #ffffff;
  --mcb-colour-surface: #f8f8f8;
  --mcb-colour-surface-warm: #fbf7ea;
  --mcb-colour-surface-dark: #1a1a1a;
  --mcb-colour-text: #333333;
  --mcb-colour-text-muted: #727272;
  --mcb-colour-text-on-primary: #1a1a1a;
  --mcb-colour-text-on-dark: #ffffff;
  --mcb-colour-border: #ac8c25;
  --mcb-colour-border-strong: #896f1d;
  --mcb-colour-success: #2f7d4f;

  /* type scale, 16px base at a ratio of 1.3 */
  --mcb-font-body: 'Montserrat', sans-serif;
  --mcb-font-heading: 'Playfair Display', serif;
  --mcb-weight-body: 400;
  --mcb-weight-heading: 700;
  --mcb-line-height: 1.5;
  --mcb-heading-case: none;
  --mcb-text-sm: 0.7694rem;
  --mcb-text-0: 1rem;
  --mcb-text-1: 1.3rem;
  --mcb-text-2: 1.69rem;
  --mcb-text-3: 2.1969rem;
  --mcb-text-4: 2.8563rem;
  --mcb-text-5: 3.7131rem;

  /* layout */
  --mcb-container: 1320px;
  --mcb-measure: 616px; /* 70ch of 16px body copy, at 0.55em per character */
  --mcb-gutter: 24px;
  --mcb-section-padding: 80px;
  --mcb-radius: 10px;
  --mcb-radius-pill: 25px;
  --mcb-border: 1px solid var(--mcb-colour-border);
  --mcb-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --mcb-shadow-lift: 0 4px 12px rgba(0, 0, 0, 0.12);

  /* spacing scale */
  --mcb-space-1: 4px;
  --mcb-space-2: 8px;
  --mcb-space-3: 12px;
  --mcb-space-4: 16px;
  --mcb-space-5: 20px;
  --mcb-space-6: 24px;
  --mcb-space-8: 32px;
  --mcb-space-12: 48px;

  /* breakpoints, recorded for reference; media queries cannot use variables */
  /* 576px, 768px, 992px, 1200px, 1400px */
}

/*
 * Contrast constraints, measured by bin/build-tokens.php.
 * These are not decoration: a pairing listed as failing must not be used for
 * text, whatever it looks like on the designer's monitor.
 *
 *   text on background               12.63:1  pass
 *   text on surface                  11.90:1  pass
 *   muted text on background          4.81:1  pass
 *   muted text on surface             4.53:1  pass
 *   primary heading on background     3.21:1  pass
 *   primary heading on surface        3.03:1  pass
 *   primary on surface_dark           5.41:1  pass
 *   text on primary                   5.41:1  pass
 *   text on primary_light             8.28:1  pass
 *   primary_light on background       2.10:1  NEVER FOR TEXT
 *   accent as text on background      4.82:1  pass
 *   accent as text on surface         4.54:1  pass
 *   border on surface                 3.03:1  pass
 *   text on surface_warm             11.79:1  pass
 *   accent on surface_warm            4.50:1  NEVER FOR TEXT
 *   primary on surface_warm           3.00:1  NEVER FOR TEXT
 *   white on surface_dark            17.40:1  pass
 *   white on accent                   4.82:1  pass
 *   white on success                  5.04:1  pass
 *   focus ring on background          3.21:1  pass
 *   strong border on background       4.82:1  pass
 *   hairline border on background     3.21:1  NEVER FOR TEXT
 */

/* === base.css ==================================================== */
/*
 * Base: reset, type, links, focus.
 *
 * Every value is a token from tokens.css, which is generated from
 * data/design-profile.json. Class names are written mcb-name and the bundler
 * (bin/build-tokens.php) puts the profile's class_prefix in, so this file never
 * carries a prefix of its own. Edit here, then run the builder; site.css is the
 * bundle the pages link.
 */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchors such as #enquiry land below the sticky header, not under it. */
  scroll-padding-top: 120px;
}

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

body {
  margin: 0;
  background: var(--mcb-colour-background);
  color: var(--mcb-colour-text);
  font-family: var(--mcb-font-body);
  font-weight: var(--mcb-weight-body);
  font-size: var(--mcb-text-0);
  line-height: var(--mcb-line-height);
}

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

/* --- headings ------------------------------------------------------------ */

/*
 * The gold is for LARGE text only (3.0:1 on the light bands). h1 and h2 are
 * well over the 24px large-text line at every width; h3 and below are set in
 * the near-black, because a 20px gold heading is not large text.
 */
h1,
h2,
h3,
h4 {
  margin: 0 0 var(--mcb-space-4);
  font-family: var(--mcb-font-heading);
  font-weight: var(--mcb-weight-heading);
  line-height: 1.2;
  text-transform: var(--mcb-heading-case);
  text-wrap: balance;
}

h1 {
  font-size: clamp(var(--mcb-text-3), 5vw, var(--mcb-text-5));
  color: var(--mcb-colour-primary);
}

h2 {
  font-size: clamp(var(--mcb-text-2), 3.5vw, var(--mcb-text-3));
  color: var(--mcb-colour-primary);
}

h3 {
  font-size: var(--mcb-text-1);
  color: var(--mcb-colour-secondary);
}

h4 {
  font-size: var(--mcb-text-0);
  color: var(--mcb-colour-secondary);
}

/* --- prose --------------------------------------------------------------- */

p,
ul,
ol,
dl,
blockquote,
figure {
  margin: 0 0 var(--mcb-space-4);
}

p,
li,
dd {
  max-width: var(--mcb-measure);
}

ul,
ol {
  padding-left: var(--mcb-space-6);
}

li + li {
  margin-top: var(--mcb-space-2);
}

strong {
  font-weight: 700;
}

/* --- links --------------------------------------------------------------- */

/*
 * Body links take the darker gold, which is the gold that passes at body size
 * (4.8:1 on white, 4.5:1 on the grey band). Underlined, because colour alone
 * is not enough to mark a link.
 */
a {
  color: var(--mcb-colour-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--mcb-colour-secondary);
}

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

/* --- the skip link ------------------------------------------------------- */

.mcb-skip {
  position: absolute;
  left: var(--mcb-space-4);
  top: -100px;
  z-index: 100;
  padding: var(--mcb-space-3) var(--mcb-space-4);
  background: var(--mcb-colour-secondary);
  color: var(--mcb-colour-text-on-dark);
  border-radius: var(--mcb-radius);
}

.mcb-skip:focus {
  top: var(--mcb-space-4);
}

/* Visually hidden, still read by screen readers. */
.mcb-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* === layout.css ================================================== */
/*
 * Layout: the container, the bands, the grids, and the page frame (header,
 * nav, footer, sticky bar). Class names are mcb-name; see base.css.
 *
 * Breakpoints come from the profile: 576, 768, 992, 1200, 1400. Media queries
 * cannot read custom properties, so the numbers are repeated here and nowhere
 * else.
 */

.mcb-container {
  width: 100%;
  max-width: var(--mcb-container);
  margin-inline: auto;
  padding-inline: var(--mcb-space-4);
}

@media (min-width: 768px) {
  .mcb-container { padding-inline: var(--mcb-gutter); }
}

/* --- bands --------------------------------------------------------------- */

/*
 * Section separation is alternating white and light-grey bands, never rules —
 * the profile's border_style is for controls, not for dividing the page.
 * Padding is the profile's 80px on a desktop and about half that on a phone,
 * where 80px top and bottom is most of a screen.
 */
.mcb-section {
  padding-block: calc(var(--mcb-section-padding) / 2);
}

@media (min-width: 992px) {
  .mcb-section { padding-block: var(--mcb-section-padding); }
}

.mcb-section--tinted {
  background: var(--mcb-colour-surface);
}

.mcb-section--cta {
  background: var(--mcb-colour-surface);
  border-top: 3px solid var(--mcb-colour-primary);
}

/* A section nested in a section (the reviews partial carries its own) does
   not double the padding. */
.mcb-section .mcb-section {
  padding-block: 0;
}

/* --- grids --------------------------------------------------------------- */

.mcb-grid {
  display: grid;
  gap: var(--mcb-gutter);
  padding: 0;
  list-style: none;
}

.mcb-grid > li + li {
  margin-top: 0;
}

@media (min-width: 768px) {
  .mcb-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .mcb-grid--3 { grid-template-columns: repeat(3, 1fr); }

  /* Exactly four items read as two by two, not three and an orphan. */
  .mcb-grid--3:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}

/*
 * A band of prose sits in a centred reading column rather than against the
 * left edge of a 1320px container with most of the width empty. Bands with
 * something that wants the width — a card grid, the reviews, the outcome
 * aside, the enquiry block — keep the full container.
 */
.mcb-section > .mcb-container:not(.mcb-outcome):not(.mcb-band):not(:has(.mcb-grid, .mcb-reviews__grid, .mcb-cta, .mcb-strip)) {
  max-width: calc(var(--mcb-measure) + var(--mcb-space-12) * 4);
}

/*
 * A band with a photo: the copy and a portrait photo side by side, the photo
 * swapping sides from one band to the next. The library mixes 2:3, 3:4 and
 * 9:16 portraits; every one is shown through the same frame with object-fit,
 * so the page keeps one rhythm whatever was shot. Square on a phone, where a
 * full-width portrait would be taller than the screen.
 */
.mcb-band {
  display: grid;
  gap: var(--mcb-space-6);
  align-items: center;
}

.mcb-band__media img,
.mcb-outcome__media img,
.mcb-strip img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--mcb-radius);
}

.mcb-band__media img {
  aspect-ratio: 1 / 1;
  box-shadow: var(--mcb-shadow);
}

@media (min-width: 768px) {
  .mcb-band__media img { aspect-ratio: 4 / 5; }
}

@media (min-width: 992px) {
  .mcb-band {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--mcb-space-12);
  }

  .mcb-band--flip {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .mcb-band--flip > .mcb-band__media {
    order: -1;
  }
}

/* Several photos in a row under a band's heading. Three across at every
   width — on a phone they are small, which is what a strip is. */
.mcb-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--mcb-space-2);
  margin-top: var(--mcb-space-8);
}

@media (min-width: 768px) {
  .mcb-strip { gap: var(--mcb-space-4); }
}

.mcb-strip img {
  aspect-ratio: 1 / 1;
}

/* The outcome-led aside: heading, then the photo under it. Landscape-cropped
   on a phone so it does not push the copy a screen down; the full portrait
   frame once the aside is a column of its own. */
.mcb-outcome__media {
  margin-top: var(--mcb-space-4);
}

.mcb-outcome__media img {
  aspect-ratio: 3 / 2;
}

@media (min-width: 992px) {
  .mcb-outcome__media {
    margin-top: var(--mcb-space-6);
  }

  .mcb-outcome__media img {
    aspect-ratio: 4 / 5;
    max-height: 60vh;
  }
}

.mcb-split {
  display: grid;
  gap: var(--mcb-space-8);
  align-items: center;
}

@media (min-width: 992px) {
  .mcb-split { grid-template-columns: 1fr 1fr; }
}

/* The scannable list the content profile asks for: gold markers, room
   between items. */
.mcb-stack {
  padding-left: 0;
  list-style: none;
}

.mcb-stack > li {
  position: relative;
  padding-left: var(--mcb-space-6);
}

.mcb-stack > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mcb-colour-primary);
}

/*
 * The outcome-led template's one structural difference: the heading is an
 * aside and the prose runs beside it. Stacked on anything narrower than a
 * laptop, where an aside would leave a column of a few words.
 */
.mcb-outcome {
  display: grid;
  gap: var(--mcb-space-4);
}

@media (min-width: 992px) {
  .mcb-outcome {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--mcb-space-12);
    align-items: start;
  }

  .mcb-outcome__head {
    position: sticky;
    top: 140px;
  }

  /* The intro band has no heading; its body takes the second column so the
     prose lines up with every band below it. */
  .mcb-outcome__body:only-child {
    grid-column: 2;
  }
}

.mcb-outcome__head h2 {
  margin-bottom: 0;
}

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

/*
 * Sticky, translucent white, with the live site's 0 2px 4px shadow. Two rows:
 * the brand and the call button, then the links.
 */
.mcb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--mcb-shadow);
}

@supports (backdrop-filter: blur(6px)) {
  .mcb-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
  }
}

.mcb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mcb-space-4);
  padding-block: var(--mcb-space-3);
}

.mcb-header__actions {
  display: flex;
  align-items: center;
  gap: var(--mcb-space-4);
}

/* The number beside the quote button, as a plain link. Hidden on a phone,
   where the header has room for one button and the sticky bar carries the
   call. */
.mcb-header__phone {
  display: none;
  color: var(--mcb-colour-secondary);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.mcb-header__phone:hover {
  text-decoration: underline;
}

@media (min-width: 576px) {
  .mcb-header__phone { display: inline-block; }
}

.mcb-brand {
  margin: 0;
  font-family: var(--mcb-font-heading);
  font-weight: var(--mcb-weight-heading);
  font-size: var(--mcb-text-1);
  line-height: 1.1;
}

.mcb-brand a {
  color: var(--mcb-colour-secondary);
  text-decoration: none;
}

/* --- nav ----------------------------------------------------------------- */

.mcb-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mcb-space-1) var(--mcb-space-6);
  margin: 0 auto;
  padding-block: 0 var(--mcb-space-3);
  list-style: none;
}

.mcb-nav li + li {
  margin-top: 0;
}

.mcb-nav a {
  display: inline-block;
  padding: var(--mcb-space-2) 0;
  color: var(--mcb-colour-secondary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.mcb-nav a:hover,
.mcb-nav a[aria-current="page"] {
  border-bottom-color: var(--mcb-colour-primary);
}

/*
 * Below 992px the links collapse behind a button — but only once site.js has
 * made the button. Without JavaScript there is no button and no collapsing:
 * the full list shows, wrapped, which is what a visitor needs.
 */
[data-nav-toggle] {
  display: none;
}

@media (max-width: 991.98px) {
  [data-nav-toggle] {
    display: inline-flex;
    align-items: center;
    gap: var(--mcb-space-2);
    margin: 0 var(--mcb-space-4) var(--mcb-space-3);
    padding: var(--mcb-space-2) var(--mcb-space-4);
    background: transparent;
    border: var(--mcb-border);
    border-radius: var(--mcb-radius-pill);
    color: var(--mcb-colour-secondary);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
  }

  .mcb-nav[data-collapsed="true"] {
    display: none;
  }

  .mcb-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .mcb-nav a {
    display: block;
    padding: var(--mcb-space-3) 0;
    border-bottom: 1px solid var(--mcb-colour-surface);
  }
}

/* --- local-environment notice -------------------------------------------- */

.mcb-notice {
  max-width: none;
  margin: 0;
  padding: var(--mcb-space-2) var(--mcb-space-4);
  background: var(--mcb-colour-surface-warm);
  color: var(--mcb-colour-text);
  font-size: var(--mcb-text-sm);
  text-align: center;
}

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

.mcb-footer {
  padding-block: var(--mcb-space-12);
  background: var(--mcb-colour-surface-dark);
  color: var(--mcb-colour-text-on-dark);
}

/* Gold on the near-black is 5.4:1, so the brand gold works at body size here
   and only here. */
.mcb-footer a {
  color: var(--mcb-colour-primary);
}

.mcb-footer a:hover {
  color: var(--mcb-colour-text-on-dark);
}

.mcb-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mcb-space-2) var(--mcb-space-6);
  margin-top: var(--mcb-space-6);
  padding: 0;
  list-style: none;
}

.mcb-footer-nav li + li {
  margin-top: 0;
}

/* --- sticky call bar (phones only) --------------------------------------- */

.mcb-stickybar {
  display: none;
}

@media (max-width: 767.98px) {
  .mcb-stickybar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: flex;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
  }

  /* Room at the foot of the page so the bar never covers the last line. */
  body {
    padding-bottom: 56px;
  }
}

.mcb-stickybar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mcb-space-2);
  min-height: 56px;
  background: var(--mcb-colour-primary);
  color: var(--mcb-colour-text-on-primary);
  font-weight: 700;
  text-decoration: none;
}

.mcb-stickybar__btn--alt {
  background: var(--mcb-colour-surface-dark);
  color: var(--mcb-colour-text-on-dark);
}

.mcb-stickybar__btn:hover {
  color: inherit;
}

/* === components.css ============================================== */
/*
 * Components. Class names are mcb-name; see base.css.
 *
 * Contrast rules these follow, all measured by bin/build-tokens.php:
 *   - primary (gold) is large text, borders and fills only
 *   - accent (dark gold) is the gold for body-size text on white or grey
 *   - text on a primary fill is near-black; text on an accent fill is white
 *   - on the cream (surface_warm), text is the body colour, never gold
 */

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

/*
 * The live site's gold pill with a gradient, black text on hover. Text on the
 * gold is near-black (5.4:1); on the darker gold it turns white (4.8:1).
 */
.mcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mcb-space-2);
  min-height: 48px;
  padding: var(--mcb-space-3) var(--mcb-space-6);
  border: 2px solid var(--mcb-colour-primary);
  border-radius: var(--mcb-radius-pill);
  background: transparent;
  color: var(--mcb-colour-secondary);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.mcb-btn--accent,
.mcb-btn--call {
  background: linear-gradient(180deg, var(--mcb-colour-primary-light), var(--mcb-colour-primary));
  color: var(--mcb-colour-text-on-primary);
}

.mcb-btn--accent:hover,
.mcb-btn--call:hover {
  background: var(--mcb-colour-accent);
  border-color: var(--mcb-colour-accent);
  color: var(--mcb-colour-text-on-dark);
  box-shadow: var(--mcb-shadow-lift);
}

/* Outline: dark-gold text, which passes on white and on the grey band. */
.mcb-btn--ghost {
  border-color: var(--mcb-colour-accent);
  color: var(--mcb-colour-accent);
}

.mcb-btn--ghost:hover {
  background: var(--mcb-colour-accent);
  color: var(--mcb-colour-text-on-dark);
}

/* The header button stays compact on a phone: the number is the label. */
.mcb-btn--call {
  min-height: 44px;
  padding: var(--mcb-space-2) var(--mcb-space-4);
  white-space: nowrap;
}

.mcb-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mcb-space-3);
  max-width: none;
}

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

/*
 * The live hero's look — dark, gold serif heading — at content height. No
 * 100vh and no background-attachment: fixed, so the direct answer in the lede
 * is on the first screen of a phone and nothing judders on scroll.
 */
.mcb-hero {
  background: var(--mcb-colour-surface-dark);
  color: var(--mcb-colour-text-on-dark);
  padding-block: var(--mcb-space-12);
}

@media (min-width: 992px) {
  .mcb-hero { padding-block: calc(var(--mcb-section-padding) * 0.9); }
}

.mcb-hero__inner {
  display: grid;
  gap: var(--mcb-space-8);
  align-items: center;
}

@media (min-width: 992px) {
  /* Two columns only when there is a photograph to put in the second. */
  .mcb-hero__inner:has(.mcb-hero__media) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

/* With no photograph, the hero text sits in the same centred column as the
   prose bands below it, so the page has one left edge, not two. */
.mcb-hero__inner:not(:has(.mcb-hero__media)) {
  max-width: calc(var(--mcb-measure) + var(--mcb-space-12) * 4);
}

/* Gold on the near-black is 5.4:1 — fine at any size. */
.mcb-hero h1 {
  color: var(--mcb-colour-primary);
  margin-bottom: var(--mcb-space-4);
}

.mcb-hero__lede,
.mcb-hero__lead {
  font-size: var(--mcb-text-1);
  line-height: 1.45;
  max-width: 36em;
  color: var(--mcb-colour-text-on-dark);
}

.mcb-hero .mcb-contact__actions {
  margin-top: var(--mcb-space-6);
  margin-bottom: 0;
}

/* The ghost button on the dark band: white outline, white text. */
.mcb-hero .mcb-btn--ghost {
  border-color: var(--mcb-colour-text-on-dark);
  color: var(--mcb-colour-text-on-dark);
}

.mcb-hero__media img {
  width: 100%;
  border-radius: var(--mcb-radius);
  box-shadow: var(--mcb-shadow-lift);
}

/* The three templates differ in structure; the heroes differ in one detail
   each, so a visitor moving between pages sees three related pages, not one. */
.mcb-hero--menu {
  border-bottom: 4px solid var(--mcb-colour-primary);
}

.mcb-hero--outcome .mcb-hero__lede {
  font-family: var(--mcb-font-heading);
  font-style: italic;
}

/* --- cards --------------------------------------------------------------- */

/* The live site's service cards: 10px radius, no border, lift on hover. */
.mcb-card {
  padding: var(--mcb-space-6);
  background: var(--mcb-colour-background);
  border-radius: var(--mcb-radius);
  border-top: 3px solid var(--mcb-colour-primary);
  box-shadow: var(--mcb-shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.mcb-card:hover {
  box-shadow: var(--mcb-shadow-lift);
  transform: translateY(-2px);
}

/* On a white band the cards need a tint of their own to read as cards. */
.mcb-section:not(.mcb-section--tinted) .mcb-card {
  background: var(--mcb-colour-surface);
}

/* --- labelled notes (menu-led) ------------------------------------------- */

.mcb-note__label {
  margin-top: var(--mcb-space-8);
  padding-top: var(--mcb-space-4);
  border-top: var(--mcb-border);
}

.mcb-note__label:first-of-type {
  margin-top: var(--mcb-space-4);
}

/* --- the place, verbatim ------------------------------------------------- */

/*
 * {{brief_description}} is the dataset's own prose, never spun, in a voice of
 * its own. It is set apart so the seam does not show as a change of tone in
 * the middle of a paragraph.
 */
.mcb-place-note {
  max-width: var(--mcb-measure);
  margin: var(--mcb-space-6) 0;
  padding: var(--mcb-space-6);
  background: var(--mcb-colour-surface-warm);
  border-left: 4px solid var(--mcb-colour-primary);
  border-radius: 0 var(--mcb-radius) var(--mcb-radius) 0;
}

.mcb-place-note p {
  margin: 0;
  color: var(--mcb-colour-text);
}

/* --- FAQ ----------------------------------------------------------------- */

/*
 * <details> with every answer OPEN in the HTML. A visitor without JavaScript
 * reads every answer; site.js collapses all but the first. The question is in
 * the near-black on white, the answer in the body colour on cream — the live
 * site's gold header and cream panel, with the gold moved into the marker and
 * the border, where it does not have to pass as text.
 */
.mcb-faq {
  max-width: calc(var(--mcb-measure) + var(--mcb-space-12));
  margin: 0 0 var(--mcb-space-6);
  padding: 0;
}

.mcb-faq__item {
  margin-bottom: var(--mcb-space-3);
  background: var(--mcb-colour-background);
  border: var(--mcb-border);
  border-radius: var(--mcb-radius);
  overflow: hidden;
}

.mcb-faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mcb-space-4);
  padding: var(--mcb-space-4) var(--mcb-space-6);
  font-family: var(--mcb-font-heading);
  font-weight: var(--mcb-weight-heading);
  font-size: var(--mcb-text-1);
  color: var(--mcb-colour-secondary);
  cursor: pointer;
  list-style: none;
}

.mcb-faq__item > summary::-webkit-details-marker {
  display: none;
}

.mcb-faq__item > summary::after {
  content: "+";
  flex: none;
  font-family: var(--mcb-font-body);
  font-size: var(--mcb-text-2);
  line-height: 1;
  color: var(--mcb-colour-primary);
}

.mcb-faq__item[open] > summary::after {
  content: "\2212";
}

.mcb-faq__item[open] > summary {
  border-bottom: var(--mcb-border);
}

.mcb-faq__answer {
  padding: var(--mcb-space-4) var(--mcb-space-6) var(--mcb-space-2);
  background: var(--mcb-colour-surface-warm);
}

.mcb-faq__answer p {
  color: var(--mcb-colour-text);
}

/* The definition-list fallback some kit layouts still emit. */
dl.mcb-faq dt {
  margin-top: var(--mcb-space-6);
  font-family: var(--mcb-font-heading);
  font-weight: var(--mcb-weight-heading);
  font-size: var(--mcb-text-1);
  color: var(--mcb-colour-secondary);
}

dl.mcb-faq dd {
  margin: var(--mcb-space-2) 0 0;
}

/* --- reviews ------------------------------------------------------------- */

.mcb-reviews__grid {
  display: grid;
  gap: var(--mcb-gutter);
}

@media (min-width: 768px) {
  .mcb-reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

.mcb-review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--mcb-space-6);
  background: var(--mcb-colour-surface);
  border-radius: var(--mcb-radius);
  box-shadow: var(--mcb-shadow);
}

.mcb-review blockquote {
  position: relative;
  flex: 1;
  margin: 0 0 var(--mcb-space-4);
  padding-top: var(--mcb-space-8);
}

/* An opening quote mark in the gold: decoration, so it may be the light gold. */
.mcb-review blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.1em;
  left: 0;
  font-family: var(--mcb-font-heading);
  font-size: var(--mcb-text-5);
  line-height: 1;
  color: var(--mcb-colour-primary);
}

.mcb-review blockquote p {
  margin: 0;
  font-style: italic;
}

.mcb-review figcaption {
  font-weight: 700;
  color: var(--mcb-colour-secondary);
}

.mcb-reviews__link {
  margin-top: var(--mcb-space-6);
  text-align: center;
  max-width: none;
}

/* --- the call-to-action band and the form -------------------------------- */

.mcb-cta {
  display: grid;
  gap: var(--mcb-space-8);
  max-width: 880px;
  margin-inline: auto;
}

.mcb-cta > .mcb-contact__actions {
  justify-content: center;
  margin: 0;
}

.mcb-form {
  padding: var(--mcb-space-6);
  background: var(--mcb-colour-background);
  border-radius: var(--mcb-radius);
  box-shadow: var(--mcb-shadow);
}

@media (min-width: 768px) {
  .mcb-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--mcb-gutter);
    padding: var(--mcb-space-8);
  }

  /* The heading, the long answer and the button span both columns. */
  .mcb-form__title,
  .mcb-form .mcb-field:has(textarea),
  .mcb-form__consent,
  .mcb-form > button {
    grid-column: 1 / -1;
  }
}

/* The heading sits on white at 20px+ bold: large text, but set dark so it
   does not lean on the 3:1 allowance. */
.mcb-form__title {
  margin-bottom: var(--mcb-space-6);
  font-size: var(--mcb-text-2);
  color: var(--mcb-colour-secondary);
}

.mcb-field {
  max-width: none;
  margin-bottom: var(--mcb-space-4);
}

.mcb-field label {
  display: block;
  margin-bottom: var(--mcb-space-1);
  font-weight: 500;
}

.mcb-field label span {
  color: var(--mcb-colour-text-muted);
  font-weight: 400;
}

/* A field's edge is a meaningful boundary: the gold border is 3.2:1 on white,
   above the 3:1 such a boundary needs. */
.mcb-field input,
.mcb-field textarea,
.mcb-field select {
  width: 100%;
  min-height: 48px;
  padding: var(--mcb-space-3);
  background: var(--mcb-colour-background);
  border: var(--mcb-border);
  border-radius: var(--mcb-radius);
  color: var(--mcb-colour-text);
  font: inherit;
}

.mcb-field textarea {
  min-height: 140px;
  resize: vertical;
}

.mcb-field input:focus-visible,
.mcb-field textarea:focus-visible,
.mcb-field select:focus-visible {
  outline: 3px solid var(--mcb-colour-primary);
  outline-offset: 1px;
  border-color: var(--mcb-colour-accent);
}

.mcb-form__consent {
  margin-bottom: var(--mcb-space-4);
  font-size: var(--mcb-text-sm);
}

.mcb-form > button {
  justify-self: start;
  margin-top: var(--mcb-space-2);
}

/* The honeypot: present for bots, absent for people, never display:none
   (some bots skip hidden fields; few skip ones moved off-screen). */
.mcb-form__hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- hubs, lists and the kit's other pages ------------------------------- */

.mcb-county-list,
.mcb-location-list,
.mcb-coverage-list,
.mcb-service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--mcb-space-2) var(--mcb-gutter);
  padding: 0;
  list-style: none;
}

.mcb-county-list > li + li,
.mcb-location-list > li + li,
.mcb-coverage-list > li + li,
.mcb-service-list > li + li {
  margin-top: 0;
}

.mcb-county-list__count {
  color: var(--mcb-colour-text-muted);
  font-size: var(--mcb-text-sm);
}

.mcb-area-nav {
  margin-bottom: var(--mcb-space-6);
  font-size: var(--mcb-text-sm);
}

.mcb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--mcb-space-4);
}

.mcb-gallery img {
  width: 100%;
  border-radius: var(--mcb-radius);
}

.mcb-answer {
  font-size: var(--mcb-text-1);
}

.mcb-prose > * + h2 {
  margin-top: var(--mcb-space-12);
}

/* The map of the town or county (app/partials/location-map.php). A frame with
   the field border, the map filling it; landscape on desktop, squarer on a
   phone where a wide map would be a strip. */
.mcb-map {
  margin: var(--mcb-space-6) 0;
}

.mcb-map__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mcb-colour-surface);
  border: var(--mcb-border);
  border-radius: var(--mcb-radius);
}

.mcb-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mcb-map figcaption {
  margin-top: var(--mcb-space-2);
  font-size: var(--mcb-text-sm);
}

@media (min-width: 768px) {
  .mcb-map__frame {
    aspect-ratio: 16 / 9;
  }
}
