/* Staging 2 homepage: wide-desktop vertical rhythm from the 1920px Figma frames.
 * Keep visual content, container widths, and smaller responsive layouts intact.
 */
/* The supplied desktop help strip is 40px at normal text size. Let text zoom grow it. */
@media (min-width: 981px) {
  html body.home main section.start-strip {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 4px 80px !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
  }

  html body.home main section.start-strip > a {
    box-sizing: border-box !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }
}

@media (min-width: 1600px) {
  html body.home main > section.gallery#gallery {
    margin-top: 20px !important;
    margin-bottom: 60px !important;
  }

  html body.home main > section.products#catalogue {
    box-sizing: border-box !important;
    padding-top: 20px !important;
    padding-bottom: 60px !important;
  }

  html body.home main > section.catalogue-band {
    margin-top: 50px !important;
    margin-bottom: 0 !important;
  }

  html body.home main > section.warehouse#about {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
  }

  html body.home main > section.testimonials#testimonials {
    margin-top: 0 !important;
    margin-bottom: 50px !important;
  }

  html body.home main > section.logos {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  html body.home main > section.faq#faq {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  /* The five closed 62px rows and 20px gaps naturally occupy 390px. */
  html body.home main > section.faq#faq > .faq-list {
    min-height: 0 !important;
  }

  html body.home main > section.instagram#social {
    padding-top: 60px !important;
  }
}


/* Scoped footer Sign Up correction. Append after the existing responsive rules. */
html body footer.site-footer#footer-contact .footer-newsletter button,
html body footer.site-footer#footer-contact .footer-newsletter form:focus-within button {
  color: #fff !important;
  background: #3f778e !important;
  border-color: #3f778e !important;
  border-radius: 10px !important;
}

@media (hover: hover) and (pointer: fine) {
  html body footer.site-footer#footer-contact .footer-newsletter button:hover,
  html body footer.site-footer#footer-contact .footer-newsletter form:focus-within button:hover {
    background: #34677c !important;
    border-color: #34677c !important;
  }
}

html body footer.site-footer#footer-contact .footer-newsletter button:active,
html body footer.site-footer#footer-contact .footer-newsletter form:focus-within button:active {
  background: #2c596c !important;
  border-color: #2c596c !important;
}

html body footer.site-footer#footer-contact .footer-newsletter button:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 2px !important;
}

/* Newsletter field: blue interaction border, matching the Sign Up button. */
html body footer.site-footer#footer-contact .footer-newsletter input[type='email'] {
  box-sizing: border-box !important;
  border: 2px solid transparent !important;
}

html body footer.site-footer#footer-contact .footer-newsletter input[type='email']:is(:hover, :focus, :focus-visible, :active) {
  border-color: #3f778e !important;
  outline: none !important;
}

@media (min-width: 1200px) {
  html body footer.site-footer#footer-contact .footer-newsletter button {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    padding: 10px 30px !important;
  }
}


/* Contact form fields rest in black and turn blue when clicked or tabbed to. */
html body.contact-page main .contact-form-card :is(input, textarea) {
  border: 1.5px solid #000 !important;
  outline: none !important;
  box-shadow: none !important;
}

html body.contact-page main .contact-form-card :is(input, textarea):hover:not(:focus) {
  border-width: 1.5px !important;
  border-color: #000 !important;
}

html body.contact-page main .contact-form-card :is(input, textarea):is(:focus, :focus-visible) {
  border-width: 1.5px !important;
  border-color: #3f778e !important;
}


/* Prevent iOS Safari from lifting a Services tile image into a large drag/callout preview. */
@media (max-width: 980px) {
  html body.home main section.services#services > .service-tabs .service-tab,
  html body.home main section.services#services > .service-tabs .service-art,
  html body.home main section.services#services > .service-tabs picture,
  html body.home main section.services#services > .service-tabs img {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  html body.home main section.services#services > .service-tabs img {
    -webkit-user-drag: none !important;
  }
}


