
/* TEMP: theme shell + live-content layout helpers (no new marketing images) */

/* --- Section band system (light / tinted / dark rhythm) --- */
main .section--white,
main .services-section.section--white,
main .timeline-process.section--white { background: var(--white); }

main .section--paper,
main .values-section.section--paper,
main .timeline-process.section--paper { background: var(--paper); }

main .section--muted,
main .managed-section.section--muted { background: #fbfbfa; }

main .section--dark,
main .workplaces-section.section--dark { background: var(--graphite); color: var(--white); }

main .simple-hero.section--accent {
  background: linear-gradient(140deg, #f7f5ef 0%, #edf3f1 100%);
}

main .simple-hero.section--accent .container {
  text-align: center;
}

main .simple-hero.section--accent h1,
main .simple-hero.section--accent h2,
main .simple-hero.section--accent .lead {
  margin-inline: auto;
}

main .section--border-top { box-shadow: inset 0 1px 0 var(--line); }

main .section--paper .equipment-chip,
main .section--muted .equipment-chip {
  background: var(--white);
}

main .section--dark .section-heading > p,
main .workplaces-section .section-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.section-cta--left { text-align: left; }

/* CTA on a light band — dark card inside, avoids dark-on-dark before footer */
.cta-band--on-light {
  color: var(--ink);
  background: var(--paper);
}

.cta-band--on-light .cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--graphite);
  box-shadow: var(--shadow-lg);
}

main .cta-band.cta-band--on-light.cta-band--with-image {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.cta-band--on-light.cta-band--with-image .cta-band-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.85rem, 1.75vw, 1.35rem);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
}

main .cta-band.cta-band--on-light.cta-band--with-image h2,
main .cta-band.cta-band--on-light.cta-band--with-image p {
  max-width: 100%;
}

main .cta-band.cta-band--on-light.cta-band--with-image h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.15;
}

main .cta-band.cta-band--on-light.cta-band--with-image p {
  font-size: 0.92rem;
  line-height: 1.45;
}

main .cta-band.cta-band--on-light.cta-band--with-image .cta-actions {
  margin-top: 0.85rem;
  gap: 0.5rem;
}

.cta-band--on-light.cta-band--with-image .cta-band-inner > div {
  min-width: 0;
}

