/* ============================================================
   DataOps — shared design system
   Spec: "The PwC Web Experience" (Jackie, 2026-08-04) — a calm,
   editorial magazine on bright white paper. Almost nothing moves
   until touched; every hover changes exactly ONE property.
   DataOps orange (#ED7D31) plays the role of PwC's orange:
   scarce, mostly discovered through interaction.
   Litmus: scroll fast — only the sticky hero image may "move".
   Hover anything — exactly one property changes.
   ============================================================ */

:root {
  /* Neutrals — the real palette */
  --white:      #FFFFFF;   /* every section background */
  --black:      #000000;   /* headlines */
  --charcoal:   #2D2D2D;   /* body copy */
  --gray-dark:  #464646;   /* secondary text */
  --gray-mid:   #6E6D72;   /* muted labels, metadata */
  --line:       #DEDEDE;   /* hairline dividers */
  --tile:       #F2F2F2;   /* link-grid tile background (warm) */
  --card:       #F5F7F8;   /* content card background (cool) */

  /* DataOps accent — scarce by design */
  --orange:     #ED7D31;   /* hover color, micro-accents */
  --rust:       #C05F14;   /* primary button hover darken */
  --peach:      #F4A574;   /* soft highlight, small doses */

  --serif: "Fraunces", "Charter", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1280px;                     /* B4 container cap */
  --gutter: clamp(20px, 4vw, 60px);   /* generous air at every width —
                                         15px felt cramped, Jackie confirmed */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* NO smooth scroll theatrics; PwC pages jump like paper */
html { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Micro-details: focus mirrors hover; selection in brand ------- */
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Skip link — first focusable element, PwC-style */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--black); color: var(--white);
  padding: 10px 18px; z-index: 100; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* .reveal is retired: everything is rendered and waiting. */
.reveal { opacity: 1; transform: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* B1 — the slow orange underline: every text link draws its underline
   left-to-right over 0.45s. The one sanctioned two-property hover
   (underline + color shift together). Focus mirrors hover. */
p a, .faq a, .footer-col a, .footer-bottom a, .crumb a, .testi a {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.45s ease, color 0.45s ease;
}
p a:hover, .crumb a:hover, .footer-col a:hover, .footer-bottom a:hover, .faq a:hover, .testi a:hover,
p a:focus-visible, .crumb a:focus-visible, .footer-col a:focus-visible, .footer-bottom a:focus-visible {
  color: var(--orange);
  background-size: 100% 2px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  p a, .crumb a, .footer-col a, .footer-bottom a, .faq a, .testi a { transition: none; }
  .hero-enter { transition: none; opacity: 1; }
}

/* B2 — decorative geometry: a flat block peeking out on two adjacent
   sides behind an image. Grey is the workhorse; peach occasional;
   orange max 1–2 per page. Blocks are furniture: they never move,
   never touch text, never cause horizontal scroll. */
.img-frame { position: relative; }
.img-frame::before {
  content: "";
  position: absolute;
  top: -24px; right: -24px;
  width: 55%; height: 70%;
  background: var(--tile);
  z-index: 0;
}
.img-frame > img { position: relative; z-index: 1; display: block; width: 100%; }
.img-frame.frame-peach::before { background: var(--peach); }
.img-frame.frame-orange::before { background: var(--orange); }
.img-frame.frame-bl::before { top: auto; right: auto; bottom: -24px; left: -24px; }
section:has(.img-frame), .hero { overflow-x: clip; }
@media (max-width: 768px) {
  .img-frame::before { top: -10px; right: -10px; width: 45%; height: 55%; }
  .img-frame.frame-bl::before { top: auto; right: auto; bottom: -10px; left: -10px; }
}

/* Grey band sections — the alternating white/#F2F2F2 rhythm.
   Tiles and cards inside a grey band flip to white so they stay legible. */
.band-grey { background: var(--tile); }
/* background-color, NOT the background shorthand: the shorthand would
   erase the tiles' hover wash layer (this is exactly what silently
   killed the orange hover on the governing-principle steps). */
.band-grey .service, .band-grey .offer, .band-grey .step { background-color: var(--white); }
.band-grey .service .caps span { background: var(--tile); }
.band-grey .case, .band-grey .testi { background: var(--white); }
/* .dark appears later in this file and would otherwise win the background
   tie on sections tagged "dark band-grey" (index #approach, careers #roles).
   The compound selector has higher specificity, so the grey band renders. */
.dark.band-grey { background: var(--tile); }

/* Eyebrow — quiet sentence-case lead. Gray, not orange:
   color is a response, not a decoration. */
.eyebrow {
  font-size: 14px; font-weight: 600;
  letter-spacing: .01em;
  color: var(--gray-dark);
  display: inline-block;
}
.sec-idx { display: none; }

/* --- Top bar retired per Jackie (2026-08-04): the orange line at the
   very top didn't feel right. Accent expression stays under review. */
.topbar { display: none; }

header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
header.scrolled { box-shadow: none; } /* PwC: shadowless */
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; list-style: none; font-size: 14px; color: var(--charcoal); }
.nav-links a { position: relative; padding-block: 20px; }
/* The classic underline-bar hover: a bar appears, nothing else changes */
.nav-links a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px;
  height: 4px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::before, .nav-links a:focus-visible::before { transform: scaleX(1); }
.nav-cta {
  font-size: 13.5px; font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--black);
  color: var(--black);
  transition: color 0s;
}
.nav-cta:hover, .nav-cta:focus-visible { color: var(--orange); border-color: var(--orange); }
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--black); }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }

  /* Working mobile menu: hamburger opens a full-width white panel
     under the header. One calm column, 44px+ touch targets. */
  header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    gap: 0;
  }
  header.menu-open .nav-links a {
    display: block;
    padding-block: 14px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  header.menu-open .nav-links li:last-child a { border-bottom: 0; }
  header.menu-open .nav-links a::before { content: none; }
}

