/* ==========================================================================
   Page-level layout for the Homepage. Keep small — patterns live in components.
   ========================================================================== */

@layer pages {

  /* Track record: photo | right-aligned copy */
  .split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
  }
  @media (min-width: 1024px) {
    .split { grid-template-columns: 500px 1fr; gap: 4rem; }
    /* Founder: quote 669px | photo 568px at 1920 (Figma); both shrink together on narrower screens */
    .split--reverse { grid-template-columns: minmax(0, 669px) minmax(0, 568px); justify-content: space-between; }
    .split--logos { grid-template-columns: 571px 1fr; }
  }
  /* From 1280px the text keeps its Figma width so the Figma line breaks hold, and the photo gives way instead:
     track copy 770px (4 lines), founder quote 669px (7 lines) */
  @media (min-width: 1280px) {
    .track .split { grid-template-columns: minmax(0, 500px) minmax(min(48.125rem, 66%), 1fr); gap: 3rem; justify-content: space-between; }
    .split--reverse { grid-template-columns: 41.8125rem minmax(0, 568px); }
  }
  .split__media img { width: 100%; border-radius: var(--radius-card); }

  .copy-end { display: grid; justify-items: start; gap: 1rem; }
  @media (min-width: 1024px) {
    .copy-end { justify-items: end; text-align: right; }
  }
  .copy-end h2 { max-width: 44rem; }
  .track__text { max-width: 48.125rem; }   /* Figma 2:48: 770px, 4 lines, right-aligned */

  /* Founder band */
  .founder { padding-block: clamp(3rem, 3vw, 2.9rem); }
  .founder__quote { max-width: 41.8125rem; margin-top: 2.5rem; font-size: 1.25rem; line-height: 2rem; } /* Figma 2:119: 20/32, 669px */
  .founder__name { margin-top: 2.75rem; font-size: var(--fs-h3); font-weight: 700; line-height: 1.33; }
  .founder__role { margin-top: 0.25rem; }
  .founder__photo img { width: 100%; border-radius: var(--radius-card); }

  /* CTA band: its photo slides in from the right; clip so it never adds sideways scroll on phones */
  .cta-band { overflow-x: clip; }

  /* Credentials band */
  .credentials { padding-block: clamp(3rem, 4vw, 4rem); }
  .credentials__text { max-width: 41.8125rem; margin-top: 2.5rem; margin-bottom: 3.5rem; } /* Figma 2:120: 669px, 3 lines */

  /* Head row with a trailing button (Industries) */
  .head-row { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
  @media (min-width: 1024px) {
    .head-row { grid-template-columns: 1fr auto; align-items: end; }
  }
  .head-row .section__head { margin-bottom: 0; }


  /* Data & AI (Figma 871:543, UCI 2026-10-29): full-width navy gradient band, 58px above and below;
     tag → 32px → heading (left half) beside the intro (right half, from x 975) → 32px → three 427px
     cards 46px apart (button removed, UCI 2026-10-29) */
  .data-ai { padding-block: clamp(3rem, 3.02vw, 3.625rem); background: var(--gradient-navy-horizontal); color: var(--color-text-on-dark); }
  .data-ai .tag { min-width: 287px; color: var(--color-text-on-dark); }   /* Figma: white label in the amber outline */
  .data-ai .tag:hover { color: var(--color-primary); }
  .data-ai__head { display: grid; row-gap: 2rem; margin-bottom: 2rem; }
  .data-ai__head .tag { justify-self: start; }
  .data-ai__title { color: var(--color-text-on-dark); font-size: clamp(2rem, 1.2rem + 1.7vw, 3rem); line-height: 1.21; }   /* Figma 48/58 */
  .data-ai__lead { max-width: 41.375rem; color: var(--color-text-on-dark); }   /* 662px */
  @media (min-width: 1024px) {
    .data-ai__head { grid-template-columns: 1fr 1fr; column-gap: 1.875rem; }
    .data-ai__head .tag { grid-column: 1 / -1; }
    .data-ai__lead { padding-top: 0.625rem; }                    /* first line 10px below the heading's top */
  }
  .features { display: grid; gap: 1.5rem; }
  @media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 2.4vw, 2.875rem); } }
  /* Titles shrink a little on narrower desktops so all three stay on 2 lines and the texts line up */
  @media (min-width: 1024px) { .feature__title { font-size: clamp(1.5rem, 0.5rem + 1.5vw, 1.875rem); } }
  /* Whole card is clickable (UCI 2026-10-30): the title link's ::after stretches over the card;
     the keyboard focus ring is drawn on that overlay so it outlines the whole card */
  .feature__link { color: inherit; text-decoration: none; }
  .feature__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
  .feature__link:focus-visible { outline: none; }
  .feature__link:focus-visible::after { outline: 3px solid var(--color-text-on-dark); outline-offset: 3px; }
  .feature:hover .feature__link, .feature__link:focus-visible { text-decoration: underline; text-underline-offset: 0.15em; }

  .actions { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
  .actions--end { display: flex; justify-content: flex-end; }

  /* Service cards (Figma 2:31): text column starts 30px in and is 401px wide */
  .services .service-card { padding-left: 1.875rem; padding-right: 0.5rem; isolation: isolate; }
  /* Figma Group 13 (1089:376, UCI 2026-10-21): text + bullets 18/32 in #d9d9d9, bullets indented 27px;
     the diagonal gradient (1089:377) fades in on hover. The cream notch sits above it (z-index). */
  .services .service-card__text, .services .service-card__list { color: var(--color-text-soft-on-dark); }
  .services .service-card__list { padding-left: 1.6875rem; }
  .services .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--gradient-navy-diagonal);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
  .services .service-card:hover::before, .services .service-card:focus-within::before { opacity: 1; }
  .services .service-card__icon { transform: none; transition: none; filter: brightness(0) invert(1); }   /* icons stay still on hover (UCI 2026-10-29); the Capabilities icons are navy, shown white on the navy card */
  .services .service-card__title { max-width: 16rem; }   /* 256px box → 2 lines like Figma */
  .services .service-card__list { padding-right: 0.5rem; }
  /* Capabilities bullets on one line each from 1280px (UCI 2026-11-24; at 1024 the text would be too small): the text scales with the list width, 18px at most */
  @media (min-width: 1280px) {
    .services .service-card__list { container-type: inline-size; padding-right: 0; }
    .services .service-card__list li { white-space: nowrap; font-size: min(1em, 4.85cqi); }
  }

  /* Impact cards (Figma 2:154 …): text 26px in; three cards since the $20.4M card was removed (2026-10-14) */
  .impact .impact-card { padding-right: 0.75rem; }

  /* Industry cards: icon cards laid out like Technology Services' capability grid (UCI screenshot, 2026-10-14) */
  @media (min-width: 640px) and (max-width: 1279px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .industry-grid { column-gap: 1.625rem; row-gap: 2rem; } }

  /* Section tags on the homepage are 287px wide in Figma */
  .industries .tag, .cases .tag, .faq-section .tag { min-width: 287px; }

  /* Success stories */
  .cases .grid { gap: 1.5rem; }
  @media (min-width: 1440px) { .cases .grid { gap: 3.2rem; } }

  /* Tighter rhythm between the cream sections, matching Figma spacing */
  .services { padding-top: 2rem; }
  .track { padding-top: 0; }
  .solutions { padding-top: 0; }
  /* Data & AI is a navy band now (2026-10-29): 58px of cream above and below it, as in Figma 871:543 */
  .industries { padding-bottom: clamp(3rem, 3.02vw, 3.625rem); }
  .cases { padding-top: clamp(3rem, 3.02vw, 3.625rem); }
  .faq-section { padding-top: 0; }
}

/* ==========================================================================
   Company Overview (about.html) — layout only; components live in components.css
   ========================================================================== */
