/* Harpenden Taxis — About Us (/about/). All styling is page-scoped. */
.ht-ab {
  --ab-navy: #171c42;
  --ab-blue: #2c3077;
  --ab-red: #be2039;
  --ab-body: #626a7d;
  --ab-line: #dfe3ed;
  color: var(--ab-navy);
  font-family: "IBM Plex Sans", sans-serif;
}
.ht-ab, .ht-ab * { box-sizing: border-box; }
.ht-ab__container {
  width: min(calc(100% - var(--ht-gutter, 24px) * 2), var(--ht-container-width, 1580px));
  margin-inline: auto;
}
.ht-ab h1, .ht-ab h2, .ht-ab h3 {
  font-family: Manrope, "IBM Plex Sans", sans-serif;
  letter-spacing: -.045em;
  margin: 0;
}
.ht-ab a:focus-visible { outline: 3px solid #e87e94; outline-offset: 4px; }
.ht-ab__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-size: 11px; font-weight: 800; letter-spacing: .155em;
  text-transform: uppercase; color: var(--ab-blue);
}
.ht-ab__eyebrow > span { display: inline-block; width: 31px; height: 2px; background: var(--ab-red); }
.ht-ab__eyebrow--light { color: #f4b2bf; }

/* 01 — Hero */
.ht-ab__hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(405px, 36vw, 525px);
  padding: 58px 0 75px;
  background: #111932 url('../../images/pages/about-hero.webp') center 57% / cover no-repeat;
  overflow: hidden;
}
.ht-ab__hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12, 18, 40, .96) 0%, rgba(15, 21, 43, .88) 35%, rgba(16, 23, 46, .57) 73%, rgba(16, 23, 46, .45) 100%);
}
.ht-ab__hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 5px; background: linear-gradient(90deg, var(--ab-blue), var(--ab-red));
}
.ht-ab__hero-content { position: relative; z-index: 1; }
.ht-ab__breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 52px; color: #c6ccda; font-size: 12px; font-weight: 600; }
.ht-ab__breadcrumbs a { color: #fff; text-decoration: none; }
.ht-ab__breadcrumbs a:hover { color: #f4b2bf; }
.ht-ab__breadcrumb-separator { color: #e08a9c; }
.ht-ab__hero h1 {
  max-width: 930px; color: #fff; font-weight: 800;
  font-size: clamp(40px, 4.7vw, 75px); line-height: 1.13;
}
.ht-ab__hero h1 span { color: #f192a5; }
.ht-ab__hero-description {
  max-width: 630px; margin: 24px 0 0; color: #e5e9f4;
  font-size: clamp(15px, 1.05vw, 18px); line-height: 1.8;
}

/* 02 — Story */
.ht-ab__story { padding: clamp(74px, 7vw, 120px) 0; background: #fff; }
.ht-ab__story-grid { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: clamp(38px, 5.5vw, 112px); align-items: center; }
.ht-ab__story-media { position: relative; min-width: 0; }
.ht-ab__story-media img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 17px 24px rgba(23,28,66,.12)); }
.ht-ab__story-image-accent { position: absolute; z-index: -1; width: 160px; height: 160px; border-radius: 50%; background: #e9edf8; top: 1%; left: 0; }
.ht-ab__story-copy { max-width: 670px; }
.ht-ab__story-copy h2, .ht-ab__section-heading h2, .ht-ab__cta h2 { font-weight: 800; font-size: clamp(34px, 3.7vw, 55px); line-height: 1.18; }
.ht-ab__story-copy h2 span, .ht-ab__section-heading h2 span, .ht-ab__cta h2 span { color: var(--ab-red); }
.ht-ab__story-copy > p:not(.ht-ab__eyebrow) { margin: 20px 0 0; color: var(--ab-body); font-size: clamp(15px, 1.03vw, 17px); line-height: 1.85; }
.ht-ab__stats { display: inline-flex; align-items: center; gap: 29px; margin-top: 30px; padding: 20px 25px; border-radius: 15px; background: #f5f6fa; border: 1px solid #dee4f0; }
.ht-ab__stat { display: flex; flex-direction: column; gap: 5px; }
.ht-ab__stat strong { color: var(--ab-blue); font: 800 clamp(29px, 2.4vw, 39px)/1.1 Manrope, sans-serif; }
.ht-ab__stat span { color: #576078; font-size: 12px; }
.ht-ab__stat-divider { width: 1px; height: 47px; background: #d9e0ed; }

/* 03 — Services */
.ht-ab__services { padding: clamp(75px, 6vw, 105px) 0 clamp(85px, 7vw, 118px); background: #f8f8f7; }
.ht-ab__section-heading { max-width: 820px; margin: 0 auto 47px; text-align: center; }
.ht-ab__section-heading .ht-ab__eyebrow { justify-content: center; }
.ht-ab__section-heading > p:not(.ht-ab__eyebrow) { margin: 18px auto 0; max-width: 630px; color: var(--ab-body); line-height: 1.7; font-size: 16px; }
.ht-ab__service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2vw, 28px); }
.ht-ab__service-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; padding: clamp(25px, 2.4vw, 38px);
  border: 1px solid #dce2ee; border-radius: 18px;
  background: #fff; box-shadow: 0 9px 26px rgba(23,28,66,.055);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ht-ab__service-card:hover, .ht-ab__service-card:focus-within { transform: translateY(-5px); border-color: #b7c3df; box-shadow: 0 20px 35px rgba(23,28,66,.105); }
.ht-ab__service-icon { display: grid; place-items: center; width: 61px; height: 61px; border-radius: 14px; border: 1px solid #d4dcef; background: #eef1f9; margin-bottom: 26px; }
.ht-ab__service-icon img { width: 30px; height: 30px; object-fit: contain; }
.ht-ab__service-kicker { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .11em; color: var(--ab-red); }
.ht-ab__service-card h3 { font-size: clamp(21px, 1.45vw, 25px); font-weight: 800; line-height: 1.26; }
.ht-ab__service-description { margin: 14px 0 27px; color: var(--ab-body); line-height: 1.75; font-size: 15px; }
.ht-ab__service-link { display: inline-flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 16px; width: 100%; color: var(--ab-navy); text-decoration: none; font-size: 14px; font-weight: 800; border-top: 1px solid #e5e9f2; }
.ht-ab__service-link span { margin-left: auto; display: grid; place-items: center; border-radius: 50%; width: 39px; height: 39px; color: #fff; background: var(--ab-red); font-size: 22px; transition: background .2s ease; }
.ht-ab__service-link:hover span { background: var(--ab-navy); }

/* 04 — Navy benefits */
.ht-ab__benefits { padding: clamp(72px, 6.5vw, 112px) 0; background: #171c42; color: #fff; border-bottom: 4px solid #2c3077; }
.ht-ab__section-heading--dark h2 { color: #fff; }
.ht-ab__section-heading--dark h2 span { color: #f08ea2; }
.ht-ab__benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.ht-ab__benefit { padding: clamp(22px, 2vw, 32px); border: 1px solid rgba(215,220,247,.18); border-radius: 16px; background: rgba(255,255,255,.04); transition: background .25s ease, border-color .25s ease; }
.ht-ab__benefit:hover { background: rgba(255,255,255,.075); border-color: rgba(239,162,178,.4); }
.ht-ab__benefit-icon { display: grid; place-items: center; width: 57px; height: 57px; background: #fff; border: 1px solid #cbd6ec; border-radius: 12px; margin-bottom: 23px; }
.ht-ab__benefit-icon img { width: 27px; height: 27px; object-fit: contain; }
.ht-ab__benefit h3 { color: #fff; font-size: clamp(17px, 1.25vw, 20px); font-weight: 800; line-height: 1.35; }
.ht-ab__benefit p { margin: 12px 0 0; color: #cbd1e4; font-size: 13px; line-height: 1.7; }

/* 05 — CTA */
.ht-ab__cta { padding: clamp(70px, 6vw, 104px) 0; background: #ffffff; }
.ht-ab__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ht-ab__cta h2 { max-width: 730px; }
.ht-ab__cta h2 span { display: block; }
.ht-ab__cta-inner > div:first-child > p:last-child { margin: 15px 0 0; color: var(--ab-body); line-height: 1.7; font-size: 15px; }
.ht-ab__cta-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }
.ht-ab__button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 15px 23px; min-height: 53px; border-radius: 10px; font-size: 14px; font-weight: 800; text-decoration: none !important; border: 1px solid; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ht-ab__button:hover { transform: translateY(-2px); }
.ht-ab__button--red { color: #fff !important; background: var(--ab-red); border-color: var(--ab-red); box-shadow: 0 10px 25px rgba(190,32,57,.19); }
.ht-ab__button--red:hover { background: #9b1a30; }
.ht-ab__button--outline { background: #fff; border-color: #cdd5e6; color: var(--ab-navy) !important; }
.ht-ab__button--outline:hover { box-shadow: 0 9px 24px rgba(23,28,66,.1); }

@media (max-width: 1100px) {
  .ht-ab__story-grid { gap: 35px; }
  .ht-ab__benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ht-ab__cta-inner { align-items: flex-start; flex-direction: column; gap: 26px; }
}
@media (max-width: 850px) {
  .ht-ab__story-grid { grid-template-columns: 1fr; max-width: 670px; }
  .ht-ab__story-media { max-width: 630px; width: 100%; margin: 0 auto; }
  .ht-ab__service-grid { grid-template-columns: 1fr; max-width: 630px; margin-inline: auto; }
  .ht-ab__service-card { min-height: 0; }
  .ht-ab__hero { background-position: 58% center; }
}
@media (max-width: 600px) {
  .ht-ab__container { width: min(calc(100% - 32px), 1580px); }
  .ht-ab__hero { min-height: 395px; padding-block: 39px 62px; background-position: 54% center; }
  .ht-ab__hero::before { background: linear-gradient(90deg, rgba(12,18,40,.93), rgba(12,18,40,.7)); }
  .ht-ab__breadcrumbs { margin-bottom: 43px; }
  .ht-ab__hero h1 { font-size: clamp(37px, 9vw, 52px); }
  .ht-ab__hero-description { font-size: 14px; }
  .ht-ab__story { padding: 64px 0; }
  .ht-ab__story-copy h2, .ht-ab__section-heading h2, .ht-ab__cta h2 { font-size: clamp(32px, 8vw, 41px); }
  .ht-ab__stats { gap: 17px; padding: 17px 20px; }
  .ht-ab__stat strong { font-size: 30px; }
  .ht-ab__stat span { font-size: 11px; }
  .ht-ab__services, .ht-ab__benefits { padding-block: 67px; }
  .ht-ab__section-heading { margin-bottom: 29px; }
  .ht-ab__benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .ht-ab__benefit { display: grid; grid-template-columns: 57px 1fr; column-gap: 15px; align-items: center; }
  .ht-ab__benefit-icon { grid-row: span 2; margin: 0; }
  .ht-ab__benefit p { margin-top: 4px; }
  .ht-ab__cta { padding-block: 68px; }
  .ht-ab__cta-buttons { width: 100%; }
  .ht-ab__button { flex: 1 1 185px; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-ab *, .ht-ab *::before, .ht-ab *::after { transition: none !important; animation: none !important; }
}
