/* Homepage, desktop only (1024px+): business-to-business lead for event organisers
   and truck hire buyers (Mark call, 18 Oct 2026). Below 1024px nothing here applies
   except hiding .jos-dhome, so mobile renders as before.
   Photos keep their intrinsic ratio: width 100%, height auto, no object-fit. */

.jos-dhome {
  display: none;
}

@media (min-width: 1024px) {
  /* Mobile homepage blocks that the desktop layout replaces */
  #hero,
  .jos-home-intro,
  .home-page > .multi-teaser {
    display: none;
  }

  .jos-dhome {
    color: var(--jos-ink);
    display: block;
  }

  .jos-dhome img {
    display: block;
    height: auto;
    width: 100%;
  }

  .jos-dhome h2,
  .jos-dhome-title {
    color: var(--jos-ink);
    font-family: "Baron Neue", sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0 0 20px;
  }

  .jos-dhome h2 {
    font-size: clamp(30px, 2.8vw, 40px);
  }

  .jos-dhome p {
    color: var(--jos-body);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 16px;
  }

  .jos-dhome .jos-dhome-label {
    color: var(--jos-gold-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
    text-transform: uppercase;
  }

  .jos-dhome .jos-dhome-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0 32px;
    margin: 8px 0 0;
  }

  .jos-dhome .jos-dhome-ctas .jos-link-cta {
    margin: 0;
  }

  /* Hero: copy left, festival truck photo right */
  .jos-dhome-hero {
    align-items: center;
    column-gap: clamp(48px, 5vw, 80px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1280px;
    padding: clamp(40px, 4.5vw, 64px) 56px;
  }

  .jos-dhome .jos-dhome-title {
    color: var(--jos-ink);
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.15;
    margin-bottom: 24px;
  }

  .jos-dhome .jos-dhome-lead {
    font-size: 19px;
    margin-bottom: 20px;
    max-width: 34em;
  }

  .jos-dhome .jos-dhome-proof {
    font-size: 15px;
    margin-top: 28px;
  }

  .jos-dhome-hero-img {
    border-radius: 2px;
  }

  /* Alternating bands: brand gold tint on cream, then plain cream */
  .jos-dhome-band {
    background: rgba(173, 131, 48, 0.08);
  }

  .jos-dhome-band,
  .jos-dhome-section {
    padding: clamp(72px, 7vw, 104px) 56px;
  }

  .jos-dhome-split {
    align-items: center;
    column-gap: clamp(48px, 5vw, 80px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    margin: 0 auto;
    max-width: 1168px;
  }

  .jos-dhome-split--flip > .jos-dhome-text {
    order: 2;
  }

  .jos-dhome-split--cafe {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .jos-dhome .jos-dhome-phone {
    font-size: 15px;
    margin-top: 12px;
  }

  /* 2 x 2 photo grid, caption under each photo */
  .jos-dhome-grid {
    display: grid;
    gap: 20px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* Truck event photos open the matching Instagram post (Mark, 9 Nov 2026, round 22) */
  .jos-dhome-grid-link {
    color: inherit;
    display: block;
    text-decoration: none;
  }

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

  .jos-dhome-grid-link:focus-visible {
    outline: 2px solid var(--jos-ink);
    outline-offset: 4px;
  }

  .jos-dhome-grid span {
    color: var(--jos-ink);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
  }

  /* Reviews: dark band, three quotes */
  .jos-dhome-dark {
    background: var(--jos-ink);
    padding: clamp(72px, 7vw, 104px) 56px;
    text-align: center;
  }

  .jos-dhome-dark h2 {
    color: var(--jos-cream);
  }

  .jos-dhome-dark .jos-dhome-label {
    color: var(--jos-gold-on-dark);
  }

  /* Lead review (Mark, 9 Nov 2026, round 22): Suzie Dockley, full text, above the three short quotes */
  .jos-dhome-lead-quote {
    margin: 24px auto 40px;
    max-width: 860px;
    text-align: center;
  }

  .jos-dhome-lead-quote blockquote {
    color: var(--jos-cream);
    font-size: 24px;
    font-style: italic;
    line-height: 1.55;
    margin: 0 0 16px;
  }

  .jos-dhome-lead-quote figcaption {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
  }

  .jos-dhome-lead-quote cite {
    color: var(--jos-gold-on-dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .jos-dhome-lead-stars {
    color: var(--jos-gold-on-dark);
    font-size: 15px;
    letter-spacing: 0.15em;
  }

  .jos-dhome-quotes {
    column-gap: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 24px auto 32px;
    max-width: 1168px;
    padding: 0;
  }

  .jos-dhome-quotes blockquote {
    color: var(--jos-cream);
    font-size: 21px;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 14px;
  }

  .jos-dhome-quotes cite {
    color: var(--jos-gold-on-dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .jos-dhome-dark .jos-dhome-ctas {
    justify-content: center;
  }

  .jos-dhome-dark .jos-link-cta {
    color: var(--jos-gold-on-dark);
  }

  .jos-dhome-dark .jos-link-cta:hover,
  .jos-dhome-dark .jos-link-cta:focus-visible {
    color: var(--jos-cream);
  }

  /* Enquiry close */
  .jos-dhome-final {
    text-align: center;
  }

  .jos-dhome-final .jos-dhome-ctas {
    justify-content: center;
    margin-bottom: 16px;
  }

  .jos-dhome .jos-dhome-ctas--list {
    gap: 0 28px;
  }
}
