/* ===================================================================
   WHIRR Contracting LLC — Homepage stylesheet
   Design tokens extracted from Figma export.
   Mobile-first responsive: ~640px (mobile) / 1024px (tablet) / 1440px (desktop)
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors (from Figma) */
  --c-dark: #274D5A;
  --c-teal: #44988E;
  --c-amber: #F9AE65;
  --c-amber-soft: #ECB56F;
  --c-text: #3F3F3F;
  --c-white: #FFFFFF;
  --c-footer: #191919;
  --c-field-bg: #F5F5F5;

  --gradient-brand: linear-gradient(106.12deg,
    #274D5A 15.14%,
    #44988E 57.27%,
    #F9AE65 100.55%);

  /* Typography */
  --font: 'Saira', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 1290px;
  --container-pad: clamp(20px, 5vw, 75px);
  --radius-pill: 48px;

  /* Shadows */
  --shadow-card-lg: 0 -1px 28.1px rgba(0, 0, 0, 0.25);
  --shadow-card-sm: 0 -0.5px 13.74px rgba(0, 0, 0, 0.25);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.62;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---------- Reusable bits ---------- */
.eyebrow {
  font-weight: 400;
  font-size: clamp(13px, 1.4vw, 23px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 24px;
  line-height: 1.38;

  background: linear-gradient(
    to right,
    #FFFFFF 0%,
    #FFFFFF 70%,
    rgba(255, 255, 255, 0.6) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-title {
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 0.87;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-title--center { text-align: center; }
.section-title--white {
  background: none;
  -webkit-text-fill-color: var(--c-white);
  color: var(--c-white);
}

/* Buttons (pill shape, 48px radius, 0.78px border in Figma) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .25s ease, color .25s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

.btn--outline-dark {
  border-color: var(--c-dark);
  color: var(--c-dark);
  padding: 10px 28px;
}
.btn--outline-dark:hover {
  background: var(--c-dark);
  color: var(--c-white);
}

.btn--submit { padding: 12px 36px; }


/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  position: static;
  background: var(--c-white);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img { height: 44px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.primary-nav ul {
  display: flex;
  gap: 36px;
}
.primary-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3F3F3F;
  transition: color .2s ease;
}
.primary-nav ul a:hover { color: var(--c-dark); }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  padding: 6px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-dark);
  transition: transform .25s ease, opacity .25s ease;
}


/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 826px;
  padding: 120px 0 200px;
  overflow: hidden;
  color: var(--c-white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  z-index: -3;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.60;
  z-index: -2;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 480px;
  height: 480px;
  background: var(--c-amber-soft);
  opacity: 0.55;
  filter: blur(110px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero__man {
  position: absolute;
  left: 51.3%;
  top: 0;
  height: 100%;
  width: auto;
  max-height: 826px;
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero__vertical {
  position: absolute;
  right: 28px;
  top: 27%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.88em;
  text-transform: uppercase;
  color: var(--c-white);
  white-space: nowrap;
}
/* .hero__vertical img {
  height: clamp(280px, 38vh, 580px);
  width: auto;
  display: block;
} */

.hero__inner { position: relative; z-index: 2; order: 1; }
.hero__content { max-width: 720px; }

.hero__title {
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 93px);
  line-height: 0.87;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  color: var(--c-white);
  width: clamp(420px, 52.6vw, 757px);
  overflow: hidden;
}

.hero__copy {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.62;
  max-width: 560px;
  margin: 0 0 36px;
}


/* ===================================================================
   COMPANY OVERVIEW
   =================================================================== */
.overview {
  position: relative;
  margin-top: -85px;
  z-index: 3;
  padding-bottom: 80px;
}
.overview__card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  min-height: 651px;
  overflow: hidden;
}
.overview__image {
  position: relative;
  background: #c7c7c7;
  overflow: hidden;
}
.overview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overview__text {
  padding: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.overview__text .section-title {
  margin-bottom: 8px;
}
.overview__text p {
  margin: 0;
  color: var(--c-text);
}


/* ===================================================================
   CORE SERVICE AREAS
   =================================================================== */
.services-grid {
  padding: 60px 0 100px;
}
.services-grid .section-title {
  margin-bottom: 56px;
}
.services-grid__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-amber);
  padding: 50px 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  aspect-ratio: 266 / 278;
  min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(39, 77, 90, 0.08);
}
.service-card__icon {
  width: 90px;
  height: auto;
}
.service-card h3 {
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-dark);
  margin: 0;
}

/* Adjustment for the sizes of the contents in serveices */
/* .service-list .container {
  max-width: 90%;
  padding-left: clamp(20px, 6vw, 110px);
  padding-right: clamp(20px, 6vw, 110px);
} */

/* ===================================================================
   WHY WHIRR
   =================================================================== */
.why-whirr {
  position: relative;
  padding: 100px 0 200px;
  background: var(--gradient-brand);
  color: var(--c-white);
  overflow: hidden;
}
.why-whirr::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.10;
  pointer-events: none;
}
.why-whirr > .container { position: relative; }

