@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700&display=swap");

/* =============================================================================
   BJ Cave Design — styles
   Type/colour chosen to match the live site (TT Hoves → Inter fallback).
   ========================================================================== */

/* ---------- TT Hoves Pro (self-hosted) ---------- */
@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TTHovesPro-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TTHovesPro-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TTHovesPro-DemiBold.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #26303a;        /* primary text */
  --ink-2: #2f3b47;      /* headings / links */
  --muted: #545f71;      /* secondary text / labels */
  --faint: #999999;      /* category text */
  --line: #eaeaea;       /* hairlines */
  --bg: #ffffff;
  --bg-soft: #fcfcfc;
  --accent: #bae9ef;     /* cursor / hover tint */
  --line2: #d8d8d8;      /* stronger hairline */
  --bg-sec: #f1f1f2;     /* media placeholder fill */
  --info-bg: #eaf3fb;    /* heuristic-audit callout */
  --info-ink: #2c6e9e;
  --serif: Georgia, "Times New Roman", serif;
  --overlay: rgba(3, 3, 7, 0.4);
  --menu-bg: rgba(3, 3, 7, 0.72);
  --maxw: 1457px;
  --pad: 120px;
  --nav-h: 3.5556rem;
  --font: "TT Hoves Pro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--ink-2); text-decoration: none; }