/* Touch can leave :hover on the CTA after the Quick Form closes. Restore its idle
   white/blue pulse once the touch is released, while retaining keyboard focus. */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  html body[class]:not(.toc-qf-modal-open) .site-header .header-cta:is(:hover, :focus):not(:active):not(:focus-visible) {
    --toc-header-cta-pulse: #fff !important;
    color: #000 !important;
    background: var(--toc-header-cta-pulse) !important;
    border-color: var(--toc-header-cta-pulse) !important;
    animation: toc-header-cta-quick-flash .6s steps(1, end) infinite !important;
  }

  html body[class]:not(.toc-qf-modal-open) .site-header .header-cta:is(:hover, :focus):not(:active):not(:focus-visible) .header-cta-text {
    color: #000 !important;
  }

  html body[class]:not(.toc-qf-modal-open) .site-header .header-cta:is(:hover, :focus):not(:active):not(:focus-visible) .header-cta-mobile {
    filter: none !important;
  }
}

/* The mobile FAQ up caret is a real close button, not an inert drawing. */
@media (max-width: 980px) {
  html body.home .faq details[open] p:has(.faq-collapse)::after {
    content: none !important;
    display: none !important;
  }

  html body.home .faq details[open] p .faq-collapse {
    box-sizing: border-box !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 8px !important;
    z-index: 2 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    color: transparent !important;
    background: transparent url('../rsc/icons/faq-up-caret.png') center / 27px 17px no-repeat !important;
    box-shadow: none !important;
    transform: translateX(-50%) !important;
    cursor: pointer !important;
    touch-action: manipulation;
  }

  html body.home .faq details[open] p .faq-collapse:focus-visible {
    outline: 2px solid #7eb7ce !important;
    outline-offset: 2px !important;
  }
}

/* Match the mobile menu's blue focus language instead of the legacy gold ring. */
@media (max-width: 980px) {
  html body .site-header .mobile-menu-button:focus-visible {
    outline: 2px solid #7eb7ce !important;
    outline-offset: 3px !important;
  }
}

/* Keep mobile testimonials compact without clipping the longest quote. */
@media (max-width: 520px) {
  html body.home main section.testimonials#testimonials {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  html body.home main section.testimonials#testimonials > h2 {
    margin-bottom: 42px !important;
    line-height: 1.04 !important;
  }

  html body.home main section.testimonials#testimonials .testimonial-slider {
    --toc-testimonial-mobile-card-height: min(298.22px, 71.687vw);
  }

  html body.home main section.testimonials#testimonials .testimonial-grid article:not([hidden]) > h3 {
    flex: 0 0 calc(min(60px, 14.4230769vw) - 20px) !important;
    height: calc(min(60px, 14.4230769vw) - 20px) !important;
    min-height: calc(min(60px, 14.4230769vw) - 20px) !important;
    max-height: calc(min(60px, 14.4230769vw) - 20px) !important;
  }

  html body.home main section.testimonials#testimonials .testimonial-grid article:not([hidden]) > p {
    line-height: 1.2 !important;
  }
}

/* The phone logo strip shows one complete logo with its neighbours in view. */
@media (max-width: 520px) {
  html body.home main section.logos {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  html body.home main section.logos .logo-track {
    --logo-item-width: 170px !important;
    height: 94px !important;
    gap: 18px !important;
    animation-duration: 22.9s !important;
  }

  html body.home main section.logos .logo-item {
    flex: 0 0 170px !important;
    width: 170px !important;
    max-width: 170px !important;
    height: 75px !important;
    transform: none !important;
  }

  html body.home main section.logos .logo-item img {
    width: 170px !important;
    max-width: 170px !important;
    height: 75px !important;
    transform: none !important;
  }
}

@media (max-width: 360px) {
  html body.home main section.logos .logo-track {
    --logo-item-width: 145px !important;
    height: 84px !important;
    animation-duration: 19.85s !important;
  }

  html body.home main section.logos .logo-item {
    flex-basis: 145px !important;
    width: 145px !important;
    max-width: 145px !important;
    height: 64px !important;
  }

  html body.home main section.logos .logo-item img {
    width: 145px !important;
    max-width: 145px !important;
    height: 64px !important;
  }
}

/* Trim the three image-led mobile sections while retaining their image and CTAs. */
@media (max-width: 520px) {
  html body.home main section#gallery.gallery {
    height: max(610px, calc(min(164.734vw, 682px) - 40px)) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  html body.home main section#gallery.gallery .gallery-content {
    bottom: 24px !important;
  }

  html body.home main section#gallery.gallery .gallery-content > p.gallery-kicker {
    margin-bottom: 20px !important;
  }

  html body.home main section#gallery.gallery .gallery-content > p:not(.gallery-kicker) {
    line-height: 1.35 !important;
    margin-bottom: 30px !important;
  }

  html body.home main section.catalogue-band {
    height: auto !important;
    min-height: 866px !important;
    max-height: none !important;
  }

  html body.home main section.catalogue-band .catalogue-art,
  html body.home main section.catalogue-band .catalogue-art img {
    height: 100% !important;
  }

  html body.home main section.catalogue-band > .catalogue-live-copy {
    padding-top: 446px !important;
  }

  html body.home main section.catalogue-band > .catalogue-live-copy > p,
  html body.home main section.catalogue-band > .catalogue-live-copy > h2,
  html body.home main section.catalogue-band > .catalogue-live-copy > h2 .catalogue-mood-word {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    line-height: 50px !important;
  }

  html body.home main section.catalogue-band > .catalogue-live-copy > .catalogue-description {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 30px !important;
    line-height: 21px !important;
  }

  html body.home main section.catalogue-band > .catalogue-live-copy > .catalogue-actions {
    margin-top: 30px !important;
  }

  html body.home main section.warehouse#about {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: 522px auto !important;
  }

  html body.home main section.warehouse#about > .warehouse-collage {
    height: 522px !important;
    min-height: 522px !important;
    max-height: 522px !important;
    grid-template-rows: 261px 261px !important;
  }

  html body.home main section.warehouse#about > .warehouse-panel {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    gap: 24px !important;
  }

  html body.home main section.warehouse#about .warehouse-panel .warehouse-copy address {
    line-height: 24px !important;
  }
}