.why-whirr__lead {
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  margin: 16px 0 56px;
  color: var(--c-white);
}

.why-whirr__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 6px;
}

.reason-card {
  background: var(--c-white);
  box-shadow: var(--shadow-card-sm);
  display: grid;
  grid-template-columns: 205px 1fr;
  align-items: stretch;
  height: 200px;
  overflow: visible;
  position: relative;
  margin-bottom: 7%;
}

.reason-card__image {
  position: relative;
  width: 205px;
  height: 192px;
  overflow: hidden;
  background: #c7c7c7;
  align-self: start;
  margin-top: -20px;
  left: 5%;
}
.reason-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reason-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}

.reason-card__body {
  padding: 16px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 92px;
}

.reason-card__num {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--c-amber);
  margin: 0;
}

.reason-card h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-dark);
  margin: 0;
}

.why-whirr__outro {
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  margin-top: 56px;
  color: var(--c-white);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


/* ===================================================================
   GET STARTED FORM
   =================================================================== */
.get-started {
  background: var(--c-white);
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}
/* .get-started::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.10;
  pointer-events: none;
}
.get-started > .container { position: relative; } */

.get-started__card {
  display: grid;
  grid-template-columns: 571fr 571fr;
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  min-height: 642px;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  transform: translateY(-128px);
  margin-bottom: -128px;
  z-index: 3;
}

.get-started__form-wrap {
  padding: clamp(40px, 5vw, 80px) clamp(30px, 4.5vw, 75px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.get-started__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-weight: 400;
  font-size: 16px;
  color: var(--c-text);
}
.field input {
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-field-bg);
  border: 0;
  border-bottom: 1px solid var(--c-amber);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus {
  border-bottom-color: var(--c-dark);
  background: #fafafa;
}
.field input.is-invalid {
  border-bottom-color: #d64545;
  background: #fff7f7;
}
.form-status {
  margin: 0;
  min-height: 20px;
  font-size: 14px;
  color: var(--c-dark);
}
.form-status.is-error { color: #d64545; }
.form-status.is-success { color: #2c8a5b; }

.get-started__image {
  position: relative;
  background: #c7c7c7;
  overflow: hidden;
}
.get-started__image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.get-started__watermark {
  position: absolute;
  top: 5%;
  left: 7%;
  width: 22%;
  max-width: 130px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

/* 
position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 260px;
  height: auto;
  opacity: 0.85;
  pointer-events: none; */

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--c-footer);
  color: var(--c-white);
  padding: 60px 0 50px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: start;
  gap: 40px;
}
.site-footer__logo {
  height: 50px;
  width: auto;
  margin-bottom: 22px;
}
.site-footer__contact {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.site-footer__nav {
  padding-top: 12px;
}
.site-footer__nav ul {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.site-footer__nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white);
  transition: color .2s ease;
}
.site-footer__nav a:hover { color: var(--c-amber); }

.site-footer__social {
  display: flex;
  gap: 16px;
  padding-top: 12px;
}
.site-footer__social img {
  width: 22px;
  height: 22px;
  transition: transform .2s ease, opacity .2s ease;
}
.site-footer__social a:hover img {
  transform: translateY(-2px);
  opacity: 0.85;
}

.get-started__form .btn,
.get-started__form button[type="submit"] {
  width: auto;
  min-width: 130px;
  max-width: 160px;
  align-self: flex-start;
  padding: 10px 32px;
  font-size: 13px;
  margin-top: -8px;
}


/* ===================================================================
   ANIMATIONS (subtle, on load)
   =================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content > * {
  animation: fadeUp .8s ease both;
}
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .15s; }
.hero__content > *:nth-child(3) { animation-delay: .30s; }
.hero__content > *:nth-child(4) { animation-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===================================================================
   RESPONSIVE — TABLET
   =================================================================== */
@media (max-width: 1024px) {
  .hero { padding: 80px 0 160px; min-height: auto; }
  .hero__man {
    left: 42%;
    height: 90%;
    opacity: 0.55;
  }
  .hero__vertical { display: none; }

  .overview__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .overview__image { aspect-ratio: 16/10; }

  .services-grid__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-whirr__grid {
    grid-template-columns: 1fr;
  }

  .get-started__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .get-started__image { aspect-ratio: 16/10; order: -1; }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__social { grid-column: span 2; justify-content: flex-start; }
}


/* ===================================================================
   RESPONSIVE — MOBILE
   =================================================================== */
@media (max-width: 720px) {
  body { font-size: 16px; }

  /* Mobile nav */
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--c-white);
    padding: 18px 24px 24px;
    z-index: 100;
    gap: 18px;
    align-items: stretch;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 18px 28px rgba(0,0,0,0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 14px;
  }
  .primary-nav .btn--outline-dark {
    align-self: flex-start;
  }
  .header-inner { position: relative; }

  /* Hero */
  .hero {
    padding: 70px 0 100px;
    text-align: left;
  }
  .hero__inner { 
    position: relative;
    z-index: 2; 
  }
  .hero__man {
    position: absolute;
    right: -10%;
    bottom: 0;
    top: 0;
    width: 90%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0.7;
    z-index: 0;
  }
  .hero__title { 
    width: 100%;
    overflow: visible;
  }

  /* Overview */
  .overview { margin-top: -30px; }
  .overview__text { padding: 30px 24px; }

  /* Services */
  .services-grid { padding: 0 0 60px; }
  .services-grid__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card { aspect-ratio: auto; padding: 36px 20px; }

  /* Why Whirr */
  .why-whirr { padding: 60px 0; }
  .reason-card {
    grid-template-columns: 1fr 1fr;
    min-height: 160px;
    height: auto;
    margin-bottom: 20px;
  }
  .reason-card__image {
    width: 100%;
    height: 100%;
    margin-top: 0;
    left: 0;
    align-self: stretch;
  }
  .reason-card__body {
    padding: 16px 18px;
    gap: 12px;
    justify-content: center;
  }
  .reason-card h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  /* Get started */
  .get-started { padding-bottom: 70px; }
  .get-started__form-wrap { padding: 40px 24px; }

  /* Footer */
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer__nav { padding-top: 0; }
  .site-footer__social { grid-column: auto; }
}


/* ===================================================================
   SERVICES PAGE
   =================================================================== */

/* ---------- Active nav state ---------- */
.primary-nav a.is-active {
  color: var(--c-dark);
  position: relative;
}
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

/* ---------- Button additions ---------- */
.btn--primary {
  background: var(--c-dark);
  color: var(--c-amber);
  border-color: var(--c-dark);
  padding: 12px 30px;
}
.btn--primary:hover {
  background: #1e3d48;
  color: var(--c-amber);
}

.btn--lg {
  padding: 16px 44px;
  font-size: 14px;
}

/* ---------- Services Hero ---------- */
.services-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--c-white);
  padding: 80px 0 220px;
}
.services-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(106.12deg,
      rgba(39, 77, 90, 1) 15.14%,
      rgba(68, 152, 142, 1) 57.27%,
      rgba(249, 174, 101, 1) 100.55%),
    url("../images/second_bg.png") center / cover no-repeat;
  background-blend-mode: overlay, normal;
  z-index: -1;
}
.services-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services-hero__title {
  font-weight: 700;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.87;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0;
  letter-spacing: 0.005em;
}
.services-hero__lead {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-white);
  margin: 0;
}

