/* ==========================================================
   Milestone Hire Co — styles
   ========================================================== */

:root {
  /* Brand colours (sampled from the MHC logo) */
  --brand: #466697;          /* denim blue, logo background */
  --brand-hero: #526f9b;     /* photo backdrop blue */
  --brand-dark: #2c4a78;
  --ink: #1b2d4a;            /* headings and body text */
  --ink-soft: #3d5070;
  --sky: #98b2df;            /* soft light blue from brand assets */
  --tint-50: #f4f7fc;
  --tint-100: #e7eef8;
  --tint-200: #d3dff1;
  --white: #ffffff;
  --gold: #c9a45c;           /* decorative only: arches and plinths */
  --error: #b42318;
  --success: #1f7a4d;

  /* Type */
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Allura", cursive;

  /* Spacing (8pt scale) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(27, 45, 74, 0.08);
  --shadow-md: 0 12px 32px rgba(27, 45, 74, 0.14);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
  --dur-slow: 700ms;

  --container: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--tint-50);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }

p { margin: 0 0 var(--space-2); }

:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-2); top: -60px; z-index: 1000;
  background: var(--white); color: var(--ink); padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow-md);
}
.skip-link:focus { top: var(--space-2); }

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-1);
}
.eyebrow--light { color: var(--tint-50); }

.eyebrow-script {
  font-family: var(--font-script);
  font-size: 2.125rem;
  line-height: 1;
  color: var(--brand-dark);
  margin-bottom: var(--space-1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font: 700 1rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--brand-dark); color: var(--white); box-shadow: 0 6px 18px rgba(44, 74, 120, 0.3); }
.btn--primary:hover { background: var(--ink); color: var(--white); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(27, 45, 74, 0.25); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--outline { background: transparent; color: var(--brand-dark); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.icon-btn:hover { background: var(--brand-dark); color: var(--white); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn--small { width: 36px; height: 36px; }
/* keep a 44px hit area on the small button */
.icon-btn--small { position: relative; }
.icon-btn--small::after { content: ""; position: absolute; inset: -4px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  max-width: none;
  background: var(--brand);
  padding-block: 0.25rem;
  color: var(--white);
}

.topbar__info { display: flex; gap: var(--space-4); }
.topbar__info--left { justify-content: flex-start; padding-left: clamp(0rem, 4vw, 4rem); }
.topbar__info--right { justify-content: flex-end; padding-right: clamp(0rem, 4vw, 4rem); }

.info-item { display: flex; flex-direction: column; line-height: 1.3; }
.info-item__label { font-size: 0.8125rem; color: var(--tint-50); }
.info-item__value { font-weight: 700; font-size: 0.975rem; color: var(--white); text-decoration: none; }
a.info-item__value:hover { color: var(--white); text-decoration: underline; }
.info-item__social { display: inline-flex; align-items: center; gap: 6px; }

.brand { display: block; line-height: 0; border-radius: var(--radius-sm); }
.brand img { width: clamp(150px, 16vw, 210px); height: auto; }

.nav-toggle { display: none; }

.primary-nav {
  background: linear-gradient(180deg, var(--tint-100), var(--tint-50));
  border-bottom: 1px solid var(--tint-200);
  position: sticky;
  top: 0;
  z-index: 60;
}
.primary-nav ul {
  list-style: none; margin: 0 auto; padding-block: 0;
  display: flex; justify-content: center; gap: clamp(0.5rem, 3vw, 2.5rem);
}
.primary-nav a {
  display: inline-block;
  padding: 0.9rem 0.5rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.0625rem;
  text-decoration: none;
  position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.55rem;
  height: 2px; background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="true"],
.primary-nav a[aria-current="page"] { color: var(--brand-dark); font-weight: 700; }
.primary-nav__mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-hero);
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 820px);
  z-index: -1;
}
.hero__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  /* taller than the hero so the small watermark at the bottom of each photo is cropped off */
  height: 110%;
  object-fit: contain;
  object-position: 55% 0%;
  transform: scale(1);
  transform-origin: 55% 40%;
  transition: transform 6s linear;
}
.hero__slide.is-active img { transform: scale(1.04); }