main .cta-band .cta-actions {
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.cta-band--on-light p {
  color: rgba(255, 255, 255, 0.64);
}

.cta-band--on-light .cta-band__image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.cta-band--on-light.cta-band--with-image .cta-band__image {
  width: 100%;
  min-height: clamp(150px, 16vw, 200px);
  max-height: clamp(165px, 20vw, 240px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Equipment tags — live-style snapshot grid (service pages) */
.equipment-tag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}

.equipment-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.equipment-tag:hover {
  border-color: rgba(109, 40, 217, 0.32);
  box-shadow: var(--shadow-sm);
}

.equipment-tag h3 {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Live Webflow image sizing (layout194/195/1/239/cta39) */
.live-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.live-media__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}

.live-media__img--169 { aspect-ratio: 16 / 9; }
.live-media__img--32 { aspect-ratio: 3 / 2; }

/* Split layouts — 50/50 grid, 5rem gap (matches live container-large splits) */
.process-split,
.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: center;
}

.service-split__content .eyebrow {
  display: block;
  margin-bottom: 0.2rem;
}

.service-split__content h2 {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  font-size: clamp(1.25rem, 1.85vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.service-split__content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Why choose — 2x2 cards beside van image */
.why-choose__header {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.why-choose__header h2 {
  margin: 0;
  max-width: 32rem;
}

.why-choose__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.why-choose-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.why-choose-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}

.why-choose-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.why-choose__media .live-media__img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 1;
}

.why-choose__cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.why-choose__cards .section-cta {
  width: 100%;
  margin: 1.25rem 0 0;
  text-align: center;
}

.process-steps {
  display: grid;
  gap: 1.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps__item h3 {
  margin: 0 0 0.45rem;
  color: var(--purple-deep);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.3;
}

.process-steps__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.process-split__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

/* Related services — layout239: light section, 16:9 images, 3 columns */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.related-service-card {
  text-align: center;
}

.related-service-card__media {
  margin-bottom: 1rem;
}

.related-service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.related-service-card p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.related-service-card a {
  color: var(--purple-deep);
  font-weight: 650;
  text-decoration: none;
}

.related-service-card a:hover {
  text-decoration: underline;
}

/* Process cards — 3-column steps (legacy fallback) */
.process-grid--cards::before { display: none; }

.process-grid--cards li {
  padding: 1.75rem 1.35rem 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

main .section--paper .process-grid--cards li {
  background: var(--white);
}

.process-grid--cards li h3 {
  margin-bottom: 0.65rem;
  color: var(--purple-deep);
  font-size: 1.05rem;
}

.process-grid--cards li > span {
  margin-bottom: 0.35rem;
}

.hero-backdrop {
  background-image: url("../images/hero-event.jpg");
}

/* Live-style trusted brand logos */
.partner-strip--logos {
  overflow-x: clip;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.partner-logos {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-block: 36px 40px;
  text-align: center;
}

.partner-logos__label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-logos__copy {
  margin: 0 0 10px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.partner-logos__copy strong {
  color: var(--ink);
  font-weight: 700;
}

.partner-logos__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.partner-logos__list li {
  display: grid;
  place-items: center;
}

.partner-logos__list img {
  display: block;
  width: auto;
  max-width: 160px;
  height: 56px;
  object-fit: contain;
  filter: grayscale(0.25);
}

.partner-logos__list img.partner-logo--ufc {
  height: 52px;
}

.partner-logos__marquee {
  width: 100%;
  max-width: 100%;
}

.partner-logos__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.partner-logos__list--dup {
  display: none;
}

@keyframes partner-logo-marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  .partner-logos__list {
    gap: 18px 28px;
  }

  .partner-logos__list img {
    height: 44px;
  }

  .partner-logos__list img.partner-logo--ufc {
    height: 40px;
  }
}

/* Homepage hero — Future Vending VS layout (left-aligned copy + lead + CTAs) */
.hero.hero--home {
  --hero-home-min-height: calc(750px * 0.97);
  min-height: var(--hero-home-min-height);
}

.hero.hero--home .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(6, 9, 7, 0.68) 0%,
    rgba(6, 9, 7, 0.48) 38%,
    rgba(6, 9, 7, 0.14) 72%,
    rgba(6, 9, 7, 0.06) 100%
  );
}

@media (max-width: 900px) {
  .hero.hero--home .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(6, 9, 7, 0.78) 0%,
      rgba(6, 9, 7, 0.38) 48%,
      rgba(6, 9, 7, 0.12) 100%
    );
  }
}

.hero.hero--home .hero-inner--home-vs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: var(--hero-home-min-height, calc(750px * 0.97));
  margin-inline: 0;
  padding-inline: var(--site-gutter, 5%);
  padding-top: 55px;
  padding-bottom: 75px;
  text-align: left;
}

.hero.hero--home .hero-inner--home-vs .hero-copy {
  width: 100%;
  max-width: none;
}

.hero.hero--home .hero-inner--home-vs .hero-copy h1,
.hero.hero--home .hero-inner--home-vs .hero-copy > .lead,
.hero.hero--home .hero-inner--home-vs .hero-actions {
  max-width: min(46rem, 92%);
  margin-inline: 0;
  text-align: left;
}

/* Typography — match futurevending VS (typography-fds-group.css) */
.hero.hero--home {
  --hero-title-size: 3rem;
  --hero-title-size-mobile: 2.5rem;
}

.hero.hero--home .hero-inner--home-vs .hero-copy h1 {
  font-size: var(--hero-title-size);
  font-weight: 400;
  letter-spacing: -0.035rem;
  line-height: 1.2;
  text-wrap: balance;
}