@media (min-width: 1025px) {
  .services-hero { padding: 120px 0 380px; }
  .services-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
  }
  .services-hero__lead {
    text-align: right;
    align-self: flex-start;
    padding-top: 16px;
  }
}

/* ---------- Service List (alternating rows) ---------- */
.service-list {
  background: transparent;
  padding: 0 0 90px;
  margin-top: -280px;
  position: relative;
  z-index: 2;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  margin-bottom: 60px;
  overflow: hidden;
}
.service-row:last-child { margin-bottom: 0; }

.service-row__image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #C7C7C7;
}
.service-row__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-row__content {
  padding: 40px 28px 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-teal);
  flex: 0 0 auto;
}
.service-row__icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.service-row__title {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 0.87;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
}

.service-row__content p {
  font-size: 18px;
  line-height: 1.62;
  color: var(--c-text);
  font-weight: 300;
  max-width: 520px;
  margin: 0;
}

.service-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 1025px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    margin-bottom: 50px;
  }
  .service-row__image { min-height: 480px; }
  .service-row__content {
    padding: 60px 56px;
    justify-content: center;
    gap: 24px;
  }

  /* Image left layout */
  .service-row--image-left .service-row__image   { grid-column: 1; grid-row: 1; }
  .service-row--image-left .service-row__content { grid-column: 2; grid-row: 1; }

  /* Image right layout */
  .service-row--image-right .service-row__content { grid-column: 1; grid-row: 1; }
  .service-row--image-right .service-row__image   { grid-column: 2; grid-row: 1; }
}