/* Breadcrumb bar: directly under the logo on every interior page,
   left-aligned with the container so it shares the header's box. */
.crumb-bar { background: var(--white); }
.crumb {
  font-size: 12.6px; color: var(--gray-mid);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding-block: 12px 0;
}
.crumb .sep { color: var(--gray-mid); }
.crumb a:hover, .crumb a:focus-visible { color: var(--orange); }

/* --- HERO: the superhero component --------------------------------
   White page. Serif statement left (~48%), full-bleed photo right
   (~56%), columns overlapping ~80px, image sticky while the page
   slides over it. Load = one soft 0.5s fade, the page's ONLY
   entrance animation. --------------------------------------------- */
.hero {
  background: var(--white);
  color: var(--charcoal);
  position: relative;
  padding: 0;
  overflow: visible;
}
.hero::before { content: none; }
.hero .crumb { padding-top: 22px; }

.hero-grid {
  display: grid;
  grid-template-columns: 48% 56%;   /* sums >100%: the overlap */
  width: 100%;
  max-width: none;
  padding: 0;
  align-items: start;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  position: relative;
  background: var(--white);
  padding: clamp(48px, 8vh, 96px) 48px;
  /* Align the hero text with the centered content container, not the
     viewport edge — on wide screens text was drifting way too far left. */
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  align-self: center;
}
/* The seam marker: a slim peach sliver just beyond the panel's right
   edge, inset from its corners. It signals "this white card is layered
   over the photo" instead of the photo just looking cropped. */