.hero.hero--home .hero-inner--home-vs .hero-copy > .lead {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .hero.hero--home .hero-inner--home-vs .hero-copy h1 {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .hero.hero--home .hero-inner--home-vs .hero-copy h1 {
    font-size: var(--hero-title-size-mobile);
    margin-bottom: 0.65rem;
  }

  .hero.hero--home .hero-inner--home-vs .hero-copy > .lead {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.45;
  }
}

@media (max-width: 760px) {
  .hero.hero--home .hero-inner--home-vs .hero-copy > .lead {
    font-size: 0.92rem;
  }
}

.hero.hero--home .hero-inner--home-vs .hero-actions {
  justify-content: flex-start;
  --hero-btn-scale: 0.9;
  gap: calc(13px * var(--hero-btn-scale));
}

.hero.hero--home .hero-inner--home-vs .hero-actions .button {
  min-height: calc(52px * var(--hero-btn-scale));
  padding: calc(13px * var(--hero-btn-scale)) calc(22px * var(--hero-btn-scale));
  font-size: calc(1rem * var(--hero-btn-scale));
}

@media (max-width: 900px) {
  .hero.hero--home {
    --hero-home-min-height: min(75vh, 620px);
  }

  .hero.hero--home,
  .hero.hero--home .hero-inner--home-vs {
    min-height: var(--hero-home-min-height);
  }
}

.text-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.text-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.text-service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.125rem;
  border-radius: 0.75rem;
  background: rgba(107, 43, 191, 0.08);
}

.text-service-card__icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  filter: brightness(0) saturate(100%) invert(24%) sepia(74%) saturate(4200%) hue-rotate(258deg) brightness(95%) contrast(95%);
}

.text-service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.text-service-card > p:not(.muted) {
  flex: 1 1 auto;
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.text-service-card .muted {
  margin: auto 0 0;
  padding-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(17, 21, 19, 0.52);
}

.workplace-card { overflow: hidden; }

.workplace-card__photo {
  display: block;
  width: calc(100% + 62px);
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: -31px -31px 18px;
  border-radius: 0;
}

.workplace-card__icon { width: 48px; height: 48px; margin-bottom: 14px; display: block; }

.values-card__icon { width: 40px; height: 40px; margin-bottom: 12px; display: block; }

.split-copy--image { align-items: center; }
.split-copy--balanced { align-items: center; }
.split-copy--balanced > div:last-child p { margin: 0; }

.contact-hero-section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.contact-hero-card {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-hero-card .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.contact-hero-card__intro h1 {
  font-size: clamp(1.61rem, 2.78vw, 2.96rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.contact-hero-card__intro .lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-hero-card .contact-form {
  text-align: left;
  margin-top: 1.75rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-hero-card label,
.contact-hero-card .form-status,
.contact-hero-card .consent-check {
  color: var(--ink);
}

.accordion--full {
  max-width: 52rem;
  margin-inline: auto;
}

.cta-band--with-image .cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.85rem, 1.75vw, 1.35rem);
  align-items: center;
}

.cta-band__image,
.cta-band--on-light .cta-band__image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 3 / 2;
  max-height: none;
}

.feature-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px;
}

/* Footer v2 — Vending VS layout: brand band + link grid */
.site-footer {
  padding: clamp(40px, 4.5vw, 56px) 0 clamp(20px, 2.5vw, 24px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(18px, 2.2vw, 26px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand--prominent .brand-logo--footer,
.footer-brand--prominent .brand-logo {
  height: clamp(52px, 6vw, 64px);
  max-width: min(320px, 72vw);
  width: auto;
}

.footer-brand--prominent > p {
  max-width: 320px;
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.footer-top .newsletter-panel {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 18px);
  margin: 0;
  width: auto;
  max-width: 507px;
  justify-self: end;
  align-self: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md, 8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  grid-template-columns: unset;
}

.newsletter-panel__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-top .newsletter-form {
  display: flex;
  flex-direction: column;
  flex: 0 1 243px;
  min-width: 210px;
  align-items: stretch;
  gap: 6px;
}

.newsletter-panel__copy .eyebrow {
  margin-bottom: 2px;
  font-size: 0.64rem;
}

.newsletter-panel__copy .eyebrow::before {
  display: none;
}

.footer-top .newsletter-panel h2 {
  margin: 0 0 2px;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.15;
  color: var(--white);
}

.footer-top .newsletter-panel .newsletter-panel__copy > p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.55);
}

.footer-top .newsletter-form input[type="email"] {
  flex: 1 1 auto;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm, 6px);
}

.footer-top .newsletter-form-status {
  margin: 0;
  padding: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--purple-bright);
}

.footer-top .newsletter-form-status.is-error {
  color: #f5a9a9;
}

.footer-top .newsletter-form .button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 14px;
  font-size: 0.72rem;
  border-radius: 999px;
}

.site-footer .footer-grid.footer-grid--site {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(28px, 3.5vw, 38px) 0 clamp(30px, 3.5vw, 40px);
}