/* Finish the mobile Previous Events cards with the same rounded frame as the photo. */
@media (max-width: 640px) {
  html body.previous-events-page .previous-events-list .event-card {
    border-radius: 19.34px !important;
    overflow: hidden !important;
  }

  html body.previous-events-page .previous-events-list .event-card-media,
  html body.previous-events-page .previous-events-list .event-card-media img {
    border-radius: 19.34px !important;
  }

  html body.previous-events-page .previous-events-list .event-card-copy {
    border-radius: 0 0 19.34px 19.34px !important;
  }

  html body.previous-events-page .previous-events-list .event-card-media:focus-visible {
    outline: 2px solid #3f778e !important;
    outline-offset: -2px !important;
  }
}

/* Bring the two-line mobile Contact form heading a little closer together. */
@media (max-width: 520px) {
  html body.contact-page main .contact-form-card h2:not(#toc-h2-size-lock) {
    line-height: 42px !important;
  }
}

/* Keep both live Terms titles left-aligned within the mobile content gutters. */
@media (max-width: 780px) {
  html body.terms-page main .terms-hero .policy-hero-copy,
  html body.terms-page main .terms-hero .policy-hero-copy h1,
  html body.terms-page main .terms-hero .policy-hero-copy p {
    text-align: left !important;
  }

  html body.terms-page main .terms-hero .policy-hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 12px !important;
    font-size: clamp(30px, 8.7vw, 40px) !important;
    line-height: 1.04 !important;
  }

  html body.terms-page.policy-page main .policy-content.terms-content > h2:not(#toc-terms-title-lock) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    font-size: clamp(28px, 8.2vw, 34px) !important;
    line-height: 1.12 !important;
    text-align: left !important;
    white-space: normal !important;
  }
}

/* The supplied mobile banner continues to 780px; keep its live text box usable there. */
@media (min-width: 521px) and (max-width: 780px) {
  html body.terms-page main .terms-hero .policy-hero-copy {
    inset: 67% 24px auto 24px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.terms-page main .terms-hero .policy-hero-copy p {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.3 !important;
  }
}

/* Signal that the mobile event cards continue sideways without covering a card. */
html body.previous-events-page .previous-events-list .event-card-scroll-hint {
  display: none;
}

@media (max-width: 640px) {
  html body.previous-events-page .previous-events-list {
    padding-top: 32px !important;
  }

  html body.previous-events-page .previous-events-list .event-card-scroll-hint {
    position: absolute;
    top: 8px;
    left: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: min(414px, 100%);
    height: 16px;
    margin: 0;
    padding: 0 12px;
    color: #3f778e;
    font-family: 'Inter', 'Instrument Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0;
    white-space: nowrap;
    transform: translateX(-50%);
    pointer-events: none;
  }
}

/* Keep the italic second lines of section headings at a consistent mobile scale. */
@media (max-width: 520px) {
  html body.home main section#gallery.gallery .gallery-content > p.gallery-kicker,
  html body.home main section.catalogue-band > .catalogue-live-copy > h2 .catalogue-mood-word {
    font-size: min(35px, 10vw) !important;
  }

  html body.home main section.warehouse#about .warehouse-panel h2 {
    font-size: min(35px, 9.6vw) !important;
    font-style: normal !important;
  }

  html body.home main section.warehouse#about .warehouse-panel h2 em {
    font-size: inherit !important;
    font-style: italic !important;
  }

  html body.about-page main section.about-content-section .about-row:is(.about-row-top, .about-row-bottom) .about-copy:is(.about-copy-right, .about-copy-left) h2 em {
    font-size: min(35px, 10vw) !important;
  }
}