.hero-copy::after {
  content: "";
  position: absolute;
  top: 48px; bottom: 48px;
  right: -14px; width: 14px;
  background: var(--peach);
}
@media (max-width: 1023px) { .hero-copy::after { content: none; } }
.hero-photo, .hero-asset {
  grid-column: 2;
  grid-row: 1;
  margin-left: -80px;                /* the ~80px overlap */
  position: sticky; top: 0;          /* the signature move */
  height: min(640px, 82vh);
  z-index: 1;
}
.hero-photo img, .hero-asset img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: none;                       /* photography carries the color */
}
.hero-photo::after { content: none; } /* no frames, no keylines */

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;                   /* regular, never bold */
  font-size: clamp(40px, 4.5vw, 55px); /* B5: 40 mobile ↔ 55 desktop */
  line-height: 1.18;                  /* 55/65 */
  overflow-wrap: break-word;
  letter-spacing: -.01em;
  color: var(--black);
  max-width: 17ch;
  margin-top: 20px;
}
.hero h1 em { font-style: italic; color: var(--orange); } /* the one static accent */
.hero .lede {
  font-size: 16px; font-weight: 400;
  color: var(--charcoal); max-width: 52ch;
  margin-top: 24px; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Load choreography: soft breath in, hero only */
.hero-enter { opacity: 0; transition: opacity 0.5s ease-in-out; }
.hero-enter.show { opacity: 1; }

/* Hero variants 2 & 3 — flat statement bands for product pages.
   Orange band: near-black serif on #D04A02. Charcoal band: white serif. */
.hero-band { padding: clamp(72px, 12vh, 140px) 0; }
.hero-band h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.15; letter-spacing: -.01em;
  max-width: 18ch; margin-top: 18px;
  overflow-wrap: break-word;
}
.hero-band .lede { font-size: 16px; max-width: 54ch; margin-top: 24px; line-height: 1.65; }
.hero-band.hb-orange { background: #D04A02; }
.hero-band.hb-orange, .hero-band.hb-orange h1 { color: #2D2D2D; }
.hero-band.hb-orange .eyebrow { color: #2D2D2D; }
.hero-band.hb-charcoal { background: #464646; }
.hero-band.hb-charcoal, .hero-band.hb-charcoal h1, .hero-band.hb-charcoal .eyebrow { color: var(--white); }
.hero-band.hb-charcoal .lede { color: rgba(255,255,255,.85); }
.hero-band .btn-ghost { border-color: currentColor; color: inherit; }

/* B5: the split hero (sticky + overlap) exists ONLY at ≥1024px.
   Below that: one calm column, image first. */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; grid-row: 2; padding-inline: var(--gutter); }
  .hero-photo, .hero-asset {
    grid-column: 1; grid-row: 1;
    margin-left: 0; position: static; height: min(52vw, 420px);
  }
}

/* --- Buttons: rectangular, one-property hovers ---------------------- */
.btn {
  font-size: 15px; font-weight: 500;
  padding: 14px 28px;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; border: 1px solid transparent;
  font-family: var(--sans);
  transition: background-color .25s ease, color 0s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--rust); } /* darken only */
.btn-ghost { border-color: var(--black); color: var(--black); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--orange); border-color: var(--orange); }
/* Arrows travel on CTA links, not on buttons */
.btn .arrow { transition: none; }
.btn:hover .arrow { transform: none; }

/* --- Section scaffolding: white paper, generous air ------------------
   B4: 8px spacing scale — 96px desktop / 48px mobile section padding. */
section { padding: 96px 0; background: var(--white); }
@media (max-width: 767px) { section { padding: 48px 0; } }
.section-head { max-width: 68ch; margin-bottom: 48px; }
/* H2s switch to the bold sans presenter voice: 34/44 */
.section-head h2, section > .wrap > h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--black);
  margin-top: 14px;
  max-width: none;
}
.section-head p { font-size: 16px; color: var(--gray-dark); margin-top: 16px; max-width: 60ch; }

/* Full-bleed image breath: a paragraph break made of photography.
   The image arrives via an inline background-image on the element —
   NOT a CSS variable, because url() inside a custom property resolves
   against the stylesheet folder in Chromium (assets/assets/… 404s). */
