/* ============================================
   CASE STUDY STYLES
   Wired into the global design system (style.css).
   All colour, spacing, type and width values come
   from tokens. No magic numbers, no negative-margin
   hacks. Per-case accent set via .cs-page--* below.
   ============================================ */

/* ── PER-CASE ACCENT PALETTE ──
   style.css exposes --case-accent for exactly this. */
.cs-page--natwest {
  --case-accent:         #42145F;  /* Tyl purple (cards) */
  --case-accent-deep:    #1E0630;  /* dark base behind hero */
  --case-accent-soft:    #C084FC;  /* light purple detail */
  --case-accent-section: #3C1053;  /* dark purple section background (Workshop 2) */
}

.cs-page--smoothwall {
  --case-accent:         #013C5A;  /* Smoothwall navy */
  --case-accent-deep:    #00243A;  /* deeper navy behind hero */
  --case-accent-soft:    #03A19C;  /* Smoothwall teal accent — the only turquoise in this case study */
  --case-accent-section: #012E47;  /* dark navy section background */
  --case-accent-discover: #01283B; /* darker navy — Discover phase sections */
  /* All content sits on one uniform 1100px max width for this case study
     (the wide split/band sections and the reading column all match). */
  --case-study-width: var(--max-width);
}

/* Body copy fills the full 1100 column here rather than sitting in a narrower
   reading measure, so every section's content spans the same width. */
.cs-page--smoothwall .disc__body,
.cs-page--smoothwall .intro__body {
  max-width: none;
}

/* ── SHARED SECTION SHELL ──
   SECTION RHYTHM RULE (Webflow-style): every content section is
   self-contained with EVEN vertical padding from a single token,
   --section-padding-v (80px desktop / 60px mobile). Never add extra
   top/bottom padding to inner wrappers and never let content bleed
   across a section boundary. Keep spacing even, top and bottom. */
.cs-section {
  padding-block: var(--section-padding-v);
  padding-inline: var(--section-padding-h);
}
.cs-section--cream      { background: var(--cream); }
.cs-section--warm-white { background: var(--warm-white); }
.cs-section--navy       { background: var(--navy); color: var(--cream); }
.cs-section--purple { background: var(--case-accent-section); color: var(--cream); }

/* Dark purple section: flip content text to light (cards keep their own colours) */
.cs-section--purple .disc__heading,
.cs-section--purple .disc__sub-heading,
.cs-section--purple .persona__heading { color: var(--cream); }
.cs-section--purple .disc__body    { color: var(--cream); opacity: 0.82; }
.cs-section--purple .disc__caption { color: var(--cream); opacity: 0.55; }

/* Nav starts transparent over the dark hero */
body:has(.cs-hero) .nav { background: transparent; }

/* ── FOOTER ── */
.cs-footer {
  background: var(--cream);
  padding-block: var(--space-xl);
  padding-inline: var(--section-padding-h);
  border-top: 1px solid rgba(28, 43, 74, 0.12);
}
.cs-footer__inner {
  max-width: var(--case-study-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}
.cs-footer__copy {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-small);
  color: var(--navy);
  opacity: 0.6;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════
   HERO — SPLIT LAYOUT
═══════════════════════════════ */
.cs-hero {
  min-height: 100svh;
  background: var(--navy);
  color: var(--cream);
}

.cs-hero--natwest,
.cs-hero--smoothwall,
.cs-hero--construction {
  display: grid;
  min-height: 100svh;
  background: var(--case-accent-deep);
  overflow: visible;
  align-items: stretch;
}
.cs-hero--natwest    { grid-template-columns: 1fr 1fr; }
.cs-hero--smoothwall { grid-template-columns: 5fr 7fr; }

/* Two-image right panel (Smoothwall)
   Both source images are 1000px tall. Allocating flex-grow proportional to
   their natural widths (1376 desktop, 298 mobile) means both render at the
   same height with no cropping and the desktop fills as much space as possible. */
.cs-hero--smoothwall .cs-hero__right {
  padding: calc(80px + var(--space-md)) 12px var(--space-xl) 12px;
  align-items: center;
  overflow: hidden;
}
.cs-hero--smoothwall .cs-hero__screenshots {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  width: 100%;
}
.cs-hero--smoothwall .cs-hero__screenshot {
  max-width: unset;
  overflow: hidden;
}
.cs-hero--smoothwall .cs-hero__screenshot:first-child { flex: 1376 0 0; min-width: 0; }
.cs-hero--smoothwall .cs-hero__screenshot:last-child  { flex: 298  0 0; min-width: 0; }
.cs-hero--smoothwall .cs-hero__screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Smoothwall: stack intro blocks in a single column at the full 1100 width */
.cs-page--smoothwall .intro__goals {
  grid-template-columns: 1fr;
  max-width: none;
  margin-inline: auto;
}
.cs-page--smoothwall .intro__goals + .intro__goals {
  margin-top: var(--space-lg);
}

/* ─── Smoothwall: Design Process section ─── */
.disc__heading--center {
  text-align: center;
}

.disc__body--centered {
  text-align: center;
  align-self: center;
}

.sw-phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-block);
  max-width: var(--case-study-width);
  margin-inline: auto;
}