@layer pages {
  /* Intro: heading left (Figma 275→787), paragraph right (952→1620) */
  .about-intro { padding-top: 2rem; }
  .about-intro__grid { display: grid; gap: 2rem; align-items: start; }
  @media (min-width: 1280px) {
    .about-intro__grid { grid-template-columns: minmax(0, 512px) 1fr; column-gap: clamp(3rem, 9vw, 10.4rem); }
    .about-intro__text { padding-top: 2.75rem; max-width: 42rem; }
  }
  .about-intro__title { margin-top: 1rem; font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.5; }

  /* Company Overview hero: no bottom padding so the title centres at Figma 42:38 (y≈370 of 681) */
  .page-hero--overview { padding-bottom: 0; }

  /* UCI Story band */
  .story { padding-block: clamp(3rem, 4vw, 3.125rem); }
  .story__grid { display: grid; gap: 3rem; align-items: center; }
  @media (min-width: 1280px) { .story__grid { grid-template-columns: minmax(0, 570px) 1fr; gap: 3.5rem; } }
  .story__media { position: relative; max-width: 570px; padding: 2.75rem 0 0 1.5rem; }
  .story__photo { position: relative; width: min(399px, 100%); border-radius: var(--radius-card); }
  .story__badge { position: absolute; top: 0; left: 0; z-index: 2; width: clamp(80px, 20vw, 114px); height: auto; }
  @media (min-width: 640px) {
    .story__media { padding: 3.5rem 0 7rem 3rem; }
    .story__callout { position: absolute; right: 0; bottom: 0; width: min(431px, 88%); margin: 0; }
  }
  .story__callout {
    position: relative;
    z-index: 2;
    margin: -2.5rem 0 0 1rem;
    padding: 1rem 1.75rem 1.125rem 2.75rem;
    border-radius: 8px;
    background: var(--color-cta);
    color: var(--color-primary);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.875;
    list-style: disc;
  }
  .story__callout li::marker { font-size: 0.75em; }
  .story__copy > p:not(.tag) { max-width: 47rem; }   /* Figma 752px */
  .believe .copy-end > p:not(.tag) { max-width: 43.25rem; } /* Figma 692px */
  .story__copy > p + p { margin-top: 2rem; }
  .story__accent { color: var(--color-cta); }

  /* Cream variant (Figma 42:28): copy left (275→919), photo cluster right (1014→1547).
     Cluster = photo offset 113/61, NYC badge top-right, amber list bottom-left. */
  .story--cream { padding-block: clamp(3rem, 4.6vw, 5.5rem) clamp(3rem, 5vw, 6rem); }
  /* Story → Our Purpose matches the ~58px between the other sections (UCI 2026-10-19) */
  @media (min-width: 1024px) { .story--cream { padding-bottom: 0.75rem; } }
  .story--cream .story__copy h2 { margin-top: 1rem; }
  .story--cream .story__copy > p:not(.tag) { max-width: 40.25rem; }      /* Figma 644px */
  .story--cream .story__copy > h2 + p { margin-top: 1.875rem; }
  .story--cream .story__copy > p + p { margin-top: 1.125rem; }
  .story--cream .story__media { max-width: 533px; padding: 2.75rem 0 0; }
  .story--cream .story__badge { left: auto; right: 0; }
  @media (min-width: 640px) {
    .story--cream .story__media { padding: 3.8rem 0 10rem 7.06rem; }
    /* Figma 42:239: 431×234 box hanging off the photo's bottom-left (431/533 = 81%) */
    .story--cream .story__callout {
      position: absolute;
      left: 0; right: auto; bottom: 0;
      width: min(431px, 81%);
      margin: 0;
      padding: 0.75rem 1.1875rem 0.75rem 3rem;   /* Figma 42:240: 7 lines × 30px in a 234px box, text at x+47 */
      border-radius: 10px;
    }
  }
  @media (min-width: 1280px) {
    .story--cream .story__grid {
      grid-template-columns: minmax(0, 644px) minmax(0, 533px);
      column-gap: clamp(3rem, 5vw, 5.9rem);
      align-items: start;
    }
    .story--cream .story__media { margin-top: 1.4rem; }
  }
  /* From 1366px the copy keeps its Figma 644px (5 + 6 lines at Figma breaks); the gap and then the photo cluster give way */
  @media (min-width: 1366px) {
    .story--cream .story__grid {
      grid-template-columns: 644px minmax(0, 533px);
      column-gap: clamp(2rem, 13.5vw - 10rem, 5.9rem);
    }
  }

  /* Purpose: heading block left, 3 cards right */
  .purpose { padding-top: 2.5rem; }
  .purpose__grid { display: grid; gap: 4rem 3rem; align-items: center; }
  /* Figma 42:28: the cards' bottom edge lines up with the end of the text block (y 1812) */
  /* The heading and its text keep their Figma lines (≈376px wide); the cards give way on narrower desktops */
  @media (min-width: 1280px) {
    .purpose__grid { grid-template-columns: minmax(23.5rem, 1fr) minmax(0, 868px); column-gap: clamp(1.5rem, 8.5vw - 7rem, 3rem); align-items: end; }
    .purpose-card { padding-inline: clamp(0.75rem, 2.6vw - 1.75rem, 1.25rem); }   /* 20px at 1920 (Figma), less as cards narrow */
  }
  .purpose__title { margin-top: 1.75rem; line-height: 1.53; }
  .purpose__text { max-width: 27rem; margin-top: 2rem; }
  .purpose__cards { display: grid; gap: 3.5rem 1rem; }
  @media (min-width: 640px) { .purpose__cards { grid-template-columns: repeat(3, 1fr); } }

  /* What We Believe */
  .believe { padding-top: 0; }
  .believe__lead { margin-top: 0.5rem; font-weight: 700; }
  .believe__cards { margin-top: 2rem; }
  @media (min-width: 1024px) { .believe__cards { column-gap: 5.125rem; } }
  .believe__close { margin-top: 2.5rem; text-align: center; }

  /* Difference */
  .difference { padding-top: 0; }
  /* Figma 42:28: tag 1870 → heading 1947 → lead 2089 → cards 2183 */
  .difference .section__head { margin-bottom: clamp(1.5rem, 2vw, 1.875rem); }
  .difference .section__head > h2,
  .difference .section__head > .lead { margin-top: 2rem; }
  .diff-grid.grid--4 { gap: 0.75rem; }
  @media (min-width: 1024px) and (max-width: 1279px) { .diff-grid.grid--4 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }

  /* Journey */
  .journey { padding-top: 0; }
  .journey .section__head { max-width: 44.5rem; margin-bottom: clamp(2.5rem, 3.5vw, 4.1875rem); }
  /* Figma 42:28: tag 2650 → heading 2727 → text 2814 → circles 2945 */
  .journey .section__head > h2,
  .journey .section__head > p:last-child { margin-top: 2rem; }

  /* Statement band */
  .statement { padding-block: 2.25rem; text-align: center; }
  .statement .container > .statement__text { grid-column: grid; font-weight: 700; } /* Figma: spans the full 16-col grid */

  /* Policies */
  .policies__text { max-width: 57rem; }
  .policy-grid { display: grid; gap: 2rem; }
  @media (min-width: 1024px) { .policy-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
  .policy-col { display: grid; gap: 2rem; align-content: start; }

  /* Looking Ahead (Figma 1021:1314): hands photo 401×329 (team photo removed, UCI 2026-10-28) with the
     leadership button 100px in from its left edge and half over its bottom edge + right-aligned copy */
  .ahead__grid { display: grid; gap: 3rem; align-items: center; }
  @media (min-width: 1280px) { .ahead__grid { grid-template-columns: minmax(0, 627px) 1fr; } }
  /* Photo starts at the content edge, in line with the Discharge accordion box above (UCI 2026-10-28) */
  .ahead__collage { position: relative; width: min(401px, 100%); justify-self: start; }
  .ahead__hands { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
  .ahead__btn { position: relative; margin-top: 1.25rem; }
  /* Button = Figma 1021:1502 (342 × 62): 23px side padding instead of 32, so it overhangs the photo's right
     edge by Figma's 41px; it hangs half its height below the photo, and the collage reserves that half */
  @media (min-width: 640px) {
    .ahead__collage { margin-bottom: calc(var(--btn-lg-h) / 2); }
    .ahead__btn { position: absolute; left: 24.9%; bottom: 0; translate: 0 50%; z-index: 2; margin: 0; padding-inline: 1.4375rem; white-space: nowrap; }
  }
  .ahead__motto { font-weight: 700; }

  /* Careers band */
  .careers { padding-block: 1.8rem; text-align: center; } /* Figma band 248px */
  .careers__inner { display: grid; justify-items: center; gap: 1rem; }
  .careers h2 { font-size: var(--fs-h2); }
  .careers .btn { margin-top: 0.5rem; }

  /* Section rhythm of Figma 42:28 (no intro, "What We Believe" or statement band):
     58px between Purpose → Difference → Journey, 48px Journey → Policies,
     58px Policies → Looking Ahead, 79px Looking Ahead → Careers band */
  /* (paddings measured against the 1920 render: tag tops land within a few px of Figma) */
  .purpose { padding-bottom: clamp(2.5rem, 3.5vw, 3.625rem); }
  .difference { padding-bottom: clamp(2.5rem, 3vw, 3.625rem); }   /* cards end 2592 → Journey tag 2650 */
  .journey { padding-bottom: clamp(2.5rem, 2.6vw, 3.0625rem); }   /* longest step text ends 3389 → Policies tag 3438 */
  .policies { padding-top: 0; padding-bottom: clamp(2.5rem, 3vw, 3rem); }
  .ahead { padding-top: 0; padding-bottom: clamp(3.5rem, 6.6vw, 7.95rem); }
}

/* ==========================================================================
   Technology Services (technology-services.html, Figma 215:23) — layout only
   ========================================================================== */
@layer pages {
  /* Hero: Figma title box is 679px wide and centred at y≈398 of the 681px banner */
  .ts-hero { padding-top: calc(var(--header-h) + clamp(1rem, 3.75vw, 4.5rem)); }
  .ts-hero__title { max-width: 42.5rem; margin-inline: auto; }
  /* Industry pages (UCI 2026-10-16): same full-bleed banner as Technology Services, title on one line where it fits */
  .ind-hero .ts-hero__title { max-width: 64rem; }

  /* Intro: copy left (275→847), photo right (1145→1645); button bottom = photo bottom */
  .ts-intro { padding-block: clamp(2.5rem, 3vw, 3.2rem) clamp(2.5rem, 3.5vw, 3.625rem); }
  /* data-reveal="right" photos start 36px off to the right: clip so the page never scrolls sideways */
  .ts-intro, .ts-cta { overflow-x: clip; }
  .ts-intro__grid { display: grid; gap: 2.5rem; align-items: start; }
  @media (min-width: 1024px) {
    .ts-intro__grid { grid-template-columns: minmax(0, 572px) minmax(0, 500px); justify-content: space-between; gap: 3rem; }
  }
  .ts-intro__title { max-width: 35.75rem; font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem); line-height: 1.31; }
  .ts-intro__text { max-width: 32.75rem; margin-top: 2rem; }
  .ts-intro__btn { margin-top: 2rem; }
  .ts-intro__media { max-width: 500px; }

  /* Challenges band (navy over skyline, exported composite) */
  /* Figma 215:23 at 1920: band 586px; heading 32px below the top; 43px heading → first amber rule;
     rows 200px apart; columns start at 276 / 741 / 1234 */
  .challenges { padding-block: 2rem 2.255rem; }
  .challenges__title { max-width: 33.5rem; }  /* Figma 536px box → "We" ends line 1 */
  .challenges__accent { color: var(--color-cta); }
  .challenge-grid { display: grid; gap: 2.25rem 2rem; margin-top: 2.6875rem; }
  @media (min-width: 640px) { .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* Equal columns (was Figma's 435/463/411): every description gets the same room to fit its 3 lines */
  @media (min-width: 1440px) { .challenge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: 2.1925rem; } }
  /* Figma's column proportions at full design width (below 1600px equal columns give long copy room) */
  @media (min-width: 1600px) { .challenge-grid { grid-template-columns: 435fr 463fr 411fr; } }
  /* Strategic Staffing's "Mission-Critical Work" is longer than the rest; it may use its whole column (not the 388px
     Figma box) so it keeps to 3 lines like the others (UCI 2026-10-29) */
  .challenge .challenge__text--wide { max-width: none; }

  /* Capabilities: icon cards (UCI screenshot, 2026-10-14), same grid as the homepage industry cards */
  .capabilities { padding-block: clamp(2.5rem, 3.5vw, 3.625rem); }
  /* Figma: tag 316×45 (text centred), 31px tag → cards, 26px / 32px gaps */
  .capabilities__tag { padding-inline: 2.25rem; }
  .capabilities__grid { margin-top: 1.9375rem; }
  @media (min-width: 640px) and (max-width: 1279px) { .capabilities__grid { grid-template-columns: repeat(2, 1fr); } }
  /* Technology Services: descriptions are 4 lines (UCI 2026-10-29), which 3 columns can't hold below 1440px */
  @media (min-width: 1280px) and (max-width: 1439px) { .capabilities__grid--2up { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .capabilities__grid { column-gap: 1.625rem; row-gap: 2rem; } }

  /* CTA band: centred, no photo (UCI 2026-10-14); heading 40/55, 24px button label */
  @media (min-width: 1024px) { .ts-cta { padding-block: 3.4rem 5.4rem; } }
  .ts-cta__title { max-width: 46rem; margin-inline: auto; line-height: 1.375; }
  .ts-cta__text { max-width: 36rem; margin-top: 1.125rem; }
  .ts-cta__btn { margin-top: 1.75rem; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
}

/* ==========================================================================
   Contract Vehicles, Certifications & Awards (certifications-awards.html, Figma 608:70) — layout only
   Measured at 1920: section tags at y 739 / 2365 / 3300, every tag → paragraph → heading → panel
   step is 32px, 58px from a section edge to its tag.
   ========================================================================== */
@layer pages {
  /* Hero: 65px title in a 924px box, centred at y≈398 of the 681px banner */
  .cv-hero { padding-top: calc(var(--header-h) + clamp(1rem, 4.43vw, 5.3125rem)); }
  .cv-hero__title {
    max-width: 57.75rem;
    margin-inline: auto;
    color: var(--color-hero-title);
    font-size: clamp(2.25rem, 1.25rem + 2.75vw, 4.0625rem);
    line-height: 1.246;              /* Figma "normal": 2 lines = 162px */
  }

  /* Shared heads */
  .cv-head { display: grid; justify-items: start; }
  .cv-tag { min-width: 0; padding-inline: 1rem; }
  .cv-tag--vehicles { min-width: 195px; }
  .cv-tag--certs { min-width: 200px; }
  .cv-tag--awards { min-width: 169px; }
  .cv-lead { max-width: 35.625rem; margin-top: 2rem; }        /* Figma 570px */
  .cv-lead--wide { max-width: 41.8125rem; }                    /* Figma 669px */
  /* Figma fills each line (no "pretty" re-balancing), e.g. "diversity," ends line 1 of the Awards text */
  .cv-lead, .cv-certs__lead { text-wrap: wrap; }
  .cv-subhead {
    margin-top: 2rem;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);            /* Figma 32/55 */
    line-height: 1.35;
    font-variant-ligatures: no-common-ligatures;
  }
  @media (min-width: 1024px) { .cv-subhead { line-height: 55px; } }
  .cv-subhead + .contracts,
  .cv-subhead + .award-mosaic { margin-top: 2rem; }

  /* Contract vehicles: 58px below the hero, 60px above the certifications band */
  .cv-vehicles { padding-block: clamp(2.5rem, 3.02vw, 3.625rem) clamp(2.5rem, 3.125vw, 3.75rem); }

  /* Certifications band: 935px at 1920; Figma's navy shape is a slight parallelogram
     (right edge 4.5px lower at the top, 5px lower at the bottom) */
  .cv-certs {
    padding-block: clamp(2.5rem, 3.02vw, 3.625rem) clamp(2.5rem, 3.125vw, 3.75rem);
    clip-path: polygon(0 0, 100% 4.5px, 100% 100%, 0 calc(100% - 5px));
  }
  .cv-certs__lead {
    max-width: 41.8125rem;           /* Figma 669px, 20/32 */
    margin-top: 2rem;
    font-size: 1.25rem;
    line-height: 2rem;
  }
  .cv-certs__group {
    color: var(--color-cta);
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 2rem;
  }
  /* Figma gaps: paragraph → New York 22, tiles → Regional 27, tiles → Additional 32; heading → tiles 22 / 27 / 27 */
  .cv-certs__group:nth-of-type(1) { margin-top: 1.375rem; }
  .cv-certs__group:nth-of-type(2) { margin-top: 26.5px; }
  .cv-certs__group:nth-of-type(3) { margin-top: 2rem; }
  .cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6875rem; }
  .cert-grid:nth-of-type(1) { margin-top: 1.375rem; }
  @media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
  @media (min-width: 1024px) {
    .cert-grid { grid-template-columns: repeat(5, minmax(0, 243px)); gap: 2rem; }
    .cert-grid:nth-of-type(1) { column-gap: 28px; }   /* Figma: the two New York tiles are 28px apart */
  }

  /* Awards: 58px below the band, 58px above the footer */
  .cv-awards { padding-block: clamp(2.5rem, 3.02vw, 3.625rem); }
  .cv-subhead--awards { margin-top: 2.1875rem; }               /* Figma: 35px after the 4-line paragraph */

  /* Entrepreneurship & Leadership: 370 | 457 | 457 with 43px gaps; rows 201 / 263, 16px apart (≥1440) */
  .award-mosaic { display: grid; gap: 1.5rem; }
  .award-card--wide .award-card__title { max-width: none; }
  @media (min-width: 640px) {
    .award-mosaic {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-areas: "wide wide" "ew wbf" "ew nawbo";
    }
    .award-card--ew { grid-area: ew; }
    .award-card--wide { grid-area: wide; }
    .award-card--wbf { grid-area: wbf; }
    .award-card--nawbo { grid-area: nawbo; }
  }
  /* Figma's 3-column mosaic from 1440px (below that the 457px cards get too narrow for their copy) */
  @media (min-width: 1440px) {
    .award-mosaic {
      grid-template-columns: minmax(0, 370px) minmax(0, 1fr) minmax(0, 1fr);
      grid-template-rows: minmax(201px, auto) minmax(263px, auto);
      grid-template-areas: "ew wide wide" "ew wbf nawbo";
      gap: 1rem 43px;
    }
    /* Figma insets: Enterprising Women title 23px (logo 18px), others 37 / 35 / 34px */
    .award-card--ew { padding: 2rem 1.0625rem 4.0625rem 1.125rem; }
    .award-card--ew .award-card__title,
    .award-card--ew .award-card__text { margin-left: 5px; }
    .award-card--ew .award-card__text { max-width: 16.125rem; margin-top: 1.125rem; } /* 258px */
    .award-card--wide { padding: 2rem 2.3125rem; }
    .award-card--wide .award-card__text { max-width: 35.8125rem; margin-top: 1.75rem; } /* 573px */
    .award-card--wbf { padding: 1.875rem 2.1875rem 1rem; }
    .award-card--wbf .award-card__text { max-width: 23.4375rem; }  /* 375px */
    .award-card--nawbo { padding: 1.875rem 2.125rem 1rem; }   /* Figma: 17px under the 4-line text */
    .award-card--nawbo .award-card__text { max-width: 25.125rem; } /* 402px */
  }

  /* Business & Diversity: 4 × 326 with 22px gaps; medallion top 31px below the heading */
  .badge-awards { display: grid; gap: calc(38px + 1.5rem) 1.375rem; margin-top: calc(31px + 38px); }
  @media (min-width: 640px) { .badge-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* 4 across from 1440px (narrower 4-up cards would need text below 16px to keep Figma's line breaks) */
  @media (min-width: 1440px) { .badge-awards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
}

/* ==========================================================================
   Leadership Team (leadership.html, Figma 711:17) — layout only
   At 1920: heading y 739, cards 1035 / 1495, "Our Advisors" 1977, advisor cards 2064, footer 2592.
   ========================================================================== */
@layer pages {
  /* Hero = Figma 850:3 (UCI 2026-11-02): the team photo fills the banner (same height as every other page),
     under the shared grey overlay; title top at y 447 of the 681px banner, centred */
  .lt-hero {
    --lt-h: clamp(420px, 35.5vw, 681px);
    align-items: start;
    height: var(--lt-h);
    min-height: 0;
    padding: 0;
  }
  .lt-hero .page-hero__media img { object-position: 50% 50%; }   /* image is already Figma's visible crop */
  .lt-hero .cv-hero__title { margin-top: calc(var(--lt-h) * 447 / 681); }

  .lt-team { padding-block: clamp(2.5rem, 3.02vw, 3.625rem); }        /* 58px */
  .lt-advisors { padding-block: 0 clamp(3.5rem, 5.42vw, 6.5rem); }     /* 104px above the footer */
  .lt-title {
    max-width: 32.375rem;                                               /* Figma 518px */
    font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem);               /* Figma 42/55 */
    line-height: 1.31;
  }
  .lt-lead { max-width: 50rem; margin-top: 2rem; text-wrap: wrap; }    /* Figma 800px, 32px below */

  /* 4 × 319px cards spread across the 1370px content (31.3px gaps), rows 36px apart */
  .leader-grid { display: grid; gap: 2.25rem 1.5rem; margin-top: clamp(2.5rem, 3.02vw, 3.625rem); }
  .lt-advisors .leader-grid { margin-top: 2rem; }
  @media (min-width: 560px) { .leader-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1024px) { .leader-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 1280px) {
    .leader-grid { grid-template-columns: repeat(4, minmax(0, 319px)); justify-content: space-between; column-gap: 1.5rem; }
  }
}

/* ==========================================================================
   Health & Human Services (health-human-services.html, Figma 724:689) — layout only
   At 1920: heading y 732, "Areas We Support" tag 1124, cards 1343 / 1644, "UCI in Action" tag 1980,
   case cards 2205, CTA band 2813–3294, footer 3295. Section edge → tag is 58px.
   ========================================================================== */
@layer pages {
  /* Shared 42/55 headings */
  .hhs-title {
    font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem);
    line-height: 1.31;
  }
  @media (min-width: 1024px) { .hhs-title { line-height: 55px; } }
  .hhs-head { display: grid; justify-items: start; }
  .hhs-tag { min-width: 208px; }                                   /* Figma 208×45 */
  /* Figma fills each line (no "pretty" re-balancing), e.g. "audit-ready" stays whole */
  .hhs-intro__text, .area-card__text, .hhs-case__text, .hhs-summary__text, .hhs-cta__text { text-wrap: wrap; }

  /* Intro: copy left (275→886), photo right (1145→1645), both top-aligned 51px below the hero */
  .hhs-intro { padding-block: clamp(2.5rem, 2.66vw, 3.1875rem) clamp(2.5rem, 3.02vw, 3.625rem); overflow-x: clip; }
  .hhs-intro__grid { display: grid; gap: 2.5rem; align-items: start; }
  @media (min-width: 1024px) {
    .hhs-intro__grid { grid-template-columns: minmax(0, 611px) minmax(0, 500px); justify-content: space-between; gap: 3rem; }
  }
  .hhs-intro__title { max-width: 38.1875rem; }                     /* 611px */
  .hhs-intro__text { max-width: 36.75rem; margin-top: 2rem; }      /* 588px, 6 lines */
  .hhs-intro__media { max-width: 500px; }

  /* Areas We Support: tag → 32 → heading (692px) → 32 → 4 × 333 cards, 13px / 23px gaps */
  .hhs-areas { padding-block: 0 clamp(2.5rem, 3.02vw, 3.625rem); }
  .hhs-areas__title { max-width: 43.25rem; margin-top: 2rem; }
  .area-grid { display: grid; gap: 1.4375rem 0.8125rem; margin-top: 2rem; }
  @media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* 4 across from 1500px (Figma x 275 / 621 / 967 / 1313). Descriptions keep Figma's 5 lines via data-lines +
     br-fig, stepping down at most 2px; below 1500px a 4-up card is too narrow for that, so 2 × 4 */
  @media (min-width: 1500px) { .area-grid { grid-template-columns: repeat(4, minmax(0, 333px)); } }
  @media (min-width: 1500px) { .area-grid { margin-right: -1px; } }   /* Figma row is 1371px: 4 × 333 + 3 × 13 */

  /* UCI in Action: tag → 35 → heading (657px) → 35 → cards 439 · 399 · 439 */
  .hhs-action { padding-block: 0 clamp(2.5rem, 3.02vw, 3.625rem); }
  .hhs-action__title { max-width: 41.0625rem; margin-top: 2.1875rem; }
  .hhs-cases { display: grid; gap: 2rem; margin-top: 2.1875rem; }
  .hhs-cases > li { display: grid; }
  @media (min-width: 768px) {
    .hhs-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hhs-cases > li:nth-child(2) { order: 1; grid-column: 1 / -1; }
  }
  @media (min-width: 1280px) {
    /* Figma x 275 / 760 / 1202 (gaps 46 / 43); the third card sits 2px lower */
    .hhs-cases { grid-template-columns: minmax(0, 439px) minmax(0, 399px) minmax(0, 439px); gap: 0 46px; }
    .hhs-cases > li:nth-child(2) { order: 0; grid-column: auto; }
    .hhs-cases > li:nth-child(3) { margin: 2px 3px -2px -3px; }
  }

  /* Case cards reuse the homepage service card (same notched Figma "Rectangle 14", 260 × 61.5 notch) */
  .hhs-case { min-height: 550px; padding: 2.5rem 1.875rem 6.5rem; background: var(--color-primary); }
  .hhs-case__title {
    max-width: 22.125rem;                                          /* 354px */
    margin-top: 1.1875rem;
    color: var(--color-text-on-dark);
    font-size: 1.5625rem;                                          /* Figma 25/40 */
    line-height: 2.5rem;
    transition: color var(--dur-base) var(--ease-out);
  }
  .hhs-case:hover .hhs-case__title, .hhs-case:focus-within .hhs-case__title { color: var(--color-cta); }
  .hhs-case__text { max-width: 22.1875rem; margin-top: 1.75rem; }  /* 355px, 6 lines */
  .hhs-case__text--327 { max-width: 20.4375rem; }
  .hhs-case .service-card__icon { transform: none; transition: none; }   /* icons stay still on hover (UCI 2026-10-21) */
  .hhs-case .service-card__foot { padding: 9.5px 11px 8px 1px; }   /* notch 260 × 61.5, button 7px above the card bottom */
  .hhs-case__btn { min-width: 249px; font-weight: 700; }

  /* Middle panel: navy 399×550, text 37px in, photo 360×240 pinned 20px from the bottom */
  .hhs-summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    padding: 2.9375rem 1.25rem 1.25rem;
    border-radius: var(--radius-card);
    background: var(--color-primary);
    color: var(--color-text-on-dark);
  }
  .hhs-summary__text { max-width: 21.1875rem; padding-left: 1.0625rem; }   /* 322px box + 17px */
  .hhs-summary__media { margin-top: auto; overflow: hidden; border-radius: var(--radius-card); }
  .hhs-summary__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 700ms var(--ease-out); }
  .hhs-summary:hover .hhs-summary__media img { transform: scale(1.05); }
  @media (min-width: 768px) and (max-width: 1279px) {
    .hhs-summary { flex-direction: row; align-items: center; padding: 2rem; }
    .hhs-summary__text { flex: 1; padding-left: 0; }
    .hhs-summary__media { flex: 0 0 min(360px, 45%); margin-top: 0; }
  }

  /* CTA band: photo removed and copy centred at UCI's request (2026-10-14): heading 40/55 on one line,
     text 18/32 in 3 lines (600px), 484×62 button, 55px band padding */
  .hhs-cta { overflow-x: clip; }
  @media (min-width: 1024px) {
    .hhs-cta { padding-block: 3.4375rem; }
    .hhs-cta__title { line-height: 55px; }
  }
  .hhs-cta .hhs-cta__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .hhs-cta__title { max-width: 34.3125rem; margin-inline: auto; line-height: 1.375; }
  .hhs-cta__text { max-width: 37.5rem; margin: 2rem auto 0; }
  .hhs-cta .hhs-cta__text { text-wrap: balance; }   /* 3 even lines (UCI 2026-10-14) */
  /* Heading on one line on desktop (UCI 2026-10-14): 40px, a little smaller only below ~1145px */
  @media (min-width: 1024px) {
    .hhs-cta__title { max-width: none; white-space: nowrap; font-size: min(2.5rem, 3.5vw); }
  }
  .hhs-cta .hhs-cta__btn { margin-top: 2.4375rem; padding-inline: 1.6875rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); }
  @media (min-width: 640px) { .hhs-cta__btn { min-width: 484px; } }
  .hhs-cta__btn .btn__arrow { width: 41px; height: 15px; }
}