/* The mobile warehouse pin can sit a little quieter above its heading. */
@media (max-width: 520px) {
  html body.home main section.warehouse#about .warehouse-panel .location-icon {
    width: 84px !important;
    height: 83px !important;
    min-width: 84px !important;
    min-height: 83px !important;
    padding: 6px 4.5px !important;
  }
}

/* Give the mobile Services pagination room beneath the black card. */
@media (max-width: 520px) {
  html body.home main section.services#services > .toc-service-review {
    gap: 20px !important;
  }
}

/* Phone heading and FAQ spacing requested for the Staging 2 review. */
@media (max-width: 520px) {
  html body.home main section#gallery.gallery .gallery-content > h2,
  html body.home main section#gallery.gallery .gallery-content > h2 > .gallery-title-desktop,
  html body.home main section#gallery.gallery .gallery-content > p.gallery-kicker,
  html body.home main section.catalogue-band > .catalogue-live-copy > p:not(.catalogue-description),
  html body.home main section.catalogue-band > .catalogue-live-copy > h2,
  html body.home main section.catalogue-band > .catalogue-live-copy > h2:not(#toc-h2-size-lock),
  html body.home main section.catalogue-band > .catalogue-live-copy > h2 .catalogue-mood-word,
  html body.home main section.testimonials#testimonials > h2 {
    font-size: 35px !important;
  }

  html body.home main section.faq details > summary,
  html body.home main section.faq details[open] > summary {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  html body.home main section.faq details[open] > p {
    padding-bottom: 70px !important;
  }
}

/* One clean icon per mobile Services selector, with the existing button hit area. */
@media (max-width: 520px) {
  html body.home main section.services#services > .service-tabs > .service-tab:nth-child(n) {
    background: #f4f6f7 !important;
    border: 1px solid #c8d3d8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12) !important;
    overflow: hidden !important;
  }

  html body.home main section.services#services > .service-tabs > .service-tab:nth-child(n).is-active {
    background: #000 !important;
    border-color: #000 !important;
  }

  html body.home main section.services#services > .service-tabs > .service-tab:nth-child(n) .service-art img {
    display: none !important;
  }

  html body.home main section.services#services .service-tab .service-art::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    background: #3f778e;
    -webkit-mask: var(--toc-service-icon) center / contain no-repeat;
    mask: var(--toc-service-icon) center / contain no-repeat;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  html body.home main section.services#services .service-tab.is-active .service-art::before {
    background: #fff;
  }

  html body.home main section.services#services .service-tab[data-slug='event-planning'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/event-planning.png'); }
  html body.home main section.services#services .service-tab[data-slug='event-management'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/event-management.png'); }
  html body.home main section.services#services .service-tab[data-slug='event-styling'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/event-styling.png'); }
  html body.home main section.services#services .service-tab[data-slug='decor-furniture'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/decor-furniture.png'); }
  html body.home main section.services#services .service-tab[data-slug='dry-hire'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/dry-hire.png'); }
  html body.home main section.services#services .service-tab[data-slug='staffing'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/staffing.png'); }
  html body.home main section.services#services .service-tab[data-slug='catering'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/catering.png'); }
  html body.home main section.services#services .service-tab[data-slug='floral-centerpieces'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/floral-centerpieces.png'); }
  html body.home main section.services#services .service-tab[data-slug='backdrops-arches'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/backdrops-arches.png'); }
  html body.home main section.services#services .service-tab[data-slug='entertainment'] { --toc-service-icon: url('../services/mobile-detail-icons-v2/entertainment.png'); }
}

