@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

/* A more open serif keeps the editorial feel without closing up the letterforms. */
:root {
  --display: 'DM Serif Display', Georgia, serif;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
}

/* Mobile navigation: a short, measured reveal instead of a hard layout swap. */
@media (max-width: 800px) {
  .menu-button {
    position: relative;
    color: var(--ink);
    font-size: 0;
  }

  .menu-button::before,
  .menu-button::after {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 14px;
    height: 1px;
    background: currentColor;
    content: '';
    transition:
      transform 220ms cubic-bezier(0.2, 0, 0, 1),
      box-shadow 160ms ease;
  }

  .menu-button::before {
    transform: translateY(-4px);
    box-shadow: 0 8px currentColor;
  }

  .menu-button::after {
    transform: translateY(4px);
  }
  .menu-button.is-open::before {
    transform: rotate(45deg);
    box-shadow: none;
  }
  .menu-button.is-open::after {
    transform: rotate(-45deg);
  }

  .nav-links {
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
    transition:
      opacity 160ms ease,
      transform 260ms cubic-bezier(0.2, 0, 0, 1),
      clip-path 280ms cubic-bezier(0.2, 0, 0, 1),
      visibility 0s linear 280ms;
  }

  .nav-links.is-open {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    clip-path: inset(0);
    transition-delay: 0s;
  }

  .nav-links a {
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 240ms cubic-bezier(0.2, 0, 0, 1),
      background-color 160ms ease;
  }

  .nav-links.is-open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.is-open a:nth-child(1) {
    transition-delay: 50ms;
  }
  .nav-links.is-open a:nth-child(2) {
    transition-delay: 85ms;
  }
  .nav-links.is-open a:nth-child(3) {
    transition-delay: 120ms;
  }
  .nav-links.is-open a:nth-child(4) {
    transition-delay: 155ms;
  }
  .nav-links.is-open a:nth-child(5) {
    transition-delay: 190ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-button::before,
  .menu-button::after,
  .nav-links,
  .nav-links a {
    transition: none !important;
  }
}

/* Headings carry the section; decorative pre-headings stay out of the way. */
.eyebrow {
  display: none;
}

.brand {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 {
  margin-top: 0;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.section-intro h2,
.contact h2,
.service-overview h2,
.service-cta h2 {
  margin-top: 0;
}

.section-intro h2,
.service-detail h2,
.contact h2,
.benefits h2,
.service-page-hero h1,
.service-overview h2,
.service-cta h2 {
  letter-spacing: -0.03em;
}

.motto {
  letter-spacing: -0.01em;
}

@media (max-width: 800px) {
  .hero h1 {
    letter-spacing: -0.028em;
  }
}

/* Quiet button feedback: a state change, not a decorative jump. */
.button {
  cursor: pointer;
  transform: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: none;
}

.button span {
  display: inline-block;
  transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .button-dark:hover {
    background: #34473e;
    border-color: #34473e;
    box-shadow: inset 0 0 0 1px #4c6155;
  }

  .button-light:hover,
  .service-cta .button:hover {
    background: #e6ece4;
    border-color: #a8b7a9;
  }

  .button:hover span {
    transform: translateX(3px);
  }
}

.button:active {
  transform: scale(0.985);
  box-shadow: inset 0 1px 2px #17211d33;
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button span {
    transition: none;
  }
}

/* A calm local-service statement, without a checklist of generic claims. */
.benefit-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
}

.benefit-intro {
  padding-top: 8px;
}

.benefits h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(46px, 4.8vw, 66px);
  line-height: 0.98;
}

.benefit-intro > p {
  max-width: 31ch;
  margin: 28px 0 0;
  color: #c9d3c9;
  font-size: 16px;
  line-height: 1.7;
}

.benefit-story {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
}

.benefit-statement {
  max-width: 27ch;
  margin: 5px 0 0;
  color: #fffefa;
  font-size: clamp(23px, 2.25vw, 32px);
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: -0.025em;
}

.benefit-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: auto;
  padding-top: 30px;
  color: #c8d3c8;
  font-size: 14px;
  line-height: 1.45;
}