/* ==========================================================================
   Citizen & Administrative Services (citizen-administrative-services.html, Figma 761:1130)
   Reuses the Health & Human Services layout above; only the wider intro copy differs
   (Figma heading 712px on 2 lines, paragraph 629px on 6 lines, then a "Talk to an Expert" button).
   Transportation (tr-*), Public Utilities (pu-*) and Justice & Public Safety (jps-*) share the intro and area-card rules.
   ========================================================================== */
@layer pages {
  @media (min-width: 1024px) {
    .cas-intro .hhs-intro__grid, .tr-intro .hhs-intro__grid, .pu-intro .hhs-intro__grid, .jps-intro .hhs-intro__grid, .edu-intro .hhs-intro__grid { grid-template-columns: minmax(0, 712px) minmax(0, 500px); }
  }
  .cas-intro .hhs-intro__title, .tr-intro .hhs-intro__title, .pu-intro .hhs-intro__title, .jps-intro .hhs-intro__title, .edu-intro .hhs-intro__title { max-width: 44.5rem; }   /* 712px */
  .cas-intro .hhs-intro__text, .tr-intro .hhs-intro__text, .pu-intro .hhs-intro__text, .jps-intro .hhs-intro__text, .edu-intro .hhs-intro__text { max-width: 39.3125rem; }  /* 629px */
  .cas-areas__title { max-width: 45.75rem; }                       /* 732px */
  /* Two-line card titles ("Licensing, Permitting & Inspections"): normal leading instead of the 55px line box;
     one-line titles keep the same 55px height as on Health & Human Services */
  .cas-areas .area-card__title { padding-block: 0.8125rem; line-height: 1.32; }
  /* Transportation (UCI 2026-10-16): two-line titles set tight, and every title box is two lines tall
     wherever cards sit side by side, so all descriptions start at the same height */
  .tr-areas .area-card__title, .pu-areas .area-card__title, .jps-areas .area-card__title, .edu-areas .area-card__title { padding-block: 0.8125rem; line-height: 1.15; }
  @media (min-width: 640px) { .tr-areas .area-card__title, .pu-areas .area-card__title, .jps-areas .area-card__title, .edu-areas .area-card__title { min-height: calc(2 * 1.15em + 1.625rem); } }
}