@media (min-width: 1280px) {
  .service-row__image { min-height: 559px; }
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  position: relative;
  isolation: isolate;
  padding: 380px 0 110px;
  margin-top: -360px;
  color: var(--c-white);
  text-align: center;
  overflow: hidden;
}
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  z-index: -2;
}
.contact-cta::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 20px;
  width: 615px;
  height: 540px;
  background: url("../images/Vector2.png") right top / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}
.contact-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.contact-cta__title {
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 0.87;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 720px) {
  .services-hero { padding: 56px 0 200px; }
  .service-list  { margin-top: -160px; padding: 0 0 60px; }

  .service-row { margin-bottom: 36px; }
  .service-row__content { padding: 32px 22px 36px; }
  .service-row__image   { min-height: 240px; }

  .service-row__actions .btn { flex: 1 1 auto; }

  .contact-cta {
    padding: 160px 0 76px;
    margin-top: -140px;
  }
  .contact-cta::after {
    width: 380px;
    height: 380px;
    right: -60px;
    top: 20px;
  }
}

/* ===================================================================
   ABOUT PAGE
   =================================================================== */

/* ---------- About Hero ---------- */
.about-hero {
  position: relative;
  isolation: isolate;
  background: var(--c-white);
  padding: 80px 0 400px;
  overflow: hidden;
  min-height: 720px;
}
.about-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #FFFFFF 36.72%, rgba(255, 255, 255, 0) 56.33%),
    url("../images/third_bg.png") center center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 1;
  z-index: -3;
  pointer-events: none;
}
.about-hero__man {
  position: absolute;
  left: calc(45% + 100px);
  right: auto;
  top: -40px;
  height: 795px;
  width: auto;
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.about-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.about-hero__content {
  max-width: 629px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 1;
}
.about-hero__title {
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 50px);
  line-height: 0.87;
  text-transform: uppercase;
  margin: 0 0 12px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-hero__title--white {
  -webkit-text-fill-color: var(--c-dark);
  color: var(--c-dark);
  background: none;
}
.about-hero__content p {
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-text);
  margin: 0;
}

/* ---------- Our Approach (overlapping white card on gradient) ---------- */
.our-approach {
  position: relative;
  z-index: 3;
  background: transparent;
  padding-bottom: 0;
}
.our-approach__card {
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  padding: 70px clamp(30px, 5vw, 80px) 70px;
  position: relative;
  z-index: 3;
  margin-top: -352px;
  max-width: 1187px;
  margin-left: auto;
  margin-right: auto;
}
.our-approach__lead {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--c-text);
  margin: 12px 0 36px;
}
.our-approach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}
.approach-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.approach-item__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.approach-item h3 {
  font-weight: 700;
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-dark);
  margin-top: 15px;
}
.our-approach__outro {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--c-text);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Our Focus (gradient section with cards) ---------- */
.our-focus {
  position: relative;
  background: var(--gradient-brand);
  color: var(--c-white);
  padding: 340px 0 200px;
  margin-top: -239px;
  overflow: hidden;
}
.our-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
}
.our-focus > .container { position: relative; }
.our-focus__lead {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--c-white);
  margin: 16px 0 80px;
}
.our-focus__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 30px;
  max-width: 1140px;
  margin: 0 auto;
}
.focus-card {
  background: var(--c-white);
  box-shadow: var(--shadow-card-sm);
  display: grid;
  grid-template-columns: 205px 1fr;
  align-items: stretch;
  height: 200px;
  overflow: visible;
  position: relative;
  margin-bottom: 7%;
}
.focus-card__image {
  position: relative;
  width: 205px;
  height: 192px;
  overflow: hidden;
  background: #c7c7c7;
  align-self: start;
  margin-top: -20px;
  left: 5%;
}
.focus-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.focus-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.focus-card__body {
  padding: 16px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 92px;
}
.focus-card__num {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.05;
  color: var(--c-amber);
  margin: 0;
}
.focus-card h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-dark);
  margin: 0;
}
.our-focus__outro {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--c-white);
  max-width: 840px;
  margin: 24px auto 50px;
  position: relative;
  z-index: 5;
}