.benefit-facts span + span::before {
  content: '·';
  margin-right: 22px;
  color: #6e8172;
}

.benefit-story aside {
  width: 100%;
  margin: 18px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid #506054;
  border-radius: 0;
  background: transparent;
  color: #aebcae;
  font-size: 13px;
  line-height: 1.55;
}

/* Four services are peers: show them as one even 2 × 2 directory, not a feature card plus leftovers. */
.direction-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.direction,
.direction-large {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 1.5;
  border-radius: 20px;
}

/* Contact is a choice of channel, not just a larger message box. */
form .contact-preference {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

form .contact-preference legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}

.contact-preference-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

form .contact-preference-options label {
  position: relative;
  display: block;
  gap: 0;
  margin: 0;
  cursor: pointer;
}

form .contact-preference input[type='radio'] {
  position: absolute;
  width: 1px;
  min-height: 1px;
  margin: -1px;
  opacity: 0;
}

.contact-preference-options span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #c8d2c8;
  border-radius: 10px;
  color: #435148;
  font-size: 14px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.contact-preference input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffefa;
}

.contact-preference input:focus-visible + span {
  outline: 3px solid #e8845a;
  outline-offset: 3px;
}

.direct-call {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 13px;
  border-top: 1px solid #d8dfd7;
  color: #435148;
  font-size: 13px;
}

.direct-call strong {
  color: var(--ink);
  font-size: 14px;
}
.direct-call b {
  font-size: 16px;
  font-weight: 400;
}
.direct-call:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .benefit-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .benefit-intro {
    padding-top: 0;
  }

  .benefits h2 {
    font-size: clamp(42px, 11.2vw, 52px);
  }

  .benefit-story {
    min-height: 0;
  }

  .benefit-statement {
    margin-top: 0;
  }

  .benefit-facts {
    display: grid;
    gap: 10px;
    margin-top: 34px;
  }

  .benefit-facts span + span::before {
    display: none;
  }

  .direction-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .direction,
  .direction-large {
    grid-column: span 1;
    aspect-ratio: auto;
    min-height: 360px;
  }

  .contact-preference-options {
    gap: 8px;
  }

  .contact-preference-options span {
    min-height: 46px;
    padding: 9px 8px;
    font-size: 13px;
  }

  .direct-call {
    grid-template-columns: 1fr auto;
  }
  .direct-call b {
    display: none;
  }
}

/* Reading distance first: no utility or supporting copy drops below 15px. */
.nav-links,
.button,
.mobile-book,
.footer-layout a:not(.brand),
.contact-preference-options span {
  font-size: 16px;
}

.image-tag,
.crumb,
.footer-title,
.copyright,
.form-message,
.service-form .form-message,
.service-list small,
.service-hero-media figcaption,
.contact small,
.direct-call {
  font-size: 15px;
}

.contact small {
  margin-top: 22px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.service-form label,
form label,
.contact-preference legend {
  font-size: 15px;
}

.direction p,
.benefit-list aside {
  font-size: 16px;
}

small,
.benefit-list i {
  font-size: 15px;
}

.number {
  display: none;
}

.direct-call strong {
  font-size: 16px;
}

@media (max-width: 800px) {
  .nav-links {
    font-size: 16px;
  }
  .contact-preference-options span {
    font-size: 15px;
  }
  .direct-call {
    font-size: 15px;
  }
}

/* Supporting copy is part of the service, not fine print. Keep it readable at arm's length. */
.benefit-intro > p {
  font-size: 17px;
}

.benefit-facts {
  font-size: 16px;
}

.benefit-story aside {
  font-size: 17px;
}

.route-link,
.special-subnav a,
.service-select__suboption,
.nav-special-submenu a {
  font-size: 16px;
}

.special-route-number,
.care-note-list span,
.price-rows dd,
.terms-hero__date,
.terms-closing {
  font-size: 15px;
}

.enquiry-progress button {
  font-size: 14px;
}

.enquiry-progress button b {
  font-size: 13px;
}

@media (max-width: 800px) {
  .benefit-facts,
  .benefit-story aside {
    font-size: 16px;
  }

  .enquiry-progress button {
    font-size: 13px;
  }
}