/* ==========================================================================
   Education (education.html): same layout as Transportation. "UCI in Action" has a single case study,
   shown in the photo CTA band from the homepage design ("Ready To Build What's Next?", Figma 871:543),
   chosen by UCI (2026-10-19) over the "Single Case Study" card variants.
   ========================================================================== */
@layer pages {
  .edu-action .hhs-head { margin-bottom: 2.1875rem; }

  /* The band runs straight into the footer; the case title is an h3 here, so it takes the band's h2 colour and size */
  .edu-action { padding-bottom: 0; }
  .edu-cta .cta-band__title { color: var(--color-text-on-dark); font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem); }
  .edu-cta .cta-band__media img { display: block; aspect-ratio: 3 / 2; object-fit: cover; }
}

/* ==========================================================================
   Data & AI pages (data-analytics.html, agents-intelligent-automation.html,
   ai-readiness-responsible-ai.html): Figma 976:2 "Data & AI" (Data & Analytics); the other two
   reuse its layout. Intro with the button over the photo's corner, then "What We Do": four groups
   alternating icon cards (Technology Services .icon-card) and the navy skyline band (.challenge items).
   Sizes at 1920: photo 445×372; tag 208×45; title 40/55; lead 18/32; cards 394×384 with 93px gaps;
   band 503px, heading 61px below its top.
   ========================================================================== */