/* ---------- About Page Responsive ---------- */
@media (max-width: 1024px) {
  .about-hero {
    padding: 60px 0 80px;
    min-height: auto;
    overflow: visible;
  }
  .about-hero__man {
    position: absolute;
    right: 15px;
    top: 350px;
    bottom: auto;
    left: auto;
    width: 50%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    opacity: 0.7;
  }
  .about-hero__content { max-width: 60%; }

  .our-approach__card {
    margin-top: 30px;
    position: relative;
    z-index: 2;
  }
  .our-approach__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .our-focus {
    padding: 80px 0 100px;
    margin-top: 40px;
  }
  .our-focus__grid { grid-template-columns: 1fr; 
  }
}

@media (max-width: 720px) {
  .about-hero {
    padding: 50px 0 80px;
    overflow: visible;
  }
  .about-hero__man {
    position: absolute;
    right: 0;
    top: 60px;
    bottom: auto;
    left: auto;
    width: 65%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: top right;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
  }
  .about-hero__content { max-width: 100%; }
  .about-hero__content p {
    color: #1a1a1a;
    font-weight: 400;
  }

  .our-approach__card {
    padding: 50px 24px 40px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
  }
  .our-approach__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .our-focus {
    padding: 60px 0 60px;
    margin-top: 40px;
  }
  .focus-card {
    grid-template-columns: 1fr 1fr;
    min-height: 160px;
    height: auto;
    margin-bottom: 20px;
  }
  .focus-card__image {
    width: 100%;
    height: 100%;
    margin-top: 0;
    left: 0;
    align-self: stretch;
  }
  .focus-card__body {
    padding: 16px 18px;
    gap: 12px;
    justify-content: center;
  }
  .focus-card h3 {
    font-size: 13px;
    line-height: 1.2;
  }
}


/* ===================================================================
   CAPABILITY STATEMENT PAGE
   =================================================================== */

/* ---------- Company Overview (image left + text right) ---------- */
.capability-overview {
  position: relative;
  z-index: 3;
  background: transparent;
  margin-top: -260px;
}
.services-hero--no-bg .services-hero__bg {
  background: var(--gradient-brand);
}
.capability-overview__card {
  display: grid;
  grid-template-columns: 568fr 571fr;
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  min-height: 651px;
  max-width: 1139px;
  margin: 0 auto;
  overflow: hidden;
}
.capability-overview__image {
  position: relative;
  background: #c7c7c7;
  overflow: hidden;
}
.capability-overview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.capability-overview__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.capability-overview__text {
  padding: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.capability-overview__text .section-title {
  margin-bottom: 8px;
}
.capability-overview__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-text);
}

/* ---------- Core Competencies (title + 4 .service-card grid) ---------- */
.core-competencies {
  background: var(--c-white);
  padding: 80px 0 80px;
}
.core-competencies .section-title {
  text-align: center;
  margin: 0 0 48px;
}
.core-competencies .services-grid__list {
  max-width: 1139px;
  margin: 0 auto;
}
.core-competencies .service-card {
  aspect-ratio: auto;
  min-height: 278px;
  min-width: 0;
}
.core-competencies .service-card:last-child {
  border-right: 1px solid var(--c-amber);
}

/* ---------- Differentiators / Company Data split section ---------- */
.split-info {
  background: var(--c-white);
}
.split-info__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 510px;
}
.split-info__pane {
  display: flex;
  align-items: flex-start;
  padding: clamp(80px, 9vw, 130px) clamp(40px, 8vw, 120px) clamp(50px, 6vw, 80px);
}
.split-info__pane--dark  { background: var(--c-dark); }
.split-info__pane--amber { background: var(--c-amber); }

.split-info__content {
  width: 100%;
  max-width: 415px;
  box-sizing: border-box;
}
/* Dark pane: content hugs the RIGHT (toward divide) */
.split-info__pane--dark .split-info__content {
  margin-left: auto;
  margin-right: 0;
}

/* Amber pane: content hugs the LEFT (toward divide) */
.split-info__pane--amber .split-info__content {
  margin-left: 0;
  margin-right: auto;
}
.split-info__title {
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 45px);
  line-height: 0.87;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--c-white);
  margin: 0 0 28px;
  white-space: nowrap;
}
.split-info__title--dark { color: var(--c-dark); }