.sw-phase-card {
  background: rgba(0, 187, 180, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sw-phase-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--case-accent);
}

.sw-phase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sw-phase-list li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--navy);
  padding-left: var(--space-md);
  position: relative;
}

.sw-phase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--case-accent-soft);
  border-radius: 50%;
}

/* LEFT panel */
.cs-hero__left {
  background: var(--case-accent);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  /* top clears the fixed nav (80px) + section rhythm */
  padding: calc(80px + var(--space-xl)) clamp(36px, 5vw, 72px) var(--space-xl);
}

.cs-hero__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.cs-hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--text-h1);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--cream);
}

.cs-hero__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.62);
  max-width: 46ch;
}

/* Meta row */
.cs-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
}
.cs-hero__meta-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: var(--space-xs) var(--space-sm);
  align-items: baseline;
}
.cs-hero__meta-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--case-accent-soft);
}
.cs-hero__meta-value {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--cream);
}
.cs-hero__note {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: rgba(245, 240, 232, 0.35);
  line-height: 1.6;
  margin-top: auto;   /* pin to bottom of left column */
}

/* RIGHT panel */
.cs-hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + var(--space-md)) clamp(24px, 4vw, 56px) 0;
  position: relative;
  z-index: 10;
}
.cs-hero__screenshot {
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.25);
}
.cs-hero__screenshot img { width: 100%; height: auto; display: block; }

/* ═══════════════════════════════
   INTRODUCTION
═══════════════════════════════ */
.intro__inner {
  max-width: var(--case-study-width);
  margin-inline: auto;
}
.intro__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}
.intro__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 68ch;
  margin-bottom: var(--space-xl);
}
.intro__body p {
  margin-bottom: 0;  /* spacing comes from the flex gap */
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--navy);
}

/* Goals grid */
.intro__goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.intro__goals-col {
  border-top: 3px solid var(--case-accent);
  padding-top: var(--space-md);
}
.intro__goals-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--case-accent);
  margin-bottom: var(--space-md);
}
/* `.intro__goals-col p` (prose variant, below) outranks the label class and
   was turning <p> labels into body text. Restore the label style on the
   NatWest and construction pages. Smoothwall keeps its current look. */
.cs-page--natwest .intro__goals-col .intro__goals-label,
.cs-page--construction .intro__goals-col .intro__goals-label {
  font-weight: 500;
  font-size: var(--text-label);
  line-height: inherit;
  color: var(--case-accent);
}
.intro__goals-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
}
.intro__goals-list li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--navy);
  padding-left: var(--space-md);
  position: relative;
}
/* Bold lead-in text inside list items and body paragraphs, using the loaded DM Sans 500 weight */
.intro__goals-list strong,
.intro__body p strong { font-weight: 500; }
/* Labelled list block inside an intro body (construction Validation):
   48px either side, matching the gap between mini-section blocks */
.intro__body > .intro__feedback { margin-block: var(--space-md); }
.intro__goals-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--case-accent);
  border-radius: var(--radius-sm);
}

/* Prose variant used in goals columns (Smoothwall intro 2×2) */
.intro__goals-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}
.intro__goals-col p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--navy);
}
.intro__goals-col p + p { margin-top: var(--space-sm); }
.intro__goals + .intro__goals { margin-top: var(--space-lg); }

/* Design decision mini section (reusable): subheading one level below
   .intro__heading, then stacked labelled blocks (Problem, Thinking, ...).
   Labels reuse .intro__goals-label. */
