/* ============================================================
   SERVICE PAGE TEMPLATE  —  /services/{slug}
   Layout: full-width breadcrumb+hero, then a 2-col body
           (main article LEFT, sticky sidebar RIGHT), closing CTA.
============================================================ */

body { background: #fff; color: var(--navy); font-family: var(--font-sans); }

.svc-wrap { max-width: 1380px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }


/* ------------------------------------------------------------
   1. HERO  —  full-bleed image, dark scrim, content bottom-left
------------------------------------------------------------ */
.svc-hero {
  position: relative;
  min-height: clamp(560px, 86vh, 760px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #0b1e3d;       /* fallback while image loads */
}

/* Background image layer */
.svc-hero__bg {
  position: absolute; inset: 0;
  margin: 0;
  z-index: 0;
}
.svc-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Subtle slow drift behind the content for cinematic feel */
  animation: svcHeroDrift 24s ease-in-out infinite alternate;
}
@keyframes svcHeroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(-1.5%, -1%, 0); }
}

/* Two-stop scrim — darker at the bottom for legible content,
   slightly darker at the top so the topbar reads on the image. */
.svc-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11,30,61,0.55) 0%,
      rgba(11,30,61,0.18) 28%,
      rgba(11,30,61,0.55) 70%,
      rgba(11,30,61,0.85) 100%),
    linear-gradient(90deg,
      rgba(11,30,61,0.65) 0%,
      rgba(11,30,61,0.10) 55%,
      rgba(11,30,61,0) 100%);
  pointer-events: none;
}
/* Soft gold corner glow — top-right — for warmth */
.svc-hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(184,150,110,0.22), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Content positioning — bottom-left of the hero */
.svc-hero__inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: clamp(140px, 16vw, 200px) 0 clamp(48px, 6vw, 88px);
}
.svc-hero__col { max-width: 760px; }

/* Breadcrumb — light variant for dark hero */
.svc-crumb--on-dark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.svc-crumb--on-dark a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s ease; }
.svc-crumb--on-dark a:hover { color: var(--gold); }
.svc-crumb--on-dark span[aria-hidden] { color: rgba(255,255,255,0.35); }

/* Category chip with pulsing gold dot */
.svc-hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(184,150,110,0.55);
  border-radius: 999px;
  background: rgba(184,150,110,0.12);
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.svc-hero__chip-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,110,0.18);
  animation: svcHeroPulse 1.6s ease-in-out infinite;
}
@keyframes svcHeroPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184,150,110,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(184,150,110,0.05); }
}

.svc-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
  margin: 0 0 18px;
  max-width: 18ch;
}

.svc-hero__sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 clamp(28px, 3vw, 40px);
  max-width: 60ch;
}

/* CTA cluster */
.svc-hero__actions { display: inline-flex; gap: 14px; flex-wrap: wrap; }

.svc-hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(0,0,0,0.45);
  transition: background 0.35s ease, color 0.35s ease, gap 0.35s ease, transform 0.35s ease;
}
.svc-hero__cta svg { width: 13px; height: 10px; }
.svc-hero__cta:hover {
  background: var(--gold);
  color: #0b1e3d;
  gap: 16px;
  transform: translateY(-2px);
}

.svc-hero__cta-ghost {
  display: inline-flex; align-items: center;
  padding: 16px 22px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem; font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.svc-hero__cta-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(184,150,110,0.55);
  transform: translateY(-2px);
}

/* Legacy compact-breadcrumb style — still used on light surfaces
   elsewhere on the page. */
.svc-crumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(11,30,61,0.55);
  margin-bottom: clamp(20px, 2vw, 28px);
}
.svc-crumb a { color: rgba(11,30,61,0.78); text-decoration: none; transition: color 0.3s ease; }
.svc-crumb a:hover { color: var(--gold); }
.svc-crumb span[aria-hidden] { color: rgba(11,30,61,0.32); }

@media (max-width: 700px) {
  .svc-hero { min-height: 78vh; }
  .svc-hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .svc-hero__actions { flex-direction: column; align-items: stretch; }
  .svc-hero__cta, .svc-hero__cta-ghost { justify-content: center; }
}


/* ------------------------------------------------------------
   2. BODY  —  Main + Sidebar
------------------------------------------------------------ */
.svc-body {
  padding: clamp(40px, 5vw, 72px) 0 clamp(60px, 7vw, 110px);
  background: #fff;
}
.svc-body__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(40px, 4vw, 80px);
  align-items: start;
}