.split-info__list {
  list-style: disc;
  padding-left: 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split-info__list li {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--c-white);
}
.split-info__list--dark li { color: var(--c-dark); }

/* ---------- Business Focus (text left + image right) ---------- */
.business-focus {
  background: var(--c-white);
  padding: 80px 0 220px;
}
.business-focus__card {
  display: grid;
  grid-template-columns: 571fr 568fr;
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  min-height: 561px;
  max-width: 1139px;
  margin: 0 auto;
  overflow: hidden;
}

.business-focus__text {
  padding: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.business-focus__text .section-title {
  margin-bottom: 8px;
}
.business-focus__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-text);
}
.business-focus__image {
  position: relative;
  background: #c7c7c7;
  overflow: hidden;
}
.business-focus__image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-focus__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.business-focus__watermark {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 18%;
  max-width: 110px;
  height: auto;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Capability page responsive ---------- */
@media (max-width: 1024px) {
  .capability-overview { margin-top: -120px; }
  .capability-overview__card,
  .business-focus__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .capability-overview__image,
  .business-focus__image {
    aspect-ratio: 16/10;
  }

  .core-competencies .services-grid__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-info__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .split-info__pane--dark  .split-info__content,
  .split-info__pane--amber .split-info__content {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .capability-overview { margin-top: -80px; }
  .capability-overview__text,
  .business-focus__text {
    padding: 40px 24px;
  }

  .core-competencies { padding: 50px 0 50px; }
  .core-competencies .services-grid__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .core-competencies .service-card {
    padding: 44px 24px;
    gap: 24px;
    min-height: auto;
  }
  .core-competencies .service-card__icon {
    width: 110px;
  }
  .core-competencies .service-card h3 {
    font-size: 22px;
    line-height: 1.2;
  }
  .split-info__pane {
    padding: 40px 24px;
  }

  .business-focus { padding: 50px 0 40px; }
}



/* ===================================================================
   CONTACT PAGE
   =================================================================== */

/* ---------- Contact Hero (gradient banner with title + right-aligned lead) ---------- */
.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-white);
  padding: 60px 0 80px;
}
.contact-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  z-index: -1;
}
.contact-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-hero__title {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 0.87;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0;
}
.contact-hero__lead {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-white);
  margin: 0;
}

@media (min-width: 1025px) {
  .contact-hero { padding: 80px 0 100px; }
  .contact-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }
  .contact-hero__lead {
    text-align: right;
  }
}

/* ---------- Contact Info (3 circular icon cards) ---------- */
.contact-info {
  background: var(--c-white);
  padding: 90px 0 60px;
}
.contact-info__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1139px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.contact-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.contact-info__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 11vw, 154px);
  height: clamp(120px, 11vw, 154px);
  border-radius: 50%;
  background: linear-gradient(63.65deg, #274D5A 7.82%, #44988E 44.61%, #FAAC6A 85.31%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-info__circle:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(39, 77, 90, 0.15);
}
.contact-info__circle img {
  width: 45%;
  height: auto;
  filter: brightness(0) invert(1);
}
.contact-info__label {
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.2;
  color: var(--c-text);
  margin: 0;
}

