/* info.dfa.plus: the DFA product site. Brand from faultanticipation.com (as data.dfa.plus), with darker, photo-led
   sections. Single stylesheet, no framework. */

@font-face {
  font-family: 'IBM Plex Sans';
  src: url(ibm-plex-sans-latin-e2291e842c.woff2) format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --mahogany: #3C0001;
  --cherry: #500000;
  --maroon: #7E1F24;
  --night: #170304;          /* dark sections */
  --night-2: #240607;
  --band: #F0F6FC;
  --text: #30363D;
  --text-2: #424242;
  --muted: #5F6873;
  --rule: #D7DBE0;
  --white: #FFFFFF;
  --spark: #E98316;          /* the waveform orange of the PS mark: signals, highlights */
  --spark-2: #F5B26B;
  --on-dark: #F4ECEC;
  --on-dark-2: #C9B7B8;
  --wrap: 1200px;
  --prose: 700px;
  --gutter: 24px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 4, 5, .08), 0 8px 24px rgba(20, 4, 5, .10);
  --shadow-lg: 0 2px 6px rgba(20, 4, 5, .12), 0 24px 60px rgba(20, 4, 5, .22);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.6 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--mahogany); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--prose); }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--mahogany); letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6.2vw, 76px); text-transform: uppercase; letter-spacing: -.015em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--maroon); max-width: 640px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 18px;
}
.eyebrow::before { content: ''; display: block; width: 56px; height: 2px; background: currentColor; margin-bottom: 18px; }
.center { text-align: center; }
.center .eyebrow::before { margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---- header --------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-site { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mahogany);
  text-decoration: none; border-left: 1px solid var(--rule); padding-left: 14px; white-space: nowrap; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current] { color: var(--maroon); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--maroon); }
.nav .btn { color: var(--white); text-transform: none; letter-spacing: 0; padding: 9px 16px; font-size: 15px; }
.nav .btn:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--mahogany); margin: 4px 0; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current] { box-shadow: none; }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* ---- buttons -------------------------------------------------------------------------------------- */
.btn { display: inline-block; background: var(--mahogany); color: var(--white); text-decoration: none; font-weight: 500;
  padding: 14px 22px; border-radius: 8px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--maroon); color: var(--white); transform: translateY(-1px); }