.site-footer .footer-grid.footer-grid--site h3 {
  margin-bottom: 12px;
}

.site-footer .footer-grid.footer-grid--site > div > a:not(.brand),
.site-footer .footer-grid.footer-grid--site .footer-sister-column > a,
.site-footer .footer-grid.footer-grid--site address {
  margin-bottom: 6px;
}

.site-footer .footer-grid address {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-sister-column > a {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
}

.footer-sister-column > a:hover {
  color: var(--purple-bright);
}

.footer-sister-column__brand {
  margin-bottom: 1rem !important;
  color: var(--white) !important;
  font-size: 0.95rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

.footer-sister-column__brand .brand-mark {
  font-size: 0.55em;
  vertical-align: super;
}

.brand-division--office {
  color: #7dd3fc;
  font-weight: 600;
}

.brand-division--vending {
  color: #f1cc68;
  font-weight: 600;
}

.site-footer .footer-bottom {
  padding-top: 1.15rem;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.footer-contact .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.social-links a,
.social-links__icon {
  display: grid !important;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white) !important;
  font-size: 0.72rem !important;
  font-weight: 750;
  margin-bottom: 0 !important;
}

.social-links__icon {
  opacity: 0.45;
  cursor: default;
}

.social-links a:hover {
  color: var(--purple-bright) !important;
  border-color: rgba(255, 255, 255, 0.32);
}

.prose-legal { max-width: 820px; }
.prose-legal h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose-legal ul { padding-left: 1.2rem; }
.prose-legal li { margin: 0.35rem 0; }

@media (max-width: 980px) {
  .text-service-grid { grid-template-columns: 1fr 1fr; }
  .feature-list--grid { grid-template-columns: 1fr; }
  .footer-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-brand--prominent {
    max-width: 420px;
  }

  .footer-top .newsletter-panel {
    max-width: 100%;
    justify-self: stretch;
    align-self: start;
  }
  .process-split,
.service-split,
.why-choose__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-choose-grid { grid-template-columns: 1fr 1fr; }
  .related-services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .equipment-tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band--on-light.cta-band--with-image .cta-band-inner,
  .cta-band--with-image .cta-band-inner,
  .cta-band--on-light .cta-band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .site-footer .footer-grid.footer-grid--site {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer .footer-grid.footer-grid--site {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .text-service-grid,
  .site-footer .footer-grid.footer-grid--site { grid-template-columns: 1fr; }
  .equipment-tag-grid,
  .related-services-grid { grid-template-columns: 1fr; }
  .why-choose-grid { grid-template-columns: 1fr; }
  .process-grid--cards { gap: 1.25rem; }
}

/* ========== Phase 1 — mobile foundation (overflow, hero, chrome, rhythm) ========== */
main#main {
  overflow-x: clip;
}

.workplaces-section .workplace-grid,
.partner-strip--logos,
.process-split-section .container,
.cta-band .container {
  max-width: 100%;
}

@media (max-width: 767px) {
  .hero.hero--home {
    --hero-home-min-height: min(88dvh, 520px);
    --hero-title-size-mobile: clamp(1.65rem, 7.4vw, 2.25rem);
  }

  .hero.hero--home,
  .hero.hero--home .hero-inner--home-vs {
    min-height: var(--hero-home-min-height);
  }

  .hero.hero--home .hero-inner--home-vs {
    padding-top: 1.15rem;
    padding-bottom: 1.65rem;
  }

  .hero.hero--home .hero-inner--home-vs .hero-copy h1 {
    font-size: var(--hero-title-size-mobile);
    line-height: 1.15;
  }

  .hero.hero--home .hero-inner--home-vs .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: min(46rem, 100%);
  }

  .hero.hero--home .hero-inner--home-vs .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .workplace-card__photo {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.125rem;
  }

  .process-split,
  .service-split {
    gap: 1.75rem;
  }

  main .section {
    padding-block: 2.5rem;
  }

  .partner-logos {
    padding-block: 1.75rem 2rem;
  }

  .partner-logos__list {
    gap: 14px 20px;
    padding-inline: 0;
  }
}

@media (max-width: 480px) {
  .hero.hero--home {
    --hero-home-min-height: min(86dvh, 480px);
  }

  main .section {
    padding-block: 2.25rem;
  }

  .container {
    width: min(100% - 2rem, var(--container, 1200px));
  }
}

/* ========== Phase 2 — homepage sections (mobile polish) ========== */
@media (max-width: 767px) {
  /* Partner strip — one line of copy + tighter logos */
  .partner-logos__copy {
    display: none;
  }

  .partner-logos__label {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
  }

  .partner-logos.container,
  .container.partner-logos {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .partner-logos__label,
  .partner-logos__copy {
    padding-inline: var(--site-gutter, 1rem);
  }

  .partner-logos__marquee {
    overflow: hidden;
    margin-top: 0.25rem;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 8%,
      #000 92%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 8%,
      #000 92%,
      transparent 100%
    );
  }

  .partner-logos__track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: partner-logo-marquee 32s linear infinite;
    will-change: transform;
  }

  .partner-logos__list--dup {
    display: flex;
  }

  .partner-logos__list {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 2.25rem;
    margin: 0;
    padding-inline: 1.125rem;
  }

  .partner-logos__list li {
    flex: 0 0 auto;
  }

  .partner-logos__list img,
  .partner-logos__list img.partner-logo--ufc {
    width: auto;
    max-width: 88px;
    height: 30px;
    max-height: 30px;
    object-fit: contain;
  }

  .partner-logos__list img.partner-logo--ufc {
    max-width: 72px;
    height: 28px;
    max-height: 28px;
  }

  /* Process split — copy before image; shorter image */
  .process-split-section .process-split {
    display: grid;
    grid-template-columns: 1fr;
  }

  .process-split-section .process-split__content {
    order: 1;
  }

  .process-split-section .process-split__media {
    order: 2;
  }

  .process-split-section .process-split__image.live-media__img {
    aspect-ratio: 4 / 3;
    max-height: 240px;
    object-fit: cover;
  }

  .process-split-section .process-steps {
    gap: 1.25rem;
  }

  .process-split-section .process-split__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.35rem;
  }

  .process-split-section .process-split__actions .button {
    width: 100%;
    justify-content: center;
  }

  .process-split-section .process-split__actions .text-link {
    text-align: center;
  }

  /* Services grid */
  .services-section .section-heading {
    margin-bottom: 1.25rem;
  }

  .services-section .section-heading > p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .text-service-card {
    padding: 1.3rem 1.15rem;
  }

  .text-service-card h3 {
    font-size: 1.05rem;
  }

  .text-service-card > p:not(.muted) {
    font-size: 0.9rem;
  }

  /* Why choose + van */
  .why-choose-section .why-choose__header {
    margin-bottom: 1.25rem;
  }

  .why-choose-section .why-choose__layout {
    gap: 1.5rem;
  }

  .why-choose-section .why-choose__media .live-media__img {
    aspect-ratio: 16 / 9;
    max-height: 220px;
    object-fit: cover;
  }

  .why-choose-section .why-choose__cards .section-cta {
    margin-top: 1rem;
  }

  .why-choose-section .why-choose__cards .section-cta .button {
    width: 100%;
    justify-content: center;
  }

  /* Real-world environments */
  .workplaces-section .section-heading.light-heading {
    margin-bottom: 1.25rem;
  }

  .workplaces-section .workplace-card {
    min-height: 0;
    padding: 1.2rem 1.15rem;
  }

  .workplaces-section .workplace-card h3 {
    font-size: 1.12rem;
    line-height: 1.25;
  }

  .workplaces-section .workplace-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .workplaces-section .workplace-card > a:not(.button) {
    margin-top: 1rem;
    font-size: 0.74rem;
  }

  /* CTA band (home + sitewide) */
  .cta-band--on-light .cta-band-inner {
    padding: 1.35rem 1.15rem;
    gap: 1.15rem;
  }

  .cta-band--on-light .cta-band-inner h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    line-height: 1.2;
  }

  .cta-band--on-light .cta-band-inner p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  main .cta-band .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  main .cta-band .cta-actions .button {
    width: 100%;
    justify-content: center;
  }

  .cta-band__image.live-media__img--32 {
    max-height: 200px;
    object-fit: cover;
  }

  /* Footer (visible on home) */
  .site-footer .footer-grid.footer-grid--site {
    gap: 1.35rem 1rem;
    padding-block: 2rem 1.75rem;
  }
}