/* ---------- Inquiry Note (reuses business-focus card pattern) ---------- */
.inquiry-note {
  background: var(--c-white);
  padding: 60px 0 100px;
}
.inquiry-note__card {
  display: grid;
  grid-template-columns: 571fr 568fr;
  background: var(--c-white);
  box-shadow: var(--shadow-card-lg);
  min-height: 561px;
  max-width: 1139px;
  margin: 0 auto;
  overflow: hidden;
}
.inquiry-note__text {
  padding: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.inquiry-note__text .section-title {
  margin-bottom: 8px;
}
.inquiry-note__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-text);
}
.inquiry-note__list {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-note__list li {
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--c-text);
}
.inquiry-note__image {
  position: relative;
  background: #c7c7c7;
  overflow: hidden;
}
.inquiry-note__image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inquiry-note__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.inquiry-note__watermark {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 18%;
  max-width: 110px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Active state for the Contact Us pill button ---------- */
.primary-nav .btn.is-active {
  background: var(--c-dark);
  color: var(--c-white);
}

/* ---------- Contact page responsive ---------- */
@media (max-width: 1024px) {
  .contact-info__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .inquiry-note__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .inquiry-note__image {
    aspect-ratio: 16/10;
    order: -1;
  }
}

@media (max-width: 720px) {
  .contact-hero { padding: 50px 0 60px; }
  .contact-info { padding: 60px 0 40px; }
  .contact-info__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .inquiry-note { padding: 40px 0 60px; }
  .inquiry-note__text {
    padding: 40px 24px;
  }
}/* ===================================================================
   MOBILE / TABLET POLISH — append to end of styles.css
   Targets gaps not handled by your existing 1024px/720px breakpoints.
   Three breakpoints addressed:
     - 1024px (iPad/tablet portrait)  → already partially handled, this fills gaps
     - 768px  (small tablet / large phone landscape)
     - 480px  (phone)
   =================================================================== */

/* ===================================================================
   ≤ 1024px — iPad portrait, small laptops
   =================================================================== */
@media (max-width: 1024px) {

  /* Why Whirr — single column on tablet so cards don't squish */
  .why-whirr { padding: 60px 0 100px; }
  .why-whirr__grid {
    max-width: 540px;
    gap: 28px;
  }
  .reason-card {
    grid-template-columns: 180px 1fr;
    height: 180px;
  }
  .reason-card__image { width: 180px; height: 172px; }
  .reason-card__body { gap: 60px; }

  /* Service rows — stack on tablet (image always on top) */
  .service-row__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .service-row__content {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  /* Capability page hero spacing */
  .capability-overview { margin-top: -180px; }

  /* Contact info circles — keep 3-across but smaller */
  .contact-info__circle {
    width: clamp(100px, 14vw, 140px);
    height: clamp(100px, 14vw, 140px);
  }

  /* Tighten section paddings */
  .core-competencies { padding: 60px 0; }
  .business-focus { padding: 60px 0 140px; }
  .our-focus { padding: 100px 0 100px; }
}

/* ===================================================================
   ≤ 768px — small tablet / large phone landscape
   =================================================================== */
@media (max-width: 768px) {

  /* Hero (homepage) — tighter spacing */
  .hero { 
    padding: 60px 0 80px;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__title {
    font-size: clamp(38px, 10vw, 60px);
    width: 100%;
    overflow: visible;
  }
  .hero__copy { max-width: 100%; }

  /* Section titles scale down */
  .section-title { font-size: clamp(32px, 7vw, 48px); }

  /* Services hero */
  .services-hero { padding: 50px 0 180px; }
  .services-hero__title { font-size: clamp(40px, 9vw, 64px); }
  .services-hero__lead {
    text-align: left;
    max-width: 100%;
  }

  /* About hero */
  .about-hero {
    padding: 40px 0 80px;
    min-height: auto;
    overflow: visible;
  }
  .about-hero__title { font-size: clamp(28px, 7vw, 40px); }
  .about-hero__man {
    position: absolute;
    right: 0;
    top: 80px;
    bottom: auto;
    left: auto;
    width: 60%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: top right;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
  }
  .about-hero__content { max-width: 100%; }
  .about-hero__content p {
    color: #1a1a1a;
    font-weight: 400;
  }

  /* Contact hero */
  .contact-hero { padding: 50px 0 60px; }
  .contact-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .contact-hero__lead {
    text-align: left;
    max-width: 100%;
  }
  .contact-hero__title { font-size: clamp(32px, 7vw, 44px); }

  /* Our Approach card */
  .our-approach__card {
    padding: 50px 24px 40px;
    margin-top: 30px;
    margin-left: 16px;
    margin-right: 16px;
    position: relative;
    z-index: 2;
  }
  .our-approach__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .approach-item h3 { font-size: 18px; }

  /* Our Focus section */
  .our-focus {
    padding: 60px 0 80px;
    margin-top: 40px;
  }
  .our-focus__grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  /* Why Whirr cards */
  .why-whirr__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .reason-card {
    grid-template-columns: 140px 1fr;
    height: auto;
    min-height: 160px;
  }
  .reason-card__image {
    width: 140px;
    height: 140px;
    margin-top: -10px;
  }
  .reason-card__body {
    padding: 14px 18px;
    gap: 28px;
  }
  .reason-card h3 { font-size: 15px; }
  .why-whirr__outro br { display: none; }

  /* Focus cards */
  .focus-card {
    grid-template-columns: 140px 1fr;
    height: auto;
    min-height: 160px;
  }
  .focus-card__image {
    width: 140px;
    height: 140px;
    margin-top: -10px;
  }
  .focus-card__body {
    padding: 14px 18px;
    gap: 28px;
  }
  .focus-card h3 { font-size: 15px; }

  /* Service rows */
  .service-list { margin-top: -150px; padding: 0 0 50px; }
  .service-row { margin-bottom: 28px; }
  .service-row__content { padding: 28px 22px 32px; gap: 14px; }
  .service-row__image { min-height: 220px; }
  .service-row__title { font-size: clamp(26px, 6vw, 38px); }

  /* Get Started form */
  .get-started__card { transform: none; margin-bottom: 0; }
  .get-started { padding: 40px 0 60px; }
  .get-started__form-wrap { padding: 36px 22px; }

  /* Contact CTA */
  .contact-cta {
    padding: 130px 0 60px;
    margin-top: -110px;
  }
  .contact-cta::after {
    width: 280px;
    height: 280px;
    right: -50px;
    top: 30px;
    opacity: 0.5;
  }
  .contact-cta__title { font-size: clamp(26px, 6vw, 40px); }

  /* Capability page split-info */
  .split-info__pane {
    padding: 50px 28px;
    align-items: flex-start;
  }
  .split-info__content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
  }
  .split-info__title {
    font-size: clamp(26px, 7vw, 38px);
    white-space: normal;        /* allow wrap on small screens if needed */
  }
  .split-info__list li { font-size: 15px; }

  /* Capability overview */
  .capability-overview { margin-top: -120px; }
  .capability-overview__text,
  .business-focus__text,
  .inquiry-note__text {
    padding: 36px 22px;
    gap: 16px;
  }

  /* Business focus mobile padding */
  .business-focus { padding: 50px 0 60px; }

  /* Contact circles */
  .contact-info { padding: 50px 0 30px; }
  .contact-info__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .contact-info__circle {
    width: clamp(70px, 18vw, 110px);
    height: clamp(70px, 18vw, 110px);
  }
  .contact-info__label { font-size: 13px; }

  /* Service grid (homepage) */
  .services-grid__list { grid-template-columns: repeat(2, 1fr); }

  /* Buttons sized down */
  .btn { padding: 12px 30px; font-size: 13px; }
  .btn--lg { padding: 14px 36px; }
}

/* ===================================================================
   ≤ 480px — phones (portrait)
   =================================================================== */
@media (max-width: 480px) {

  .about-hero__man {
    position: absolute;
    right: 10px;
    top: 350px;
    bottom: auto;
    left: auto;
    width: 75%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
  }

  /* Tighter container padding */
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Hero */
  .hero { padding: 40px 0 60px; }
  .hero__title { font-size: clamp(34px, 11vw, 50px); }
  .hero__copy { font-size: 15px; }

  /* Service grid: single column on phones */
  .services-grid__list,
  .core-competencies .services-grid__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card { padding: 28px 20px; gap: 20px; }
  .service-card__icon { width: 60px; }
  .service-card h3 { font-size: 17px; }
  .core-competencies .service-card { padding: 36px 22px; gap: 22px; }
  .core-competencies .service-card__icon { width: 90px; }
  .core-competencies .service-card h3 { font-size: 19px; }

  /* Reason / Focus cards: stack vertically with full-width image */
  .reason-card,
  .focus-card {
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 160px;
  }
  .reason-card__image,
  .focus-card__image {
    width: 100%;
    height: 100%;
    left: 0;
    margin-top: 0;
    align-self: stretch;
  }
  .reason-card__body,
  .focus-card__body {
    padding: 14px 14px;
    gap: 10px;
    justify-content: center;
  }
  .reason-card h3,
  .focus-card h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  /* Approach grid: single column on phones */
  .our-approach__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .our-approach__card {
    padding: 36px 20px 30px;
    margin-left: 10px;
    margin-right: 10px;
  }

  /* Service rows */
  .service-list { margin-top: -130px; }
  .service-row__image { min-height: 180px; }
  .service-row__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 20px;
  }

  /* Contact CTA — hide decorative vector on small phones */
  .contact-cta { padding: 100px 0 50px; }
  .contact-cta::after { display: none; }

  /* Contact info circles: stack vertically on phones */
  .contact-info__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-info__circle {
    width: 100px;
    height: 100px;
  }

  /* Footer nav: stack links */
  .site-footer__nav ul {
    flex-direction: column;
    gap: 12px;
  }

  /* Form fields: prevent iOS auto-zoom on focus */
  .field input { font-size: 16px; }

  /* Buttons */
  .btn { padding: 11px 24px; font-size: 12px; }
}