.breath {
  height: clamp(300px, 44vh, 440px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Video breath: same full-bleed rest moment, but a muted ambient loop.
   A deliberate exception to the "nothing moves on scroll" law, approved
   by Jacqueline for the ad loops (2026-08-04). */
.breath-video {
  position: relative; overflow: hidden;
  height: auto; min-height: clamp(300px, 44vh, 440px);
  display: flex; align-items: center;
}
.breath-video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* crop-top variant (supply chain ad): taller band with the crop biased
   toward the top of the frame so people's heads stay in view; 25%
   (not 0%) skips the letterbox bar baked into the ad. */
.breath-video.crop-top { min-height: clamp(340px, 56vh, 560px); }
.breath-video.crop-top video { object-position: 50% 25%; }
/* Messaging over the loop lives on a flat white panel, never on raw
   footage, so it reads at any frame of the video. */
.breath-video .video-overlay { position: relative; z-index: 1; width: 100%; padding-block: 48px; }
.video-panel { background: var(--white); max-width: 560px; padding: 28px 32px; }
.video-panel h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25;
  color: var(--black);
}
.video-panel p { font-size: 14.5px; color: var(--charcoal); margin-top: 12px; max-width: 52ch; }
@media (max-width: 640px) {
  .breath-video .video-overlay { padding-block: 32px; }
  .video-panel { padding: 20px 22px; }
}
/* The message panel appears when the cursor is over the video and
   slides away when it leaves: motion because of the user, never to the
   user. Touch devices have no hover, so they get a static panel; so do
   visitors who prefer reduced motion. */
@media (hover: hover) {
  .breath-video .video-panel {
    transform: translateX(calc(-100% - 50vw));
    /* A long deceleration curve: the panel arrives fast and settles
       gently, which reads as a soft glide rather than a mechanical slide. */
    transition: transform .8s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .breath-video:hover .video-panel { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .breath-video .video-panel { transform: none !important; transition: none !important; }
}

/* --- Stats band ------------------------------------------------------- */
.stats { border-block: 1px solid var(--line); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 40px; }
.stat .num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1; letter-spacing: -.01em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.stat .num span { color: var(--orange); } /* micro-accent, small doses */
.stat .label { font-size: 13px; color: var(--gray-mid); margin-top: 12px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 0; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 26px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --- Services / accelerators: flat warm-gray tiles ---------------------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border: 0; }
.service {
  background: var(--tile);
  padding: 20px 20px 28px;
  border: 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.service:nth-child(odd), .service:nth-child(even) { border: 0; padding: 20px 20px 28px; }
.service:hover { background: var(--tile); } /* tiles do not react; their links do */
.service .idx { font-family: var(--serif); font-size: 15px; color: var(--gray-mid); margin-bottom: 12px; }
.service .thumb {
  width: calc(100% + 40px);
  margin: 0 -20px 18px;               /* bleed to the side edges only —
                                         never up over the index number */
  aspect-ratio: 16 / 9; object-fit: cover; display: block;
  filter: none;
}
.service h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 19px; line-height: 1.3; color: var(--black);
}
.service p { color: var(--charcoal); font-size: 15px; margin-top: 10px; line-height: 1.6; }
.service .more {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--black);
}
.service .more { transition: color .25s ease; }
.service .more .arrow { transition: transform .25s ease; }
.service .more:hover .arrow { transform: translateX(10px); }
.service .more:hover, .service .more:focus-visible { color: var(--orange); }
/* Any arrow link shares the gesture: text warms orange, arrow travels */
.more:hover, .more-link:hover, .more:focus-visible, .more-link:focus-visible { color: var(--orange); }
.more:hover .arrow, .more-link:hover .arrow { transform: translateX(10px); }
.more, .more-link { transition: color .25s ease; }
.more .arrow, .more-link .arrow { transition: transform .25s ease; display: inline-block; }
/* "View all" arrow links that live outside a .service tile (section heads,
   the results link-tile, standalone strips). Same arrow-travel hover as tile
   links so the whole site speaks one gesture. */
.section-head .more, .case .more, .offer .more, .more-link {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--black);
}
.section-head .more .arrow, .case .more .arrow, .more-link .arrow { transition: transform .25s ease; }
.section-head .more:hover .arrow, .more-link:hover .arrow,
a.case:hover .more .arrow { transform: translateX(10px); }
.service .caps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service .caps span {
  font-size: 12px; color: var(--gray-dark);
  border: 1px solid var(--line);
  padding: 4px 10px; background: var(--white);
}
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- Typographic pull-quote (replaces the gray-scrim photo band on
   statement moments): white paper, hairlines, one enormous orange
   quotation mark. Pops through type and color, not overlays. */
.pull-quote {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: clamp(64px, 9vh, 96px) 0;
}
.pull-quote blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.3; letter-spacing: -.01em;
  color: var(--black);
  max-width: 28ch;
  position: relative;
  padding-left: clamp(56px, 7vw, 96px);
}
.pull-quote blockquote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: clamp(110px, 12vw, 170px);
  line-height: 0;
  color: var(--orange);
  position: absolute; left: 0; top: .38em;
}
.pull-quote blockquote em { font-style: italic; color: var(--orange); }
.pull-quote .attrib {
  display: block; margin-top: 26px;
  font-family: var(--sans); font-size: 13px;
  color: var(--gray-mid);
}