.cs-decision { max-width: 68ch; }
.cs-decision + .cs-decision { margin-top: var(--space-xl); }
.cs-decision__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}
.cs-decision__block + .cs-decision__block { margin-top: var(--space-lg); }
.cs-decision__block .intro__goals-label { line-height: inherit; }
.cs-decision__block p {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--navy);
}
.cs-decision__block p + p,
.cs-decision__block p + .intro__goals-list { margin-top: var(--space-md); }
/* Two images side by side inside a decision, stacked on mobile */
.cs-decision__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 900px) {
  .cs-decision__pair { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════
   DISCOVER
   Token-based vertical rhythm: 48px between blocks,
   tightened for label/heading/body groupings.
═══════════════════════════════ */
.disc {
  max-width: var(--case-study-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.disc > * { margin: 0; }
.disc > * + * { margin-top: var(--space-block); }              /* 56 min block rhythm */
.disc > .disc__figure { margin-top: var(--space-block); }      /* images keep 56, beating the margin:0 reset */
.disc__label + .disc__heading { margin-top: var(--space-xs); } /* 8  label→heading */
.disc__heading + .disc__body  { margin-top: var(--space-sm); } /* 16 heading→body */
.disc__heading + .disc__obj-grid,
.disc__heading + .disc__challenges { margin-top: var(--space-md); } /* 24 */

.disc__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--case-accent);
}
.disc__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.disc__heading--large  { font-size: var(--text-h2); }
.disc__heading--medium { font-size: var(--text-h3); }

.disc__body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--navy);
  opacity: 0.78;
  max-width: 68ch;
}

/* Objective cards */
.disc__obj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.disc__obj-card {
  position: relative;
  background: var(--case-accent);
  border-top: 2px solid rgba(245, 240, 232, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  overflow: hidden;
}
.disc__obj-card p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--cream);
  position: relative;
  z-index: 1;
}
.disc__obj-num {
  position: absolute;
  top: -8px;
  right: var(--space-sm);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-display);
  font-weight: 700;
  color: var(--cream);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Challenge rows */
.disc__challenges {
  display: flex;
  flex-direction: column;
}
.disc__challenge {
  position: relative;
  border-top: 1px solid var(--case-accent);
  padding: var(--space-md) 0 var(--space-md) 60px;
}
.disc__challenge--last { border-bottom: 1px solid var(--case-accent); }
.disc__ch-num {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-display);
  font-weight: 700;
  color: var(--case-accent);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.disc__ch-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--navy);
}

/* Figures */
.disc__figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
}
.disc__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(28, 43, 74, 0.12), 0 2px 8px rgba(28, 43, 74, 0.06);
  object-fit: cover;
}
.disc__img--no-shadow {
  box-shadow: none;
  border-radius: 0;
}
/* Stacked captioned figures in an intro-style section (construction) */
.intro__inner > .disc__figure + .disc__figure { margin-top: var(--space-block); }
/* Gang mobile screens: four phone screenshots in a row, two per row on smaller screens */
.intro__inner > .disc__figure + .cs-decision__heading { margin-top: var(--space-xl); }
.cs-mobile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: start;
}
@media (max-width: 900px) {
  .cs-mobile-grid { grid-template-columns: 1fr 1fr; }
}
.disc__caption {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-small);
  color: var(--navy-60);
  text-align: center;
}

/* Post-it polaroids */
.disc__postits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  align-items: end;
}
.disc__postit {
  background: #fff;
  padding: 10px 10px 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 24px rgba(28, 43, 74, 0.13), 0 1px 4px rgba(28, 43, 74, 0.07);
}
.disc__postit:nth-child(1) { transform: rotate(-1.8deg); }
.disc__postit:nth-child(2) { transform: rotate(0.9deg);  }
.disc__postit:nth-child(3) { transform: rotate(-0.6deg); }
.disc__postit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1px;
  display: block;
}

/* Sub-section (Challenge / Our Typical User) */
.disc__sub {
  display: flex;
  flex-direction: column;
}
.disc__sub > * + * { margin-top: var(--space-sm); }
.disc__sub > p { margin-bottom: 0; }
.disc__sub > .disc__figure { margin-top: var(--space-block); }  /* image gets the 56 min */
.disc__sub-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-h4);
  color: var(--navy);
}

/* Evaluating — accent chapter-break block */
.disc__eval {
  display: flex;
  flex-direction: column;
}
.disc__eval > * + * { margin-top: var(--space-sm); }
.disc__eval > p { margin-bottom: 0; }
.disc__eval-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h3);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}
.disc__eval-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.8;
}
.disc__eval-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-block);   /* 56 min above image */
}
.disc__eval-img {
  max-width: 700px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  height: auto;
}
.disc__eval-caption {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-small);
  color: var(--cream);
  opacity: 0.5;
  text-align: center;
}

