/* Advanced Clean Air Solutions case study.
   Same page system as the Qata study: a narrow label column and a wide content column, mockups on quiet grey stages.
   The page stays neutral (Geist, greys). Only the browser mockup uses the real site: Roboto, Instrument Serif, its colors. */

:root {
  --bg: #f7f7f6;
  --fg: #151515;
  --muted: #6c6c6a;
  --line: #e3e3e0;
  --stage: #f0f0ee;
  --stage-2: #e7e7e4;
  --raised: #ffffff;
  --dot: rgba(20, 20, 20, .28);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* ---------- top bar ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top-in { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.top-link { text-decoration: none; font-size: 14px; }
.top-link.dim { color: var(--muted); }
.top-link:hover { color: var(--fg); }

/* ---------- intro ---------- */
.intro { padding-top: 72px; padding-bottom: 48px; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; max-width: 900px; }
.meta dt { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.meta dd { font-family: var(--mono); font-size: 13px; }
h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.lede { margin-top: 24px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.45; color: var(--muted); max-width: 46ch; }

/* ---------- stages ---------- */
.stage { background: var(--stage); border-radius: var(--r); position: relative; overflow: hidden; overflow: clip; }
.stage-hero { padding: 56px 24px 48px; display: flex; justify-content: center; }
.figcap { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 88px; padding-bottom: 24px; }
.num b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); max-width: 24ch; line-height: 1.5; }

/* ---------- sections ---------- */
.sec { padding-top: 104px; padding-bottom: 0; }
.sec + .sec { padding-top: 88px; }
.row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 48px; }
.lab { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); padding-top: 8px; letter-spacing: 0; }
.body { min-width: 0; }
.title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.lead p { font-size: clamp(20px, 2.1vw, 25px); line-height: 1.42; letter-spacing: -.01em; max-width: 720px; }
.lead p + p { margin-top: 20px; }
.muted { color: var(--muted); }
.prose { margin-top: 28px; max-width: 700px; }
.prose p { font-size: 18px; line-height: 1.6; }
.prose p + p { margin-top: 16px; }
.intro-p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 56ch; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.facts > div { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.fico { width: 40px; height: 40px; border-radius: 10px; background: var(--stage); display: grid; place-items: center; margin-bottom: 18px; }
.fico svg { width: 20px; height: 20px; }
.facts h4, .principles h4, .learn h4 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.facts p, .principles p, .learn p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 46ch; }

.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.principles li { padding-top: 18px; border-top: 1px solid var(--line); }

.learn { margin-top: 36px; }
.learn article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.learn article p { margin-top: 0; font-size: 16px; }

/* feature grid */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; margin-top: 44px; }
.feat { margin: 0; min-width: 0; }
.fx { aspect-ratio: 6 / 5; max-width: 100%; }
.feat figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.feat figcaption b { font-weight: 500; color: var(--fg); margin-right: 6px; }