@layer pages {
  .dai-hero__title { max-width: 64rem; }

  /* Intro: hero → photo 39px; title 611px wide, text 588px; button 272×62 sits 55px left of the
     photo and 27px below it */
  .dai-intro { padding-block: clamp(2rem, 2vw, 2.4375rem) 0; }
  .dai-intro__grid { display: grid; gap: 2.5rem; align-items: start; }
  @media (min-width: 1024px) {
    .dai-intro__grid { grid-template-columns: minmax(0, 611px) minmax(0, 445px); justify-content: space-between; gap: 3rem; }
  }
  .dai-intro__title { margin-top: 0.75rem; }
  .dai-intro__text { max-width: 36.75rem; margin-top: 2rem; }
  .dai-intro__aside { position: relative; max-width: 445px; }
  .dai-intro__media img { display: block; width: 100%; height: auto; }
  .dai-intro__btn { margin-top: 1.5rem; }
  @media (min-width: 1024px) {
    .dai-intro__aside { margin-bottom: 27px; }
    .dai-intro__btn { position: absolute; left: -1.5rem; bottom: -27px; margin-top: 0; }
  }
  @media (min-width: 1440px) { .dai-intro__btn { left: -55px; } }

  /* Card groups: button → tag 31px, tag → title 32px, title → lead 32px, lead → cards 36px,
     cards → band 54px; band → next title 58px */
  .dai-group { padding-block: 1.9375rem 3.375rem; }
  .dai-group:not(.dai-group--first) { padding-top: 3.625rem; }
  .dai-tag { min-width: 208px; justify-content: center; text-align: center; }
  .dai-title { margin-top: 2rem; font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.375; }
  .dai-group:not(.dai-group--first) .dai-title { margin-top: 0; }
  .dai-lead { max-width: 58.8125rem; margin-top: 2rem; }
  .dai-cards { margin-top: 2.25rem; }
  @media (min-width: 640px) and (max-width: 1023px) { .dai-cards { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .dai-cards { column-gap: 3rem; } }
  @media (min-width: 1600px) { .dai-cards { column-gap: 5.8125rem; } }
  @media (min-width: 1024px) { .dai-card { min-height: 24rem; padding: 2.8125rem 1.9375rem 2.5rem; } }
  .dai-card .icon-card__icon { width: 51px; height: 51px; }
  .dai-card .icon-card__title { margin-top: 2rem; font-size: clamp(1.375rem, 1.2rem + 0.4vw, 1.625rem); }
  .dai-card .icon-card__text { max-width: 20.25rem; margin-top: 1.5rem; color: var(--color-primary); }   /* Figma text boxes 285–324px */
  .dai-card.icon-card--wash:is(:hover, :focus-within) .icon-card__text { color: var(--color-text-on-dark); }   /* --wash turns it white (UCI 2026-10-21) */
  /* One-line titles (AI Readiness Assessment cards, UCI 2026-10-21): from 1440px the three titles stay on one
     line and share one size, scaled to the card so the longest ("Data & Technology Assessment", ~14.65em wide)
     fits; below 1440px the card is too narrow for a readable one-line title, so they wrap as before */
  @media (min-width: 1440px) {
    .dai-cards--one-line .dai-card { container-type: inline-size; }
    .dai-cards--one-line .icon-card__title { min-height: 0; white-space: nowrap; font-size: min(1.625rem, 6.7cqi); }
  }

  /* Navy skyline band: amber heading, white lead, three amber-ruled items */
  .dai-band { padding-block: 3.8125rem 3.5625rem; }
  .dai-band__title { color: var(--color-cta); font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.375; }
  .dai-band__lead { max-width: 52rem; margin-top: 2rem; }
  .dai-band__grid { margin-top: 2.5rem; }
  /* Figma text boxes are up to 370px at 18px; 26rem keeps every description to two lines (UCI 2026-10-19) */
  .dai-band .challenge p { max-width: 26rem; }
  /* 3-line descriptions (data-lines, UCI 2026-10-21) keep the normal wrap, not fit-lines' balance, so a
     description that already has 3 lines keeps its original line breaks */
  .dai-band .challenge p[data-lines] { width: min(100%, 26rem); text-wrap: pretty; }   /* width: fit-lines lifts max-width while it measures */

  /* ---- da-wwd / da-rt: layout of Figma 1439:81 (Data & Analytics), also used by the other two Data & AI pages (UCI 2026-10-29) ---- */

  /* What We Do: navy feature card (645 × 306) beside two stacked cream cards (670 × 137, 31px apart) */
  .da-wwd { display: grid; gap: 1.5rem; margin-top: 2.25rem; }
  @media (min-width: 1024px) {
    .da-wwd { grid-template-columns: 645fr 670fr; grid-template-rows: 1fr 1fr; column-gap: clamp(2rem, 2.86vw, 3.4375rem); row-gap: 1.9375rem; }
    .da-wwd__feature { grid-row: 1 / 3; }
  }
  .da-wwd__feature, .da-wwd__item { border-radius: var(--radius-card); box-shadow: var(--shadow-panel); }
  .da-wwd__feature { padding: 2.375rem 2.75rem 2.5rem; background: var(--color-primary); color: var(--color-text-on-dark); }
  .da-wwd__feature .da-wwd__icon { width: 56px; height: 56px; filter: brightness(0) invert(1); }   /* navy line icon drawn white */
  .da-wwd__feature .da-wwd__title { margin-top: 1rem; color: var(--color-text-on-dark); font-size: clamp(1.5rem, 1.2rem + 0.6vw, 1.875rem); line-height: 1.333; }   /* 30/40 */
  .da-wwd__feature .da-wwd__text { max-width: 30.875rem; margin-top: 1rem; font-size: clamp(1.0625rem, 1rem + 0.15vw, 1.25rem); line-height: 1.6; }   /* 20/32, 494px */
  .da-wwd__item { display: grid; grid-template-columns: 34px 1fr; column-gap: 1.4375rem; align-content: center; padding: 1rem 1.75rem 1rem 1.625rem; background: var(--color-faq); }
  .da-wwd__item .da-wwd__icon { width: 34px; height: 34px; margin-top: 3px; }
  .da-wwd__item .da-wwd__title { color: var(--color-primary); font-size: clamp(1.25rem, 1rem + 0.5vw, 1.625rem); line-height: 1.5; }   /* 26/40 */
  .da-wwd__item .da-wwd__text { max-width: 32.3125rem; margin-top: 0.5rem; color: var(--color-primary); font-size: 1rem; line-height: 1.75; }   /* 16/28, ≤ 517px */
  .da-wwd__title { transition: transform var(--dur-base) var(--ease-out); }
  .da-wwd > li:is(:hover, :focus-within) .da-wwd__title { transform: translateX(6px); }

  /* Real-Time Data & Operational Analytics: sand band, 57px above and 58px below (it meets the footer).
     Expanding cards (UCI reference, 2026-10-29): heading above a row of three cards; one card is open
     (wider, navy, white text, longer green rule), the middle one by default. From 1440px hovering a card
     opens it and the others narrow. Titles stay on 2 lines and descriptions on 3 in every state. */
  .da-rt { padding-block: clamp(3rem, 2.97vw, 3.5625rem) clamp(3rem, 3.02vw, 3.625rem); background: var(--color-sand); }
  .da-rt__title { color: var(--color-primary); font-size: clamp(1.875rem, 1.2rem + 1.3vw, 2.625rem); line-height: 1.55; }   /* 42/65 (Figma 1439:81) */
  .da-rt__lead { max-width: 41rem; margin-top: 1.25rem; color: var(--color-text); }
  .da-rt__items { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
  @media (min-width: 1280px) { .da-rt__items { grid-template-columns: 1fr 1fr 1fr; } }
  @media (min-width: 1440px) {
    /* The open card takes 1.4 shares. Track sizes animate (the one non-transform/opacity transition here,
       like the accordions' grid-template-rows). */
    .da-rt__items { grid-template-columns: 1fr 1.4fr 1fr; transition: grid-template-columns 550ms var(--ease-out); }
    .da-rt__items:has(> .da-rt__item:nth-child(1):hover) { grid-template-columns: 1.4fr 1fr 1fr; }
    .da-rt__items:has(> .da-rt__item:nth-child(3):hover) { grid-template-columns: 1fr 1fr 1.4fr; }
  }
  .da-rt__item {
    position: relative;
    isolation: isolate;
    min-width: 0;
    padding: 2.75rem 1.75rem 1.75rem;
    border-radius: var(--radius-card);
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
  }
  /* Navy fill of the open card: a layer that fades in (opacity only) */
  .da-rt__item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity 450ms var(--ease-out);
  }
  /* Green rule (51 × 5) above each title; it stretches when the card opens */
  .da-rt__item::before {
    content: "";
    position: absolute;
    top: 1.75rem; left: 1.75rem;
    width: 51px; height: 5px;
    background: var(--color-accent);
    transform-origin: 0 50%;
    transition: transform 450ms var(--ease-out);
  }
  .da-rt__item-title { color: var(--color-primary); font-size: clamp(1.1875rem, 1rem + 0.35vw, 1.375rem); line-height: 1.59; transition: color 450ms var(--ease-out); }   /* 22/35, 2 lines */
  /* 296px keeps every description to 3 lines (shorter ones would take 2 lines when wider) */
  .da-rt__item-text { width: min(100%, 18.5rem); margin-top: 0.75rem; color: var(--color-text); font-size: 1rem; line-height: 1.875; transition: color 450ms var(--ease-out); }
  /* Open state: the middle card unless another card is hovered, or the hovered card */
  .da-rt__items:not(:has(> .da-rt__item:hover)) > .da-rt__item:nth-child(2)::after,
  .da-rt__item:hover::after { opacity: 1; }
  .da-rt__items:not(:has(> .da-rt__item:hover)) > .da-rt__item:nth-child(2) :is(.da-rt__item-title, .da-rt__item-text),
  .da-rt__item:hover :is(.da-rt__item-title, .da-rt__item-text) { color: var(--color-text-on-dark); }
  .da-rt__items:not(:has(> .da-rt__item:hover)) > .da-rt__item:nth-child(2)::before,
  .da-rt__item:hover::before { transform: scaleX(2.4); }

  /* Scroll entrance: the shared reveal lifts the cards in one after another (slower stagger than the
     site's 80ms so it reads), then each green rule draws from the left. Motion-only: content shows in
     full without JS or under reduced motion. */
  .js-motion .da-rt__items { --stagger: 220ms; }
  .js-motion .da-rt__item:not(.is-visible)::before { transform: scaleX(0); }
  .js-motion .da-rt__item::before { transition: transform 700ms var(--ease-out) calc(var(--i, 0) * var(--stagger) + 450ms); }
  .js-motion .da-rt__item.is-visible:hover::before,
  .js-motion .da-rt__items:has(> .da-rt__item:hover) .da-rt__item.is-visible::before { transition-delay: 0s; }
}

/* ==========================================================================
   Coming Soon (coming-soon.html): no Figma frame. Built from the shared page-hero
   and centred CTA band; scripts/build-dist.mjs copies it to every linked page not built yet.
   ========================================================================== */
@layer pages {
  .cs-hero { padding-top: calc(var(--header-h) + clamp(1rem, 2.19vw, 2.625rem)); }  /* title placement as lt-hero */

  .cs-body { padding-block: clamp(3.5rem, 5.42vw, 6.5rem); }
  .cs-intro { display: grid; justify-items: center; text-align: center; }
  .cs-title {
    max-width: 40rem;
    font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem);                /* as lt-title, 42/55 */
    line-height: 1.31;
  }
  .cs-lead { max-width: 46rem; margin-top: 2rem; }
  .cs-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
  .cs-btn-alt {                                                          /* navy colours at the large button size */
    min-height: 62px;
    padding: 0.625rem 2rem;
    border-radius: var(--radius-btn);
    font-size: var(--fs-btn);
  }

  .cs-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
}

/* ==========================================================================
   Contact Us — Figma 1176:2 (UCI 2026-10-23). Navbar and footer are the shared partials (unchanged).
   Desktop sizes are Figma's at 1920; intro = grid cols 2–6, form card = cols 7–15.
   ========================================================================== */
@layer pages {
  /* Hero: "Contact Us" centred at Figma y≈381 of the 681px banner */
  .contact-hero { padding-top: calc(var(--header-h) + clamp(1rem, 2vw, 2.4rem)); }

  .contact { padding-block: clamp(3rem, 5.26vw, 6.3125rem) 0; }   /* 101px from the banner */
  .contact .container { row-gap: 3rem; align-items: start; }

  /* Intro column */
  .contact__title {
    max-width: 6.4em;                                              /* 319px at 50px → "Tell Us How / We Can Help" at every size */
    color: var(--color-primary);
    font-size: clamp(2rem, 1.3rem + 1.9vw, 3.125rem);
    line-height: 1.24;
  }
  .contact__lead {
    max-width: 21.125rem;                                          /* 338px */
    margin-top: clamp(1.25rem, 1.9vw, 2.25rem);
    color: var(--color-text);
    font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem);
    line-height: 1.54;                                             /* 24/37 */
  }
  .contact__details { display: grid; gap: clamp(1.5rem, 2.4vw, 2.6rem); margin-top: 2rem; }
  /* Icon circle 52×51 (its SVG is 60×59 including the shadow, drawn from -2,-2), label 17/37, value 19/32 */
  .contact-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 11px;
    align-items: start;
  }
  .contact-item__icon { grid-row: 1 / 3; width: 60px; max-width: none; height: 59px; margin: 6px 0 0 -2px; }
  .contact-item__icon--email { position: relative; }
  .contact-item__icon--email img:first-child { display: block; width: 60px; max-width: none; height: 59px; }
  .contact-item__glyph { position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; }
  .contact-item__label { color: var(--color-text); font-size: 1.0625rem; line-height: 37px; }
  .contact-item__value {
    margin-top: -0.25rem;
    color: var(--color-text);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 2rem;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
  }
  .contact-item__value:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 0.2em; }

  /* Form card: cream panel, 20px radius, 38/98/40/67 padding at 1920 */
  /* Narrower than Figma (UCI 2026-10-23): 8 grid columns, 770px at 1920 (Figma 9 = 868px); right edge stays on the map's */
  @media (min-width: 1280px) { .container > .contact-card { grid-column: span 8 / content-end; } }   /* below 1280 it keeps 9 columns */
  .contact-card {
    padding: clamp(1.5rem, 3.02vw, 3.625rem) clamp(1.25rem, 5.1vw, 6.125rem) clamp(1.5rem, 2.76vw, 3.3125rem) clamp(1.25rem, 3.49vw, 4.1875rem);   /* Figma 1176:2 (2026-10-29): fields start 58px in, Submit ends 53px from the bottom */
    border-radius: var(--radius-card);
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
  }
  /* Fields (Figma 1176:2, UCI 2026-10-29): 42px boxes with the placeholder inside, 49px apart; two 310px
     boxes per row (44.1% of the 703px field area each), then full-width boxes */
  .contact-form { --cf-gap: clamp(1.25rem, 2.55vw, 3.0625rem); display: grid; row-gap: var(--cf-gap); }
  .contact-form__row { display: grid; gap: var(--cf-gap); }
  @media (min-width: 640px) {
    .contact-form__row { grid-template-columns: 44.1% 44.1%; justify-content: space-between; }
  }
  .contact-form__field { display: grid; row-gap: 8px; }
  .contact-form__input {
    width: 100%;
    height: 42px;
    padding: 0 0.9375rem;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
    color: var(--color-primary);
    font-size: 1rem;
  }
  .contact-form__input::placeholder { color: var(--color-text); opacity: 1; }
  .contact-form__textarea { height: 84px; padding-block: 0.75rem; resize: vertical; line-height: 1.5; }
  .contact-form__input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
  .contact-form__input[aria-invalid="true"] { border-color: var(--color-error); box-shadow: var(--shadow-panel), inset 0 0 0 1px var(--color-error); }
  .contact-form__error { color: var(--color-error); font-size: 1rem; line-height: 1.4; }

  /* Phone: one bordered box holding the country picker (flag + chevron) and the number (Figma 1452:426) */
  .contact-form__phone {
    position: relative;
    display: flex;
    align-items: center;
    height: 42px;
    padding-left: 0.9375rem;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
  }
  .contact-form__phone .contact-form__tel { flex: 1; min-width: 0; height: 100%; padding-left: 0.5rem; border: 0; border-radius: 0 10px 10px 0; background: none; box-shadow: none; }
  .contact-form__phone .contact-form__tel:focus-visible { outline-offset: -2px; border-radius: 0 9px 9px 0; }
  .contact-form__phone:has([aria-invalid="true"]) { border-color: var(--color-error); box-shadow: var(--shadow-panel), inset 0 0 0 1px var(--color-error); }
  /* Without JS the native select shows its own text; with JS it turns invisible over the flag + chevron */
  .contact-form__country-face { display: none; }
  .contact-form__country { max-width: 9rem; border: 0; background: none; color: var(--color-primary); font: inherit; font-size: 0.9375rem; }
  .js .contact-form__country-face { display: flex; align-items: center; gap: 0.875rem; pointer-events: none; }
  .js .contact-form__country {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 5rem; max-width: none; padding-left: 0.9375rem;
    opacity: 0; cursor: pointer;
  }
  .js .contact-form__country option { color: var(--color-primary); }
  .js .contact-form__phone:has(.contact-form__country:focus-visible) { outline: 2px solid var(--color-primary); outline-offset: 2px; }
  .contact-form__flag { width: 23px; height: 23px; }
  .contact-form__dial { min-width: 23px; color: var(--color-primary); font-size: 0.9375rem; font-weight: 600; }
  .contact-form__chev { width: 10px; height: 10px; color: var(--color-text); }

  /* Honeypot: off-screen, not display:none (BACKEND-CONFIG §6) */
  .contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

  /* Submit: full-width 47px navy bar, amber 20px semibold label (Figma 1180:193); site button motion */
  .contact-form__submit {
    --btn-bg: var(--color-primary);
    --btn-bg-hover: var(--color-primary-strong);
    --btn-fg: var(--color-cta);
    width: 100%;
    min-height: 47px;
    padding: 0 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-panel);
    font-size: 1.25rem;
    font-weight: 600;
  }
  .contact-form__submit[aria-busy="true"] { cursor: progress; opacity: 0.75; }
  .contact-form__status { margin-top: -0.75rem; font-size: var(--fs-body); line-height: 1.5; color: var(--color-primary); }
  .contact-form__status.is-error { color: var(--color-error); }

  /* Map: 1369×523, 20px radius, 70px under the card and 58px above the footer */
  .contact-map { padding-block: clamp(2.5rem, 3.65vw, 4.375rem) clamp(2.5rem, 3.02vw, 3.625rem); }
  .contact-map__frame { overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-panel); }
  .contact-map__embed { display: block; width: 100%; height: auto; aspect-ratio: 1369 / 523; min-height: 320px; border: 0; }
}