/* ═══════════════════════════════
   PERSONA CARD
═══════════════════════════════ */
.persona__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h3);
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}
.persona__grid {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: var(--space-lg);
  align-items: center;
}
.persona__img-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.persona__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
  height: auto;
}
.persona__img-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.persona__tag {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--case-accent);
}
.persona__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-h4);
  color: var(--navy);
}
.persona__role {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--case-accent);
}
.persona__info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.persona__info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.persona__info-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}
.persona__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.persona__list li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.78;
  padding-left: var(--space-md);
  position: relative;
}
.persona__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--case-accent);
  font-size: var(--text-h4);
  line-height: 1.4;
}

/* ═══════════════════════════════
   SMOOTHWALL: DISCOVER SECTION
═══════════════════════════════ */
/* The banner is a full-width phase divider sitting flush above the photo. */
.sw-discover {
  padding: 0;
}

.sw-discover__banner {
  background: var(--case-accent-discover);
  padding: var(--space-lg) var(--section-padding-h);
  text-align: center;
}

.sw-discover__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h1);
  color: var(--cream);
}

/* Research Objectives — content over a full-bleed photo, same treatment as the
   Key User Research Insights section. Photo full-width, content capped at 1100. */
.sw-objectives {
  position: relative;
  background: url("../Images/Smoothwall Images/Research Objectives.png") center / cover no-repeat;
  padding: var(--section-padding-v) var(--section-padding-h);
}
.sw-objectives::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 60, 90, 0.55);
  pointer-events: none;
}
.sw-objectives__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
}
.sw-objectives__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}
.sw-obj-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.sw-obj-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-sm);
  align-items: stretch;
}
.sw-obj-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--case-accent-soft);
}
.sw-obj-icon svg {
  width: 56px;
  height: 56px;
}
.sw-obj-text {
  display: flex;
  align-items: center;
  background: var(--case-accent);
  color: #FFFFFF;
  padding: var(--space-lg);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .sw-obj-row { grid-template-columns: 72px 1fr; }
  .sw-obj-icon svg { width: 36px; height: 36px; }
}

/* Image-only blocks: capped to the site width so they stop growing with the
   viewport, and held inside the standard horizontal margin. No crop, no stretch. */
.sw-full-img {
  display: block;
  width: 100%;
  max-width: var(--max-width);
  height: auto;
  margin-inline: auto;
}

/* ═══════════════════════════════
   SMOOTHWALL: USER PERSONA
═══════════════════════════════ */
.sw-persona {
  background: var(--case-accent);
}

/* The persona export carries a 93px (3.23%) navy margin baked around the cards,
   and that navy matches the section — so the cards looked inset even though the
   image element was a full 1100. Crop that margin off precisely so the card
   artwork itself spans the 1100 content width, lining up with every section. */
.sw-persona__crop {
  max-width: var(--max-width);
  margin-inline: auto;
  overflow: hidden;
}
.sw-persona__img {
  display: block;
  height: auto;
  max-width: none;
  width: calc(100% * 2880 / 2694);      /* scale the card region up to full width */
  margin-left: calc(-100% * 93 / 2694); /* pull the left navy margin out of view */
}

/* ═══════════════════════════════
   SMOOTHWALL: DSL vs NON DSL
   Split section — turquoise text panel / light table panel.
═══════════════════════════════ */
.sw-dsl {
  display: grid;
  /* Table column holds a stable width; the turquoise text panel (1fr) is the
     side that gives up space as the section narrows, so the table never
     compresses to the point of distorting. */
  grid-template-columns: minmax(0, 1fr) 600px;
  /* Uniform 1100px CONTENT width. The section keeps its 48px side gutters, so
     the cap includes that padding (1100 + 2×48) to leave 1100 of visible
     content that lines up edge-for-edge with every other section. */
  max-width: calc(var(--max-width) + 2 * var(--section-padding-h));
  margin-inline: auto;
}

/* Left: turquoise panel, content centred both axes */
.sw-dsl__text {
  background: var(--case-accent-soft);
  color: var(--cream);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 72px inner gap on the right, standard rhythm elsewhere */
  padding: var(--section-padding-v) 72px var(--section-padding-v) var(--section-padding-h);
}