/* fade the photo edge into the brand blue */
.hero__slides::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--brand-hero) 0%, rgba(82, 111, 155, 0) 28%),
    linear-gradient(0deg, rgba(82, 111, 155, 0.55) 0%, rgba(82, 111, 155, 0) 18%);
}

.hero__inner { padding-block: var(--space-8); }

.hero__card {
  position: relative;
  max-width: 540px;
  padding: clamp(5rem, 9vw, 7rem) clamp(1.75rem, 4vw, 3rem) clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  /* arch shape, a nod to the arch backdrops */
  border-radius: 280px 280px var(--radius-md) var(--radius-md);
  box-shadow: 0 30px 60px rgba(20, 36, 64, 0.25);
}
.hero__card h1 { color: var(--ink); }
.hero__lead { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; margin-bottom: var(--space-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }

.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  margin-top: var(--space-4);
}
.carousel-dots { display: flex; gap: 2px; }
.carousel-dots button {
  width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.carousel-dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky);
  transition: width var(--dur-med) var(--ease-out), background-color var(--dur-med) ease;
}
.carousel-dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--brand-dark); }

.icon-btn .icon-play { display: none; }
.icon-btn[aria-pressed="true"] .icon-play { display: block; }
.icon-btn[aria-pressed="true"] .icon-pause { display: none; }

.carousel-caption {
  margin: var(--space-1) 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  min-height: 1.5em;
}

/* ---------- About ---------- */
.about {
  background:
    radial-gradient(60% 80% at 0% 0%, var(--tint-100), transparent 70%),
    linear-gradient(180deg, var(--tint-100), var(--tint-50));
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  justify-self: center;
  width: 100%;
}
/* offset outline in the logo's blob shape */
.about__media::before {
  content: ""; position: absolute; inset: 0;
  border: 2px solid var(--brand);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  transform: translate(14px, 14px) rotate(3deg);
}
.about__media img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-md);
}

.about__copy { max-width: 62ch; }
.about__copy p { color: var(--ink-soft); }

.about__points { list-style: none; padding: 0; margin: var(--space-3) 0 var(--space-4); display: grid; gap: 0.6rem; }
.about__points li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.about__points svg {
  flex: none; color: var(--white); background: var(--brand);
  border-radius: 50%; padding: 4px; width: 28px; height: 28px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  /* soft blob echoing the logo */
  content: ""; position: absolute; width: 520px; height: 420px; right: -120px; top: -140px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
}
.section-head { text-align: center; margin-bottom: var(--space-6); }
.section-head h2 { color: var(--white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-3);
  margin-inline: auto;
}
.testimonial {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 2.5rem);
  box-shadow: 0 24px 48px rgba(15, 30, 56, 0.25);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial__mark { color: var(--sky); margin: 0 auto var(--space-2); }
