.portfolio-page{--bg-page:#fffefd;--bg-surface:#f5f4f0;--text-main:#2d2a26;--text-muted:#8a857d;--text-light:#b4b0a8;--accent-terracotta:#e89a5e;--accent-terracotta-light:#fdf4ed;--tag-red-bg:#fcf1f1;--tag-red-txt:#d16b6b;--tag-yellow-bg:#fdf6eb;--tag-yellow-txt:#d49d42;--tag-purple-bg:#f4eff9;--tag-purple-txt:#9872c4;--tag-green-bg:#eff6f0;--tag-green-txt:#68a376;--tag-blue-bg:#eef4f9;--tag-blue-txt:#6b9dc4;--segment-thumb-bg:var(--text-main);--segment-thumb-fg:var(--bg-page);--hairline:#0000000f;--hairline-footer:#0000000d;--hairline-chip:#0000000f;--hash-stripe:#00000008;--shadow-segment-a:#2d2a2629;--shadow-segment-b:#0000000d;--shadow-segment-c:#e89a5e1f;--shadow-slider:#2d2a261f;--shadow-visual-a:#2d2a2624;--shadow-visual-b:#e89a5e2e;--grid-line:#00000005;--video-grad-a:#2d2a260f;--video-grad-b:#e89a5e14;--video-border:#00000012;--play-ring:#e89a5e8c;--max-w:1000px;--radius-pill:999px;--radius-card:32px;--projects-sticky-offset:.85rem;min-height:100%;font-family:var(--font-dm-sans), sans-serif;background-color:var(--bg-page);color:var(--text-main);line-height:1.6}html[data-theme=dark] .portfolio-page{--bg-page:#12110f;--bg-surface:#1c1b18;--text-main:#ece9e4;--text-muted:#9e9890;--text-light:#6f6a62;--accent-terracotta:#e8a066;--accent-terracotta-light:#2a231c;--tag-red-bg:#2a1c1c;--tag-red-txt:#e07a7a;--tag-yellow-bg:#2a2418;--tag-yellow-txt:#d4a85a;--tag-purple-bg:#251f2e;--tag-purple-txt:#b89dd4;--tag-green-bg:#1a2520;--tag-green-txt:#7cb88a;--tag-blue-bg:#1a2228;--tag-blue-txt:#7aaed4;--segment-thumb-bg:#ddd8d0;--segment-thumb-fg:#141311;--hairline:#ffffff1a;--hairline-footer:#ffffff14;--hairline-chip:#ffffff1a;--hash-stripe:#ffffff0f;--shadow-segment-a:#00000073;--shadow-segment-b:#ffffff0f;--shadow-segment-c:#e89a5e38;--shadow-slider:#00000059;--shadow-visual-a:#00000080;--shadow-visual-b:#e89a5e40;--grid-line:#ffffff0d;--video-grad-a:#ffffff0d;--video-grad-b:#e89a5e1f;--video-border:#ffffff1a;--play-ring:#e89a5e80}.portfolio-page *,.portfolio-page :before,.portfolio-page :after{box-sizing:border-box}.portfolio-page *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0}.portfolio-page h1,.portfolio-page h2,.portfolio-page h3,.portfolio-page .serif{font-family:var(--font-newsreader), serif;color:var(--text-main);letter-spacing:-.02em;font-weight:400}.portfolio-page h1{margin-bottom:1.5rem;font-size:4rem;line-height:1.1}.portfolio-page h1 i{color:var(--text-muted);font-style:italic;font-weight:300}.portfolio-page h2{margin-bottom:1rem;font-size:2.5rem}.portfolio-page h3{margin-bottom:.5rem;font-size:1.5rem}.portfolio-page p{color:var(--text-muted);font-size:1.05rem}.portfolio-page .label{text-transform:uppercase;letter-spacing:.1em;color:var(--text-light);font-size:.75rem;font-weight:700}.portfolio-page .container{max-width:var(--max-w);margin:0 auto;padding:0 2rem}.portfolio-page nav{justify-content:space-between;align-items:center;padding:2rem 0;display:flex}.portfolio-page .logo{font-family:var(--font-newsreader), serif;color:var(--text-main);align-items:center;gap:12px;font-size:1.5rem;text-decoration:none;display:flex}.portfolio-page .logo-dot{background-color:var(--accent-terracotta);border-radius:50%;width:8px;height:8px}.portfolio-page .nav-actions{align-items:center;gap:1.25rem;display:flex}.portfolio-page .nav-links{gap:2rem;display:flex}.portfolio-page .theme-toggle{border-radius:var(--radius-pill);border:1px solid var(--hairline-chip);background:var(--bg-surface);width:40px;height:40px;color:var(--text-muted);cursor:pointer;justify-content:center;align-items:center;padding:0;transition:color .2s,background-color .2s,border-color .2s;display:inline-flex}.portfolio-page .theme-toggle:hover{color:var(--text-main);border-color:var(--hairline)}.portfolio-page .theme-toggle:focus-visible{outline:2px solid var(--accent-terracotta);outline-offset:2px}.portfolio-page .theme-toggle-icon{justify-content:center;align-items:center;display:flex}.portfolio-page .theme-toggle-icon svg{flex-shrink:0}.portfolio-page .theme-toggle--skeleton{pointer-events:none;opacity:.35}.portfolio-page .nav-links a{color:var(--text-muted);font-size:.95rem;font-weight:500;text-decoration:none;transition:color .3s}.portfolio-page .nav-links a:hover{color:var(--text-main)}.portfolio-page .segmented-control{vertical-align:middle;background-color:var(--bg-surface);border-radius:var(--radius-pill);isolation:isolate;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;max-width:min(100%,520px);box-shadow:0 12px 32px -14px var(--shadow-segment-a), 0 0 0 1px var(--shadow-segment-b), 0 0 0 1px var(--shadow-segment-c);grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;margin-bottom:0;padding:6px;display:inline-grid;position:relative}.portfolio-page .segmented-control.is-dragging{cursor:grabbing}.portfolio-page .segment-slider{border-radius:var(--radius-pill);background-color:var(--segment-thumb-bg);width:calc(33.3333% - 4px);box-shadow:0 1px 3px var(--shadow-slider);pointer-events:none;z-index:0;transition:transform .38s cubic-bezier(.22,1,.32,1);position:absolute;top:6px;bottom:6px;left:6px}.portfolio-page .segment{z-index:1;border-radius:var(--radius-pill);color:var(--text-muted);cursor:pointer;text-align:center;-webkit-hyphens:auto;hyphens:auto;background:0 0;border:none;justify-content:center;align-items:center;padding:8px 14px;font-family:inherit;font-size:.9rem;font-weight:500;line-height:1.25;transition:color .22s;display:flex;position:relative}.portfolio-page .segment.active{color:var(--segment-thumb-fg)}.portfolio-page .segment:not(.active):hover{color:var(--text-main)}.portfolio-page .tag-group{flex-wrap:wrap;gap:12px;margin:1.5rem 0;display:flex}.portfolio-page .tag{border-radius:var(--radius-pill);align-items:center;gap:8px;padding:8px 16px;font-size:.85rem;font-weight:500;display:inline-flex}.portfolio-page .tag svg{width:14px;height:14px}.portfolio-page .tag.red{background:var(--tag-red-bg);color:var(--tag-red-txt)}.portfolio-page .tag.red svg{fill:var(--tag-red-txt)}.portfolio-page .tag.yellow{background:var(--tag-yellow-bg);color:var(--tag-yellow-txt)}.portfolio-page .tag.yellow svg{fill:var(--tag-yellow-txt)}.portfolio-page .tag.purple{background:var(--tag-purple-bg);color:var(--tag-purple-txt)}.portfolio-page .tag.purple svg{fill:var(--tag-purple-txt)}.portfolio-page .tag.green{background:var(--tag-green-bg);color:var(--tag-green-txt)}.portfolio-page .tag.green svg{fill:var(--tag-green-txt)}.portfolio-page .tag.blue{background:var(--tag-blue-bg);color:var(--tag-blue-txt)}.portfolio-page .tag.blue svg{fill:var(--tag-blue-txt)}.portfolio-page .data-pills-container{justify-content:center;gap:12px;margin:3rem 0;display:flex;position:relative}.portfolio-page .data-pill{background-color:var(--bg-surface);border-radius:40px;justify-content:center;align-items:center;width:48px;height:72px;display:flex;position:relative;overflow:hidden}.portfolio-page .data-pill.hashed:before{content:"";background-image:repeating-linear-gradient(45deg, transparent, transparent 4px, var(--hash-stripe) 4px, var(--hash-stripe) 5px);position:absolute;inset:0}.portfolio-page .data-pill.active{background-color:#0000}.portfolio-page .data-pill.active .circle{background-color:var(--accent-terracotta);color:#fff;z-index:2;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:.9rem;font-weight:500;display:flex}@keyframes data-pill-loading{0%,to{opacity:.45;transform:scale(.94)}50%{opacity:1;transform:scale(1)}}.portfolio-page .data-pill:not(.active){animation:1.25s ease-in-out infinite data-pill-loading}.portfolio-page .data-pills-container .data-pill:first-child{animation-delay:0s}.portfolio-page .data-pills-container .data-pill:nth-child(2){animation-delay:.12s}.portfolio-page .data-pills-container .data-pill:nth-child(3),.portfolio-page .data-pills-container .data-pill:nth-child(5){animation-delay:.24s}.portfolio-page .data-pills-container .data-pill:nth-child(6){animation-delay:.12s}@media (prefers-reduced-motion:reduce){.portfolio-page .data-pill:not(.active){opacity:1;animation:none;transform:none}}.portfolio-page .hero{text-align:center;flex-direction:column;align-items:center;padding:8rem 0 4rem;display:flex}.portfolio-page .hero p.subtitle{max-width:600px;color:var(--text-muted);margin:0 auto;font-size:1.25rem}.portfolio-page .projects-header{top:var(--projects-sticky-offset);z-index:25;text-align:center;margin-bottom:3rem;padding:.35rem 0 1.5rem;position:sticky}.portfolio-page .projects-section{scroll-margin-top:calc(var(--projects-sticky-offset) + .5rem)}.portfolio-page .project-row{grid-template-columns:1fr 1fr;align-items:center;gap:6rem;margin-bottom:10rem;display:grid}.portfolio-page .projects-section .project-row:last-child{margin-bottom:4.5rem}.portfolio-page .project-row:nth-child(2n) .project-content{order:2}.portfolio-page .project-row:nth-child(2n) .project-visual{order:1}.portfolio-page .project-content{flex-direction:column;align-items:flex-start;display:flex}.portfolio-page .project-meta{align-items:center;gap:16px;margin-bottom:1.5rem;display:flex}.portfolio-page .project-number{font-family:var(--font-newsreader), serif;color:var(--text-light);font-size:1.25rem;font-style:italic}.portfolio-page .project-title{margin-bottom:1rem}@keyframes pending-dot-pulse{0%,to{opacity:.28;transform:scale(.55)}50%{opacity:1;transform:scale(1)}}.portfolio-page .project-title-pending{align-items:center;gap:.5rem;min-height:2.5rem;display:flex}.portfolio-page .pending-dot{background-color:var(--text-main);border-radius:50%;width:12px;height:12px;animation:1.15s ease-in-out infinite pending-dot-pulse}.portfolio-page .pending-dot:nth-child(2){animation-delay:.18s}.portfolio-page .pending-dot:nth-child(3){animation-delay:.36s}.portfolio-page .project-desc{margin-bottom:2rem;font-size:1.1rem}.portfolio-page .project-visual{background-color:var(--bg-surface);border-radius:var(--radius-card);aspect-ratio:4/3;justify-content:center;align-items:center;padding:3rem;transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s cubic-bezier(.22,1,.36,1);display:flex;position:relative;overflow:hidden}.portfolio-page .project-visual:hover{z-index:2;box-shadow:0 28px 56px -16px var(--shadow-visual-a), 0 0 0 1px var(--shadow-visual-b);transform:scale(1.045)}.portfolio-page .visual-grid{background-size:40px 40px;background-image:linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);transform-origin:50%;transition:opacity .45s,transform .55s cubic-bezier(.22,1,.36,1);position:absolute;inset:0}.portfolio-page .project-visual:hover .visual-grid{opacity:.65;transform:scale(1.06)}.portfolio-page .schematic-svg{z-index:1;transform-origin:50%;width:100%;height:100%;transition:transform .55s cubic-bezier(.22,1,.36,1)}.portfolio-page .project-visual:hover .schematic-svg{transform:scale(1.06)}.portfolio-page .project-visual-teaser{flex-direction:column}.portfolio-page .teaser-stack{z-index:1;text-align:center;transform-origin:50%;flex-direction:column;justify-content:center;align-items:center;gap:.65rem;padding:1.5rem;transition:transform .55s cubic-bezier(.22,1,.36,1);display:flex;position:relative}.portfolio-page .project-visual:hover .teaser-stack{transform:scale(1.05)}.portfolio-page .teaser-kicker{font-family:var(--font-newsreader), serif;color:var(--text-muted);font-size:1.15rem;font-style:italic;font-weight:300}.portfolio-page .teaser-display{font-family:var(--font-newsreader), serif;letter-spacing:-.03em;color:var(--text-main);font-size:clamp(2rem,5vw,3rem);font-weight:400;line-height:1.1}.portfolio-page .teaser-spark{letter-spacing:.14em;text-transform:uppercase;color:var(--accent-terracotta);font-size:.8rem;font-weight:700}.portfolio-page .spec-section-title{font-size:2rem}.portfolio-page .spec-lede{margin-bottom:1.75rem}.portfolio-page .spec-sheet{width:100%;max-width:100%;margin:0 0 1.75rem}.portfolio-page .spec-row{border-bottom:1px solid var(--hairline);grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:1rem 1.5rem;padding:.85rem 0;display:grid}.portfolio-page .spec-row:first-of-type{padding-top:0}.portfolio-page .spec-row dt{letter-spacing:.08em;text-transform:uppercase;color:var(--text-light);font-size:.8rem;font-weight:700}.portfolio-page .spec-row dd{color:var(--text-muted);font-size:1.02rem;line-height:1.5}.portfolio-page .project-visual-spec{flex-direction:column}.portfolio-page .spec-visual-stack{z-index:1;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;max-width:280px;padding:1.5rem;display:flex;position:relative}.portfolio-page .spec-visual-label{letter-spacing:.12em;text-transform:uppercase;color:var(--text-light);font-size:.75rem;font-weight:700}.portfolio-page .spec-chip-grid{grid-template-columns:1fr 1fr;gap:10px;width:100%;list-style:none;display:grid}.portfolio-page .spec-chip{border-radius:var(--radius-pill);background:var(--bg-page);border:1px solid var(--hairline-chip);color:var(--text-main);padding:.65rem .75rem;font-size:.82rem;font-weight:600}.portfolio-page .spec-visual-note{color:var(--text-muted);font-size:.88rem;line-height:1.45}.portfolio-page .project-visual-video{flex-direction:column;justify-content:center}.portfolio-page .sim-video-inner{z-index:1;justify-content:center;align-items:center;width:100%;padding:.5rem;display:flex;position:relative}.portfolio-page .sim-video-frame{width:100%;max-width:420px}.portfolio-page .sim-video-aspect{aspect-ratio:16/9;background:linear-gradient(145deg, var(--video-grad-a) 0%, var(--bg-surface) 45%, var(--video-grad-b) 100%);border:1px solid var(--video-border);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;width:100%;padding:1.25rem 1rem 1rem;display:flex;position:relative}.portfolio-page .sim-video-play{border:2px solid var(--play-ring);background:var(--bg-page);width:64px;height:64px;color:var(--accent-terracotta);cursor:not-allowed;opacity:.92;border-radius:50%;justify-content:center;align-items:center;padding-left:4px;display:flex}.portfolio-page .sim-video-caption{font-family:var(--font-newsreader), serif;color:var(--text-main);text-align:center;max-width:18rem;font-size:1.05rem;font-style:italic;line-height:1.35}.portfolio-page .sim-video-hint{letter-spacing:.06em;text-transform:uppercase;color:var(--text-light);text-align:center;font-size:.78rem;font-weight:600}.portfolio-page footer{text-align:center;border-top:1px solid var(--hairline-footer);padding:3.5rem 0 5rem;scroll-margin-top:.75rem}.portfolio-page footer h2{margin-bottom:2rem}.portfolio-page .footer-updated{color:var(--text-light);letter-spacing:.03em;margin-top:2.25rem;font-size:.82rem}.portfolio-page .footer-contact-label{text-align:center;margin-bottom:1.25rem;display:block}.portfolio-page .footer-contact-tag{background:var(--bg-surface);color:var(--text-main);text-decoration:none}.portfolio-page button.footer-contact-tag{font:inherit;cursor:pointer;border:none;transition:color .2s,box-shadow .2s;position:relative}.portfolio-page .footer-email-btn-label{transition:color .2s}.portfolio-page .footer-contact-tag--copied .footer-email-btn-label{color:var(--accent-terracotta)}.portfolio-page .footer-copy-live{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.portfolio-page .footer-email-inline{color:var(--text-muted);text-align:center;letter-spacing:.01em;margin-top:1rem;font-size:.9rem}@media (max-width:768px){.portfolio-page h1{font-size:2.75rem}.portfolio-page .project-row,.portfolio-page .project-row:nth-child(2n){grid-template-columns:1fr;gap:3rem;margin-bottom:6rem}.portfolio-page .projects-section .project-row:last-child{margin-bottom:3rem}.portfolio-page .project-row:nth-child(2n) .project-content{order:1}.portfolio-page .project-row:nth-child(2n) .project-visual{order:2}.portfolio-page .segmented-control{max-width:100%}.portfolio-page .segment{padding:8px 10px;font-size:.82rem}}@media (prefers-reduced-motion:reduce){.portfolio-page .segment-slider,.portfolio-page button.footer-contact-tag,.portfolio-page .footer-email-btn-label{transition:none}.portfolio-page .project-visual,.portfolio-page .project-visual:hover{box-shadow:none;z-index:auto;transition:none;transform:none}.portfolio-page .visual-grid,.portfolio-page .teaser-stack,.portfolio-page .schematic-svg{transition:none}.portfolio-page .project-visual:hover .visual-grid,.portfolio-page .project-visual:hover .teaser-stack,.portfolio-page .project-visual:hover .schematic-svg{opacity:1;transform:none}.portfolio-page .pending-dot{opacity:.55;animation:none;transform:scale(1)}}
