/* Approved design cascade, followed by standalone layout and accessibility fixes. */
@import url('fonts.css');
@import url('approved-base.css');
html {scroll-behavior:smooth;scroll-padding-top:24px;background:#f6f4f1;}
body {margin:0;}
button,summary,a {-webkit-tap-highlight-color:transparent;}
button {font:inherit;}
button:focus-visible,summary:focus-visible,a:focus-visible,[tabindex='-1']:focus-visible {outline:2px solid #121212;outline-offset:5px;}
.skip-link {position:fixed;top:12px;left:12px;z-index:20;background:#121212;color:#fff;padding:12px 20px;transform:translateY(-200%);}
.skip-link:focus {transform:none;}
#portfolio-review {font-size:16px;overflow:clip;}
#portfolio-review section,#portfolio-review footer {padding:85px max(7%,calc((100% - 1240px)/2));}
#portfolio-review .page-nav {padding:30px max(7%,calc((100% - 1240px)/2));}
#portfolio-review .page-nav a {display:inline-block;padding:8px 0;}
#portfolio-review .eyebrow,#portfolio-review .section-index,#portfolio-review .process-label,#portfolio-review .journey-strip span:first-child {font-size:12px;}
#portfolio-review .chapter p:first-of-type,#portfolio-review .project .status {font-size:14px;}
#portfolio-review figcaption {font-size:12px;}
#portfolio-review .hero .actions {font-size:16px;}
#portfolio-review .hero .portrait {min-width:0;}
#portfolio-review .hero-copy,#portfolio-review .prose {min-width:0;}
#portfolio-review h1 {font-size:clamp(72px,10vw,124px);}
#portfolio-review .chapter h3 {margin-bottom:14px;}
#portfolio-review .career .timeline {position:relative;margin-top:48px;}
#portfolio-review .chapter {width:45%;padding:25px 25px 30px;margin-bottom:65px;}
#portfolio-review .chapter:last-child {margin-bottom:0;}
#portfolio-review .chapter:nth-of-type(even) {margin-left:55%;}
#portfolio-review .chapter::before {right:calc(-11.111% - 7px);top:35px;z-index:1;}
#portfolio-review .chapter:nth-of-type(even)::before {left:calc(-11.111% - 7px);right:auto;}
#portfolio-review .chapter::after {display:none;}
#portfolio-review .timeline::before {content:'';position:absolute;top:42px;bottom:42px;left:50%;border-left:2px solid var(--accent);}
#portfolio-review .timeline.enhanced::before {display:none;}
#portfolio-review .timeline-line {position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
#portfolio-review .timeline-line path {fill:none;stroke:var(--accent);stroke-width:2;}
#portfolio-review .reveal {opacity:1;transform:none;}
/* Logos are readable in the unenhanced document; JS opts into dispersion. */
#portfolio-review .founder-roster {position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:24px;margin:45px 0;}
#portfolio-review .company {position:static;width:auto;opacity:1;transform:none;}
#portfolio-review .company span {font-size:12px;line-height:1.4;}
#portfolio-review .company-mark strong {font:500 14px/1.2 'DM Sans',sans-serif;}
#portfolio-review .founders>.prose>p:first-child {display:block;}
#portfolio-review .logo-scene {height:650px;}
#portfolio-review .logo-scene .founder-roster {position:absolute;inset:0;display:block;margin:0;}
#portfolio-review .logo-scene .company {position:absolute;left:calc(50% - 60px);top:calc(50% - 40px);width:120px;will-change:transform;transition:none;}
#portfolio-review .logo-center {left:25%;right:25%;top:50%;transform:translateY(-50%);transition:none;}
#portfolio-review .logo-center p {font-size:30px;}
#portfolio-review .scene-caption {font-size:12px;bottom:0;}
#portfolio-review .story>h3 {font-size:14px;}
#portfolio-review summary {font-size:16px;min-height:44px;}
#portfolio-review .worki-logo {width:130px;}
#portfolio-review .webinar-crop {aspect-ratio:auto;}
#portfolio-review .webinar-crop img {position:static;width:100%;height:auto;}
#portfolio-review .project {scroll-margin-top:30px;}
#portfolio-review .orbit button {font-size:16px;line-height:1.4;min-height:190px;}
#portfolio-review .project-caption {font-size:12px;}
#portfolio-review .line-label {font-size:12px;}
#portfolio-review .clean-controls {gap:24px;flex-wrap:wrap;}
#portfolio-review .clean-controls span {font-size:12px;}
#portfolio-review .clean-controls button {font-size:14px;min-height:44px;}
#portfolio-review .flow-buttons button {font:14px/1.45 'DM Sans',sans-serif;min-height:76px;}
#portfolio-review .flow-buttons button.active {background:#f2d3c2;border-color:#985347;}
#portfolio-review .flow-controls {font-size:12px;gap:16px;}
#portfolio-review .flow-controls button {font:14px 'DM Sans',sans-serif;min-height:44px;}
#portfolio-review .flow-detail {font-size:16px;line-height:1.6;min-height:5em;}
#portfolio-review .project-return {grid-column:2;justify-self:start;border:0;border-bottom:1px solid #121212;background:none;padding:12px 0;font-size:14px;cursor:pointer;}
#portfolio-review .close {border-top:1px solid #d7d0c6;}
#portfolio-review .close .prose>p:last-child {font:30px/1.3 'Instrument Serif',serif;margin-top:48px;}
@media(max-width:900px) {
 #portfolio-review .hero-grid {gap:6%;grid-template-columns:1.15fr .8fr;}
 #portfolio-review .story-grid {gap:5%;}
 #portfolio-review .project {gap:24px;grid-template-columns:.7fr 1.3fr;}
 #portfolio-review .logo-center p {font-size:27px;}
}
@media(max-width:700px) {
 #portfolio-review section,#portfolio-review footer {padding:52px 7%;}
 #portfolio-review .page-nav {padding:20px 7%;font-size:14px;}
 #portfolio-review .page-nav>span:first-child {width:100%;font-size:20px;}
 #portfolio-review .hero-grid,#portfolio-review .story-grid,#portfolio-review .project {grid-template-columns:minmax(0,1fr);gap:28px;}
 #portfolio-review h1 {font-size:clamp(64px,15vw,90px);}
 #portfolio-review h2 {font-size:clamp(46px,10.8vw,70px);}
 #portfolio-review .portrait {margin:15px 0;max-width:330px;}
 #portfolio-review .journey-strip {font-size:14px;}
 #portfolio-review .chapter,#portfolio-review .chapter:nth-of-type(even) {width:calc(100% - 18px);margin-left:18px;border:0;padding:20px 0 32px 24px;margin-bottom:0;}
 #portfolio-review .chapter::before,#portfolio-review .chapter:nth-of-type(even)::before {left:-7px;right:auto;top:35px;}
 #portfolio-review .timeline::before {left:18px;}
 #portfolio-review .chapter h3 {font-size:32px;}
 #portfolio-review .chapter p:first-of-type {margin-top:0;}
 #portfolio-review .logo-scene {height:740px;margin-top:40px;}
 #portfolio-review .logo-scene .company {width:88px;left:calc(50% - 44px);top:calc(50% - 35px);}
 #portfolio-review .company-mark {height:40px;padding:5px;}
 #portfolio-review .company-mark img {max-height:30px;}
 #portfolio-review .logo-center {left:7%;right:7%;}
 #portfolio-review .logo-center p {font-size:27px;}
 #portfolio-review .company span {font-size:12px;}
 #portfolio-review .scene-caption {max-width:250px;line-height:1.6;}
 #portfolio-review .cautio {padding-left:20px;}
 #portfolio-review .cautio h3 {font-size:30px;}
 #portfolio-review .story-grid .prose p:first-child {font-size:32px;}
 #portfolio-review .orbit {min-height:400px;margin-top:36px;}
 #portfolio-review .orbit button {font-size:14px;width:32%;min-height:194px;padding:9px 7px;}
 #portfolio-review .orbit button:nth-of-type(2) {left:34%!important;}
 #portfolio-review .orbit button:nth-of-type(3) {left:68%!important;}
 #portfolio-review .project-object {height:65px;margin-bottom:12px;}
 #portfolio-review .object-paper {height:50px;}
 #portfolio-review .project-caption {font-size:12px;}
 #portfolio-review .line-field {height:340px;}
 #portfolio-review .project h3,#portfolio-review .project .prose,#portfolio-review .project .process,#portfolio-review .project-return {grid-column:1;grid-row:auto;}
 #portfolio-review .process {padding:20px;}
 #portfolio-review .flow-buttons {display:grid;grid-template-columns:1fr 1fr;}
 #portfolio-review .flow-detail {min-height:6em;}
 #portfolio-review .work-photo-pair figure:nth-child(2) {width:100%;}
 #portfolio-review .clean-controls {gap:8px;}
}
@media(prefers-reduced-motion:reduce) {
 html {scroll-behavior:auto;}
 #portfolio-review *,#portfolio-review *::before,#portfolio-review *::after {animation:none!important;transition:none!important;}
}
@media print {
 #portfolio-review .project[hidden] {display:grid;}
 #portfolio-review .orbit,#portfolio-review .clean-controls,#portfolio-review .flow-controls,#portfolio-review .project-return,.skip-link {display:none;}
 #portfolio-review section,#portfolio-review footer {padding:24px 0;}
}
@media(max-width:380px) {
 #portfolio-review .logo-center p {font-size:24px;}
 #portfolio-review .orbit button {font-size:14px;overflow-wrap:break-word;}
 #portfolio-review .project-caption {font-size:12px;}
}
#portfolio-review .motion-control {display:block;margin-top:32px;background:none;border:1px solid #b6aaa0;color:var(--ink);padding:12px 16px;font:14px 'DM Sans',sans-serif;cursor:pointer;}
#portfolio-review .motion-control[aria-pressed=true] {background:#e4ded2;}
#portfolio-review .motion-control:disabled {cursor:default;}
html.reduce-motion {scroll-behavior:auto;}
#portfolio-review.reduce-motion *,#portfolio-review.reduce-motion *::before,#portfolio-review.reduce-motion *::after {animation:none!important;transition:none!important;}
