.subpage-main { background: var(--paper); }
.subpage-hero { padding: 105px 0 112px; border-bottom: 1px solid var(--line); background: var(--paper); }
.subpage-hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: end; gap: 90px; }
.subpage-kicker { margin: 0 0 22px; color: var(--coral); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.subpage-title { max-width: 720px; margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: 1.04; letter-spacing: -.07em; font-weight: 600; }
.subpage-title em { color: var(--coral); font-family: var(--serif); font-weight: 400; font-style: italic; }
.subpage-lede { max-width: 520px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.subpage-side-note { padding: 24px 0 0 24px; border-left: 1px solid var(--coral); color: var(--muted); }
.subpage-side-note strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: 17px; font-weight: 600; }
.subpage-side-note p { max-width: 330px; margin: 0; font-size: 13px; line-height: 1.85; }
.subpage-hero-panel { padding: 28px; background: var(--navy); color: #fff; border-radius: 4px 24px 4px 24px; box-shadow: 0 25px 55px rgba(18, 42, 74, .14); }
.subpage-hero-panel small { color: #aebed0; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.hero-panel-title { margin: 28px 0 25px; font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -.04em; }
.hero-panel-rows { border-top: 1px solid rgba(218, 231, 243, .2); }
.hero-panel-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(218, 231, 243, .2); color: #c7d3df; font-size: 11px; }
.hero-panel-row span:last-child { color: #f1a88f; font-family: var(--mono); font-size: 9px; }
.page-section { padding: 118px 0; border-bottom: 1px solid var(--line); }
.page-section.soft { background: var(--soft); }
.page-section.navy { background: var(--navy); color: #fff; }
.page-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: end; margin-bottom: 56px; }
.page-heading .eyebrow { margin-bottom: 0; }
.page-heading h2 { max-width: 670px; margin: 0; font-size: clamp(36px, 4.3vw, 59px); line-height: 1.08; }
.page-heading h2 span { color: var(--coral); font-family: var(--serif); font-weight: 400; font-style: italic; }
.page-heading p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.9; }
.navy .page-heading p { color: #a9b8c8; }
.feature-section { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 100px; }
.feature-section.reverse { grid-template-columns: 1.18fr .82fr; }
.feature-section.reverse .feature-copy { order: 2; }
.feature-visual { min-height: 330px; padding: 28px; background: var(--blue-soft); border: 1px solid #ccdbe8; border-radius: 4px 23px 4px 23px; }
.feature-visual.coral { background: var(--coral-soft); border-color: #efcdbf; }
.feature-visual.navy-card { background: var(--navy); border-color: var(--navy); color: #fff; }
.feature-visual-kicker { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.feature-visual h3 { max-width: 310px; margin: 42px 0 23px; font-size: 30px; line-height: 1.2; letter-spacing: -.05em; font-weight: 600; }
.feature-visual p { max-width: 350px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.navy-card p { color: #a9b8c8; }
.feature-copy h3 { margin: 0 0 16px; font-size: 28px; font-weight: 600; }
.feature-copy > p { max-width: 480px; margin: 0 0 28px; color: var(--muted); line-height: 1.9; }
.feature-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 23px; border-top: 1px solid var(--line); }
.feature-point { padding: 17px 0; border-bottom: 1px solid var(--line); }
.feature-point small { display: block; margin-bottom: 6px; color: var(--coral); font-family: var(--mono); font-size: 9px; }
.feature-point strong { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.feature-point p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.module-card { min-height: 250px; padding: 25px; background: var(--paper); }
.module-card:nth-child(2) { background: var(--blue-soft); }.module-card:nth-child(3) { background: var(--coral-soft); }
.module-card small { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }.module-card h3 { margin: 36px 0 9px; font-size: 22px; font-weight: 600; }.module-card p { min-height: 64px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }.module-tags { display: flex; flex-wrap: wrap; gap: 6px; }.module-tags span { padding: 4px 7px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.stage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }.stage-card { min-height: 280px; padding: 29px; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; background: var(--paper); }.stage-card:nth-child(2) { background: var(--blue-soft); border-color: #ccdbe8; }.stage-card small { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .09em; }.stage-card h3 { margin: 48px 0 10px; font-size: 26px; font-weight: 600; }.stage-card p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.85; }.stage-card ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; margin: 23px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }.stage-card li { color: var(--ink); font-size: 11px; }.stage-card li::before { content: '↗'; margin-right: 6px; color: var(--coral); }
.solution-strip { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.solution-strip strong { font-size: 18px; font-weight: 600; }.solution-strip p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.case-hero-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 0; overflow: hidden; min-height: 330px; border-radius: 4px 25px 4px 25px; }.case-hero-mark { padding: 28px; background: var(--coral); color: #fff; }.case-hero-mark small { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }.case-hero-mark strong { display: block; margin-top: 130px; font-size: 28px; line-height: 1.2; letter-spacing: -.05em; font-weight: 500; }.case-hero-body { padding: 31px; background: var(--soft); }.case-hero-body h3 { margin: 49px 0 11px; font-size: 27px; font-weight: 600; }.case-hero-body p { max-width: 510px; margin: 0; color: var(--muted); line-height: 1.85; }.case-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }.case-meta span { padding: 5px 9px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.case-timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.case-step { min-height: 170px; padding: 21px 18px 19px; border-right: 1px solid var(--line); }.case-step:last-child { border-right: 0; }.case-step small { color: var(--coral); font-family: var(--mono); font-size: 9px; }.case-step h3 { margin: 28px 0 6px; font-size: 17px; font-weight: 600; }.case-step p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }.about-copy p { max-width: 540px; color: var(--muted); line-height: 1.9; }.about-statement { padding-left: 24px; border-left: 2px solid var(--coral); font-family: var(--serif); font-size: 25px; font-style: italic; line-height: 1.45; }.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; margin-top: 40px; border-top: 1px solid var(--line); }.about-fact { padding: 18px 0; border-bottom: 1px solid var(--line); }.about-fact small { display: block; margin-bottom: 6px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }.about-fact strong { display: block; font-size: 14px; font-weight: 600; }.about-fact span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }.pending-note { color: var(--coral) !important; }
.about-story { max-width: 850px; }.about-story p:last-child { margin: 0; color: var(--ink); font-size: clamp(21px, 2.7vw, 34px); line-height: 1.55; letter-spacing: -.035em; }.about-ticker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 28px; }.about-ticker-head p:last-child { margin: 0; color: var(--muted); font-size: 12px; }.education-marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }.education-marquee::before, .education-marquee::after { position: absolute; z-index: 2; top: 0; bottom: 0; width: 90px; content: ''; pointer-events: none; }.education-marquee::before { left: 0; background: linear-gradient(90deg, var(--soft), transparent); }.education-marquee::after { right: 0; background: linear-gradient(270deg, var(--soft), transparent); }.marquee-track { display: flex; width: max-content; animation: about-marquee 42s linear infinite; }.marquee-group { display: flex; align-items: stretch; padding: 0 16px; white-space: nowrap; }.institution-logo { display: flex; align-items: center; justify-content: center; min-width: 205px; height: 96px; padding: 15px 24px; border-right: 1px solid rgba(117, 135, 155, .24); }.institution-logo img { display: block; width: 170px; height: 64px; object-fit: contain; object-position: center; }.institution-logo--pinghe img { width: 190px; height: 68px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }.institution-logo--utoronto img { width: 184px; height: 64px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }.institution-logo--cmu img { width: 76px; height: 76px; }.institution-logo--michigan img { width: 180px; height: 50px; }.institution-logo--uw img { width: 62px; height: 62px; }.institution-logo--usc img { width: 190px; height: 54px; }.institution-logo--amd img { width: 156px; height: 46px; }.institution-logo--google img { width: 150px; height: 48px; }.marquee-group[aria-hidden='true'] .institution-logo { border-right-color: rgba(117, 135, 155, .24); }
@keyframes about-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-play-state: paused; } }
.contact-direct-layout { display: grid; grid-template-columns: minmax(270px, .78fr) 1.22fr; gap: 105px; align-items: start; }.contact-qr-card { padding: 27px; background: var(--navy); border-radius: 4px 24px 4px 24px; box-shadow: 0 24px 52px rgba(18, 42, 74, .14); }.contact-qr-card .eyebrow { margin-bottom: 22px; color: #f1a88f; }.contact-qr-frame { padding: 12px; background: #fff; border-radius: 3px 16px 3px 16px; }.contact-qr-frame img { display: block; width: 100%; height: auto; border-radius: 2px 10px 2px 10px; }.contact-qr-card > p:last-child { margin: 18px 0 0; color: #c7d3df; font-size: 12px; line-height: 1.8; }.contact-details { padding-top: 7px; }.contact-details h2 { max-width: 560px; margin: 0 0 36px; color: var(--navy); font-size: clamp(31px, 3.5vw, 48px); line-height: 1.13; letter-spacing: -.055em; font-weight: 600; }.contact-detail { padding: 19px 0; border-top: 1px solid var(--line); }.contact-detail:last-child { border-bottom: 1px solid var(--line); }.contact-detail small { display: block; margin-bottom: 6px; color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }.contact-detail strong { display: block; font-size: 17px; font-weight: 600; }.contact-detail strong a { color: inherit; text-decoration-color: var(--coral); text-decoration-thickness: 1px; text-underline-offset: 4px; }.contact-detail strong a:hover { color: var(--coral); }.contact-detail p { max-width: 500px; margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.button-secondary { border: 1px solid var(--line-dark); background: transparent; color: var(--navy); }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }.page-cta h2 { max-width: 620px; margin: 0; font-size: clamp(34px, 4vw, 53px); line-height: 1.08; }.page-cta h2 span { color: var(--coral); font-family: var(--serif); font-weight: 400; font-style: italic; }.page-cta p { max-width: 380px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

@media (max-width: 850px) {
  .subpage-hero { padding: 78px 0 86px; }.subpage-title { font-size: clamp(40px, 6vw, 56px); }.subpage-hero-grid, .page-heading, .feature-section, .feature-section.reverse, .about-grid, .contact-direct-layout { grid-template-columns: 1fr; gap: 45px; }.feature-section.reverse .feature-copy { order: initial; }.module-grid { grid-template-columns: 1fr; }.module-card { min-height: 0; }.stage-grid { grid-template-columns: 1fr; }.case-hero-card { grid-template-columns: 1fr; }.case-hero-mark { min-height: 220px; }.case-hero-mark strong { margin-top: 100px; }.case-timeline { grid-template-columns: repeat(2, 1fr); }.case-step:nth-child(2) { border-right: 0; }.case-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.page-cta, .solution-strip { align-items: flex-start; flex-direction: column; }.feature-points { grid-template-columns: 1fr; }.about-statement { margin-top: 10px; }.contact-direct-layout { gap: 30px; }.contact-qr-card { max-width: 420px; }
}

@media (max-width: 560px) {
  .subpage-title { font-size: 40px; }.page-section { padding: 78px 0; }.feature-visual { min-height: 260px; }.feature-visual h3 { margin-top: 30px; font-size: 25px; }.stage-card { min-height: 0; }.stage-card h3 { margin-top: 34px; }.stage-card ul { grid-template-columns: 1fr; }.case-timeline { grid-template-columns: 1fr; }.case-step, .case-step:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }.case-step:last-child { border-bottom: 0; }.about-facts { grid-template-columns: 1fr; }.contact-qr-card { padding: 20px; }.contact-details h2 { margin-bottom: 27px; font-size: 30px; }
}

/* Case page: a proof-led project record, not a second product landing page. */
.case-page { background: var(--paper); }
.case-opening { padding: 90px 0 112px; border-bottom: 1px solid var(--line); }
.case-opening-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 60px; }
.case-title { max-width: 520px; margin: 0; font-size: clamp(44px, 4.8vw, 66px); line-height: 1.04; letter-spacing: -.07em; font-weight: 600; }
.case-title em { color: var(--coral); font-family: var(--serif); font-weight: 400; font-style: italic; white-space: nowrap; }
.case-opening-lede { max-width: 470px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.case-proof-note { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.case-screenshot-card { margin: 0; }
.case-section-heading { max-width: 720px; margin-bottom: 55px; }
.case-section-heading h2 { max-width: 630px; margin: 0 0 17px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.08; }
.case-section-heading > p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.case-project-list { border-top: 1px solid var(--line); }
.case-project-row { display: grid; grid-template-columns: 130px 1fr auto; align-items: start; gap: 34px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-project-code { color: var(--coral); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.case-project-body h3 { margin: 0 0 7px; font-size: 22px; font-weight: 600; }
.case-project-body p { max-width: 610px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.case-project-status { padding-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; white-space: nowrap; }
.case-product-list { border-top: 1px solid var(--line-dark); }
.case-product-row { display: grid; grid-template-columns: 1fr 1.4fr .8fr; align-items: center; gap: 20px; min-height: 76px; border-bottom: 1px solid var(--line-dark); }
.case-product-row strong { font-size: 17px; font-weight: 600; }
.case-product-row span { color: var(--muted); font-size: 13px; }
.case-product-row small { justify-self: end; color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.case-delivery { background: var(--navy); color: #fff; }
.case-delivery .eyebrow { color: #9eb0c5; }
.case-delivery .case-section-heading > p:last-child { color: #a7b5c5; }
.case-delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(218, 231, 243, .24); }
.case-delivery-grid article { min-height: 245px; padding: 28px; background: var(--navy); }
.case-delivery-grid article:first-child { background: #193657; }
.case-delivery-grid span { color: #f1a88f; font-family: var(--mono); font-size: 10px; }
.case-delivery-grid h3 { margin: 54px 0 10px; font-size: 24px; font-weight: 600; }
.case-delivery-grid p { max-width: 420px; margin: 0; color: #a7b5c5; font-size: 13px; line-height: 1.85; }

@media (max-width: 850px) {
  .case-opening { padding: 76px 0 86px; }
  .case-opening-grid { grid-template-columns: 1fr; gap: 50px; }
  .case-project-row { grid-template-columns: 100px 1fr; gap: 20px; }
  .case-project-status { grid-column: 2; padding-top: 0; }
}

@media (max-width: 560px) {
  .case-opening { padding: 62px 0 72px; }
  .case-title { font-size: 42px; }
  .case-proof-note { margin-top: 36px; }
  .case-section-heading { margin-bottom: 38px; }
  .case-project-row { grid-template-columns: 1fr; gap: 9px; }
  .case-project-status { grid-column: auto; }
  .case-product-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 17px 0; }
  .case-product-row small { grid-column: 2; grid-row: 1; }
  .case-delivery-grid { grid-template-columns: 1fr; }
}

/* Case page interface carousel. The captions stay outside the product image so the proof remains readable. */
.case-carousel { position: relative; }
.case-carousel-stage { min-width: 0; }
.case-slide { display: none; margin: 0; }
.case-slide.is-active { display: block; animation: case-slide-in .45s ease both; }
.case-product-shot { aspect-ratio: 1.592 / 1; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 4px 24px 4px 24px; background: #f0f3f8; box-shadow: 0 25px 65px rgba(18, 42, 74, .13); }
.case-product-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-slide figcaption { display: grid; grid-template-columns: minmax(150px, .68fr) 1.32fr; gap: 28px; margin: 17px 3px 0; }
.case-slide figcaption div { display: grid; gap: 5px; align-content: start; }
.case-slide figcaption strong { color: var(--navy); font-size: 13px; font-weight: 600; }
.case-slide figcaption span { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.case-slide figcaption p { max-width: 430px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.case-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.case-carousel-dots, .case-carousel-arrows { display: flex; align-items: center; gap: 7px; }
.case-carousel-dot, .case-carousel-arrows button { border: 1px solid var(--line); background: transparent; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.case-carousel-dot { min-width: 38px; height: 32px; padding: 0 10px; border-radius: 999px; }
.case-carousel-dot.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.case-carousel-arrows button { width: 36px; height: 32px; border-radius: 999px; color: var(--navy); font-family: var(--sans); font-size: 15px; line-height: 1; }
.case-carousel-dot:hover, .case-carousel-arrows button:hover { border-color: var(--coral); color: var(--coral); }
.case-carousel-dot.is-active:hover { color: #fff; }
@keyframes case-slide-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .case-slide.is-active { animation: none; } }
@media (max-width: 560px) {
  .case-carousel-controls { margin-top: 14px; }
  .case-carousel-dot { min-width: 34px; padding: 0 8px; }
  .case-slide figcaption { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .case-slide figcaption p { font-size: 10px; }
}
