.project-page{color:#29433f;overflow-wrap:anywhere}
.project-page *{box-sizing:border-box}
.project-intro{padding:22px 0 44px;border-bottom:1px solid #d5e3df;margin-bottom:36px}
.project-eyebrow{display:block;color:#347d77;font-size:.75rem;font-weight:700;letter-spacing:.14em;margin-bottom:12px}
.project-page .project-intro h1{margin-bottom:18px}
.project-page .project-lead{font-weight:700;color:#1d4e48;margin:0 0 18px}
.project-intro p{max-width:780px;margin-bottom:0}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.project-card{min-width:0;border:1px solid #d6e4df;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 28px #173e3508;transition:box-shadow .2s ease,border-color .2s ease}
.project-card:hover{border-color:#a3bfb3;box-shadow:0 12px 34px #173e3510}
.project-visual{margin:0;background:#edf4ed;min-height:294px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#215e54;position:relative;isolation:isolate;overflow:hidden}
.project-visual::before{content:"";position:absolute;width:340px;height:340px;border:1px solid #ffffff75;border-radius:50%;top:-170px;right:-90px;box-shadow:0 0 0 42px #ffffff30,0 0 0 84px #ffffff18;z-index:-1}
.project-visual-art{width:100%;min-width:0;padding:25px 28px 16px;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center}
.project-visual-label{font-size:.625rem;letter-spacing:.2em;font-weight:700;align-self:flex-start}
.project-visual-illustration{display:block;width:min(100%,340px);height:190px;object-fit:contain;margin-top:10px;mix-blend-mode:multiply}
.project-visual figcaption{margin:0;padding:0 20px 16px;text-align:center;color:#526c60}
.project-visual--qzira{background:radial-gradient(ellipse at 75% 20%,#d6e0f2,transparent 62%),linear-gradient(145deg,#eaf0f5,#e5eaf4);color:#3d526e}
.project-visual--qzira figcaption{color:#56657b}
.project-wordmark{font-size:3rem;letter-spacing:-.04em;line-height:1.2;margin:23px 0 26px;font-weight:700}
.project-visual-flow{display:flex;align-items:center;justify-content:center;width:100%;max-width:310px;margin-bottom:12px}
.project-visual-end{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative}
.project-visual-end>span{border:1px solid #b7c6d9;border-radius:12px;display:grid;place-items:center;width:48px;height:48px;background:#ffffffb8;box-shadow:0 4px 12px #5366810a}
.project-visual-end small{position:absolute;top:53px;font-size:.625rem;letter-spacing:.14em;white-space:nowrap}
.project-visual-flow>i{height:1px;flex:1;background:#98abc1;position:relative}
.project-visual-flow>i::after{content:"";position:absolute;right:0;top:-2px;width:5px;height:5px;background:#7187a0;border-radius:50%}
.project-visual-flow>.project-visual-core{display:grid;place-items:center;flex-shrink:0;width:68px;height:68px;border-radius:18px;background:#3d526e;color:#fff;box-shadow:0 0 0 8px #ffffff6b,0 6px 20px #3d526e20;z-index:1}
.project-visual-core .icon{font-size:1.5rem}
.project-card-body{padding:30px;display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0}
.project-status-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.project-status{display:inline-block;padding:4px 10px;background:#f0f2f1;color:#4c5b57;border-radius:5px;font-size:.75rem;line-height:1.6;font-weight:600}
.project-status--progress{background:#e4f2e9;color:#24664d}
.project-category{font-size:.8125rem;color:#526a63}
.project-page h2{margin:5px 0 16px}
.project-card h2 a{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:44px;color:#214d45;text-decoration:none}
.project-card h2 a:hover{text-decoration:underline;text-underline-offset:5px}
.project-card-body>p{margin:0 0 20px}
.project-tags{display:flex;gap:7px;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 22px}
.project-tags li{display:inline-flex;align-items:center;gap:7px;background:#f4f8f5;border:1px solid #e0e9e2;border-radius:6px;padding:4px 9px}
.project-tags .icon{font-size:.8125rem;color:#357d65}
.project-card-body .project-status-note{color:#5a7066;line-height:1.8;margin-top:auto}
.project-card-link{width:100%;min-height:52px;border-top:1px solid #dfe9e4;padding:17px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;color:#226c5e;text-underline-offset:4px}
.project-card-link span{flex-shrink:0}
.project-card--qzira{border-color:#d9e1ed}
.project-card--qzira .project-card-body{background:linear-gradient(160deg,#fff 65%,#f3f5fa)}
.project-card--qzira .project-card-link,.project-card--qzira h2 a{color:#3d526e}
.project-card--qzira .project-tags li{background:#f1f4f9;border-color:#e0e6f0}
.project-card--qzira .project-tags .icon{color:#526b8b}
.project-card--datagate .project-card-body{background:linear-gradient(160deg,#fff 65%,#f3f8f3)}
.project-related{display:flex;gap:24px;align-items:center;justify-content:space-between;background:#f4f8f6;border:1px solid #e1eae5;border-radius:12px;padding:28px 30px;margin:40px 0}
.project-related .project-eyebrow{margin-bottom:8px}
.project-related h2{margin:0 0 10px}
.project-related p{margin:0}
.project-related-heading{display:flex;align-items:center;gap:20px;min-width:0}
.project-related-icon{flex-shrink:0;display:grid;place-items:center;width:54px;height:54px;border:1px solid #d4e3da;border-radius:14px;background:#fff;color:#3b7863;font-size:1.4rem}
.project-text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#246f62;text-underline-offset:4px;font-weight:600}
.project-related>a{flex-shrink:0}
.project-consult{border-top:1px solid #d6e4df;text-align:center;padding:38px 20px 12px}
.project-consult p{margin:16px 0 24px}
.project-actions{display:flex;gap:20px;align-items:center;justify-content:center;flex-wrap:wrap}
.project-page a:focus-visible,.project-context a:focus-visible,.project-related-link a:focus-visible{outline:3px solid #bd8a21;outline-offset:5px}
.project-back{display:inline-flex;align-items:center;min-height:44px;gap:6px;margin-bottom:26px;color:#347d77;text-underline-offset:4px}
.project-detail-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;margin-bottom:48px}
.project-detail-hero .project-visual{border-radius:12px;min-height:280px}
.project-detail-hero h1{margin-bottom:8px}
.project-detail-subtitle{margin-top:0;color:#546a64}
.project-detail-hero .project-status{margin-bottom:8px}
.project-overview{margin-bottom:40px}
.project-overview dl{margin:20px 0 0;border-top:1px solid #d6e4df}
.project-overview dl>div{display:grid;grid-template-columns:200px 1fr;border-bottom:1px solid #d6e4df;padding:18px 0;gap:24px}
.project-overview dt{font-weight:600}.project-overview dd{margin:0}
.project-notice{padding:30px;border:1px solid #d6e4df;border-radius:8px;background:#fbfcfb;scroll-margin-top:24px}
.project-notice p:last-child{margin-bottom:0}
.fixed-content .project-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:0 0 18px;color:#556f65}
.fixed-content .project-context a,.fixed-content .project-archive-link{color:#286e68;text-underline-offset:4px}
.fixed-content .project-related-link{background:#f4f8f6;border-left:3px solid #8ab4a7;padding:18px 22px;margin:28px 0;scroll-margin-top:30px}
.fixed-content .project-related-link a{color:#286e68;text-underline-offset:4px}

/* Portfolio landing page. Keep shared detail-page typography and CMS guards intact. */
.project-portfolio .project-intro{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:32px;align-items:center;padding:38px 40px;margin-bottom:34px;background:radial-gradient(ellipse at 100% 0,#dfede4,transparent 60%),#f5f8f4;border:1px solid #e0e9e1;border-radius:18px;position:relative;overflow:hidden}
.project-intro-copy{min-width:0}
.project-portfolio .project-intro p:last-child{color:#546d61}
.project-intro-mark{position:relative;min-height:170px;display:flex;align-items:center;justify-content:center;gap:12px;color:#347862}
.project-intro-mark::before{content:"";position:absolute;width:170px;height:170px;border:1px solid #b8cfc1;border-radius:50%;box-shadow:0 0 0 22px #dfeae15e}
.project-mark-node{display:grid;place-items:center;width:47px;height:47px;background:#fbfdfb;border:1px solid #c3d7ca;border-radius:13px;z-index:1;box-shadow:0 5px 14px #274f3d0a}
.project-mark-node--center{margin-top:-50px;background:#286e58;color:#fff;border-color:#286e58;width:60px;height:60px;border-radius:17px;font-size:1.4rem}
.project-mark-caption{position:absolute;bottom:10px;font-size:.5rem;letter-spacing:.14em;font-weight:700;white-space:nowrap}
.project-card--pochicap{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);border-color:#ccdcd2;background:#153d32}
.project-card--pochicap:hover{border-color:#8aaa9a}
.project-card--pochicap .project-card-body{padding:36px;background:radial-gradient(ellipse at 0 0,#356a52,transparent 70%),#153d32;color:#edf5ef}
.project-card--pochicap .project-category{color:#c0d5c8}
.project-card--pochicap h2 a{color:#fff}
.project-card--pochicap h2{margin:0 0 0}
.project-platform{font-size:.75rem;color:#d8e5dd;padding:4px 0}
.project-status--available{display:inline-flex;align-items:center;gap:7px;background:#e7f3b8;color:#314922}
.project-status--available>span{width:6px;height:6px;border-radius:50%;background:#518536}
.project-product-heading{display:flex;gap:14px;align-items:center;margin-bottom:25px;min-width:0;width:100%}
.project-product-heading>div{min-width:0}
.project-product-icon{display:block;width:64px;height:64px;object-fit:contain;border-radius:14px;flex-shrink:0;background:#fff}
.project-product-reading{font-weight:500}
.project-card--pochicap .project-feature-copy{font-weight:700;letter-spacing:.02em;color:#fff;margin-bottom:16px}
.project-card--pochicap .project-tags li{background:#ffffff0d;border-color:#547c68;color:#e8f1e9}
.project-card--pochicap .project-tags .icon{color:#d6eaa1}
.project-card--pochicap .project-card-link{color:#f2f7e6;border-color:#527363;margin-top:auto}
.project-card--pochicap a:focus-visible{outline-color:#e7f3b8}
.project-capture{margin:0;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:32px 26px 24px;background:radial-gradient(ellipse at 15% 10%,#faf9ff,transparent 75%),linear-gradient(145deg,#e8e8f5,#d5e4dd);color:#4f536c;position:relative}
.project-capture-heading{display:flex;justify-content:space-between;gap:10px;font-size:.625rem;font-weight:700;letter-spacing:.16em;margin-bottom:24px}
.project-capture-image{display:block;min-height:44px;padding:8px;background:#fff;border:1px solid #cfd6e0;border-radius:12px;box-shadow:0 16px 35px #354e4820;overflow:hidden;cursor:zoom-in}
.project-capture-image img{display:block;width:100%;height:auto;object-fit:contain;border-radius:5px}
.project-capture figcaption{color:#545f66;margin-top:20px;text-align:center}

@media(max-width:991px){
 .project-portfolio .project-intro{grid-template-columns:minmax(0,1fr) 170px;padding:30px;gap:20px}
 .project-card--pochicap .project-card-body{padding:28px}
 .project-product-heading{gap:10px}.project-product-icon{width:52px;height:52px}
 .project-capture{padding:26px 20px}
 .project-related{align-items:flex-start;flex-direction:column;gap:14px}
}
@media(max-width:767px){
 .project-intro{padding-top:4px;padding-bottom:28px;margin-bottom:26px}.project-desktop-break{display:none}
 .project-grid{grid-template-columns:1fr;gap:24px}.project-visual{min-height:270px}.project-wordmark{font-size:2.75rem}
 .project-visual-art{padding:24px 24px 18px}.project-visual-illustration{height:175px}
 .project-card-body{padding:24px}.project-status-row{margin-bottom:18px}.project-related{display:block;margin:30px 0;padding:24px 20px}.project-related>a{display:inline-flex;margin-top:18px}
 .project-related-heading{gap:14px;align-items:flex-start}.project-related-icon{width:40px;height:40px;border-radius:10px;font-size:1.1rem}
 .project-consult{padding-inline:0}.project-actions{gap:18px;flex-direction:column}.project-detail-hero{grid-template-columns:1fr;gap:20px;margin-bottom:32px}
 .project-detail-hero .project-visual{min-height:270px}.project-overview dl>div{grid-template-columns:1fr;gap:4px;padding:16px 0}.project-notice{padding:22px}
 .project-portfolio .project-intro{display:block;padding:26px 24px;margin-bottom:26px}
 .project-intro-mark{display:none}.project-card--pochicap{grid-template-columns:1fr}
 .project-card--pochicap .project-card-body{padding:28px 24px}.project-product-heading{gap:12px}
 .project-product-icon{width:56px;height:56px}.project-capture{padding:24px 20px}
 .project-capture-heading{margin-bottom:18px}.project-capture-image{padding:5px;border-radius:8px}.project-capture figcaption{margin-top:16px}
}
@media(max-width:380px){
 .project-portfolio .project-intro{padding:24px 20px}.project-card-body,.project-card--pochicap .project-card-body{padding:24px 20px}
 .project-product-heading{align-items:flex-start;gap:10px}.project-product-icon{width:44px;height:44px;margin-top:5px}
 .project-related-heading{display:block}.project-related-icon{margin-bottom:14px}
 .project-capture{padding:22px 14px}.project-capture-heading{letter-spacing:.1em}
}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}}