.sw-dsl__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: var(--cream);
  margin-bottom: var(--space-lg);
}

.sw-dsl__body {
  margin-bottom: 0;
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--cream);
}

.sw-dsl__body + .sw-dsl__body {
  margin-top: var(--space-md);
}

/* Right: light panel holding the table */
.sw-dsl__table-wrap {
  background: var(--warm-white);
  display: flex;
  align-items: center;
  /* 72px inner gap on the left, standard rhythm elsewhere */
  padding: var(--section-padding-v) var(--section-padding-h) var(--section-padding-v) 72px;
}

.sw-dsl__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sw-dsl__table th,
.sw-dsl__table td {
  padding: var(--space-md);
  text-align: left;
  vertical-align: middle;
}

.sw-dsl__table thead th {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-label);
  color: var(--navy);
}

.sw-dsl__table tbody td {
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--navy-75);
}

/* DSL / Non DSL columns: fixed, centred header + marks */
.sw-dsl__table th:not(:first-child),
.sw-dsl__table td:not(:first-child) {
  text-align: center;
  width: 96px;
}

.sw-dsl__table tbody tr:nth-child(even) {
  background: var(--cream);
}

.sw-dsl__mark {
  font-size: 18px;
  line-height: 1;
}

.sw-dsl__mark--yes { color: var(--case-accent-soft); }
.sw-dsl__mark--no  { color: var(--navy-50); }

@media (max-width: 768px) {
  .sw-dsl {
    grid-template-columns: 1fr;
  }
  .sw-dsl__text,
  .sw-dsl__table-wrap {
    padding: var(--section-padding-v) var(--section-padding-h);
  }
}

/* ═══════════════════════════════
   SMOOTHWALL: RECURRING RESEARCH THEMES
   Full-bleed navy band; capped, centred inner content.
═══════════════════════════════ */
.sw-themes {
  background: var(--case-accent); /* #013C5A navy */
  color: #FFFFFF;
}

/* Width-cap principle: inner content is bounded and centred so it stays put
   rather than growing on wide screens / zoom-out. Cap can differ per section. */
.sw-themes__inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.sw-themes__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.sw-themes__intro {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
}

.sw-themes__list {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
}

.sw-themes__item {
  display: grid;
  grid-template-columns: 190px 1fr;
  padding: var(--space-block) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sw-themes__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sw-themes__num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-h3);
  line-height: 1;
  color: var(--case-accent-soft); /* turquoise */
}

.sw-themes__item-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-h4);
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.sw-themes__item-text {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
  .sw-themes__item {
    grid-template-columns: 64px 1fr;
    padding: var(--space-lg) 0;
  }
}

/* ═══════════════════════════════
   SMOOTHWALL: KEY USER RESEARCH INSIGHTS
   Full-bleed photo background (navy-tinted for legibility); capped content.
═══════════════════════════════ */
.sw-insights {
  position: relative;
  background: url("../Images/Smoothwall Images/key user research insights.png") center / cover no-repeat;
}
/* Navy tint over the photo so white text reads and it matches the deck look. */
.sw-insights::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 60, 90, 0.55);
  pointer-events: none;
}

.sw-insights__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
}

.sw-insights__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Translucent panel sitting behind the row of cards */
.sw-insights__panel {
  background: rgba(0, 36, 58, 0.30);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.sw-insights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.sw-insights__card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.sw-insights__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--case-accent-soft);
  margin-bottom: var(--space-md);
}
.sw-insights__icon svg {
  width: 28px;
  height: 28px;
}

.sw-insights__card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-h4);
  line-height: 1.3;
  color: var(--case-accent);
  margin-bottom: var(--space-sm);
  /* Reserve two lines so the body text starts at the same height across every
     card, even where a title (e.g. Device Usage Data) is only one line. */
  min-height: 2.6em;
}

.sw-insights__card-text {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--navy-75);
}

.sw-insights__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (max-width: 900px) {
  .sw-insights__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sw-insights__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════
   SMOOTHWALL: DESIGN — RED ROUTES
   Navy phase section; centred content capped at 1100.
═══════════════════════════════ */
.sw-design {
  background: var(--case-accent); /* #013C5A navy */
  color: #FFFFFF;
}
.sw-design__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-design__phase {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h1);
  color: #FFFFFF;
  margin-bottom: var(--space-xxl);
}
.sw-design__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}
.sw-design__intro {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 68ch;
  margin: 0 auto var(--space-xl);
}
/* Second and later Design sub-sections (e.g. Grids) sit below the first. */
.sw-design__block + .sw-design__block {
  margin-top: var(--space-xxl);
}