/* The middle desktop footer grid has a 190px logo column at laptop widths. */
@media (min-width: 1200px) and (max-width: 1599px) {
  html body footer.site-footer#footer-contact .footer-logo-link,
  html body footer.site-footer#footer-contact .footer-logo-swap,
  html body footer.site-footer#footer-contact .footer-logo-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Keep both About body sections at the requested desktop copy size. */
@media (min-width: 981px) {
  html body.about-page main section.about-content-section > .about-row.about-row-top > .about-copy.about-copy-right > p,
  html body.about-page main section.about-content-section > .about-row.about-row-bottom > .about-copy.about-copy-left > p {
    font-size: 16px !important;
  }
}

/* 1.0.602: keep the existing hero and gallery frames while refreshing their content. */
html body.home main section#gallery.gallery picture.gallery-media-link { display: block !important; }
html body.home main section.start-strip {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 50px !important;
  max-height: none !important;
  padding: 3px 20px !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 12px !important;
}
html body.home main section.start-strip > a {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #000 !important;
  font: 700 16px/24px 'TOC Card Instrument Sans', sans-serif !important;
  letter-spacing: 0 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  white-space: normal !important;
}
html body.home main section.start-strip > a::before { content: none !important; display: none !important; }
html body.home main section.start-strip > a:hover,
html body.home main section.start-strip > a:focus-visible { color: #000 !important; background: transparent !important; text-decoration-thickness: 2px !important; }
html body.home main section.start-strip > a:focus-visible { outline: 2px solid #000 !important; outline-offset: -2px !important; }
@media (max-width: 980px) {
  html body.home main section.start-strip { flex-direction: row !important; flex-wrap: wrap !important; }
  html body.home main section.start-strip > .start-copy { display: none !important; }
}

@media (min-width: 521px) and (max-width: 980px) {
  html body.home main section#gallery.gallery .gallery-exact { object-position: center 25% !important; }
}
@media (max-width: 520px) {
  html body.home main section#gallery.gallery .gallery-media-link { background-image: none !important; }
  html body.home main section#gallery.gallery .gallery-exact {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    object-fit: cover !important;
  }
}

html body.home section.instagram#social .insta-grid .insta-tile-image-default { filter: brightness(.68) !important; }
html body.home section.instagram#social .insta-grid .insta-tile::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  background: url('../rsc/instagram-gallery-20261004/instagram-mark.svg') center / 32px 32px no-repeat;
  pointer-events: none;
  transition: opacity 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  html body.home section.instagram#social .insta-grid .insta-tile:hover::after { opacity: 0; }
}
html body.home section.instagram#social .insta-grid .insta-tile:focus-visible::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html body.home section.instagram#social .insta-grid .insta-tile::after { transition: none; }
}

html body.home main section.catalogue-band > .catalogue-live-copy > .catalogue-actions > a:first-child > img.catalogue-icon-download {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 16.5px !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 18px !important;
  object-fit: contain !important;
}
@media (max-width: 520px) {
  html body.home main section.catalogue-band > .catalogue-live-copy > .catalogue-actions > a:first-child > img.catalogue-icon-download {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 20.17px !important;
    flex-basis: 22px !important;
  }
}
@media (max-width: 520px) {
  html body.about-page main section.about-hero { background-size: cover !important; background-position: center top !important; }
  html body.terms-page main section.terms-hero .policy-hero-copy,
  html body.hired-page main section.hired-hero .policy-hero-copy { top: 65px !important; }
  html body.terms-page main section.terms-hero .policy-hero-copy { inset: 65px 22px auto 22px !important; }
}
@media (max-width: 359px) {
  html body.about-page main section.about-hero .page-hero-copy { top: 245px !important; bottom: auto !important; }
  html body.terms-page main section.terms-hero .policy-hero-copy { inset: 48px 22px auto 22px !important; top: 48px !important; }
  html body.hired-page main section.hired-hero .policy-hero-copy { top: 48px !important; }
  html body.hired-page main section.hired-hero .policy-hero-copy h1 { font-size: 32px !important; }
}