/* push names to the bottom so all three cards line up */
.testimonial blockquote { margin: 0 0 var(--space-3); flex: 1; }
.testimonial blockquote p {
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial__name { font-family: var(--font-script); font-size: 2.25rem; line-height: 1; color: var(--brand-dark); }
.testimonial__meta { font-size: 0.875rem; color: var(--ink-soft); }

.testimonials__cta { text-align: center; margin: var(--space-4) 0 0; color: var(--tint-100); }
.testimonials__cta a { color: var(--white); font-weight: 700; }
.testimonials__cta a:hover { color: var(--white); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq__intro p { color: var(--ink-soft); }
.faq__intro { position: sticky; top: 90px; }

.faq__list { display: grid; gap: var(--space-2); }
.faq__list details {
  background: var(--tint-50);
  border: 1px solid var(--tint-200);
  border-radius: var(--radius-md);
  transition: background-color var(--dur-med) ease, border-color var(--dur-med) ease;
}
.faq__list details[open] { background: var(--tint-100); border-color: var(--sky); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 56px;
  padding: 1rem 1.25rem 1rem 1.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%232c4a78' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.5rem 1.25rem; color: var(--ink-soft); }
.faq__answer p { margin: 0; }
.faq__answer p + p { margin-top: 0.75rem; }

/* ---------- Enquire ---------- */
.enquire {
  background:
    radial-gradient(50% 70% at 100% 100%, var(--tint-200), transparent 70%),
    var(--tint-100);
}
.enquire__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.enquire__intro p { color: var(--ink-soft); }

.contact-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-list svg { flex: none; color: var(--brand); }

.enquiry-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.req { color: var(--error); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--tint-50);
  border: 1.5px solid #b6c5dd;
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(70, 103, 154, 0.22);
}
.field [aria-invalid="true"] { border-color: var(--error); background: #fff7f6; }
.field__error { color: var(--error); font-size: 0.875rem; font-weight: 500; margin: 0.35rem 0 0; }
.field__error:empty { display: none; }
.field__help { color: var(--ink-soft); font-size: 0.875rem; margin: 0.35rem 0 0; }

.form-error-summary {
  border: 2px solid var(--error);
  background: #fff7f6;
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--error);
}
.form-error-summary p { font-weight: 700; margin-bottom: 0.25rem; }
.form-error-summary ul { margin: 0; padding-left: 1.25rem; }
.form-error-summary a { color: var(--error); }

.form-note { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: var(--space-2); }
.form-status { margin: var(--space-2) 0 0; font-weight: 500; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: var(--tint-100); padding-block: var(--space-6) var(--space-4); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-1); }
.footer__logo { width: 180px; height: auto; }
.footer__tag { margin: 0; font-weight: 500; }
.footer__links { list-style: none; padding: 0; margin: var(--space-2) 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem; }
.footer__links a { color: var(--white); font-size: 0.9375rem; display: inline-block; padding: 0.4rem 0; }
.footer__copy { font-size: 0.875rem; margin: 0; color: var(--tint-50); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1023px) {
  .topbar__info--left .info-item:first-child .info-item__value { font-size: 0.875rem; }
  .topbar__info { gap: var(--space-3); }
  .topbar__info--right .info-item:first-child { display: none; }
}

@media (max-width: 860px) {
  /* Header collapses to logo + menu button */
  .topbar { grid-template-columns: 1fr auto 1fr; padding-block: 0.25rem; }
  .topbar__info { display: none; }
  .brand { grid-column: 2; }
  .brand img { width: 150px; }
  .nav-toggle {
    grid-column: 3; justify-self: end;
    display: inline-grid; place-items: center;
    width: 48px; height: 48px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) ease;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav { position: static; display: none; border-bottom: 0; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding-block: var(--space-1); }
  .primary-nav li { border-bottom: 1px solid var(--tint-200); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: 0.9rem 0.25rem; overflow-wrap: anywhere; }
  .primary-nav a::after { display: none; }
  .primary-nav__mobile-only { display: block; }
  .primary-nav__mobile-only a { font-size: 0.9375rem; color: var(--brand-dark); }

  /* Hero stacks: photo on top, arch card overlapping below */
  .hero { flex-direction: column; min-height: 0; align-items: stretch; }
  .hero__slides { position: relative; inset: auto; width: 100%; height: clamp(340px, 62vw, 520px); }
  .hero__slide img { object-fit: contain; object-position: 50% 0%; transform: none; }
  .hero__slide.is-active img { transform: none; }
  .hero__slides::before { background: linear-gradient(0deg, var(--brand-hero) 0%, rgba(82, 111, 155, 0) 30%); }
  .hero__inner { padding-block: 0 var(--space-6); margin-top: -90px; }
  .hero__card { margin-inline: auto; }

  .about__grid,
  .faq__grid,
  .enquire__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 340px; }
  .faq__intro { position: static; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero__card { border-radius: 200px 200px var(--radius-md) var(--radius-md); padding-top: 4.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .eyebrow-script { font-size: 1.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__slide img, .hero__slide.is-active img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Services page
   ========================================================== */
.page-hero {
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 70%),
    var(--brand);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero__lead { max-width: 56ch; margin-inline: auto; color: var(--tint-100); margin-bottom: 0; }
.eyebrow-script--light { color: var(--tint-200); }

.breadcrumb ol {
  list-style: none; padding: 0; margin: 0 0 var(--space-3);
  display: flex; justify-content: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--tint-50);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.7; }
.breadcrumb a { color: var(--white); }

.packages { padding-top: clamp(3rem, 6vw, 4.5rem); }
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--tint-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
}
.package:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.package--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.package__badge {
  position: absolute; top: 12px; right: 12px; z-index: 1; margin: 0;
  background: var(--brand-dark); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: var(--radius-pill);
}
.package__media { aspect-ratio: 4 / 3; background: var(--brand-hero); overflow: hidden; }
.package__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.package__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3); }
.package__duration {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
}
.package__title { font-size: 1.875rem; margin-bottom: 0.25rem; }
.package__price { margin: 0 0 var(--space-2); }
.package__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
}
.package__list {
  list-style: none; padding: 0; margin: 0 0 var(--space-3);
  display: grid; gap: 0.5rem;
  font-size: 0.9375rem; color: var(--ink-soft);
  flex: 1;
  align-content: start;
}
.package__list li { position: relative; padding-left: 1.6rem; }
.package__list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--tint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232c4a78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
/* Delivery / self pickup choice */
.fulfil { border: 0; padding: 0; margin: 0 0 var(--space-2); display: grid; gap: 0.5rem; }
.fulfil__opt {
  position: relative;
  display: flex; align-items: center; gap: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--tint-200);
  border-radius: var(--radius-sm);
  background: var(--tint-50);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.fulfil__opt:hover { border-color: var(--sky); }