a:hover { color: var(--ink); }

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bg);
}
.nav__inner {
  width: 100%;
  padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img, .nav__logo svg { width: 2.2222rem; height: auto; display: block; }
.nav__logo .logo-light { display: none; }
/* when the overlay menu is open the bar sits over the dark overlay */
.nav--menu-open { background: transparent; }
.nav--menu-open .nav__logo .logo-dark { display: none; }
.nav--menu-open .nav__logo .logo-light { display: block; }
.nav__toggle {
  width: 24px; height: 16px; position: relative;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 2px; background: #000; transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle span { top: 50%; transform: translateY(-50%); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); background:#fff; }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); background:#fff; }

/* ---------- overlay menu ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 40;
  background: var(--menu-bg);
  backdrop-filter: blur(2px);
  display: flex; justify-content: flex-end;
  padding: 6.6667rem var(--pad) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.overlay nav { width: 100%; max-width: var(--maxw); margin-inline: auto; text-align: right; }
.overlay ul { list-style: none; }
.overlay a {
  display: inline-block; padding: .9rem 0;
  font-size: clamp(2.2rem, 6vw, 4.4444rem);
  font-weight: 500; letter-spacing: -.01em; color: #aaaaaa;
  border-bottom: .2rem solid transparent;
}
.overlay a:hover { color: #f4f4f4; border-bottom-color: #f4f4f4; }

/* ---------- hero tagline ---------- */
.hero { padding: clamp(4rem, 12vh, 10rem) 0 clamp(2.5rem, 6vh, 5rem); }
.hero__tagline {
  text-align: left;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 24ch;
  margin-inline: 0;
  text-wrap: balance;
}
.hero__tagline b { font-weight: 600; }
.hero__tagline span { font-weight: 400; color: var(--muted); }

/* ---------- project grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.card {
  position: relative; display: block;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: #ddd;
}
.card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.card:hover .card__img { transform: scale(1.08); }
.card__placeholder { position: absolute; inset: 0; }
.card__overlay {
  position: absolute; inset: 0;
  background: var(--overlay);
  opacity: 0; transition: opacity .4s ease;
  display: flex; align-items: flex-end;
  padding: 1.4rem;
}
.card:hover .card__overlay { opacity: 1; }
.card__title { color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.3; }
/* lock badge on protected project tiles */
.card__lock {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(3, 3, 7, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card__lock svg { width: 17px; height: 17px; }

/* password gate */
.ch-hero--min { position: relative; min-height: 300px; display: flex; }
.gate {
  max-width: 460px; margin: 1rem auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.gate__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: .4rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); background: var(--bg-sec); border: 1px solid var(--line);
}
.gate__icon svg { width: 24px; height: 24px; }
.gate__title { font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.gate__text { color: var(--muted); margin-bottom: .8rem; }
.gate__form { display: flex; gap: .6rem; width: 100%; max-width: 380px; }
.gate__input {
  flex: 1; padding: .7rem .9rem; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  color: var(--ink);
}
.gate__input:focus { outline: none; border-color: var(--ink-2); }
.gate__btn {
  padding: .7rem 1.3rem; font-size: 1rem; font-weight: 500; font-family: inherit;
  border: none; border-radius: 10px; cursor: pointer;
  background: var(--ink); color: var(--bg);
  transition: opacity .2s ease;
}
.gate__btn:hover { opacity: .88; }
.gate__btn:disabled { opacity: .5; cursor: default; }
.gate__error { color: #c0392b; font-size: .9rem; margin-top: .3rem; }
.card__cat { display: block; color: #b5cad1; font-size: 1rem; font-weight: 400; }

/* ---------- info columns ---------- */
.cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; padding: 2.6667rem 0;
}
.col__label {
  color: var(--muted); font-size: .6667rem; font-weight: 500;
  letter-spacing: .02em; margin-bottom: .9rem;
}
.col__list { list-style: none; }
.col__list li { font-size: 1.1111rem; line-height: 1.5556rem; color: var(--ink); }

/* ---------- get in touch ---------- */
.touch { padding: 0; }
.touch .container {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.6rem, 4vh, 2.4rem);
}
.touch a {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.3333rem; color: #030307;
}
.touch a .arrow { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.touch a:hover .arrow { transform: translateX(.5rem); }

/* ---------- footer ---------- */
.footer { background: var(--bg-soft); padding: 2.6667rem 0 5rem; }
.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; align-items: start;
}
.footer__col a { display: block; color: var(--muted); padding: .25rem 0; }
.footer__col a:hover { color: var(--ink-2); }
.footer__col--touch a { display: inline-flex; align-items: center; gap: .4rem; }
.footer__col--touch a .arrow { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.footer__col--touch a:hover .arrow { transform: translateX(.4rem); }
.footer__copy { color: var(--muted); }

/* =============================================================================
   PROJECT / CASE STUDY PAGE
   ========================================================================== */
.case { padding: 3rem 0 0; }
.case__back { display: inline-block; color: var(--muted); margin-bottom: 2.5rem; font-size: .95rem; }
.case__back:hover { color: var(--ink-2); }
.case__cat { color: var(--faint); font-size: 1.1111rem; margin-bottom: .5rem; }
.case__title { font-size: clamp(2.4rem, 6vw, 3.5556rem); font-weight: 600; letter-spacing: -.011em; line-height: 1.05; color: var(--ink-2); }
.case__summary { font-size: 1.6667rem; line-height: 1.4; color: var(--ink-2); max-width: 36ch; margin-top: 1.5rem; font-weight: 500; }

.case__meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem;
}
.case__meta dt { color: var(--muted); font-size: .6667rem; font-weight: 500; margin-bottom: .4rem; }
.case__meta dd { font-size: 1.1111rem; color: var(--ink); }

.case__cover { margin: 3rem 0; aspect-ratio: 16/9; overflow: hidden; }
.case__cover img, .case__cover .card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.case__cover .card__placeholder { position: static; }

.case__body { max-width: 46rem; margin: 0 auto; padding: 1rem 0 2rem; }
.case__section { margin-bottom: 2.5rem; }
.case__section h2 { font-size: 1.3333rem; font-weight: 600; color: var(--ink-2); margin-bottom: .6rem; }
.case__section p { color: var(--ink); font-size: 1.1111rem; line-height: 1.6; }
.case__section img { margin-top: 1.5rem; border-radius: 4px; }
.case__section ul { list-style: none; margin-top: .8rem; }
.case__section ul li {
  position: relative; padding-left: 1.1rem; margin-bottom: .7rem;
  color: var(--ink); font-size: 1.1111rem; line-height: 1.55;
}
.case__section ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .35rem; height: .35rem; border-radius: 50%; background: var(--ink-2);
}
.case__section ul li strong { font-weight: 600; color: var(--ink-2); }

.case__quote {
  max-width: 46rem; margin: 1rem auto 0;
  font-size: 1.6667rem; line-height: 1.4; font-weight: 500;
  color: var(--ink-2); border-left: 3px solid var(--accent);
  padding-left: 1.4rem;
}
.case__quote::before { content: "\201C"; }
.case__quote::after { content: "\201D"; }

.case__gallery { display: grid; gap: 1.5rem; margin: 2rem 0 4rem; }
.case__gallery img { width: 100%; }

.case__nav {
  border-top: 1px solid var(--line); margin-top: 2rem; padding: 2rem 0 5rem;
  display: flex; justify-content: space-between; gap: 1rem;
}
.case__nav a { display: flex; flex-direction: column; }
.case__nav .lbl { color: var(--muted); font-size: .6667rem; font-weight: 500; margin-bottom: .3rem; }
.case__nav .name { font-size: 1.3333rem; color: var(--ink-2); font-weight: 500; }
.case__nav .next { text-align: right; margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .case__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__tagline { max-width: 100%; }
}

/* =============================================================================
   CASE STUDY — long-page blueprint layout
   01 Hero · 02 Overview+role · 03 Problem · 04 Process · 05 Solution
   06 Responsive · 07 Detail · 08 Full page · 09 Outcome
   ========================================================================== */
.ch { color: var(--ink); }

/* 01 — Hero */
.ch-hero { position: relative; overflow: hidden; }
.ch-hero__media { width: 100%; height: clamp(360px, 62vh, 640px); object-fit: cover; display: block; background-size: cover; background-position: center; }
.ch-hero__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.72) 100%); }
.ch-hero__inner { position: absolute; inset: 0; }
.ch-hero__back { position: absolute; top: 1.6rem; left: var(--pad); color: #fff; opacity: .85; font-size: .95rem; }
.ch-hero__back:hover { color: #fff; opacity: 1; }
.ch-hero__cap { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 2.6rem; }
.ch-hero__cat { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: .5rem; }
.ch-hero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
.ch-hero__meta { color: rgba(255,255,255,.82); margin-top: .9rem; font-size: 1.05rem; }

/* shared section frame */
.ch-section { padding: 3.4rem 0; }
.ch-section--alt { background: var(--bg-soft); }
.ch-kicker { color: var(--muted); font-size: .6667rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 1.1rem; }
.ch-text { max-width: 46rem; }
.ch-text p { font-size: 1.1111rem; line-height: 1.62; margin-bottom: 1rem; }
.ch-text p:last-child { margin-bottom: 0; }

/* 02 — lead + role/tools meta */
.ch-lead { max-width: 40rem; font-size: clamp(1.4rem, 3.5vw, 1.6667rem); line-height: 1.35; font-weight: 500; color: var(--ink-2); }
.ch-meta { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 1.8rem; }
.ch-meta dt { color: var(--muted); font-size: .6667rem; font-weight: 500; margin-bottom: .35rem; }
.ch-meta dd { font-size: 1rem; color: var(--ink); }

/* shared list */
.ch-list { list-style: none; margin-top: .9rem; }
.ch-list li { position: relative; padding-left: 1.1rem; margin-bottom: .7rem; font-size: 1.1111rem; line-height: 1.55; }
.ch-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--ink-2); }
.ch-list li strong { font-weight: 600; color: var(--ink-2); }
.ch-note { margin-top: 1rem; font-size: 1.1111rem; line-height: 1.6; max-width: 46rem; }