@media (max-width: 480px) {
  .partner-logos__list {
    gap: 0 1.75rem;
  }

  .partner-logos__list img,
  .partner-logos__list img.partner-logo--ufc {
    max-width: 76px;
    height: 26px;
    max-height: 26px;
  }

  .partner-logos__list img.partner-logo--ufc {
    max-width: 64px;
    height: 24px;
    max-height: 24px;
  }

  .text-service-grid {
    gap: 14px;
  }

  .cta-band--on-light .cta-band-inner {
    padding: 1.15rem 1rem;
  }
}

/* ========== Phase 3 — shared chrome (footer, forms, FAQ accordion, network bar) ========== */
@media (max-width: 767px) {
  .site-footer {
    padding: 2.35rem 0 max(1.35rem, env(safe-area-inset-bottom));
  }

  .site-footer .footer-grid.footer-grid--site > div h3 {
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .site-footer .footer-grid.footer-grid--site > div > a,
  .site-footer .footer-grid.footer-grid--site address {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .footer-top .newsletter-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }

  .footer-top .newsletter-form {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .footer-top .newsletter-form input[type="email"] {
    font-size: 16px;
    min-height: 44px;
  }

  .footer-top .newsletter-form .button {
    min-height: 44px;
    font-size: 0.875rem;
  }

  .footer-contact > a {
    min-height: 2.35rem;
    display: flex;
    align-items: center;
  }

  .footer-contact .social-links {
    margin-top: 1rem;
    gap: 10px;
  }

  .footer-bottom {
    padding-top: 1.15rem;
    gap: 0.75rem;
  }

  .footer-bottom p {
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .footer-sister-column__brand {
    margin-bottom: 0.75rem !important;
    font-size: 0.9rem !important;
  }

  .hostinger-form-status,
  .form-status {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  /* Contact form */
  .contact-hero-section {
    padding-block: 1.65rem 2rem;
  }

  .contact-hero-card {
    padding: 1.2rem 1rem;
    border-radius: var(--radius-md);
  }

  .contact-hero-card__intro h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .contact-hero-card__intro .lead {
    font-size: 0.95rem;
  }

  .contact-hero-card .contact-form {
    margin-top: 1.25rem;
    padding: 1rem 0.9rem;
  }

  .contact-hero-card .field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-hero-card .contact-form label {
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
  }

  .contact-hero-card .contact-form label input,
  .contact-hero-card .contact-form label textarea {
    font-size: 16px;
    min-height: 44px;
    margin-top: 0.35rem;
  }

  .contact-hero-card .contact-form label textarea {
    min-height: 7.5rem;
    resize: vertical;
  }

  .contact-hero-card .consent-check {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 1rem;
  }

  .contact-hero-card .consent-check a {
    overflow-wrap: anywhere;
  }

  .contact-hero-card .button-full {
    min-height: 48px;
    width: 100%;
  }

  /* FAQs accordion */
  .accordion--full summary {
    min-height: 3rem;
    padding: 0.85rem 2.25rem 0.85rem 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .accordion--full details p {
    margin: 0 0 1rem;
    padding-right: 0.25rem;
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .site-footer .footer-grid.footer-grid--site > div > a {
    font-size: 0.78rem;
  }

  .footer-top .newsletter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-hero-card {
    padding: 1rem 0.85rem;
  }
}

/* ========== Phase 4 — page templates (inner pages, services, legal, 404) ========== */
@media (max-width: 767px) {
  /* Simple hero — about, how-we-work, FAQs, legal, services intro */
  main .simple-hero.section--accent {
    padding: 1.65rem 0 1.85rem;
  }

  main .simple-hero.section--accent .container {
    text-align: left;
  }

  main .simple-hero.section--accent h2 {
    font-size: clamp(1.42rem, 6.2vw, 1.82rem);
    line-height: 1.15;
    text-align: left;
  }

  main .simple-hero.section--accent .lead {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.5;
    text-align: left;
  }

  main .simple-hero.simple-hero--service h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.72rem);
  }

  /* About — story split */
  main .split-copy.split-copy--image {
    gap: 1.5rem;
  }

  main .split-copy.split-copy--image > div:first-child p {
    font-size: 0.94rem;
  }

  main .split-copy .live-media__img {
    aspect-ratio: 4 / 3;
    max-height: 220px;
    width: 100%;
    object-fit: cover;
  }

  /* Values + expect grids (about / how-we-work) */
  .values-section .equipment-chip--detail,
  main .equipment-grid .equipment-chip--detail {
    padding: 0.85rem 0.9rem;
  }

  main .equipment-chip--detail h3 {
    font-size: 0.9rem;
  }

  main .equipment-chip--detail p {
    font-size: 0.82rem;
  }

  /* Service page — split (content before image) */
  .service-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .service-split__content {
    order: 1;
  }

  .service-split__media {
    order: 2;
  }

  .service-split__image.live-media__img {
    aspect-ratio: 4 / 3;
    max-height: 220px;
    object-fit: cover;
  }

  .service-split__content h2 {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  }

  .service-split__content p {
    font-size: 0.94rem;
  }

  /* Equipment tags + related services */
  .equipment-tag {
    min-height: 0;
    padding: 0.7rem 0.8rem;
  }

  .equipment-tag h3 {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .related-services-section .centred-heading,
  main .centred-heading {
    margin-bottom: 1.2rem;
  }

  main .centred-heading > p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .related-service-card {
    padding-bottom: 0.25rem;
  }

  .related-service-card h3 {
    margin: 0.85rem 0 0.4rem;
    font-size: 1.05rem;
  }

  .related-service-card p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .related-service-card a {
    display: inline-block;
    margin-top: 0.35rem;
    min-height: 2.5rem;
    line-height: 2.5rem;
  }

  main .section-cta {
    margin-top: 1.35rem;
  }

  main .section-cta .button {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  /* Legal */
  main .prose-legal {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  main .prose-legal h2 {
    margin-top: 1.45rem;
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
  }

  main .prose-legal p,
  main .prose-legal li {
    overflow-wrap: anywhere;
  }

  main .prose-legal ul {
    padding-left: 1.05rem;
  }

  /* 404 */
  main .simple-hero.error-hero {
    min-height: 0;
    padding: 2rem 0 2.25rem;
  }

  main .error-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
  }

  main .error-hero .lead {
    font-size: 0.94rem;
    text-align: left;
  }

  main .error-hero .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  main .error-hero .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  /* FAQ section spacing */
  .faq-section {
    padding-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .equipment-tag-grid {
    gap: 8px;
  }

  main .split-copy .live-media__img,
  .service-split__image.live-media__img {
    max-height: 190px;
  }
}

/* ========== Phase 5 — polish (safe areas, landscape, small phones, motion) ========== */
@media (max-width: 767px) {
  html {
    scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .site-header .header-inner.container {
    padding-inline: max(var(--site-gutter, 1rem), env(safe-area-inset-left, 0px)) max(var(--site-gutter, 1rem), env(safe-area-inset-right, 0px));
  }

  .site-header .primary-nav {
    padding-bottom: max(50px, env(safe-area-inset-bottom, 0px));
  }

  main .live-media__img,
  main .split-copy__image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .partner-logos__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .partner-logos__list--dup {
    display: none;
  }

  .partner-logos__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }
}

@media (max-width: 320px) {
  :root {
    --site-gutter: 0.85rem;
  }

  .hero.hero--home .hero-inner--home-vs .hero-copy h1 {
    font-size: 1.48rem;
  }

  .partner-logos__list {
    gap: 12px 14px;
  }

  main .cta-band--on-light .cta-band-inner {
    padding: 1rem 0.85rem;
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  .text-service-grid {
    gap: 18px;
  }

  .process-split,
  .service-split,
  .why-choose__layout {
    gap: 2rem;
  }
}

@media (max-width: 900px) and (max-height: 620px) and (orientation: landscape) {
  .hero.hero--home,
  .hero.hero--home .hero-inner--home-vs {
    --hero-home-min-height: auto;
    min-height: auto;
    padding-block: 0.85rem 1rem;
  }

  .hero.hero--home .hero-inner--home-vs .hero-copy h1 {
    font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  }

  .hero.hero--home .hero-inner--home-vs .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero.hero--home .hero-inner--home-vs .hero-actions .button {
    width: auto;
    flex: 1 1 12rem;
  }

  main .simple-hero.section--accent {
    padding: 1rem 0 1.15rem;
  }

  main .simple-hero.error-hero {
    padding: 1.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