/* Dashboard Design — text left, flow diagram right (overrides centred inner). */
.sw-dashflow {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  text-align: left;
}
.sw-dashflow__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}
.sw-dashflow__body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.sw-dashflow__img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .sw-dashflow {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ═══════════════════════════════
   SMOOTHWALL: CHALLENGES OF THE OLD DASHBOARD
   Navy section; the image already carries its own navy background + annotations.
═══════════════════════════════ */
.sw-challenges {
  background: var(--case-accent); /* #013C5A — matches the image background */
  color: #FFFFFF;
}
.sw-challenges__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-challenges__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-xl);
}
.sw-challenges__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════
   SMOOTHWALL: SNAPSHOT OF THE PLATFORM BEFORE
   Navy section; transparent screenshot collage sits on the navy.
═══════════════════════════════ */
.sw-snapshot {
  background: var(--case-accent); /* #013C5A navy */
  color: #FFFFFF;
}
.sw-snapshot__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-snapshot__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-xl);
}
.sw-snapshot__img {
  display: block;
  width: 100%;
  height: auto;
}
.sw-design__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════
   SMOOTHWALL: WIREFRAMES
   Navy section; transparent wireframe collage sits on the navy (left),
   heading + copy on the right.
═══════════════════════════════ */
.sw-wireframes {
  background: var(--case-accent); /* #013C5A navy — matches the Design portion */
  color: #FFFFFF;
}
.sw-wireframes__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.sw-wireframes__img {
  display: block;
  width: 100%;
  height: auto;
}
.sw-wireframes__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h1);
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}
.sw-wireframes__body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
  .sw-wireframes__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ═══════════════════════════════
   SMOOTHWALL: PHASE BANNER
   Standalone navy banner holding a single phase heading.
═══════════════════════════════ */
.sw-banner {
  background: var(--case-accent-discover); /* #01283B darker navy — Discover phase */
  text-align: center;
}
.sw-banner__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h1);
  color: #FFFFFF;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* ═══════════════════════════════
   SMOOTHWALL: VISUAL DESIGN
   Navy section; centred heading + copy over a full-width design-system board.
═══════════════════════════════ */
.sw-visual {
  background: var(--case-accent-discover); /* #01283B darker navy — Discover phase */
  color: #FFFFFF;
}
.sw-visual__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-visual__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}
.sw-visual__body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 68ch;
  margin-inline: auto;
}
.sw-visual__body + .sw-visual__body {
  margin-top: var(--space-md);
}
.sw-visual__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--space-xxl);
}

/* ═══════════════════════════════
   SMOOTHWALL: DASHBOARD DESIGNS
   Navy section (Design portion); two labelled full-width dashboard screens.
═══════════════════════════════ */
.sw-dashboards {
  background: var(--case-accent-discover); /* #01283B darker navy */
  color: #FFFFFF;
}
.sw-dashboards__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-dashboards__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-xl);
}
.sw-dashboards__img {
  display: block;
  width: 100%;
  height: auto;
}
.sw-dashboards__block + .sw-dashboards__block {
  margin-top: var(--space-xxl);
}

/* ═══════════════════════════════
   SMOOTHWALL: NOTIFICATION COMPONENT
   Darker navy section; centred heading, left-aligned copy, full-width annotated image.
═══════════════════════════════ */
.sw-notification {
  background: var(--case-accent-discover); /* #01283B darker navy */
  color: #FFFFFF;
}
.sw-notification__inner {
  max-width: var(--max-width);
  margin-inline: auto;
}
.sw-notification__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  text-align: center;
  margin-bottom: var(--space-lg);
}
.sw-notification__body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.sw-notification__body + .sw-notification__body {
  margin-top: var(--space-md);
}
.sw-notification__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--space-xxl);
}

/* ═══════════════════════════════
   SMOOTHWALL: SCREEN SHOWCASE
   Reusable darker-navy section; one or more labelled full-width screens.
═══════════════════════════════ */
.sw-showcase {
  background: var(--case-accent-discover); /* #01283B darker navy */
  color: #FFFFFF;
}
.sw-showcase__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-showcase__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-xl);
}
.sw-showcase__img {
  display: block;
  width: 100%;
  height: auto;
}
.sw-showcase__block + .sw-showcase__block {
  margin-top: var(--space-xxl);
}