.btn.spark { background: var(--spark); color: #1d0b00; }
.btn.spark:hover { background: var(--spark-2); color: #1d0b00; }
.btn.ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .35); }
.btn.ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn.line { background: transparent; color: var(--mahogany); border-color: var(--mahogany); }
.btn.line:hover { background: var(--mahogany); color: var(--white); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.go { font-weight: 600; color: var(--maroon); text-decoration: none; white-space: nowrap; }
.go::after { content: ' \2192'; transition: margin .15s ease; }
a:hover .go::after, .go:hover::after { margin-left: 4px; }

/* ---- bands ---------------------------------------------------------------------------------------- */
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band.tight { padding: clamp(48px, 6vw, 80px) 0; }
.band.pale { background: var(--band); }
.band.dark { background: radial-gradient(120% 90% at 85% 0%, #3a0a0c 0%, var(--night-2) 45%, var(--night) 100%); color: var(--on-dark); }
.band.dark h1, .band.dark h2, .band.dark h3 { color: var(--white); }
.band.dark .eyebrow { color: var(--spark-2); }
.band.dark .lede { color: var(--on-dark); }
.band.dark a:not(.btn) { color: var(--spark-2); }
.band.maroon { background: var(--maroon); color: var(--white); }
.band.maroon h2, .band.maroon h3 { color: var(--white); }
.band.maroon .eyebrow { color: #F3D9DA; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---- hero ----------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--spark); }
.hero .lede { color: var(--on-dark); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 1; opacity: .9; pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-wave .w1 { stroke: var(--spark); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s ease-out .3s forwards; filter: drop-shadow(0 0 6px rgba(233, 131, 22, .55)); }
.hero-wave .w2 { stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-wave .w1 { animation: none; stroke-dashoffset: 0; } }

/* the hero's "from signal to find" composite */
.find { position: relative; }
.find-card { background: var(--white); color: var(--text); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.find-alert { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.find-alert .chip { grid-row: span 2; }
.find-alert b { color: var(--mahogany); font-size: 17px; }
.find-alert small { color: var(--muted); font-size: 13px; }
.find-photo { position: relative; }
.find-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.find-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: var(--white); font-size: 14px;
  background: linear-gradient(transparent, rgba(10, 0, 0, .78)); }
.find-photo figcaption b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--spark-2); }
.find-link { position: absolute; left: -26px; top: 50%; width: 26px; border-top: 2px dashed var(--spark); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .find { max-width: 520px; }
  .find-link { display: none; }
}

/* ---- chips ---------------------------------------------------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #FBEDE2; color: #8A3D00; white-space: nowrap; }
.chip.arc { background: #FBEDE2; color: #8A3D00; }
.chip.fault { background: #F9E3E4; color: var(--maroon); }
.chip.prot { background: #E7ECF8; color: #2B3A78; }
.chip.veg { background: #E5F2E7; color: #1E5B2A; }
.chip.app { background: #EDEFF2; color: var(--text-2); }
.chip.dark { background: rgba(255, 255, 255, .1); color: var(--spark-2); }

/* ---- stats ---------------------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { border-top: 3px solid var(--maroon); padding: 16px 4px 0; }
.stat .v { display: block; font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; color: var(--mahogany); line-height: 1.05; letter-spacing: -.02em; }
.stat .l { display: block; font-size: 15px; color: var(--text-2); margin-top: 8px; line-height: 1.4; }
.band.dark .stat { border-top-color: var(--spark); }
.band.dark .stat .v { color: var(--white); }
.band.dark .stat .l { color: var(--on-dark-2); }
.asof { font-size: 14px; color: var(--muted); margin-top: 18px; }
.band.dark .asof { color: var(--on-dark-2); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- logos / named users -------------------------------------------------------------------------- */
.users { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 0; padding: 0; list-style: none; }
.users li { font-size: 15px; font-weight: 500; color: var(--text-2); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px; background: var(--white); }

/* ---- case cards ----------------------------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.case { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.case .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2a0b0c; }
.case .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case:hover .ph img { transform: scale(1.04); }
.case .ph .chip { position: absolute; left: 14px; top: 14px; }
.case .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case h3 { font-size: 21px; margin-bottom: 10px; }
.case p { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.case .meta { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.case .meta b { color: var(--maroon); font-weight: 600; }
.cases.feature { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
.cases.feature .case:first-child { grid-row: span 2; }
.cases.feature .case:first-child .ph { aspect-ratio: auto; flex: 1; min-height: 320px; }
.cases.feature .case:first-child h3 { font-size: 27px; }
@media (max-width: 980px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cases.feature { grid-template-columns: 1fr; } .cases.feature .case:first-child { grid-row: auto; } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { font: inherit; font-size: 14px; border: 1px solid var(--rule); background: var(--white); color: var(--text-2);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--mahogany); border-color: var(--mahogany); color: var(--white); }
.case[hidden] { display: none; }

/* ---- flow (waveform to work order) ---------------------------------------------------------------- */
.flow { display: grid; gap: clamp(56px, 7vw, 96px); }
.step { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%;
  border: 2px solid var(--spark); color: var(--spark); font-weight: 600; margin-bottom: 16px; }
.band:not(.dark) .step-num { border-color: var(--maroon); color: var(--maroon); }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); }
.step p { font-size: 17px; }
.band.dark .step p { color: var(--on-dark); }
.step ul { padding-left: 1.1em; margin: 0; }
.step li { margin: 4px 0; }
@media (max-width: 900px) { .step, .step:nth-child(even) { grid-template-columns: 1fr; } .step:nth-child(even) .step-text { order: 0; } }

/* framed app screens */
.screen { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 0, 0, .08); }
.screen .bar { height: 34px; background: #ECEEF1; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #DADDE2; }
.screen .bar i { width: 11px; height: 11px; border-radius: 50%; background: #D3D6DB; }
.screen .bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.band.dark .screen { border-color: rgba(255, 255, 255, .12); }
.screen-cap { font-size: 14px; color: var(--muted); margin-top: 12px; }
.band.dark .screen-cap { color: var(--on-dark-2); }
.phone { margin: 0 auto; width: min(320px, 80%); border-radius: 38px; padding: 12px; background: #111; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 28px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: end; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* ---- detects grid --------------------------------------------------------------------------------- */
.detects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.det { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 20px; }
.det svg { width: 40px; height: 40px; color: var(--maroon); margin-bottom: 12px; }
.det h3 { font-size: 18px; margin-bottom: 6px; }
.det p { font-size: 15px; color: var(--text-2); margin: 0; line-height: 1.5; }
@media (max-width: 980px) { .detects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .detects { grid-template-columns: 1fr; } }

/* ---- roles ---------------------------------------------------------------------------------------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.role { padding: 28px 26px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.role h3 { font-size: 20px; }
.role p { color: #F6E3E4; font-size: 16px; margin: 0; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

/* ---- quote ---------------------------------------------------------------------------------------- */
.quote { margin: 0; max-width: 920px; }
.quote p { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; font-weight: 500; color: var(--mahogany); margin: 0 0 18px; }
.quote p::before { content: '\201C'; } .quote p::after { content: '\201D'; }
.quote cite { font-style: normal; color: var(--muted); font-size: 15px; }
.band.dark .quote p { color: var(--white); }
.band.dark .quote cite { color: var(--on-dark-2); }

/* ---- timeline ------------------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 112px; top: 6px; bottom: 6px; width: 2px; background: var(--rule); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 46px; padding: 0 0 28px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 106px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--maroon); }
.timeline .yr { font-weight: 600; color: var(--maroon); text-align: right; font-size: 18px; }
.timeline h3 { font-size: 19px; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--text-2); }

/* ---- case page ------------------------------------------------------------------------------------ */
.case-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--night); }
.case-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.case-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 3, 4, .15) 0%, rgba(23, 3, 4, .55) 55%, rgba(23, 3, 4, .95) 100%); }
.case-hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); width: 100%; }
.case-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 62px); max-width: 980px; text-transform: none; letter-spacing: -.015em; }
.case-hero .lede { color: var(--on-dark); max-width: 760px; }
.crumb { font-size: 14px; margin-bottom: 18px; }
.crumb a { color: var(--spark-2); text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.facts div { padding: 16px 18px 0 0; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--spark-2); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 18px; font-weight: 500; color: var(--white); line-height: 1.35; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); }
.story-main h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.story-main h2:first-child { margin-top: 0; }
.story-main p { font-size: 18px; line-height: 1.65; }
.beat { display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-bottom: 30px; }
.beat .ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--band); color: var(--maroon); font-weight: 600; }
.beat h2 { margin-top: 6px !important; font-size: 22px !important; }
.aside { position: sticky; top: 96px; align-self: start; }
.aside .box { border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.aside h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.aside ul { margin: 0; padding-left: 1.1em; font-size: 15px; }
.aside li { margin: 6px 0; }
.aside p { font-size: 15px; margin: 0; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .aside { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 28px 0; }
.fig { margin: 0; }
.fig a { display: block; border-radius: var(--radius); overflow: hidden; background: #f4f5f7; border: 1px solid var(--rule); }
.fig img { width: 100%; }
.fig figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.fig.wide { grid-column: 1 / -1; }
.pull { border-left: 4px solid var(--spark); padding: 4px 0 4px 20px; margin: 28px 0; font-size: 21px; line-height: 1.45; color: var(--mahogany); font-weight: 500; }
.source { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 36px; }
.next-cases { margin-top: 0; }

/* ---- publications --------------------------------------------------------------------------------- */
.pubs-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.pubs-tools input, .pubs-tools select { font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 8px; }
.pubs-tools input { flex: 1; min-width: 220px; }
.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pubs .y { font-weight: 600; color: var(--maroon); }
.pubs .t { font-weight: 500; color: var(--text); }
.pubs .a { font-size: 15px; color: var(--text-2); }
.pubs .v { font-size: 14px; color: var(--muted); }
.pubs .tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A3D00; background: #FBEDE2; border-radius: 4px; padding: 2px 6px; margin-left: 6px; }
.pubs li[hidden] { display: none; }
.count { font-size: 14px; color: var(--muted); }

/* ---- venue strip ---------------------------------------------------------------------------------- */
.venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.venue { border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; background: var(--white); }
.venue b { display: block; font-size: 28px; color: var(--mahogany); font-weight: 600; line-height: 1.1; }
.venue span { font-size: 14px; color: var(--text-2); }

/* ---- CTA band ------------------------------------------------------------------------------------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.cta h2 { margin: 0; }
.cta .ctas { justify-content: flex-end; margin: 0; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta .ctas { justify-content: flex-start; } }

/* ---- two-col / split ------------------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 9px; border-left: 2.5px solid var(--spark); border-bottom: 2.5px solid var(--spark); transform: rotate(-45deg); }

/* ---- footer --------------------------------------------------------------------------------------- */
.foot { background: var(--night); color: var(--on-dark-2); padding: 56px 0 40px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.foot a { color: var(--on-dark); text-decoration: none; display: block; margin: 6px 0; }
.foot a:hover { color: var(--spark-2); }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: 13px; }
.foot .mark { display: inline-block; background: var(--white); border-radius: 6px; padding: 8px 10px; margin-bottom: 14px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ---- reveal on scroll ----------------------------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---- lightbox ------------------------------------------------------------------------------------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 2, 3, .92); display: none; align-items: center; justify-content: center; padding: 4vh 4vw; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 92vh; width: auto; border-radius: 6px; box-shadow: var(--shadow-lg); }

/* ---- additions: page heads, contained heroes, quotes, misc -------------------------------------- */
picture { display: contents; }
.page-head { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { color: var(--white); }
.page-head .hero-wave, .case-hero .hero-wave { height: 60%; opacity: .55; }
.users-head { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 48px 0 18px; }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat small { color: var(--muted); font-size: 13px; }
.device-fig { margin: 0; background: var(--white); border-radius: 14px; padding: clamp(18px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.device-fig.light { box-shadow: var(--shadow); border: 1px solid var(--rule); }
.device-fig img { width: 100%; }
.fig-photo { margin: 0; }
.fig-photo img { border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.screen-wrap, .phone-wrap { margin: 0; }
.duo.phones { grid-template-columns: 1fr 1fr; align-items: start; }
.split.top { align-items: start; }

/* case hero variants */
.case-hero.contain, .case-hero.bare { min-height: 0; align-items: center; background: radial-gradient(120% 90% at 85% 0%, #3a0a0c 0%, var(--night-2) 45%, var(--night) 100%); }
.case-hero.contain::after, .case-hero.bare::after { display: none; }
.case-hero.contain .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(56px, 7vw, 96px); }
.case-hero.bare .wrap { padding-top: clamp(56px, 7vw, 96px); }
.case-hero-media { margin: 0; }
.case-hero-media a { display: block; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); }
.case-hero-media img { width: 100%; max-height: 520px; object-fit: contain; }
@media (max-width: 900px) { .case-hero.contain .wrap { grid-template-columns: 1fr; } }

.find-block .who { font-size: 14px; font-weight: 600; color: var(--maroon); letter-spacing: .04em; margin: -4px 0 10px; }
.fig.narrow { max-width: 560px; }
.loop { border-radius: var(--radius); overflow: hidden; background: #0b2a6b; max-width: 640px; }
.loop img { width: 100%; }
.pull cite { display: block; font-size: 14px; font-style: normal; font-weight: 400; color: var(--muted); margin-top: 10px; }
.aside .box ul { list-style: none; padding: 0; }
.aside .box li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.aside .box li:last-child { border-bottom: 0; }
.dark-box { background: var(--night); border-color: var(--night) !important; color: var(--on-dark); }
.dark-box h4 { color: var(--spark-2) !important; }

/* blank and figure card media */
.case .ph.blank { display: flex; align-items: center; justify-content: center; background: radial-gradient(100% 120% at 80% 0%, #4a0d10, var(--night)); }
.case .ph.blank svg { width: 72px; height: 72px; color: rgba(255, 255, 255, .55); }
.case .ph.fig { background: var(--white); border-bottom: 1px solid var(--rule); }
.case .ph.fig img { object-fit: contain; padding: 10px; }

/* quote cards */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.qcard { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px 24px 20px; border-top: 3px solid var(--spark); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.qcard p { font-size: 18px; line-height: 1.45; color: var(--mahogany); font-weight: 500; margin-bottom: 16px; }
.qcard cite { margin-top: auto; font-style: normal; font-size: 14px; color: var(--muted); }
.qcard cite b { color: var(--text); font-weight: 600; }

.detects.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .detects.three { grid-template-columns: 1fr; } }
.band.maroon .venue { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.band.maroon .venue b { color: var(--white); }
.band.maroon .venue span { color: #F3D9DA; }
.band.maroon p { color: #F6E3E4; }

/* ---- layout fixes after the first render ------------------------------------------------------- */
.hero { padding-bottom: clamp(150px, 15vw, 210px); }
.hero-wave { height: 170px; bottom: 8px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.page-head .hero-wave, .case-hero .hero-wave { height: 130px; bottom: 0; opacity: .45; }
.page-head { padding-bottom: clamp(110px, 11vw, 150px); }
.btn.ghost { background: rgba(255, 255, 255, .04); }
.cases.feature .case:first-child .ph { flex: 1 1 auto; min-height: 360px; }
.cases.feature .case:first-child .bd { flex: 0 0 auto; }
.device-fig img { max-width: 515px; margin: 0 auto; }
.duo { grid-template-columns: minmax(0, 1fr) 250px; }
.duo .phone { width: 100%; }
.duo.phones { grid-template-columns: 1fr 1fr; gap: 24px; }
.duo.phones .phone { width: min(260px, 100%); }
.fig.narrow img { width: auto; max-width: 100%; }
@media (max-width: 560px) { .find-alert { grid-template-columns: 1fr; } .find-alert .chip { grid-row: auto; justify-self: start; } }