/* ==========================================================================
   Careers — Figma 1187:536 (UCI 2026-10-23). Navbar and footer are the shared partials (unchanged).
   Desktop sizes are Figma's at 1920. Job cards reuse the FAQ accordion (details[data-accordion] + .faq__panel).
   ========================================================================== */
@layer pages {
  .careers-hero { padding-top: calc(var(--header-h) + clamp(1rem, 2vw, 2.4rem)); }   /* title centred at y≈381 */

  .openings { padding-block: clamp(2.5rem, 3.02vw, 3.625rem); }
  .openings .container { row-gap: 0; }                       /* 58px under the banner / above the footer */
  .openings__tag { min-width: 200px; }
  .openings__title {
    margin-top: 2rem;
    color: var(--color-primary);
    font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.25rem);
    line-height: 1.53;                                                                 /* 36/55 */
  }
  .openings__lead { max-width: 40.25rem; margin-top: 2rem; color: var(--color-text); }  /* 644px, 18/32 */

  /* Job cards: 1370 wide, 20px radius, cream, panel shadow, 32px apart */
  .jobs { display: grid; gap: 2rem; margin-top: 2rem; }
  .job {
    border-radius: var(--radius-card);
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
  }
  /* Head: title 24/40 at 32px in, tags under it, chevron 30px top-right (48px from the edge) */
  .job__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 1.5rem;
    padding: 2rem 3rem 2.0625rem 2rem;                                                 /* 32 / 48 / 33 / 32 → 175px closed */
    border-radius: inherit;
    list-style: none;
    cursor: pointer;
  }
  .job__head::-webkit-details-marker { display: none; }
  .job__head:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -4px; }
  .job__title { grid-column: 1; color: var(--color-primary); font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); line-height: 40px; }
  .job__chevron {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 30px;
    height: 30px;
    transition: transform var(--dur-base) var(--ease-in-out);
  }
  .job[open] .job__chevron { transform: scaleY(-1); }                                 /* Figma flips it when open */
  .job.is-closing .job__chevron { transform: none; }
  .job__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5625rem; }
  /* Meta pills: same look as the section tag (2px amber, 45px), fixed Figma widths 222 / 141, no hover fill */
  .job__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0.25rem 1rem;
    border: 2px solid var(--color-cta);
    border-radius: var(--radius-pill);
    color: var(--color-primary);
    font-size: var(--fs-body);
    font-weight: 700;
    line-height: 1.3;
  }
  .job__tag--place { min-width: 222px; }
  .job__tag--term { min-width: 141px; }
  .job__head:hover .job__title { color: var(--color-primary-strong); }

  .js-motion .job.is-open .faq__panel { grid-template-rows: 1fr; }
  /* Body: divider 33px under the tags (1px #d6d3d3, ends 53px from the card edge), text 18/35, 32px bottom */
  .job__body > :first-child { margin-top: 0; }
  .job__body {
    margin: 0 3.3125rem 0 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--color-line);
    color: var(--color-text);
    font-size: var(--fs-body);
    line-height: 35px;
  }
  .job__body p + p { margin-top: 1.125rem; }
  .job__body p + .job__apply { margin-top: 0; }                                        /* Figma: same block as the requirements */
  .job__body strong { font-weight: 600; }
  .job__mail { color: inherit; text-decoration: none; }
  .job__mail:hover { text-decoration: underline; text-underline-offset: 0.2em; }
  .job:not(.is-open):not([open]) .job__body { visibility: hidden; }

  @media (max-width: 639px) {
    .job__head { padding: 1.5rem 1.25rem; }
    .job__body { margin-inline: 1.25rem; }
    .job__tag--place, .job__tag--term { min-width: 0; }
  }
}

/* ==========================================================================
   Case Studies — Figma 1059:2 "Case study Overview" (2026-10-26). Navbar and footer are the shared partials (unchanged).
   15 rows; text and illustration swap sides each row. Desktop values are Figma's at 1920:
   --tw title box, --dw description box, --iw image width, --dx image inset from its edge,
   --dy image top minus text top, --gap space above the row (all px). The illustrations are
   transparent PNG renders, so Figma lets the text box run over the image box; that is kept.
   ========================================================================== */
