.project-container{width:88%;max-width:1408px;margin:auto}.project-hero{background:var(--navy);color:white;border-bottom:4px solid var(--mint);padding:60px 0}.project-hero .eyebrow{color:var(--mint);font-size:11px}.project-hero h1{font-size:clamp(38px,4.6vw,65px);letter-spacing:-2px;margin-bottom:26px}.hero-copy{color:#d5e3eb;max-width:660px;font-size:17px;margin-bottom:30px}
.project-section{padding-top:70px;padding-bottom:70px}.project-heading{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end;margin-bottom:36px}.project-heading h2,.development-grid h2,.project-contact h2{font-size:clamp(28px,3vw,43px)}.project-heading>p{color:var(--muted);max-width:530px;margin:0}.project-heading .eyebrow{font-size:10px;letter-spacing:1.5px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.project-card{border:1px solid var(--line);border-top:3px solid var(--mint);min-width:0;display:flex;flex-direction:column;border-radius:4px;background:white;overflow:hidden}.project-card.clinical{border-top-color:#0c869f}.identity{height:190px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:25px 27px;background:#fafbfc;border-bottom:1px solid var(--line)}.identity img{display:block;width:100%;height:90px;object-fit:contain;object-position:left center}.identity p{font-size:9px;letter-spacing:1.25px;margin:16px 0 0;color:var(--muted);font-weight:600}.text-identity .family-name{font-size:11px;font-weight:700;letter-spacing:2px;margin-bottom:10px}.text-identity>strong{font-size:clamp(28px,2.5vw,39px);line-height:1.2;letter-spacing:-1px;font-weight:700}.text-identity strong span{color:#a94d00}.card-content{padding:27px;display:flex;flex-direction:column;flex:1;min-width:0}.stage{align-self:flex-start;border:1px solid #d1d9e2;background:#f4f5f7;border-radius:20px;font-size:10px;font-weight:600;padding:4px 10px;margin-bottom:19px;color:#445368}.stage.started{background:#edf8f9;border-color:#afdadf;color:#096a7c}.stage.exploratory{background:#fff7ed;border-color:#e7d2b7;color:#85500e}.card-content h3{font-size:23px;line-height:1.25;margin-bottom:19px;overflow-wrap:anywhere}.card-content>p:not(.relationship){font-size:14px;color:var(--muted)}.card-content details{border-top:1px solid var(--line);margin-top:8px;font-size:13px}.card-content summary{display:flex;justify-content:space-between;gap:12px;padding:17px 0;list-style:none;cursor:pointer;font-weight:600}.card-content summary::-webkit-details-marker{display:none}.card-content summary>span{font-size:19px;line-height:1}.card-content details[open] summary>span{transform:rotate(45deg)}.card-content details p{color:var(--muted);font-size:13px}.card-content details div{padding-bottom:5px}.relationship{font-size:10px;font-weight:600;color:#6c7887;margin:0;padding-top:25px;flex:1;display:flex;align-items:flex-end}.development-band{padding:55px 0;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.development-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:80px}.development-grid>div:last-child{font-size:15px;color:var(--muted)}.development-grid p:last-child{margin-bottom:0}.project-contact{display:flex;justify-content:space-between;align-items:center;gap:45px;padding-top:65px;padding-bottom:65px}.project-contact h2{margin-bottom:20px}.project-contact p:not(.eyebrow){color:var(--muted);margin-bottom:0}.navy{background:var(--navy);color:white}.project-contact .button{gap:20px;overflow-wrap:anywhere}.projects-footer{border-top:1px solid var(--line);padding-bottom:45px}.projects-footer>a:last-child{font-size:12px;text-decoration:underline;text-underline-offset:4px}.project-card summary:focus-visible{outline:3px solid #bd5700;outline-offset:3px}
@media(max-width:1050px){.project-heading{gap:35px}.identity,.card-content{padding:22px}.identity{height:175px}.card-content h3{font-size:21px}.development-grid{gap:40px}.project-contact .button{font-size:12px}.identity p{font-size:8px}}
@media(max-width:800px){.projects-header{flex-wrap:wrap}.return-link{display:none}.project-hero{padding:42px 0}.project-heading{grid-template-columns:1fr;gap:22px}.project-grid{grid-template-columns:1fr}.identity{height:165px;padding:25px 28px}.identity img{max-width:370px}.text-identity>strong{font-size:36px}.identity p{font-size:9px}.card-content{padding:28px}.card-content h3{font-size:25px}.card-content>p:not(.relationship){font-size:15px}.project-section{padding-top:48px;padding-bottom:48px}.development-grid{grid-template-columns:1fr;gap:25px}.project-contact{align-items:flex-start;flex-direction:column;gap:27px;padding-top:48px;padding-bottom:48px}.project-contact .button{font-size:14px;max-width:100%}.projects-footer small{margin-left:0}}
@media(max-width:640px){.projects-header nav{display:flex;gap:17px;flex-wrap:wrap;font-size:12px}.projects-header nav a:last-child{display:inline}.projects-header .logo{font-size:25px}.project-hero h1{font-size:39px;letter-spacing:-1.5px}.hero-copy{font-size:16px}.project-hero .eyebrow{font-size:9px;letter-spacing:1.1px}.project-heading .eyebrow{font-size:9px;letter-spacing:1px}.projects-footer{padding-top:25px;padding-bottom:35px}.projects-footer>p{flex-basis:auto;font-size:12px}.preview-note{font-size:10px}.project-contact .button{gap:12px;padding:14px 18px}}
@media(prefers-reduced-motion:reduce){.project-card summary>span{transition:none}}
.text-identity .family-name{font-size:14px;font-weight:800;letter-spacing:-.4px;line-height:1}.text-identity .family-taag{color:var(--navy)}.text-identity .family-mx{color:#e16b00}

.projects-page .project-hero{padding-top:60px}.projects-page .project-hero .button{gap:12px}.projects-page .identity p{line-height:1.5}.projects-page .project-card{scroll-margin-top:110px}

/* Animated identities stay inside the visual header; project information remains still. */
.project-motion-toolbar { display: flex; justify-content: flex-end; margin: -14px 0 18px; }
.project-motion-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: #fff; font: 600 11px 'Segoe UI', Arial, sans-serif; cursor: pointer; min-height: 36px; }
.project-motion-toggle:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.project-motion-toggle:disabled { cursor: default; background: #fafbfc; }
.project-motion-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.project-motion-toggle [data-motion-icon] { width: 12px; text-align: center; }
.projects-page .project-visual { position: relative; isolation: isolate; overflow: hidden; height: 250px; padding: 25px 27px; }
.identity-foreground { position: relative; z-index: 2; width: 100%; }
.text-identity .identity-foreground > strong { display: block; font-size: clamp(28px, 2.5vw, 39px); line-height: 1.2; letter-spacing: -1px; font-weight: 700; }
.text-identity .identity-foreground .family-name { display: inline-flex; margin-bottom: 12px; }
.project-visual [data-motion] { animation-play-state: paused; }
.project-motion-running .project-visual [data-motion] { animation-play-state: running; }

.clinical-visual { background: #030e25; }
.clinical-network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.clinical-visual::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, #020a1caa, transparent 65%); }
.clinical-visual .identity-foreground { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 0; }
.clinical-logo { display: block; width: 280px; max-width: 100%; height: auto; overflow: visible; flex: 0 0 auto; }
.clinical-logo-base { filter: brightness(1.45) drop-shadow(0 1px 2px #020a1c); }
.clinical-visual .identity-foreground p { color: #d8e8fb; margin-top: 12px; font-size: 8px; letter-spacing: 1px; text-shadow: 0 2px 5px #02091b; }

.projects-page .cosmos-visual { background: #000; color: #fff; padding-bottom: 72px; }
.cosmos-object { position: absolute; top: -30px; right: -75px; width: 440px; height: 254px; pointer-events: none; }
.project-card.research .cosmos-object img,
.project-card.research .cosmos-object canvas { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: contain; object-position: center; }
.cosmos-object .cosmos-flow { opacity: 0; }
.cosmos-object.has-flow-frame .cosmos-flow { opacity: 1; }
.cosmos-object.has-flow-frame .cosmos-poster { opacity: 0; }
.cosmos-starfield { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 7% 9%, #e2ebfa99 0 1px, transparent 1.3px), radial-gradient(circle at 26% 5%, #fff7e199 0 .7px, transparent 1.1px), radial-gradient(circle at 94% 7%, #e9efff80 0 .8px, transparent 1.2px), radial-gradient(circle at 5% 79%, #e9efff80 0 .7px, transparent 1.1px), radial-gradient(circle at 93% 89%, #fff7e180 0 .8px, transparent 1.2px); }
.cosmos-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, #000 0%, #000b3 25%, transparent 60%), linear-gradient(90deg, #000a6, transparent 75%); }
.cosmos-visual .identity-foreground { height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.cosmos-visual .identity-foreground .family-name { margin-bottom: auto; padding: 5px 8px; background: #fffffff2; border-radius: 3px; }
.cosmos-visual .identity-foreground > strong { color: #fff; text-shadow: 0 2px 9px #000; }
.cosmos-visual .identity-foreground > strong span { color: #fff; }
.cosmos-name { position: relative; white-space: nowrap; pointer-events: none; }
.cosmos-name .spaghett-letter { display: inline-block; white-space: pre; transform-origin: 50% 50%; }
.project-motion-running .cosmos-name .spaghett-letter { will-change: transform, opacity; }
.cosmos-name-horizon { position: absolute; z-index: 4; border-radius: 50%; background: #000; opacity: 0; pointer-events: none; }
.projects-page .cosmos-visual .identity-foreground p { color: #d6e2f0; margin-top: 12px; }
.projects-page .cosmos-visual .cosmos-credit { position: absolute; z-index: 3; left: 27px; right: 27px; bottom: 11px; margin: 0; font-size: 10px; font-weight: 400; letter-spacing: 0; color: #c2cedd; }
.cosmos-credit > span,
.cosmos-credit > a { display: block; }
.cosmos-credit a { text-decoration: underline; text-underline-offset: 2px; }
.cosmos-credit a:hover { color: #fff; }

@media (max-width: 1050px) {
  .projects-page .project-visual { padding-left: 22px; padding-right: 22px; }
  .projects-page .cosmos-visual .cosmos-credit { left: 22px; right: 22px; font-size: 10px; }
}
@media (max-width: 800px) {
  .projects-page .project-visual { height: 255px; padding-left: 28px; padding-right: 28px; }
  .text-identity .identity-foreground > strong { font-size: 36px; }
  .cosmos-object { width: 460px; height: 265px; top: -26px; right: -65px; }
  .projects-page .cosmos-visual .cosmos-credit { left: 28px; right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-visual [data-motion] { animation: none !important; }
  .cosmos-name .spaghett-letter { transform: none !important; opacity: 1 !important; color: #fff !important; will-change: auto; }
  .cosmos-name-horizon { display: none; }
}

/* Paired initiatives: equal space, a larger visual and clearer reading order. */







.project-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project-grid-pair .project-card { border-radius: 12px; box-shadow: 0 12px 36px #0717290a; }
.projects-page .project-grid-pair .project-visual { height: 310px; padding: 30px 32px; }
.projects-page .project-grid-pair .cosmos-visual { padding-bottom: 76px; }
.project-grid-pair .clinical-logo { width: 330px; }
.project-grid-pair .clinical-visual .identity-foreground p { font-size: 9px; letter-spacing: 1.3px; }
.project-grid-pair .cosmos-object { width: 560px; height: 323px; top: -15px; right: -75px; }
.projects-page .project-grid-pair .cosmos-credit { left: 32px; right: 32px; bottom: 14px; }
.project-grid-pair .card-content { padding: 30px 32px; }
.project-grid-pair .clinical .card-content { --line: #bddfe4; background: linear-gradient(135deg, #cceff3b8, #effafae6); box-shadow: inset 0 1px 0 #ffffff8c; }
.project-grid-pair .research .card-content { --line: #ead7bf; background: linear-gradient(135deg, #ffe2beb3, #fff8edf0); box-shadow: inset 0 1px 0 #ffffff99; }
.project-grid-pair .card-content h3 { color: #071729; }
.project-grid-pair .card-content > p,
.project-grid-pair .card-content > .relationship { color: #40576a; }
.project-grid-pair .clinical .stage { background: #ffffffa6; border-color: #afdadf; color: #096a7c; }
.project-grid-pair .research .stage { background: #ffffffb3; border-color: #e5cda9; color: #85500e; }
.project-grid-pair .stage { font-size: 11px; margin-bottom: 17px; padding: 5px 12px; }
.project-grid-pair .card-content h3 { font-size: clamp(25px, 2.4vw, 33px); letter-spacing: -.6px; margin-bottom: 18px; }
.project-grid-pair .card-content > p:not(.relationship) { font-size: 15px; line-height: 1.75; max-width: 52ch; }
.project-grid-pair .card-content > .project-status-note { font-size: 13px; padding-left: 13px; border-left: 2px solid var(--line); margin: 0 0 25px; }
.project-grid-pair .relationship { flex: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; font-size: 11px; }
.project-explore { display: inline-flex; align-self: flex-start; align-items: center; gap: 16px; margin-top: 18px; min-height: 44px; padding: 8px 0; font-size: 14px; font-weight: 700; color: #075c6e; text-decoration: underline; text-underline-offset: 5px; }
.research .project-explore { color: #8b460a; }
.project-explore:hover { text-decoration-thickness: 2px; }
.project-explore:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (min-width: 801px) and (max-width: 1050px) {
  .project-grid-pair { gap: 22px; }
  .projects-page .project-grid-pair .project-visual { height: 285px; padding-left: 25px; padding-right: 25px; }
  .project-grid-pair .card-content { padding: 27px 25px; }
  .projects-page .project-grid-pair .cosmos-credit { left: 25px; right: 25px; }
  .project-grid-pair .cosmos-object { width: 500px; height: 288px; right: -100px; }
}
@media (max-width: 800px) {
  .project-grid-pair { grid-template-columns: 1fr; gap: 30px; }
  .projects-page .project-grid-pair .project-visual { height: 300px; padding-left: 28px; padding-right: 28px; }
  .project-grid-pair .cosmos-object { right: -45px; }
  .project-grid-pair .card-content { padding: 28px; }
  .projects-page .project-grid-pair .cosmos-credit { left: 28px; right: 28px; }
}
@media (max-width: 480px) {
  .projects-page .project-grid-pair .project-visual { height: 265px; padding-left: 22px; padding-right: 22px; }
  .project-grid-pair .card-content { padding: 25px 22px; }
  .project-grid-pair .cosmos-object { width: 460px; height: 265px; right: -90px; top: -10px; }
  .projects-page .project-grid-pair .cosmos-credit { left: 22px; right: 22px; font-size: 9px; }
}

/* The introduction leads directly into the two projects, without a duplicate navigation panel. */
.project-hero-intro { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 70px; }
.project-hero-intro h1 { margin: 0; }
.project-hero-intro .hero-copy { margin: 0 0 5px; max-width: 44ch; line-height: 1.85; }
@media (max-width: 800px) { .project-hero-intro { grid-template-columns: 1fr; gap: 24px; } .project-hero-intro .hero-copy { max-width: 58ch; margin: 0; } }
