﻿/* Sectional pages â€” anchors, bands, shop grid, modal */

.jos-page-hero {
  padding: clamp(88px, 12vw, 120px) 56px var(--jos-space-hero-bottom);
  text-align: center;
}

.jos-page-hero .jos-kicker {
  color: var(--jos-gold-text);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 12px;
  letter-spacing: 0.34em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.jos-page-hero h1 {
  color: var(--jos-script-ink);
  display: block;
  font-family: var(--jos-script);
  font-size: var(--jos-script-size);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: var(--jos-script-lh);
  margin-bottom: calc((var(--jos-script-lh) - 1.15) * -1em + var(--jos-script-air)); /* r30: the extra leading adds half above and half below, take both back so the next block stays put */
  margin-inline: auto;
  margin-top: calc(var(--jos-space-hero-script-top) - 0.2em + var(--jos-script-air)); /* r27: title sits higher under the eyebrow; r30 breathing space */
  max-width: 100%;
  padding-top: 0.28em;
  position: relative;
  text-align: center;
  text-transform: none;
  top: calc((var(--jos-script-lh) - 1.15) / -2 * 1em); /* r30: lift the ink back by the extra top half-leading (a margin cannot, it collapses with the eyebrow's) */
  translate: var(--jos-optical-x, 0) 0; /* r27: optical centring, per title, measured ink vs box */
  width: 100%;
}

/* r27: titles that wrap to two lines below 1024 centre differently from the one-line desktop title */
@media (max-width: 1023px) {
  .jos-page-hero h1 {
    translate: var(--jos-optical-x-m, var(--jos-optical-x, 0)) 0;
  }
}

/* r30: 404 and thank-you put an unclassed line directly under the title; the descenders touched it on phones and tablets */
@media (max-width: 1023px) {
  .jos-page-hero h1 + p:not([class]) {
    margin-top: 28px;
  }
}

.jos-page-hero h1:has(.jos-coming-badge) {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: calc(1.5rem + 0.2em - (var(--jos-script-lh) - 1.15) / 2 * 1em); /* r27: the title moved up, so the badge keeps its place; r30 less the extra half-leading under the text */
  margin-bottom: calc((var(--jos-script-lh) - 1.15) / -2 * 1em + var(--jos-script-air));
}

/* r31: desktop, title text to the badge was 13px of ink gap */
@media (min-width: 1024px) {
  .jos-page-hero h1 {
    margin-top: calc(44px - 0.2em + var(--jos-script-air)); /* r31: eyebrow to title ink was 33px on day-menu, enquire, shop and thank-you, 41px elsewhere */
  }

  .jos-page-hero h1:has(.jos-coming-badge) {
    gap: calc(1.5rem + 0.2em + 28px - (var(--jos-script-lh) - 1.15) / 2 * 1em);
  }
}

.jos-page-hero h1 .jos-coming-badge {
  display: block;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-left: 0;
  margin-top: 0;
  text-transform: uppercase;
}

/* Our Coffee â€” script hero slightly larger (Mark mobile feedback Aug 2026) */
.jos-page-hero .jos-lead {
  color: var(--jos-body);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 26px auto 0;
  max-width: 720px;
}

.jos-section {
  padding: var(--jos-space-section-y) 56px;
  scroll-margin-top: 120px;
}

/* Same-surface sections: one rhythm gap, not double 88px padding */
.jos-section:not(.jos-section--band):not(.jos-section--dark)
  + .jos-section:not(.jos-section--band):not(.jos-section--dark) {
  padding-top: 0;
}

.jos-section:not(.jos-section--band):not(.jos-section--dark):has(
    + .jos-section:not(.jos-section--band):not(.jos-section--dark)
  ) {
  padding-bottom: var(--jos-space-section-gap);
}

/* Body paragraph â†’ leading photo (e.g. Why we do it â†’ cafe interior) */
.jos-section:not(.jos-section--band):not(.jos-section--dark):has(
    + .jos-section:not(.jos-section--band):not(.jos-section--dark)
      > .jos-section-inner
      > .jos-section-media:first-child
  ) {
  padding-bottom: var(--jos-space-media-before);
}

.jos-section:not(.jos-section--band):not(.jos-section--dark):has(
    > .jos-section-inner
    > .jos-section-media:first-child
  ) {
  padding-top: 0;
}

.jos-page-hero + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(
    > .jos-section-inner
    > .jos-section-media:first-child
  ) {
  padding-top: var(--jos-space-section-gap);
}

main > .jos-section:last-of-type,
main > .jos-section:has(+ .jos-page-nav) {
  padding-bottom: var(--jos-space-section-y);
}

/* Dark/band blocks keep full separation from cream sections */
.jos-section:not(.jos-section--band):not(.jos-section--dark):has(+ .jos-section--band),
.jos-section:not(.jos-section--band):not(.jos-section--dark):has(+ .jos-section--dark) {
  padding-bottom: var(--jos-space-section-y);
}

.jos-section--band + .jos-section:not(.jos-section--band):not(.jos-section--dark),
.jos-section--dark + .jos-section:not(.jos-section--band):not(.jos-section--dark) {
  padding-top: var(--jos-space-section-y);
}

.jos-section--band:has(+ .jos-section:not(.jos-section--band)),
.jos-section--dark:has(+ .jos-section:not(.jos-section--dark)) {
  padding-bottom: var(--jos-space-section-y);
}

/* Photo-first cream section flush after dark band (Origins after Sustainability) */
.jos-section--band + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(
    > .jos-section-inner > .jos-section-media:first-child
  ),
.jos-section--dark + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(
    > .jos-section-inner > .jos-section-media:first-child
  ) {
  padding-top: 0;
}

.jos-section--band:has(
    + .jos-section:not(.jos-section--band):not(.jos-section--dark)
      > .jos-section-inner
      > .jos-section-media:first-child
  ),
.jos-section--dark:has(
    + .jos-section:not(.jos-section--band):not(.jos-section--dark)
      > .jos-section-inner
      > .jos-section-media:first-child
  ) {
  display: flow-root;
  padding-bottom: var(--jos-space-section-y);
}

.jos-section--band:has(
    + .jos-section:not(.jos-section--band):not(.jos-section--dark)
      > .jos-section-inner
      > .jos-section-media:first-child
  )
  .jos-section-inner
  > :last-child,
.jos-section--dark:has(
    + .jos-section:not(.jos-section--band):not(.jos-section--dark)
      > .jos-section-inner
      > .jos-section-media:first-child
  )
  .jos-section-inner
  > :last-child {
  margin-bottom: 0;
}

/* Photo sits flush under dark band — full width, no top radius */
.jos-section--band + .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child,
.jos-section--dark + .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child {
  border-radius: 0;
  margin-top: 0;
  max-width: none;
  width: calc(100% + 112px);
  margin-inline: -56px;
}

@media (max-width: 720px) {
  .jos-section--band + .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child,
  .jos-section--dark + .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child {
    margin-inline: -24px;
    width: calc(100% + 48px);
  }
}

.jos-section--dark {
  background: var(--jos-alt-bg);
  color: var(--jos-cream);
}

.jos-section--band {
  background: var(--jos-alt-bg);
  color: var(--jos-cream);
}

.jos-section-inner {
  margin: 0 auto;
  max-width: 900px;
}

.jos-section h2 {
  color: inherit;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.25;
  margin-bottom: var(--jos-space-block);
  text-transform: uppercase;
}

.jos-section p,
.jos-section li {
  color: var(--jos-body);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

.jos-section--dark p,
.jos-section--dark li,
.jos-section--band p,
.jos-section--band li {
  color: rgba(240, 244, 230, 0.82);
}

.jos-section-divider {
  border: 0;
  border-top: 1px solid rgba(173, 131, 48, 0.42);
  margin: clamp(32px, 6vw, 48px) auto;
  max-width: min(100%, 480px);
  width: 100%;
}

.jos-section--band .jos-section-divider + #jos-neuro-pups > h2,
.jos-section--band .jos-section-divider + [id] > h2,
.jos-split-copy > h2:first-child {
  margin-top: 0;
}

.jos-section p + p {
  margin-top: var(--jos-space-stack);
}

.jos-section-label {
  color: var(--jos-gold-text);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Sentence-case section titles (e.g. Origins) â€” default h2 stays uppercase */
.jos-section h2.jos-heading-prose {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Partner backlink â€” inherit body colour, no default underline (Mark Aug 2026) */
.jos-text-link-subtle {
  color: inherit;
  text-decoration: none;
}

.jos-text-link-subtle:hover,
.jos-text-link-subtle:focus-visible {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.15em;
}

.jos-truck-block {
  margin-top: 40px;
}

.jos-truck-block > .jos-section-label {
  text-align: center;
}

.jos-truck-list {
  display: grid;
  gap: 14px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.jos-truck-list li {
  align-items: baseline;
  color: var(--jos-body);
  display: flex;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 15px;
  gap: 14px;
  line-height: 1.5;
}

.jos-truck-list li::before {
  color: var(--jos-gold);
  content: "\25A2";
  flex-shrink: 0;
  font-size: 13px;
}

.jos-cater-pills {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
}

.jos-cater-pill {
  border: 1px solid rgba(58, 50, 12, 0.25);
  border-radius: 999px;
  color: var(--jos-ink);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  text-align: center;
  text-transform: uppercase;
}

/* Odd count: centre the last pill on its own row when pills are 5, 7, etc. */
.jos-cater-pill:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 100%;
  width: fit-content;
}

@media (min-width: 721px) {
  .jos-cater-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    max-width: none;
  }

  .jos-cater-pill:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: auto;
    width: auto;
  }
}

.jos-truck-contact {
  border-top: 1px solid rgba(58, 50, 12, 0.14);
  margin-top: 40px;
  padding-top: 30px;
}

.jos-truck-contact a {
  color: var(--jos-ink);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 19px;
  font-weight: 500;
}

/* Truck has its own accounts (@josneurocoffee); circles reuse .jos-review-social-link */
.jos-truck-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.jos-section-cta {
  margin-top: 28px;
  text-align: center;
}

.jos-cta-row .jos-btn {
  margin: 18px 6px 0;
}

/* Community #hire: what the space is used for, Mon to Wed */
.jos-hire-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.jos-hire-grid img {
  border-radius: 4px;
  display: block;
  height: auto;
  width: 100%;
}

.jos-hire-grid-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.jos-hire-grid-link:hover span,
.jos-hire-grid-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.jos-hire-grid span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-top: 8px;
  text-align: center;
  text-transform: uppercase;
}

/* "Festivals & retreats" on one line in a phone-width tile (Mark Oct 2026) */
@media (max-width: 400px) {
  .jos-hire-grid span {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 768px) {
  .jos-hire-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Section photos â€” Mark originals at native aspect (no forced crop); 3:5 for placeholders */
.jos-section-media {
  border-radius: 4px;
  display: block;
  height: auto;
  margin-bottom: var(--jos-space-media-after);
  max-width: 100%;
  width: 100%;
}

/* Rule: no photo needs a scroll to see all of it (Mark Oct 2026). A photo
   taller than the screen scales down whole and centres; it is never cropped. */
/* width: 100% (not auto) so the width/height attributes reserve the photo's space
   before it loads; object-fit keeps tall photos inside max-height. Search report
   6 Nov 2026: width:auto gave CLS 0.15 to 0.21 on About, News & Events, Jo's at Night. */
img.jos-section-media {
  margin-inline: auto;
  max-height: calc(100svh - var(--jos-header-h, 88px) - 48px);
  object-fit: contain;
  width: 100%;
}

.jos-truck-media {
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(58, 50, 12, 0.1);
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}

.jos-truck-photo {
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(58, 50, 12, 0.1);
  margin: 32px auto 0;
  max-width: min(100%, 420px);
  overflow: hidden;
}

.jos-truck-photo .jos-section-media {
  display: block;
  height: auto;
  margin-bottom: 0;
  width: 100%;
}

/* Van wrap footage: portrait clip, narrower than the landscape truck photo.
   Width also capped so the 480x854 clip never runs taller than the screen. */
.jos-truck-van {
  margin: 40px auto 0;
  max-width: min(100%, 360px, calc((100svh - var(--jos-header-h, 88px) - 48px) * 480 / 854));
}

.jos-truck-van .jos-section-label {
  text-align: center;
}

.jos-truck-van-video {
  aspect-ratio: 480 / 854;
  background: #3a3834;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(58, 50, 12, 0.1);
  display: block;
  height: auto;
  width: 100%;
}

.jos-truck-van figcaption {
  color: rgba(58, 50, 12, 0.72);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 12px;
  text-align: center;
}

.jos-truck-van figcaption a {
  color: var(--jos-gold-text);
  font-weight: 600;
}

.jos-section-video {
  background: #3a3834;
  border-radius: 18px;
  display: block;
  max-width: 100%;
  object-fit: contain;
  overflow: hidden;
  width: 100%;
}

/* Close-up loops from Mark's truck footage (Oct 2026): square, muted,
   autoplaying, with a pause control (WCAG 2.2.2). The figure drops its UA
   margins; the section-media rules place it like a photo. */
.jos-loop {
  margin-inline: 0;
  margin-top: 0;
  position: relative;
}

.jos-loop video {
  aspect-ratio: 1 / 1;
  background: #3a3834;
  border-radius: inherit;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jos-truck-block .jos-loop {
  margin: 28px auto 0;
  max-width: 420px;
}

/* Pause control for every looping video */
.jos-loop-toggle {
  background: rgba(58, 50, 12, 0.72);
  border: 1px solid rgba(240, 244, 230, 0.4);
  border-radius: 999px;
  bottom: 16px;
  color: var(--jos-cream);
  cursor: pointer;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  position: absolute;
  right: 16px;
  text-transform: uppercase;
  z-index: 2;
}

.jos-loop-toggle:focus-visible {
  outline: 2px solid var(--jos-gold-on-dark);
  outline-offset: 3px;
}

/* Reduced motion: the source media query skips the video, so the poster shows */
@media (prefers-reduced-motion: reduce) {
  .jos-loop-toggle {
    display: none;
  }
}

/* Services #truck — square frame on phones (Mark Sep 2026); crops poster/video like section hero tiles */
@media (max-width: 720px) {
  .jos-truck-media {
    margin-left: auto;
    margin-right: auto;
    max-width: min(100%, 360px);
  }

  .jos-truck-media .jos-section-video {
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
}

.jos-section-media--inset {
  margin-bottom: 0;
  margin-top: var(--jos-space-media-before);
}

.jos-neuro-pups-photo-link {
  display: block;
  margin-top: clamp(20px, 4vw, 28px);
}

.jos-neuro-pups-photo-link:focus-visible {
  outline: 2px solid var(--jos-gold);
  outline-offset: 4px;
}

.jos-neuro-pups-photo-link:hover .jos-section-media--inset,
.jos-neuro-pups-photo-link:focus-visible .jos-section-media--inset {
  opacity: 0.92;
}

.jos-neuro-pups-photo-link .jos-section-media--inset {
  margin-top: 0;
}

.jos-pupdates-signup {
  margin-top: clamp(20px, 4vw, 28px);
  max-width: min(100%, 360px);
}

/* Phones and tablets: pupdates sign-up below the pups photo grid (Mark 5 Nov
   2026). The copy wrapper dissolves so the sign-up can move past the photo;
   from 1024px the two-column split keeps it under the copy. */
@media (max-width: 1023px) {
  #jos-neuro-pups {
    display: flex;
    flex-direction: column;
  }

  #jos-neuro-pups > .jos-split-copy {
    display: contents;
  }

  #jos-neuro-pups > .jos-split-copy > .jos-pupdates-signup {
    order: 1;
  }
}

/* Community truck dates (Mark 6 Nov 2026): subheading inside the long copy.
   (Comment edited for a fresh ?v: Cloudflare cached the old file mid-rollout.) */
.jos-truck-dates-copy h3 {
  margin: 32px 0 12px;
}

.jos-pupdates-signup-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.65;
  margin: 0 0 14px;
}

.jos-section--band .jos-pupdates-signup-lead {
  color: rgba(240, 244, 230, 0.88);
}

.jos-pupdates-signup-title {
  color: var(--jos-gold-on-dark);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin: clamp(24px, 4vw, 32px) 0 10px;
  text-transform: uppercase;
}

.jos-pupdates-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jos-pupdates-email-form--centered {
  align-items: center;
}

.jos-pupdates-email-form--centered button {
  width: min(100%, 280px);
}

.jos-pupdates-email-form input[type="email"] {
  background: #fff;
  border: 1px solid rgba(58, 50, 12, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  min-width: 0;
  padding: 12px 14px;
  width: 100%;
}

.jos-pupdates-email-form input[type="email"]:focus {
  border-color: var(--jos-gold);
  outline: 2px solid rgba(173, 131, 48, 0.35);
  outline-offset: 1px;
}

.jos-pupdates-email-note,
.jos-pupdates-email-error {
  font-size: 15px;
  margin-top: 12px;
}

.jos-pupdates-email-error {
  color: #f5c4c4;
}

.jos-section--band .jos-pupdates-email-note {
  color: rgba(240, 244, 230, 0.92);
}

.jos-pupdates-privacy {
  font-size: 14px;
  margin-top: 12px;
}

.jos-section--band .jos-pupdates-privacy a {
  color: var(--jos-gold-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jos-pupdates-signup--potw {
  margin-inline: auto;
  max-width: 360px;
  text-align: center;
}

.jos-pupdates-signup--community {
  margin-inline: auto;
  max-width: 360px;
  text-align: center;
  width: 100%;
}

.jos-section-placeholder--square {
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
  max-width: min(100%, 420px);
}

.jos-venue-media {
  margin: 0 0 28px;
}

.jos-section-placeholder {
  align-items: center;
  aspect-ratio: 3 / 5;
  background: rgba(173, 131, 48, 0.06);
  border: 1px dashed rgba(173, 131, 48, 0.45);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  width: 100%;
}

.jos-section-placeholder span {
  color: var(--jos-gold-text);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jos-section--dark .jos-section-placeholder,
.jos-section--band .jos-section-placeholder {
  background: rgba(173, 131, 48, 0.1);
  border-color: rgba(240, 244, 230, 0.28);
}

.jos-section--dark .jos-section-placeholder span,
.jos-section--band .jos-section-placeholder span {
  color: rgba(240, 244, 230, 0.55);
}

.jos-toc {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: repeat(2, 1fr);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin: 28px auto 0;
  max-width: 520px;
  text-align: center;
  text-transform: uppercase;
}

.jos-toc a {
  border: none;
  border-radius: 4px;
  color: var(--jos-ink);
  display: block;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  min-height: 44px;
  padding: 10px 8px;
  text-decoration: none;
  text-transform: inherit;
}

.jos-toc a:hover,
.jos-toc a:focus-visible {
  color: var(--jos-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 721px) {
  .jos-toc {
    gap: 12px 20px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
  }

  /* Balanced 2Ã—2 when exactly four links (About, Contact) */
  .jos-toc:has(> a:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }

  /* Tighter pair when exactly two links (Services) */
  .jos-toc:has(> a:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
  }
}

/* Reiss-style paired rows â€” bottom page nav (matches homepage More to explore typography) */

.jos-toc--paired {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 2;
  margin: 0 auto;
  max-width: min(100%, 640px);
  text-align: center;
}

.jos-toc-row {
  align-items: center;
  display: grid;
  gap: 0 clamp(12px, 3vw, 28px);
  grid-template-columns: 1fr auto 1fr;
}

.jos-toc-row a {
  display: block;
  min-height: 44px;
  padding: 6px 4px;
  text-decoration: none;
}

.jos-toc-row a:first-child {
  justify-self: end;
  text-align: right;
}

.jos-toc-row a:last-child {
  justify-self: start;
  text-align: left;
}

.jos-toc-sep {
  color: rgba(58, 50, 12, 0.35);
  font-size: inherit;
  font-weight: 400;
  line-height: 1;
  user-select: none;
}

.jos-toc-row--solo {
  grid-template-columns: 1fr;
  justify-items: center;
}

.jos-toc-row--solo a,
.jos-toc-row--solo .jos-toc-soon {
  justify-self: center;
  text-align: center;
}

/* Single-link rows without a pair — center (community Find us orphan guard) */
.jos-page-nav .jos-toc-row:not(:has(.jos-toc-sep)) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.jos-page-nav .jos-toc-row:not(:has(.jos-toc-sep)) a {
  justify-self: center;
  text-align: center;
}

.jos-toc-row--triple {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(10px, 2.5vw, 22px);
  grid-template-columns: unset;
  justify-content: center;
}

.jos-toc-row--triple a {
  justify-self: auto;
  text-align: center;
}

.jos-toc-row--triple a:first-child,
.jos-toc-row--triple a:last-child {
  justify-self: auto;
  text-align: center;
}

.jos-toc-soon {
  color: var(--jos-gold-text);
  display: block;
  min-height: 44px;
  padding: 6px 4px;
}

/* Visually hidden â€” keeps content in DOM for crawlers and screen readers (see index newsletter) */
.jos-visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.jos-page-nav {
  background: var(--jos-cream);
  padding: var(--jos-space-section-gap) 56px var(--jos-space-section-y);
  text-align: center;
}

.jos-page-nav .jos-toc {
  margin: 0 auto;
}

.jos-shop-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 48px auto 0;
  max-width: 960px;
}

.jos-product-card {
  background: #fff;
  border: 1px solid rgba(58, 50, 12, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.jos-product-card img {
  aspect-ratio: 4/3;
  background: #f8f6f0;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.jos-product-body {
  padding: 24px;
}

.jos-product-body h2,
.jos-product-body h3 {
  color: var(--jos-ink);
  font-family: "Baron Neue", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

.jos-product-body .jos-price {
  color: var(--jos-gold-text);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

.jos-product-body p {
  font-size: 15px;
  margin-top: 12px;
}

.jos-product-profile {
  color: #545454;
  font-size: 14px;
  line-height: 1.5;
  list-style: disc;
  margin: 12px 0 0 1.1em;
  padding: 0;
}

.jos-product-profile li {
  margin-top: 4px;
}

.jos-product-profile li:first-child {
  margin-top: 0;
}

.jos-btn {
  background: var(--jos-ink);
  border: none;
  border-radius: 999px;
  color: var(--jos-cream);
  cursor: pointer;
  display: inline-block;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-top: 18px;
  padding: 14px 28px;
  text-transform: uppercase;
}

.jos-btn--gold {
  background: var(--jos-gold-text);
}

.jos-btn:hover {
  filter: brightness(1.08);
}

/* Partner logos on Discover. Intrinsic ratio; 10px radius clips white PNG corners on cream. */
.jos-partner-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  width: 100%;
}

.jos-partner-row li {
  align-items: center;
  display: flex;
  flex: 1 1 90px;
  justify-content: center;
  max-width: 200px;
  min-width: 90px;
  position: relative;
  z-index: 1;
}

.jos-partner-row a {
  border-radius: 10px;
  display: block;
  line-height: 0;
  overflow: hidden;
  position: relative;
  touch-action: manipulation;
  width: 100%;
  -webkit-tap-highlight-color: rgba(173, 131, 48, 0.25);
  z-index: 1;
}

.jos-partner-row a:focus-visible {
  outline: 2px solid var(--jos-gold);
  outline-offset: 2px;
}

.jos-partner-logo {
  border-radius: 10px;
  box-sizing: border-box;
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

/* Contact band social icon links (Instagram / WhatsApp) */
.social-cta-row--icons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.social-cta-icon {
  align-items: center;
  border: 1px solid rgba(240, 244, 230, 0.35);
  border-radius: 50%;
  color: var(--jos-cream);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  width: 44px;
}

.social-cta-icon:hover,
.social-cta-icon:focus-visible {
  background: rgba(173, 131, 48, 0.15);
  border-color: var(--jos-gold);
  color: var(--jos-gold);
  outline: none;
}

.social-cta-icon[hidden] {
  display: none !important;
}

.social-cta-icon-svg {
  display: block;
  flex: 0 0 auto;
}

.jos-modal[hidden] {
  display: none !important;
}

.jos-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 200;
}

.jos-modal-panel {
  background: var(--jos-cream);
  border-radius: 12px;
  max-width: 440px;
  padding: 36px 32px;
  width: 100%;
}

.jos-modal-panel h2 {
  color: var(--jos-ink);
  font-family: "Baron Neue", sans-serif;
  font-size: 26px;
  text-transform: uppercase;
}

.jos-modal-panel p {
  color: var(--jos-body);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
}

.jos-modal-panel label {
  color: var(--jos-ink);
  display: block;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
}

.jos-modal-panel input {
  background: #fff;
  border: 1px solid rgba(58, 50, 12, 0.2);
  border-radius: 8px;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 16px;
  margin-top: 8px;
  padding: 12px 14px;
  width: 100%;
}

.jos-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.jos-modal-error {
  color: #8b2e2e;
  font-size: 14px;
  margin-top: 12px;
}

.jos-modal-success {
  color: var(--jos-ink);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.jos-coming-badge {
  color: var(--jos-gold-text);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-left: 6px;
  vertical-align: middle;
}

.jos-home-hours-title .jos-coming-badge,
.jos-hours-item h2 .jos-coming-badge,
.jos-hours-item h3 .jos-coming-badge,
.jos-section h2 .jos-coming-badge {
  display: inline;
  white-space: nowrap;
}

.jos-map-wrap {
  border-radius: 8px;
  margin-top: clamp(32px, 4vw, 44px);
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

.jos-hours-list {
  list-style: none;
  margin: 28px 0 clamp(24px, 3vw, 32px);
  padding: 0;
}

.jos-hours-item {
  border-top: 1px solid rgba(58, 50, 12, 0.12);
  padding: 24px 0 0;
}

.jos-hours-item + .jos-hours-item {
  margin-top: 20px;
}

.jos-hours-item h2,
.jos-hours-item h3 {
  color: var(--jos-ink);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.jos-hours-item p {
  margin-top: 0;
}

.jos-hours-days {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jos-hours-day-row {
  align-items: baseline;
  color: var(--jos-body);
  display: flex;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 14px;
  gap: 12px;
  justify-content: space-between;
  line-height: 1.35;
}

.jos-hours-day {
  color: var(--jos-ink);
  font-weight: 600;
}

.jos-hours-time {
  color: var(--jos-body);
  flex-shrink: 0;
  font-size: 13px;
  white-space: nowrap;
}

.jos-parking-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.jos-parking-item {
  border-top: 1px solid rgba(58, 50, 12, 0.12);
  padding: 24px 0;
}

.jos-parking-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.jos-parking-item h3 {
  color: var(--jos-ink);
  font-family: "Baron Neue", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.jos-parking-item p {
  margin-top: 0;
}

.jos-parking-item p + p {
  margin-top: 10px;
}

/* Evening menu â€” cafe-at-night indicative preview list */
.jos-menu-intro {
  color: var(--jos-gold-text);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin-bottom: 18px;
}

.jos-menu {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 32px;
}

.jos-menu-category {
  border-top: 1px solid rgba(58, 50, 12, 0.12);
  margin: 0;
  padding: 28px 0 4px;
}

.jos-menu-category:first-child {
  border-top: 0;
  padding-top: 0;
}

.jos-menu-category h3 {
  color: var(--jos-ink);
  font-family: "Baron Neue", sans-serif;
  font-size: clamp(17px, 4.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  margin: 0 0 12px;
  padding: 0;
  text-transform: uppercase;
}

.jos-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jos-menu-list li {
  border-top: 1px solid rgba(58, 50, 12, 0.08);
  list-style: none;
  margin: 0;
  padding: 11px 0;
}

.jos-menu-list li::marker {
  content: none;
}

.jos-menu-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.jos-menu-item-name {
  color: var(--jos-body);
  display: block;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: clamp(15px, 3.8vw, 16px);
  line-height: 1.45;
}

.jos-menu-footnote {
  color: var(--jos-gold-text);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-top: 28px;
}

@media (min-width: 721px) {
  .jos-menu {
    gap: 0 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jos-menu-category {
    padding-bottom: 8px;
    padding-top: 32px;
  }

  .jos-menu-category:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 0;
  }
}

.jos-map-embed {
  background: var(--jos-cream, #f0f4e6);
  border: 0;
  display: block;
  height: 360px;
  width: 100%;
}

@media (min-width: 721px) {
  .jos-map-embed {
    height: 480px;
  }
}

.jos-footer-min {
  background: var(--jos-alt-bg, #3a320c);
  color: rgba(240, 244, 230, 0.75);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 48px 56px 36px;
  text-align: center;
}

.jos-footer-min nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.jos-footer-min a {
  color: rgba(240, 244, 230, 0.75);
}

.jos-footer-min a:hover {
  color: var(--jos-gold);
}

/* Community page: Evening Events carousel, swipe on mobile (CSS scroll-snap) */
.jos-evening-rail {
  display: flex;
  gap: 16px;
  margin: 28px -24px 0;
  overflow-x: auto;
  padding: 0 24px 12px;
  scroll-padding-inline: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.jos-evening-slide {
  background: rgba(240, 244, 230, 0.06);
  border: 1px solid rgba(173, 131, 48, 0.35);
  border-radius: 4px;
  display: flex;
  flex: 0 0 min(82%, 320px);
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
}

.jos-evening-slide-img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jos-evening-slide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.jos-section .jos-evening-slide-when {
  color: var(--jos-gold-on-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.jos-evening-slide-title {
  color: var(--jos-cream);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.jos-section .jos-evening-slide-host {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

.jos-section .jos-evening-slide-detail {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.jos-evening-slide-cta {
  align-self: flex-start;
  margin-top: 18px;
}

.jos-section .jos-evening-events-empty {
  margin-top: 20px;
}

/* Community page â€” reviews + photo grid */
.jos-section-inner--wide {
  max-width: 1080px;
}

/* Community reviews — HW-faithful lanes (happy-woofs/site/index.html L83-88, L314-337) */
.jos-review-ticker-band {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid rgba(58, 50, 12, 0.08);
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  padding-block: clamp(28px, 5vw, 40px) clamp(32px, 5vw, 44px);
  padding-inline: 0;
  scroll-margin-top: 120px;
  width: 100%;
}

/* Hold the ticker's loaded height (about 1040px) while reviews load, so the footer doesn't jump. */
.jos-review-ticker:empty {
  min-height: 1040px;
}

.jos-review-ticker-band-inner {
  margin: 0 auto;
  max-width: 1080px;
  padding-inline: 56px;
  width: 100%;
}

.jos-page-hero + .jos-review-ticker-band {
  margin-top: 0;
  padding-top: clamp(24px, 4vw, 36px);
}

.jos-review-band-label {
  margin-bottom: 12px;
}

.jos-review-ticker-band #reviews-title {
  color: var(--jos-script-ink);
  font-family: var(--jos-script);
  font-size: var(--jos-script-size);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: var(--jos-script-lh);
  margin-bottom: calc(var(--jos-space-block) - (var(--jos-script-lh) - 1.15) / 2 * 1em + var(--jos-script-air));
  margin-top: calc((var(--jos-script-lh) - 1.15) / -2 * 1em + var(--jos-script-air));
  padding-top: 0.28em;
  text-transform: none;
  translate: var(--jos-optical-x, 0) 0;
}

@media (max-width: 767px) {
  .jos-review-ticker-band #reviews-title {
    font-size: var(--jos-script-size-mobile);
    translate: var(--jos-optical-x-m, var(--jos-optical-x, 0)) 0;
  }
}

.jos-review-ticker-band .jos-community-intro {
  margin-bottom: clamp(24px, 4vw, 36px);
  max-width: 640px;
}

.jos-review-ticker-band .jos-community-more {
  margin-top: 20px;
  max-width: 640px;
}

.jos-review-social {
  border-top: 1px solid rgba(58, 50, 12, 0.1);
  margin-top: clamp(36px, 6vw, 52px);
  padding-top: clamp(28px, 5vw, 40px);
  text-align: center;
}

.jos-review-social-title {
  color: var(--jos-script-ink);
  font-family: var(--jos-script);
  font-size: clamp(22px, 4vw, 28px);
  line-height: var(--jos-script-lh);
  margin: calc((var(--jos-script-lh) - 1.35) / -2 * 1em) 0 calc(16px - (var(--jos-script-lh) - 1.35) / 2 * 1em);
  padding-top: 0.3em;
}

.jos-review-social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.jos-review-social[hidden] {
  display: none !important;
}

.jos-review-social-link {
  align-items: center;
  border: 1px solid rgba(58, 50, 12, 0.28);
  border-radius: 50%;
  color: var(--jos-ink);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  width: 44px;
}

.jos-review-social-link:hover,
.jos-review-social-link:focus-visible {
  background: rgba(173, 131, 48, 0.12);
  border-color: var(--jos-gold);
  color: var(--jos-gold);
  outline: none;
}

.jos-review-social-link[hidden] {
  display: none !important;
}

.jos-review-social-svg {
  display: block;
  flex: 0 0 auto;
}

.jos-review-lanes {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 40px);
  width: 100%;
}

.jos-review-lane {
  overflow: visible;
  width: 100%;
}

/* HW pattern: header in content width; carousel full viewport (index.html L315-326).
   Native horizontal scroll so guests can swipe; JS drives the auto-scroll. */
.jos-review-lane .jos-review-ticker-viewport {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  width: 100vw;
}

.jos-review-lane .jos-review-ticker-viewport::-webkit-scrollbar {
  display: none;
}

.jos-review-lane .jos-review-ticker-viewport:focus-visible {
  outline: 2px solid var(--jos-gold);
  outline-offset: -2px;
}

.jos-review-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.jos-review-nav-btn {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(58, 50, 12, 0.28);
  border-radius: 50%;
  color: var(--jos-ink);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  width: 44px;
}

.jos-review-nav-btn:hover,
.jos-review-nav-btn:focus-visible {
  background: rgba(173, 131, 48, 0.12);
  border-color: var(--jos-gold);
  color: var(--jos-gold);
  outline: none;
}

.jos-review-nav-btn[hidden] {
  display: none;
}

.jos-review-lane-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 auto;
  max-width: 1240px;
  overflow: visible;
  padding: 12px 0 20px;
}

.jos-review-lane-head-text {
  display: flex;
  flex: 1 1 220px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow: visible;
}

.jos-review-lane-stat-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jos-review-lane-title {
  color: var(--jos-script-ink);
  display: block;
  font-family: var(--jos-script);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: var(--jos-script-lh);
  margin-block: calc((var(--jos-script-lh) - 1.35) / -2 * 1em) calc((var(--jos-script-lh) - 1.35) / -2 * 1em + 0.2em); /* r30: clear of the stars row under it */
  overflow: visible;
  padding-top: 0.42em;
}

.jos-review-lane-stars {
  color: var(--jos-gold);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}

.jos-review-lane-stat {
  color: rgba(58, 50, 12, 0.72);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.jos-review-lane-stat--link {
  color: var(--jos-gold-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.jos-review-lane-stat--link:hover,
.jos-review-lane-stat--link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jos-review-lane--more {
  border-top: 1px solid rgba(58, 50, 12, 0.1);
  padding-top: clamp(20px, 4vw, 32px);
}

.jos-review-lane-cta {
  font-size: 14px;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

.jos-review-lane-empty {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 8px 24px 12px;
  text-align: center;
}

.jos-review-ticker {
  min-height: 0;
  width: 100%;
}

.jos-review-ticker-viewport {
  overflow: hidden;
  width: 100%;
}

.jos-review-ticker-track {
  align-items: stretch;
  display: flex;
  gap: 18px;
  /* bottom room for the card offset shadow */
  padding: 6px 24px 10px;
  width: max-content;
}

.jos-review-ticker-track.is-static {
  justify-content: center;
  min-width: 100%;
}

/* HW hw-review-card proportions — index.html L329-337 */
.jos-review-ticker-card {
  background: var(--jos-white);
  border: 2px solid rgba(58, 50, 12, 0.88);
  border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(173, 131, 48, 0.35);
  /* Every review card is the same square as the photo cards (Mark 30 Oct 2026).
     A long review is cut and gets a Read more button (see .jos-review-more). */
  aspect-ratio: 1;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 22px;
  width: 300px;
}

.jos-review-ticker-card-head {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.jos-review-ticker-avatar {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: grid;
  flex: 0 0 auto;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 15px;
  font-weight: 700;
  height: 40px;
  place-items: center;
  width: 40px;
}

.jos-review-ticker-identity {
  min-width: 0;
}

.jos-review-ticker-name {
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.jos-review-ticker-when {
  color: #6f6a57;
  font-size: 12px;
  font-weight: 600;
}

.jos-review-platform-mark {
  flex: 0 0 auto;
  margin-left: auto;
}

.jos-review-ticker-stars {
  color: var(--jos-gold);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
  margin: 0 0 8px;
}

.jos-review-ticker-quote {
  color: rgba(58, 50, 12, 0.82);
  flex: 0 1 auto;
  white-space: pre-line;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.jos-review-ticker-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.jos-review-ticker-quote.is-clamped {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.jos-review-more {
  align-self: flex-start;
  background: none;
  border: 0;
  color: var(--jos-ink);
  cursor: pointer;
  flex: 0 0 auto;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 8px;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.jos-review-more[hidden] {
  display: none;
}

.jos-review-more:hover {
  color: #836424;
}

.jos-review-more:focus-visible,
.jos-review-dialog-close:focus-visible {
  outline: 2px solid var(--jos-gold);
  outline-offset: 3px;
}

/* Full review, opened from Read more. Native dialog: Esc closes, focus is
   trapped and returns to the button. */
.jos-review-dialog {
  background: var(--jos-white);
  border: 2px solid rgba(58, 50, 12, 0.88);
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(173, 131, 48, 0.35);
  color: var(--jos-ink);
  inset: 0;
  margin: auto;
  max-height: min(80vh, 640px);
  max-width: min(92vw, 520px);
  overflow-y: auto;
  padding: 24px 26px;
  width: 100%;
}

.jos-review-dialog::backdrop {
  background: rgba(58, 50, 12, 0.55);
}

.jos-review-dialog-quote {
  color: rgba(58, 50, 12, 0.88);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}

.jos-review-dialog .jos-review-ticker-stars {
  margin-bottom: 12px;
}

.jos-review-dialog-close {
  background: var(--jos-ink);
  border: 0;
  border-radius: 999px;
  color: #f0f4e6;
  cursor: pointer;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 20px;
  min-height: 44px;
  padding: 10px 24px;
  text-transform: uppercase;
}

html:has(.jos-review-dialog[open]) {
  overflow: hidden;
}

/* HW hw-review-dog belt — happy-woofs/site/index.html L339-342 */
.jos-review-ticker-photo {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(58, 50, 12, 0.88);
  border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(173, 131, 48, 0.35);
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  width: 300px;
}

.jos-review-ticker-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.jos-review-ticker-footnote {
  font-size: 14px;
  line-height: 1.6;
  margin: 16px auto 0;
  max-width: 640px;
  padding: 0 20px;
  text-align: center;
}

.jos-review-ticker.is-empty,
.jos-review-ticker.is-error {
  font-size: 15px;
  line-height: 1.6;
  padding: 24px 20px;
  text-align: center;
}

@media (max-width: 480px) {
  .jos-review-lane-head {
    padding: 10px 0 16px;
  }

  .jos-review-lane-title {
    padding-top: 0.38em;
  }

  .jos-review-lane-cta {
    margin-left: 0;
    width: 100%;
  }

  .jos-review-ticker-track {
    gap: 14px;
    padding: 6px 16px 10px;
  }

  .jos-review-ticker-card {
    width: min(300px, 72vw);
  }

  .jos-review-ticker-photo {
    width: min(300px, 72vw);
  }
}

.jos-community-intro {
  margin-bottom: var(--jos-space-block);
  max-width: 640px;
}

.jos-community-reviews {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.jos-review-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(58, 50, 12, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
}

.jos-review-stars {
  color: var(--jos-gold);
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0;
}

.jos-review-quote {
  margin: 0;
}

.jos-review-quote p {
  color: var(--jos-body);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.jos-review-meta {
  color: rgba(58, 50, 12, 0.72);
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: auto;
  text-transform: uppercase;
}

.jos-review-meta cite {
  font-style: normal;
}

.jos-community-attribution,
.jos-community-more {
  font-size: 15px;
  line-height: 1.7;
  margin-top: var(--jos-space-stack);
  max-width: 640px;
}

.jos-community-more {
  margin-top: 12px;
}

.jos-community-signup-inner {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
}

.jos-potw-block {
  margin-bottom: clamp(36px, 6vw, 52px);
}

.jos-potw-section .jos-potw-section-inner {
  text-align: center;
}

.jos-potw-section .jos-potw-mount {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.jos-potw-heading {
  color: var(--jos-script-ink);
  font-family: var(--jos-script);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 400;
  line-height: var(--jos-script-lh);
  margin: calc((var(--jos-script-lh) - 1.05) / -2 * 1em) 0 calc(clamp(20px, 3vw, 28px) - (var(--jos-script-lh) - 1.05) / 2 * 1em);
}

.jos-potw-mount {
  margin-inline: auto;
  max-width: 28rem;
}

.jos-potw-figure {
  margin: 0 0 16px;
}

.jos-potw-photo {
  border-radius: 4px;
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: 100%;
  width: min(100%, 320px);
}

.jos-potw-name {
  color: var(--jos-gold-on-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-top: 14px;
  text-transform: uppercase;
}

.jos-potw-bio {
  color: rgba(58, 50, 12, 0.86);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  margin: 0;
}

.jos-community-signup-lead {
  margin-inline: auto;
  max-width: 32rem;
}

.jos-community-signup .jos-community-email-form {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  margin-inline: auto;
  margin-top: 20px;
  max-width: 360px;
  width: 100%;
}

.jos-community-signup .jos-community-email-form--centered {
  align-items: center;
}

.jos-community-signup .jos-community-email-form--centered button {
  width: min(100%, 280px);
}

.jos-community-signup input[type="email"] {
  background: #fff;
  border: 1px solid rgba(58, 50, 12, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  min-width: 0;
  padding: 12px 14px;
  width: 100%;
}

.jos-community-email-note,
.jos-community-email-error {
  font-size: 15px;
  margin-top: 12px;
}

.jos-community-email-error {
  color: #8b2e2e;
}

.jos-community-privacy {
  font-size: 14px;
  margin-top: 14px;
}

@media (max-width: 767px) {
  .jos-community-reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jos-page-hero,
  .jos-page-nav,
  .jos-section,
  .jos-review-ticker-band-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .jos-page-nav {
    padding-bottom: var(--jos-space-section-y);
    padding-top: var(--jos-space-section-gap);
  }

  .jos-footer-min {
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 36px 20px 28px;
  }
}

/* Food & Drink page — horizontal photo carousels (Mark Aug 2026) */

.jos-page-day-menu .jos-menu-carousel {
  background: var(--jos-cream);
  margin: 0;
  padding-bottom: var(--jos-space-section-gap);
  padding-top: var(--jos-space-section-gap);
  width: 100%;
}

.jos-page-day-menu .jos-page-hero:has(+ .jos-menu-carousel) {
  padding-bottom: clamp(20px, 4vw, 36px);
}

.jos-page-day-menu .jos-page-hero + .jos-menu-carousel {
  padding-top: var(--jos-space-section-gap);
}

.jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-picture::after {
  display: none;
}

.jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-inner-container {
  background: var(--jos-cream);
}

/* Mark Sep 2026 — square tiles, one peeking edge, auto-scroll JS on day-menu */
.jos-page-day-menu .jos-menu-carousel.shop-news-edits-one--booking-carousel .multi-teaser-item,
.jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-item {
  flex: 0 0 calc((100% - var(--jos-teaser-hairline)) / 1.35);
  max-width: calc((100% - var(--jos-teaser-hairline)) / 1.35);
}

.jos-page-day-menu .jos-menu-carousel.shop-news-edits-one--booking-carousel .multi-teaser-picture::before,
.jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-picture::before {
  padding-top: 100%;
}

.jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-picture--native img {
  border-radius: 4px;
}

.jos-page-day-menu .jos-menu-carousel + .jos-section {
  padding-top: var(--jos-space-section-y);
}

.jos-page-day-menu .jos-menu-carousel + .jos-section--band {
  padding-top: var(--jos-space-section-y);
}

.jos-page-day-menu .jos-section:has(+ .jos-menu-carousel) {
  padding-bottom: var(--jos-space-section-y);
}

.jos-page-day-menu .multi-teaser-item--photo-only .multi-teaser-picture {
  cursor: grab;
}

.jos-page-day-menu .multi-teaser-item--photo-only .multi-teaser-picture:active {
  cursor: grabbing;
}

@media (max-width: 1024px) {
  .jos-page-day-menu .jos-menu-carousel.shop-news-edits-one--booking-carousel .multi-teaser-item,
  .jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-item {
    flex: 0 0 78%;
    max-width: 78%;
  }
}

/* News & Events page — Cafe moments carousel, dark band to match surrounding sections */

.jos-page-community .jos-moments-carousel {
  background: var(--jos-alt-bg);
  margin: 0;
  padding-bottom: var(--jos-space-section-y);
  width: 100%;
}

.jos-page-community .jos-moments-carousel .multi-teaser-inner-container {
  background: var(--jos-alt-bg);
}

.jos-page-community .jos-moments-carousel .multi-teaser-picture::after {
  display: none;
}

.jos-page-community .jos-moments-carousel.shop-news-edits-one--booking-carousel .multi-teaser-item {
  flex: 0 0 calc((100% - var(--jos-teaser-hairline)) / 1.35);
  max-width: calc((100% - var(--jos-teaser-hairline)) / 1.35);
}

.jos-page-community .jos-moments-carousel.shop-news-edits-one--booking-carousel .multi-teaser-picture::before {
  padding-top: 100%;
}

.jos-page-community .jos-moments-carousel .multi-teaser-picture--native img {
  border-radius: 4px;
}

.jos-page-community .jos-moments-carousel .multi-teaser-item--photo-only .multi-teaser-picture {
  cursor: grab;
}

.jos-page-community .jos-moments-carousel .multi-teaser-item--photo-only .multi-teaser-picture:active {
  cursor: grabbing;
}

@media (max-width: 1024px) {
  .jos-page-community .jos-moments-carousel.shop-news-edits-one--booking-carousel .multi-teaser-item {
    flex: 0 0 78%;
    max-width: 78%;
  }
}

/* book-us.html: idea landing page for paid ads (2026-09-29) */
.jos-book-hero .jos-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

/* book-us h1: the shared script page title since Mark 5 Nov 2026 (one H1
   size on every page); was spaced capitals from 2026-09-30 */
.jos-page-hero.jos-book-hero h1 {
  text-wrap: balance;
}

/* Van footage cover: drop the media gap so the cover and card end with the video */
.jos-video-cover-wrap .jos-section-video {
  margin-bottom: 0;
}

.jos-section .jos-truck-credit {
  color: rgba(58, 50, 12, 0.72);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 16px;
  text-align: center;
}

/* Smaller and subtler (Mark 2026-10-14): muted until hover or focus */
.jos-truck-credit-logo {
  display: block;
  margin: 24px auto 0;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  width: 32px;
}

.jos-truck-credit-logo:hover,
.jos-truck-credit-logo:focus-visible {
  opacity: 1;
}

.jos-truck-credit-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.jos-section .jos-truck-credit-logo + .jos-truck-credit {
  margin-top: 8px;
}

/* Truck section on the dark band (Mark Oct 2026): light text throughout */
.jos-section--band .jos-truck-list li,
.jos-section--dark .jos-truck-list li {
  color: var(--jos-cream);
}

.jos-section--band .jos-truck-van figcaption,
.jos-section--band .jos-truck-credit,
.jos-section.jos-section--band .jos-truck-legal {
  color: rgba(240, 244, 230, 0.8);
}

.jos-section--band .jos-truck-credit a,
.jos-section--band .jos-truck-van figcaption a {
  color: var(--jos-gold-on-dark);
}

.jos-truck-credit a {
  color: var(--jos-gold-text);
  font-weight: 600;
}

.jos-section .jos-truck-legal {
  color: rgba(58, 50, 12, 0.72);
  font-size: 13px;
  line-height: 1.6;
  margin: 32px auto 0;
  max-width: 560px;
  text-align: center;
}

.jos-offer-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin: 32px auto 0;
  max-width: 720px;
}

.jos-offer-card {
  align-items: center;
  color: var(--jos-ink);
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
}

.jos-offer-card img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jos-offer-card-label {
  color: var(--jos-gold-text);
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: auto;
  margin-top: 12px;
  text-transform: uppercase;
}

.jos-offer-card-title {
  background: var(--jos-ink);
  border-radius: 999px;
  color: var(--jos-cream);
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-top: 8px;
  padding: 12px 18px;
  text-transform: uppercase;
}

/* "Book the truck" is one word longer than "Book the van": keep it on one line at 375px */
@media (max-width: 420px) {
  .jos-offer-card-title {
    letter-spacing: 0.1em;
    padding: 12px 12px;
  }

  /* Mark round 21: "Let us come to you" wrapped and "You come to us" did not. Tighter
     tracking keeps both on one line; the label row below keeps buttons level if one wraps. */
  .jos-offer-card-label {
    letter-spacing: 0.08em;
  }
}

.jos-proof-line {
  font-size: 14px;
  margin-top: 24px;
}

.jos-hire-grid .jos-section-placeholder,
.jos-winter-card .jos-section-placeholder {
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  max-width: none;
}

.jos-winter-card {
  align-items: center;
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.jos-winter-card-photo {
  border-radius: 4px;
  height: auto;
  width: 100%;
}

.jos-winter-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 6px 0 10px;
  text-transform: uppercase;
}

.jos-proof-quotes {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.jos-proof-quotes blockquote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}

.jos-proof-quotes cite {
  color: var(--jos-gold-text);
  display: block;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.16em;
  margin-top: 6px;
  text-transform: uppercase;
}

.jos-book-final {
  text-align: center;
}

.jos-section--band .jos-btn:not(.jos-btn--gold) {
  background: var(--jos-cream);
  color: var(--jos-ink);
}

@media (min-width: 768px) {
  .jos-winter-card {
    grid-template-columns: 1fr 1fr;
  }

  .jos-proof-quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Click-to-play cover on the event montage (Services #venue, book-us) */
.jos-video-cover-wrap {
  position: relative;
}

.jos-video-cover {
  align-items: center;
  background: linear-gradient(to top, rgba(26, 22, 6, 0.75), rgba(26, 22, 6, 0.15) 60%);
  border: 0;
  border-radius: 18px;
  color: var(--jos-cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.jos-video-cover[hidden] {
  display: none;
}

.jos-video-cover-play {
  background: var(--jos-gold);
  border-radius: 50%;
  height: 72px;
  position: relative;
  width: 72px;
}

.jos-video-cover-play::after {
  border-bottom: 13px solid transparent;
  border-left: 21px solid var(--jos-cream);
  border-top: 13px solid transparent;
  content: "";
  left: 28px;
  position: absolute;
  top: 23px;
}

.jos-video-cover-label {
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.jos-video-cover:hover .jos-video-cover-play,
.jos-video-cover:focus-visible .jos-video-cover-play {
  filter: brightness(1.1);
}

.jos-video-cover:focus-visible {
  outline: 2px solid var(--jos-gold);
  outline-offset: 3px;
}

/* Plain links in paragraphs on the dark olive sections: the base link gold is for light backgrounds. */
:where(.jos-section--band, .jos-section--dark) p a:not([class]) {
  color: var(--jos-gold-on-dark);
}

.jos-review-lane-cta {
  color: var(--jos-gold-text);
}

/* FAQ page */
.jos-faq-item {
  margin-top: 28px;
}

.jos-faq-item h3 {
  margin-bottom: 6px;
}

.jos-faq-item + p {
  margin-top: 32px;
}

/* A second heading after the answers (The coffee truck) keeps its air */
.jos-faq-item + h2 {
  margin-top: 56px;
}

/* Desktop (1024px+): image-led sections sit side by side, photo one side and
   copy the other, alternating down the page (Mark Oct 2026: desktop was the
   phone layout stretched). The 1fr spacer rows centre short copy against the
   photo; tall copy just pushes them to zero. */
@media (min-width: 1024px) {
  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child) {
    column-gap: clamp(48px, 5vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr repeat(8, auto) 1fr;
    max-width: 1160px;
    row-gap: 0;
  }

  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child) > * {
    grid-column: 2;
  }

  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child)::before,
  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child)::after {
    content: "";
    grid-column: 2;
  }

  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child)::before {
    grid-row: 1;
  }

  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child)::after {
    grid-row: -2;
  }

  .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child) > .jos-section-media:first-child {
    align-self: center;
    grid-column: 1;
    grid-row: 1 / -1;
    justify-self: center;
    margin: 0;
  }

  /* Every other image-led section puts the photo on the right */
  main > .jos-section:not(.jos-section--stack):nth-of-type(even) > .jos-section-inner:has(> .jos-section-media:first-child) > *,
  main > .jos-section:not(.jos-section--stack):nth-of-type(even) > .jos-section-inner:has(> .jos-section-media:first-child)::before,
  main > .jos-section:not(.jos-section--stack):nth-of-type(even) > .jos-section-inner:has(> .jos-section-media:first-child)::after {
    grid-column: 1;
  }

  main > .jos-section:not(.jos-section--stack):nth-of-type(even) > .jos-section-inner:has(> .jos-section-media:first-child) > .jos-section-media:first-child {
    grid-column: 2;
  }

  /* Rule: copy never touches a section edge. Phones let a photo sit flush at
     the top of its section; side by side, the copy would sit flush instead
     (James Oct 2026: "The menu" heading on Jo's at Night). */
  main > .jos-section:not(.jos-section--band):not(.jos-section--dark):has(> .jos-section-inner > .jos-section-media:first-child) {
    padding-top: var(--jos-space-section-gap);
  }

  main > .jos-section--band + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(> .jos-section-inner > .jos-section-media:first-child),
  main > .jos-section--dark + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(> .jos-section-inner > .jos-section-media:first-child) {
    padding-top: var(--jos-space-section-y);
  }

  /* The phone full-bleed photo after a dark band would break out of its column */
  main > .jos-section--band + .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child,
  main > .jos-section--dark + .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child {
    border-radius: 4px;
    margin-inline: auto;
    width: auto;
  }

  /* Jo's at Night menu: full width, photo above, three menu columns
     (Mark Oct 2026: the menu was squeezed beside the photo) */
  .jos-section--stack .jos-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* First row of three starts on one line (Wines sat higher than the other
     two). Room for a sixth list: three columns, two rows. */
  .jos-section--stack .jos-menu-category:nth-child(-n + 3) {
    border-top: 0;
    padding-top: 0;
  }

  /* Food & Drink carousels: three photos across, not one huge one */
  .jos-page-day-menu .jos-menu-carousel.shop-news-edits-one--booking-carousel .multi-teaser-item,
  .jos-page-day-menu .shop-news-edits-one--menu-carousel .multi-teaser-item {
    flex: 0 0 calc((100% - 2 * var(--jos-teaser-hairline)) / 3.25);
    max-width: calc((100% - 2 * var(--jos-teaser-hairline)) / 3.25);
  }

  /* Shop: give the three coffee cards room */
  .jos-shop-grid {
    max-width: 1120px;
  }

  /* Book us (Mark Oct 2026): videos sit beside the winter card and the venue
     copy instead of stacking under them; sections widen to the 1160 grid */
  #truck > .jos-section-inner,
  #venue > .jos-section-inner {
    max-width: 1160px;
  }

  /* Copy column centred on the same axis as the photo, the CTAs and the
     media row below, so centred labels and buttons are not pulled left */
  #truck > .jos-section-inner > h2,
  #truck > .jos-section-inner > p,
  #truck > .jos-section-inner > .jos-truck-block {
    margin-inline: auto;
    max-width: 760px;
  }

  .jos-media-row-copy .jos-section-cta {
    text-align: left;
  }

  .jos-media-row-copy .jos-link-cta {
    margin-left: 0;
  }

  .jos-media-row {
    align-items: center;
    column-gap: clamp(40px, 4vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: calc(40px - 0.2em); /* r27 */
  }

  .jos-media-row--copy {
    margin-top: 0;
  }

  .jos-media-row > .jos-winter-card,
  .jos-media-row > .jos-truck-van {
    margin: 0;
  }

  /* The auto column sizes from the poster's natural width (a percentage
     max-width is ignored there), so a 720px poster ballooned the column and
     squeezed the winter card. Pin the figure to the same cap explicitly
     (book-us #venue). */
  .jos-media-row > .jos-truck-van {
    width: min(360px, calc((100svh - var(--jos-header-h, 88px) - 48px) * 480 / 854));
  }

  /* What is a Neuro Cafe: Neuro Shots and Neuro Pups each pair copy with
     their own photo, alternating sides (Mark Oct 2026) */
  #neuro-shots > .jos-section-inner {
    max-width: 1160px;
  }

  .jos-split {
    align-items: center;
    column-gap: clamp(48px, 5vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .jos-split > .jos-section-media {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin: 0;
  }

  .jos-split > .jos-split-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .jos-split--flip > .jos-split-copy {
    grid-column: 2;
  }

  .jos-split--flip > .jos-neuro-pups-photo-link {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
  }

  /* Book us proof strip on the 1160 grid. Inner pages: see "Desktop page
     header and intro" at the end of this file. */
  main > .jos-section.jos-proof > .jos-section-inner {
    max-width: 1160px;
  }

  /* Pup of the Week: photo one side, heading, bio and sign-up the other */
  .jos-potw-section .jos-potw-section-inner {
    align-items: center;
    column-gap: clamp(48px, 5vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr repeat(5, auto) 1fr;
    max-width: 1160px;
    text-align: left;
  }

  .jos-potw-section .jos-potw-section-inner::before,
  .jos-potw-section .jos-potw-section-inner::after {
    content: "";
    grid-column: 2;
  }

  .jos-potw-section .jos-potw-section-inner::before {
    grid-row: 1;
  }

  .jos-potw-section .jos-potw-section-inner::after {
    grid-row: -2;
  }

  .jos-potw-section .jos-potw-section-inner > *,
  .jos-potw-section .jos-potw-bio {
    grid-column: 2;
  }

  .jos-potw-section .jos-potw-mount {
    display: contents;
  }

  .jos-potw-section .jos-potw-figure {
    grid-column: 1;
    grid-row: 1 / -1;
    justify-self: center;
    margin: 0;
  }

  .jos-potw-section .jos-potw-photo {
    width: min(100%, 460px);
  }

  .jos-potw-section .jos-pupdates-signup--potw,
  .jos-potw-section .jos-pupdates-email-form--centered {
    margin-inline: 0;
    text-align: left;
  }
}

/* CTA line under copy: centred on phones (was an inline style on Our Coffee) */
.jos-cta-line {
  text-align: center;
}

/* ==========================================================================
   Desktop page header and intro (1024px+, Mark call 18 Oct 2026: headings and
   intros were laid out differently on every page). Opt in with
   <body class="jos-inner">. Phones are untouched: every rule is in this query.

   1. Page header  .jos-page-hero: kicker, h1, lead, all centred on one axis.
                   h1 wraps balanced inside 900px; lead and plain <p> share
                   one style and a 680px measure.
   2. Intro        .jos-section--intro: the text-only section right under the
                   header. Centred 720px column, CTA centred, so it reads as
                   part of the header.
   3. CTAs         everywhere but the intro, a CTA starts on its copy's left
                   edge (split copy, body text, contact, menu). Sections with
                   their own centred inline style (closing bands) keep it.
   4. Body text    text-only sections on pages with splits: on the 1160 grid's
                   left edge (same edge as the split copy), 760px measure.
   ========================================================================== */
@media (min-width: 1024px) {
  /* 1. Page header */
  .jos-inner .jos-page-hero {
    padding-top: 96px;
  }

  .jos-inner .jos-page-hero h1 {
    line-height: var(--jos-script-lh);
    margin-bottom: calc((var(--jos-script-lh) - 1.2) * -1em + var(--jos-script-air)); /* r30 */
    margin-top: calc(44px - 0.2em + var(--jos-script-air)); /* r27, r30 */
    top: calc((var(--jos-script-lh) - 1.2) / -2 * 1em); /* r30 */
    max-width: 900px;
    text-wrap: balance;
  }

  .jos-inner .jos-page-hero .jos-lead,
  .jos-inner .jos-page-hero > p:not([class]) {
    color: var(--jos-body);
    font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 54px auto 0; /* r31: 48 left deep descenders (Everyday, Privacy, Great Coffee, Better Days) 35px above the intro's cap height, Mark wants more air */
    max-width: 680px;
  }

  .jos-inner .jos-page-hero > p:not([class]) + p:not([class]) {
    margin-top: 12px;
  }

  /* Reviews has no script header: centre its label, title and intro to match */
  .jos-inner main > .jos-review-ticker-band:first-child {
    padding-top: 96px;
  }

  .jos-inner .jos-review-ticker-band-inner > :is(.jos-review-band-label, h1, .jos-community-intro) {
    margin-inline: auto;
    text-align: center;
  }

  .jos-inner .jos-review-ticker-band-inner > .jos-community-intro {
    line-height: 1.7;
  }

  /* 2. Intro */
  .jos-inner .jos-section--intro > .jos-section-inner {
    max-width: 720px;
    text-align: center;
  }

  /* 3. CTAs follow their copy: outside the intro and centred bands, a CTA
     starts on the text's left edge instead of centring in the column */
  .jos-inner .jos-section:not(.jos-section--intro) > .jos-section-inner:not([style]) > :is(.jos-cta-line, .jos-section-cta) {
    text-align: left;
  }

  .jos-inner .jos-section:not(.jos-section--intro) > .jos-section-inner:not([style]) > .jos-section-cta > :first-child {
    margin-left: 0;
  }

  .jos-inner .jos-section-inner:has(> .jos-section-media:first-child) > .jos-partner-row {
    justify-content: flex-start;
  }

  /* 4. Body text on pages with splits */
  .jos-inner main:has(> .jos-section > .jos-section-inner > .jos-section-media:first-child) > .jos-section:not(.jos-section--intro, .jos-section--stack, .jos-community-signup) > .jos-section-inner:not(:has(> .jos-section-media:first-child, .jos-split), .jos-section-inner--wide, [style]) {
    max-width: 1160px;
  }

  .jos-inner main:has(> .jos-section > .jos-section-inner > .jos-section-media:first-child) > .jos-section:not(.jos-section--intro, .jos-section--stack, .jos-community-signup) > .jos-section-inner:not(:has(> .jos-section-media:first-child, .jos-split), .jos-section-inner--wide, [style]) > p {
    max-width: 760px;
  }

  /* Photo-above sections (Jo's at Night menu): title and blurb centred under
     the centred photo instead of hanging off the column's left edge */
  .jos-inner .jos-section--stack > .jos-section-inner > :is(h2, p) {
    margin-inline: auto;
    max-width: 760px;
    text-align: center;
  }

  /* Jo's at Night menu (Mark 5 Nov 2026): photo left, title and blurb right,
     the three menu columns full width underneath */
  .jos-inner #menu.jos-section--stack > .jos-section-inner {
    align-items: center;
    column-gap: clamp(48px, 5vw, 88px);
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    max-width: 1160px;
  }

  .jos-inner #menu.jos-section--stack > .jos-section-inner > .jos-section-media {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: auto;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .jos-inner #menu.jos-section--stack > .jos-section-inner > :is(h2, p) {
    grid-column: 2;
    margin-inline: 0;
    max-width: 640px;
    text-align: left;
  }

  .jos-inner #menu.jos-section--stack > .jos-section-inner > h2 {
    align-self: end;
  }

  .jos-inner #menu.jos-section--stack > .jos-section-inner > p {
    align-self: start;
  }

  .jos-inner #menu.jos-section--stack > .jos-section-inner > .jos-menu {
    grid-column: 1 / -1;
  }

  /* Contact (Mark 30 Oct 2026): cafe hours left, night hours right, the pair
     centred in the section. Day and time still sit together in each column.
     Phones and tablets keep the stacked list. */
  .jos-inner .jos-hours-list {
    align-items: start;
    column-gap: 80px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    max-width: none;
  }

  .jos-inner .jos-hours-list > .jos-hours-item + .jos-hours-item {
    margin-top: 0;
  }

  /* Contact (Mark 30 Oct 2026): the Call line and its button centre under the
     two hours columns */
  .jos-inner #find-us .jos-hours-list ~ :is(p, .jos-section-cta) {
    margin-inline: auto;
    text-align: center;
  }

  /* Privacy: "Last updated" was touching the first heading */
  .jos-inner .jos-privacy-updated {
    margin-bottom: 32px;
  }
}

/* ==========================================================================
   Desktop spacing pass (1024px+, Mark 20 Oct 2026 photos and voice notes).
   Phones are untouched: every rule is in this query.

   1. Rhythm      inner pages get one roomier set of spacing tokens, so every
                  section gap grows together instead of page by page.
   2. Dividers    a divider inside a band (Neuro Shots to Neuro Pups) leaves
                  the same gap as a section edge (Neurodiversity to Neuro Shots).
   3. Page nav    the link block above the footer repeated the footer links.
   4. Sourcing    partner logos and the shop button centred as one group.
   5. Night menu  rows and columns were squashed.
   6. Events      the four evening cards sit in a row; no half card, no rail.
   The script title to subtitle gap (48px) is in the page header block above;
   js/jos-fold.js keeps a photo from peeking a few pixels above the fold.
   ========================================================================== */
@media (min-width: 1024px) {
  /* 1. Rhythm */
  .jos-inner {
    --jos-space-section-y: 96px;
    --jos-space-section-gap: 56px;
    --jos-space-media-before: 40px;
    --jos-space-hero-bottom: 72px;
  }

  /* 2. Dividers */
  .jos-inner .jos-section-divider {
    margin-block: var(--jos-space-section-y);
  }

  /* 3. Page nav */
  .jos-page-nav {
    display: none;
  }

  /* 4. Sourcing */
  #sourcing .jos-partner-row {
    justify-content: center;
  }

  .jos-inner #sourcing .jos-section-inner > .jos-cta-line {
    text-align: center;
  }

  /* 5. Night menu */
  .jos-section--stack .jos-menu {
    gap: 0 64px;
    margin-top: 48px;
  }

  .jos-section--stack .jos-menu-category {
    padding-bottom: 12px;
    padding-top: 44px;
  }

  .jos-section--stack .jos-menu-category h3 {
    margin-bottom: 18px;
  }

  .jos-section--stack .jos-menu-list li {
    padding-block: 15px;
  }

  /* 6. Events */
  .jos-evening-rail {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin: 40px 0 0;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .jos-evening-slide {
    flex: none;
  }
}

/* ==========================================================================
   Desktop page rows and hero banner (Mark WhatsApp 30 Oct 2026).
   DESKTOP ONLY, 1024px and up. Phones and tablets keep exactly the layout
   they had before: Mark, 30 Oct 12:31, "mobile was perfect as it was".
   Pages with <body class="jos-rows"> (about, what-is, our-coffee,
   cafe-at-night, community, contact):

   1. Banner   .jos-banner: a hero image under the page title, edge to edge,
               a 3:1 letterbox (1920x640, 1280x427 at a 1280 window). Desktop
               only; there is no phone version and no hero-*-mobile file.
               Empty, it is a blended-fade collage of the page's own photos
               (Mark, 30 Oct 13:09: like the book-us band). Drop
               hero-<page>.webp into assets and run npm run heroes:apply.
   2. Rows     a small image beside the copy, alternating sides. The markup is
               the phone markup (photo first, then copy); this block only
               re-lays it out. .jos-row-flip puts the photo on the right.
               .jos-row-media is a photo that only exists on desktop (Contact).
   3. Titles   the page title on one line. --jos-title-r is the title's
               natural width in em, so the size scales down before it can
               overflow.
   ========================================================================== */

.jos-banner,
.jos-row-media {
  display: none;
}

/* Below 1024 the banner is hidden, but it still sits between the page header
   and the first section in the markup. Keep the rule that spaces a photo-first
   section under the header (the .jos-page-hero + .jos-section rule near the top)
   matching, so tablets and phones lay out exactly as before. */
@media (max-width: 1023px) {
  .jos-rows .jos-page-hero + :is(.jos-banner, .jos-banner-wrap) + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(
      > .jos-section-inner
      > .jos-section-media:first-child
    ) {
    padding-top: var(--jos-space-section-gap);
  }
}

@media (min-width: 1024px) {
  /* 1. Banner */
  .jos-banner {
    aspect-ratio: 3 / 1;
    display: block;
    height: auto;
    margin: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }

  .jos-banner--empty {
    background:
      linear-gradient(180deg, rgba(173, 131, 48, 0) 0%, rgba(173, 131, 48, 0.14) 100%),
      repeating-linear-gradient(135deg, rgba(58, 50, 12, 0.04) 0 2px, transparent 2px 16px),
      #dde4c4;
    border-block: 1px solid rgba(173, 131, 48, 0.4);
  }

  /* Collage: the page's own photos side by side, each fading into the next
     over a shared overlap (alpha sums to 1, so the blend is clean). Same
     olive tint as the book-us band (rgba(58, 50, 12)), lighter because there
     is no text on it. --w is each photo's width, --fade the share of that
     width that blends. Three photos by default, .jos-banner--duo for two.
     Mark's hero-<page>.webp replaces the whole block (heroes:apply). */
  .jos-banner--collage {
    --fade: 31%;
    --w: 42%;
    background: #3a320c;
    border-block: 0;
    overflow: hidden;
    position: relative;
  }

  .jos-banner--duo {
    --fade: 24.6%;
    --w: 57%;
  }

  .jos-banner--collage img {
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    width: var(--w);
  }

  .jos-banner--collage img:nth-child(1) {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent);
  }

  .jos-banner--collage img:nth-child(2) {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
    left: calc((100% - var(--w)) / 2);
    mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  }

  .jos-banner--collage img:last-child {
    left: auto;
    right: 0;
  }

  .jos-banner--collage img:nth-child(2):last-child {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade));
    mask-image: linear-gradient(to right, transparent, #000 var(--fade));
  }

  .jos-banner--collage img:nth-child(3) {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade));
    mask-image: linear-gradient(to right, transparent, #000 var(--fade));
  }

  .jos-banner--collage::after {
    background:
      linear-gradient(to top, rgba(58, 50, 12, 0.5), rgba(58, 50, 12, 0) 55%),
      linear-gradient(180deg, rgba(173, 131, 48, 0.16), rgba(173, 131, 48, 0.16));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  /* Title block above a banner: less air below, the banner is the next thing */
  .jos-page-hero:has(+ :is(.jos-banner, .jos-banner-wrap)) {
    padding-bottom: clamp(28px, 4vw, 40px) !important;
  }

  /* Section spacing on rows pages: a photo-first section spaces like any
     other section (96px, 56px between same-surface neighbours). The shared
     photo-first rules, which tuck a photo flush under the section above, are
     for the stacked phone layout and would squeeze these rows. */
  .jos-rows main > .jos-section:has(> .jos-section-inner > .jos-section-media:first-child) {
    padding-bottom: var(--jos-space-section-y) !important;
    padding-top: var(--jos-space-section-y) !important;
  }

  .jos-rows main > .jos-section:not(.jos-section--band):not(.jos-section--dark) + .jos-section:not(.jos-section--band):not(.jos-section--dark):has(> .jos-section-inner > .jos-section-media:first-child) {
    padding-top: 0 !important;
  }

  .jos-rows main > .jos-section:not(.jos-section--band):not(.jos-section--dark):has(> .jos-section-inner > .jos-section-media:first-child):has(+ .jos-section:not(.jos-section--band):not(.jos-section--dark)),
  .jos-rows main > .jos-section:not(.jos-section--band):not(.jos-section--dark):has(+ .jos-section:not(.jos-section--band):not(.jos-section--dark) > .jos-section-inner > .jos-section-media:first-child) {
    padding-bottom: var(--jos-space-section-gap) !important;
  }

  /* 2. Rows: photo-first sections (photo is the first child of the section) */
  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child) {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  }

  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child) > *,
  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child)::before,
  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child)::after {
    grid-column: 2;
  }

  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner:has(> .jos-section-media:first-child) > .jos-section-media:first-child {
    grid-column: 1;
    max-width: min(100%, 420px);
  }

  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner.jos-row-flip:has(> .jos-section-media:first-child) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }

  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner.jos-row-flip:has(> .jos-section-media:first-child) > *,
  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner.jos-row-flip:has(> .jos-section-media:first-child)::before,
  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner.jos-row-flip:has(> .jos-section-media:first-child)::after {
    grid-column: 1;
  }

  .jos-rows main > .jos-section:not(.jos-section--stack) > .jos-section-inner.jos-row-flip:has(> .jos-section-media:first-child) > .jos-section-media:first-child {
    grid-column: 2;
  }

  /* 2. Rows: desktop-only photo (Contact). Same grid, photo last in the markup. */
  .jos-rows .jos-section-inner.jos-row {
    column-gap: clamp(48px, 5vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-rows: 1fr repeat(8, auto) 1fr;
    max-width: 1160px;
    row-gap: 0;
  }

  .jos-rows .jos-section-inner.jos-row.jos-row-flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }

  .jos-rows .jos-section-inner.jos-row > *,
  .jos-rows .jos-section-inner.jos-row::before,
  .jos-rows .jos-section-inner.jos-row::after {
    grid-column: 2;
  }

  .jos-rows .jos-section-inner.jos-row.jos-row-flip > *,
  .jos-rows .jos-section-inner.jos-row.jos-row-flip::before,
  .jos-rows .jos-section-inner.jos-row.jos-row-flip::after {
    grid-column: 1;
  }

  .jos-rows .jos-section-inner.jos-row::before,
  .jos-rows .jos-section-inner.jos-row::after {
    content: "";
  }

  .jos-rows .jos-section-inner.jos-row::before {
    grid-row: 1;
  }

  .jos-rows .jos-section-inner.jos-row::after {
    grid-row: -2;
  }

  .jos-rows .jos-section-inner.jos-row > .jos-row-media {
    align-self: center;
    border-radius: 4px;
    display: block;
    grid-column: 1;
    grid-row: 1 / -1;
    height: auto;
    justify-self: center;
    margin: 0;
    max-height: calc(100svh - var(--jos-header-h, 88px) - 48px);
    max-width: min(100%, 420px);
    object-fit: contain;
    width: auto;
  }

  .jos-rows .jos-section-inner.jos-row.jos-row-flip > .jos-row-media {
    grid-column: 2;
  }

  /* Sections without a photo share the rows' 1160 grid and left edge */
  .jos-rows.jos-inner main:has(> .jos-section > .jos-section-inner > .jos-row-media) > .jos-section:not(.jos-section--intro, .jos-section--stack, .jos-community-signup) > .jos-section-inner:not(.jos-row, .jos-section-inner--wide, [style]) {
    max-width: 1160px;
  }

  .jos-rows.jos-inner main:has(> .jos-section > .jos-section-inner > .jos-row-media) > .jos-section:not(.jos-section--intro, .jos-section--stack, .jos-community-signup) > .jos-section-inner:not(.jos-row, .jos-section-inner--wide, [style]) > p {
    max-width: 760px;
  }

  /* CTAs follow the copy's left edge inside a Contact row */
  .jos-rows .jos-section-inner.jos-row > :is(.jos-cta-line, .jos-section-cta) {
    text-align: left;
  }

  /* Our Coffee, Sourcing: partner logos centred on the column, the same centre as the shop button under them (Mark 30 Oct, button 18px off the middle logo) */
  .jos-rows #sourcing .jos-partner-row {
    justify-content: center;
  }

  .jos-rows #sourcing .jos-section-inner > .jos-cta-line {
    text-align: left;
  }

  /* What is a Neuro Cafe: Neuro Shots copy | photo, then Neuro Pups photo | copy */
  .jos-rows .jos-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }

  .jos-rows .jos-split--flip {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  }

  .jos-rows .jos-split > .jos-section-media,
  .jos-rows .jos-split > .jos-neuro-pups-photo-link {
    max-width: min(100%, 420px);
  }

  .jos-rows .jos-split--flip > .jos-neuro-pups-photo-link {
    justify-self: center;
    margin: 0;
  }

  .jos-rows .jos-split > .jos-neuro-pups-photo-link img {
    width: auto;
  }

  /* 3. Titles on one line */
  .jos-rows .jos-page-hero h1 {
    font-size: min(var(--jos-script-size), calc((100vw - 140px) / var(--jos-title-r, 11)));
    max-width: none;
    text-wrap: nowrap;
    white-space: nowrap;
  }

  .jos-rows .jos-page-hero h1 br {
    display: none;
  }

  /* 4. Rhythm (Mark 30 Oct, Sustainability and Ethical Practices "cramped").
     Two sections on the same surface sat 56px apart while a coloured band
     edge gets 96px each side. Same-surface neighbours now leave 96px, so
     every gap between two blocks of copy on the rows pages is one of two
     sizes: 96 on one surface, 192 across a band. */
  .jos-rows {
    --jos-space-section-gap: 96px;
  }

  /* 5. CTA buttons centred under their column (Mark 30 Oct: "button placement
     like this one should probably be centralised"). Phones already centre
     them. Only where the button sits under a text column beside a photo
     (and the Our Coffee sourcing band). Sections of full-width copy with no
     photo (Community Hire Jo's, Contact find us) keep it on the copy's left
     edge, and the closing bands with their own inline centring are untouched. */
  .jos-rows .jos-section:not(.jos-section--intro) > .jos-section-inner:not([style]):has(> .jos-section-media:first-child) > :is(.jos-cta-line, .jos-section-cta),
  .jos-rows .jos-section-inner.jos-row > :is(.jos-cta-line, .jos-section-cta),
  .jos-rows #sourcing .jos-section-inner > .jos-cta-line {
    text-align: center;
  }

  .jos-rows .jos-section:not(.jos-section--intro) > .jos-section-inner:not([style]):has(> .jos-section-media:first-child) > .jos-section-cta.jos-cta-row > .jos-btn:first-child {
    margin-left: 6px;
  }

  /* Sourcing: a little more air between the logos and the button */
  .jos-rows #sourcing .jos-section-inner > .jos-cta-line {
    margin-top: 28px;
  }

  /* 6. Our Coffee intro: no button, a thin divider into the first section
     (Mark 30 Oct: "lose that button ... maybe put a dividing line"). */
  .jos-page-our-coffee #story > .jos-section-inner::after {
    border-top: 1px solid rgba(173, 131, 48, 0.42);
    content: "";
    display: block;
    margin: 70px auto 0;
    max-width: 480px;
    width: 100%;
  }

  .jos-page-our-coffee.jos-rows main > #story {
    padding-bottom: 70px !important;
  }
}

/* Our Coffee, Sustainability: the three accreditation logos sit beside the copy on desktop (Mark 31 Oct 2026).
   Phones and tablets keep the stacked layout, logos under the text. */
@media (min-width: 1024px) {
  .jos-rows .jos-section-inner.jos-sustain {
    align-items: center;
    display: grid;
    gap: 64px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    max-width: 1160px;
  }

  .jos-rows .jos-sustain-copy > h2:first-child {
    margin-top: 0;
  }

  .jos-rows .jos-sustain-logos {
    justify-content: center;
    margin: 0;
  }
}

/* Contact: the map leads the page, so it sits tight under the title and clear above the hours */
#find-us .jos-section-inner > .jos-map-wrap:first-child {
  margin-top: 0;
}

#find-us .jos-section-inner > .jos-map-wrap + .jos-hours-list {
  margin-top: clamp(32px, 4vw, 44px);
}

#find-us:has(> .jos-section-inner > .jos-map-wrap:first-child) {
  padding-top: 0;
}

/* Evening Events stays out of the layout while there are no published events (display rules above would otherwise override [hidden]) */
#events[hidden] {
  display: none !important;
}

/* Mark round 21 (8 Nov 2026) */

/* Reviews hero: label, title and intro centred on phone and tablet too (desktop already is, 1024px+) */
@media (max-width: 1023px) {
  .jos-inner .jos-review-ticker-band-inner > :is(.jos-review-band-label, h1, .jos-community-intro) {
    margin-inline: auto;
    text-align: center;
  }
}

/* "Leave us a Google review" stays on one line, centred. At 360px it wrapped and left REVIEW alone
   under a broken double underline. */
.jos-review-leave .jos-link-cta,
.jos-dhome-ctas .jos-link-cta {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .jos-review-leave .jos-link-cta {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-inline: 0;
  }
}

@media (max-width: 359px) {
  .jos-review-leave .jos-link-cta {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}