/* ===== MAIN ===== */
.svc-main { min-width: 0; }
.svc-block { margin: 0 0 clamp(32px, 3.5vw, 56px); }
.svc-main p {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.05vw, 1.06rem);
  line-height: 1.7;
  color: rgba(11,30,61,0.78);
  margin: 0 0 1.05em;
}
.svc-main p:last-child { margin-bottom: 0; }

.svc-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--navy);
  margin: 0 0 18px;
  padding-top: 6px;
  position: relative;
}
.svc-h2::before {
  content: "";
  position: absolute; left: 0; top: -10px;
  width: 36px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.svc-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 22px !important;
}

/* Bulleted list with gold ticks */
.svc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.svc-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 1.55;
  color: rgba(11,30,61,0.78);
}
.svc-list__tick {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(184,150,110,0.18);
  color: var(--gold);
  flex-shrink: 0;
}
.svc-list__tick svg { width: 14px; height: 14px; }


/* CALLOUT TRIO */
.svc-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  margin-bottom: clamp(32px, 3.5vw, 56px);
}
.svc-callout {
  position: relative;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 16px;
  background: #f7f5f0;
  border: 1px solid rgba(11,30,61,0.05);
  transition: background 0.4s ease, transform 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.svc-callout:hover {
  background: var(--navy);
  color: #fff;
  border-color: rgba(184,150,110,0.45);
  transform: translateY(-3px);
}
.svc-callout__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  margin-bottom: 14px;
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.svc-callout__icon svg { width: 22px; height: 22px; }
.svc-callout:hover .svc-callout__icon {
  background: var(--gold);
  color: #0b1e3d;
  transform: rotate(-6deg) scale(1.06);
}
/* Force title + desc white on hover. The desc inherits a dark navy from a
   global rule in home-page.css (.svc-callout__desc{color:rgba(11,30,61,.84)})
   that loads later and would otherwise stay dark against the navy hover bg.
   This descendant selector (specificity 0,3,0) beats it. */
.svc-callout:hover .svc-callout__title,
.svc-callout:hover .svc-callout__desc {
  color: #fff;
}
.svc-callout__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0 0 6px;
  color: inherit;
  letter-spacing: -0.005em;
}
.svc-callout__desc {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
  color: inherit;
  opacity: 0.78;
}


/* VIDEO */
.svc-video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ececea;
  aspect-ratio: 16 / 9;
}
.svc-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}


/* FAQ ACCORDION */
.svc-faq {
  border-top: 1px solid rgba(11,30,61,0.10);
}
.svc-faq__item {
  border-bottom: 1px solid rgba(11,30,61,0.10);
}
.svc-faq__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 12px 18px 0;
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  gap: 14px;
  align-items: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--navy);
  letter-spacing: -0.005em;
  transition: color 0.3s ease;
}
.svc-faq__q::-webkit-details-marker { display: none; }
.svc-faq__q:hover { color: var(--gold); }
.svc-faq__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}
.svc-faq__caret {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(11,30,61,0.06);
  color: var(--navy);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.3s ease, color 0.3s ease;
}
.svc-faq__caret svg { width: 11px; height: 11px; }
.svc-faq__item[open] .svc-faq__caret {
  transform: rotate(180deg);
  background: var(--gold);
  color: #0b1e3d;
}
.svc-faq__a {
  padding: 0 12px 22px 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(11,30,61,0.72);
}
.svc-faq__a p { margin: 0; }


/* RELATED PILL ROW */
.svc-related {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.svc-related__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11,30,61,0.12);
  font-family: var(--font-sans);
  font-size: 0.84rem; font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.svc-related__pill svg { color: rgba(11,30,61,0.5); transition: color 0.3s ease; }
.svc-related__pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.svc-related__pill:hover svg { color: var(--gold); }


/* ------------------------------------------------------------
   3. SIDEBAR
------------------------------------------------------------ */
.svc-side {
  position: sticky;
  top: 100px;
  display: flex; flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
  align-self: start;
}
.svc-widget {
  background: #f7f5f0;
  border: 1px solid rgba(11,30,61,0.05);
  border-radius: 18px;
  padding: clamp(20px, 1.8vw, 26px);
}
.svc-widget__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,150,110,0.45);
}
/* Temporary "(dummy content)" placeholder note next to widget titles
   that hold mock content pending the client's final copy. Subtle and
   italic so it reads as a note, not a heading. */
.svc-widget__placeholder {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72rem;
  color: rgba(11,30,61,0.55);
  vertical-align: middle;
}