/* --- Statement band with photo: calm, editorial ------------------------- */
.photo-band {
  position: relative; min-height: 400px;
  display: flex; align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Legibility scrim lives here; the photo arrives inline on the element */
.photo-band::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.photo-band .wrap { position: relative; }
.photo-band blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3; letter-spacing: -.01em;
  color: var(--white); max-width: 32ch;
  padding-block: 72px;
}
.photo-band blockquote em { font-style: italic; color: var(--peach); }
.photo-band .attrib {
  display: block; margin-top: 22px;
  font-family: var(--sans); font-size: 12.6px;
  color: rgba(255,255,255,.75);
}

/* --- "dark" sections are retired: white paper everywhere ----------------- */
.dark { background: var(--white); color: var(--charcoal); }
.dark .eyebrow { color: var(--gray-dark); }
.dark .section-head h2, .dark h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.3; letter-spacing: -.01em;
  color: var(--black); max-width: 30ch; margin-top: 14px;
}
.dark .section-head p { color: var(--gray-dark); }

.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 56px; }
.step {
  background: var(--tile); padding: 20px 20px 26px;
  /* Hover: an orange wash sweeps across the tile left-to-right, the same
     gesture as the framework tier rows. Strong enough that the whole tile
     clearly reads as an orange box (Jackie asked to make it visible). */
  background-image: linear-gradient(rgba(237,125,49,.18), rgba(237,125,49,.18));
  background-size: 0% 100%;
  background-position: left;
  background-repeat: no-repeat;
  transition: background-size .35s ease;
}
.step:hover { background-size: 100% 100%; }
.step .step-num {
  font-family: var(--serif); font-size: 14px; color: var(--gray-mid);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  display: block;
}
.step h4 { font-family: var(--sans); font-weight: 700; font-size: 17px; margin-top: 16px; color: var(--black); }
.step p { color: var(--charcoal); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 1000px) { .approach-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .approach-steps { grid-template-columns: 1fr; } }

.pain-list { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.pain {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--charcoal);
}
.pain .x { color: var(--orange); font-weight: 600; flex-shrink: 0; }
@media (max-width: 800px) { .pain-list { grid-template-columns: 1fr; } }

/* --- Case cards: cool gray, image flush, zoom-on-hover -------------------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cases-grid.two { grid-template-columns: repeat(2, 1fr); }
.case {
  background: var(--card);
  border: 0;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: none;
}
.case:hover { transform: none; box-shadow: none; }
.case .case-img {
  margin: -32px -32px 22px;
  display: block; overflow: hidden;    /* fixed frame for the zoom */
}
.case .case-img img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  filter: none;
  transition: transform .3s ease;
}
.case:hover .case-img img { transform: scale(1.03); } /* one property: the image */
.case .sector { font-size: 12.6px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gray-mid); }
.case h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--black); margin-top: 12px; }
.case p { color: var(--charcoal); font-size: 14.5px; margin-top: 12px; flex: 1; }
.case .case-stats {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.case .cs .v { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--black); font-variant-numeric: tabular-nums; }
.case .cs .v em { font-style: normal; color: var(--orange); }
.case .cs .k { font-size: 12.6px; color: var(--gray-mid); margin-top: 4px; line-height: 1.4; }
@media (max-width: 900px) { .cases-grid, .cases-grid.two { grid-template-columns: 1fr; } }