.fulfil__opt:has(input:checked) { border-color: var(--brand-dark); background: var(--tint-100); }
.fulfil__opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--brand-dark); cursor: pointer; }
.fulfil__opt input:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }
.fulfil__label { flex: 1; font-weight: 500; line-height: 1.3; }
.fulfil__save {
  display: inline-block; margin-left: 0.25rem;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--success); background: #e3f3ea; border-radius: var(--radius-pill); padding: 0.1rem 0.45rem;
  white-space: nowrap;
}
.fulfil__price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.fulfil-note { margin: 0 0 var(--space-2); font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); }
.packages__note { margin: var(--space-4) 0 0; text-align: center; font-size: 0.875rem; color: var(--ink-soft); }

.addons { background: var(--tint-100); }
.section-head--dark h2 { color: var(--ink); }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon text price" "icon btn btn";
  gap: var(--space-1) var(--space-2);
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.addon__icon {
  grid-area: icon;
  color: var(--brand);
  background: var(--tint-100);
  border-radius: 50%;
  padding: 10px;
  width: 52px; height: 52px;
}
.addon > div { grid-area: text; }
.addon__title { font-size: 1.625rem; margin-bottom: 0.35rem; }
.addon p { color: var(--ink-soft); font-size: 0.9375rem; margin: 0; }
.addon .addon__price {
  grid-area: price;
  font-family: var(--font-display); font-size: 2.25rem; line-height: 1;
  color: var(--brand-dark);
}
.addon .addon__price--text { font-size: 1.75rem; }
.addon .btn { grid-area: btn; justify-self: start; margin-top: var(--space-1); }

.colours { background: var(--white); }
.colours__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.colours__grid p { color: var(--ink-soft); }
.swatches {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: var(--space-3) var(--space-2);
}
.swatches li { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; text-align: center; }
.swatch {
  width: 56px; height: 64px;
  /* balloon shape */
  border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%;
  background: var(--swatch);
  box-shadow: inset -6px -8px 12px rgba(0, 0, 0, 0.12), inset 6px 6px 10px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(27, 45, 74, 0.15);
}

.policy { background: var(--tint-50); }

.cta-band { background: var(--brand-dark); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 3.5vw, 2.75rem); }
.cta-band p { color: var(--tint-100); margin: 0; }
.btn--light { background: var(--white); color: var(--brand-dark); flex: none; }
.btn--light:hover { background: var(--tint-100); color: var(--ink); }

@media (max-width: 1100px) {
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .addon-grid, .colours__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .package-grid { grid-template-columns: 1fr; }
  .addon { grid-template-columns: auto 1fr; grid-template-areas: "icon price" "text text" "btn btn"; }
  .addon .addon__price { justify-self: end; align-self: center; }
  .addon .btn { width: 100%; }
}
.fulfil__where { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */
.legal { background: var(--white); }
.legal__body { max-width: 72ch; margin-inline: auto; color: var(--ink-soft); }
.legal__body h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: var(--space-6) 0 var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--tint-200);
}
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body p { margin-bottom: var(--space-2); }
.legal__body ul { margin: 0 0 var(--space-3); padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.legal__body li::marker { color: var(--brand); }