/* Services list */
.svc-services { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.svc-service-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(11,30,61,0.78);
  transition: background 0.3s ease, color 0.3s ease, padding 0.35s ease;
}
.svc-service-link svg {
  width: 12px; height: 12px;
  color: rgba(11,30,61,0.35);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.35s ease, color 0.3s ease;
}
.svc-service-link:hover {
  background: #fff;
  color: var(--navy);
  padding-left: 16px;
}
.svc-service-link:hover svg { opacity: 1; transform: translateX(0); color: var(--gold); }

.svc-service-link.is-current {
  background: var(--navy);
  color: #fff;
}
.svc-service-link.is-current svg { opacity: 1; transform: translateX(0); color: var(--gold); }

/* Blog widget */
.svc-blogs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-blog {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 6px;
  border-radius: 12px;
  transition: background 0.3s ease;
}
.svc-blog:hover { background: #fff; }
.svc-blog__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #ececea;
}
.svc-blog__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.svc-blog:hover .svc-blog__media img { transform: scale(1.05); }
.svc-blog__copy { display: flex; flex-direction: column; gap: 4px; }
.svc-blog__tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-blog__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.005em;
  transition: color 0.3s ease;
}
.svc-blog:hover .svc-blog__title { color: var(--gold); }

/* Case study widget */
.svc-cases { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-case {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid rgba(11,30,61,0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.4s ease;
}
.svc-case:hover {
  border-color: rgba(184,150,110,0.55);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(11,30,61,0.25);
}
.svc-case__sector {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-case__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 2px 0 4px;
}
.svc-case__result {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(11,30,61,0.65);
  margin: 0 0 6px;
}
.svc-case__cta {
  display: inline-flex; align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 500;
  color: var(--navy);
  margin-top: 4px;
  transition: color 0.3s ease, gap 0.3s ease;
}
.svc-case__cta svg { width: 12px; height: 9px; }
.svc-case:hover .svc-case__cta { color: var(--gold); gap: 9px; }

/* CTA widget — navy */
.svc-widget--cta {
  background: var(--navy);
  border-color: rgba(184,150,110,0.30);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-widget--cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(184,150,110,0.28), transparent 55%);
  pointer-events: none;
}
.svc-cta__chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(184,150,110,0.55);
  border-radius: 999px;
  background: rgba(184,150,110,0.12);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.svc-cta__chip-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,110,0.18);
  animation: svcPulse 1.6s ease-in-out infinite;
}
@keyframes svcPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184,150,110,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(184,150,110,0.05); }
}
.svc-cta__title {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.svc-cta__desc {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 0 0 18px;
}
.svc-cta__btn {
  position: relative;
  display: inline-flex; align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--gold);
  color: #0b1e3d;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.84rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.35s ease, gap 0.35s ease;
}
.svc-cta__btn svg { width: 12px; height: 9px; }
.svc-cta__btn:hover { background: #cba883; gap: 14px; }


/* ------------------------------------------------------------
   4. CLOSING STRIP
------------------------------------------------------------ */
.svc-close {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-close::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at 80% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.svc-close__wrap {
  position: relative;
  padding: clamp(60px, 7vw, 110px) clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.svc-close__line {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.svc-close__line em { font-style: italic; font-weight: 400; color: var(--gold); }
.svc-close__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--gold);
  color: #0b1e3d;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.35s ease, gap 0.35s ease, transform 0.3s ease;
}
.svc-close__cta svg { width: 13px; height: 10px; }
.svc-close__cta:hover { background: #cba883; gap: 16px; transform: translateY(-2px); }


/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1100px) {
  .svc-body__wrap { grid-template-columns: 1fr; }
  .svc-side { position: static; }
}
/* F1 (2026-06-10): give the 3-callout strip an intermediate
   2-column step at tablet widths instead of jumping straight
   from 3-col → 1-col at 1100 px. Was leaving cramped 3 narrow
   cards at 768-1100 and an awkward 1-col stack with too much
   white-space below 1100. */
@media (max-width: 1024px) {
  .svc-callouts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .svc-callouts { grid-template-columns: 1fr; }
  .svc-hero__media { aspect-ratio: 16 / 9; }
}
/* F3 (2026-06-10): hero title sized for the smallest phones.
   Default clamp's floor (2.4rem) × `max-width: 18ch` would
   overflow a 320 px viewport; cap the floor to 1.9rem and
   release the max-width below 480 px. */
@media (max-width: 480px) {
  .svc-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    max-width: 100%;
  }
  .svc-hero__sub { font-size: 0.95rem; }
  /* F9 (2026-06-10): tighter Related pill row on small phones. */
  .svc-related__pill { padding: 7px 12px; font-size: 0.78rem; }
}
/* F4 (2026-06-10): touch-target padding for interactive elements
   that fall below the 44 px WCAG/Apple HIG minimum on touch
   devices. Uses `hover: none and pointer: coarse` so DESKTOP
   appearance is completely unchanged — only touch users see
   the extra padding. */
@media (hover: none) and (pointer: coarse) {
  .svc-faq__q     { padding-top: 22px; padding-bottom: 22px; }
  .svc-faq__caret { width: 32px; height: 32px; }
  .svc-related__pill { padding: 12px 16px; }
  .svc-case__cta  { padding: 4px 0; }
}


/* ============================================================
   HERO  —  service-page left-aligned variant
   ------------------------------------------------------------
   Mirrors the industry-page treatment: copy is pinned to the
   left rail, replacing the broad horizontal scrim with a
   focused radial overlay that darkens only the bottom-left
   corner where the text sits. Service hero photos vary widely
   in brightness (dark portraits, bright office shots), so the
   radial here uses a slightly higher opacity than the industry
   version to guarantee legibility on bright backgrounds.
============================================================ */

/* Lift the shared horizontal/vertical scrim almost entirely —
   the wedge overlay below carries all legibility duties, so the
   photo's right two-thirds stay bright. A faint top-bottom band
   stays only to keep the topbar readable on the brightest hero
   images. */
.svc-hero--service .svc-hero__scrim {
  background:
    linear-gradient(180deg,
      rgba(11,30,61,0.32) 0%,
      rgba(11,30,61,0.05) 22%,
      rgba(11,30,61,0.05) 70%,
      rgba(11,30,61,0.32) 100%);
}

/* Bottom-left wedge overlay.
   We switched from radial to LINEAR gradients here on purpose:
     - the title can wrap to 2–3 lines and 540+px wide, which a
       radial cannot cover cleanly without darkening the whole
       middle of the image;
     - a horizontal linear lets us darken the entire left band
       at a known cut-off point (~58% of viewport) and then fade
       to fully transparent over a short feather (58–72%);
     - a vertical linear adds bottom emphasis where the CTAs and
       sub-copy sit, without affecting the topbar zone.
   Combined, the text band is protected end-to-end while the
   right ~30% of the photo stays untouched. */
.svc-hero--service .svc-hero__radial {
  position: absolute;
  inset: 0;
  background:
    /* Horizontal wedge — heavy left, fades by 72% */
    linear-gradient(100deg,
      rgba(11,30,61,0.88) 0%,
      rgba(11,30,61,0.82) 22%,
      rgba(11,30,61,0.64) 38%,
      rgba(11,30,61,0.32) 52%,
      rgba(11,30,61,0.10) 64%,
      rgba(11,30,61,0)    74%),
    /* Vertical bottom emphasis — anchors text + CTAs */
    linear-gradient(180deg,
      rgba(11,30,61,0)    0%,
      rgba(11,30,61,0)    35%,
      rgba(11,30,61,0.18) 70%,
      rgba(11,30,61,0.42) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Cap the title size so 3–4-word titles (Derivative Process
   Audits Advisory, Sustainability Advisory & ESG, etc.) wrap
   into more lines within a tighter column instead of stretching
   half the viewport. Drops max from 4.6rem → 3.4rem. */
.svc-hero--service .svc-hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
}
.svc-hero--service .svc-hero__sub {
  max-width: 520px;
}

/* Pin the hero column left — override the centred 1380px wrap.
   Tighter than the industry variant (was 640px) to keep titles
   well inside the protected wedge. */
.svc-hero--service .svc-hero__inner {
  align-items: flex-end;
  justify-content: flex-start;
}
.svc-hero--service .svc-wrap.svc-hero__col {
  margin: 0;
  max-width: min(560px, 48vw);
  padding-left:  clamp(24px, 5vw, 88px);
  padding-right: clamp(20px, 3vw, 32px);
}

/* Narrow viewports — the wedge approach doesn't make sense when
   text spans the full width, so swap back to a vertical-only
   gradient that darkens the bottom band. */
@media (max-width: 720px) {
  .svc-hero--service .svc-wrap.svc-hero__col {
    max-width: 100%;
    padding-right: clamp(24px, 6vw, 48px);
  }
  .svc-hero--service .svc-hero__radial {
    background:
      linear-gradient(180deg,
        rgba(11,30,61,0)    0%,
        rgba(11,30,61,0)    30%,
        rgba(11,30,61,0.35) 55%,
        rgba(11,30,61,0.78) 100%);
  }
  .svc-hero--service .svc-hero__title {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }
}