/* ═══════════════════════════════
   SMOOTHWALL: MOBILE DESIGNS
   Darker-navy section; centred heading + copy over a full-width mobile board.
═══════════════════════════════ */
.sw-mobile {
  background: var(--case-accent-discover); /* #01283B darker navy */
  color: #FFFFFF;
}
.sw-mobile__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.sw-mobile__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}
.sw-mobile__body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 68ch;
  margin-inline: auto;
}
.sw-mobile__body + .sw-mobile__body {
  margin-top: var(--space-md);
}
.sw-mobile__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--space-xxl);
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 900px) {
  .cs-hero--natwest { grid-template-columns: 1fr; }
  .cs-hero__right { padding: var(--space-lg) clamp(24px, 5vw, 48px) var(--space-xl); }
  .cs-hero__screenshot { max-width: 100%; }
}

@media (max-width: 768px) {
  .disc__obj-grid { grid-template-columns: 1fr; }
  .disc__postits { grid-template-columns: 1fr; }
  .disc__postit:nth-child(1),
  .disc__postit:nth-child(2),
  .disc__postit:nth-child(3) { transform: none; }
  .disc__eval { padding: var(--space-md); }
  .persona__grid { grid-template-columns: 1fr; padding: var(--space-md); }
  .intro__goals { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 600px) {
  .cs-hero__meta-item { grid-template-columns: 1fr; gap: var(--space-xs); }
}

/* ═══════════════════════════════
   USER RESEARCH CALLS
═══════════════════════════════ */
.disc__lead {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--case-accent);
  max-width: 72ch;
}

/* session flow chips */
.research-flow__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--case-accent);
  margin-bottom: var(--space-md);
}
.research-flow__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-sm);
}
.research-flow__step {
  display: flex;
  align-items: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--warm-white);
  border: 1px solid rgba(28, 43, 74, 0.14);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  line-height: 1.4;
  color: var(--navy);
  max-width: 210px;
}
.research-flow__step--active {
  background: #A23DB5;   /* Figma session-flow accent (content-specific) */
  border-color: #A23DB5;
  color: #fff;
}
.research-flow__arrow {
  align-self: center;
  color: rgba(28, 43, 74, 0.35);
  font-size: var(--text-body);
}

/* findings comparison table */
.findings__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-sm);
}
.findings__col-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--case-accent);
}
.findings__col-label:last-child { padding-left: var(--space-lg); }
.findings__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(28, 43, 74, 0.14);
  padding-block: var(--space-md);
}
.findings__cell:first-child { padding-right: var(--space-lg); }
.findings__cell:last-child {
  padding-left: var(--space-lg);
  border-left: 1px solid rgba(28, 43, 74, 0.14);
}
.findings__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}
.findings__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot, var(--case-accent));
  flex-shrink: 0;
}
.findings__text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.78;
}
@media (max-width: 768px) {
  .findings__head { display: none; }
  .findings__row { grid-template-columns: 1fr; gap: var(--space-md); }
  .findings__cell:first-child { padding-right: 0; }
  .findings__cell:last-child { padding-left: 0; border-left: 0; }
}

/* ═══════════════════════════════
   DESIGN SHOWCASES
   Title + image + optional caption, grouped tightly;
   56px between showcases via the .disc flow rhythm.
═══════════════════════════════ */
.showcase { display: flex; flex-direction: column; }
.showcase > * + * { margin-top: var(--space-md); }
.showcase .disc__body { max-width: none; }   /* captions span the full image width */

/* ═══════════════════════════════
   CONCEPT TESTING (bullets + HMW cards)
═══════════════════════════════ */
.cs-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 80ch;
}
.cs-list li {
  position: relative;
  padding-left: var(--space-md);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.82;
}
.cs-list li::before { content: '•'; position: absolute; left: 0; color: var(--case-accent); }

.hmw__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--case-accent);
  margin-bottom: var(--space-md);
}
.hmw__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-sm);
}
.hmw__card {
  background: rgba(66, 20, 95, 0.05);
  border: 1px solid rgba(66, 20, 95, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  line-height: 1.45;
  color: var(--case-accent);
}

/* ═══════════════════════════════
   DELIVER — outcomes & impact
═══════════════════════════════ */
.impact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.impact__big {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--case-accent);
  margin: 0;
}
.impact__small {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-h4);
  color: var(--case-accent);
  margin: var(--space-xs) 0 0;
}
.impact__arrow { color: rgba(28, 43, 74, 0.35); font-size: var(--text-h3); }
.impact__note { border-left: 1px solid rgba(28, 43, 74, 0.15); padding-left: var(--space-lg); max-width: 42ch; }
.impact__note-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--case-accent);
  margin-bottom: var(--space-xs);
}
.impact__note-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.78;
}