/* --- Offer tiles ------------------------------------------------------------ */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.offer {
  background: var(--tile);
  border: 0;
  padding: 20px 20px 26px;
  transition: none;
}
.offer:hover { transform: none; box-shadow: none; }
.offer .num { font-family: var(--serif); font-size: 15px; color: var(--gray-mid); }
.offer h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--black); margin-top: 12px; transition: color 0s; }
.offer:hover h3 { color: var(--orange); } /* one property: the title */
.offer p { color: var(--charcoal); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

/* --- Tier / framework rows ---------------------------------------------------- */
.tiers { border-top: 1px solid var(--line); }
.tier {
  display: grid; grid-template-columns: 90px 260px 1fr; gap: 30px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
  /* Hover: a faint orange wash sweeps left-to-right across the row,
     echoing the site's underline gesture, while the number warms up. */
  background-image: linear-gradient(rgba(237,125,49,.07), rgba(237,125,49,.07));
  background-size: 0% 100%;
  background-position: left;
  background-repeat: no-repeat;
  transition: background-size .45s ease;
}
.tier:hover { background-size: 100% 100%; }
.tier .t-num { font-family: var(--serif); font-size: 26px; color: var(--gray-mid); font-weight: 400; font-variant-numeric: tabular-nums; transition: color .45s ease; }
.tier:hover .t-num { color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .tier, .tier .t-num { transition: none; } }
.tier h4 { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--black); }
.tier p { color: var(--charcoal); font-size: 15px; }
@media (max-width: 800px) { .tier { grid-template-columns: 60px 1fr; } .tier p { grid-column: 2; } }

/* --- Industries: flat squares, hover = text to orange -------------------------- */
.industries-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  border: 1px solid var(--line);
  padding: 10px 18px; font-size: 14px; color: var(--gray-dark);
  cursor: default; transition: color 0s;
}
.chip:hover { color: var(--orange); border-color: var(--line); } /* one property */

/* --- Trust strips ---------------------------------------------------------------- */
.partners { border-block: 1px solid var(--line); background: var(--white); }
.partners .wrap { padding-block: 52px; }
.strip-label {
  text-align: center; font-size: 12.6px;
  color: var(--gray-mid); margin-bottom: 30px;
}
.partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(28px, 5vw, 60px);
}
.partner {
  font-family: var(--serif); font-size: 20px; font-weight: 400;
  color: var(--gray-mid); transition: color 0s;
}
.partner:hover { color: var(--orange); }
/* Grey monochrome partner logos — uniform height, whisper hover */
.partner-logo {
  height: 26px; width: auto; display: block;
  opacity: .8; transition: filter .25s ease, opacity .25s ease;
}
/* Hover: swap to the exact DataOps orange (#ED7D31) variant of each mark */
.partner-logo:hover { opacity: 1; }
.partners-row img[src$="openai.png"]:hover { content: url("logos/openai-orange.png"); }
.partners-row img[src$="anthropic.png"]:hover { content: url("logos/anthropic-orange.png"); }
.partners-row img[src$="snowflake.png"]:hover { content: url("logos/snowflake-orange.png"); }
.partners-row img[src$="databricks.png"]:hover { content: url("logos/databricks-orange.png"); }
.partners-row img[src$="googlecloud.png"]:hover { content: url("logos/googlecloud-orange.png"); }
.partners-row img[src$="aws.png"]:hover { content: url("logos/aws-orange.png"); }
.partners-row img[src$="azure.png"]:hover { content: url("logos/azure-orange.png"); }
@media (max-width: 640px) { .partner-logo { height: 20px; } }
.alumni-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 32px; max-width: 980px; margin: 0 auto;
}
.alumni-row span { font-size: 12.6px; font-weight: 500; color: var(--gray-mid); }

/* --- Testimonials ------------------------------------------------------------------ */
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.testi { background: var(--card); border: 0; padding: 34px 32px; position: relative; }
.testi::before {
  content: "\201C";
  font-family: var(--serif); font-size: 56px; line-height: 0;
  color: var(--orange); position: absolute; top: 40px; left: 28px;
}
.testi blockquote {
  font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.55;
  color: var(--black); padding-left: 26px;
}
.testi .who { padding-left: 26px; margin-top: 20px; font-size: 12.6px; color: var(--gray-mid); }
.testi .who strong { color: var(--black); font-weight: 600; display: block; font-size: 13.5px; }
@media (max-width: 860px) { .testis { grid-template-columns: 1fr; } }