/* v1.0.603: the legacy mobile label has its own white text rule. */
html body.home main section.start-strip > a > span.desktop-cta-text,
html body.home main section.start-strip > a > span.mobile-cta-text { color: #000 !important; font-weight: 700 !important; }

/* v1.0.604: mobile Figma hero uses the full-height photograph with its CTA inside. */
html body.home main section.hero > .hero-photo-cta { display: none !important; }
@media (max-width: 520px) {
  html body.home main > section.hero {
    box-sizing: border-box !important;
    height: clamp(680px, 183.575vw, 760px) !important;
    min-height: clamp(680px, 183.575vw, 760px) !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }
  html body.home main > section.hero > .hero-card { top: 46% !important; }
  html body.home main > section.hero > .hero-photo-cta {
    box-sizing: border-box !important;
    position: absolute !important;
    z-index: 4 !important;
    left: 20px !important;
    right: 20px !important;
    bottom: 30px !important;
    bottom: max(30px, calc(100% + 90px - 100svh)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 0 !important;
    text-align: center !important;
  }
  html body.home main > section.hero > .hero-photo-cta > p {
    margin: 0 !important;
    color: #fff !important;
    font: 600 12px/18px 'TOC Card Instrument Sans', sans-serif !important;
    text-shadow: 0 1px 4px #000 !important;
  }
  html body.home main > section.hero > .hero-photo-cta > a {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #000 !important;
    color: #fff !important;
    font: 700 14px/20px 'TOC Card Instrument Sans', sans-serif !important;
    text-decoration: none !important;
  }
  html body.home main > section.hero > .hero-photo-cta > a:hover,
  html body.home main > section.hero > .hero-photo-cta > a:focus-visible {
    background: #fff !important;
    color: #000 !important;
  }
  html body.home main > section.hero > .hero-photo-cta > a:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px !important;
  }
  html body.home main > section.start-strip { display: none !important; }
}
@media (min-width: 415px) and (max-width: 520px) {
  html body.home main > section.hero {
    height: calc(977.35px - 52.5vw) !important;
    min-height: calc(977.35px - 52.5vw) !important;
  }
}
/* v1.0.605: retain the enquiry question and place legal copy on the supplied dark artwork. */
@media (max-width: 520px) {
  html body.home main > section.hero > .hero-photo-cta { left: 24px !important; right: 24px !important; }
  html body.home main > section.hero > .hero-photo-cta > p {
    font-size: clamp(12px, 3.865vw, 16px) !important;
    line-height: 20px !important;
  }
  html body.home main > section.hero > .hero-photo-cta > a { font-size: 16px !important; line-height: 24px !important; }
}
@media (max-width: 359px) {
  html body.home main > section.hero > .hero-photo-cta { left: 20px !important; right: 20px !important; }
}
@media (min-width: 521px) and (max-width: 980px) {
  html body.home main section.start-strip > .start-copy {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
    white-space: normal !important;
    overflow: visible !important;
    color: #000 !important;
    font: 400 14px/20px 'TOC Card Instrument Sans', sans-serif !important;
  }
}
@media (min-width: 521px) and (max-width: 780px) {
  html body.terms-page main section.terms-hero .policy-hero-copy,
  html body.hired-page main section.hired-hero .policy-hero-copy {
    inset: clamp(65px, 10vw, 80px) 24px auto 24px !important;
    top: clamp(65px, 10vw, 80px) !important;
    margin: 0 !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  html body.hired-page main section.hired-hero::before,
  html body.hired-page main section.hired-hero::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }
}

/* v1.0.607: keep the phone composition together when browser chrome reduces usable height. */
@media (max-width: 520px) {
  html body.home main > section.hero {
    height: clamp(500px, calc(100svh - 70px), 760px) !important;
    min-height: 500px !important;
  }
  html body.home main > section.hero > .hero-photo-cta { bottom: 30px !important; }
}

/* v1.0.609: preserve every pixel of the supplied 621 x 708 mobile artwork. */
html body.about-page main > section.about-hero > .about-banner-picture { display: none; }
@media (max-width: 520px) {
  html body.about-page main > section.about-hero.page-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #103f4d !important;
    min-height: 114.0096618vw !important;
    overflow: visible !important;
  }
  html body.about-page main > section.about-hero.page-hero::before,
  html body.about-page main > section.about-hero.page-hero::after { content: none !important; display: none !important; }
  html body.about-page main > section.about-hero > .about-banner-picture,
  html body.about-page main > section.about-hero > .about-banner-picture > img {
    display: block !important;
    position: relative !important;
    grid-area: 1 / 1 !important;
    align-self: start !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 621 / 708 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }
  html body.about-page main > section.about-hero > .page-hero-copy {
    position: relative !important;
    grid-area: 1 / 1 !important;
    align-self: start !important;
    z-index: 2 !important;
    inset: auto !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 71.6183575vw 6.0386473vw 24px !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }
  html body.about-page main > section.about-hero .page-hero-copy h1,
  html body.about-page main > section.about-hero .page-hero-copy p {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    overflow: visible !important;
  }
}
@media (max-width: 780px) {
  html body.terms-page main > section.terms-hero.page-hero,
  html body.hired-page main > section.hired-hero.page-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #103f4d !important;
    min-height: 114.0096618vw !important;
    overflow: visible !important;
  }
  html body.terms-page main > section.terms-hero.page-hero::before,
  html body.terms-page main > section.terms-hero.page-hero::after,
  html body.hired-page main > section.hired-hero.page-hero::before,
  html body.hired-page main > section.hired-hero.page-hero::after { content: none !important; display: none !important; }
  html body.terms-page main > section.terms-hero > .policy-banner-picture,
  html body.hired-page main > section.hired-hero > .policy-banner-picture,
  html body.terms-page main > section.terms-hero .policy-banner-image,
  html body.hired-page main > section.hired-hero .policy-banner-image {
    display: block !important;
    position: relative !important;
    grid-area: 1 / 1 !important;
    align-self: start !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 621 / 708 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }
  html body.terms-page main > section.terms-hero > .policy-hero-copy,
  html body.hired-page main > section.hired-hero > .policy-hero-copy {
    position: relative !important;
    grid-area: 1 / 1 !important;
    align-self: start !important;
    z-index: 3 !important;
    inset: auto !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 15.7004831vw 5.3140097vw 24px !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }
  html body.terms-page main > section.terms-hero .policy-hero-copy h1,
  html body.terms-page main > section.terms-hero .policy-hero-copy p,
  html body.hired-page main > section.hired-hero .policy-hero-copy h1,
  html body.hired-page main > section.hired-hero .policy-hero-copy p {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    overflow: visible !important;
  }
}