/* 03 — Problem: copy + heuristic callout */
.ch-problem { display: grid; grid-template-columns: 1fr 290px; gap: 2.4rem; align-items: start; }
.ch-callout { background: var(--info-bg); color: var(--info-ink); border-radius: 14px; padding: 1.4rem; }
.ch-callout svg { width: 22px; height: 22px; }
.ch-callout h3 { font-size: 1rem; font-weight: 600; margin: .6rem 0 .4rem; }
.ch-callout p { font-size: .95rem; line-height: 1.5; }

/* 04 — Process: captioned steps */
.ch-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
.ch-step__media { aspect-ratio: 4/3; border: 1px dashed var(--line2); border-radius: 10px; background: var(--bg-sec); overflow: hidden; }
.ch-step__media img, .ch-step__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-step__media--contain img { object-fit: contain; padding: 8px; }
.ch-step__num { display: inline-block; font-size: .6667rem; color: var(--muted); margin-top: .7rem; }
.ch-step__cap { font-size: .95rem; color: var(--ink); margin-top: .15rem; line-height: 1.45; }

/* 05 — Solution: stacked sectioned cards */
.ch-sol { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.6rem; }
.ch-sol__item { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; background: var(--bg); }
.ch-sol__item--alt { background: var(--bg-soft); }
.ch-sol__dots { display: flex; gap: 5px; margin-bottom: .7rem; }
.ch-sol__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); }
.ch-sol__media { aspect-ratio: 16/9; background: var(--bg-sec); border-radius: 8px; overflow: hidden; }
.ch-sol__media > img, .ch-sol__media > video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* scrollable variant — tall full-page screenshots viewed inside a fixed-height frame */
.ch-sol__media--scroll { aspect-ratio: auto; height: 520px; overflow-y: auto; }
.ch-sol__media--scroll > img { height: auto; object-fit: fill; }
/* wrapper anchors the full-screen button outside the scrolling area */
.ch-sol__framewrap { position: relative; }
.ch-sol__cap { margin-top: .8rem; font-size: 1.05rem; color: var(--ink); }
.ch-sol__cap strong { font-weight: 600; color: var(--ink-2); }