/* --- FAQ ------------------------------------------------------------------------------ */
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--sans); font-weight: 700; font-size: 18px;
  color: var(--black);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color 0s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange); } /* one property */
.faq summary .plus { color: var(--gray-mid); font-size: 24px; line-height: 1; transition: transform .25s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--charcoal); font-size: 15px; margin-top: 14px; max-width: 72ch; }

/* --- Contact form: light, on white ---------------------------------------------------- */
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; max-width: 760px; margin: 44px auto 0;
  text-align: left;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  display: block; font-size: 12.6px; font-weight: 600;
  color: var(--gray-dark); margin-bottom: 6px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans); font-size: 15px;
  transition: border-color 0s;
}
.contact-form ::placeholder { color: var(--gray-mid); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; } }

/* --- Insights articles: long editorial titles at a calmer size, wrapped
   in balanced lines instead of orphaning the last word. ------------------ */
.article-hero h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  text-wrap: balance;
  max-width: 26ch;
}
/* Core takeaways: a flat grey summary tile at the top of every post */
.takeaways { background: var(--tile); padding: 24px 28px; margin-bottom: 40px; }
.takeaways h2 { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--black); }
.takeaways ul { margin: 12px 0 0 18px; padding: 0; }
.takeaways li { font-size: 15px; color: var(--charcoal); margin-top: 8px; line-height: 1.55; }
/* Reference links inside article prose share the slow orange underline */
.article-body a {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.45s ease, color 0.45s ease;
}
.article-body a:hover, .article-body a:focus-visible { color: var(--orange); background-size: 100% 2px; }

/* --- Partners contact: two named people, PwC-style "real humans, not a
   faceless form". Flat tiles, slow-underline links. ---------------------- */
.partners-contact-head { max-width: 760px; margin: 64px auto 0; }
.partners-contact-head h2 { margin-top: 10px; }
.partners-contact {
  max-width: 760px; margin: 28px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pc-card {
  background: var(--tile); padding: 0;
  display: flex; gap: 20px; align-items: stretch;
}
/* Headshot fills the card's full left edge, flush to the tile. */
.pc-card .pc-photo {
  width: 116px; flex-shrink: 0; align-self: stretch;
  object-fit: cover; object-position: 50% 25%;
}
.pc-card .pc-info { padding: 20px 24px 20px 0; }
.pc-card h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; color: var(--black); }
.pc-card .pc-role { font-size: 13.5px; color: var(--gray-mid); margin-top: 2px; }
.pc-card .pc-link svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 8px; fill: currentColor; }
.pc-card .pc-link {
  display: table; margin-top: 10px;
  font-size: 14px; color: var(--charcoal);
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.45s ease, color 0.45s ease;
}
.pc-card .pc-link:hover, .pc-card .pc-link:focus-visible {
  color: var(--orange);
  background-size: 100% 2px;
}
@media (max-width: 640px) { .partners-contact { grid-template-columns: 1fr; } }

/* --- CTA: a calm closing statement on white -------------------------------------------- */
.cta {
  background: var(--white);
  color: var(--charcoal);
  text-align: left;               /* PwC never centers hero text */
  border-top: 1px solid var(--line);
}
.cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2; letter-spacing: -.01em;
  color: var(--black);
  max-width: 24ch; margin: 16px 0 0;
}
.cta > .wrap > p { color: var(--gray-dark); font-size: 16px; margin: 20px 0 0; max-width: 52ch; }
.cta .eyebrow { justify-content: flex-start !important; }
.cta .hero-actions { justify-content: flex-start; margin-top: 34px; }
.cta .btn-ghost { border-color: var(--black); color: var(--black); }
.cta .btn-ghost:hover { color: var(--orange); border-color: var(--orange); }
.cta .contact-form { margin-inline: 0; }