@layer pages {
  .cs-hero { padding-top: calc(var(--header-h) + clamp(0.5rem, 0.833vw, 1rem)); }   /* title centred at y≈370 */

  .cs-list { padding-block: clamp(2.5rem, 2.55vw, 3.0625rem) clamp(2.5rem, 3.02vw, 3.625rem); }   /* 49 under the banner, 58 above the footer */
  .cs-list .container { row-gap: 0; }

  .cs-row:nth-child(1)  { --tw: 869; --dw: 644; --iw: 605; --dx: -5; --dy: -12; --gap: 0; }
  .cs-row:nth-child(2)  { --tw: 897; --dw: 644; --iw: 779; --dx: 0;  --dy: -13; --gap: 22; }
  .cs-row:nth-child(3)  { --tw: 923; --dw: 644; --iw: 605; --dx: 0;  --dy: -51; --gap: 58; }
  .cs-row:nth-child(4)  { --tw: 921; --dw: 644; --iw: 605; --dx: 0;  --dy: 0;   --gap: 58; }
  .cs-row:nth-child(5)  { --tw: 756; --dw: 644; --iw: 532; --dx: -4; --dy: 0;   --gap: 58; }
  .cs-row:nth-child(6)  { --tw: 921; --dw: 545; --iw: 530; --dx: 5;  --dy: 30;  --gap: 58; }
  .cs-row:nth-child(7)  { --tw: 730; --dw: 644; --iw: 532; --dx: -4; --dy: -13; --gap: 65; }
  .cs-row:nth-child(8)  { --tw: 921; --dw: 545; --iw: 600; --dx: 19; --dy: -5;  --gap: 53; }
  .cs-row:nth-child(9)  { --tw: 730; --dw: 644; --iw: 555; --dx: 7;  --dy: -8;  --gap: 50; }
  .cs-row:nth-child(10) { --tw: 730; --dw: 644; --iw: 529; --dx: 1;  --dy: -2;  --gap: 54; }
  .cs-row:nth-child(11) { --tw: 618; --dw: 545; --iw: 556; --dx: 10; --dy: -9;  --gap: 49; }
  .cs-row:nth-child(12) { --tw: 730; --dw: 644; --iw: 567; --dx: -10; --dy: -46; --gap: 12; }
  .cs-row:nth-child(13) { --tw: 669; --dw: 545; --iw: 542; --dx: 0;  --dy: -6;  --gap: 52; }
  .cs-row:nth-child(14) { --tw: 730; --dw: 644; --iw: 528; --dx: 1;  --dy: -11; --gap: 47; }
  .cs-row:nth-child(15) { --tw: 921; --dw: 545; --iw: 510; --dx: 1;  --dy: -8;  --gap: 81; }

  .cs-row { display: grid; align-items: start; }
  .cs-row + .cs-row { margin-top: clamp(3rem, 6vw, 4.5rem); }

  /* Text: title 36/55 navy, 32px, description 18/32 grey, 32px, button */
  .cs-row__title {
    color: var(--color-primary);
    font-size: var(--fs-h2);
    line-height: 1.528;                                   /* 55/36 */
    text-wrap: wrap;                                      /* Figma wraps greedily in its text box */
  }
  .cs-row__desc { margin-top: 2rem; color: var(--color-text); text-wrap: wrap; }
  .cs-row__btn { margin-top: 2rem; }
  .cs-row__img { margin-inline: auto; }

  /* Read More: 190 × 62, 20px radius; label 25px in, arrow 28px wide ending 19px from the edge */
  .cs-row .cs-row__btn {
    min-width: 190px;
    padding-inline: 1.5rem 1.1875rem;
    gap: 1rem;
  }
  .cs-row__btn .btn__arrow { width: 28px; height: 14px; }

  @media (max-width: 1023px) {
    .cs-row { gap: 1.5rem; }
    .cs-row__img { order: -1; }                            /* picture first when stacked */
  }

  /* ≥1024: side by side; right-hand rows are right-aligned and their arrow points back (Figma 1065:324) */
  @media (min-width: 1024px) {
    .cs-row { grid-template-columns: minmax(0, 1fr) 42%; column-gap: 3rem; align-items: center; }
    .cs-row--rev { grid-template-columns: 42% minmax(0, 1fr); }
    .cs-row--rev .cs-row__text { grid-column: 2; grid-row: 1; text-align: right; }
    .cs-row--rev .cs-row__img { grid-column: 1; grid-row: 1; }
    .cs-row--rev .cs-row__desc { margin-left: auto; }
    .cs-row--rev .cs-row__btn { flex-direction: row-reverse; padding-inline: 1.1875rem 1.5rem; }
    .cs-row--rev .cs-row__btn .btn__arrow { transform: scaleX(-1); }
    .cs-row--rev .cs-row__btn:hover .btn__arrow,
    .cs-row--rev .cs-row__btn:focus-visible .btn__arrow { transform: translateX(-4px) scaleX(-1); }
  }

  /* ≥1440: Figma layout. Text and image share one cell; text keeps its Figma box width (same line
     breaks), the image gives up whatever the container lost below 1370px, so the space between
     them stays as in Figma. */
  @media (min-width: 1440px) {
    .cs-list { padding-block: 3.0625rem 3.625rem; }
    .cs-row, .cs-row--rev { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .cs-row + .cs-row { margin-top: calc(var(--gap) * 1px); }
    .cs-row > *, .cs-row--rev .cs-row__text, .cs-row--rev .cs-row__img { grid-column: 1; grid-row: 1; }
    .cs-row__text { position: relative; z-index: 1; max-width: calc(var(--tw) * 1px); margin-top: max(0px, calc(var(--dy) * -1px)); }
    .cs-row__desc { max-width: calc(var(--dw) * 1px); }
    .cs-row__img {
      width: calc(var(--iw) * 1px - (1370px - 100%));
      margin: max(0px, calc(var(--dy) * 1px)) calc(var(--dx) * 1px) 0 auto;
    }
    .cs-row--rev .cs-row__text { justify-self: end; }
    .cs-row--rev .cs-row__img { margin: max(0px, calc(var(--dy) * 1px)) auto 0 calc(var(--dx) * 1px); }
  }
}

/* ==========================================================================
   Case study detail: Real-Time Transportation Data & Analytics Platform — Figma 1148:1402 (2026-10-26).
   Navbar and footer are the shared partials (unchanged). `csd-*` classes are written for every
   case-study detail page; only this one has a Figma frame so far.
   ========================================================================== */
@layer pages {
  /* Hero: title 65/92 in a 1104px box + subtitle 24/32 41px below, block centred at y≈418 */
  .csd-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5.833vw, 7rem)); }
  .csd-hero .csd-hero__title { max-width: 69rem; line-height: 1.415; }
  .csd-hero__sub {
    max-width: 40.25rem;                                    /* 644px */
    margin: clamp(1.25rem, 2.14vw, 2.5625rem) auto 0;
    color: var(--color-text-on-dark);
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
    line-height: 1.333;
  }
  .js-motion .csd-hero .csd-hero__sub { animation-delay: calc(200ms + var(--stagger)); }

  /* Summary cards: 58px under the banner; 3 × 420 cream panels (shadow as .area-card), 590 tall at 1920 */
  .csd-summary { padding-top: clamp(2.5rem, 3.02vw, 3.625rem); }
  .csd-cards { display: grid; gap: 1.5rem; }
  .csd-card {
    position: relative;
    padding: 2rem 1.5rem 3rem;
    border-radius: var(--radius-card);
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
  }
  /* 13px navy bar along the bottom (Figma "Rectangle 69") */
  .csd-card::before {
    content: "";
    position: absolute;
    left: 0.36%;
    right: 0.36%;
    bottom: 0;
    height: 13px;
    background: url("../assets/icons/csd-card-bar.svg") 0 0 / 100% 100% no-repeat;
    transform-origin: 50% 100%;
    transition: transform var(--dur-base) var(--ease-out);
  }
  /* Hover (UCI 2026-10-26): the Technology Services capability-card wash (.icon-card--wash). The card lifts (.lift),
     the diagonal navy gradient fades in on the .lift::after layer, text and icon turn white, the bar fades out. */
  .csd-card { isolation: isolate; }
  .csd-card::after { z-index: -1; background: var(--gradient-navy-diagonal); }
  .csd-card::before { transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
  .csd-card:is(:hover, :focus-within)::before { opacity: 0; }
  .csd-card :is(.csd-card__title, .csd-card__text, .csd-card__list) {
    transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .csd-card:is(:hover, :focus-within) :is(.csd-card__title, .csd-card__text, .csd-card__list) { color: var(--color-text-on-dark); }
  .csd-card__icon { transition: filter var(--dur-base) var(--ease-out); }
  .csd-card:is(:hover, :focus-within) .csd-card__icon { filter: brightness(0) invert(1); }
  .csd-card__icon { width: 51px; height: 51px; margin-top: var(--icon-dy, 0px); }
  .csd-card__title {
    margin-top: calc(2rem - var(--icon-dy, 0px));         /* title 131px from the card top in every card */
    color: var(--color-primary);
    font-size: var(--fs-h3-lg);                             /* 30/40 */
    line-height: 1.333;
    text-wrap: wrap;
    transition: transform var(--dur-base) var(--ease-out);
  }
  .csd-card:is(:hover, :focus-within) .csd-card__title { transform: translateX(6px); }   /* as .icon-card */
  .csd-card__text, .csd-card__list { margin-top: 1.8125rem; color: var(--color-text); text-wrap: wrap; }   /* 29px under the title */
  /* Bullets: Kumbh Sans's own small "•" 14px before the text, text 27px in (the browser disc is larger) */
  .csd-card__list { padding-left: 27px; list-style: none; }
  .csd-card__list li { position: relative; }
  .csd-card__list li::before { content: "•"; position: absolute; left: -14px; }

  @media (min-width: 1024px) {
    .csd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 2.86vw, 3.4375rem); }
  }
  /* ≥1440: Figma's boxes. Content starts 31 / 40 / 72px in; the first icon sits 9px lower */
  @media (min-width: 1440px) {
    .csd-card { min-height: 590px; padding: 3rem 1rem 3rem var(--pl); }
    .csd-card:nth-child(1) { --pl: 31px; --icon-dy: 9px; --tw: 269px; --xw: 339px; }
    .csd-card:nth-child(2) { --pl: 40px; --tw: 254px; --xw: 324px; }
    .csd-card:nth-child(3) { --pl: 72px; --tw: 301px; --xw: 266px; }
    .csd-card__title { max-width: var(--tw); }
    .csd-card__text, .csd-card__list { max-width: var(--xw); }
    .csd-card:nth-child(2) .csd-card__title { margin-left: 2px; }    /* Figma 797 vs icon 795 */
    .csd-card:nth-child(2) { margin-inline: 4px -4px; }               /* Figma gaps are 59 / 50px, not 55 / 55 */
    .csd-tags__list .tag:nth-child(2) { min-width: 275px; }
    .csd-tags__list .tag:nth-child(3), .csd-tags__list .tag:nth-child(4) { min-width: 233px; }   /* Figma pill widths 227 / 275 / 233 / 233 */
  }

  /* Tags: 59px under the cards, heading 36/55, pills 31px below and 20px apart, 58px above the footer */
  .csd-tags { padding-block: clamp(2.5rem, 3.07vw, 3.6875rem) clamp(2.5rem, 3.02vw, 3.625rem); }
  .csd-tags__title { color: var(--color-primary); font-size: var(--fs-h2); line-height: 1.528; }
  .csd-tags__list { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 1.9375rem; }
  @media (max-width: 639px) { .csd-tags__list .tag { min-width: 0; } }
  /* Five tags stay on one row (UCI 2026-10-28): drop the Figma pill widths so they share the row */
  @media (min-width: 1280px) {
    .csd-tags__list:has(> .tag:nth-child(5)):not(:has(> .tag:nth-child(6))) { flex-wrap: nowrap; }
    .csd-tags__list:has(> .tag:nth-child(5)):not(:has(> .tag:nth-child(6))) .tag { min-width: 0; flex: 1 1 auto; white-space: nowrap; }
  }
}

/* ==========================================================================
   NYS HBITS — Figma 1199:781 (2026-10-26), under Careers next to UCI Openings. Navbar and footer are the shared
   partials. Reuses the Careers hero and .openings section (tag, 36/55 title, 644px lead); desktop values are Figma's at 1920.
   ========================================================================== */
@layer pages {
  .hbits__title { max-width: 73rem; }                                              /* 1168px box: 2 lines at 1920 */

  /* Account managers: heading 24/32 44px under the lead, names 20/32, contact pills 20px under each name */
  .hbits-contacts { margin-top: 2.75rem; }
  .hbits-contacts__title { color: var(--color-primary); font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); font-weight: 600; line-height: 32px; }
  .hbits-contacts__name { margin-top: 2.1875rem; color: var(--color-text); font-size: 1.25rem; font-weight: 600; line-height: 32px; }
  .hbits-contacts__title + .hbits-contacts__name { margin-top: 1.9375rem; }
  .hbits-contacts__name:last-of-type { margin-top: 2rem; }
  .hbits-pills { display: flex; flex-wrap: wrap; gap: 0.75rem 1.375rem; margin-top: 1.25rem; }  /* 200 × 38 pills, 22px apart */
  /* Same pill as the section .tag (2px amber, fills amber on hover), Figma's smaller size and 16px semibold text */
  .tag.hbits-pill {
    min-width: 200px;
    min-height: 38px;
    padding: 0.1875rem 1.125rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 32px;
    text-decoration: none;
  }
  .hbits-pill:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

  /* Documents: title 58px under the last pill, then 1370 × 74 cream rows (20px radius, panel shadow) 32px apart */
  .hbits__docs-title { margin-top: 3.625rem; }
  .hbits-docs { display: grid; gap: 2rem; margin-top: 2rem; }
  .hbits-doc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 74px;
    padding: 1rem 1.5625rem 1rem 2rem;                                             /* title 32px in, arrow 25px from the edge */
    border-radius: var(--radius-card);
    background: var(--color-faq);
    box-shadow: var(--shadow-panel);
    color: var(--color-primary);
  }
  .hbits-doc__title { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.5rem); font-weight: 700; line-height: 1.3; }
  .hbits-doc__icon { flex-shrink: 0; width: 24px; height: 24px; }   /* not clickable yet: PDFs not supplied (UCI 2026-10-26) */

  @media (max-width: 639px) {
    .hbits-doc { padding-inline: 1.25rem; }
    .tag.hbits-pill { min-width: 0; }
  }
}


/* ==========================================================================
   Government Sectors (state-government.html, cities-municipalities.html, counties-special-districts.html). No Figma frames: built from the uci-website
   industry layout (hero, .hhs-intro, credentials band, icon cards, centred CTA band). `gov-*` classes.
   ========================================================================== */
@layer pages {

  /* Logo band: heading + text on the homepage credentials band, logos in the same carousel */
  .gov-logos__title { max-width: 46rem; font-size: var(--fs-h2); line-height: 1.31; }
  .gov-logos__text { max-width: 46rem; margin-top: 1.5rem; }

  /* Benefits: heading 42/55 + intro text, then four icon cards */
  .gov-benefits { padding-block: var(--section-gap) clamp(2.5rem, 3.5vw, 3.625rem); }
  .gov-head__title { max-width: 43.25rem; }
  .gov-head__text { max-width: 52rem; margin-top: 1.5rem; }
  .gov-benefits__grid { margin-top: 2.5rem; }
  @media (min-width: 1024px) { .gov-benefits__grid { gap: 1.625rem; } }
  /* two per row below 1536px so every card fits a 1-line title and 6-line text (UCI 2026-11-25) */
  @media (min-width: 1024px) and (max-width: 1535px) { .gov-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
  .gov-card { position: relative; }
  @media (min-width: 1024px) { .gov-card .gov-card__title { min-height: 0; } }

}

/* ==========================================================================
   Technology & Modernization (legacy-modernization-cloud-migration.html, data-integration-analytics.html).
   No Figma frames: uci-website hero + .hhs-intro, then stats, five numbered cards, a four-step band on the
   Technology Services skyline image, and the testimonial card. `mod-*` classes.
   ========================================================================== */
@layer pages {
  .mod-intro .hhs-intro__title { max-width: 40rem; }

  /* Stats: heading, then three counters (homepage .stats, three columns) */
  .mod-stats { padding-block: clamp(1rem, 2vw, 2rem) var(--section-gap); }
  .mod-stats__title { max-width: 46rem; }
  .mod-stats__list { margin-top: clamp(2rem, 4vw, 3rem); }
  @media (min-width: 1024px) { .mod-stats__list { grid-template-columns: repeat(3, 1fr); } }

  /* Five numbered cards: 3 + 2 centred on desktop, 2-up on tablet */
  .mod-services { padding-block: 0 var(--section-gap); }
  .mod-services__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.625rem; margin-top: 2.5rem; }
  .mod-services__grid > li { flex: 1 1 100%; display: grid; }
  @media (min-width: 640px) { .mod-services__grid > li { flex-basis: calc(50% - 0.8125rem); flex-grow: 0; } }
  @media (min-width: 1024px) { .mod-services__grid > li { flex-basis: calc((100% - 2 * 1.625rem) / 3); } }
  /* Data Integration (UCI 2026-11-25): titles on one line and texts on five (js/fit-lines.js), so two per row below 1536px */
  @media (min-width: 1024px) and (max-width: 1535px) { .mod-services__grid--one-line > li { flex-basis: calc(50% - 0.8125rem); } }
  .mod-card { position: relative; }
  .mod-card__num { color: var(--color-text-on-dark); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
  .icon-card--fill:is(:hover, :focus-within) .mod-card__num { color: var(--color-primary); }
  @media (min-width: 1024px) { .mod-card .mod-card__title { min-height: 0; } }

  /* Four steps on the navy band: amber numbered circles joined by a thin line on desktop */
  .mod-steps { padding-block: clamp(3rem, 5vw, 4.5rem); }
  .mod-steps__head { max-width: 52rem; }
  .mod-steps__title { font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem); line-height: 1.31; }
  .mod-steps__accent { color: var(--color-cta); }
  .mod-steps__text { margin-top: 1.5rem; }
  .mod-steps__list { display: grid; gap: 2.5rem 2rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); counter-reset: none; }
  @media (min-width: 640px) { .mod-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1024px) { .mod-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .mod-step { position: relative; }
  .mod-step__num {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--color-cta);
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-cta);
    font-size: 1.5rem;
    font-weight: 700;
    transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .mod-step:hover .mod-step__num { background: var(--color-cta); color: var(--color-primary); transform: scale(1.08); }
  @media (min-width: 1024px) {
    .mod-step:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 32px;
      left: calc(64px + 1rem);
      right: -1rem;
      height: 2px;
      background: var(--color-glass-border);
    }
  }
  .mod-step__title { margin-top: 1.5rem; color: var(--color-text-on-dark); font-size: var(--fs-h3); line-height: 1.33; }
  .mod-step__text { margin-top: 0.875rem; color: var(--color-text-soft-on-dark); }
}


