/* ==========================================================================
   ENL App Design Revision Styles
   Scoped styles for Services Ring, Milestones Waterway, and Popovers
   ========================================================================== */

/* Shared system */
:root {
  --enl-red: #d90429;
  --enl-red-dark: #ba0322;
  --enl-blue: #0070c0;
  --enl-blue-dark: #004f87;
  --enl-navy: #0f172a;
  --enl-copy: #334155;
  --enl-muted: #64748b;
  --enl-peach: #f4b183;
  --enl-white: #ffffff;
  --enl-surface: #f8fafc;
  --enl-border: #e2e8f0;
  --enl-radius-control: 8px;
  --enl-radius-card: 12px;
  --enl-shadow: 0 18px 45px -24px rgba(15, 23, 42, .28), 0 8px 18px -16px rgba(15, 23, 42, .18);
}

.enl-site { background: var(--enl-white); color: var(--enl-navy); }
.enl-site ::selection { background: var(--enl-red); color: var(--enl-white); }
.enl-site :focus-visible { outline: 2px solid var(--enl-red); outline-offset: 3px; }
.enl-site a { text-underline-offset: .2em; }
.enl-shell { width: min(100% - 2rem, 80rem); margin-inline: auto; }
.enl-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.enl-section--surface { background: var(--enl-surface); }
.enl-section__title { color: var(--enl-navy); font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.enl-section__copy { max-width: 70ch; color: var(--enl-copy); line-height: 1.7; }

.enl-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .5rem; border-radius: var(--enl-radius-control); padding: .75rem 1.25rem; font-size: .875rem; font-weight: 700; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.enl-button:hover { transform: translateY(-1px); }
.enl-button--primary { background: var(--enl-red); color: var(--enl-white); }
.enl-button--primary:hover { background: var(--enl-red-dark); }
.enl-button--light { border: 1px solid rgba(255,255,255,.72); background: rgba(255,255,255,.1); color: var(--enl-white); }
.enl-button--light:hover { background: var(--enl-white); color: var(--enl-navy); }
.enl-button--secondary { border: 1px solid var(--enl-border); background: var(--enl-white); color: var(--enl-navy); }
.enl-button--secondary:hover { border-color: var(--enl-blue); color: var(--enl-blue-dark); }
.enl-button--text { min-height: auto; padding: .25rem 0; color: var(--enl-blue-dark); }
.enl-button--text:hover { color: var(--enl-red); text-decoration: underline; transform: none; }

.enl-breadcrumb { border-bottom: 1px solid var(--enl-border); background: var(--enl-white); }
.enl-breadcrumb ol { display: flex; min-height: 42px; align-items: center; gap: .55rem; overflow: hidden; color: var(--enl-muted); font-size: .75rem; }
.enl-breadcrumb a:hover { color: var(--enl-red); }
.enl-breadcrumb li[aria-current="page"] { overflow: hidden; color: var(--enl-navy); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.enl-page-header { border-bottom: 1px solid var(--enl-border); background: var(--enl-white); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.enl-page-header h1 { max-width: 18ch; color: var(--enl-navy); font-size: clamp(2.3rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.enl-page-header p { max-width: 70ch; margin-top: 1.25rem; color: var(--enl-copy); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.enl-page-header__actions, .enl-section-heading__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.enl-section-heading { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.enl-section-heading h2 { color: var(--enl-navy); font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.enl-section-heading p { max-width: 70ch; margin-top: .8rem; color: var(--enl-copy); line-height: 1.7; }
.enl-section-heading--center { margin-inline: auto; text-align: center; }
.enl-section-heading--center p { margin-inline: auto; }

.enl-panel { border: 1px solid var(--enl-border); border-radius: var(--enl-radius-card); background: var(--enl-white); }
.enl-card { border-radius: var(--enl-radius-card); background: var(--enl-white); box-shadow: var(--enl-shadow); }
.enl-field { width: 100%; min-height: 46px; border: 1px solid #cbd5e1; border-radius: var(--enl-radius-control); background: var(--enl-white); padding: .7rem .9rem; color: var(--enl-navy); }
.enl-field:focus { border-color: var(--enl-red); outline: 2px solid rgba(217,4,41,.18); outline-offset: 1px; }

.enl-form label { color: var(--enl-copy); font-size: .8125rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.enl-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.enl-form select,
.enl-form textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: var(--enl-radius-control); background: #fff; color: var(--enl-navy); transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.enl-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.enl-form select:focus,
.enl-form textarea:focus { border-color: var(--enl-red); background: #fff; box-shadow: 0 0 0 3px rgba(217,4,41,.13); outline: none; }

.enl-client-portfolio { border-top: 1px solid var(--enl-border); background: var(--enl-white); }
.enl-client-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.enl-client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 2.5rem; }
.enl-client-logo { display: flex; height: 8rem; min-height: 8rem; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 1px solid var(--enl-border); border-radius: var(--enl-radius-card); background: #fff; color: var(--enl-copy); font-size: .8125rem; font-weight: 700; text-align: center; }
.enl-client-logo img { width: 100%; max-width: 13rem; height: 100%; max-height: 8rem; object-fit: contain; }

/* About: Vision, values, and strengths */
.about-vision-grid { display: grid; gap: 1.5rem; }
.about-vision-feature { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; border: 1px solid var(--enl-border); border-radius: var(--enl-radius-card); background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--enl-shadow); }
.about-vision-symbol { display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--enl-red); color: #fff; font-size: 1.5rem; font-weight: 900; }
.about-vision-feature h3 { color: var(--enl-navy); font-size: 1.35rem; font-weight: 800; }
.about-vision-feature p { margin-top: .75rem; color: var(--enl-copy); font-size: 1.05rem; line-height: 1.75; }
.about-mission-grid { display: grid; gap: .875rem; }
.about-mission-card { display: grid; grid-template-columns: 2.5rem 1fr; gap: .875rem; border: 1px solid var(--enl-border); border-radius: var(--enl-radius-card); background: var(--enl-surface); padding: 1.1rem; }
.about-mission-card > span { color: var(--enl-blue-dark); font-size: .8rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.about-mission-card h3 { color: var(--enl-navy); font-size: 1rem; font-weight: 800; line-height: 1.35; }
.about-mission-card p { margin-top: .35rem; color: var(--enl-copy); font-size: .875rem; line-height: 1.6; }

.about-values-list { position: relative; display: grid; max-width: 58rem; gap: .25rem; }
.about-values-list::before { position: absolute; top: 2rem; bottom: 2rem; left: 2.25rem; width: 1px; background: var(--enl-border); content: ""; }
.about-value-row { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: start; padding-block: 1.15rem; }
.about-value-letter { position: relative; z-index: 1; color: var(--enl-red); font-size: 3.75rem; font-weight: 800; line-height: .9; text-align: center; background: var(--enl-surface); }
.about-value-row h3 { color: var(--enl-navy); font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.about-value-row p { max-width: 72ch; margin-top: .35rem; color: var(--enl-copy); font-size: 1rem; line-height: 1.65; }

.about-strength-map { display: grid; gap: 1rem; }
.about-strength-panel { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: start; border: 1px solid var(--enl-border); border-radius: var(--enl-radius-card); background: #fff; padding: 1.25rem; }
.about-strength-code { display: flex; min-height: 2.75rem; align-items: center; justify-content: center; border-radius: var(--enl-radius-control); background: var(--enl-navy); color: #fff; font-size: .75rem; font-weight: 900; }
.about-strength-panel--people .about-strength-code { background: var(--enl-blue); }
.about-strength-panel--qhse .about-strength-code { background: var(--enl-red); }
.about-strength-panel--fleet .about-strength-code { background: var(--enl-peach); color: var(--enl-navy); }
.about-strength-panel h3 { color: var(--enl-navy); font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.about-strength-panel ul { display: grid; gap: .5rem; margin-top: .75rem; color: var(--enl-copy); font-size: .9rem; line-height: 1.5; }
.about-strength-panel li { position: relative; padding-left: 1rem; }
.about-strength-panel li::before { position: absolute; top: .62em; left: 0; width: .35rem; height: .35rem; border-radius: 50%; background: var(--enl-red); content: ""; }
.about-strength-wheel { display: none; }

@media (min-width: 768px) {
  .enl-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .about-vision-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: stretch; }
  .about-mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .enl-client-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .about-strength-map { position: relative; grid-template-columns: minmax(0, 1fr) 19rem minmax(0, 1fr); grid-template-rows: repeat(2, minmax(13rem, auto)); gap: 3rem 2.75rem; align-items: stretch; }
  .about-strength-panel { position: relative; align-self: stretch; padding: 1.5rem; }
  .about-strength-panel::after { position: absolute; top: 50%; width: 2.75rem; border-top: 1px solid #cbd5e1; content: ""; }
  .about-strength-panel--people { grid-area: 1 / 1; }
  .about-strength-panel--qhse { grid-area: 1 / 3; }
  .about-strength-panel--fleet { grid-area: 2 / 1; }
  .about-strength-panel--services { grid-area: 2 / 3; }
  .about-strength-panel--people::after,
  .about-strength-panel--fleet::after { right: -2.75rem; }
  .about-strength-panel--qhse::after,
  .about-strength-panel--services::after { left: -2.75rem; }
  .about-strength-wheel { position: relative; grid-area: 1 / 2 / 3 / 3; align-self: center; display: grid; width: 19rem; aspect-ratio: 1; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 5px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #cbd5e1, var(--enl-shadow); }
  .about-strength-wheel span { display: flex; align-items: center; justify-content: center; padding: 1rem; color: #fff; font-size: .8rem; font-weight: 900; line-height: 1.2; text-align: center; text-transform: uppercase; }
  .about-strength-wheel__people { border-right: 1px solid #fff; border-bottom: 1px solid #fff; background: var(--enl-blue); }
  .about-strength-wheel__qhse { border-bottom: 1px solid #fff; background: var(--enl-red); }
  .about-strength-wheel__fleet { border-right: 1px solid #fff; background: var(--enl-peach); color: var(--enl-navy) !important; }
  .about-strength-wheel__services { background: var(--enl-navy); }
  .about-strength-wheel i { position: absolute; inset: 50% auto auto 50%; display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border: 5px solid #fff; border-radius: 50%; background: var(--enl-red); color: #fff; font-size: .75rem; font-style: normal; font-weight: 900; transform: translate(-50%, -50%); }
}

@media (max-width: 767px) {
  .enl-client-rail { display: flex; gap: .875rem; margin-inline: -1rem; padding-inline: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .enl-client-rail .enl-client-logo { min-width: min(72vw, 15rem); scroll-snap-align: start; }
}

/* Cinematic Home hero */
.enl-hero { position: relative; height: calc(100vh - var(--header-height, 89px)); height: calc(100dvh - var(--header-height, 89px)); min-height: 640px; overflow: hidden; background: var(--enl-navy); color: var(--enl-white); isolation: isolate; }
.enl-hero__slides { position: absolute; inset: 0; }
.enl-hero__slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 650ms ease, visibility 650ms ease; }
.enl-hero__slide.is-active { visibility: visible; opacity: 1; }
.enl-hero__image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform: scale(1.015); transition: transform 6.5s ease; }
.enl-hero__slide.is-active .enl-hero__image { transform: scale(1); }
.enl-hero__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,23,42,.08) 0%, rgba(15,23,42,.2) 38%, rgba(15,23,42,.86) 100%); }
.enl-hero__layout { position: relative; z-index: 2; display: flex; height: 100%; align-items: flex-end; justify-content: flex-end; padding-bottom: clamp(6rem, 12vh, 8.5rem); }
.enl-hero__content { width: min(100%, 42rem); opacity: 0; transform: translateY(18px); }
.enl-hero__slide.is-active .enl-hero__content { animation: enl-hero-copy 500ms 120ms cubic-bezier(.16,1,.3,1) both; }
.enl-hero h1 { max-width: 12ch; font-size: clamp(2.75rem, 6vw, 5.75rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.enl-hero__tagline { margin-top: 1rem; max-width: 30ch; color: #f8fafc; font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.35; }
.enl-hero__description { max-width: 60ch; margin-top: .85rem; color: #dbeafe; font-size: .95rem; line-height: 1.6; }
.enl-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.enl-hero__proof { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.28); }
.enl-hero__proof div { min-width: 0; }
.enl-hero__proof dt { color: #dbeafe; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.enl-hero__proof dd { margin-top: .25rem; color: var(--enl-white); font-size: .95rem; font-weight: 800; }
.enl-hero__proof dd span:last-child { display: block; color: #dbeafe; font-size: .68rem; font-weight: 600; }
.enl-hero__controls { position: absolute; z-index: 6; bottom: clamp(3.25rem, 5.5vw, 4.75rem); left: max(1rem, calc((100vw - 80rem) / 2)); display: flex; align-items: center; gap: .75rem; }
.enl-hero__arrow { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(15,23,42,.45); color: #fff; backdrop-filter: blur(8px); transition: background-color 180ms ease, border-color 180ms ease; }
.enl-hero__arrow:hover { border-color: #fff; background: rgba(15,23,42,.75); }
.enl-hero__arrow svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; }
.enl-hero__indicators { display: flex; align-items: center; gap: .5rem; }
.enl-hero__indicator { position: relative; width: 2rem; height: .65rem; border: 0; background: transparent; }
.enl-hero__indicator::before { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; content: ''; transform: scaleX(.325); transition: transform 180ms ease, background-color 180ms ease; }
.enl-hero__indicator.is-active::before { background: #fff; transform: scaleX(1); }
.enl-hero__wave { position: absolute; z-index: 5; inset-inline: 0; bottom: -1px; width: 100%; height: clamp(50px, 7vw, 90px); pointer-events: none; }

@keyframes enl-hero-settle { from { transform: scale(1.015); } to { transform: scale(1); } }
@keyframes enl-hero-copy { from { opacity: .65; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.hse-row { height: 44px; border-bottom: 1px solid white; }

@media (max-width: 639px) {
  .enl-shell { width: min(100% - 1.5rem, 80rem); }
  .enl-hero { height: calc(100dvh - var(--header-height, 73px)); min-height: 520px; }
  .enl-hero__image { object-position: center bottom; }
  .enl-hero__veil { background: linear-gradient(0deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.66) 48%, rgba(15,23,42,.08) 82%); }
  .enl-hero__layout { justify-content: flex-start; padding-bottom: 5.5rem; }
  .enl-hero h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .enl-hero__tagline { font-size: 1.05rem; }
  .enl-hero__actions { margin-top: 1.25rem; }
  .enl-hero__proof { gap: .6rem; margin-top: 1.35rem; padding-top: .85rem; }
  .enl-hero__proof dd { font-size: .78rem; }
  .enl-hero__description { display: none; }
  .enl-hero__controls { right: .75rem; bottom: 2.25rem; left: auto; gap: .5rem; z-index: 6; }
  .enl-hero__arrow { width: 2.5rem; height: 2.5rem; }
  .enl-hero__wave { height: 44px; }
}

/* --- Services ring diagram --- */

.services-ring-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .services-ring-canvas {
    position: relative;
    width: 820px;
    height: 720px;
    margin: 0 auto;
  }

  .services-ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 9999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    z-index: 2;
    pointer-events: none;
  }

  .services-ring-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .services-ring-thumb-wrap {
    display: block;
    border-radius: 9999px;
    position: relative;
    transition: transform 0.2s ease;
  }

  .services-ring-thumb {
    width: 84px;
    height: 84px;
    border-radius: 9999px;
    border: 3.5px solid #22c55e; /* Approved Green Border */
    object-fit: cover;
    background: #ffffff;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .services-ring-thumb-wrap:hover .services-ring-thumb,
  .services-ring-thumb-wrap:focus-visible .services-ring-thumb {
    transform: scale(1.08);
    border-color: #16a34a;
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.25);
  }

  .services-ring-label {
    color: #0070c0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
    white-space: normal;
  }

  .services-ring-label:hover,
  .services-ring-label:focus-visible {
    color: #d90429;
  }
}

/* We Do: the capability arc and company figures share one white canvas. */
.we-do-section { padding-block: clamp(2.5rem, 5vw, 5rem); border-bottom: 1px solid var(--enl-border); background: #fff; }
.we-do-diagram { position: relative; container-type: inline-size; width: min(100%, 880px); aspect-ratio: 880 / 520; margin-inline: auto; }
.we-do-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.we-do-hub { position: absolute; left: 17.0455%; top: 49.0385%; display: grid; place-items: center; width: 15.2273%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 7px solid var(--enl-blue); border-radius: 50%; background: #fff; }
.we-do-hub::before { position: absolute; inset: 4px; border: 2px solid var(--enl-blue); border-radius: 50%; content: ''; }
.we-do-hub img { width: 64%; height: auto; object-fit: contain; }
.we-do-mobile-title { display: none; }
.we-do-services { margin: 0; padding: 0; list-style: none; }
.we-do-node { position: absolute; transform: translateY(-50%); }
.we-do-node:nth-child(1) { left: 28.1818%; top: 11.5385%; }
.we-do-node:nth-child(2) { left: 36.7045%; top: 28.8462%; }
.we-do-node:nth-child(3) { left: 39.5455%; top: 49.0385%; }
.we-do-node:nth-child(4) { left: 36.7045%; top: 70.1923%; }
.we-do-node:nth-child(5) { left: 28.1818%; top: 88.4615%; }
.we-do-service { display: flex; align-items: center; gap: 1.6cqw; color: #171717; border-radius: 999px 8px 8px 999px; }
.we-do-service__icon { display: grid; flex: none; place-items: center; width: 11.8182cqw; aspect-ratio: 1; border: 4px solid #00b451; border-radius: 50%; background: #fff; color: #383838; }
.we-do-service__icon svg { width: 76%; height: 76%; }
.we-do-service__title { max-width: 16em; font-size: 2.5cqw; font-weight: 800; line-height: 1.2; }
.we-do-service:hover .we-do-service__title, .we-do-service:focus-visible .we-do-service__title { color: var(--enl-blue); }
.we-do-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); max-width: 1100px; margin: 1.5rem auto 0; }
.we-do-metric { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.we-do-metric__icon { flex: 0 0 40%; max-width: 100px; color: #252525; }
.we-do-metric__icon svg { display: block; width: 100%; height: auto; }
.we-do-metric__copy { display: flex; flex-direction: column; text-align: center; }
.we-do-metric dt { order: 1; max-width: 14ch; color: #737373; font-size: clamp(.8rem, 1.4vw, 1.05rem); font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.we-do-metric dd:not(.sr-only) { margin: 0 0 .2rem; color: #111; font-size: clamp(1.6rem, 2.7vw, 2rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }

.we-do-diagram--list { aspect-ratio: auto; max-width: 600px; }
.we-do-diagram--list .we-do-arcs { display: none; }
.we-do-diagram--list .we-do-hub { position: relative; left: auto; top: auto; width: 112px; transform: none; margin: 0 auto 2rem; }
.we-do-diagram--list .we-do-services { display: grid; gap: 1rem; }
.we-do-diagram--list .we-do-node { position: relative; left: auto; top: auto; transform: none; }
.we-do-diagram--list .we-do-service { gap: 1rem; }
.we-do-diagram--list .we-do-service__icon { width: 80px; }
.we-do-diagram--list .we-do-service__title { font-size: 1.125rem; }

@media (max-width: 767px) {
  .we-do-diagram { max-width: 480px; aspect-ratio: auto; }
  .we-do-arcs { display: none; }
  .we-do-hub, .we-do-diagram--list .we-do-hub { position: relative; left: auto; top: auto; width: 96px; transform: none; margin: 0 0 1.75rem; border-width: 5px; }
  .we-do-hub::before { inset: 3px; }
  .we-do-mobile-title { position: absolute; left: calc(100% + 1.25rem); display: block; width: max-content; color: #171717; font-size: 2rem; font-weight: 800; }
  .we-do-services, .we-do-diagram--list .we-do-services { position: relative; display: grid; gap: 1rem; }
  .we-do-services::before { position: absolute; top: 36px; bottom: 36px; left: 33px; width: 6px; background: #487bc3; content: ''; }
  .we-do-services .we-do-node { position: relative; left: auto; top: auto; transform: none; }
  .we-do-service { gap: 1rem; }
  .we-do-service__icon, .we-do-diagram--list .we-do-service__icon { width: 72px; border-width: 3px; }
  .we-do-service__title, .we-do-diagram--list .we-do-service__title { font-size: clamp(1rem, 4vw, 1.25rem); }
  .we-do-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; max-width: 480px; margin-top: 3rem; }
  .we-do-metric { gap: .5rem; }
  .we-do-metric__icon { flex-basis: 36%; max-width: 72px; }
  .we-do-metric dt { font-size: .75rem; }
  .we-do-metric dd:not(.sr-only) { font-size: 1.6rem; }
}

/* Shared Interactive Popover Card */
.interactive-preview-card {
  position: absolute;
  z-index: 100;
  width: min(380px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.interactive-preview-card h4 { font-size: 1.05rem; line-height: 1.35; }
.interactive-preview-card p,
.interactive-preview-card ul { font-size: .875rem; line-height: 1.65; }
.interactive-preview-card a { min-height: 2.75rem; align-items: center; font-size: .875rem; }

.interactive-preview-card.hidden-pop {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(4px);
}

.interactive-preview-card.visible-pop {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

/* --- 2. MILESTONES PREVIEWS (Task 3C) --- */
.milestone-station-trigger {
  cursor: help;
  outline: none;
}

.services-ring-center > span { font-size: 44px; line-height: 1.3; color: #000; }
.service-mobile-toggle { min-width: 44px; min-height: 44px; }
.services-ring-container a:focus-visible,
.milestone-disclosure-btn:focus-visible,
.interactive-preview-card a:focus-visible { outline: 2px solid #0070c0; outline-offset: 4px; }
article[id], section[id] { scroll-margin-top: calc(var(--header-height, 100px) + 24px); }

@media (hover: none) {
  .services-ring-canvas, .milestone-diagram { display: none !important; }
  .services-readable-list, .milestone-readable-list { display: block !important; }
}

.milestone-station-trigger:focus-visible .station-bg-circle {
  stroke: #d90429;
  stroke-width: 3.5px;
}

/* --- 3. ACCESSIBILITY & REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .enl-hero__image,
  .enl-hero__slide,
  .enl-hero__content,
  .services-ring-thumb-wrap,
  .services-ring-thumb,
  .interactive-preview-card,
  .river-current-flow {
    transition: none !important;
    animation: none !important;
  }
}