/* Keep each testimonial's title, quote and credit together inside the card. */
html body.home main section.testimonials#testimonials .testimonial-grid.is-pointer-dragging {
  transition: none !important;
  user-select: none !important;
}

html body.home main section.products#catalogue .product-grid.is-pointer-dragging {
  user-select: none !important;
}

html body.home main section.testimonials#testimonials .testimonial-grid article:not([hidden]) {
  justify-content: center !important;
}

html body.home main section.testimonials#testimonials .testimonial-grid article:not([hidden]) > p {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

html body.home main section.testimonials#testimonials .testimonial-grid article:not([hidden]) > span {
  margin-top: 0 !important;
}

@media (max-width: 520px) {
  html body.home main section.testimonials#testimonials .testimonial-grid article:not([hidden]) > h3 {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* Restore the complete Warehouse introduction on phones. */
@media (max-width: 520px) {
  html body.home main section.warehouse#about .warehouse-panel .warehouse-copy p {
    display: block !important;
  }

  /* Let closed FAQ cards follow their question text instead of reserving 100px. */
  html body.home main section.faq#faq details:not([open]) {
    height: auto !important;
    min-height: 0 !important;
  }

  html body.home main section.faq#faq details:not([open]) > summary {
    min-height: 0 !important;
    padding: 14px 50px 14px 16px !important;
  }
}

/* v1.0.613: readable labels and usable controls found in the site-wide pass. */
html body.home main section.instagram#social .social-btn.social-facebook {
  background: #3f778e !important;
}

html body.contact-page main .contact-form-card button[type='submit'] {
  background: #3f778e !important;
}

html body.contact-page .message-wrap span[data-count-for] {
  color: #595959 !important;
}

html body.quick-form-page [data-qf-submit].is-unavailable {
  color: #333 !important;
}

@media (min-width: 981px) {
  html body.home main section.services#services .toc-service-review__dots button:not(.is-current) {
    width: 24px;
  }

  html body.quick-form-page .qf-time-unified .qf-time-arrows button {
    height: 24px;
  }

  html body.quick-form-page .qf-time-unified .qf-time-arrows button:first-child {
    top: -2.5px;
  }
}

/* 2026-10-05: accessible Services pagination targets. */
html body.home main section.services#services .toc-service-review__dots button:not(.is-current) { min-width: 24px !important; }