/* try it */
.tools { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.tool { font-size: 14px; border: 1px solid var(--line); background: var(--raised); border-radius: 999px; padding: 7px 14px; }
.tool:hover { border-color: var(--fg); }
.stage-try { margin-top: 36px; padding: 48px 24px; display: flex; justify-content: center; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 120px; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.foot a { text-decoration: none; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; }
.foot a:hover { color: var(--muted); }

/* progress pill */
.prog { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; }
.prog-btn { display: flex; align-items: center; gap: 9px; background: var(--raised); color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 7px; font-family: var(--mono); font-size: 12px; white-space: nowrap; box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .35); }
.ring { width: 20px; height: 20px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--fg); stroke-linecap: round; }
.pct { display: none; }
.prog-menu { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 6px; min-width: 190px; opacity: 0; pointer-events: none; transition: .18s; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3); }
.prog.open .prog-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.prog-menu a { display: block; text-decoration: none; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 8px 10px; border-radius: 9px; }
.prog-menu a:hover, .prog-menu a.on { background: var(--stage); color: var(--fg); }
/* ---------- responsive ---------- */
@media (max-width: 1100px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 14px; }
  .lab { padding-top: 0; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principles li { padding: 18px 0 20px; }
  .learn article { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body { font-size: 16px; }
  .intro { padding-top: 40px; padding-bottom: 32px; }
  .meta { grid-template-columns: 1fr 1fr; row-gap: 16px; margin-bottom: 36px; }
  .numbers { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; }
  .sec { padding-top: 80px; }
  .sec + .sec { padding-top: 64px; }
  .facts { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}


/* ================================================================
   HERO MOCKUP: the real site in a browser window, rebuilt in code.
   Drawn at 1180 × 720 and scaled to fit (main.js sets --s).
   Copy, fonts and colors come from advancedcleanairsolutions.com.
   ================================================================ */
.stage-hero { padding: 40px 24px; display: block; }
.fit { position: relative; margin: 0 auto; }
.br { --blue: #6f91c8; --mint: #b9e4bf; --ink: #121212; position: absolute; left: 0; top: 0; width: 1180px; height: 720px; transform: scale(var(--s, 1)); transform-origin: 0 0; background: #fff; border-radius: 14px; overflow: hidden; overflow: clip; display: flex; flex-direction: column; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .28); font-family: Roboto, ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); letter-spacing: 0; text-align: left; }
.br * { box-sizing: border-box; }
.br .i { display: block; flex: none; }
.br-bar { height: 40px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f3f3f1; border-bottom: 1px solid #e3e3e0; }
.br-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d2; display: block; }
.br-url { margin: 0 auto; transform: translateX(-26px); background: #fff; border-radius: 7px; padding: 3px 18px; font-family: var(--font); font-size: 12px; line-height: 18px; color: var(--muted); }
.vp { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; background: #fff; transition: opacity .45s; }
.vp.fade { opacity: 0; }
.scr { position: absolute; left: 0; right: 0; top: 0; transition: transform 1.6s cubic-bezier(.65, 0, .2, 1); will-change: transform; }
.pg { position: relative; height: 680px; overflow: hidden; overflow: clip; }
.snap, .snap * { transition: none !important; }

/* nav */
.nv { position: absolute; left: 0; right: 0; top: 0; height: 72px; z-index: 6; display: flex; align-items: center; gap: 24px; padding: 0 44px; color: #fff; font-size: 16px; transition: background .5s, color .5s, box-shadow .5s; }
.nv.light { background: rgba(255, 255, 255, .86); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nv-logo { display: flex; align-items: center; gap: 7px; margin-right: auto; font-family: 'EB Garamond', Georgia, serif; font-weight: 400; font-size: 23px; letter-spacing: 0; }
.nv-logo img { display: block; width: 25px; height: 24px; }
.nv-pill { padding: 7px 16px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.nv-pill.fill { display: flex; align-items: center; gap: 7px; background: var(--blue); border-color: transparent; color: #fff; }

/* page 1: hero */
.p-hero { display: flex; flex-direction: column; justify-content: center; padding: 72px 44px 0; background: #2b2926 url('/studies/acas/images/new-hero.webp') center top / 1640px auto no-repeat; color: #fff; }
/* dark to transparent behind the text, as on the live site */
.p-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .58) 34%, rgba(0, 0, 0, .18) 60%, rgba(0, 0, 0, 0) 76%), linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 22%), linear-gradient(0deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 34%); }
.h-in { position: relative; }
.h-in h2 { font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.h-in h2 em { display: block; font-family: 'Instrument Serif', Georgia, serif; font-size: 48px; font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.h-in > p { margin-top: 16px; font-size: 17px; font-weight: 300; color: #e5e5e5; }
.cta { display: inline-block; margin-top: 26px; padding: 12px 24px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 400; }

/* page 2: moments */
.p-cards { display: flex; flex-direction: column; justify-content: center; padding: 72px 44px 0; background: linear-gradient(135deg, var(--mint), var(--blue)); text-align: center; }
.p-cards h2 { font-size: 40px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
.p-cards > p { margin: 14px auto 0; max-width: 780px; font-size: 15px; font-weight: 300; }
.c3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; text-align: left; }
.cd { display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.cd:nth-child(2) { transition-delay: .12s; }
.cd:nth-child(3) { transition-delay: .24s; }
.p-cards.on .cd { opacity: 1; transform: none; }
.cd-i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--mint), var(--blue)); }
.cd h3 { margin-top: 14px; font-size: 22px; line-height: 1.2; font-weight: 400; letter-spacing: -.01em; }
.cd p { margin-top: 10px; font-size: 14px; line-height: 1.5; font-weight: 300; color: #444; }
.cd b { margin-top: auto; display: block; padding: 10px 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; text-align: center; }
.cd p + b { margin-top: 16px; }

/* page 3: contact */
.p-form { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; padding: 72px 44px 0; background: radial-gradient(60% 70% at 0% 70%, rgba(111, 145, 200, .16), rgba(255, 255, 255, 0)), radial-gradient(50% 60% at 100% 90%, rgba(185, 228, 191, .22), rgba(255, 255, 255, 0)), #fff; }
.f-l h2 { font-size: 40px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
.f-l hr { width: 48px; margin: 16px 0; border: 0; border-top: 1px solid var(--blue); }
.f-l p { max-width: 420px; font-size: 15px; font-weight: 300; }
.f-l .cta { font-size: 15px; font-weight: 500; padding: 12px 24px; }
.slot { position: relative; }
.fc { padding: 22px; border-radius: 24px; background: linear-gradient(135deg, var(--mint), var(--blue)); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .3); }
.fc h3 { font-size: 24px; line-height: 34px; font-weight: 400; text-align: center; margin-bottom: 12px; }
.fi { display: flex; align-items: center; height: 42px; margin-bottom: 9px; padding: 0 18px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 300; color: #6b7280; transition: box-shadow .2s; white-space: nowrap; overflow: hidden; }
.fi.area { height: 66px; align-items: flex-start; padding-top: 10px; border-radius: 18px; white-space: normal; line-height: 1.3; }
.fi.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.fi.val { color: var(--ink); font-weight: 400; }
.go { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: #fff; font-size: 16px; font-weight: 500; transition: background .3s, color .3s; }
.go.done { background: var(--ink); color: #fff; }

/* the old form, wiped away */
.oldf { position: absolute; inset: 0; z-index: 2; padding: 34px 26px 24px; border-radius: 14px; background: #dd5500; clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.65, 0, .2, 1); }
.oldf.gone { clip-path: inset(0 100% 0 0); }
.o2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.oldf span { display: flex; align-items: center; height: 42px; padding: 0 12px; background: #fff; border-radius: 4px; font-size: 13px; color: #9aa0a6; }
.oldf .w { margin-bottom: 12px; }
.oldf .t { height: 84px; align-items: flex-start; padding-top: 10px; }
.oldf .sb { width: 150px; margin: 18px 0 0 auto; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 700; color: #111; }

/* the old hero, wiped away */
.old { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: #3c4a5a url('/studies/acas/images/before-bg.jpg') center / cover no-repeat; font-family: Inter, ui-sans-serif, system-ui, sans-serif; clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.65, 0, .2, 1); }
.ob { width: 944px; padding: 32px 40px 22px; border-radius: 12px; background: #fff; color: #1a3a5c; text-align: center; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); }
.ob h2 { font-family: Tinos, 'Times New Roman', serif; font-size: 43px; line-height: 1.07; font-weight: 700; }
.ob .sub { margin-top: 12px; font-size: 17px; line-height: 1.55; font-weight: 600; }
.ob hr { width: 38px; height: 3px; margin: 13px auto; border: 0; background: #ec6a17; }
.ob .tx { font-size: 16px; line-height: 1.55; color: #5b6472; }
.ob .b1 { display: block; width: max-content; margin: 22px auto 0; padding: 12px 34px; border-radius: 999px; background: #ec6a17; color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(236, 106, 23, .7); }
.ob .b2 { margin-top: 20px; background: #1a3a5c; box-shadow: 0 6px 16px -8px rgba(26, 58, 92, .7); }
.ob .b2 em { font-style: normal; font-weight: 400; margin-right: 4px; }
.ob small { display: block; max-width: 400px; margin: 11px auto 0; font-size: 12.5px; line-height: 1.45; font-style: italic; color: #6b7280; }
.ob .ck { display: flex; justify-content: center; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef0f3; font-size: 13px; font-weight: 600; }
.ob .ck span { display: flex; align-items: center; gap: 7px; }
.ob .ck i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #1a3a5c; color: #fff; }
.old.gone { clip-path: inset(0 100% 0 0); }

/* wipe line */
.wl { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; margin-left: -1px; z-index: 9; background: #fff; opacity: 0; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.wl::after { content: '‹ ›'; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; color: #151515; font-family: var(--font); font-size: 15px; line-height: 36px; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.wl.run { opacity: 1; left: 0; transition: left 1.5s cubic-bezier(.65, 0, .2, 1), opacity .2s; }
.wl.out { opacity: 0; }

/* before / after tag */
.tag { position: absolute; left: 16px; bottom: 16px; z-index: 10; padding: 4px 11px; border-radius: 999px; background: rgba(20, 20, 20, .74); color: #fff; font-family: var(--mono); font-size: 12px; line-height: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* soft cursor, as in the Qata study */
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(20, 20, 20, .22); border: 1.5px solid rgba(255, 255, 255, .9); z-index: 20; pointer-events: none; opacity: 0; transition: translate .7s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.cursor.show { opacity: 1; }
.cursor.tap { animation: ctap .4s ease-out; }
@keyframes ctap { 40% { scale: .75; } }
@media (max-width: 640px) { .stage-hero { padding: 16px 8px; } }

/* ================================================================
   FEATURE ANIMATIONS (real card and section copy from the site)
   ================================================================ */
.art { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: 50% 50%; }
.tapdot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(20, 20, 20, .28); pointer-events: none; opacity: 0; z-index: 30; }
.tapdot.on { animation: tapd .6s ease-out forwards; }
@keyframes tapd { 0% { opacity: 0; transform: scale(1.4); } 30% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1); } }
.m { --blue: #6f91c8; --mint: #b9e4bf; --ink: #121212; width: 520px; font-family: Roboto, ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: #121212; letter-spacing: 0; text-align: left; }
.m * { box-sizing: border-box; }
.m .i { display: block; flex: none; }

/* palette */
.pl { position: relative; height: 336px; display: grid; place-items: center; border-radius: 14px; overflow: hidden; overflow: clip; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .25); }
.pl-b { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.b0 { background: #1a3a5c; }
.b1 { background: linear-gradient(135deg, var(--mint), var(--blue)); }
.pl[data-dir="0"] .b0, .pl[data-dir="1"] .b1 { opacity: 1; }
.pl-card { position: relative; width: 372px; padding: 24px 26px 26px; border: 1px solid transparent; border-radius: 12px; background: #fff; transition: opacity .24s; }
.pl-card.swap { opacity: 0; }
.pl-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 10px; color: #fff; }
.pl-card h4 { font-size: 22px; line-height: 1.2; }
.pl-card p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.pl[data-dir="0"] .pl-ic { background: #ec6a17; }
.pl[data-dir="0"] h4 { font-family: Tinos, 'Times New Roman', serif; font-weight: 700; color: #1a3a5c; }
.pl[data-dir="0"] p { color: #5b6472; }
.pl[data-dir="1"] .pl-card { border-radius: 20px; background: linear-gradient(135deg, #fff 58%, #edf6ee); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35); }
.pl[data-dir="1"] .pl-ic { border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--mint)); }
.pl[data-dir="1"] h4 { font-weight: 500; }
.pl[data-dir="1"] p { font-size: 17px; font-weight: 300; }
.pl-tabs { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.pl-tabs span { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--muted); font-family: var(--mono); font-size: 12px; transition: background .3s, color .3s; }
.pl-tabs span.on { background: var(--fg); border-color: transparent; color: var(--bg); }

/* sections */
.sc { position: relative; height: 414px; border-radius: 14px; overflow: hidden; overflow: clip; background: #1a3a5c; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .25); transition: background .9s, opacity .45s; }
.sc.after { background: #fff; }
.sc.gone { opacity: 0; }
.sc-old { position: absolute; inset: 0; padding: 30px 34px; color: #cfe0f0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.sc-k { display: block; font-family: Tinos, 'Times New Roman', serif; font-size: 12px; letter-spacing: .08em; color: #7fb6e6; }
.sc-old h4 { margin-top: 8px; font-family: Tinos, 'Times New Roman', serif; font-size: 30px; line-height: 1.1; font-weight: 700; color: #fff; }
.sc-old hr { width: 34px; height: 2px; margin: 12px 0; border: 0; background: #7fb6e6; }
.sc-old p { font-size: 13px; line-height: 1.6; }
.sc-old p + p { margin-top: 9px; }
.sc-old > * { transition: opacity .5s, filter .5s, transform .5s; }
.sc.after .sc-old > * { opacity: 0; filter: blur(6px); transform: translateY(-8px); }
.sc.after .sc-old > :nth-last-child(1) { transition-delay: 0s; }
.sc.after .sc-old > :nth-last-child(2) { transition-delay: .08s; }
.sc.after .sc-old > :nth-last-child(3) { transition-delay: .16s; }
.sc.after .sc-old > :nth-last-child(4) { transition-delay: .24s; }
.sc.after .sc-old > :nth-last-child(5) { transition-delay: .3s; }
.sc-new { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; background: radial-gradient(60% 70% at 0% 70%, rgba(111, 145, 200, .14), rgba(255, 255, 255, 0)), radial-gradient(50% 60% at 100% 90%, rgba(185, 228, 191, .2), rgba(255, 255, 255, 0)); }
.sc-new h4 { font-size: 32px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
.sc-new hr { width: 52px; margin: 20px 0; border: 0; border-top: 1px solid var(--blue); }
.sc-new p { font-size: 15px; font-weight: 300; line-height: 1.45; }
.sc-new p + p { margin-top: 12px; }
.sc-cta { margin-top: 24px; padding: 10px 22px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; }
.sc-new > * { opacity: 0; transform: translateY(12px); transition: opacity .55s, transform .55s; }
.sc.after .sc-new > * { opacity: 1; transform: none; }
.sc.after .sc-new > :nth-child(1) { transition-delay: .7s; }
.sc.after .sc-new > :nth-child(2) { transition-delay: .82s; }
.sc.after .sc-new > :nth-child(3) { transition-delay: .94s; }
.sc.after .sc-new > :nth-child(4) { transition-delay: 1.08s; }
.sc.after .sc-new > :nth-child(5) { transition-delay: 1.22s; }
.sc.after .sc-new > :nth-child(6) { transition-delay: 1.4s; }
.m .tag { left: 12px; bottom: 12px; font-size: 11px; }
.m .sc .tag { left: auto; right: 12px; top: 12px; bottom: auto; }

/* ================================================================
   BRAND MORPH: the hero on phones, where the browser window would be too small.
   Same story at full size: old identity, wipe, new identity. Drawn at 360 × 668.
   To use it on every screen, drop the two display rules below and hide #hero-demo.
   ================================================================ */
#hero-morph { display: none; position: relative; aspect-ratio: 360 / 668; }
@media (max-width: 640px) {
  #hero-demo { display: none; }
  #hero-morph { display: block; }
}
.m.mm { width: 360px; }
.mm-f { position: relative; height: 600px; border-radius: 16px; overflow: hidden; overflow: clip; background: #2b2926; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .3); transition: opacity .45s; }
.mm-f.fade { opacity: 0; }

.mm-new { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 0 24px 36px; color: #fff; text-align: left; background: url('/studies/acas/images/new-hero.webp') -715px 50% / auto 100% no-repeat; }
.mm-new::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .04) 30%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .78) 86%); }
.mm-new > * { position: relative; }
.mm-top { position: absolute !important; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; justify-content: space-between; }
.mm-top img { display: block; width: 42px; height: 40px; }
.mm-top .nv-pill { --blue: #6f91c8; padding: 8px 15px; font-size: 15px; }
.mm-new h2 { font-size: 26px; line-height: 1.14; font-weight: 500; letter-spacing: -.03em; }
.mm-new h2 em { display: block; margin-top: 2px; font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; line-height: 1.1; font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.mm-new p { margin-top: 12px; font-size: 15px; line-height: 1.4; font-weight: 300; color: #e5e5e5; }
.mm-cta { margin-top: 20px; padding: 11px 22px; border-radius: 999px; background: var(--blue); font-size: 15px; transition: transform .2s; }
.mm-cta.press { transform: scale(.97); }

.mm-old { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0 14px; background: #3c4a5a url('/studies/acas/images/before-bg.jpg') 74% 50% / cover no-repeat; font-family: Inter, ui-sans-serif, system-ui, sans-serif; clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.65, 0, .2, 1); }
.mm-old.gone { clip-path: inset(0 100% 0 0); }
.mm-ob { padding: 26px 20px 24px; border-radius: 12px; background: #fff; color: #1a3a5c; text-align: center; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); }
.mm-ob h2 { font-family: Tinos, 'Times New Roman', serif; font-size: 32px; line-height: 1.1; font-weight: 700; }
.mm-ob hr { width: 38px; height: 3px; margin: 14px auto; border: 0; background: #ec6a17; }
.mm-ob p { font-size: 16px; line-height: 1.5; font-weight: 600; }
.mm-b { display: block; margin-top: 20px; padding: 12px 16px; border-radius: 999px; background: #ec6a17; color: #fff; font-size: 15px; line-height: 1.3; font-weight: 700; }
.mm-b.nv2 { margin-top: 12px; background: #1a3a5c; }

/* brand strip: type and colors, old to new */
.mm-s { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 56px; margin-top: 12px; padding: 0 14px 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.mm-s .tag { position: static; font-size: 12px; }
.mm-id { position: absolute; left: 18px; top: 0; bottom: 0; display: flex; align-items: center; gap: 8px; transition: opacity .6s; }
.mm-id b { margin-right: 6px; font-size: 30px; line-height: 1; }
.mm-id i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.mm-id.was b { font-family: Tinos, 'Times New Roman', serif; font-weight: 700; color: #1a3a5c; }
.mm-id.was i:nth-of-type(1) { background: #1a3a5c; }
.mm-id.was i:nth-of-type(2) { background: #ec6a17; }
.mm-id.now { opacity: 0; }
.mm-id.now b { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: #121212; }
.mm-id.now i:nth-of-type(1) { background: var(--blue); }
.mm-id.now i:nth-of-type(2) { background: var(--mint); }
.mm-s.after .mm-id.was { opacity: 0; }
.mm-s.after .mm-id.now { opacity: 1; }

/* ================================================================
   THE STEPS: one card, redrawn from the live site's process section
   ================================================================ */
.m.ms { width: 372px; }
.st { position: relative; height: 322px; padding: 28px; overflow: hidden; overflow: clip; border: 1px solid #e6e8ec; border-radius: 26px; background: radial-gradient(70% 60% at 100% 100%, rgba(185, 228, 191, .3), rgba(255, 255, 255, 0)), #fff; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .25); }
.st-top { display: flex; justify-content: space-between; }
.st-n, .st-go { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; }
.st-n { overflow: hidden; overflow: clip; place-items: start center; background: linear-gradient(135deg, var(--blue), var(--mint)); color: #fff; }
.st-r { display: block; transform: translateY(calc(var(--n, 0) * -56px)); transition: transform .7s cubic-bezier(.65, 0, .2, 1); }
.st-r b { display: block; height: 56px; font-size: 29px; line-height: 56px; font-weight: 400; text-align: center; }
.st-go { background: #fff; color: var(--blue); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .22); transition: transform .2s; }
.st-go.press { transform: scale(.92); }
.st-t h4 { margin-top: 14px; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.st-t p { margin-top: 8px; font-size: 16px; line-height: 1.45; font-weight: 300; color: #555; }
.st-t span { display: inline-block; transition: opacity .45s, transform .45s, filter .45s; transition-delay: calc(var(--i) * 13ms); }
.st-t.out span { opacity: 0; transform: translateY(-7px); filter: blur(4px); transition-duration: .26s; transition-delay: 0s; }
.st-t.pre span { opacity: 0; transform: translateY(9px); filter: blur(4px); transition: none; }

/* ================================================================
   THE TEAM: the live staff cards on a wheel
   ================================================================ */
.m.mt { width: 424px; }
.tm { position: relative; height: 178px; perspective: 900px; }
.tm-c { position: absolute; inset: 0; display: flex; gap: 15px; padding: 14px; border: 1px solid #e6e8ec; border-radius: 20px; background: radial-gradient(60% 70% at 100% 100%, rgba(185, 228, 191, .28), rgba(255, 255, 255, 0)), #fff; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .25); transition: transform .9s cubic-bezier(.6, 0, .2, 1), opacity .9s; }
.tm-c[data-p="0"] { z-index: 3; }
.tm-c[data-p="1"] { z-index: 2; opacity: .55; transform: translateY(170px) scale(.9) rotateX(-26deg); }
.tm-c[data-p="-1"] { z-index: 2; opacity: .55; transform: translateY(-170px) scale(.9) rotateX(26deg); }
.tm-c[data-p="2"] { z-index: 1; opacity: 0; transform: translateY(320px) scale(.78) rotateX(-46deg); }
.tm-c[data-p="-2"] { z-index: 1; opacity: 0; transform: translateY(-320px) scale(.78) rotateX(46deg); }
.m .tm-ph { flex: none; width: 118px; height: 100%; border-radius: 10px; object-fit: cover; }
.tm-b { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-left: 15px; border-left: 1px solid var(--blue); }
.tm-b h4 { padding-right: 34px; font-size: 27px; line-height: 1.15; font-weight: 300; letter-spacing: -.01em; }
.tm-b b { display: block; margin-top: 1px; font-size: 13.5px; line-height: 1.3; font-weight: 500; }
.tm-b p { margin-top: 8px; font-size: 12.5px; line-height: 1.42; font-weight: 300; color: #555; }
.tm-lg { position: absolute; right: 0; top: 2px; display: block; width: 25px; height: 24px; rotate: -150deg; transition: rotate 1.3s cubic-bezier(.3, 0, .2, 1); }
.tm-c[data-p="0"] .tm-lg { rotate: 0deg; }

/* ================================================================
   HERO IMAGES: the reel fills the stage, the lines sit on it
   ================================================================ */
.m.rv { position: absolute; inset: 0; width: auto; color: #fff; }
.rv img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.rv::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .68)); }
.rv ul { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; list-style: none; }
.rv li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.rv li + li { margin-top: 10px; }
.rv-c { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue), var(--mint)); }
.rv li b { font-weight: 500; }
.rv li em { font-style: normal; font-weight: 300; }

/* ================================================================
   ONE TEMPLATE, MANY PAGES: a close-up of one page, the others as quiet stripes.
   Pinned to the top of the stage: the pages run past its bottom edge and get cut off
   ================================================================ */
.art.tz { left: 50%; display: flex; gap: 10px; width: 492px; height: 520px; transform: translateX(-50%) scale(var(--s, 1)); transform-origin: 50% 0; }
.tz-p { position: relative; flex: none; width: 18px; overflow: hidden; overflow: clip; border-radius: 12px; background: #e3e3e0; transition: width .95s cubic-bezier(.65, 0, .2, 1), box-shadow .6s; }
.tz-p.on { width: 436px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .25); }
.tz-pg { position: absolute; left: 0; top: 0; width: 436px; background: #fff; opacity: 0; transition: opacity .6s; }
.tz-p.on .tz-pg { opacity: 1; transition-delay: .3s; }
.tz-h { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 232px; padding: 0 28px 26px; background: #2b2926 60% 22% / cover no-repeat; color: #fff; }
.tz-h::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .34) 56%, rgba(0, 0, 0, .06)); }
.tz-h > * { position: relative; }
.tz-top { position: absolute !important; left: 22px; right: 22px; top: 18px; display: flex; align-items: center; justify-content: space-between; }
.tz-top img { display: block; width: 27px; height: 26px; }
.tz-top span { padding: 4px 12px; border-radius: 999px; background: var(--blue); font-size: 11.5px; font-weight: 500; }
.tz-h h4 { font-size: 27px; line-height: 1.12; font-weight: 500; letter-spacing: -.025em; }
.tz-h em { display: block; margin-top: 2px; font-family: 'Instrument Serif', Georgia, serif; font-size: 27px; line-height: 1.12; font-weight: 400; letter-spacing: -.01em; }
.tz-w { padding: 30px 28px 32px; }
.tz-w h4 { font-size: 23px; line-height: 1.2; font-weight: 300; letter-spacing: -.02em; }
.tz-w hr { width: 42px; margin: 14px 0; border: 0; border-top: 1px solid var(--blue); }
.tz-w p { font-size: 14px; line-height: 1.55; font-weight: 300; color: #555; }
.tz-g { height: 140px; padding-top: 26px; background: linear-gradient(135deg, var(--mint), var(--blue)); text-align: center; }
.tz-g h4 { font-size: 19px; line-height: 1.2; font-weight: 300; letter-spacing: -.015em; }
