:root {
  --ink: #12120f;
  --ink-2: #23231f;
  --paper: #f4f0e6;
  --paper-2: #ebe6da;
  --paper-3: #ddd7ca;
  --white: #fffdf8;
  --muted: #66655e;
  --line: rgba(18, 18, 15, .16);
  --line-strong: rgba(18, 18, 15, .28);
  --accent: #5b5ee8;
  --accent-soft: #d9dafd;
  --lime: #c9ff63;
  --dark-line: rgba(255,255,255,.17);
  --dark-muted: #aaa99f;
  --shell: min(1240px, calc(100vw - 48px));
  --radius: 18px;
  --shadow: 0 24px 80px rgba(25, 23, 17, .12);
  --font-sans: Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.brand,
.hero-copy h1,
.page-hero h1,
.editorial-copy h2,
.section-heading h2,
.process-intro h2,
.about-statement h2,
.contact-copy h2,
.case-hero h1,
.case-section-heading h2,
.case-copy-block h2,
.compact-cta h2,
.message-card h1,
.project-card-body h3,
.system-board-title,
.proof-grid strong,
.outcome-block strong,
.capability-row h3,
.process-list h3,
.case-detail-card h3,
.case-nav-grid strong {
  font-family: var(--font-display);
}
img, svg { display: block; max-width: 100%; }
button { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; text-decoration: none; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgba(244, 240, 230, .88); backdrop-filter: blur(18px); transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(18,18,15,.05); }
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: baseline; font-size: 23px; line-height: 1; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.brand span { color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 31px; }
.desktop-nav a { color: #373731; font-size: 13px; font-weight: 720; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav .nav-cta { padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); transition: background .2s ease, color .2s ease; }
.desktop-nav .nav-cta:hover { background: var(--ink); color: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 1px; margin: 5px 0; background: var(--ink); transition: transform .2s ease; }
.mobile-nav { display: none; width: var(--shell); margin: 0 auto; padding: 4px 0 20px; }
.mobile-nav a { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 720; text-decoration: none; }
.mobile-nav.open { display: grid; }

.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 11px; line-height: 1.3; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.hero { padding: 108px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr); gap: 74px; align-items: center; }
.hero-copy h1 { max-width: 820px; margin: 0; font-size: clamp(66px, 8vw, 116px); line-height: .86; letter-spacing: -.075em; font-weight: 830; }
.hero-copy h1 em, .page-hero h1 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 760px; margin: 38px 0 0; color: #4e4d47; font-size: clamp(19px, 2vw, 24px); line-height: 1.52; letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 19px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 820; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--accent); }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.25); }
.button-secondary:hover { border-color: var(--ink); background: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-secondary-dark { border-color: rgba(255,255,255,.35); color: white; background: transparent; }
.button-secondary-dark:hover { border-color: white; background: white; color: var(--ink); }
.availability { display: flex; align-items: center; gap: 9px; margin: 25px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #67b653; box-shadow: 0 0 0 5px rgba(103,182,83,.13); }

.system-board { position: relative; overflow: hidden; min-height: 590px; padding: 28px; border-radius: 22px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.system-board::before { content: ""; position: absolute; width: 310px; height: 310px; right: -145px; top: -120px; border: 62px solid var(--accent); border-radius: 50%; opacity: .9; }
.system-board::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 88%); }
.system-board > * { position: relative; z-index: 1; }
.system-board-head { display: flex; justify-content: space-between; gap: 20px; color: #a8a89e; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.live-mark { color: var(--lime); }
.system-board-title { margin-top: 78px; font-size: clamp(42px, 4.5vw, 64px); line-height: .94; letter-spacing: -.06em; font-weight: 820; }
.system-layers { list-style: none; padding: 0; margin: 58px 0 0; border-top: 1px solid var(--dark-line); }
.system-layers li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--dark-line); }
.system-layers li > span { color: #77776f; font-size: 10px; font-weight: 800; }
.system-layers strong, .system-layers small { display: block; }
.system-layers strong { font-size: 14px; letter-spacing: -.01em; }
.system-layers small { margin-top: 3px; color: #aaa99f; font-size: 11px; }
.system-board-foot { position: absolute; left: 28px; bottom: 24px; right: 28px; color: #88887f; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.proof-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 150px; padding: 32px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { font-size: clamp(31px, 3.6vw, 53px); line-height: 1; letter-spacing: -.055em; }
.proof-grid span { max-width: 180px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.trust-strip { background: var(--paper-2); }
.trust-grid { min-height: 102px; display: grid; grid-template-columns: 270px 1fr; gap: 55px; align-items: center; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.trust-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-grid span { color: #3d3c36; font-size: clamp(18px, 2vw, 25px); font-weight: 820; letter-spacing: -.045em; }

.section { padding: 126px 0; }
.editorial-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 74px; }
.section-label { color: var(--muted); font-size: 11px; font-weight: 780; text-transform: uppercase; letter-spacing: .14em; }
.section-label span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 10px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); }
.editorial-copy h2, .section-heading h2, .process-intro h2, .about-statement h2, .case-copy-block h2 { margin: 0; font-size: clamp(46px, 5.7vw, 78px); line-height: .96; letter-spacing: -.062em; }
.editorial-copy > p:not(.eyebrow) { max-width: 820px; margin: 34px 0 0; color: var(--muted); font-size: 20px; line-height: 1.68; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; padding-bottom: 5px; border-bottom: 1px solid var(--line-strong); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link span { color: var(--accent); }
.text-link:hover { border-color: var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: end; margin-bottom: 54px; }
.align-end { margin-top: 0; margin-bottom: 6px; }

.work-preview { background: var(--white); }
.private-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { --card-accent: var(--accent); min-height: 460px; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid rgba(18,18,15,.13); border-radius: var(--radius); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-4px); border-color: var(--card-accent); box-shadow: 0 20px 48px rgba(22,21,16,.10); }
.project-card-featured { min-height: 530px; background: var(--ink); color: var(--white); border-color: var(--ink); }
.project-card-featured:hover { border-color: var(--card-accent); box-shadow: 0 24px 60px rgba(18,18,15,.19); }
.project-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.project-kicker { max-width: 75%; margin: 0; color: var(--card-accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; line-height: 1.45; }
.project-external, .project-private { flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 780; text-decoration: none; }
.project-card-featured .project-external, .project-card-featured .project-private { color: #a9a89e; }
.project-card-body { margin-top: 58px; }
.project-card-body h3 { margin: 0; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.02; letter-spacing: -.045em; }
.project-card-body h3 a { text-decoration: none; }
.project-card-body p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-card-featured .project-card-body p { color: #b7b6ad; font-size: 15px; }
.mini-flow { display: flex; align-items: stretch; gap: 0; margin: 38px 0 26px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.mini-flow span { position: relative; flex: 1; min-width: 0; padding: 13px 9px; border-right: 1px solid var(--line); color: #5f5e57; font-size: 9px; font-weight: 740; text-align: center; line-height: 1.3; }
.mini-flow span:last-child { border-right: 0; }
.project-card-featured .mini-flow { border-color: var(--dark-line); }
.project-card-featured .mini-flow span { border-color: var(--dark-line); color: #aaa99f; }
.project-card-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.project-card-featured .project-card-bottom { border-color: var(--dark-line); }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span, .chip-row span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: #5f5e57; font-size: 9px; font-weight: 760; }
.project-card-featured .project-tags span { border-color: var(--dark-line); color: #aaa99f; }
.project-link { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; font-size: 12px; font-weight: 820; text-decoration: none; }
.project-link span { color: var(--card-accent); }
.portfolio-note { max-width: 910px; margin: 30px 0 0; color: #75746d; font-size: 11px; line-height: 1.65; }
.accent-violet { --card-accent: #8e91ff; --project-accent: #8e91ff; }
.accent-lime { --card-accent: #c9ff63; --project-accent: #c9ff63; }
.accent-blue { --card-accent: #4f7cff; --project-accent: #4f7cff; }
.accent-orange { --card-accent: #ff8c53; --project-accent: #ff8c53; }
.accent-pink { --card-accent: #f06eaa; --project-accent: #f06eaa; }
.accent-red { --card-accent: #ef6655; --project-accent: #ef6655; }
.accent-yellow { --card-accent: #e5ad19; --project-accent: #f4c446; }
.accent-cyan { --card-accent: #20a6b3; --project-accent: #5fe1e8; }

.outcomes-section { background: var(--ink); color: var(--white); }
.section-heading-light .eyebrow { color: var(--lime); }
.section-heading-light h2 { color: var(--white); }
.heading-sidecopy { max-width: 270px; margin: 0 0 8px; color: #96958c; font-size: 13px; line-height: 1.55; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.outcome-block { min-height: 330px; padding: 24px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); display: flex; flex-direction: column; }
.outcome-block > span { color: #8f8e86; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; font-weight: 820; }
.outcome-block strong { margin-top: 64px; font-size: clamp(58px, 6vw, 82px); line-height: .9; letter-spacing: -.07em; }
.outcome-block p { margin: auto 0 0; color: #b6b5ac; font-size: 13px; line-height: 1.6; }

.capabilities-section { background: var(--paper-2); }
.capability-list { margin-top: 80px; border-top: 1px solid var(--line-strong); }
.capability-row { display: grid; grid-template-columns: 70px minmax(240px,.7fr) minmax(280px,1fr) minmax(220px,.7fr); gap: 28px; padding: 34px 0 38px; border-bottom: 1px solid var(--line-strong); align-items: start; }
.capability-number { color: var(--accent); font-size: 10px; font-weight: 850; }
.capability-row h3 { margin: 0; font-size: 25px; line-height: 1.1; letter-spacing: -.035em; }
.capability-row p, .capability-row > div { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.capability-row > div { font-size: 11px; font-weight: 700; }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.process-intro { position: sticky; top: 120px; }
.process-intro h2 { font-size: clamp(45px, 5vw, 70px); }
.process-intro > p:last-child { max-width: 530px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.process-list li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 34px 0 40px; border-bottom: 1px solid var(--line-strong); }
.process-list li > span { color: var(--accent); font-size: 10px; font-weight: 850; }
.process-list h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.035em; }
.process-list p { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.about-section { background: #dcd5c7; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; }
.about-statement h2 { font-size: clamp(47px, 5.4vw, 76px); }
.about-copy p { margin: 0 0 24px; color: #4f4e47; font-size: 17px; line-height: 1.75; }
.about-links { display: flex; flex-wrap: wrap; gap: 28px; }

.contact-section { padding: 126px 0; background: var(--accent); color: white; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 84px; align-items: start; }
.contact-copy .eyebrow { color: rgba(255,255,255,.7); }
.contact-copy h2 { max-width: 620px; margin: 0; font-size: clamp(56px, 6.5vw, 91px); line-height: .91; letter-spacing: -.07em; }
.contact-copy > p:not(.eyebrow) { max-width: 560px; margin: 30px 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; }
.contact-direct { margin-top: 58px; display: grid; gap: 7px; }
.contact-direct span { color: rgba(255,255,255,.62); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; font-weight: 820; }
.contact-direct a { font-size: 21px; font-weight: 780; text-underline-offset: 5px; }
.contact-form { padding: 28px; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 28px 90px rgba(26,24,93,.24); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 17px; }
.contact-form label > span { display: block; margin-bottom: 8px; color: #66655f; font-size: 11px; font-weight: 780; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); outline: none; }
.contact-form textarea { min-height: 155px; resize: vertical; line-height: 1.5; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,94,232,.13); }
.form-submit { width: 100%; }
.form-note { margin: 11px 0 0; color: #8a8981; font-size: 10px; text-align: center; }
.hidden-field { display: none; }

.site-footer { padding: 48px 0; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: start; }
.footer-brand { color: var(--white); }
.footer-grid > div:first-child p { margin: 12px 0 0; color: #8f8e85; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a { color: #aaa99f; font-size: 11px; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-meta { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--dark-line); color: #77766e; font-size: 10px; text-align: right; }

/* Work index */
.page-hero { padding: 108px 0 88px; }
.page-hero h1 { max-width: 1080px; margin: 0; font-size: clamp(64px, 7.5vw, 108px); line-height: .89; letter-spacing: -.075em; }
.page-hero-bottom { display: grid; grid-template-columns: minmax(0, 740px) auto; gap: 50px; justify-content: space-between; align-items: end; margin-top: 52px; }
.page-hero-bottom p { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.work-index-section { padding: 28px 0 126px; background: var(--white); }
.filter-bar { position: sticky; top: 76px; z-index: 15; display: flex; gap: 8px; overflow-x: auto; padding: 15px 0; margin-bottom: 28px; background: rgba(255,253,248,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 780; cursor: pointer; }
.filter-button span { color: #94938c; }
.filter-button:hover, .filter-button.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.work-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work-index-grid .project-card { min-height: 520px; }
.work-index-grid .project-card[hidden] { display: none; }
.source-boundary { display: grid; grid-template-columns: 210px minmax(0, 780px); gap: 44px; margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.source-boundary span { color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.source-boundary p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.compact-cta { padding: 82px 0; background: var(--paper-2); }
.compact-cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.compact-cta h2 { margin: 0; font-size: clamp(45px, 5vw, 70px); line-height: .95; letter-spacing: -.06em; }

/* Case studies */
.case-page { --project-accent: var(--accent); }
.case-hero { padding: 76px 0 76px; background: var(--ink); color: var(--white); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 70px; color: #96958d; font-size: 11px; font-weight: 740; text-decoration: none; }
.breadcrumb:hover { color: white; }
.case-category { margin: 0 0 18px; color: var(--project-accent); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.case-hero h1 { max-width: 1120px; margin: 0; font-size: clamp(58px, 7.2vw, 104px); line-height: .89; letter-spacing: -.07em; }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px,.75fr); gap: 80px; margin-top: 58px; align-items: start; }
.case-deck { max-width: 760px; margin: 0; color: #c0bfb6; font-size: 21px; line-height: 1.58; }
.case-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.case-hero .button-primary { background: var(--project-accent); color: var(--ink); }
.case-hero .button-primary:hover { background: var(--white); color: var(--ink); }
.case-facts { margin: 0; border-top: 1px solid var(--dark-line); }
.case-facts > div { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--dark-line); }
.case-facts dt { color: #77766e; font-size: 9px; font-weight: 820; text-transform: uppercase; letter-spacing: .12em; }
.case-facts dd { margin: 0; color: #d1d0c8; font-size: 12px; line-height: 1.45; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 45px; }
.case-hero .chip-row span { border-color: var(--dark-line); color: #aaa99f; }
.case-architecture { padding: 94px 0; background: #1d1d19; color: var(--white); }
.case-section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 450px); gap: 60px; align-items: end; }
.case-section-heading span { color: var(--project-accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.case-section-heading h2 { margin: 12px 0 0; font-size: clamp(43px, 5vw, 68px); letter-spacing: -.055em; line-height: .96; }
.case-section-heading > p { margin: 0; color: #97968d; font-size: 13px; line-height: 1.7; }
.flow-diagram { list-style: none; display: flex; align-items: stretch; gap: 16px; margin: 68px 0 0; padding: 0; }
.flow-diagram li { position: relative; flex: 1; min-width: 0; min-height: 154px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid var(--dark-line); border-radius: 12px; background: rgba(255,255,255,.025); }
.flow-diagram li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; z-index: 2; width: 12px; color: var(--project-accent); font-weight: 900; transform: translateY(-50%); }
.flow-diagram li span { color: #6f6e67; font-size: 9px; font-weight: 820; }
.flow-diagram li strong { font-size: 13px; line-height: 1.35; letter-spacing: -.01em; }
.case-narrative { background: var(--paper); }
.case-narrative-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(320px,.6fr); gap: 100px; align-items: start; }
.case-copy-block + .case-copy-block { margin-top: 92px; padding-top: 84px; border-top: 1px solid var(--line-strong); }
.case-copy-block h2 { max-width: 820px; font-size: clamp(43px, 4.8vw, 65px); }
.case-copy-block > p:not(.eyebrow) { max-width: 820px; margin: 27px 0 0; color: var(--muted); font-size: 18px; line-height: 1.78; }
.demonstrates-panel { position: sticky; top: 115px; padding: 28px; border-radius: 16px; background: var(--white); box-shadow: 0 18px 55px rgba(25,23,17,.08); }
.demonstrates-panel .eyebrow { color: var(--project-accent); }
.demonstrates-panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.demonstrates-panel li { position: relative; padding: 14px 0 14px 20px; border-bottom: 1px solid var(--line); color: #4f4e48; font-size: 12px; line-height: 1.5; }
.demonstrates-panel li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--project-accent); }
.case-details-section { padding: 0 0 120px; background: var(--paper); }
.case-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.case-detail-card { min-height: 310px; padding: 26px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.case-detail-card > span { color: var(--project-accent); font-size: 10px; font-weight: 850; }
.case-detail-card h3 { margin: 72px 0 16px; font-size: 25px; line-height: 1.1; letter-spacing: -.035em; }
.case-detail-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.68; }
.case-source-note { display: grid; grid-template-columns: 190px minmax(0, 820px); gap: 45px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-source-note span { color: var(--project-accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.case-source-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.case-navigation { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-nav-grid { display: grid; grid-template-columns: 1fr 1fr; }
.case-nav-grid a { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 26px 34px 26px 0; text-decoration: none; }
.case-nav-grid a + a { padding-left: 34px; border-left: 1px solid var(--line); }
.case-nav-grid span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; font-weight: 820; }
.case-nav-grid strong { margin-top: 12px; font-size: 17px; letter-spacing: -.02em; }
.case-nav-grid .next { text-align: right; align-items: flex-end; }

.message-page { min-height: calc(100vh - 76px); display: grid; align-items: center; padding: 80px 0; }
.message-card { max-width: 900px; }
.message-card h1 { max-width: 860px; margin: 0; font-size: clamp(53px, 6.8vw, 90px); line-height: .92; letter-spacing: -.07em; }
.message-card > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .07s !important; }
.delay-2 { transition-delay: .14s !important; }
.delay-3 { transition-delay: .21s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  :root { --shell: min(920px, calc(100vw - 38px)); }
  .hero-grid { grid-template-columns: 1fr; }
  .system-board { min-height: 520px; max-width: 720px; }
  .editorial-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 48px; }
  .private-projects, .project-grid { grid-template-columns: 1fr 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .capability-row { grid-template-columns: 54px .9fr 1.1fr; }
  .capability-row > div { grid-column: 2 / -1; }
  .process-grid, .about-grid, .contact-grid, .case-narrative-grid { grid-template-columns: 1fr; gap: 66px; }
  .process-intro, .demonstrates-panel { position: static; }
  .about-copy { max-width: 760px; }
  .work-index-grid { grid-template-columns: 1fr 1fr; }
  .flow-diagram { flex-wrap: wrap; }
  .flow-diagram li { flex: 1 1 calc(33.333% - 16px); }
  .flow-diagram li:nth-child(3n)::after { display: none; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 28px); }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .nav-wrap { height: 68px; }
  .filter-bar { top: 68px; }
  .hero { padding: 74px 0 76px; }
  .hero-copy h1 { font-size: clamp(55px, 16vw, 78px); }
  .hero-lede { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .system-board { min-height: 515px; padding: 22px; }
  .system-board-title { margin-top: 64px; font-size: 48px; }
  .system-board-foot { left: 22px; right: 22px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 135px; padding: 25px 18px; border-bottom: 1px solid var(--line); }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:first-child { padding-left: 18px; }
  .proof-grid > div:nth-child(n+3) { border-bottom: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .trust-grid > div { justify-content: flex-start; }
  .section { padding: 92px 0; }
  .editorial-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .align-end { justify-self: start; }
  .private-projects, .project-grid, .work-index-grid { grid-template-columns: 1fr; }
  .project-card, .project-card-featured, .work-index-grid .project-card { min-height: 470px; }
  .mini-flow.compact span:nth-child(n+5) { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-block { min-height: 260px; }
  .capability-list { margin-top: 50px; }
  .capability-row { grid-template-columns: 38px 1fr; gap: 16px; }
  .capability-row p, .capability-row > div { grid-column: 2; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { text-align: left; }
  .page-hero { padding: 76px 0 64px; }
  .page-hero h1 { font-size: clamp(53px, 15vw, 78px); }
  .page-hero-bottom { grid-template-columns: 1fr; }
  .source-boundary, .case-source-note { grid-template-columns: 1fr; gap: 15px; }
  .compact-cta-inner { display: grid; align-items: start; }
  .case-hero { padding: 48px 0 60px; }
  .breadcrumb { margin-bottom: 50px; }
  .case-hero h1 { font-size: clamp(50px, 14vw, 74px); }
  .case-hero-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 42px; }
  .case-actions { flex-direction: column; }
  .case-section-heading { grid-template-columns: 1fr; gap: 24px; }
  .flow-diagram { display: grid; grid-template-columns: 1fr; }
  .flow-diagram li { min-height: 112px; }
  .flow-diagram li:not(:last-child)::after { content: "↓"; display: block; right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%); }
  .case-copy-block > p:not(.eyebrow) { font-size: 16px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-detail-card { min-height: 260px; }
  .case-nav-grid { grid-template-columns: 1fr; }
  .case-nav-grid a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .case-nav-grid .next { text-align: left; align-items: flex-start; }
  .contact-section { padding: 92px 0; }
  .contact-copy h2 { font-size: clamp(53px, 15vw, 76px); }
}