.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.outcome-card { background: rgba(66, 20, 95, 0.05); border-radius: var(--radius-lg); padding: var(--space-lg); }
.outcome-card__icon { display: block; color: var(--case-accent); margin-bottom: var(--space-md); }
.outcome-card__icon svg { width: 26px; height: 26px; }
.outcome-card__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}
.outcome-card__text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.78;
}

@media (max-width: 768px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .impact__note { border-left: 0; padding-left: 0; }
}

/* ═══════════════════════════════
   CONSTRUCTION PAYMENT PLATFORM
   Same structure as NatWest. Brand palette is maroon pink
   (#961C56); light details use cream per the text-on-dark rule.
═══════════════════════════════ */
.cs-page--construction {
  --case-accent:         #961C56;  /* maroon pink */
  --case-accent-deep:    #961C56;  /* hero base */
  --case-accent-soft:    var(--cream);  /* light detail on maroon (cream, per text-on-dark rule) */
  --case-accent-section: #961C56;  /* maroon section background */
  /* Darker maroon panel behind hero text: a 20% shade of the brand colour,
     derived from the accent rather than a free-standing hex */
  --case-accent-panel:   color-mix(in srgb, var(--case-accent) 80%, black);
}
/* Base split-hero rules are shared with NatWest/Smoothwall (HERO section above) */
.cs-hero--construction .cs-hero__left { background: var(--case-accent-panel); }
.cs-hero--construction .cs-hero__screenshot { max-width: none; }

/* Dimmed hero text is raised so it passes WCAG AA (4.5:1) on the lighter
   maroon panel: label 4.65:1, subtitle 5.2:1 */
.cs-hero--construction .cs-hero__label    { color: rgba(255, 255, 255, 0.6); }
.cs-hero--construction .cs-hero__subtitle { color: rgba(245, 240, 232, 0.7); }

/* Proportions match the Smoothwall hero (5fr 7fr) with a slim on-scale
   gutter so the landscape screenshot reads large. Top clears the nav. */
@media (min-width: 901px) {
  /* Even split so the title wraps to fewer lines and the full hero
     detail sits above the fold; screenshot scales with its column. */
  .cs-hero--construction { grid-template-columns: 1fr 1fr; }
  .cs-hero--construction .cs-hero__left {
    gap: var(--space-md);
    padding-top: calc(80px + var(--space-lg));
    padding-bottom: var(--space-lg);
  }
  .cs-hero--construction .cs-hero__subtitle { max-width: 60ch; }
  .cs-hero--construction .cs-hero__right {
    padding: calc(80px + var(--space-md)) var(--space-md) var(--space-lg);
  }
}
@media (max-width: 900px) {
  .cs-hero--construction { grid-template-columns: 1fr; }
}

/* ── Construction style-guide alignment (tokens only) ── */
/* Section rhythm: a section ending in body text keeps even padding,
   so the body's trailing margin is removed */
.cs-page--construction .intro__body:last-child { margin-bottom: 0; }
/* Min block spacing: at least --space-block above and between images */
.cs-page--construction .intro__inner > .intro__heading + .disc__figure,
.cs-page--construction .intro__inner > .cs-decision__heading + .cs-mobile-grid,
.cs-page--construction .cs-decision__block + .disc__figure.cs-decision__block {
  margin-top: var(--space-block);
}
.cs-page--construction .cs-decision__block.disc__figure { gap: var(--space-block); }
.cs-page--construction .cs-mobile-grid { row-gap: var(--space-block); }
/* Image shadow from the shadow scale */
.cs-page--construction .disc__img { box-shadow: var(--shadow-lg); }
/* One body line height (1.8, the paragraph value) for lists and Role columns */
.cs-page--construction .intro__goals-list li,
.cs-page--construction .intro__goals-col p { line-height: 1.8; }
/* Mini-section images run the full content width like the gallery;
   the text blocks keep the 68ch reading measure */
.cs-page--construction .cs-decision { max-width: none; }
.cs-page--construction .cs-decision > .cs-decision__block:not(.disc__figure) { max-width: 68ch; }