/* ==========================================================================
   Solutions (grant, case, asset, budget, e-procurement, permitting): Figma 1557:285 (UCI 2026-11-23).
   Hero (shared .page-hero), intro with photo + amber "Talk To An Expert" button and an "Explore our solutions" pill,
   the challenge as four navy cards in a row, the capabilities on a navy skyline photo band (six items under amber
   bars) and the four steps as a bento grid of cream cards (UCI updated the frame 2026-11-25). Measurements are Figma's at 1920 (content 275–1645). `sol-*` classes.
   ========================================================================== */
@layer pages {
  .sol-lead__title, .sol-head__title { color: var(--color-primary); font-size: clamp(1.875rem, 1.2rem + 1.3vw, 2.625rem); }   /* 42 */
  .sol-lead__title, .sol-head__title { line-height: 1.31; }   /* 42/55 */

  /* Intro: photo top 39px under the banner, heading 12px lower; pill 31px under the button */
  .sol-lead { padding-block: clamp(2rem, 2.03vw, 2.4375rem) 0; overflow-x: clip; }   /* clip the photo's slide-in offset, as .hhs-intro */
  .sol-lead__grid { display: grid; gap: 2rem; }
  .sol-lead__copy { padding-top: 0.75rem; }
  .sol-lead__title { max-width: 42.625rem; }                                          /* 682px */
  .sol-lead__text { max-width: 36.6875rem; margin-top: 2rem; }                        /* 587px, 18/32 */
  .sol-lead__media { position: relative; justify-self: start; width: min(100%, 27.8125rem); padding-bottom: 27px; }   /* 445px */
  .sol-lead__img { width: 100%; height: auto; aspect-ratio: 445 / 372; object-fit: cover; border-radius: var(--radius-card); }
  .sol-lead__expert {
    position: absolute;
    left: clamp(-55px, -2.86vw, -1rem);
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.0625rem;
    width: min(17rem, 100%);                                                          /* 272 × 62 */
    min-height: 62px;
    padding-inline: 1rem;
    border-radius: var(--radius-card);
    background: var(--color-cta);
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .sol-lead__expert img { width: 31px; height: auto; transition: transform var(--dur-base) var(--ease-out); }
  .sol-lead__expert:hover, .sol-lead__expert:focus-visible { background: var(--color-cta-hover); transform: translateY(-3px); }
  .sol-lead__expert:hover img, .sol-lead__expert:focus-visible img { transform: translateX(5px); }
  @media (max-width: 1023px) { .sol-lead__expert { left: 1rem; } }
  .sol-lead__explore {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 227px;
    min-height: 45px;
    padding-inline: 1.375rem;
    border: 2px solid var(--color-cta);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--dur-base) var(--ease-out);
  }
  .sol-lead__explore:hover, .sol-lead__explore:focus-visible { background: var(--color-cta); }
  @media (min-width: 1024px) {
    .sol-lead__grid { grid-template-columns: minmax(0, 42.625rem) 27.8125rem; justify-content: space-between; row-gap: 1.9375rem; }
    .sol-lead__media { justify-self: end; }
  }

  /* Section heads: title 42/55, text 18/32 32px below (925px). Figma highlights one phrase in green. */
  .sol-head__title--narrow { max-width: 41.875rem; }                                  /* 670px: 2 lines */
  .sol-head__title--steps { max-width: 43.375rem; }                                   /* 694px */
  .sol-head__text { max-width: 57.8125rem; margin-top: 2rem; }

  /* The challenge (Figma 1567:2–20): 32px under the pill; four navy cards 51px under the text, 333 × 412 with 13px
     gaps. Title 24/32 white, 2 lines; text 18/32 white 22px below. */
  .sol-issues { padding-block: 2rem 0; }
  .sol-issues__grid { display: grid; gap: 0.8125rem; margin-top: clamp(2rem, 2.66vw, 3.1875rem); }
  @media (min-width: 640px) { .sol-issues__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* four in a row from 1536px; below that two per row, so every text fits its 6 lines at full size */
  @media (min-width: 1536px) { .sol-issues__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .sol-issue {
    padding: 2.75rem 1.25rem 2rem 1.5625rem;                                           /* title 44px down, 25px in */
    border-radius: var(--radius-card);
    background: var(--color-primary);
    color: var(--color-text-on-dark);
  }
  .sol-issue__title { color: var(--color-text-on-dark); font-size: clamp(1.25rem, 1.05rem + 0.4vw, 1.5rem); line-height: 1.33; }   /* 24/32 */
  .sol-issue__text { margin-top: 1.375rem; color: var(--color-text-on-dark); }      /* 18/32 */
  /* From 1024px js/fit-lines.js sets each title to 2 lines and each text to 6 (UCI 2026-11-25), as data-lines says */
  @media (min-width: 1536px) { .sol-issue { min-height: clamp(20rem, 21.46vw, 25.75rem); } }   /* 412px */

  /* Capabilities band (Figma 1579:34): full width, 866px at 1920, 54px under the cards. Skyline photo at 20% under
     the navy multiply overlay; amber heading, white text, six items in three columns (276 / 716 / 1177), each under a
     51 × 5 amber bar; title 27/40 white 2 lines, text 16/32 white. */
  .sol-band { margin-top: clamp(2.5rem, 2.8vw, 3.375rem); padding-block: clamp(2.5rem, 3.125vw, 3.75rem) clamp(2.5rem, 2.8vw, 3.375rem); background: var(--color-page); }
  .sol-band .band__bg { opacity: 0.2; }
  .sol-band__title { color: var(--color-cta); font-size: clamp(1.875rem, 1.2rem + 1.3vw, 2.625rem); line-height: 1.31; }   /* 42 */
  .sol-band__text { max-width: 80.375rem; margin-top: 2rem; color: var(--color-text-on-dark); }   /* 1286px, 18/32 */
  .sol-band__grid { display: grid; gap: 2.5rem 2rem; margin-top: 2.5rem; }
  @media (min-width: 640px) { .sol-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1280px) { .sol-band__grid { grid-template-columns: 440fr 461fr 468fr; column-gap: 0; } }
  .sol-band__item { position: relative; padding-top: 1.6875rem; padding-right: 1.5rem; }   /* title 22px under the bar */
  .sol-band__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 51px;
    height: 5px;
    background: var(--color-cta);
    transform-origin: 0 50%;
    transition: transform var(--dur-base) var(--ease-out);
  }
  .sol-band__item:hover::before { transform: scaleX(1.6); }
  .sol-band__item-title { max-width: 21.625rem; color: var(--color-text-on-dark); font-size: clamp(1.375rem, 1.1rem + 0.55vw, 1.6875rem); line-height: 1.48; }   /* 27/40; Figma 299px boxes, widened to 346px so longer titles stay on 2 lines */
  .sol-band__item-text { max-width: 21.625rem; margin-top: 1.0625rem; color: var(--color-text-on-dark); font-size: 1rem; line-height: 2; }   /* 16/32, 346px */
  @media (min-width: 1280px) {
    /* js/fit-lines.js sets each title to 2 lines and each text to 4 from 1024px (UCI 2026-11-25) */
  }

  /* Stages (Figma 1579:35–38): heading 54px under the band, bento 32px under the text: tall card 370 (step 1) |
     wide card 956 (step 2) over two 457s (steps 3 and 4; UCI wants them in order), 43px / 20px gaps, 54px above the footer.
     Cream cards, 20px corners, panel shadow; they lift on hover. */
  .sol-steps { padding-block: clamp(2.5rem, 2.8vw, 3.375rem); }
  .sol-bento__grid { display: grid; gap: 1.125rem; margin-top: 2rem; }
  .sol-bento__card { padding: 1.5rem 1.5rem 1.75rem; border-radius: var(--radius-card); background: var(--color-faq); box-shadow: var(--shadow-panel); }
  .sol-bento__title { color: var(--color-primary); font-size: clamp(1.25rem, 1.05rem + 0.4vw, 1.5rem); line-height: 1.33; }   /* 24/32 */
  .sol-bento__text { margin-top: 0.75rem; color: var(--color-text); }              /* 18/32 */
  :is(.sol-bento__card--4, .sol-bento__card--2) .sol-bento__title { font-size: clamp(1.3125rem, 1.05rem + 0.55vw, 1.625rem); line-height: 1.54; }   /* 26/40 */
  .sol-bento__card--2 .sol-bento__text { line-height: 2.06; }                         /* 18/37 */
  .sol-bento__card--4 .sol-bento__text { font-size: clamp(1.125rem, 1rem + 0.2vw, 1.25rem); line-height: 1.85; }        /* 20/37 */
  @media (min-width: 640px) { .sol-bento__grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1280px) {
    .sol-bento__grid {
      grid-template-columns: 370fr 457fr 457fr;
      grid-template-areas: "tall wide wide" "tall left right";
      gap: 1.25rem clamp(1.5rem, 2.24vw, 2.6875rem);
    }
    .sol-bento__card { padding: 1.75rem 2rem 1.5rem; }
    .sol-bento__card--1 { grid-area: wide; padding-top: 1.5rem; }
    .sol-bento__card--2 { grid-area: left; }
    .sol-bento__card--3 { grid-area: right; }
    .sol-bento__card--4 { grid-area: tall; padding-top: 1.9375rem; }
    .sol-bento__card--1 .sol-bento__text { max-width: 35.8125rem; }                  /* 573px */
    .sol-bento__card--2 .sol-bento__text { max-width: 21.0625rem; margin-top: 0.5625rem; }   /* 337px */
    .sol-bento__card--3 .sol-bento__text { max-width: 23.4375rem; }                  /* 375px */
    .sol-bento__card--4 .sol-bento__title { max-width: 15rem; }                      /* Figma 180px; 240px keeps longer step names to 2 lines */
    .sol-bento__card--4 .sol-bento__text { max-width: 18.625rem; margin-top: 2.6875rem; }   /* 298px, 43px below */
  }
}