/* --- Footer: the one dark surface, closing the page like a book cover ------------------- */
footer { background: var(--black); color: #B9B6B1; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px; padding-block: 60px 40px;
}
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 30ch; line-height: 1.6; }
.footer-col h5 {
  color: var(--white); font-size: 12.6px;
  margin-bottom: 16px; font-weight: 700;
}
.footer-col a { display: block; font-size: 14px; margin-bottom: 11px; }
.footer-badge img { height: 60px; width: auto; margin-top: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.6px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Download gate: info required before a resource releases ---------- */
.gate-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.gate-overlay.open { display: flex; }
.gate-card {
  background: var(--white); max-width: 440px; width: 100%;
  padding: 36px 32px;
}
.gate-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--black); }
.gate-card p { font-size: 14px; color: var(--gray-dark); margin-top: 10px; }
.gate-card form { display: grid; gap: 12px; margin-top: 22px; }
.gate-card label { font-size: 12.6px; font-weight: 600; color: var(--gray-dark); }
.gate-card input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  font-family: var(--sans); font-size: 15px; color: var(--charcoal);
}
.gate-card input:focus { outline: none; border-color: var(--orange); }
.gate-card .gate-close { background: none; border: 0; font-size: 20px; cursor: pointer; float: right; color: var(--gray-mid); }

/* --- Cookie notice: fixed to the bottom, flat and sharp like everything
   else. Shown until a choice is stored; reopenable from the footer. ---- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: none;
}
.cookie-banner.open { display: block; }
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-block: 20px;
}
.cookie-copy { max-width: 62ch; }
.cookie-copy h3 { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--black); }
.cookie-copy p { font-size: 13.5px; color: var(--gray-dark); margin-top: 6px; line-height: 1.5; }
.cookie-copy a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-copy a:hover, .cookie-copy a:focus-visible { color: var(--orange); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { font-size: 13.5px; padding: 11px 20px; cursor: pointer; }
.cookie-btn-ghost {
  background: var(--white); border: 1px solid var(--black); color: var(--black);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 11px 20px; cursor: pointer; transition: color 0s;
}
.cookie-btn-ghost:hover, .cookie-btn-ghost:focus-visible { color: var(--orange); border-color: var(--orange); }
/* Customize panel: three plain rows, necessary locked on */
.cookie-prefs { display: none; border-top: 1px solid var(--line); padding-block: 16px 20px; }
.cookie-banner.customizing .cookie-prefs { display: block; }
.cookie-pref { display: flex; gap: 12px; align-items: baseline; padding-block: 8px; }
.cookie-pref input { accent-color: var(--orange); }
.cookie-pref .k { font-size: 14px; font-weight: 600; color: var(--black); }
.cookie-pref .d { font-size: 13px; color: var(--gray-dark); }
.cookie-prefs .cookie-btn-ghost { margin-top: 12px; }
/* Reopen control in the footer legal row: styled as a link, works as a button */
.cookie-reopen {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit;
}
.cookie-reopen:hover, .cookie-reopen:focus-visible { color: var(--white); }
@media (max-width: 640px) {
  .cookie-inner { padding-block: 16px; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn, .cookie-actions .cookie-btn-ghost { flex: 1 1 auto; text-align: center; }
}

/* --- Section outline rail: on long pages, a quiet column of squares on
   the right tracks where you are and jumps to a section on click. The
   active square is the page's one orange response; the rest stay grey.
   Desktop-only: on smaller screens it would crowd the content column. */
.outline-rail {
  position: fixed; right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; gap: 14px;
  /* A near-white plate with a hairline keeps the squares legible when
     the rail floats over dark bands or full-bleed photos. */
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  padding: 12px 10px;
}
.outline-rail button {
  position: relative;
  width: 10px; height: 10px;
  padding: 0; border: 0; cursor: pointer;
  background: var(--line);
  transition: background .3s ease;   /* one property: the fill */
}
.outline-rail button:hover,
.outline-rail button:focus-visible,
.outline-rail button.active { background: var(--orange); }
/* Section name appears to the left of the square on hover/focus */
.outline-rail button .tip {
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--charcoal);
  font-family: var(--sans); font-size: 12.6px; font-weight: 500;
  padding: 6px 12px; white-space: nowrap;
  display: none;
}
.outline-rail button:hover .tip,
.outline-rail button:focus-visible .tip { display: block; }
@media (max-width: 1180px) { .outline-rail { display: none; } }