/* 06 — Responsive pairing */
.ch-resp { display: flex; gap: 1.6rem; align-items: flex-end; margin-top: 1.4rem; }
.ch-resp__desk { flex: 1; aspect-ratio: 16/10; background: var(--bg-sec); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ch-resp__mob { width: 128px; flex: none; aspect-ratio: 9/19; background: var(--bg-sec); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ch-resp img { width: 100%; height: 100%; object-fit: cover; }
.ch-cap { font-size: .9rem; color: var(--muted); margin-top: .9rem; }

/* 07 — Detail + annotations */
.ch-detail { position: relative; aspect-ratio: 16/7; background: var(--bg-sec); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 1.4rem; }
.ch-detail img { width: 100%; height: 100%; object-fit: cover; }
.ch-detail--contain { aspect-ratio: 16/9; }
.ch-detail--contain img { object-fit: contain; padding: 16px; }
.ch-pin { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--info-bg); color: var(--info-ink); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.ch-legend { list-style: none; margin-top: 1.2rem; display: flex; flex-direction: column; gap: .7rem; max-width: 46rem; }
.ch-legend li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; }
.ch-legend .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--info-bg); color: var(--info-ink); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; }

/* 08 — Full page scrollable frame */
.ch-fullpage { display: flex; justify-content: center; }
.ch-frame-wrap { position: relative; width: min(100%, 860px); }
.ch-frame { width: 100%; height: 480px; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-sec); position: relative; }
.ch-frame__expand {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(3, 3, 7, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
}
.ch-frame__expand svg { width: 18px; height: 18px; }
.ch-frame__expand:hover { background: rgba(3, 3, 7, 0.82); transform: scale(1.06); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.6); display: none; }
.lightbox.is-open { display: block; }
.lightbox__scroll {
  position: absolute; inset: 0; overflow: auto;
  padding: clamp(20px, 5vh, 64px);
  display: flex; justify-content: center; align-items: flex-start;
  -webkit-overflow-scrolling: touch;
}
.lightbox__img { width: min(1100px, 92vw); height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox__close {
  position: fixed; top: 18px; right: 22px; z-index: 210;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease;
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.ch-frame img { width: 100%; display: block; }
.ch-frame__empty { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6rem; align-items: center; justify-content: center; color: var(--muted); font-size: .95rem; }
.ch-frame__empty svg { width: 26px; height: 26px; opacity: .6; }

/* 09 — Outcome + quote */
.ch-outcome .ch-text { margin-bottom: 1.6rem; }
.ch-quote { border-left: 2px solid var(--accent); padding-left: 1.3rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3.5vw, 1.6rem); line-height: 1.4; color: var(--ink-2); max-width: 42rem; }
.ch-quote__by { margin-top: .7rem; padding-left: 1.3rem; color: var(--muted); font-size: 1rem; max-width: 42rem; }

/* responsive */
@media (max-width: 900px) {
  .ch-problem { grid-template-columns: 1fr; }
  .ch-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ch-steps { grid-template-columns: 1fr; }
  .ch-resp { flex-wrap: wrap; }
  .ch-resp__mob { width: 96px; }
}

/* =============================================================================
   INFO / ABOUT PAGE
   ========================================================================== */
.info__intro { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(1.5rem, 4vh, 2.5rem); }
.info__lead {
  max-width: 34ch;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 400;
}
.info__photo { margin: clamp(1.5rem, 4vh, 2.5rem) 0; }
.info__photo img { width: 100%; height: auto; display: block; }

.info__rows {
  display: flex; flex-direction: column;
  gap: clamp(1.8rem, 4.5vh, 2.8rem);
  padding-block: clamp(1.5rem, 4vh, 2.5rem);
}
.info__row { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.info__label { color: var(--muted); font-size: .6667rem; font-weight: 500; }
.info__body { max-width: 46rem; }
.info__body p { font-size: 1.1111rem; line-height: 1.5556; color: var(--ink); margin-bottom: 1rem; }
.info__body p:last-child { margin-bottom: 0; }
.info__list { list-style: none; }
.info__list li { font-size: 1.1111rem; line-height: 1.5556rem; color: var(--ink); }

@media (max-width: 760px) {
  .info__row { grid-template-columns: 1fr; gap: .6rem; }
}

/* =============================================================================
   FULL-WIDTH COPY (120px gutters) — copy blocks span the full width
   ========================================================================== */
/* big type / statements span the full width */
.hero__tagline, .ch-lead, .ch-quote, .ch-quote__by, .case__summary, .info__lead { max-width: none; }
/* running paragraphs keep a comfortable reading measure */
.ch-text, .ch-note, .ch-legend, .info__body { max-width: 72ch; }

@media (max-width: 1100px) { :root { --pad: 64px; } }
@media (max-width: 760px)  { :root { --pad: 32px; } }
@media (max-width: 480px)  { :root { --pad: 20px; } }

/* =============================================================================
   Bridge for Innovation — self-contained hero recreation (solution embed)
   Hover effects work; nothing is hyperlinked.
   ========================================================================== */
.ch-sol__media:has(.bfi-hero) { background: #1c2f63; }
.bfi-hero, .bfi-hero * { font-family: "Mulish", var(--font); }
.bfi-hero { position: relative; width: 100%; height: 100%; overflow: hidden; color: #fff; }
.bfi-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfi-hero__bg--still { display: none; }
.bfi-hero__snapshot { display: none; }
@media (max-width: 1024px) {
  .bfi-hero__snapshot {
    display: block; position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; z-index: 20;
  }
}
.bfi-hero__scrim { position: absolute; inset: 0; background: rgba(71, 85, 117, 0.62); }
.bfi-hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(1.3rem, 4.5%, 3rem); }
.bfi-hero__title { color: #fff; font-weight: 700; font-size: clamp(1.3rem, 3.2vw, 2.4rem); line-height: 1.1; }
.bfi-underline { background: url("../images/Bridgetoinnovation-underline.png") no-repeat center bottom; background-size: 100% 3px; padding-bottom: 9px; }
.bfi-hero__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.6%, 1.2rem); width: 100%; margin-top: clamp(1.4rem, 6vh, 3rem); }
.bfi-card {
  position: relative; aspect-ratio: 245 / 139; min-height: 76px;
  background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
}
.bfi-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.07) 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.6), 0 8px 24px rgba(0,0,0,0.18);
}
/* white card shape cross-fades in on hover, preserving the organic shape */
.bfi-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
  opacity: 0; transition: opacity .3s ease;
}
.bfi-card--viability { background-image: url("../images/Bridgetoinnovation-Viability-Card.png"); }
.bfi-card--viability::before {
  -webkit-mask-image: url("../images/Bridgetoinnovation-Viability-Card.png");
  mask-image: url("../images/Bridgetoinnovation-Viability-Card.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.bfi-card--viability::after { background-image: url("../images/Bridgetoinnovation-Viability-Card-white.png"); }
.bfi-card--security  { background-image: url("../images/Bridgetoinnovation-Security-Card.png"); }
.bfi-card--security::before {
  -webkit-mask-image: url("../images/Bridgetoinnovation-Security-Card.png");
  mask-image: url("../images/Bridgetoinnovation-Security-Card.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.bfi-card--security::after  { background-image: url("../images/Bridgetoinnovation-Security-Card-white.png"); }
.bfi-card--equity    { background-image: url("../images/Bridgetoinnovation-Equity-Card.png"); }
.bfi-card--equity::before {
  -webkit-mask-image: url("../images/Bridgetoinnovation-Equity-Card.png");
  mask-image: url("../images/Bridgetoinnovation-Equity-Card.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.bfi-card--equity::after    { background-image: url("../images/Bridgetoinnovation-Equity-Card-white.png"); }
.bfi-card:hover::after { opacity: 1; }
.bfi-card__in {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(.6rem, 1.4%, 1rem);
}
.bfi-card__title { display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 700; font-size: clamp(.9rem, 1.4vw, 1.15rem); }
.bfi-arrow { height: 13px; width: auto; opacity: 0; transform: translateX(-4px); transition: opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.bfi-card__desc {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  color: rgba(255,255,255,.9); font-size: clamp(.68rem, .95vw, .82rem); line-height: 1.4; font-weight: 400;
  transition: max-height .4s ease, opacity .35s ease, margin-top .4s ease;
}
.bfi-card:hover .bfi-arrow { opacity: 1; transform: translateX(0); }
.bfi-card:hover .bfi-card__title { color: #3C64B1; }
.bfi-card:hover .bfi-card__desc { max-height: 6em; opacity: 1; margin-top: .5rem; color: #757575; }
.bfi-hero__cta { position: absolute; left: 0; right: 0; bottom: 56px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem 1.1rem; padding-inline: clamp(1.3rem, 4.5%, 3rem); }
.bfi-hero__caption { color: rgba(255,255,255,.92); font-size: clamp(.78rem, 1.1vw, 1rem); }
.bfi-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.2rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.7);
  color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: default;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.bfi-btn:hover { background: #fff; color: #1c2f63; border-color: #fff; }
