:root{--control-border:#e9e9e9;--radius:8px;--background:#faf8f4;--surface:#fff;--placeholder:#ebedf0;--ink:rgba(0,0,0,.9);--muted:rgba(0,0,0,.6)}*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--ink);font-family:Avenir,'Avenir Next',Arial,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible{outline:2px solid #375adb;outline-offset:5px}header{padding:40px;display:flex;align-items:center;justify-content:space-between;min-height:102px}.brand{font-weight:900;letter-spacing:1.12px;text-transform:uppercase}nav{display:flex;align-items:center;gap:42px;font-weight:400;letter-spacing:.56px}nav [aria-current]{text-decoration:underline;text-underline-offset:3px}.icon-link{display:flex;align-items:center}.icon-link img,footer img{display:block;flex-shrink:0}.portfolio,.case-study{width:calc(100% - 144px);max-width:1600px;margin:auto}.intro{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 18px;border-left:6px solid #242424;border-radius:var(--radius);background:#4b4a4a;color:white;margin:0;font-size:14px;font-weight:400;letter-spacing:.64px;line-height:24px}.intro strong{font-weight:900}.projects{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:37px}.project{display:block;padding:0;background:transparent;border-radius:var(--radius);min-width:0}.project:hover{text-decoration:none}.project-image{width:100%;aspect-ratio:592/368;background:var(--placeholder);border-radius:var(--radius)}.project h2{font-size:14px;line-height:19px;margin:8px 0 0;font-weight:800}.project p{font-size:14px;line-height:19px;color:var(--muted);margin:0}footer{min-height:332px;display:flex;justify-content:center;align-items:flex-start;gap:83px;padding:113px 24px;font-family:Arial,sans-serif;letter-spacing:.64px;font-size:16px}footer h2{font-size:16px;margin:0;line-height:19px}footer>div{display:flex;flex-direction:column;gap:26px}footer a{display:flex;gap:10px;align-items:center;line-height:19px}.resume{background:white;border-radius:var(--radius);max-width:612px;margin:0 auto;color:#5d5a58;font-size:11px;line-height:15px;padding-bottom:8px}.resume-heading{display:flex;justify-content:space-between;gap:16px;padding:24px;min-height:94px;color:#474443}.resume-heading h1{font-size:12px;text-transform:uppercase;letter-spacing:.96px;margin:0;line-height:18px;font-weight:900}.resume-heading p{font-size:12px;letter-spacing:.48px;margin:0}.details{display:flex;gap:24px;white-space:nowrap;font-size:11px;letter-spacing:.44px}.company{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:8px 24px;font-size:11px;line-height:15px;text-transform:uppercase;letter-spacing:.88px;font-weight:900;color:#474443}.company:first-of-type{margin-top:0}em{font-weight:400;font-style:italic;letter-spacing:0;text-transform:none;color:#5d5a58}.job{padding:8px 24px}.job h3{display:flex;gap:12px;align-items:center;margin:0 0 6px;font-size:11px;line-height:15px;font-weight:400}.job h3 strong{color:#474443;font-weight:800;letter-spacing:.44px}.job-icon{width:10px;flex:0 0 10px;display:flex;align-items:center;justify-content:center}.job-icon img{display:block}.job-icon img[src$='.png']{width:10px;height:10px;object-fit:cover}.job-icon.sva{height:10px;overflow:hidden;justify-content:flex-start}.job-icon.sva img{width:29.458px;max-width:none;object-fit:fill}.job-icon.uw img{transform:scaleY(-1)}.job ul{padding-left:16.5px;margin:0 0 0 22px}.job p{margin:0 0 0 22px}.case-space{height:1468px}.request{flex-wrap:wrap}.case-study{padding-bottom:57px}.skip{position:absolute;top:-100px;left:10px;background:white;padding:12px;z-index:10}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1441px){.portfolio,.case-study{max-width:1296px}}@media(max-width:700px){header{padding:24px;gap:20px;flex-wrap:wrap;min-height:100px}nav{gap:24px}.portfolio,.case-study{width:calc(100% - 40px)}.projects{grid-template-columns:1fr;gap:24px;margin-top:24px}.intro{font-size:13px}.resume{margin:0 20px;max-width:none}.resume-heading{flex-direction:column}.details{flex-wrap:wrap;gap:4px 16px}.job h3{flex-wrap:wrap;gap:6px 12px}.job h3 em{flex-basis:100%;margin-left:22px}.resume{font-size:13px;line-height:19px}.job h3,.company{font-size:12px;line-height:18px}footer{padding:70px 24px;min-height:280px;gap:38px;font-size:14px}.case-space{height:65vh}}@media(max-width:390px){nav{gap:20px}.brand{width:100%}}@media print{header,footer,.skip{display:none}.resume{max-width:none;margin:0;border-radius:0}.job{break-inside:avoid}body{background:white}}
.logout{margin:0}.logout button{font:inherit;font-size:12px;border:1px solid #aaa;background:transparent;color:inherit;padding:6px 10px;border-radius:var(--radius);cursor:pointer}.logout button:focus-visible{outline:2px solid #375adb;outline-offset:3px}@media(max-width:700px){nav{flex-wrap:wrap;gap:20px}.logout{flex-basis:100%}}@media print{.logout{display:none}}
.contact-dropdown{position:relative}.contact-trigger{display:flex;align-items:center;gap:7px;border:0;padding:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;min-height:24px}.contact-trigger:hover{text-decoration:underline}.contact-trigger:focus-visible,.contact-copy:focus-visible{outline:2px solid #375adb;outline-offset:4px}.contact-caret{transition:transform .15s}.contact-trigger[aria-expanded="true"] .contact-caret{transform:rotate(180deg)}.contact-menu{position:absolute;right:0;top:calc(100% + 14px);z-index:20;width:310px;max-width:calc(100vw - 40px);padding:8px;background:white;border:1px solid var(--control-border);border-radius:var(--radius);box-shadow:var(--floating-elevation);font-size:14px;font-weight:400;letter-spacing:0}.contact-menu[hidden]{display:none}.contact-menu ul{list-style:none;margin:0;padding:0}.contact-menu li{display:flex;align-items:center;gap:12px;padding:8px;border-radius:var(--radius)}.contact-menu li>svg,.contact-menu li>img{flex-shrink:0}.contact-menu li>a{flex:1;min-width:0;white-space:nowrap}.contact-copy{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:0;border-radius:var(--radius);background:none;color:#555;cursor:pointer}.contact-copy:hover{background:var(--hover-backplate);color:#111}@media(max-width:700px){.contact-menu{right:-44px}}@media(prefers-reduced-motion:reduce){.contact-caret{transition:none}}
.contact-copy{position:relative}.copy-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;white-space:nowrap;padding:6px 9px;border-radius:var(--radius);background:#262626;color:white;font:12px/16px Avenir,'Avenir Next',Arial,sans-serif;font-weight:500;pointer-events:none;opacity:0;visibility:hidden;z-index:30;box-shadow:0 2px 8px #0002}.copy-tooltip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:4px solid transparent;border-top-color:#262626}.contact-copy:hover .copy-tooltip,.contact-copy:focus-visible .copy-tooltip,.contact-copy.is-copied .copy-tooltip{opacity:1;visibility:visible}.copy-check{display:block;flex:0 0 12px;width:12px;height:12px;background:#6ee7a0;-webkit-mask:url("assets/copied-checkmark.svg") center/contain no-repeat;mask:url("assets/copied-checkmark.svg") center/contain no-repeat}
/* Navigation hover treatment; underline identifies the current page only. */
nav>a,.contact-trigger{position:relative;isolation:isolate;border-radius:var(--radius)}
nav>a::before,.contact-trigger::before{content:"";position:absolute;inset:-7px -10px;border-radius:var(--radius);background:transparent;z-index:-1;pointer-events:none}
nav>a:hover,.contact-trigger:hover{text-decoration:none}
nav>a:hover::before{background:var(--hover-backplate);box-shadow:none}
nav>a[aria-current="page"],nav>a[aria-current="page"]:hover{text-decoration:underline;text-underline-offset:3px}

.contact-menu li>.contact-value{flex:1;min-width:0;white-space:nowrap}

.contact-detail-icon{color:#b3b3b3}.contact-email-icon{opacity:.3}
/* Reveal copy controls on row hover or keyboard focus; keep touch access. */
@media (hover:hover) and (pointer:fine){
  .contact-copy{opacity:0;pointer-events:none}
  .contact-menu li:hover .contact-copy,
  .contact-menu li:focus-within .contact-copy,
  .contact-copy.is-copied{opacity:1;pointer-events:auto}
}
.contact-detail-icon{transform:scale(.875);transform-origin:center}
.contact-menu{width:260px}

.resume{background:transparent;border-radius:0}.floating-toolbar{position:fixed;right:24px;top:100px;z-index:40;display:flex;padding:0}.floating-button{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #d6d6d6;border-radius:var(--radius);font-size:13px;font-weight:400;color:#474443}.floating-button:hover{background:#ebebeb;text-decoration:none}.resume-heading{flex-wrap:wrap}.resume-heading .details{flex-wrap:wrap;gap:8px 20px}.job .job-note{margin-bottom:12px}@media print{.floating-toolbar{display:none}}

.floating-toolbar .floating-button{background:var(--background);box-shadow:var(--floating-elevation)}.floating-toolbar .floating-button:hover{background:#ebebeb}@media(max-width:700px){.floating-toolbar{right:16px}}



/* Resume typography shares the site's 14px reading scale. */
.resume{font-size:14px;line-height:1.5;max-width:760px}
.resume .company{font-size:14px;line-height:1.5;letter-spacing:.56px;margin-top:24px}
.resume .company:first-of-type{margin-top:0}
.resume .job{padding-top:10px;padding-bottom:10px}
.resume .job h3{font-size:14px;line-height:1.5;flex-wrap:wrap;row-gap:4px;margin-bottom:8px}
.resume .job h3 strong{letter-spacing:0}
.resume .job li+li{margin-top:6px}
.resume .job em,.resume .company em{font-size:14px}
.floating-button{font-size:14px;line-height:20px;height:32px}
@media(max-width:700px){.resume{font-size:14px;line-height:1.5}.resume .job h3,.resume .company{font-size:14px;line-height:1.5}}
/* Keep the resume inside the same horizontal bounds as the header. */
.resume{width:calc(100% - 80px);max-width:760px;margin-left:auto;margin-right:auto;min-width:0;overflow-wrap:anywhere}
.resume .job h3 strong,.resume .job h3 em{min-width:0;max-width:100%}
/* Size employer and education marks to the surrounding 14px text. */
.resume .job-icon{width:16px;flex:0 0 16px;height:18px}
.resume .job-icon img{height:16px;width:auto;max-width:18px;object-fit:contain}
.resume .job-icon img[src$='.png']{width:16px;height:16px;object-fit:cover}
.resume .job-icon.sva{height:16px;width:16px;overflow:hidden}
.resume .job-icon.sva img{height:16px;width:47.133px;max-width:none;object-fit:fill}
.resume .job-icon.uw img{width:16px;height:auto}
.resume .job ul,.resume .job p{margin-left:28px}
@media(max-width:700px){.resume{width:calc(100% - 48px);margin-left:auto;margin-right:auto}.resume .job h3 em{margin-left:28px}}
@media print{.resume{width:100%;max-width:none;margin:0}}

/* Shared translucent inset surface from the Figma background component. */
:root{--backplate:rgba(225,223,221,.1);--hover-backplate:var(--backplate);--backplate-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>header,body>main,body>footer{flex-shrink:0}
body>main{margin-top:0;margin-bottom:48px}
footer#contact{width:100%;min-height:0;margin-top:auto;padding:var(--header-top-padding) 40px var(--header-content-gap);gap:0;align-items:center;font-family:inherit;font-size:14px;letter-spacing:0;background:var(--backplate);box-shadow:var(--backplate-shadow);border-radius:0}
@media(max-width:700px){footer#contact{padding-inline:24px}}
footer .footer-links{display:flex;flex-direction:row;align-items:center;gap:8px;padding:0}
footer .footer-links a,footer .footer-links .footer-copy{position:relative;display:flex;align-items:center;justify-content:center;width:auto;height:32px;padding:0 4px;border-radius:var(--radius)}
footer .footer-links a:hover{text-decoration:none}
footer .footer-links svg{display:block;flex-shrink:0;width:16px;height:16px;color:#000;opacity:.6}
header .icon-link img,footer .footer-links img{width:auto;height:16.6154px}
.footer-tooltip,.project-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:6px 10px;background:#333;color:white;border-radius:var(--radius);font-size:12px;line-height:18px;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;z-index:50}
footer a:hover .footer-tooltip,footer a:focus-visible .footer-tooltip,footer .footer-copy:hover .footer-tooltip,footer .footer-copy:focus-visible .footer-tooltip,footer .footer-copy.is-copied .footer-tooltip{opacity:1;visibility:visible}
@media print{footer#contact{display:none}}

/* Match the supplied resume's compact rhythm at the website's 14px scale. */
.resume{line-height:20px}
.resume .job{padding-top:8px;padding-bottom:8px}
.resume .job h3{line-height:20px;margin-bottom:8px}
.resume .job .job-note{margin-bottom:8px}
.resume .job li+li{margin-top:6px}

/* Resume text palette: headings/contact details and supporting copy. */
.resume{--resume-heading-color:rgba(0,0,0,.7);--resume-text-color:rgba(0,0,0,.9);color:var(--resume-text-color)}
.resume .company,.resume .job h3 strong,.resume .resume-heading h1,.resume .details{color:var(--resume-heading-color)}
.resume .job h3,.resume p,.resume li,.resume em{color:var(--resume-text-color)}
.resume li::marker{color:var(--resume-text-color)}
header .brand{color:rgba(0,0,0,.7)}
.contact-menu li>a,.contact-value{color:#474443}

/* Consistent title-to-date and title-to-role spacing. */
.resume .company,.resume .job h3{column-gap:12px}

/* Keep the site name visually plain while retaining portfolio navigation. */
header .brand:hover,.resume-page header .brand:hover{color:rgba(0,0,0,.9);text-decoration:none}

/* Portfolio captions use the same typography as resume role headings and body copy. */
.project h2{font-size:16px;line-height:20px;font-weight:800;letter-spacing:0;color:rgba(0,0,0,.7)}
.project p{font-size:16px;line-height:20px;font-weight:400;letter-spacing:0;color:#5d5a58}

/* Match the portfolio's vertical spacing to the header's page padding. */
/* Keep the first project and caption visible, with the next image beginning below. */
.portfolio .projects{width:min(100%,var(--project-media-width,960px));margin:0 auto;grid-template-columns:minmax(0,1fr);gap:64px}
body>main.portfolio{margin-top:var(--page-content-gap);margin-bottom:40px}
body>main.case-study{margin-top:var(--page-content-gap)}
header .icon-link img,footer .footer-links img{width:16px;height:16px;object-fit:contain}
@media(max-width:700px){body>main.portfolio{margin-bottom:24px}}

/* Shared secondary text tone without dimming the surrounding elements. */
.resume em,.project p{color:rgba(0,0,0,.6)}

/* Keep the contact popover above the floating resume action. */
.contact-menu{z-index:60}
.floating-button{border:1px solid var(--control-border)}

/* Give contact details room to breathe, with aligned outline icons. */
.contact-menu{width:max-content;padding:6px}
.contact-menu ul{display:flex;flex-direction:column;gap:2px}
.contact-menu li{display:grid;grid-template-columns:16px minmax(0,1fr) 24px;min-height:40px;padding:10px 12px;gap:12px;line-height:20px}
.contact-item-icon{display:block;width:16px;height:16px;color:#000;opacity:.6}
.contact-phone-icon{width:18px;height:18px;justify-self:center;align-self:center}
.contact-linkedin-icon{object-fit:contain}
.contact-menu .contact-email-icon,footer .footer-links .footer-email-icon{width:16px;height:14px;object-fit:contain}
.contact-copy{width:20px;height:20px;justify-self:end;color:rgba(0,0,0,.6)}

/* Retain the contact backplate while its menu is expanded. */
.contact-trigger:hover,.contact-trigger:focus-visible,.contact-trigger[aria-expanded="true"]{background:var(--hover-backplate);box-shadow:none}
.contact-trigger[aria-expanded="true"]{background:var(--backplate);box-shadow:var(--backplate-shadow)}

/* Match the download button's 5px/10px padding and align the popover edge. */
.contact-trigger{min-height:0;line-height:20px}
.contact-trigger::before{content:none}
.contact-menu{right:-10px}

/* Navigation emphasis follows the current page or open contact menu. */
nav>a,.contact-trigger{color:rgba(0,0,0,.6)}
nav>a:hover,.contact-trigger:hover{color:rgba(0,0,0,.7)}
nav>a[aria-current="page"],.contact-trigger[aria-expanded="true"]{color:rgba(0,0,0,.9)}
nav>.icon-link img{opacity:.6}
nav>.icon-link[aria-current="page"] img{opacity:.9}

/* Selected navigation uses the shared backplate instead of an underline. */
nav>a[aria-current="page"],nav>a[aria-current="page"]:hover{text-decoration:none}
nav>a[aria-current="page"]::before{background:var(--backplate);box-shadow:var(--backplate-shadow)}
nav>a[aria-current="page"]:hover::before{background:var(--hover-backplate)}

/* Shared muted black tone for contact and footer icons. */
nav>.icon-link img,footer .footer-links img{filter:brightness(0);opacity:.6}

/* Selected navigation retains regular text weight. */
nav>a[aria-current="page"],.contact-trigger[aria-expanded="true"]{font-weight:400}



/* Align portfolio cards with the shared header's horizontal padding. */
main.portfolio{width:calc(100% - 80px);max-width:none}
@media(max-width:700px){main.portfolio{width:calc(100% - 48px)}}

/* Equal navigation spacing measured between each item's padded hit area. */
header nav{gap:24px}
header .brand,header nav{font-size:16px}
header nav>a,header .contact-trigger{padding:8px;line-height:16px;min-height:32px}
header nav>a::before,header .contact-trigger::before{inset:0}
header .contact-menu{right:0}
@media(max-width:700px){header nav{gap:24px}}

/* Keep both primary pages on the same content origin beneath the header. */
/* Account for the first company's 4px top padding and 4px logo inset. */
main.resume{--resume-header-gap:calc(var(--page-content-gap) - 8px);width:calc(100% - 80px);max-width:none;margin-top:var(--resume-header-gap)}
.resume .company{padding-left:0;padding-right:0}
.resume .company:first-of-type{padding-top:0}
.resume .job{padding-left:0;padding-right:0;max-width:712px}
@media(max-width:700px){main.resume{width:calc(100% - 48px)}}

/* Use the same spacing for logo-to-title and title-to-role pairs. */
.resume .job h3{column-gap:12px}
.resume .job-icon{margin:0}

/* Position contact menu one pixel below its trigger backplate. */
header .contact-menu{top:calc(100% + 8px)}


/* Slightly reduce resume logo artwork while preserving layout spacing. */
.resume .job-icon{transform:scale(.875);transform-origin:center}

/* Match the logo-to-title gap to the compact bullet-to-text spacing. */
.resume .job-icon{margin-right:-6px}
.resume .job ul,.resume .job p{margin-left:22px}
@media(max-width:700px){.resume .job h3 em{margin-left:22px}}

/* Center logo artwork against the adjacent title's 20px line box. */
.resume .job-icon{position:relative;display:flex;align-items:center;justify-content:center;width:16px;flex:0 0 16px;height:20px;transform:none;align-self:flex-start}
.resume .job-icon img{display:block;width:auto;height:14px;max-width:16px;object-fit:contain}
.resume .job-icon img[src$='.png']{width:14px;height:14px;object-fit:contain}
.resume .job-icon img[src$='0589f.svg']{height:15px}
.resume .job-icon.uw img{width:15px;height:auto}
.resume .job-icon.sva{width:16px;height:20px;overflow:hidden;justify-content:center}
.resume .job-icon.sva img{position:absolute;left:1px;top:3px;width:41.241px;height:14px;max-width:none;clip-path:inset(0 calc(100% - 14px) 0 0)}

/* Compensate for the Outlook artwork's smaller visual footprint. */
.resume .job-icon img[src$="c2cff.svg"]{width:16px;height:16px}

/* Optically align the Netflix mark with the adjacent title capitals. */
.resume .job-icon img[src$="0589f.svg"]{transform:translateY(-1px)}

/* Balance the Viva mark with the adjacent employer logos. */
.resume .job-icon img[src$="4a134.svg"]{width:16px;height:16px}

/* Compact title-to-description spacing for experience and education entries. */
.resume .job:has(>p):not(:has(>ul)) h3{margin-bottom:4px}

/* Tech Catalog project page: responsive translation of the Figma case-study layout. */
main.catalog-study{width:calc(100% - 80px);margin:0 auto 48px;color:#5d5a58;font-size:14px;line-height:20px}
.catalog-heading{max-width:571px}
.catalog-heading h1{margin:0 0 8px;font-size:24px;line-height:32px;font-weight:800;color:rgba(0,0,0,.7)}
.catalog-heading p,.catalog-section p{margin:0}
.catalog-overview{display:grid;grid-template-columns:minmax(0,656fr) minmax(0,662fr);gap:42px;margin-top:64px;align-items:start}
.catalog-image{width:100%;aspect-ratio:656/466;background:var(--surface);border-radius:var(--radius)}
.catalog-problem{padding-top:93px;max-width:542px}
.catalog-section h2{margin:0 0 8px;font-size:14px;line-height:20px;font-weight:900;letter-spacing:.88px;text-transform:uppercase;color:#474443}
.catalog-details{width:40%;margin:200px 0 0 auto;display:flex;flex-direction:column;gap:40px}
.catalog-request{margin:600px 32px 0;font-weight:400}
@media(max-width:700px){main.catalog-study{width:calc(100% - 48px);margin-bottom:24px}.catalog-overview{grid-template-columns:1fr;gap:32px;margin-top:32px}.catalog-problem{padding-top:0;max-width:none}.catalog-details{width:100%;margin-top:40px;gap:32px}.catalog-request{margin:64px 0 0}}

/* Full-width images follow each text section, matching the hero proportions. */
.catalog-study{--catalog-gap:16px;--catalog-section-gap:40px}
.catalog-sections{display:flex;flex-direction:column;gap:var(--catalog-section-gap);margin-top:var(--catalog-section-gap)}
.catalog-row{display:flex;flex-direction:column;gap:var(--catalog-gap);align-items:stretch}
.catalog-row .catalog-image{width:100%;background:var(--placeholder);aspect-ratio:16/9}
.catalog-row .catalog-section{width:100%;min-width:0;max-width:712px}
.catalog-study .catalog-request{margin:var(--catalog-section-gap) 0 0}
.catalog-study .catalog-request,.case-study .request{border-left:0}

/* Supporting project blurbs reuse the navigation backplate surface. */
.catalog-blurb{padding:24px;border-radius:var(--radius);background:var(--backplate);box-shadow:none;color:#5d5a58;font-size:14px;line-height:20px}
.catalog-section .catalog-blurb{margin-top:16px}
.catalog-blurb h2{display:flex;align-items:center;gap:8px;margin:0 0 16px;color:#474443;font:inherit;font-weight:800}
.catalog-blurb p{margin:0}
.catalog-blurb p+p{margin-top:8px}

.catalog-briefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;margin-top:var(--catalog-section-gap)}
.catalog-blurb-icon{flex:0 0 16px;color:#5547ff}
@media(max-width:700px){.catalog-blurb{padding:20px}.catalog-briefs{grid-template-columns:1fr;gap:16px}}

/* Full-width project overview image, aligned to the page margins. */
.catalog-hero-image{width:100%;aspect-ratio:16/9;margin-top:16px;background:var(--placeholder);border-radius:var(--radius)}
.catalog-hero-media{display:block;max-width:1200px;height:auto;aspect-ratio:auto;background:transparent}

.catalog-heading .catalog-meta{margin-top:12px;font-size:14px;line-height:20px;font-weight:400}
.catalog-meta em{font-style:italic;color:rgba(0,0,0,.6)}

/* Keep header geometry identical; only its inset surface appears on scroll. */
:root{--floating-elevation:0 8px 28px #00000014;--header-content-gap:16px;--header-top-padding:16px;--header-name-line-height:22px;--header-nav-height:32px;--page-content-gap:calc(64px - var(--header-content-gap) - (var(--header-nav-height) - var(--header-name-line-height))/2)}
body>header{position:sticky;top:0;z-index:100;padding-top:var(--header-top-padding);padding-bottom:var(--header-content-gap);min-height:0;background:transparent;box-shadow:none}
/* Keep the clear space below the sticky navigation equal to the space above it. */
body>header::before{content:"";position:absolute;inset:0 0 calc(var(--header-content-gap) - var(--header-top-padding));z-index:-1;pointer-events:none;background:var(--background);opacity:0}
body>header.is-scrolled::before{opacity:1}
/* Resolve content spacing before first paint, without post-load measurements. */
header .brand{line-height:var(--header-name-line-height)}
.header-bar{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;width:100%;min-width:0}
.header-bar::before{content:"";position:absolute;inset:-6px -11px;z-index:-1;pointer-events:none;background:var(--background);border:0;border-radius:var(--radius);box-shadow:none;opacity:0;transition:opacity .15s ease}
body>header.is-scrolled .header-bar::before{opacity:1}
@media(max-width:700px){.header-bar{gap:20px}}
/* Keep the last navigation row as the spacing reference on narrow screens.
   580px: the name (126px) beside the nav (381px) with 32px nav gaps needs ~575px, so stack before that. */
@media(max-width:580px){
  :root{--page-content-gap:calc(64px - var(--header-content-gap))}
  .header-bar{flex-wrap:wrap}
  header .brand{width:100%}
}
html{scroll-padding-top:calc(var(--site-header-height,110px) + 16px)}
.skip{z-index:101}
.floating-toolbar{top:var(--site-header-height,110px)}
@media(prefers-reduced-motion:reduce){.header-bar::before{transition:none}}

/* Use the supplied LinkedIn vector without a compositing color filter. */
header .icon-link img[src$="linkedin.svg"],footer .footer-links img[src$="linkedin.svg"]{filter:none;opacity:.6;width:16px;height:16px;object-fit:contain}

/* LinkedIn shares the site name's default and hover colors. */
header nav>.icon-link{color:#474443}
header nav>.icon-link:hover{color:#000}
header nav>.icon-link::before{content:none}
header nav>.icon-link::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);background:currentColor;-webkit-mask:url("assets/linkedin.svg") center/contain no-repeat;mask:url("assets/linkedin.svg") center/contain no-repeat;pointer-events:none}
header nav>.icon-link img[src$="linkedin.svg"]{opacity:0}

/* Keep the heading and download aligned at every width without extra mobile space. */
.resume .company:first-of-type{padding-top:6px;line-height:20px}
/* Reserve a copy column that ends 16px before the fixed download control. */
.resume{--download-clearance:var(--floating-action-width,32px)}
.resume .company,.resume .job{width:min(100%,var(--resume-copy-width,calc(100% - var(--download-clearance))))}
.resume .company{flex-wrap:wrap;row-gap:4px}
@media(max-width:700px){.resume{--download-clearance:calc(var(--floating-action-width,32px) + 8px)}}

/* Compact icon controls share the download button's size and flat surface. */
.resume-download,.project-arrow{width:32px;justify-content:center;padding:7px;gap:0;background:var(--background);box-shadow:none}
.resume-download svg,.project-arrow svg{flex-shrink:0}

/* Align project content and footer navigation to the header margins. */
.project-page{--project-gutter:40px}
.project-page>header{padding-inline:var(--project-gutter)}
.project-page main.catalog-study{width:calc(100% - var(--project-gutter) - var(--project-gutter));margin-top:var(--page-content-gap);margin-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
.project-highlights{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;text-align:center;font-size:14px;font-weight:400;line-height:20px;color:var(--muted)}
.project-info-icon{flex:0 0 14px}
.project-page footer#contact{position:fixed;z-index:40;left:var(--project-gutter);right:var(--project-gutter);bottom:calc(16px + env(safe-area-inset-bottom,0px));width:auto;min-height:32px;margin:0;padding:0;border-radius:var(--radius);background:linear-gradient(var(--backplate),var(--backplate)),var(--background)}
.project-pagination-footer{min-height:32px;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:16px;width:100%}
.project-pagination-footer .project-arrow{border-color:transparent;background:transparent;box-shadow:none}
/* Navigation arrows darken without a hover surface; endpoints stay disabled. */
.project-pagination .project-arrow{position:relative;color:rgba(0,0,0,.7);text-decoration:none;transition:color .15s ease}
.project-pagination .project-arrow:hover,.project-pagination .project-arrow:focus-visible{background:transparent;box-shadow:none;color:rgba(0,0,0,.9)}
.project-pagination .project-arrow[aria-disabled="true"]{color:rgba(0,0,0,.25);cursor:default}
.project-arrow:focus-visible{outline:2px solid #375adb;outline-offset:5px}
.project-tooltip{font-family:Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:0;font-weight:400}
.project-arrow:hover .project-tooltip,.project-arrow:focus-visible .project-tooltip{opacity:1;visibility:visible}
@media(max-width:700px){.project-page{--project-gutter:24px}}
@media print{.project-pagination{display:none}.project-page main.catalog-study{width:100%}}

/* Align the download control with Contact and optically center its icon on Netflix. */
.resume-toolbar{right:var(--floating-action-right,50px);top:calc(var(--site-header-height,110px) + var(--resume-header-gap,0px) - 1px)}
.resume-toolbar .resume-download{box-shadow:none}
.resume-download{position:relative}
.resume-download:hover .download-tooltip,.resume-download:focus-visible .download-tooltip{opacity:1;visibility:visible}
/* Download tooltip: centered over the button, its pointer centered too. */
.download-tooltip{left:50%;right:auto;transform:translateX(-50%)}
.download-tooltip::after{left:50%;right:auto;transform:translateX(-50%)}
/* Phones: the button sits near the screen edge, so the tooltip right-aligns to it to stay on screen. */
@media(max-width:700px){.download-tooltip{left:auto;right:0;transform:none}.download-tooltip::after{left:auto;right:11px;transform:none}}
.resume-toolbar .resume-download:hover,.resume-toolbar .resume-download:focus-visible{border-color:var(--control-border);background:var(--hover-backplate);box-shadow:none}
@media print{main.resume{margin-top:0}}

/* Use the supplied filled artwork at its native size. */
footer .footer-links .contact-filled-icon{display:block;flex-shrink:0;width:auto;height:auto;filter:none;opacity:.6;justify-self:center}

/* Colored contact icons retain an 8px gap before the text. */
.contact-menu{font-size:16px}
.contact-menu li{grid-template-columns:24px minmax(0,1fr) 28px;column-gap:8px;line-height:24px}
.contact-icon-slot{display:grid;place-items:center;width:24px;height:24px}
/* Four pixels of link padding plus the gap give 16px between the artwork. */
footer .footer-links .contact-filled-icon{opacity:.7}
footer .footer-links a:hover .contact-filled-icon,footer .footer-links a:focus-visible .contact-filled-icon,footer .footer-copy:hover .contact-filled-icon,footer .footer-copy:focus-visible .contact-filled-icon{opacity:1}


.contact-menu-symbol{display:block}
/* Outline icons scaled so the envelope (16.5 of 24 viewBox units) renders 16px wide; phone shares the scale. */
.contact-menu-email{display:block;width:23.273px;height:23.273px}
/* Square LinkedIn artwork, 16px wide to match the envelope. */
.contact-menu-linkedin{width:16px;height:16px;background:#0a66c2;-webkit-mask:url("assets/contact-linkedin-square.svg") center/contain no-repeat;mask:url("assets/contact-linkedin-square.svg") center/contain no-repeat}
.contact-menu .contact-phone-icon{width:23.273px;height:23.273px;align-self:center}
/* The supplied SVG groups apply their own 70% black opacity once. */
.contact-menu .contact-menu-email,.contact-menu .contact-phone-icon{color:#000;opacity:1}

/* Resume content groups use company marks only; roles and year ranges are upright. */
.resume .company{padding-top:8px;padding-bottom:8px;line-height:24px}
.resume .company:first-of-type{padding-top:4px;line-height:24px}
.resume .company-name{display:inline-flex;align-items:center;gap:8px}
.resume .company-logo{display:grid;align-items:center;justify-items:start;flex:0 0 24px;width:24px;height:24px}
.resume .company-logo img{display:block;width:auto;height:16px}
.resume .resume-meta{font-size:14px;line-height:20px;font-weight:400;font-style:normal;letter-spacing:0;text-transform:none;color:rgba(0,0,0,.6)}
.resume .resume-date{font-size:13px}
.resume .company-note{margin:0 0 16px 32px;line-height:20px}
.resume .job{margin-left:32px;width:min(calc(100% - 32px),calc(var(--resume-copy-width,100%) - 32px))}
.resume .job ul{margin-left:0;padding-left:14px}
.resume .job p{margin-left:0}
.resume .resume-additional{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:24px 0 24px 32px;max-width:712px;width:min(calc(100% - 32px),calc(var(--resume-copy-width,100%) - 32px))}
.resume .resume-additional .company{width:100%;padding-top:0;padding-bottom:8px;margin-top:0;line-height:20px}
.resume .resume-additional .job{width:100%;margin-left:0}
@media(max-width:700px){.resume .resume-additional{grid-template-columns:1fr;gap:24px}}

/* Footer email uses the same clipboard feedback as the contact menu. */
footer .footer-copy{border:0;background:none;color:inherit;font:inherit;cursor:pointer}
footer .footer-copy:focus-visible{outline:2px solid #375adb;outline-offset:5px}
.footer-tooltip{display:flex;align-items:center;gap:5px}

/* Preserve the video dimensions before playback and cap the whole figure at 1200px. */
.catalog-video{width:100%;max-width:1200px;margin:16px 0 0}
.catalog-video video{width:100%;height:auto;border-radius:var(--radius)}
.catalog-video-caption{margin-top:8px;min-height:20px;font-size:14px;font-style:italic;line-height:20px;text-align:center;color:var(--muted)}

/* Preserve the card dimensions while rendering the supplied high-resolution artwork. */
.project-image{overflow:hidden;border-radius:8px}
.project-image--catalog{box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
.project-thumbnail{display:block;width:100%;height:100%;object-fit:cover}

/* Company marks share the title size and preserve their original proportions. */
.project-caption{display:flex;align-items:flex-start;gap:8px;margin-top:8px}
.project-company-logo{display:block;flex:none;width:auto;height:16px;margin-top:2px}
.project-copy{min-width:0}
.project .project-copy h2{margin:0}

/* Shared text and media columns preserve alignment across page types. */
@media screen{
  :root{--detail-column-width:40rem;--detail-page-gutter:40px;--project-media-width:min(calc(100vw - 2 * var(--detail-page-gutter)),960px,103vh);--project-media-width:min(calc(100vw - 2 * var(--detail-page-gutter)),960px,103svh)}
  body>main.resume,body>main.case-study{width:min(calc(100% - 2 * var(--detail-page-gutter)),var(--detail-column-width));max-width:var(--detail-column-width);margin-inline:auto;margin-top:var(--page-content-gap)}
  .project-page main.catalog-study{width:var(--project-media-width);max-width:960px;margin-inline:auto;margin-top:var(--page-content-gap)}
  .project-page .catalog-heading{width:min(100%,var(--detail-column-width));max-width:none;margin-inline:auto}
  .project-page .catalog-hero-image:not(.catalog-hero-media){aspect-ratio:592/368}

  .resume-page .resume-document{color:rgba(0,0,0,.7)}
  .resume-page .resume-document .document-job li{color:inherit}
  .resume-page .resume-document h2,.resume-page .resume-document h3 strong{color:rgba(0,0,0,.9)}
  .resume-page .resume-document .document-meta{color:rgba(0,0,0,.6)}
  .resume-page .resume-document .document-note{color:rgba(0,0,0,.7)}

  /* Center on Avenir's capital-letter bounds; account for Netflix's transparent padding. */
  .resume-page .resume-document .document-logo{top:calc(.5lh - .037em);transform:translateY(-50%)}
  .resume-page .resume-document .document-logo-netflix{transform:translateY(-47.9127%)}
}
@media screen and (max-width:700px){:root{--detail-page-gutter:24px}}

/* Navigation uses Avenir Book (the repaired résumé font) in every state. */
@font-face{font-family:'Site Avenir';src:url('assets/resume/avenir-book.ttf?v=2') format('truetype');font-weight:400;font-display:block}
header nav>a,header nav>a[aria-current],header .contact-trigger,header .contact-trigger[aria-expanded]{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-weight:400}

/* Ordinary hovers on nav items and the résumé download are a touch darker than the selected backplate. */
:root{--hover-backplate-strong:rgba(225,223,221,.2)}
header nav>a:not([aria-current]):hover::before{background:var(--hover-backplate-strong)}
header .contact-trigger:not([aria-expanded="true"]):hover{background:var(--hover-backplate-strong)}

/* Download artwork spans 17.6 of 24 viewBox units; 21.818px renders it 16px wide. */
.resume-toolbar .resume-download svg{width:21.818px;height:21.818px}

/* Space below the résumé matches the page's side bounds. */
@media screen{body>main.resume{padding-bottom:var(--detail-page-gutter,40px)}}

/* Copy artwork spans 18.8 of 24 viewBox units; 20.426px renders it 16px wide. */
.contact-menu .contact-copy svg{width:20.426px;height:20.426px;flex-shrink:0}
/* Drop the browser's default button padding so the copy artwork centers in its 20px button. */
.contact-menu .contact-copy{padding:0}

/* Nav backplates keep 8px on every side of the text: 22px text box + 2 x 8px = 38px. */
:root{--header-nav-height:38px}
header nav>a,header .contact-trigger{padding:8px;line-height:22px;min-height:38px}

/* Download backplate keeps 8px on every side of its 16 x 17.82px artwork. */
.resume-toolbar .resume-download{width:32px;height:33.818px;padding:0;display:flex;align-items:center;justify-content:center}

/* Wider résumé measure: up to the scaled PDF line length (564pt x 1.2). */
@media screen{body>main.resume{width:min(calc(100% - 2 * var(--detail-page-gutter)),676.8pt);max-width:676.8pt}}

/* Download matches the password page button: black 70%, white icon, darker on hover (like its #333). */
.resume-toolbar .resume-download,.resume-toolbar .resume-download:focus-visible{border:0;background:rgba(0,0,0,.7);color:#fff;box-shadow:none}
.resume-toolbar .resume-download:hover,.resume-toolbar .resume-download:focus-visible{background:rgba(0,0,0,.8);border:0;color:#fff}

/* 32px between nav items (measured between backplates). */
header nav{gap:32px}
@media(max-width:700px){header nav{gap:32px}}
/* Stacked header: keep 32px where the row fits (about 430px and up), shrinking only as far as smaller phones require.
   314px is the three nav items' combined width ("Selected work", "Experience", "Contact"). */
@media(max-width:580px){header nav{gap:clamp(4px,calc((100vw - 48px - 314px) / 2),32px)}}

/* Landing cards: text under the thumbnail, inside the backplate. Two columns on wider screens
   so two projects are in view with the top of the third showing; one column below 900px. */
main.portfolio .project{display:flex;flex-direction:column}
main.portfolio .project-image{width:100%;flex:none}
main.portfolio .project-caption{margin-top:16px}
@media(min-width:900px){main.portfolio .projects{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Landing projects sit on the shared inset backplate (thumbnail and text together). */
main.portfolio .project{background:var(--backplate);border-radius:12px;padding:16px;box-shadow:var(--backplate-shadow)}
main.portfolio .project-image{border-radius:6px}
main.portfolio .projects{gap:16px}
/* Landing: wider backplates for more text room; the Netflix mark sits above the title. */
main.portfolio .projects{width:min(100%,1240px)}
main.portfolio .project-caption{flex-direction:column;align-items:flex-start;gap:8px}
main.portfolio .project-company-logo{margin-top:0}

/* Selected nav items: no backplate; a text-colored underline that draws in left to right.
   header.js adds .nav-static unless this page was reached by clicking a nav item. */
header nav>a[aria-current="page"]::before{background:transparent;box-shadow:none}
header nav>a[aria-current="page"]:hover::before{background:var(--hover-backplate-strong);box-shadow:none}
header nav>a:not(.icon-link)::after{content:"";position:absolute;left:8px;right:8px;bottom:7px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;pointer-events:none}
header nav>a[aria-current="page"]:not(.icon-link)::after{transform:scaleX(1);animation:nav-underline-draw .45s cubic-bezier(.25,.6,.3,1) .05s both}
html.nav-static header nav>a[aria-current="page"]::after{animation:none}
@keyframes nav-underline-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){header nav>a[aria-current="page"]::after{animation:none}}

/* Contact matches the résumé download button: black 70%, white text, darker on hover, focus and while open. */
header nav .contact-trigger{background:rgba(0,0,0,.7);color:#fff;box-shadow:none;transition:background-color .15s ease}
header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"]{background:rgba(0,0,0,.8);color:#fff;box-shadow:none}
/* Contact keeps 8px of visible space on every side, like the download button's icon.
   Offsets cancel the 22px line box (text ink is 11.9px tall), the "C" side bearing and the caret's built-in margin. */
header nav .contact-trigger{min-height:0;padding:3.62px 5.75px 2.29px 7.23px}
/* Contact: outline instead of a fill. The 1px ring is inset so the button keeps its size and 8px spacing. */
header nav .contact-trigger{background:transparent;color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px currentColor;transition:color .15s ease}
header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"]{background:transparent;color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px currentColor}
header nav .contact-trigger{box-shadow:inset 0 0 0 1px rgba(0,0,0,.6)}
header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.8)}

/* Landing: company badge under each project's text (Figma "Badge - static"); replaces the logo above the title.
   Figma's 1px stroke sits inside its 12 x 8px padding, so the CSS padding is 1px less on each side (85.4 x 31). */
@font-face{font-family:'Site Avenir';src:url('assets/resume/avenir-heavy.ttf?v=2') format('truetype');font-weight:800;font-display:block}
main.portfolio .project-caption{gap:12px}
main.portfolio .project-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:0;background:rgba(118,118,128,.08);border-radius:9999px;font:400 14px/15px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:0;color:rgba(0,0,0,.9);white-space:nowrap}
main.portfolio .project-badge img{display:block;flex:none;width:8.4px;height:14px}

/* Unselected nav items are black 70% (Contact's label already is; its outline stays 60%). */
header nav>a:not([aria-current="page"]){color:rgba(0,0,0,.7)}

/* Landing descriptions match the résumé bullets (Avenir Book 16/24, black 70%), 8px below the title. */
main.portfolio .project .project-copy p{margin:8px 0 0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;font-style:normal;letter-spacing:normal;color:rgba(0,0,0,.7);font-kerning:none;font-variant-ligatures:none;font-synthesis:none}

/* Technical Catalog: a larger hero video, up to 1280px wide (heading widens with it to stay aligned).
   The video ships pre-scaled (1280 and 2560 wide) so browsers barely resize it; video resizing is soft. */
.project-page main.catalog-study.catalog-study--wide{width:min(calc(100vw - 2 * var(--detail-page-gutter)),1280px);max-width:1280px}
.catalog-study--wide .catalog-video{max-width:none}
.catalog-study--wide .catalog-hero-media{width:100%;max-width:none}

/* Project footer: message and info icon at black 70%. */
.project-highlights{color:rgba(0,0,0,.7)}

/* Footer arrows match the download icon: 16px-wide artwork with the same 1.45px stroke, 8px around it (32px buttons and bar). */
.project-pagination .project-arrow{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center}
.project-pagination .project-arrow svg{width:24.935px;height:24.935px;stroke-width:1.4}
/* Technical Catalog video shares the landing thumbnail's subtle elevation. */
.catalog-study--wide .catalog-hero-media{box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
/* Contact outline follows its text color (70% at rest, 90% on hover, focus and while open). */
header nav .contact-trigger,header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"]{box-shadow:inset 0 0 0 1px currentColor}
/* Technical Catalog: title and description start at the hero video's left edge (reading width unchanged). */
.project-page .catalog-study--wide .catalog-heading{margin-inline:0}

/* Technical Catalog: Context text on the right, stacked architecture diagrams on the left (text stays first in reading order). */
@font-face{font-family:'Site Avenir';src:url('assets/resume/avenir-black.ttf?v=2') format('truetype');font-weight:900;font-display:block}
.catalog-context-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start;margin-top:48px}
.catalog-context-layout .catalog-diagrams{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:24px}
.catalog-context-layout .catalog-context{grid-column:2;grid-row:1;max-width:576px;margin:0}
.catalog-context .catalog-label{margin:0 0 12px;font:900 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.28px;text-transform:uppercase;color:#474443}
.catalog-context p{margin:0;font:400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.6)}
.catalog-context p+p{margin-top:22px}
.catalog-diagram{display:flex;flex-direction:column;margin:0;padding:32px 32px 20px;border-radius:var(--radius);background:var(--backplate);box-shadow:var(--backplate-shadow)}
.catalog-diagram-open{display:block;width:100%;padding:0;border:0;border-radius:4px;background:none}
.catalog-diagram-open:focus-visible{outline:2px solid #375adb;outline-offset:6px}
.catalog-diagram img{display:block;width:100%;height:auto}
.catalog-diagram figcaption,.diagram-modal-caption{margin-top:16px;font-size:14px;font-style:italic;line-height:20px;text-align:center;color:var(--muted)}
@media(max-width:900px){
  .catalog-context-layout{grid-template-columns:1fr;gap:32px;margin-top:40px}
  .catalog-context-layout .catalog-diagrams,.catalog-context-layout .catalog-context{grid-column:auto;grid-row:auto}
  .catalog-diagram{padding:20px 20px 16px}
}

/* Full-diagram modal (native <dialog>: Esc closes it and focus returns to the diagram). */
html:has(.diagram-modal[open]){overflow:hidden}
.diagram-modal{width:min(calc(100vw - 48px),1600px);max-width:none;max-height:calc(100vh - 48px);padding:56px 32px 24px;border:0;border-radius:12px;background:var(--background);box-shadow:0 8px 28px rgba(0,0,0,.16);overflow:auto}
.diagram-modal::backdrop{background:rgba(20,19,18,.5)}
.diagram-modal-figure{margin:0}
.diagram-modal-image{display:block;width:100%;height:auto;max-height:calc(100vh - 48px - 56px - 24px - 36px);object-fit:contain}
.diagram-modal-close{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:var(--radius);background:transparent;color:rgba(0,0,0,.7);cursor:pointer}
.diagram-modal-close:hover{background:var(--hover-backplate-strong);color:rgba(0,0,0,.9)}
.diagram-modal-close:focus-visible{outline:2px solid #375adb;outline-offset:2px}
@media(max-width:700px){.diagram-modal{width:calc(100vw - 24px);padding:48px 12px 16px}}

/* Project pages: a solid band fills the gap below the floating footer so content never shows there.
   It stops at the bar's midline (under its rounded corners), so content scrolls right up to the footer and slides behind it. */
body.project-page::after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(16px + 16px + env(safe-area-inset-bottom,0px));background:var(--background);z-index:39;pointer-events:none}

/* Project page titles and descriptions: larger and one weight heavier (repaired Avenir Black / Medium). */
@font-face{font-family:'Site Avenir';src:url('assets/resume/avenir-medium.ttf?v=2') format('truetype');font-weight:500;font-display:block}
.project-page .catalog-heading h1{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:28px;line-height:36px;font-weight:900}
.project-page .catalog-heading p{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:24px;font-weight:500}
/* Diagram backplates have no inner padding: the backplate wraps the (clickable) diagram flush; captions sit just below. */
.catalog-diagram,.catalog-diagram:is(*){padding:0;background:none;box-shadow:none;border-radius:0}
.catalog-diagram-open{overflow:hidden;border-radius:var(--radius);background:var(--backplate);box-shadow:var(--backplate-shadow)}
.catalog-diagram figcaption{margin-top:12px}
/* Keep diagrams at or below their native pixel density on 2x screens (source crops are 1068 and 1260px wide). */
.catalog-context-layout{grid-template-columns:minmax(0,630px) minmax(280px,576px);justify-content:start}
/* Lower the diagrams in their backplates so the portal labels sit further from the top edge. */
.catalog-diagram-open{padding-top:32px}
/* Diagram backplates darken slightly on hover and keyboard focus (same shade as nav hovers). */
.catalog-diagram-open{transition:background-color .15s ease}
.catalog-diagram-open:hover,.catalog-diagram-open:focus-visible{background:var(--hover-backplate-strong)}
@media(prefers-reduced-motion:reduce){.catalog-diagram-open{transition:none}}
/* Project descriptions match the project page body text (Avenir Book 16/22, black 60%). */
.project-page .catalog-heading p{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:22px;font-weight:400;color:rgba(0,0,0,.6)}

/* Modal caption: diagram name, then a note explaining the redactions. Left-aligned for a readable paragraph. */
.diagram-modal-caption{max-width:760px;margin:16px auto 0;font-style:normal;text-align:left;color:rgba(0,0,0,.6)}
.diagram-modal-title{font-weight:800;font-style:normal;color:rgba(0,0,0,.7)}
.diagram-modal-image{max-height:calc(100vh - 48px - 56px - 24px - 88px)}

/* Context text centered above; the two diagrams side by side below it (620px columns render the 1x/2x files pixel for pixel).
   Top-aligned so the portal labels line up; the shorter backplate stretches so captions align. */
.catalog-context-layout{display:block}
.catalog-context-layout .catalog-context{max-width:576px;margin:0 auto}
.catalog-context-layout .catalog-diagrams{display:grid;grid-template-columns:repeat(2,minmax(0,620px));justify-content:space-between;gap:40px;align-items:stretch;margin-top:48px}
.catalog-context-layout .catalog-diagram{display:flex;flex-direction:column}
.catalog-context-layout .catalog-diagram-open{flex:1;display:flex;flex-direction:column;justify-content:flex-start}
@media(max-width:700px){.catalog-context-layout .catalog-diagrams{grid-template-columns:1fr;gap:24px;margin-top:32px}}
/* Footer info icon matches the arrows: 16px-wide artwork with the same 1.45px stroke (circle r9 + stroke = 19.8 of 24 units). */
.project-highlights .project-info-icon{flex:0 0 19.394px;width:19.394px;height:19.394px;stroke-width:1.8}

/* Modal title: the diagram's on-page caption, top left, centered on the close button's line. */
.diagram-modal-heading{position:absolute;top:17px;left:32px;right:56px;margin:0;font:800 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:0;color:rgba(0,0,0,.7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.diagram-modal-caption{text-align:center}
@media(max-width:700px){.diagram-modal-heading{left:12px}}

/* Landing: the title leads the row and the company pill sits at the card's right edge, sharing the title's baseline.
   The description spans below, capped at 506px: wide enough for "…maintain technical assets" (497px) but not "…assets at" (515px), so Technical Catalog wraps after "assets" on its own. */
main.portfolio .project-caption{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:0;align-items:baseline}
main.portfolio .project-copy{display:contents}
main.portfolio .project .project-copy h2{grid-column:1;grid-row:1}
main.portfolio .project-badge{grid-column:2;grid-row:1;justify-self:end}
main.portfolio .project .project-copy p{grid-column:1 / -1;grid-row:2;max-width:506px}

/* Landing: company chips use 8px rounded corners and 8px padding on every side (left/right match top/bottom). */
main.portfolio .project-badge{border-radius:8px;padding:8px}
/* Landing: chip label uses the résumé company style (system Avenir Black, all caps, 70% black).
   Tracking is the résumé's 1.12px at 16px scaled to 14px (.07em); the right padding drops by that
   trailing letter space so the visible padding stays 8px on every side. */
main.portfolio .project-badge{font-family:Avenir,'Avenir Next',Arial,sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:rgba(0,0,0,.7);font-kerning:auto;padding-right:calc(8px - .07em)}
/* Diagram modal caption: italic, with an info icon in the caption's color just before it. */
.diagram-modal-caption{display:flex;justify-content:center;align-items:center;gap:6px}
.diagram-modal-note{font-style:italic}
.diagram-modal-info{flex:none;display:block;width:16px;height:16px}
/* Landing: the chip label is 13px; tracking stays .07em (the résumé's 1.12px at 16px, scaled). Line height stays 15px so the chip keeps its height. */
main.portfolio .project-badge{font-size:13px;line-height:15px}
/* Landing chip: Avenir sets capitals about 0.6px above the middle of their line box at 13px, so the label drops by that
   (.046em) to put the NETFLIX caps on the same center line as the logo and the chip. */
main.portfolio .project-badge-label{position:relative;top:.046em}


/* Landing rows: text on the shared backplate at left (chip, title, description, then Years / Role / Scope rows divided by
   lines); the thumbnail sits on its own at right, outside the backplate. Below 1081px (where the text would outgrow the
   thumbnail) the thumbnail stacks above the text. */
main.portfolio .projects{grid-template-columns:minmax(0,1fr);gap:24px}
main.portfolio .project{display:grid;grid-template-columns:clamp(280px,32%,400px) minmax(0,1fr);column-gap:16px;align-items:stretch;padding:0;background:transparent;border-radius:0;box-shadow:none}
main.portfolio .project-caption{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:0;margin-top:0;padding:16px;background:var(--backplate);border-radius:12px;box-shadow:var(--backplate-shadow)}
main.portfolio .project-image{grid-column:2;grid-row:1;align-self:start;border-radius:var(--radius)}
main.portfolio .project-badge{align-self:flex-start}
main.portfolio .project-copy{display:block;margin-top:12px}
main.portfolio .project .project-copy p{max-width:none}
main.portfolio .project-meta{margin:24px 0 0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:24px}
main.portfolio .project-meta>div{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:16px;padding:12px 0;border-top:1px solid rgba(0,0,0,.1)}
main.portfolio .project-meta>div:last-child{padding-bottom:0}
main.portfolio .project-meta dt{color:rgba(0,0,0,.6)}
main.portfolio .project-meta dd{margin:0;color:rgba(0,0,0,.9)}
@media(max-width:1080px){
  main.portfolio .project{grid-template-columns:minmax(0,1fr);row-gap:16px}
  main.portfolio .project-image{grid-column:1;grid-row:1}
  main.portfolio .project-caption{grid-column:1;grid-row:2}
}
/* Selected nav underline: 8px below the text baseline. */
header nav>a:not(.icon-link)::after{bottom:5px}
/* Landing project titles: larger (20/28) in regular Avenir Book. */
main.portfolio .project .project-copy h2{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:20px;line-height:28px;font-weight:400}

/* Landing, Apple-style: an intro ("Hi, I'm Stefani") sized so the top of the first project band peeks above the fold,
   then full-width project bands - Developer Platform AI on black 60%, Technical Catalog on the site background. */
body>main.portfolio.home{width:100%;max-width:none;margin:0}
.home-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:max(320px,calc(100svh - var(--site-header-height,82px) - 120px));padding:48px var(--detail-page-gutter,40px);text-align:center}
.home-hero h1{margin:0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:56px;line-height:64px;font-weight:900;color:rgba(0,0,0,.9)}
.home-hero p{max-width:720px;margin:16px 0 0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:24px;line-height:34px;font-weight:400;color:rgba(0,0,0,.6)}
.home-band{padding:80px 0}
main.portfolio.home .home-band .projects{width:min(calc(100% - 80px),1240px);margin:0 auto}
.home-band--dark{background:rgba(0,0,0,.6)}
.home-band--light{background:var(--background)}
/* Dark band: light text and a light-on-dark backplate, chip and dividers. */
main.portfolio .home-band--dark .project-caption{background:rgba(255,255,255,.08);box-shadow:inset 0 2px 4px rgba(0,0,0,.12)}
main.portfolio .home-band--dark .project .project-copy h2{color:rgba(255,255,255,.95)}
main.portfolio .home-band--dark .project .project-copy p{color:rgba(255,255,255,.75)}
main.portfolio .home-band--dark .project-badge{background:rgba(255,255,255,.12);color:rgba(255,255,255,.95)}
main.portfolio .home-band--dark .project-meta>div{border-top-color:rgba(255,255,255,.2)}
main.portfolio .home-band--dark .project-meta dt{color:rgba(255,255,255,.65)}
main.portfolio .home-band--dark .project-meta dd{color:rgba(255,255,255,.95)}
main.portfolio .home-band--dark .project:focus-visible{outline-color:#fff}
@media(max-width:700px){
  .home-hero{min-height:max(280px,calc(100svh - var(--site-header-height,132px) - 96px));padding:40px 24px}
  .home-hero h1{font-size:40px;line-height:48px}
  .home-hero p{font-size:20px;line-height:28px}
  .home-band{padding:48px 0}
  main.portfolio.home .home-band .projects{width:calc(100% - 48px)}
}
.home-hero p{max-width:880px;text-wrap:balance}
/* Technical Catalog band: black 90% (uses the dark band's light text treatment). */
.home-band--dark.home-band--black{background:rgba(0,0,0,.9)}
/* Intro height: leaves room above the fold for the first project's chip and full title (up to two lines).
   Side-by-side rows: 80px band padding + 16 + 31 chip + 12 + 56 title + 25 = 220px.
   Stacked rows add the thumbnail (16:10-ish, 592x368) and its 16px gap above the text. */
.home-hero{min-height:max(240px,calc(100svh - var(--site-header-height,82px) - 220px))}
@media(max-width:1080px){.home-hero{min-height:max(240px,calc(100svh - var(--site-header-height,82px) - 80px - (100vw - 80px) * 368 / 592 - 16px - 147px))}}
@media(max-width:700px){.home-hero{min-height:max(240px,calc(100svh - var(--site-header-height,132px) - 48px - (100vw - 48px) * 368 / 592 - 16px - 147px))}}
/* Landing: project text sits directly on the band, no backplate (flush with its column). */
main.portfolio .project .project-caption{padding:0;background:none;border-radius:0;box-shadow:none}
/* Selected nav items: the inset backplate is back (darker on hover); the underline no longer shows. */
header nav>a[aria-current="page"]::before{background:var(--backplate);box-shadow:var(--backplate-shadow)}
header nav>a[aria-current="page"]:hover::before{background:var(--hover-backplate-strong);box-shadow:var(--backplate-shadow)}
header nav>a[aria-current="page"]:not(.icon-link)::after{content:none;animation:none}
/* Nav backplates (Figma 952:3600): 20% fill with the inset shadow, 8px radius. Every item is 28px tall like Contact and uses
   Contact's top/bottom padding (shared baseline); side padding leaves 8px of visible space from the first and last letters
   (8px minus each label's side bearing: "Selected work" 0.80/0.54px, "Experience" 1.54/1.33px). */
header nav>a:not(.icon-link){padding:3.62px 7.46px 2.29px 7.2px}
header nav>a[href="resume.html"]{padding-left:6.46px;padding-right:6.67px}
header nav>a[aria-current="page"]::before{background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
header nav>a[aria-current="page"]:hover::before{background:rgba(225,223,221,.3);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
/* Small phones (373px and below): tighter side padding so all three items stay on one row. */
@media(max-width:373px){header nav>a:not(.icon-link),header nav>a[href="resume.html"]{padding-left:3px;padding-right:3px}}
/* Nav items size to their padding (28px, like Contact); the nav row keeps the header's 38px so nothing else moves. */
header nav>a:not(.icon-link){min-height:0}
header nav{min-height:var(--header-nav-height)}
/* Bands: Developer Platform AI on black 90% (light text); Technical Catalog on white (dark text). */
.home-band--light{background:#fff}
/* Résumé download: in the page above the résumé, left edge on the NETFLIX logo (0.5pt left of the text column at
   the 1.2 résumé scale). Dark button with the icon and "Download", sized and padded like Contact (28px tall, 8px of
   visible space around the icon and text). */
main.resume .resume-toolbar{position:static;display:flex;margin:0 0 24px -.6pt;padding:0;z-index:auto}
main.resume .resume-toolbar .resume-download{position:static;display:inline-flex;align-items:center;gap:4.62px;width:auto;height:auto;min-height:0;padding:3.62px 6.29px 2.29px 6px;border:0;border-radius:var(--radius);background:rgba(0,0,0,.7);color:#fff;box-shadow:none;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:22px;font-weight:400;letter-spacing:.56px;text-decoration:none;transition:background-color .15s ease}
main.resume .resume-toolbar .resume-download:hover,main.resume .resume-toolbar .resume-download:focus-visible{background:rgba(0,0,0,.8);color:#fff;border:0;box-shadow:none;text-decoration:none}
main.resume .resume-toolbar .resume-download svg{display:block;flex:none;width:16px;height:16px;transform:translateY(-.66px)}
@media print{main.resume .resume-toolbar{display:none}}
/* Contact: dark like the download button - black 70% with white text, black 80% on hover/focus/open. */
header nav .contact-trigger,header nav .contact-trigger:focus-visible{background:rgba(0,0,0,.7);color:#fff;box-shadow:none;transition:background-color .15s ease}
header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"]{background:rgba(0,0,0,.8);color:#fff;box-shadow:none}
/* Intro heading: black 60%. */
.home-hero h1{color:rgba(0,0,0,.6)}
/* Intro heading: Avenir Medium. */
.home-hero h1{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-weight:500}
/* Intro, three tiers like Apple's product heroes (about 80 : 28 : 21): the greeting large, the lede below it in the
   same near-black, then the specialties smaller and lighter. All Avenir: Medium for the greeting, Book for the rest. */
.home-hero h1{font-size:56px;line-height:64px;font-weight:500;letter-spacing:-.01em;color:rgba(0,0,0,.9)}
.home-hero .home-hero-lede{max-width:none;margin:12px 0 0;font-size:28px;line-height:36px;font-weight:400;color:rgba(0,0,0,.9);text-wrap:balance}
.home-hero .home-hero-note{max-width:none;margin:8px 0 0;font-size:21px;line-height:28px;font-weight:400;color:rgba(0,0,0,.6);text-wrap:balance}
@media(max-width:700px){
  .home-hero h1{font-size:40px;line-height:48px}
  .home-hero .home-hero-lede{font-size:22px;line-height:30px}
  .home-hero .home-hero-note{font-size:17px;line-height:24px}
}
/* Contact and résumé Download: outline buttons - black 70% text/icon with a 1px inset outline in the same color,
   both darkening to black 90% on hover/focus (and while the contact menu is open). No fill. */
header nav .contact-trigger,header nav .contact-trigger:focus-visible,main.resume .resume-toolbar .resume-download{background:transparent;color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px currentColor;transition:color .15s ease}
header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"],main.resume .resume-toolbar .resume-download:hover,main.resume .resume-toolbar .resume-download:focus-visible{background:transparent;color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px currentColor}
/* Contact and résumé Download: white fill behind the outline (also on hover/focus/open). */
header nav .contact-trigger,header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"],main.resume .resume-toolbar .resume-download,main.resume .resume-toolbar .resume-download:hover,main.resume .resume-toolbar .resume-download:focus-visible{background:#fff}
/* Contact and résumé Download: light grey outline (black 15%), a touch darker (30%) on hover/focus/open; text stays dark. */
header nav .contact-trigger,main.resume .resume-toolbar .resume-download{box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"],main.resume .resume-toolbar .resume-download:hover,main.resume .resume-toolbar .resume-download:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
/* Selected work: a white strip above each project band (Apple-style), separating the warm-white header/intro space from
   the first project and each project from the next. The nav, intro and Experience page keep the warm white background. */
.home-band{border-top:12px solid #fff}
@media(max-width:700px){.home-band{border-top-width:8px}}
/* Intro without the greeting: the lede leads, so it needs no top spacing. */
.home-hero .home-hero-lede:first-child{margin-top:0}
/* Selected work intro: both lines in one style, matching the password page opener (regular Avenir 28/38, black 90%). */
.home-hero .home-hero-lede,.home-hero .home-hero-note{max-width:880px;margin:0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:28px;line-height:38px;font-weight:400;color:rgba(0,0,0,.9);text-wrap:balance}
@media(max-width:700px){.home-hero .home-hero-lede,.home-hero .home-hero-note{font-size:22px;line-height:30px}}
/* Selected work intro: one large regular-weight statement, left-aligned with the projects (REKKI-style reference).
   "Product Designer" and "based in Seattle" each take a line; the rest follows and wraps naturally. */
.home-hero{align-items:flex-start;text-align:left;padding-inline:max(40px,calc((100% - 1240px) / 2))}
.home-hero .home-hero-statement{max-width:760px;margin:0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:48px;line-height:56px;font-weight:400;letter-spacing:-.01em;color:rgba(0,0,0,.9);text-wrap:pretty}
.home-hero .home-hero-statement .intro-line{display:block}
@media(max-width:700px){.home-hero{padding-inline:24px}.home-hero .home-hero-statement{font-size:32px;line-height:40px}}
/* Intro statement, a little smaller (40px max). The third line stays on one row: the type scales with the window
   (the line is ~30.5em wide) down to 28px at ~940px; narrower screens let it wrap. */
.home-hero .home-hero-statement{max-width:none;font-size:clamp(28px,calc((100vw - 80px) / 30.8),40px);line-height:1.2}
@media(min-width:940px){.home-hero .home-hero-statement .intro-line--long{white-space:nowrap}}
@media(max-width:700px){.home-hero .home-hero-statement{font-size:26px;line-height:32px}}
.home-hero .home-hero-statement .intro-line--long{text-wrap:balance}
.home-hero .home-hero-statement .intro-line{text-wrap:balance}
/* Contact and résumé Download: no fill (outline and dark text only), including hover/focus/open. */
header nav .contact-trigger,header nav .contact-trigger:not([aria-expanded="true"]):hover,header nav .contact-trigger:focus-visible,header nav .contact-trigger[aria-expanded="true"],main.resume .resume-toolbar .resume-download,main.resume .resume-toolbar .resume-download:hover,main.resume .resume-toolbar .resume-download:focus-visible{background:transparent}
/* Intro statement: three short lines, so a fixed 40px (26px on phones) - no window-based scaling needed. */
.home-hero .home-hero-statement{font-size:40px;line-height:48px}
@media(max-width:700px){.home-hero .home-hero-statement{font-size:26px;line-height:32px}}
/* Selected work: every project band on the warm white with dark text, separated by a full-width hairline border
   (replaces the dark/white bands and the white strips). */
.home-band{background:var(--background);border-top:1px solid rgba(0,0,0,.1)}
@media(max-width:700px){.home-band{border-top-width:1px}}
/* Landing project titles: Avenir Heavy. */
main.portfolio .project .project-copy h2{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-weight:800}

/* Technical Catalog video on the landing card, and a cross-page transition: clicking the card morphs the video from the
   card into the project page's hero (same view-transition name on both pages); the rest of the page crossfades.
   Browsers without cross-document view transitions simply navigate. Reduced motion turns the animation off. */
@view-transition{navigation:auto}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}
main.portfolio .project-image--catalog .project-video{display:block;width:100%;height:100%;object-fit:cover}
main.portfolio .project-image--catalog{view-transition-name:tc-video}
.project-page .catalog-hero-media[data-sync-video]{view-transition-name:tc-video}
::view-transition-group(tc-video){animation-duration:.6s;animation-timing-function:cubic-bezier(.2,.75,.15,1)}
::view-transition-old(tc-video),::view-transition-new(tc-video){animation-duration:.6s;height:100%;object-fit:cover}
::view-transition-old(root),::view-transition-new(root){animation-duration:.3s}
/* Landing rows: a narrower text column (up to 320px) gives the media more room - the Technical Catalog video is ~12% wider. */
@media(min-width:1081px){main.portfolio .project{grid-template-columns:clamp(260px,24%,320px) minmax(0,1fr);column-gap:24px}}
/* Selected work: a split row under Technical Catalog (Apple-style) - two tiles divided by a full-height hairline, each
   holding a screen with the video's subtle elevation. The screens ship pre-scaled (640-2560px) so they render sharp. */
.home-band.home-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0}
.home-split-tile{display:flex;align-items:center;justify-content:center;margin:0;padding:80px 64px}
.home-split-tile+.home-split-tile{border-left:1px solid rgba(0,0,0,.1)}
.home-split-tile img{display:block;width:min(100%,640px);height:auto;border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
@media(max-width:1080px){.home-split-tile{padding:56px 40px}}
@media(max-width:700px){
  .home-band.home-split{grid-template-columns:minmax(0,1fr)}
  .home-split-tile{padding:40px 24px}
  .home-split-tile+.home-split-tile{border-left:0;border-top:1px solid rgba(0,0,0,.1)}
}
/* Split row: the two screens sit in cards styled like the selected-nav backplate (20% warm grey, inset shadow, 8px radius),
   16px apart and aligned with the content column; the screens keep their subtle elevation inside. */
.home-band.home-split{width:auto;padding:80px max(40px,calc((100% - 1240px) / 2));column-gap:16px;row-gap:16px}
.home-split-tile{padding:40px;border-radius:var(--radius);background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
.home-split-tile+.home-split-tile{border:0}
.home-split-tile img{width:100%}
@media(max-width:700px){.home-band.home-split{padding:48px 24px}.home-split-tile{padding:24px}.home-split-tile+.home-split-tile{border:0}}
/* Split row: cards span the page margins (40px; 24px on phones) and the row has no divider above it. */
.home-band.home-split{padding:80px 40px;border-top:0}
@media(max-width:700px){.home-band.home-split{padding:48px 24px}}
/* Landing rows (side by side): project text is centered vertically against its thumbnail. */
@media(min-width:1081px){main.portfolio .project{align-items:center}main.portfolio .project .project-caption{align-self:center}}
/* Split cards: a title above each cropped screen (styled like the project titles); 8px corners on cards and screens. */
.home-split-tile{flex-direction:column;align-items:stretch;justify-content:flex-start;border-radius:8px}
.home-split-title{margin:0 0 24px;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:20px;line-height:28px;font-weight:800;color:rgba(0,0,0,.7)}
.home-split-tile img{border-radius:8px}
@media(max-width:700px){.home-split-title{margin-bottom:16px}}
/* Landing: each project's dates sit beside its company chip (like "NETFLIX 2022 – present" on the résumé). */
main.portfolio .project-kicker{display:flex;align-items:center;gap:12px;align-self:flex-start}
main.portfolio .project-date{font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:14px;line-height:20px;font-weight:400;color:rgba(0,0,0,.6);white-space:nowrap}
/* Split cards as windows: the title keeps its padding; the screen runs flush to the card's left, right and bottom edges
   and is clipped by the card's 8px corners, so it reads as bleeding off the frame. */
.home-split-tile{padding:0;overflow:hidden;justify-content:flex-start}
.home-split-title{padding:32px 40px 24px;margin:0}
.home-split-tile img{width:100%;border-radius:0;box-shadow:none;margin-top:auto}
@media(max-width:700px){.home-split-tile{padding:0}.home-split-title{padding:20px 24px 16px}}
/* Landing: dates sit under each description. */
main.portfolio .project .project-copy .project-date{margin:8px 0 0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:14px;line-height:20px;font-weight:400;color:rgba(0,0,0,.6)}
/* Split cards: the whole screen, larger than the card (115% wide), placed below the title with its top-left corner
   (tool nav and logo) in view and bleeding off the right and bottom edges. */
.home-split-window{position:relative;aspect-ratio:1.6;overflow:hidden}
.home-split-window img{position:absolute;left:40px;top:0;width:115%;max-width:none;height:auto;margin:0;border-radius:8px 0 0 0;box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
@media(max-width:700px){.home-split-window img{left:24px}}
/* Split cards: the screens sit a little lower in their windows. */
.home-split-window img{top:16px}
@media(max-width:700px){.home-split-window img{top:8px}}
/* Landing rows (side by side): project text starts level with the top of its thumbnail. */
@media(min-width:1081px){main.portfolio .project{align-items:start}main.portfolio .project .project-caption{align-self:start}}
/* Experience: 40px between the Download button and the résumé. */
main.resume .resume-toolbar{margin-bottom:40px}
/* Split row spacing matches the page's side padding: 40px (24px on phones) below the Technical Catalog project and between the cards. */
.home-band:has(+ .home-split){padding-bottom:40px}
.home-band.home-split{padding-top:0;column-gap:40px;row-gap:40px}
@media(max-width:700px){.home-band:has(+ .home-split){padding-bottom:24px}.home-band.home-split{padding-top:0;column-gap:24px;row-gap:24px}}
/* Spinnaker/ChAP screens: 8px corners at the screens' own design scale (8 of their 1600 x 1000 px), so the rounding shrinks
   with the screen instead of looking oversized (~4px on desktop). Percentages are of the image's own width / height. */
.home-split-window img{border-radius:.5% 0 0 0 / .8% 0 0 0}
/* Technical Catalog row (desktop): text stays on the content column's left edge (in line with the AI project); the video
   runs to the page's right margin (40px, like the header and the cards below). */
@media(min-width:1081px){
  main.portfolio.home .home-band--media-left .projects{width:auto;margin:0 40px 0 max(40px,calc((100% - 1240px) / 2))}
}
@media(min-width:1081px){main.portfolio .home-band--media-left .project{grid-template-columns:clamp(260px,calc(min(100vw - 80px,1240px) * .24),320px) minmax(0,1fr)}}
/* Selected work: the AI and Technical Catalog projects sit in backplate cards like the Spinnaker/ChAP cards (20% warm
   grey, inset shadow, 8px corners), spanning the page margins with 40px padding and 40px between cards (24px on phones).
   The hairline dividers between sections are gone; the text-left / media-right layout is unchanged. */
.home-band:not(.home-split){padding:0 40px 40px;border-top:0;background:transparent}
.home-band:has(+ .home-split){padding-bottom:40px}
main.portfolio.home .home-band .projects,main.portfolio.home .home-band--media-left .projects{width:auto;margin:0;padding:40px;border-radius:8px;background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
@media(min-width:1081px){main.portfolio .home-band--media-left .project{grid-template-columns:clamp(260px,24%,320px) minmax(0,1fr)}}
@media(max-width:700px){.home-band:not(.home-split){padding:0 24px 24px}.home-band:has(+ .home-split){padding-bottom:24px}main.portfolio.home .home-band .projects,main.portfolio.home .home-band--media-left .projects{padding:24px}}
/* Selected nav items: back to the text-colored underline (draws in left to right after a nav click) instead of the backplate.
   Items are 28px tall with the baseline 19.62px from the top, so bottom:-.71px keeps the 1px line 8px below the baseline;
   left/right match each label's padding so the line spans the text. */
header nav>a[aria-current="page"]::before{background:transparent;box-shadow:none}
header nav>a[aria-current="page"]:hover::before{background:var(--hover-backplate-strong);box-shadow:none}
header nav>a[aria-current="page"]:not(.icon-link)::after{content:"";bottom:-.71px;left:7.2px;right:7.46px;transform:scaleX(1);animation:nav-underline-draw .45s cubic-bezier(.25,.6,.3,1) .05s both}
header nav>a[href="resume.html"][aria-current="page"]::after{left:6.46px;right:6.67px}
html.nav-static header nav>a[aria-current="page"]::after{animation:none}
@media(max-width:373px){header nav>a[aria-current="page"]:not(.icon-link)::after{left:3px;right:3px}}
@media(prefers-reduced-motion:reduce){header nav>a[aria-current="page"]::after{animation:none}}
/* Split cards: equal spacing - 40px above the title, beside it and between it and the screen (24px on phones). */
.home-split-title{padding:40px 40px 0}
.home-split-window img{top:40px}
@media(max-width:700px){.home-split-title{padding:24px 24px 0}.home-split-window img{top:24px}}
/* Developer Platform AI video: 16:9 in its landing card (no crop) and as the project hero; its own view-transition name so
   clicking the card morphs this video (the Technical Catalog card keeps tc-video). */
main.portfolio .project-image--dpai{aspect-ratio:16/9;view-transition-name:dpai-video;box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
main.portfolio .project-image--dpai .project-video{display:block;width:100%;height:100%;object-fit:cover}
.project-page .catalog-hero-media[data-sync-video="dpai"]{view-transition-name:dpai-video}
::view-transition-group(dpai-video){animation-duration:.6s;animation-timing-function:cubic-bezier(.2,.75,.15,1)}
::view-transition-old(dpai-video),::view-transition-new(dpai-video){animation-duration:.6s;height:100%;object-fit:cover}
/* Videos: 8px corners at the recordings' design scale (2x captures of 1280px-wide UI, so 8px = .625% of the width);
   the project heroes show at that size (exactly 8px at 1280px wide) and the smaller landing cards scale down with them. */
main.portfolio .project-image--catalog{border-radius:.625% / 1.006%}
main.portfolio .project-image--dpai{border-radius:.625% / 1.111%}
.catalog-video video[data-sync-video="tc"]{border-radius:.625% / 1%}
.catalog-video video[data-sync-video="dpai"]{border-radius:.625% / 1.111%}
/* Spinnaker/ChAP cards: zoomed out - the screen spans the card width (from its 40px inset it still bleeds off the right
   and bottom edges), so more of each screen shows. */
.home-split-window img{width:100%}
/* Opener optically centred between the visible header bar and the first card: the header box carries 16px of clear
   padding under the bar (so lift 8px), and the visible text runs from cap height to the last baseline rather than the
   line box (Site Avenir: cap top sits .2em into a 1.2 line box, the baseline .29em above its bottom). */
.home-hero-statement{position:relative;top:calc(-8px + .0415em)}
/* AI agents video: the PNG is the poster; the JPG sits behind it as the fallback if the PNG can't be shown, and a 25KB
   640px copy of the JPG (preloaded first) underneath that, so something real shows almost immediately. */
video[data-sync-video="dpai"]{background:url("assets/dpai-agents-poster-v13.webp") center/cover no-repeat,url("assets/dpai-agents-poster-v13-640.webp") center/cover no-repeat}
/* Tech Catalog page header (Figma 904:2260): title on the left, intro paragraph and Role / Years / Team on the right,
   the right column is the design's 687px, and the remaining space splits 562 : 107 as in the design. */
.project-page .catalog-study--wide .catalog-heading--split{display:grid;grid-template-columns:minmax(max-content,562fr) minmax(0,687px) minmax(0,107fr);align-items:start;width:100%;max-width:none;margin:0 0 40px}
.project-page .catalog-heading--split h1{margin:0;padding-right:40px;white-space:nowrap;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:48px;line-height:normal;font-weight:400;color:#000;letter-spacing:0}
.catalog-heading--split .catalog-intro{display:flex;flex-direction:column;gap:24px;min-width:0}
.project-page .catalog-heading--split .catalog-intro p{margin:0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:22px;font-weight:400;color:#5d5a58}
.catalog-heading--split .catalog-facts{display:flex;flex-wrap:wrap;gap:16px 64px;margin:0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:22px}
.catalog-heading--split .catalog-facts dt{font-weight:500;color:rgba(0,0,0,.9)}
.catalog-heading--split .catalog-facts dd{margin:0;font-weight:400;color:rgba(0,0,0,.6)}
@media(max-width:1080px){
  .project-page .catalog-study--wide .catalog-heading--split{grid-template-columns:minmax(0,1fr);row-gap:16px}
  .project-page .catalog-heading--split h1{padding-right:0;white-space:normal}
  .catalog-heading--split .catalog-intro{max-width:687px}
}
@media(max-width:700px){
  .project-page .catalog-study--wide .catalog-heading--split{margin-bottom:24px}
  .project-page .catalog-heading--split h1{font-size:32px}
  .catalog-heading--split .catalog-facts{gap:16px 40px}
}
/* Tech Catalog header spans the site header's row (as in Figma 904:2260), so the title starts under STEFANI WEIR;
   the body is the measuring container so the row is exact even with classic scrollbars. */
body.project-page:has(.catalog-heading--split){container-type:inline-size}
@media(min-width:1081px){
  .project-page .catalog-study--wide .catalog-heading--split{width:calc(100cqw - 2 * var(--project-gutter,40px));margin-left:calc((100% - 100cqw) / 2 + var(--project-gutter,40px))}
}
/* Tech Catalog (Figma 904:2260): the hero video spans the same header-aligned row as the title; the paragraph starts
   at the row's golden section (38.2%). */
@media(min-width:1081px){
  .project-page .catalog-study--wide .catalog-heading--split{grid-template-columns:minmax(max-content,38.2%) minmax(0,687px) minmax(0,1fr)}
  /* Title cap height level with the paragraph's first-line cap height (Site Avenir: caps sit .292em below the top of a
     normal line box; the paragraph's first cap sits 4.672px into its 22px line). */
  .project-page .catalog-heading--split h1{position:relative;top:calc(4.672px - .292em)}
  .project-page .catalog-study--wide:has(.catalog-heading--split) .catalog-video{width:calc(100cqw - 2 * var(--project-gutter,40px));margin-left:calc((100% - 100cqw) / 2 + var(--project-gutter,40px));margin-right:0}
}
/* Tech Catalog: below the video, the diagram cards stack in the left column (the same 38.2% column as the title, less a
   40px gap; never below the title's one-line width, as in the header row; cards capped at 400px) and the Context
   text sits in the right column, lined up with the intro paragraph. */
@media(min-width:1081px){
  .project-page .catalog-study--wide:has(.catalog-heading--split) .catalog-context-layout{display:grid;grid-template-columns:max(38.2%,424px) minmax(0,687px) minmax(0,1fr);gap:0;align-items:start;width:calc(100cqw - 2 * var(--project-gutter,40px));margin-left:calc((100% - 100cqw) / 2 + var(--project-gutter,40px));margin-top:64px}
  .project-page .catalog-study--wide:has(.catalog-heading--split) .catalog-context-layout .catalog-diagrams{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:40px;width:100%;max-width:440px;margin:0;padding-right:40px}
  .project-page .catalog-study--wide:has(.catalog-heading--split) .catalog-context-layout .catalog-context{grid-column:2;grid-row:1;max-width:none;margin:0}
}
/* AI agents page uses the same header format; its longer title wraps within the 38.2% column instead of staying on one line. */
@media(min-width:1081px){
  .project-page .catalog-study--wide .catalog-heading--split.catalog-heading--wrap{grid-template-columns:38.2% minmax(0,687px) minmax(0,1fr)}
  .project-page .catalog-heading--wrap h1{white-space:normal;text-wrap:balance}
}
/* Landing project titles: regular weight, larger. */
main.portfolio.home .project .project-copy h2{font-size:28px;line-height:36px;font-weight:400;text-wrap:balance}
@media(max-width:700px){main.portfolio.home .project .project-copy h2{font-size:24px;line-height:32px}}
/* The AI card's own placeholder is the small poster too, so the grey never shows while the poster is on its way. */
main.portfolio .project-image--dpai{background:url("assets/dpai-agents-poster-v13-640.webp") center/cover no-repeat}
/* Video placeholders: if a poster is ever slow, the media area shows an inner-shadow backplate (like the project cards)
   with a small copy of the poster on top, never a flat grey square. Video and poster paint over all of it. */
main.portfolio .project-image--dpai,main.portfolio .project-image--catalog{background-color:rgba(225,223,221,.2)}
main.portfolio .project-image--dpai{background:url("assets/dpai-agents-poster-v13-640.webp") center/cover no-repeat,rgba(225,223,221,.2);box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04),inset 0 2px 4px rgba(0,0,0,.08)}
main.portfolio .project-image--catalog{background:url("assets/tc-thumb-responsive-poster-v2.webp") center/cover no-repeat,rgba(225,223,221,.2);box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04),inset 0 2px 4px rgba(0,0,0,.08)}
video[data-sync-video="dpai"]{background:url("assets/dpai-agents-poster-v13.webp") center/cover no-repeat,url("assets/dpai-agents-poster-v13-640.webp") center/cover no-repeat,rgba(225,223,221,.2)}
video[data-sync-video="tc"]{background:url("assets/tc-thumb-responsive-v10-2080-poster.webp") center/cover no-repeat,rgba(225,223,221,.2)}
.catalog-study--wide .catalog-hero-media{box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04),inset 0 2px 4px rgba(0,0,0,.08)}
/* Spinnaker / ChAP card titles use the project title style. */
.home-split-title{font-size:28px;line-height:36px;font-weight:400;text-wrap:balance}
@media(max-width:700px){.home-split-title{font-size:24px;line-height:32px}}
/* Landing titles (projects and the Spinnaker / ChAP cards): bold like the résumé project titles (800, 90% black), at the
   description size. */
main.portfolio.home .project .project-copy h2,.home-split-title{font-size:16px;line-height:24px;font-weight:800;color:rgba(0,0,0,.9)}
@media(max-width:700px){main.portfolio.home .project .project-copy h2,.home-split-title{font-size:16px;line-height:24px}}
/* Opener: the text block sits centred on the page; the lines stay left-aligned within it. */
.home-hero{align-items:center}
.home-hero .home-hero-statement{width:fit-content;max-width:100%;margin-inline:auto;text-align:left}
/* Long project titles break only between their kept phrases ("Developer Platform" / "AI Agents"). */
.catalog-heading h1 .title-keep{white-space:nowrap}
/* Landing titles a step up from the descriptions. */
main.portfolio.home .project .project-copy h2,.home-split-title{font-size:20px;line-height:28px}
@media(max-width:700px){main.portfolio.home .project .project-copy h2,.home-split-title{font-size:18px;line-height:26px}}
/* Landing: 40px from the company chip down to the project title. */
main.portfolio.home .project .project-caption .project-copy{margin-top:40px}
/* Landing cards: 24px padding at every width. On wide layouts the media takes 68% of the card and the text 32%, staying
   40px clear of the media. */
main.portfolio.home .home-band .projects{padding:24px}
@media(min-width:1081px){
  main.portfolio.home .home-band .project,main.portfolio.home .home-band--media-left .project{grid-template-columns:minmax(0,32fr) minmax(0,68fr);column-gap:0}
  main.portfolio.home .home-band .project .project-caption{padding-right:40px}
}
.home-split-title{padding:24px 24px 0}
.home-split-window img{left:24px;top:24px}
/* Videos are never cropped: each media box has its recording's exact proportions and the frame is fitted, not filled. */
main.portfolio .project-image--catalog{aspect-ratio:16/10}
main.portfolio .project-image--dpai{aspect-ratio:16/9}
main.portfolio .project-image .project-video,.catalog-hero-media{object-fit:contain}
/* Landing project meta (Figma 952:2855): a short rule 24px under the description, then the date and the skills shown,
   8px apart, at the description size and colour. */
main.portfolio.home .project .project-copy .project-meta{margin-top:24px}
main.portfolio.home .project .project-copy .project-meta::before{content:"";display:block;width:36px;height:1px;margin-bottom:24px;background:#d9d9d9}
main.portfolio.home .project .project-copy .project-meta p{margin:0;font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color:rgba(0,0,0,.6);white-space:normal}
main.portfolio.home .project .project-copy .project-meta p+p{margin-top:8px}
/* Landing chips: Netflix plus a "Case Study" chip in the same style, bold sentence case. */
main.portfolio .project-badges{display:flex;flex-wrap:wrap;gap:8px;align-self:flex-start}
main.portfolio .project-badges .project-badge{align-self:auto}
main.portfolio .project-badge.project-badge--case{font-weight:800;text-transform:none;letter-spacing:0;padding:calc(8px + .046em) 8px calc(8px - .046em)}
/* Case Study chip: outline only (same 1px outline as the Contact and Download buttons), drawn inside so the size is unchanged. */
main.portfolio .project-badge.project-badge--case{background:transparent;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
/* Spinnaker / ChAP tiles: the same chip row as the project tiles (Netflix + an outlined "Feature" chip), 40px above the
   title, and the screen starts 40px under the title. */
.home-split-tile .home-split-badges{padding:24px 24px 0}
.home-split-tile .home-split-title{padding:40px 24px 0}
.home-split-window img{top:40px}
/* Outlined chips (Case Study / Showcase) use the Netflix chip's all-caps label style. */
main.portfolio .project-badge.project-badge--case{font-weight:900;text-transform:uppercase;letter-spacing:.07em;padding-right:calc(8px - .07em)}
/* Landing project meta: the Case Study chip and one chip per skill sit in a wrapping row 16px under the date. */
main.portfolio.home .project .project-copy .project-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
/* Spinnaker / ChAP tiles: title on the left and the chips on the right of the same line (centred on each other). Where
   the tile is too narrow for both, the chips wrap under the title. */
.home-split-tile .home-split-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding:24px 24px 0}
.home-split-tile .home-split-head .home-split-title{flex:0 1 auto;min-width:0;padding:0}
.home-split-tile .home-split-head .home-split-badges{padding:0;margin:0;flex:none;align-self:center}
/* Where "Continuous delivery app overview" and the logo chip no longer fit on one line with the logo chip (two-up tiles under 980px,
   single tiles under 480px), both tiles stack the chip under the title together, so the pair stays consistent. */
@media(max-width:980px) and (min-width:701px),(max-width:480px){.home-split-tile .home-split-head{flex-direction:column;align-items:flex-start}.home-split-tile .home-split-head .home-split-badges{align-self:flex-start}}
/* Skill chips: outlined, regular weight, sentence case (the label nudge keeps them on the chip's optical centre). */
main.portfolio .project-badge.project-badge--skill{background:transparent;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);font-weight:400;text-transform:none;letter-spacing:0;padding:calc(8px + .046em) 8px calc(8px - .046em)}
/* Spinnaker / ChAP tiles: logo-only Netflix chip, square at the chip height. */
main.portfolio .project-badge.project-badge--logo{width:31px;height:31px;padding:0;justify-content:center}
main.portfolio .project-badge.project-badge--logo img{margin:0}
/* No divider above the skill chips (an older .project-tags rule drew a full-width top border). */
main.portfolio.home .project .project-copy .project-tags{border-top:0;padding-top:0}
/* No load-time jump: the opener's height used --site-header-height, which header.js only sets after it runs (and again
   when fonts finish), so the page first laid out with an 82px guess and then grew 12px. The real header height is
   known per breakpoint, so the stylesheet states it up front and the opener uses that fixed value. */
:root{--site-header-height:70px;--hero-header-height:70px}
@media(max-width:580px){:root{--site-header-height:112px;--hero-header-height:112px}}
.home-hero{min-height:max(240px,calc(100svh - var(--hero-header-height) - 220px))}
@media(max-width:1080px){.home-hero{min-height:max(240px,calc(100svh - var(--hero-header-height) - 80px - (100vw - 80px) * 368 / 592 - 16px - 147px))}}
@media(max-width:700px){.home-hero{min-height:max(240px,calc(100svh - var(--hero-header-height) - 48px - (100vw - 48px) * 368 / 592 - 16px - 147px))}}
/* Chip-to-title spacing matches the 24px tile padding (project tiles, and the small tiles when the chip stacks under the title). */
main.portfolio.home .project .project-caption .project-copy{margin-top:24px}
.home-split-tile .home-split-head{row-gap:24px}
/* Project page sections (Figma 999:6579): a centred hint under the video, then rows with the images in backplate cards
   on the left and the section label, text and one combined caption on the right. The caption sits on a line that runs
   from the text column to the edge of the page, level with the bottom of the cards. */
.case-hint{margin:29px 0;font:italic 400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.6);text-align:center}
.case-section{display:grid;grid-template-columns:minmax(0,753fr) minmax(0,567fr);column-gap:40px;align-items:stretch;margin:0 0 80px}
.case-media{min-width:0}
.case-media--pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}
.case-media .catalog-diagram{margin:0;padding:0;background:none;box-shadow:none;border-radius:0;display:block}
.case-media .catalog-diagram-open{display:flex;align-items:center;justify-content:center;width:100%;height:auto;aspect-ratio:366/421;padding:24px;border-radius:8px;background:rgba(225,223,221,.1);box-shadow:inset 0 1px 4px rgba(0,0,0,.08)}
.case-media .catalog-diagram-open:hover,.case-media .catalog-diagram-open:focus-visible{background:var(--hover-backplate-strong,rgba(225,223,221,.3))}
.case-media .catalog-diagram img{display:block;width:100%;height:auto;margin:0}
.case-text{display:flex;flex-direction:column;min-width:0}
.case-copy{margin:auto 0}
.case-copy .catalog-label{margin:0 0 24px;font:900 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.28px;text-transform:uppercase;color:#474443}
.case-copy p{margin:0;font:400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:#5d5a58}
.case-caption{margin:0 calc(-1 * var(--project-gutter,40px)) 0 0;padding:0 0 16px;border-bottom:1px solid #d9d9d9;font:italic 400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.6)}
@media(min-width:1081px){
  .project-page .catalog-study--wide .case-section{width:calc(100cqw - 2 * var(--project-gutter,40px));margin-left:calc((100% - 100cqw) / 2 + var(--project-gutter,40px))}
}
@media(max-width:1080px){
  .case-section{grid-template-columns:minmax(0,1fr);row-gap:32px}
  .case-copy{margin:0 0 32px}
}
@media(max-width:700px){
  .case-hint{margin:24px 0}
  .case-media--pair{grid-template-columns:minmax(0,1fr);gap:16px}
  .case-media .catalog-diagram-open{aspect-ratio:auto}
}
/* Selected work: 16px between all tiles (between the project tiles, above the two small tiles, and between those two). */
main.portfolio.home .home-band:not(.home-split){padding-bottom:16px}
main.portfolio.home .home-band:has(+ .home-split){padding-bottom:16px}
main.portfolio.home .home-band.home-split{column-gap:16px;row-gap:16px}
@media(max-width:1080px){.case-copy{max-width:687px}}
/* Small tiles: the screen starts 24px under the title row, matching the tile padding. */
.home-split-window img{top:24px}
/* Diagram tiles: no padding - the tight crop of the sharp part of each diagram fills its tile, so the tiles take the
   crop's 5:4 shape (shorter than the Figma placeholder) and keep the 8px corners. */
.case-media .catalog-diagram-open{aspect-ratio:auto;padding:0;overflow:hidden;display:block}
.case-media .catalog-diagram img{width:100%;height:auto}
/* "Click any image…" starts on the section text column (the same 753 : 567 split with a 40px gap). Stacked layouts align
   it with the page content. */
.case-hint{text-align:left}
@media(min-width:1081px){
  .project-page .catalog-study--wide .case-hint{width:calc(100cqw - 2 * var(--project-gutter,40px));margin-left:calc((100% - 100cqw) / 2 + var(--project-gutter,40px));padding-left:calc((100cqw - 2 * var(--project-gutter,40px) - 40px) * 753 / 1320 + 40px);box-sizing:border-box}
}
/* Project footer is no longer pinned to the window: it sits after the content at the bottom of the page, 80px below the
   last section (or the hero video), inset to the page gutters, with 16px below it. */
.project-page footer#contact{position:relative;left:auto;right:auto;bottom:auto;z-index:auto;margin:0 var(--project-gutter) calc(16px + env(safe-area-inset-bottom,0px))}
.project-page main.catalog-study{margin-bottom:80px}
.case-section:not(:has(~ .case-section)){margin-bottom:0}
/* Selected work: 24px between all tiles. */
main.portfolio.home .home-band:not(.home-split){padding-bottom:24px}
main.portfolio.home .home-band:has(+ .home-split){padding-bottom:24px}
main.portfolio.home .home-band.home-split{column-gap:24px;row-gap:24px}
/* Project footer: 40px clear of the bottom of the page (matching the side margins), so it is never tucked under
   browser chrome or rounded window corners when scrolled to the end. */
.project-page footer#contact{margin-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
@media(max-width:700px){.project-page footer#contact{margin-bottom:calc(24px + env(safe-area-inset-bottom,0px))}}
/* Section text: one blank line (22px) between paragraphs. */
.case-copy p+p{margin-top:22px}
/* At least 24px between the section text and its caption; if the text column needs more height than the images, the
   tiles stretch with the row (the diagram stays centred on the backplate) so the caption line stays level with them. */
.case-text{gap:24px}
.case-media--pair .catalog-diagram{height:100%}
.case-media--pair .catalog-diagram-open{height:100%;display:flex;align-items:center}
/* "Click any image…" sits on the page's left edge (aligned with the title, video and tiles), led by an info icon in the
   text colour. */
.case-hint{display:flex;align-items:center;gap:8px}
.case-hint-icon{flex:none;display:block}
@media(min-width:1081px){.project-page .catalog-study--wide .case-hint{padding-left:0}}
/* Divider between the hero video and the case study content (Figma 999:6579): a full-width 1px line 49px under the
   video, with the "Click any image…" hint 28px below it and 30px above the first section. */
.case-divider{display:block;width:100cqw;height:0;margin:49px 0 0 calc((100% - 100cqw) / 2);padding:0;border:0;border-top:1px solid rgba(0,0,0,.08)}
.case-hint{margin:28px 0 30px}
@media(min-width:1081px){.project-page .catalog-study--wide .case-hint{margin-top:28px;margin-bottom:30px}}
@media(max-width:700px){.case-divider{margin-top:40px}.case-hint{margin:24px 0}}
/* Diagram pop-up: keep the scrollbar's space while the page scroll is locked, so the page behind never shifts sideways
   on open or close; the diagram fades in once loaded instead of popping in (or flashing the previous one). The caption
   has no info icon. */
html:has(.diagram-modal[open]){scrollbar-gutter:stable}
.diagram-modal-image{transition:opacity .2s ease}
.diagram-modal-image.is-loading{opacity:0;transition:none}
.diagram-modal-caption{gap:0}
@media(prefers-reduced-motion:reduce){.diagram-modal-image{transition:none}}
/* Project footer: white fill with the Download button's 1px outline (drawn inside, so the size is unchanged); no info icon. */
.project-page footer#contact{background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.project-page footer#contact .project-highlights{gap:0}
/* Single wide image tile (Approach): the full media column, 753 : 421 at 1440 as in the Figma, on the same backplate as the
   diagram tiles. Sections are 80px apart. */
.case-section{margin-bottom:80px}
.case-section:not(:has(~ .case-section)){margin-bottom:0}
.case-tile{display:block;width:100%;border-radius:8px;background:rgba(225,223,221,.1);box-shadow:inset 0 1px 4px rgba(0,0,0,.08);overflow:hidden}
.case-tile--placeholder{aspect-ratio:753/421}
/* Project footer: outline only, no fill. */
.project-page footer#contact{background:transparent}
/* Continuous delivery / resilience pages: the full product screen is the hero, in the video's place, with 8px corners at
   the screens' design scale (2x captures of 1600px-wide UI) and the same subtle elevation. Landing tiles link to them and
   the screen morphs into the hero on navigation, like the project videos. */
.catalog-screen img.catalog-hero-media{display:block;width:100%;height:auto;border-radius:.5% / .8%;background:rgba(225,223,221,.2)}
a.home-split-tile{display:block;color:inherit;text-decoration:none}
a.home-split-tile:hover{text-decoration:none}
a.home-split-tile:focus-visible{outline:2px solid #375adb;outline-offset:4px}
a.home-split-tile[href="integration-delivery.html"] .home-split-window img,.catalog-hero-media[data-transition="cd-screen"]{view-transition-name:cd-screen}
a.home-split-tile[href="resilience-test-reports.html"] .home-split-window img,.catalog-hero-media[data-transition="res-screen"]{view-transition-name:res-screen}
/* Project page sections, side by side with the text on the left and the images on the right (mirror of the Figma
   999:6579 layout). The caption line now runs from the left edge of the page to the end of the text column. */
@media(min-width:1081px){
  .case-section{grid-template-columns:minmax(0,567fr) minmax(0,753fr)}
  .case-section .case-text{grid-column:1;grid-row:1}
  .case-section .case-media{grid-column:2;grid-row:1}
  .case-section .case-caption{margin:0 0 0 calc(-1 * var(--project-gutter,40px));padding-left:var(--project-gutter,40px)}
}
/* Image loading state (header.js): a pale grey backplate with a slow, soft highlight sweeping across it; the image is
   hidden until it has loaded, then fades in. Reduced motion keeps the still grey only. */
.media-loading{background-color:rgba(225,223,221,.28);background-image:linear-gradient(100deg,rgba(255,255,255,0) 35%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 65%);background-size:220% 100%;background-repeat:no-repeat;animation:media-shimmer 1.8s ease-in-out infinite}
.media-loading img{opacity:0}
img.media-fade{transition:opacity .35s ease}
.catalog-screen.media-loading{border-radius:.5% / .8%;overflow:hidden}
@keyframes media-shimmer{from{background-position:130% 0}to{background-position:-30% 0}}
@media(prefers-reduced-motion:reduce){.media-loading{animation:none;background-image:none}img.media-fade{transition:none}}
/* Project pages: no lines or borders - no divider under the hero, no caption rules, no outline on the footer. */
.project-page .case-divider{border-top:0}
.project-page .case-caption{border-bottom:0}
.project-page footer#contact{box-shadow:none}
/* Diagram tiles: on hover (or keyboard focus) the diagram darkens slightly and its name slides up in a soft bar along
   the bottom of the tile. Touch screens, which have no hover, show the name all the time. */
.case-media .catalog-diagram-open{position:relative}
.case-media .catalog-diagram img{transition:filter .2s ease}
.case-media .catalog-diagram-open:hover img,.case-media .catalog-diagram-open:focus-visible img{filter:brightness(.94)}
.catalog-diagram-label{position:absolute;left:0;right:0;bottom:0;padding:10px 16px;background:rgba(250,248,244,.92);box-shadow:0 -1px 0 rgba(0,0,0,.04);font:500 14px/20px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.7);text-align:left;opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.case-media .catalog-diagram-open:hover .catalog-diagram-label,.case-media .catalog-diagram-open:focus-visible .catalog-diagram-label{opacity:1;transform:none}
@media(hover:none){.catalog-diagram-label{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.catalog-diagram-label,.case-media .catalog-diagram img{transition:none}}
/* Diagram tile names: italic, simply fading in at the bottom inside the tile (no slide), over a soft fade from the
   page colour rather than a hard bar. */
.catalog-diagram-label{font-style:italic;font-weight:400;color:rgba(0,0,0,.6);background:linear-gradient(rgba(250,248,244,0),rgba(250,248,244,.92) 45%);box-shadow:none;padding:28px 16px 12px;transform:none;transition:opacity .2s ease}
.case-media .catalog-diagram-open:hover .catalog-diagram-label,.case-media .catalog-diagram-open:focus-visible .catalog-diagram-label{transform:none}
/* Diagram tiles darken as a whole on hover / keyboard focus (a soft shade over the entire tile, name included). */
.case-media .catalog-diagram-open:hover img,.case-media .catalog-diagram-open:focus-visible img{filter:none}
.case-media .catalog-diagram-open::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(0,0,0,.05);opacity:0;transition:opacity .2s ease;pointer-events:none}
.case-media .catalog-diagram-open:hover::after,.case-media .catalog-diagram-open:focus-visible::after{opacity:1}
@media(prefers-reduced-motion:reduce){.case-media .catalog-diagram-open::after{transition:none}}
/* More room between project page sections: 120px (80px on phones). */
.case-section{margin-bottom:120px}
.case-section:not(:has(~ .case-section)){margin-bottom:0}
@media(max-width:700px){.case-section{margin-bottom:80px}.case-section:not(:has(~ .case-section)){margin-bottom:0}}
/* Section text: shorter lines (max 480px, about 70 characters) within the text column. */
.case-section .case-copy{max-width:480px}

/* Keep the hero-to-first-section space now that the "Click any image" hint is gone. */
.case-divider + .case-section{margin-top:80px}
/* Tile hover: no dark shade - a deeper inner shadow gives the tile more depth instead. */
.case-media .catalog-diagram-open:hover,.case-media .catalog-diagram-open:focus-visible{background:rgba(225,223,221,.1)}
.case-media .catalog-diagram-open::after{background:none;box-shadow:inset 0 2px 12px rgba(0,0,0,.14)}
/* Approach carousel: a 4:3 tile showing one audit table at a time, filling the width from the top; arrows and dots
   sit inside the tile, bottom right. */
.case-carousel{position:relative;border-radius:8px;overflow:hidden;background:rgba(225,223,221,.1);box-shadow:inset 0 1px 4px rgba(0,0,0,.08);outline-offset:4px}
.case-carousel:focus-visible{outline:2px solid #375adb}
.case-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.case-carousel-track::-webkit-scrollbar{display:none}
.case-slide{flex:0 0 100%;scroll-snap-align:start;margin:0;min-width:0}
.case-media .case-carousel .catalog-diagram-open{display:block;width:100%;height:auto;aspect-ratio:4/3;padding:0;border-radius:0;overflow:hidden;box-shadow:none}
.case-carousel .catalog-diagram-open img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.case-carousel .catalog-diagram-label{padding-right:136px}
.case-carousel-controls{position:absolute;right:12px;bottom:12px;z-index:2;display:flex;align-items:center;gap:8px;padding:4px;border-radius:9999px;background:rgba(250,248,244,.92);box-shadow:0 1px 2px rgba(0,0,0,.08),inset 0 0 0 1px rgba(0,0,0,.06)}
.case-carousel-prev,.case-carousel-next{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:9999px;background:transparent;color:rgba(0,0,0,.7);cursor:pointer}
.case-carousel-prev:hover:not(:disabled),.case-carousel-next:hover:not(:disabled){background:rgba(0,0,0,.06)}
.case-carousel-prev:disabled,.case-carousel-next:disabled{color:rgba(0,0,0,.25);cursor:default}
.case-carousel-prev:focus-visible,.case-carousel-next:focus-visible,.case-carousel-dot:focus-visible{outline:2px solid #375adb;outline-offset:2px}
.case-carousel-dots{display:flex;gap:6px}
.case-carousel-dot{width:6px;height:6px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.2);cursor:pointer}
.case-carousel-dot[aria-current="true"]{background:rgba(0,0,0,.7)}
/* Tall audit tables: full width, scrolling inside the modal under a fixed heading and close button. */
.diagram-modal--scroll .diagram-modal-image{max-height:none}
.diagram-modal--scroll .diagram-modal-figure{max-height:calc(100vh - 48px - 56px - 24px - 40px);overflow-y:auto;overscroll-behavior:contain;border-radius:4px}
/* Hover inner shadow: tighter blur (was 12px) so the edge reads crisp rather than hazy. */
.case-media .catalog-diagram-open::after{box-shadow:inset 0 2px 4px rgba(0,0,0,.14)}
/* Approach carousel v2: the table sits inside the tile with a gutter on each side for the arrows; it fades out at the bottom. */
.case-media .case-carousel .catalog-diagram-open{padding:32px 56px;box-sizing:border-box}
.case-carousel .catalog-diagram-open img{-webkit-mask-image:linear-gradient(#000 78%,transparent);mask-image:linear-gradient(#000 78%,transparent)}
.case-carousel .catalog-diagram-label{padding-left:56px;padding-right:56px}
.case-carousel-prev,.case-carousel-next{position:absolute;top:50%;z-index:2;width:32px;height:32px;margin-top:-16px;background:rgba(250,248,244,.92);box-shadow:0 1px 2px rgba(0,0,0,.08),inset 0 0 0 1px rgba(0,0,0,.06)}
.case-carousel-prev{left:12px}
.case-carousel-next{right:12px}
.case-carousel-prev:hover:not(:disabled),.case-carousel-next:hover:not(:disabled){background:#fff;color:rgba(0,0,0,.9)}
@media(max-width:700px){
  .case-media .case-carousel .catalog-diagram-open{padding:20px 40px}
  .case-carousel .catalog-diagram-label{padding-left:40px;padding-right:40px}
  .case-carousel-prev,.case-carousel-next{width:28px;height:28px;margin-top:-14px}
  .case-carousel-prev{left:6px}
  .case-carousel-next{right:6px}
}
/* Tile captions: always visible, centered at the top of the tile surface; the image sits below them. */
.case-media .catalog-diagram-open{padding-top:48px;box-sizing:border-box}
.case-media .catalog-diagram-open .catalog-diagram-label,.case-media .catalog-diagram-open:hover .catalog-diagram-label,.case-media .catalog-diagram-open:focus-visible .catalog-diagram-label{top:0;bottom:auto;padding:14px 16px 0;text-align:center;background:none;opacity:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.case-media .case-carousel .catalog-diagram-open{padding:56px 56px 32px}
@media(max-width:700px){
  .case-media .catalog-diagram-open{padding-top:44px}
  .case-media .case-carousel .catalog-diagram-open{padding:48px 40px 20px}
}
/* Tile hover: no inner shadow; the tile's grey surface just gets a little darker. */
.case-media .catalog-diagram-open::after{content:none}
.case-media .catalog-diagram-open{transition:background-color .2s ease}
.case-media .catalog-diagram-open:hover,.case-media .catalog-diagram-open:focus-visible{background:rgba(225,223,221,.5)}
/* Modal carousel (Approach tables): an arrow on each side, in a wider side gutter so they never cover the table. */
.diagram-modal--carousel{padding-left:56px;padding-right:56px}
.diagram-modal--carousel .diagram-modal-heading{left:56px}
.diagram-modal-prev,.diagram-modal-next{position:absolute;top:50%;z-index:2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-top:-16px;padding:0;border:0;border-radius:9999px;background:rgba(250,248,244,.92);color:rgba(0,0,0,.7);box-shadow:0 1px 2px rgba(0,0,0,.08),inset 0 0 0 1px rgba(0,0,0,.06);cursor:pointer}
.diagram-modal-prev[hidden],.diagram-modal-next[hidden]{display:none}
.diagram-modal-prev{left:12px}
.diagram-modal-next{right:12px}
.diagram-modal-prev:hover,.diagram-modal-next:hover{background:#fff;color:rgba(0,0,0,.9)}
.diagram-modal-prev:focus-visible,.diagram-modal-next:focus-visible{outline:2px solid #375adb;outline-offset:2px}
@media(max-width:700px){
  .diagram-modal--carousel{padding-left:44px;padding-right:44px}
  .diagram-modal--carousel .diagram-modal-heading{left:44px}
  .diagram-modal-prev,.diagram-modal-next{width:28px;height:28px;margin-top:-14px}
  .diagram-modal-prev{left:8px}
  .diagram-modal-next{right:8px}
}
/* Tiles: no hover state (the surface stays the same; the tooltip still appears). Keyboard focus keeps its darker surface. */
.case-media .catalog-diagram-open:hover{background:rgba(225,223,221,.1)}
.case-media .catalog-diagram-open:focus-visible{background:rgba(225,223,221,.5)}
/* Carousel arrows (tile and modal): solid white fill. */
.case-carousel-prev,.case-carousel-next,.case-carousel-prev:hover:not(:disabled),.case-carousel-next:hover:not(:disabled),.diagram-modal-prev,.diagram-modal-next,.diagram-modal-prev:hover,.diagram-modal-next:hover{background:#fff}
/* Case-section bullet lists: same type as the paragraphs, 22px after the lead-in, 8px between items. */
.case-copy .case-list{margin:22px 0 0;padding-left:22px;font:400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:#5d5a58;list-style:disc}
.case-copy .case-list li+li{margin-top:8px}
.case-copy .case-list li::marker{color:rgba(0,0,0,.4)}
/* Approach carousel tile: match the Selected work tiles (one surface layer, same grey and inner shadow). */
.case-carousel{background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
.case-media .case-carousel .catalog-diagram-open,.case-media .case-carousel .catalog-diagram-open:hover{background:transparent}
/* Keyboard focus on any image tile: a focus ring instead of a darker fill (the fill lingered after closing the modal with Esc). */
.case-media .catalog-diagram-open:focus-visible{background:rgba(225,223,221,.1);outline:2px solid #375adb;outline-offset:2px}
.case-media .case-carousel .catalog-diagram-open:focus-visible{background:transparent;outline-offset:-2px;border-radius:8px}
/* Approach: the list follows its "…, I:" lead-in closely. */
.case-copy .case-list{margin-top:8px}
/* Approach tables: no fade - like the diagrams, the table simply runs off the bottom edge of the tile. */
.case-carousel .catalog-diagram-open img{-webkit-mask-image:none;mask-image:none}
.case-media .case-carousel .catalog-diagram-open{padding-bottom:0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open{padding-bottom:0}}
.case-carousel-track{overflow-anchor:none}
/* Tile captions: equal space above (to the tile edge) and below (to the image) - 18px each on desktop, 14px on phones;
   the diagram tiles use the same spacing as the table tiles. */
.case-media .catalog-diagram-open .catalog-diagram-label,.case-media .catalog-diagram-open:hover .catalog-diagram-label,.case-media .catalog-diagram-open:focus-visible .catalog-diagram-label{padding-top:18px}
.case-media .catalog-diagram-open,.case-media .case-carousel .catalog-diagram-open{padding-top:56px}
@media(max-width:700px){
  .case-media .catalog-diagram-open .catalog-diagram-label,.case-media .catalog-diagram-open:hover .catalog-diagram-label,.case-media .catalog-diagram-open:focus-visible .catalog-diagram-label{padding-top:14px}
  .case-media .catalog-diagram-open,.case-media .case-carousel .catalog-diagram-open{padding-top:48px}
}
/* A paragraph that follows a case list gets the usual paragraph spacing. */
.case-copy .case-list+p{margin-top:22px}
/* Titled bullets (Research): bold subject, description on its own line below. */
.case-copy .case-list-title{display:block;font-weight:800;color:#474443}
.case-copy .case-list-desc{display:block}
.case-copy .case-list--titled li+li{margin-top:12px}
/* Longer section text lines: 540px beside the media (was 480), 620px when sections stack. */
.case-section .case-copy{max-width:540px}
@media(max-width:1080px){.case-section .case-copy{max-width:620px}}
/* Full-width tile below a section (Transfer journey): spans the page between the gutters. */
.case-wide{width:calc(100cqw - 2 * var(--project-gutter,40px));margin:80px 0 0 calc((100% - 100cqw) / 2 + var(--project-gutter,40px))}
@media(max-width:700px){.case-wide{margin-top:48px}}
/* Transfer journey tile: zoomed out a little, with space around the journey inside the tile. */
.case-media.case-wide .catalog-diagram-open{padding:56px 56px 48px}
@media(max-width:700px){.case-media.case-wide .catalog-diagram-open{padding:48px 16px 16px}}
/* Transfer journey: middle ground between edge-to-edge and the roomier inset (28px sides, 24px bottom). */
.case-media.case-wide .catalog-diagram-open{padding:56px 28px 24px}
@media(max-width:700px){.case-media.case-wide .catalog-diagram-open{padding:48px 8px 8px}}
/* A full-width tile belongs to the section above it (80px gap); the next section starts the usual 120px below it. */
.case-section:has(+ .case-wide){margin-bottom:0}
.case-wide + .case-section{margin-top:120px}
@media(max-width:700px){.case-wide + .case-section{margin-top:80px}}
/* Mental model map: sit the map a little higher in its tile (its own artwork has a margin above the top panel). */
.case-section[aria-labelledby="tc-research-label"] .case-media .catalog-diagram-open{padding-top:44px}
@media(max-width:700px){.case-section[aria-labelledby="tc-research-label"] .case-media .catalog-diagram-open{padding-top:40px}}
/* Exploration carousel: whole design images (no cropping), top-aligned under the caption. */
.case-carousel--shots .catalog-diagram-open img{height:auto;object-fit:initial}
/* Carousel captions: hidden while slides move, then a soft fade-in once the image has landed (tiles and modal). */
.case-media .case-carousel .case-slide .catalog-diagram-open .catalog-diagram-label{transition:opacity .45s ease .08s}
.case-media .case-carousel .case-slide:not(.is-shown) .catalog-diagram-open .catalog-diagram-label,
.case-media .case-carousel .case-slide:not(.is-shown) .catalog-diagram-open:hover .catalog-diagram-label,
.case-media .case-carousel .case-slide:not(.is-shown) .catalog-diagram-open:focus-visible .catalog-diagram-label{opacity:0;transition:none}
.diagram-modal--carousel .diagram-modal-heading{transition:opacity .45s ease .12s}
.diagram-modal--carousel.is-switching .diagram-modal-heading{opacity:0;transition:none}
@media(prefers-reduced-motion:reduce){.case-media .case-carousel .case-slide .catalog-diagram-open .catalog-diagram-label,.diagram-modal--carousel .diagram-modal-heading{transition:none}}
/* Project footer: Previous / Next text buttons styled like the résumé Download button (outlined, 16px Avenir). */
.project-pagination-footer{grid-template-columns:auto minmax(0,1fr) auto}
.project-pagination .project-step{display:inline-flex;align-items:center;justify-content:center;padding:3.62px 8px 2.29px;border:0;border-radius:var(--radius);background:transparent;color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-size:16px;line-height:22px;font-weight:400;letter-spacing:.56px;text-decoration:none;white-space:nowrap;transition:color .15s ease,box-shadow .15s ease}
.project-pagination .project-step:hover,.project-pagination .project-step:focus-visible{color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px rgba(0,0,0,.3);text-decoration:none}
.project-pagination .project-step:focus-visible{outline:2px solid #375adb;outline-offset:3px}
/* Keep the middle text centred on the page even though "Previous" is wider than "Next". */
.project-pagination-footer{grid-template-columns:1fr minmax(0,auto) 1fr}
.project-pagination-footer .project-previous{justify-self:start}
.project-pagination-footer .project-next{justify-self:end}
/* Carousel captions arrive sooner: no delay, a quicker 0.25s fade. */
.case-media .case-carousel .case-slide .catalog-diagram-open .catalog-diagram-label{transition:opacity .25s ease}
.diagram-modal--carousel .diagram-modal-heading{transition:opacity .25s ease}
@media(prefers-reduced-motion:reduce){.case-media .case-carousel .case-slide .catalog-diagram-open .catalog-diagram-label,.diagram-modal--carousel .diagram-modal-heading{transition:none}}
/* Footer buttons: arrow icon + label, spaced like the Download button. */
.project-pagination .project-step{gap:4.62px;padding:3.62px 6.29px 2.29px 6px}
.project-pagination .project-step.project-next{padding:3.62px 6px 2.29px 6.29px}
.project-pagination .project-step svg{display:block;flex:none;width:16px;height:16px;transform:translateY(-.66px)}
/* Section titles: same type as the company names on the résumé (Avenir Black 16/24, 1.12px tracking, 70% black). */
.case-copy .catalog-label{font:900 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.12px;color:rgba(0,0,0,.7)}
/* Inset tile (Manual workarounds): a small UI dialog shown at roughly its real size, centred with space around it. */
.case-media .catalog-diagram-open.catalog-diagram-open--inset{padding:56px 40px 40px}
.case-media .catalog-diagram-open--inset img{width:100%;max-width:520px;margin:0 auto}
@media(max-width:700px){.case-media .catalog-diagram-open.catalog-diagram-open--inset{padding:48px 20px 20px}}
/* Video slides (Research): the clip sits like an image under the caption. */
.case-carousel .catalog-diagram-open video.case-tile-video{display:block;width:100%;height:auto;border-radius:4px}
.diagram-modal-video{display:block;width:100%;height:auto;max-height:calc(100vh - 48px - 56px - 24px - 88px);object-fit:contain}
.diagram-modal-video[hidden],.diagram-modal-image[hidden]{display:none}
/* Research carousel: same caption spacing as the other carousels. */
.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open{padding-top:56px}
@media(max-width:700px){.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open{padding-top:48px}}
/* Edge-to-edge slide (Constraints panel): no side or bottom padding; the image runs off the tile edges. */
.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding:56px 0 0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding:48px 0 0}}
/* Bleed slides in the Research carousel also start right under the caption (overrides that section's 56px rule). */
.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding:56px 0 0}
@media(max-width:700px){.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding:48px 0 0}}
/* Hero carousel (Spinnaker page): a full-width tile; every screen sits in the same 16:10 frame under its caption. */
.case-media .case-carousel.case-carousel--hero .catalog-diagram-open{aspect-ratio:auto;padding:56px 56px 40px}
.case-carousel--hero .catalog-diagram-open img{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;border-radius:.4% / .64%}
@media(max-width:700px){.case-media .case-carousel.case-carousel--hero .catalog-diagram-open{padding:48px 40px 20px}}
/* Mental model map: sit a little higher, starting 44px from the top (40px on phones). */
.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:44px}
@media(max-width:700px){.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:40px}}
/* Mental model map: a little higher again (36px from the top; 34px on phones). */
.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:36px}
@media(max-width:700px){.case-section[aria-labelledby="tc-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:34px}}
/* Edit metadata workaround: the panel sits left-aligned at 98.5% width, leaving ~11px on the right so the submenu clears the tile edge by about the caption's top spacing. */
/* Details within reach: the submenu's right edge sits as far from the tile edge as the panel sits from the top (24px, 16px on phones) */
.case-carousel .catalog-diagram-open--inset-right img{width:calc((100% - 24px) / .99393);margin:0}
@media(max-width:700px){.case-carousel .catalog-diagram-open--inset-right img{width:calc((100% - 16px) / .99393)}}
.case-carousel-prev[hidden],.case-carousel-next[hidden]{display:none}
/* Ownership prototype video: zoomed in so the clip runs off both sides of the tile. */
.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--zoom{padding:56px 0 0}
.case-carousel .catalog-diagram-open--zoom video.case-tile-video{width:118%;max-width:none;margin-left:-9%;border-radius:0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--zoom{padding-top:48px}}
/* Ownership prototype video: fit inside the tile again, with side space matching the space above the caption (19px; 15px on phones). */
.case-carousel .catalog-diagram-open--zoom video.case-tile-video{width:calc(100% - 38px);margin:0 auto;border-radius:4px}
@media(max-width:700px){.case-carousel .catalog-diagram-open--zoom video.case-tile-video{width:calc(100% - 30px)}}

/* Spinnaker: full-width journey map carousel and research board crops */
.case-media.case-wide .case-carousel.case-carousel--wide .catalog-diagram-open{aspect-ratio:auto;padding:56px 56px 40px}
.case-carousel--wide .catalog-diagram-open img{width:100%;height:auto;aspect-ratio:3118/939;object-fit:contain;object-position:top center}
@media(max-width:700px){.case-media.case-wide .case-carousel.case-carousel--wide .catalog-diagram-open{padding:48px 40px 20px}}
.case-section[aria-labelledby="cd-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:36px}
@media(max-width:700px){.case-section[aria-labelledby="cd-research-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:34px}}

/* AI agents: problem tile journey crops sit 36px below the caption, like the other research carousels */
.case-section[aria-labelledby="dpai-problem-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:36px}
@media(max-width:700px){.case-section[aria-labelledby="dpai-problem-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:34px}}
/* AI agents problem carousel: its long captions wrap onto two lines on phones instead of being cut off */
@media(max-width:700px){
  .case-section[aria-labelledby="dpai-problem-label"] .case-carousel .catalog-diagram-open .catalog-diagram-label{white-space:normal;padding-left:40px;padding-right:40px}
  .case-section[aria-labelledby="dpai-problem-label"] .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding-top:58px}
}
.caption-keep{white-space:nowrap}
/* ...and the tile grows to fit the wrapped caption plus the whole map crop */
@media(max-width:700px){.case-section[aria-labelledby="dpai-problem-label"] .case-media .case-carousel .catalog-diagram-open{aspect-ratio:auto}}

/* AI agents approach carousel: same caption/crop spacing as the problem carousel */
/* both images sit inset (clear of the arrows) and centred in the space below the caption */
.case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open{display:flex;flex-direction:column;justify-content:center;padding-bottom:40px}
@media(max-width:700px){
  .case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-carousel .catalog-diagram-open .catalog-diagram-label{white-space:normal;padding-left:40px;padding-right:40px}
  .case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open{padding-top:58px;padding-bottom:24px}
}

/* AI agents approach: the tall audit table hangs from the top under its caption and runs off the bottom, like the Tech Catalog matrices */
.case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--top{justify-content:flex-start;padding-bottom:0}
/* the zoomed flow crop bleeds to the tile edges, 36px under the caption */
.case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding:36px 0 0;justify-content:flex-start}
@media(max-width:700px){
  .case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed{padding:58px 0 0}
  .case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open{aspect-ratio:auto}
}
@media(max-width:700px){.case-section:is([aria-labelledby="dpai-approach-label"],[aria-labelledby="dpai-research-label"]) .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--top{max-height:calc(58px + (100vw - 48px) * 529 / 753)}}
.diagram-modal-heading-note{font-weight:400}
.case-carousel .catalog-diagram-open picture{display:block;flex-shrink:0}
/* Project pages end at the Previous/Next buttons: no space below them, so the page scrolls to the bottom edge */
.project-page footer#contact,.project-page footer#contact:is(*){margin-bottom:env(safe-area-inset-bottom,0px)}

/* AI agents tiles: the image starts as far below the caption as the caption sits below the tile's top edge */
.case-section[aria-labelledby^="dpai-"] .case-media .case-carousel .catalog-diagram-open,
.case-section[aria-labelledby^="dpai-"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed,
.case-section[aria-labelledby^="dpai-"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--top{padding-top:56px}
@media(max-width:700px){
  .case-section[aria-labelledby^="dpai-"] .case-carousel .catalog-diagram-open .catalog-diagram-label{white-space:nowrap}
  .case-section[aria-labelledby^="dpai-"] .case-media .case-carousel .catalog-diagram-open,
  .case-section[aria-labelledby^="dpai-"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--bleed,
  .case-section[aria-labelledby^="dpai-"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--top{padding-top:48px}
}
/* The footer is part of the page now (not floating), so the fixed strip that used to sit under it would cover it. */
body.project-page::after{content:none;display:none}
/* Modal "fade" mode (data-scroll="fade"): show the image at full width, clipped at the bottom of the modal with a soft fade, no scrolling */
.diagram-modal--fade .diagram-modal-image{max-height:none}
.diagram-modal--fade .diagram-modal-figure{max-height:calc(100vh - 48px - 56px - 24px - 40px);overflow:hidden;border-radius:4px;-webkit-mask-image:linear-gradient(#000 calc(100% - 120px),transparent);mask-image:linear-gradient(#000 calc(100% - 120px),transparent)}

/* Section spacing: 20px tighter between sections */
.case-section{margin-bottom:100px}
.case-section:not(:has(~ .case-section)),.case-section:has(+ .case-wide){margin-bottom:0}
.case-wide{margin-top:60px}
.case-wide + .case-section{margin-top:100px}
@media(max-width:700px){
  .case-section{margin-bottom:60px}
  .case-section:not(:has(~ .case-section)),.case-section:has(+ .case-wide){margin-bottom:0}
  .case-wide{margin-top:28px}
  .case-wide + .case-section{margin-top:60px}
}
/* Modal title: the same space above the lettering as to its left (the line box sits ~5px above the caps). */
.diagram-modal .diagram-modal-heading,.diagram-modal--carousel .diagram-modal-heading{top:19px;left:24px}
.diagram-modal .diagram-modal-close{top:14px}
@media(max-width:700px){
  .diagram-modal .diagram-modal-heading,.diagram-modal--carousel .diagram-modal-heading{top:11px;left:16px}
  .diagram-modal .diagram-modal-close{top:6px}
}
/* Carousel tile captions: arrive quickly once the next image is mostly in view. */
.case-media .case-carousel .case-slide .catalog-diagram-open .catalog-diagram-label{transition:opacity .15s ease}
/* Subtle elevation for the prototype recording, in the tile and in the modal. The app window changes size during the
   clip, so it follows the video's transparency where the browser plays the transparent clip. Safari plays the flat
   fallback, whose window fills the frame for all but the first two seconds, so there the shadow sits on the frame. */
.alpha-video .catalog-diagram-open[data-elevate] video.case-tile-video,.alpha-video .diagram-modal--elevate .diagram-modal-video{filter:drop-shadow(0 1px 1px rgba(0,0,0,.05)) drop-shadow(0 3px 7px rgba(0,0,0,.09))}
html:not(.alpha-video) .catalog-diagram-open[data-elevate] video.case-tile-video,html:not(.alpha-video) .diagram-modal--elevate .diagram-modal-video{box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
/* Project pages: space below the footer again (40px, matching the side margins; 24px on phones). */
.project-page footer#contact,.project-page footer#contact:is(*){margin-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
@media(max-width:700px){.project-page footer#contact,.project-page footer#contact:is(*){margin-bottom:calc(24px + env(safe-area-inset-bottom,0px))}}
/* Tile carousel arrows: no fill, just the thin outline. */
.case-carousel-prev,.case-carousel-next,.case-carousel-prev:hover:not(:disabled),.case-carousel-next:hover:not(:disabled){background:transparent;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.case-carousel-prev:hover:not(:disabled),.case-carousel-next:hover:not(:disabled){box-shadow:inset 0 0 0 1px rgba(0,0,0,.24)}
/* Whole-image tiles (catalog-diagram-open--fit): the tile is sized to its image, with the same 24px (16px on phones) above
   the caption, between the caption and the image, and around the image. In a carousel every slide takes the height of the
   tallest one and shorter images sit centred in the space under the caption. Cropped/bleeding tiles are unchanged.
   :not(#_) lifts these rules over the page-specific tile rules above. */
.case-media .catalog-diagram-open.catalog-diagram-open--fit:not(#_){display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:auto;aspect-ratio:auto;padding:68px 24px 24px;overflow:hidden}
.case-media .case-carousel .case-slide:has(> .catalog-diagram-open--fit){display:flex}
.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--fit:not(#_){flex:1 1 auto;height:auto}
.case-media .catalog-diagram-open--fit:not(#_) > img,.case-media .catalog-diagram-open--fit:not(#_) > picture,.case-media .catalog-diagram-open--fit:not(#_) > video,.case-media .catalog-diagram-open--fit:not(#_) > video.case-tile-video{display:block;flex:none;width:100%;max-width:none;height:auto;margin:0;object-fit:contain;-webkit-mask-image:none;mask-image:none}
.case-media .catalog-diagram-open--fit:not(#_) > picture img{width:100%;height:auto}
.case-media .catalog-diagram-open--fit:not(#_) .catalog-diagram-label{padding-top:24px}
.case-carousel--wide .catalog-diagram-open--fit img[src*="sidr-journey-feature"]{aspect-ratio:1400/422}
.case-carousel--wide .catalog-diagram-open--fit img[src*="sidr-journey-bugfix"]{aspect-ratio:1400/411}
@media(max-width:700px){
  .case-media .catalog-diagram-open.catalog-diagram-open--fit:not(#_){padding:52px 16px 16px}
  .case-media .catalog-diagram-open--fit:not(#_) .catalog-diagram-label{padding-top:16px}
}
/* A carousel that mixes whole-image slides with a cropped slide: the cropped slide fills the carousel's height (set by the
   tallest whole image) and its crop runs to the bottom edge, so the tile never changes height between slides. */
.case-media .case-carousel:has(.catalog-diagram-open--fit) .case-slide{display:flex}
.case-media .case-carousel:has(.catalog-diagram-open--fit) .catalog-diagram-open:not(.catalog-diagram-open--fit):not(#_){flex:1 1 auto;aspect-ratio:auto;height:auto;contain:size}
/* Outcomes: a full-width panel after the last section, styled like the image tiles. */
.case-outcomes{width:calc(100cqw - 2 * var(--project-gutter,40px));margin:100px 0 0 calc((100% - 100cqw) / 2 + var(--project-gutter,40px));padding:40px;border-radius:8px;background:rgba(225,223,221,.1);box-shadow:inset 0 1px 4px rgba(0,0,0,.08)}
.case-outcomes .catalog-label{margin:0 0 24px}
.case-outcomes p{margin:0;font:400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgb(93,90,88)}
.case-outcomes-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:40px;row-gap:32px;margin:40px 0 0;padding:0;list-style:none}
.case-outcomes-list h3{margin:0 0 8px;font:800 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.8)}
@media(max-width:900px){.case-outcomes-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.case-outcomes{margin-top:60px;padding:24px}.case-outcomes-list{margin-top:32px;row-gap:24px}}
.case-outcomes .catalog-label{font:900 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.12px;text-transform:uppercase;color:rgba(0,0,0,.7)}
/* In a carousel with whole-image slides, the cropped slides put their caption and crop in the same place as the
   whole-image slides (caption 24px down, crop starting 24px under it), so nothing jumps between slides. */
.case-media .case-carousel:has(.catalog-diagram-open--fit) .catalog-diagram-open:not(.catalog-diagram-open--fit):not(#_){padding-top:68px}
.case-media .case-carousel:has(.catalog-diagram-open--fit) .catalog-diagram-open:not(.catalog-diagram-open--fit):not(#_) .catalog-diagram-label{padding-top:24px}
/* Bulk ownership transfer clip: fills the whole tile (bleeding off every edge), with a soft fade from the tile colour
   behind the caption and arrows so they stay readable over the recording. */
.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){padding:0}
.case-media .case-carousel .catalog-diagram-open--clip:not(#_) > video.case-tile-video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;margin:0;border-radius:0;object-fit:cover;object-position:center top}
.case-media .case-carousel .catalog-diagram-open--clip:not(#_) .catalog-diagram-label{z-index:1;padding-bottom:40px;background:linear-gradient(rgba(247,245,242,.98),rgba(247,245,242,.95) 60%,rgba(247,245,242,0))}
@media(max-width:700px){
  .case-media .case-carousel:has(.catalog-diagram-open--fit) .catalog-diagram-open:not(.catalog-diagram-open--fit):not(#_){padding-top:52px}
  .case-media .case-carousel:has(.catalog-diagram-open--fit) .catalog-diagram-open:not(.catalog-diagram-open--fit):not(#_) .catalog-diagram-label{padding-top:16px}
}
/* Tile carousel arrows: no circle, at the top corners, centred on the caption line. Captions sit 18px down (24px in
   carousels with whole-image slides; 14px / 16px on phones) with a 20px line, so the 32px (28px) arrows go 12px / 18px down. */
.case-media .case-carousel .case-carousel-prev,.case-media .case-carousel .case-carousel-next{top:12px;margin-top:0}
.case-media .case-carousel .case-carousel-prev,.case-media .case-carousel .case-carousel-next,.case-media .case-carousel .case-carousel-prev:hover:not(:disabled),.case-media .case-carousel .case-carousel-next:hover:not(:disabled){background:transparent;box-shadow:none}
.case-media .case-carousel:has(.catalog-diagram-open--fit) .case-carousel-prev,.case-media .case-carousel:has(.catalog-diagram-open--fit) .case-carousel-next{top:18px}
.case-media .case-carousel .case-carousel-prev:hover:not(:disabled),.case-media .case-carousel .case-carousel-next:hover:not(:disabled){color:rgba(0,0,0,.95)}
@media(max-width:700px){
  .case-media .case-carousel .case-carousel-prev,.case-media .case-carousel .case-carousel-next{top:10px}
  .case-media .case-carousel:has(.catalog-diagram-open--fit) .case-carousel-prev,.case-media .case-carousel:has(.catalog-diagram-open--fit) .case-carousel-next{top:12px}
}
/* Constraints carousel: a 4:3 tile like the other section tiles; the whole-image slide scales down to fit its height. */
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open:not(#_){flex:1 1 auto;align-self:flex-start;height:auto;aspect-ratio:4/3}
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open--fit:not(#_) > img{flex:1 1 auto;min-height:0;width:100%;height:auto;object-fit:contain}
/* Caption fade on the full-bleed clips: the tile colour easing out over ~100px (no blur), the same at rest and on hover. */
.case-media .case-carousel .catalog-diagram-open--clip:not(#_) .catalog-diagram-label,.case-media .case-carousel .catalog-diagram-open--clip:not(#_):hover .catalog-diagram-label,.case-media .case-carousel .catalog-diagram-open--clip:not(#_):focus-visible .catalog-diagram-label{padding-bottom:56px;background:linear-gradient(rgba(247,245,242,.96) 0%,rgba(247,245,242,.93) 30%,rgba(247,245,242,.82) 45%,rgba(247,245,242,.62) 58%,rgba(247,245,242,.38) 71%,rgba(247,245,242,.17) 84%,rgba(247,245,242,.05) 93%,rgba(247,245,242,0) 100%);-webkit-backdrop-filter:none;backdrop-filter:none;-webkit-mask-image:none;mask-image:none}
/* Outcomes: not a tile - a rule above it, then the content in line with the section text. */
.case-outcomes{padding:40px 0 0;border-radius:0;background:none;box-shadow:none;border-top:1px solid rgba(0,0,0,.1)}
@media(max-width:700px){.case-outcomes{padding:24px 0 0}}
/* Research carousel: the tile takes the prototype recording's own shape so the recording fills it edge to edge (with the
   caption fade); the mental model map slide scales to fit the same height. */
.case-section[aria-labelledby="tc-research-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open:not(#_){flex:1 1 auto;align-self:flex-start;height:auto;aspect-ratio:2174/1206}
.case-section[aria-labelledby="tc-research-label"] .case-media .case-carousel .catalog-diagram-open--fit:not(#_) > img{flex:1 1 auto;min-height:0;width:100%;height:auto;object-fit:contain}
/* Very wide windows: the content (home bands, project hero and sections) stops at 1280px and centres, so images and
   videos are never enlarged past their own pixels on Retina screens (the widest files, the hero videos and posters, are
   2560px). The header and footer stay full width; narrower windows are unchanged. */
@media(min-width:1361px){
  main.portfolio.home .home-band{padding-inline:max(40px,calc((100% - 1280px) / 2))}
  .project-page main.catalog-study{--project-gutter:max(40px,calc((100cqw - 1280px) / 2))}
}
/* Problem architecture diagrams: sit 12px higher in their tiles (8px on phones). They bleed off the bottom, so they're
   scaled up from the top by the same amount to keep reaching the bottom edge. */
.case-section[aria-labelledby="tc-problem-label"] .case-media .catalog-diagram-open img{transform:translateY(-12px) scale(1.0393);transform-origin:50% 0}
@media(max-width:700px){.case-section[aria-labelledby="tc-problem-label"] .case-media .catalog-diagram-open img{transform:translateY(-8px) scale(1.0293)}}
/* Outcomes: heading → launch line and each bold title → its text sit tight, like the Role / Years / Partners details. */
.case-outcomes .catalog-label{margin-bottom:0}
.case-outcomes-list h3{margin-bottom:0}
/* Full-bleed clips, final: no fade. The recording starts 24px under the caption (like every other tile) and bleeds off the
   sides and bottom. The bulk clip fills its 4:3 tile (cropping at the bottom); the prototype keeps its own shape, so its
   tile is caption space + the recording's height. */
.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){padding:68px 0 0}
.case-media .case-carousel .catalog-diagram-open--clip:not(#_) .catalog-diagram-label,.case-media .case-carousel .catalog-diagram-open--clip:not(#_):hover .catalog-diagram-label,.case-media .case-carousel .catalog-diagram-open--clip:not(#_):focus-visible .catalog-diagram-label{padding-bottom:0;background:none}
.case-media .case-carousel .catalog-diagram-open--clip:not(#_) > video.case-tile-video{position:static;inset:auto;width:100%;height:100%;object-fit:cover;object-position:center top}
.case-section[aria-labelledby="tc-research-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open:not(#_){aspect-ratio:auto;align-self:stretch}
.case-section[aria-labelledby="tc-research-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open--clip:not(#_){contain:none}
.case-section[aria-labelledby="tc-research-label"] .case-media .case-carousel .catalog-diagram-open--clip:not(#_) > video.case-tile-video{height:auto}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){padding-top:52px}}
/* Constraints carousel: like Research, the tile is the caption space plus the whole bulk clip (nothing cropped); the
   other slides take that height. */
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open:not(#_){aspect-ratio:auto;align-self:stretch}
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open--clip:not(#_){contain:none}
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open--clip:not(#_) > video.case-tile-video{height:auto}
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .case-slide > .catalog-diagram-open--fit:not(#_){contain:size}
/* Bulk ownership transfer clip: the tile's 24px padding on the left (16px on phones); it still bleeds off the right and
   bottom, and the tile's height is the caption space plus the whole clip. */
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){display:block;padding:68px 0 0 24px}
@media(max-width:700px){.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){padding:52px 0 0 16px}}
/* Stacked sections (tablet and phone): the text comes first, then its image. */
@media(max-width:1080px){.case-section .case-text{order:-1}}
/* ---------- Phones ---------- */
@media(max-width:700px){
  /* Header: name (larger) and Contact on one line; the two tabs below on a hairline that the current tab's underline sits
     on; "Selected work" lines up with the name. */
  .header-bar:not(#_){row-gap:14px}
  header .brand:not(#_){font-size:20px;line-height:28px;letter-spacing:1.4px}
  header nav:not(#_){width:100%;min-height:0;justify-content:flex-start;gap:24px;border-bottom:1px solid rgba(0,0,0,.12)}
  header nav .contact-dropdown:not(#_){position:absolute;top:0;right:0}
  header nav>a:not(.icon-link):not(#_){padding:0 0 10px;min-height:0;line-height:22px}
  header nav>a:not(.icon-link):not(#_)::before{content:none}
  header nav>a:not(.icon-link):not(#_)::after{left:0;right:0;bottom:-1px;height:1px}
  /* Selected work opener: the first (longest) line spans the full width; less space above and below it. */
  .home-hero:not(#_){min-height:0;padding:32px 24px 40px}
  .home-hero .home-hero-statement:not(#_){font-size:calc((100vw - 48px) / 11.45);line-height:1.2;letter-spacing:-.01em}
  /* Selected work tiles: the image runs to the tile edges; the caption keeps its padding. */
  main.portfolio.home .home-band .projects:not(#_){padding:0;overflow:hidden}
  main.portfolio.home .home-band .project .project-image:not(#_){border-radius:0}
  main.portfolio.home .home-band .project .project-caption:not(#_){padding:24px}
  /* Spinnaker / Resilience tiles: the Netflix logo stays on the title's line. */
  .home-split-head:not(#_){display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:16px}
  .home-split-head .home-split-title:not(#_){flex:1 1 auto;min-width:0;margin:0}
  /* Project details (Role, Years, Partners) stacked. */
  .catalog-heading--split .catalog-facts:not(#_){flex-direction:column;flex-wrap:nowrap;gap:16px}
  /* Password tile: as much space below as above the text (no stretching to the bottom of the screen). */
  .work-password-panel:not(#_){flex-grow:0;padding-top:40px;padding-bottom:40px}
  .work-access-page.is-typing main{padding-bottom:60vh}
  /* Experience: icon-only floating download button in the lower right; logos sit above their section text, which lines
     up with the header. */
  .resume-page .resume-toolbar:not(#_){height:0;margin:0;padding:0}
  .resume-page .resume-download:not(#_){position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;justify-content:center;width:56px;height:56px;min-height:0;padding:0;border:0;border-radius:50%;background:var(--background);box-shadow:0 1px 3px rgba(0,0,0,.12),0 4px 12px rgba(0,0,0,.12)}
  .resume-page .resume-download:not(#_) svg{width:24px;height:24px}
  .resume-page .resume-download:not(#_) .resume-download-label,.resume-page .resume-download:not(#_) .download-tooltip{display:none}
  .resume-page .resume-document:not(#_){padding-left:0}
  .resume-page .resume-document .document-company:not(#_){flex-wrap:wrap}
  .resume-page .resume-document .document-logo:not(#_){position:static;transform:none;flex:0 0 100%;object-fit:contain;object-position:left center;margin:0 0 8px}
  html.resume-loading .resume-page .resume-document .document-company:not(#_)::before{content:none}
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:700px){
  /* Image captions match the Role / Years / Partners text (16px on a 22px line). The spacing around them keeps the same
     16px rhythm: caption 16px down, image 16px below it; the carousel arrows stay centred on the caption line. */
  .case-media .catalog-diagram-open .catalog-diagram-label:not(#_){font-size:16px;line-height:22px}
  .case-media .catalog-diagram-open.catalog-diagram-open--fit:not(#_){padding-top:54px}
  .case-media .case-carousel:has(.catalog-diagram-open--fit) .catalog-diagram-open:not(.catalog-diagram-open--fit):not(#_){padding-top:54px}
  .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){padding-top:54px}
  .case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--clip:not(#_){padding:54px 0 0 16px}
  .case-media .case-carousel .case-carousel-prev:not(#_),.case-media .case-carousel .case-carousel-next:not(#_){top:11px}
  .case-media .case-carousel:has(.catalog-diagram-open--fit) .case-carousel-prev:not(#_),.case-media .case-carousel:has(.catalog-diagram-open--fit) .case-carousel-next:not(#_){top:13px}
  /* Section titles sit closer to their text. */
  .case-copy .catalog-label:not(#_){margin-bottom:12px}
  /* Previous / Next: just the arrow inside the outline. */
  .project-pagination .project-step:not(#_){width:32px;height:32px;padding:0;gap:0}
  .project-pagination .project-step:not(#_) > span{display:none}
  .project-pagination .project-step:not(#_) svg{transform:none}
}
@media(max-width:700px){
  /* Logo centred on the title's first line, also when the title wraps (title line 26px, logo chip 31px). */
  .home-split-head:not(#_){align-items:flex-start}
  .home-split-head .project-badges:not(#_){margin-top:-2.5px;flex:none}
}
@media(max-width:700px){
  /* Diagram / video viewer: a full-screen takeover instead of a floating modal. (The script sizes the dialog inline for
     larger screens, hence !important on the size.) */
  .diagram-modal:not(#_){inset:0;width:100vw !important;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;box-shadow:none;padding:54px 16px calc(16px + env(safe-area-inset-bottom,0px))}
  .diagram-modal[open]:not(#_){display:flex;flex-direction:column;justify-content:center}
  .diagram-modal--carousel:not(#_){padding-left:44px;padding-right:44px}
  .diagram-modal .diagram-modal-figure:not(#_){margin:0;min-height:0}
  .diagram-modal .diagram-modal-image:not(#_),.diagram-modal .diagram-modal-video:not(#_){max-height:calc(100dvh - 54px - 16px - 16px - env(safe-area-inset-bottom,0px));object-fit:contain}
  .diagram-modal--scroll .diagram-modal-figure:not(#_),.diagram-modal--fade .diagram-modal-figure:not(#_){max-height:calc(100dvh - 54px - 16px - env(safe-area-inset-bottom,0px))}
  .diagram-modal--scroll[open]:not(#_),.diagram-modal--fade[open]:not(#_){justify-content:flex-start}
  .diagram-modal--fade .diagram-modal-image:not(#_),.diagram-modal--scroll .diagram-modal-image:not(#_){max-height:none}
}
.contact-menu-symbol svg{display:block}
/* "Seattle, Washington" on larger screens, "Seattle, WA" on phones. */
.place-short{display:none}
@media(max-width:700px){
  .place-long{display:none}
  .place-short{display:inline}
  /* Tabs a little further below the name; their hairline runs edge to edge. */
  .header-bar:not(#_){row-gap:22px}
  header nav:not(#_){width:calc(100% + 48px);margin-inline:-24px;padding-inline:24px}
  /* Experience starts at the same height as the Selected work opener. */
  main.resume:not(#_){margin-top:25px}
  /* Selected work tiles: 16px padding, and the Netflix chip 16px below the image. */
  main.portfolio.home .home-band .project:not(#_){gap:0}
  main.portfolio.home .home-band .project .project-caption:not(#_){padding:16px}
  .home-split-head:not(#_){padding:16px 16px 0}
  /* Experience: company logos larger and centred above their section. */
  .resume-page .resume-document .document-logo:not(#_){height:32px;width:auto;object-position:center;margin:0 0 12px}
}
@media(max-width:700px){
  /* Phones: 16px side padding across the site (was 24px). */
  :root:not(#_){--detail-page-gutter:16px}
  .project-page:not(#_){--project-gutter:16px}
  header .brand:not(#_){font-size:24px;line-height:30px;letter-spacing:1.68px}
}
@media(max-width:700px){
  body>header:not(#_){padding-left:16px;padding-right:16px}
  header nav:not(#_){width:calc(100% + 32px);margin-inline:-16px;padding-inline:16px}
  .home-hero:not(#_){padding-left:16px;padding-right:16px}
  .home-hero .home-hero-statement:not(#_){font-size:calc((100vw - 32px) / 11.45)}
  main.portfolio.home .home-band:not(#_){padding-left:16px;padding-right:16px}
  main.portfolio.home.work-access .work-password-panel:not(#_){margin-left:16px;margin-right:16px}
  main.resume:not(#_){margin-left:16px;margin-right:16px}
}
@media(max-width:700px){main.portfolio.home.work-access .work-password-panel:not(#_){width:auto;max-width:none}}
@media(max-width:700px){
  /* Floating download button: the Contact button's 1px outline, plus a soft lift. */
  .resume-page .resume-download:not(#_){color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),0 2px 8px rgba(0,0,0,.10)}
}

/* ===== Site format v2 (landing scroll, tools, experience, project viewer) ===== */
:root{--g:40px;--line:rgba(0,0,0,.1);--sheet-ease:cubic-bezier(.32,.72,0,1)}
@media(max-width:700px){:root{--g:16px}}
/* Header: name on the left, Contact on the right, a full-width rule below. */
body>header:not(#_){padding:20px var(--g) 19px;border-bottom:1px solid var(--line);background:var(--background)}
body>header:not(#_)::before,body>header .header-bar:not(#_)::before{display:none}
body>header .header-bar:not(#_){flex-wrap:nowrap;row-gap:0}
body>header .brand:not(#_){width:auto}
body>header nav:not(#_){position:static;width:auto;margin:0;padding:0;border:0}
body>header nav .contact-dropdown:not(#_){position:relative;top:auto;right:auto}
@media(max-width:700px){body>header:not(#_){padding:16px var(--g) 15px}}
.sr-only:not(#_){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Landing */
main.landing{display:block;width:auto;max-width:none;margin:0;padding:0 0 120px}
.landing-hero{padding:132px var(--g) 124px}
.landing-statement .nowrap{white-space:nowrap}
.landing-statement{max-width:720px;margin:0;font:400 32px/40px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:-.01em;color:rgba(0,0,0,.9);text-wrap:balance}
@media(max-width:700px){.landing-hero{padding:64px var(--g) 60px}.landing-statement{font-size:24px;line-height:32px}}

/* Selected work: one row of media that scrolls sideways, titles below. */
.work-rail{--tile-w:calc((100vw - var(--g) - 24px) * 3 / 4);--tile-pad:24px;--media-h:calc((var(--tile-w) - 48px) * 10 / 16);position:relative}
.work-track{display:flex;gap:24px;margin:-6px 0;padding:6px var(--g);list-style:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-padding-inline:var(--g);scrollbar-width:none;cursor:grab}
.work-track::-webkit-scrollbar{display:none}
.work-track.is-dragging{cursor:grabbing;user-select:none}
.work-track.is-dragging .work-card{pointer-events:none}
.work-item{flex:none;scroll-snap-align:start}
.work-card{display:flex;align-items:center;justify-content:center;width:max-content;padding:var(--tile-pad);border-radius:4px;background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08);color:inherit;text-decoration:none}
.work-card:focus-visible{outline:none}
.work-card:focus-visible{outline:3px solid #4863ca;outline-offset:3px}
.work-media{position:relative;display:block;width:auto;height:var(--media-h);aspect-ratio:var(--ratio);overflow:hidden;border-radius:4px;background:rgba(225,223,221,.2);box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
.work-media::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 2px 4px rgba(0,0,0,.08);pointer-events:none}
.work-media video,.work-media img{display:block;width:100%;height:100%;object-fit:cover}
/* Hover: the tile sinks in a little further. */
.work-card{transition:background-color .25s ease,box-shadow .25s ease}
.work-card:hover{background:rgba(225,223,221,.34);box-shadow:inset 0 3px 8px rgba(0,0,0,.12),inset 0 1px 2px rgba(0,0,0,.06)}
.work-caption{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:16px;font:400 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.12px;text-transform:uppercase}
.work-caption:not(#_){font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:300;text-transform:uppercase;letter-spacing:.04em}
.work-title{color:rgba(0,0,0,.9)}
.work-org{display:inline-flex;align-items:baseline;gap:8px;flex:none;color:rgba(0,0,0,.54)}
.work-org img{align-self:center}
.work-org img{display:block;width:8.4px;height:14px;transform:translateY(-1px)}
@media(max-width:700px){
  .work-rail{--tile-w:calc(100vw - 2 * var(--g) - 20px)}
  .work-track{gap:12px;scroll-snap-type:x mandatory;cursor:auto}
  .work-caption{flex-direction:column;align-items:flex-start;gap:4px;margin-top:12px;font-size:14px;line-height:20px;letter-spacing:.98px}
}
@media(hover:none){.work-track{scroll-snap-type:x mandatory;cursor:auto}}

/* Section labels: a small square, then the name in the site's label style. */
.landing-section{padding:120px var(--g) 0}
.landing-label{display:flex;align-items:center;gap:12px;margin:0 0 32px;font:900 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.12px;text-transform:uppercase;color:rgba(0,0,0,.7)}
@media(max-width:700px){.landing-section{padding-top:80px}.landing-label{margin-bottom:24px}}

/* Tools */
.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;border-radius:4px;background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
.tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:clamp(140px,12vw,180px)}
.tool+.tool{border-left:1px solid var(--background)}
.tool-logo{display:block;width:36px;height:36px;color:rgba(0,0,0,.9)}
.tool-name{font-size:13px;line-height:18px;color:rgba(0,0,0,.6)}
@media(max-width:700px){.tool{height:104px;gap:8px}.tool-logo{width:28px;height:28px}.tool-name{font-size:12px;line-height:16px}}

/* Experience: the résumé (same markup as resume.html, kept identical by tests/access.test.mjs), laid out as on the résumé page: the same centered
   column, with its Download button above. The résumé page's own rules apply through the resume-page class. */
.resume-embed{width:min(100%,676.8pt);margin:0 auto}
.resume-embed .resume-toolbar:not(#_){position:static;display:flex;height:auto;margin:0 0 40px -.6pt;padding:0;z-index:auto}
.resume-embed .resume-download:not(#_){position:static;display:inline-flex;align-items:center;gap:4.62px;width:auto;height:auto;min-height:0;padding:3.62px 6.29px 2.29px 6px;border:0;border-radius:var(--radius);background:transparent;color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);font:400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:.56px;text-decoration:none;transition:color .15s ease,box-shadow .15s ease}
.resume-embed .resume-download:not(#_):hover,.resume-embed .resume-download:not(#_):focus-visible{color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
.resume-embed .resume-download:not(#_) svg{display:block;flex:none;width:16px;height:16px;transform:translateY(-.66px)}
.resume-embed .resume-download:not(#_) .resume-download-label:not(#_){display:block}
@media(max-width:700px){.resume-embed .resume-toolbar:not(#_){margin-bottom:24px}}

/* Project viewer on the landing page: a full-page sheet slides up over the page, holding the project page. */
html.sheet-active{overflow:hidden}
.sheet-layer{position:fixed;inset:0;z-index:1000}
.sheet-scrim{position:absolute;inset:0;background:rgba(0,0,0,.2);opacity:0;transition:opacity .5s var(--sheet-ease)}
.sheet-in .sheet-scrim{opacity:1}
.sheet-panel{position:absolute;inset:0;overflow:hidden;background:var(--background);box-shadow:0 -8px 40px rgba(0,0,0,.16);transform:translateY(100%);transition:transform .5s var(--sheet-ease)}
.sheet-in .sheet-panel{transform:none}
html.sheet-closing .sheet-scrim,html.sheet-closing .sheet-panel{transition-duration:.36s;transition-timing-function:cubic-bezier(.4,0,.6,1)}
.sheet-panel iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;opacity:0;transition:opacity .2s ease}
.sheet-panel.is-loaded iframe{opacity:1}
.sheet-panel.is-loaded .sheet-placeholder{visibility:hidden}
@media(prefers-reduced-motion:reduce){.sheet-panel{transition:none}.sheet-scrim{transition-duration:.2s}}

/* Project pages: a title bar (current section, Back) replaces the site header. */
.sheet-bar{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px;padding:0 var(--g);border-bottom:1px solid var(--line);background:var(--background)}
.sheet-placeholder{position:absolute;top:0;left:0;right:0}
.sheet-title{display:flex;align-items:center;gap:12px;min-width:0;margin:0;font:900 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.12px;text-transform:uppercase;color:rgba(0,0,0,.7)}
.sheet-title-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sheet-back{display:inline-flex;align-items:center;gap:4px;flex:none;padding:3.62px 8px 2.29px 6px;border:0;border-radius:var(--radius);background:transparent;font:400 16px/22px Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);text-decoration:none;cursor:pointer;transition:color .15s ease,box-shadow .15s ease}
.sheet-back:hover,.sheet-back:focus-visible{color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
.sheet-back svg{display:block;flex:none;transform:translateY(-.66px)}
@media(max-width:700px){.sheet-bar{height:56px}.sheet-title{font-size:14px;line-height:20px;letter-spacing:.98px;gap:10px}}
/* Section names live in the title bar, so they are hidden in the content (screen readers still get them). */
.project-page .case-copy .catalog-label:not(#_),.project-page .case-outcomes>.catalog-label:not(#_),.project-page .case-outcomes .catalog-label:not(#_){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Experience: the Download icon sits next to the section title, no outline. */
.experience-head{display:flex;align-items:center;gap:8px;margin:0 0 32px}
.experience-head .landing-label{margin:0}
.experience-download{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius);color:rgba(0,0,0,.7);transition:color .15s ease,background-color .15s ease}
.experience-download:hover,.experience-download:focus-visible{color:rgba(0,0,0,.9);background:rgba(0,0,0,.05)}
.experience-download svg{display:block;transform:translateY(-1px)}
@media(max-width:700px){.experience-head{margin-bottom:24px}}

/* Landing opener: Tiempos Text (Klim, web license). */

.landing-statement:not(#_){font-family:'Tiempos Text',Georgia,'Times New Roman',serif;letter-spacing:-.005em}

/* Project title bar: the project's name, small, in the middle of the bar. On phones there's no room, so the title
   stays in the page instead. */
.sheet-project{position:absolute;top:50%;left:50%;max-width:calc(100% - 2 * 260px);margin:0;overflow:hidden;transform:translate(-50%,-50%);font:400 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;color:rgba(0,0,0,.9);white-space:nowrap;text-overflow:ellipsis;pointer-events:none}
@media(min-width:701px){
  .project-page .catalog-heading--split h1:not(#_){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .project-page .catalog-study--wide .catalog-heading--split:not(#_){display:block}
  .project-page .catalog-heading--split .catalog-intro:not(#_){max-width:687px}
}
@media(max-width:700px){.sheet-project{display:none}}
/* Back: text only. */
.sheet-back svg:not(#_){display:none}
.sheet-back:not(#_){padding-left:8px;padding-right:8px}
.sheet-back:not(#_),.sheet-back:not(#_):hover,.sheet-back:not(#_):focus-visible{text-decoration:none}
/* The company logo before the project name in the title bar. */
.sheet-project:not(#_){display:flex;align-items:center;gap:8px}
.sheet-project-logo{display:block;flex:none;width:8.4px;height:14px;transform:translateY(-1px)}
/* Technical Catalog architecture diagrams: 8px between the two tiles. */
.case-media--pair:not(#_){gap:8px}

/* Work tile captions: Space Grotesk Regular (SIL Open Font License). */

.work-caption.work-caption:not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400}

/* Project pages: the opening paragraph in Tiempos Text at the landing opener's size. */
.project-page .catalog-heading--split .catalog-intro p:not(#_){font:400 32px/40px 'Tiempos Text',Georgia,'Times New Roman',serif;letter-spacing:-.005em;color:rgba(0,0,0,.9)}
@media(max-width:700px){.project-page .catalog-heading--split .catalog-intro p:not(#_){font-size:24px;line-height:32px}}
.project-page .catalog-heading--split .catalog-intro:not(#_){max-width:720px}

/* Role / Years / Partners: rows under the hero video, label left and value at the middle, a rule between rows. */
.project-page .catalog-facts--rows:not(#_){display:block;margin:40px 0 0;padding:0;border-top:1px solid var(--line);font:400 16px/24px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif}
.project-page .catalog-facts--rows>div:not(#_){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px;padding:24px 0;border-bottom:1px solid var(--line)}
.project-page .catalog-facts--rows dt:not(#_){margin:0;font-weight:500;color:rgba(0,0,0,.9)}
.project-page .catalog-facts--rows dd:not(#_){margin:0;color:rgba(0,0,0,.6)}
@media(max-width:700px){.project-page .catalog-facts--rows:not(#_){margin-top:24px}.project-page .catalog-facts--rows>div:not(#_){padding:16px 0;column-gap:16px}}
/* Tools: an outline with dividers instead of a filled tile. */
.tools-grid:not(#_){background:none;box-shadow:none;border:1px solid var(--line)}
.tools-grid .tool+.tool:not(#_){border-left:1px solid var(--line)}
/* Tools: names are read out but not shown; hovering a logo puts its name in the section title. */
.tools-grid .tool-name:not(#_){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tools-label-text{display:inline-block}
/* Opening paragraphs: the landing opener's size for short ones (Technical Catalog); longer ones a step smaller. */
.project-page .catalog-heading--split .catalog-intro p:not(#_){font-size:24px;line-height:32px}
.project-page .catalog-heading--split .catalog-intro p.intro-statement:not(#_){font-size:32px;line-height:40px}
@media(max-width:700px){.project-page .catalog-heading--split .catalog-intro p.intro-statement:not(#_){font-size:24px;line-height:32px}}
/* Tools: the colored logo on hover. */
.tool-logo--color{display:none}
.tool:hover .tool-logo--mono{display:none}
.tool:hover .tool-logo--color{display:block}
/* Netflix logo centered on the capital letters of the caption (Space Grotesk: 1px up at 16px, none at 14px). */
.work-org img:not(#_){align-self:center;transform:translateY(-1px)}
@media(max-width:700px){.work-org img:not(#_){transform:none}}
/* Tools and Experience titles: Space Grotesk Regular in caps, like the work captions. */
.landing-label:not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:.04em}
/* Netflix logo: centered in the caption's line, which in Space Grotesk is also the middle of the capitals
   (its ascent and descent put the cap-height center within 0.004em of the line center), in any browser. */
.work-org:not(#_){align-items:center}
.work-org img:not(#_){align-self:center;transform:none}
/* Experience download: the icon's visible edge 8px from the title. */
.experience-head:not(#_){gap:0}
.experience-download:not(#_){width:auto;height:auto;padding:4px;margin-left:calc(8px - 4px - 16px * 4 / 24)}
@media(min-width:701px){.work-org img:not(#_){transform:translateY(-.6px)}}
/* Contact menu: the page color instead of white. */
.contact-menu:not(#_){background:var(--background)}
/* Experience: the résumé in its original layout, in a tile centered on the page. */
.landing-experience .resume-embed:not(#_){box-sizing:border-box;width:min(100%,calc(676.8pt + 2 * 56px));margin:0 auto;padding:56px;border-radius:4px;background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
@media(max-width:700px){.landing-experience .resume-embed:not(#_){padding:24px 16px}}
/* Experience tile: the full content width, left aligned (the résumé keeps its own line length inside). */
.landing-experience .resume-embed.resume-embed:not(#_){width:100%;margin:0}
/* Project facts: values listed one per line. */
.catalog-facts--rows .fact-line{display:block}
/* Project sections: images take well over half the width (about 63%), text beside them. */
@media(min-width:1081px){.project-page .case-section:not(#_){grid-template-columns:minmax(0,37fr) minmax(0,63fr)}}
/* Role / Years / Partners in Space Grotesk: labels in the caption gray (54%), values black 90%. */
.project-page .catalog-facts--rows:not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif}
.project-page .catalog-facts--rows dt:not(#_){font-weight:400;color:rgba(0,0,0,.54)}
.project-page .catalog-facts--rows dd:not(#_){color:rgba(0,0,0,.9)}
/* Experience: no tile; a rule between the title and the résumé. */
.landing-experience .resume-embed.resume-embed:not(#_){padding:32px 0 0;border-top:1px solid var(--line);border-radius:0;background:none;box-shadow:none}
@media(max-width:700px){.landing-experience .resume-embed.resume-embed:not(#_){padding-top:24px}}

/* Experience résumé on the landing page: Space Grotesk, except the company and section titles; job titles, roles
   and dates stay in their written title case and bullets in sentence case (no caps transform). Lines wrap naturally (the PDF's line breaks fit Avenir, not this). */


.landing-experience .resume-document:not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif}
.landing-experience .resume-document .document-line:not(#_){display:inline}
.landing-experience .resume-document h3 strong:not(#_){font-weight:700}
.landing-experience .resume-document .document-entry h3 strong:not(#_){font-weight:500}
.landing-experience .resume-document :is(h3 strong,.document-meta,li):not(#_){text-transform:none}
.landing-experience .resume-document :is(.document-company .document-meta,.document-job h3 .document-meta):not(#_){text-transform:capitalize}
.landing-experience .resume-document :is(.document-company strong,.document-additional>h2):not(#_){font-family:Avenir,'Avenir Next',Arial,sans-serif}
/* Experience résumé: project titles in all caps (tracked like the other Space Grotesk caps). */
.landing-experience .resume-document .document-job h3 strong:not(#_){text-transform:uppercase;letter-spacing:.04em}
/* Experience download icon: 70% black, 90% on hover or focus, no background. */
.experience-download:not(#_){color:rgba(0,0,0,.7);background:none}
.experience-download:is(:hover,:focus-visible):not(#_){color:rgba(0,0,0,.9);background:none;text-decoration:none}
/* Experience résumé: project titles in regular weight. */
.landing-experience .resume-document .document-job h3 strong:not(#_){font-weight:400}
/* Experience résumé: company dates in caps ("2022 – PRESENT"). */
.landing-experience .resume-document .document-company .document-meta.document-meta:not(#_){text-transform:uppercase;letter-spacing:.04em}
/* Project facts: labels dark (90%), values light (54%, like the company names under the landing images). */
.project-page .catalog-facts--rows dt:not(#_):not(#_){color:rgba(0,0,0,.9)}
.project-page .catalog-facts--rows dd:not(#_):not(#_){color:rgba(0,0,0,.54)}
/* Experience résumé: the all-caps project titles at 14px so they read the same size as the 16px bullets (caps look larger). */
.landing-experience .resume-document .document-job h3 strong:not(#_):not(#_){font-size:14px}
/* Experience résumé: role titles in caps too, sized and tracked like the project titles. */
.landing-experience .resume-document .document-job h3 .document-meta:not(#_):not(#_){text-transform:uppercase;font-size:14px;letter-spacing:.04em}
.landing-experience .resume-document .document-job h3 .document-meta:not(#_):not(#_){color:rgba(0,0,0,.54)}
.landing-experience .resume-document .document-job h3 strong:not(#_):not(#_){color:rgba(0,0,0,.9)}
/* Experience résumé: bullets in the same light gray as the role titles. */
.landing-experience .resume-document .document-job li:not(#_):not(#_){color:rgba(0,0,0,.54)}
/* Experience résumé: "Sole designer…" note in italics; bullets in Tiempos Text. */
.landing-experience .resume-document .document-note:not(#_):not(#_){font-style:italic;font-synthesis:style;color:rgba(0,0,0,.54)}
.landing-experience .resume-document .document-job li:not(#_):not(#_){font-family:'Tiempos Text',Georgia,'Times New Roman',serif}
/* Experience résumé: project titles in Space Grotesk Medium. */
.landing-experience .resume-document .document-job h3 strong:not(#_):not(#_){font-weight:500}
/* Tools: the box is inset from the page edges (label aligned with it) and each tool is a square. */
@media(min-width:701px){.landing-tools.landing-section:not(#_){padding-left:max(calc(var(--g) + 6vw),calc((100% - 1120px) / 2));padding-right:max(calc(var(--g) + 6vw),calc((100% - 1120px) / 2))}}
.tools-grid .tool:not(#_){height:auto;aspect-ratio:1}
@media(min-width:701px){.tools-grid .tool-logo:not(#_){width:clamp(36px,4vw,56px);height:clamp(36px,4vw,56px)}}
/* Experience: same inset width as Tools. */
@media(min-width:701px){.landing-experience.landing-section:not(#_){padding-left:max(calc(var(--g) + 6vw),calc((100% - 1120px) / 2));padding-right:max(calc(var(--g) + 6vw),calc((100% - 1120px) / 2))}}
/* Project sections: a "FIG. N" tag (outlined) and title above the text; side by side, the text sits at the bottom of the image. */
.case-copy .case-fig:not(#_){display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;font:400 14px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.case-copy .case-fig-num:not(#_){padding:2px 6px;border:1px solid rgba(0,0,0,.15);border-radius:2px;color:rgba(0,0,0,.54)}
.case-copy .case-fig-title:not(#_){color:rgba(0,0,0,.7)}
.case-copy .case-fig+*:not(#_){margin-top:16px}
@media(min-width:1081px){.project-page .case-section .case-copy:not(#_){margin:auto 0 0}}
/* Experience résumé: full width so the dates sit at the right end of the border above; the text keeps its measure. */
.landing-experience .resume-document.resume-document:not(#_){width:100%}
.landing-experience .resume-document :is(.document-note,.document-job ul,.document-entry>p):not(#_){max-width:872px}
.landing-experience .resume-document :is(.document-company,.document-entry h3)>.document-meta:not(#_):not(#_){margin-left:auto;text-align:right}
/* Experience résumé: 8px from the company logos' visible edge to the company name; dates in Tiempos Text. */
@media(min-width:701px){
  .landing-experience .resume-document .document-logo-netflix:not(#_){left:calc(-8px - 10.95743pt * var(--resume-scale) * 505 / 527)}
  .landing-experience .resume-document .document-logo-microsoft:not(#_){left:calc(-8px - 9pt * var(--resume-scale))}
}
.landing-experience .resume-document :is(.document-company,.document-entry h3)>.document-meta:not(#_):not(#_){font-family:'Tiempos Text',Georgia,'Times New Roman',serif}
/* Experience résumé: earlier-experience and school names in caps like the project titles; dates in the bullets' gray,
   lowercase "present" as written. */
.landing-experience .resume-document .document-entry h3 strong:not(#_):not(#_){font-size:14px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.9)}
.landing-experience .resume-document :is(.document-company,.document-entry h3)>.document-meta:not(#_):not(#_):not(#_){text-transform:none;letter-spacing:normal;color:rgba(0,0,0,.54)}
/* Experience résumé on the landing and password pages: no "Sole designer…" note (it stays in the PDF and résumé page). */
.landing-experience .resume-document .document-note:not(#_):not(#_){display:none}
/* Experience résumé: more room between titles and bullets, and between sections. */
.landing-experience .resume-document .document-job h3:not(#_):not(#_){margin-bottom:0}
.landing-experience .resume-document .document-job ul:not(#_):not(#_){margin-top:12px}
.landing-experience .resume-document .document-job:not(#_):not(#_){margin-top:28px}
.landing-experience .resume-document .document-company+.document-job:not(#_):not(#_){margin-top:20px}
.landing-experience .resume-document :is(.resume-employer+.resume-employer,.resume-employer+.document-additional,.document-additional+.document-additional):not(#_):not(#_){margin-top:64px}
.landing-experience .resume-document .document-entry:not(#_):not(#_){margin-top:24px}
.landing-experience .resume-document .document-additional>h2+.document-entry:not(#_):not(#_){margin-top:20px}
/* Experience résumé: everything starts at the Experience title's left edge. The logos sit inline before the company
   names (8px gap, measured from the N's visible edge) instead of hanging in the margin. */
.landing-experience .resume-document.resume-document:not(#_){padding-left:0}
.landing-experience .resume-document .document-company:not(#_):not(#_){column-gap:8px;flex-wrap:nowrap}
.landing-experience .resume-document .document-company .document-logo:not(#_):not(#_){position:static;display:block;flex:none;align-self:center;margin:0;transform:none}
.landing-experience .resume-document .document-company .document-logo-netflix:not(#_):not(#_){margin-left:calc(-10.95743pt * var(--resume-scale) * 204 / 527);margin-right:calc(-10.95743pt * var(--resume-scale) * 22 / 527)}
.landing-experience .resume-document .document-company .document-logo-netflix:not(#_):not(#_){width:17.53px;height:17.53px;margin-left:calc(-17.53px * 204 / 527);margin-right:calc(-17.53px * 22 / 527)}
.landing-experience .resume-document .document-company .document-logo-microsoft:not(#_):not(#_){width:14.4px;height:14.4px}
/* Site footer (landing and password pages): same height as the header, with a border; email on the left, LinkedIn on
   the right. Hovering either underlines the link and shows a copy button beside it. */
footer.site-footer:not(#_){display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;width:100%;min-height:78px;margin-top:auto;padding:0 var(--g);border-top:1px solid var(--line);font:400 16px/22px 'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:0;color:rgba(0,0,0,.7)}
.landing-experience+.site-footer,main+.site-footer:not(#_){margin-top:120px}
.site-footer .site-footer-item:not(#_){position:relative;display:flex;align-items:center;gap:4px;min-width:0}
.site-footer .site-footer-link:not(#_){display:flex;align-items:center;gap:8px;line-height:22px;color:inherit;text-decoration:none}
.site-footer .site-footer-icon:not(#_){display:block;flex:none;width:16px;height:16px}
.site-footer .site-footer-item:is(:hover,:focus-within) .site-footer-link:not(#_){color:rgba(0,0,0,.9);text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-copy:not(#_){position:relative;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:4px;background:none;color:rgba(0,0,0,.7);cursor:pointer;opacity:0;transition:opacity .15s ease,color .15s ease}
.site-footer .site-footer-item:is(:hover,:focus-within) .footer-copy:not(#_){opacity:1}
.site-footer .footer-copy:hover:not(#_){color:rgba(0,0,0,.9)}
.site-footer .footer-copy:focus-visible{outline:2px solid #375adb;outline-offset:2px}
.site-footer .footer-copy .copy-tooltip{opacity:0;visibility:hidden}
.site-footer .footer-copy:is(:hover,:focus-visible,.is-copied) .copy-tooltip{opacity:1;visibility:visible}
@media(max-width:700px){footer.site-footer:not(#_){min-height:62px}.landing-experience+.site-footer,main+.site-footer:not(#_){margin-top:80px}}
/* Phones and touch screens have no hover: the links stay plain and the copy buttons are left out. */
@media(hover:none){.site-footer .footer-copy:not(#_){display:none}}
/* The copy buttons sit just outside each link (right of the email, left of LinkedIn) so both stay flush with the edges. */
.site-footer .site-footer-item:not(#_){flex-direction:row}
.site-footer .footer-copy:not(#_){position:absolute;top:50%;margin-top:-12px}
.site-footer .site-footer-item:first-child .footer-copy:not(#_){left:calc(100% + 4px)}
.site-footer .site-footer-item:nth-child(2) .footer-copy:not(#_){right:calc(100% + 4px)}
/* Project facts in caps (14px, tracked like the site's other Space Grotesk caps). */
.project-page .catalog-facts--rows:not(#_):not(#_){font-size:14px;letter-spacing:.04em;text-transform:uppercase}
/* Project sections: the FIG. tag and title go under the text, so beside the image they sit on its bottom edge. */
.case-section .case-copy:not(#_){display:flex;flex-direction:column}
.case-copy .case-fig:not(#_){order:1;margin-top:24px}
.case-copy .case-fig+*:not(#_){margin-top:0}
/* Project section text in Tiempos Text (24px line height suits the serif better than Avenir's 22px). */
.case-copy :is(p:not(.case-fig),.case-list):not(#_):not(#_){font-family:'Tiempos Text',Georgia,'Times New Roman',serif;line-height:24px}
/* FIG. tag: a tighter box; tag and title both in the landing page's light company-name gray; the border is the same
   15% black ring as the Back and Contact buttons. */
.case-copy .case-fig:not(#_):not(#_){gap:8px 12px}
.case-copy .case-fig-num:not(#_):not(#_){padding:1px 4px;line-height:16px;border:1px solid rgba(0,0,0,.15);border-radius:1px;color:rgba(0,0,0,.54)}
.case-copy .case-fig-title:not(#_):not(#_){color:rgba(0,0,0,.54)}
/* Project section text larger (24px/32px; 20px/28px on phones), close to the reference's text-to-FIG. ratio. */
.case-copy :is(p:not(.case-fig),.case-list):not(#_):not(#_){font-size:24px;line-height:32px}
.case-copy p:not(.case-fig)+p:not(#_):not(#_){margin-top:24px}
@media(max-width:700px){.case-copy :is(p:not(.case-fig),.case-list):not(#_):not(#_){font-size:20px;line-height:28px}.case-copy p:not(.case-fig)+p:not(#_):not(#_){margin-top:20px}}
/* One border gray (#808080 at 20%) for every divider line, button outline, the password field and the FIG. tag. Hover
   and focus outlines on buttons stay darker. */
:root:not(#_){--line:rgba(128,128,128,.2)}
header nav .contact-trigger:not([aria-expanded="true"]):not(:hover):not(:focus-visible):not(#_):not(#_),
:is(.sheet-back,.project-pagination .project-step):not(:hover):not(:focus-visible):not(#_):not(#_){box-shadow:inset 0 0 0 1px var(--line)}
.work-password-form input:not(:hover):not(:focus):not(#_):not(#_){box-shadow:inset 0 0 0 1px var(--line)}
:is(.diagram-modal-prev,.diagram-modal-next):not(#_):not(#_){box-shadow:0 1px 2px rgba(0,0,0,.08),inset 0 0 0 1px var(--line)}
.case-copy .case-fig-num:not(#_):not(#_):not(#_){border-color:var(--line)}
.project-page .case-outcomes:not(#_):not(#_){border-color:var(--line)}
/* Project pages: more space between sections (180px; 100px on phones). A wide image that continues a section keeps
   its closer spacing. */
.project-page .case-section:has(~ .case-section):not(:has(+ .case-wide)):not(#_):not(#_){margin-bottom:180px}
.project-page .case-wide+.case-section:not(#_):not(#_),.project-page .case-outcomes:not(#_):not(#_){margin-top:180px}
@media(max-width:700px){
  .project-page .case-section:has(~ .case-section):not(:has(+ .case-wide)):not(#_):not(#_){margin-bottom:100px}
  .project-page .case-wide+.case-section:not(#_):not(#_),.project-page .case-outcomes:not(#_):not(#_){margin-top:100px}
}
/* Tiles carry no captions; the FIG. tag beside (or under) each image names it instead. */
.case-media .catalog-diagram-label:not(#_):not(#_){display:none}
/* FIG. tag under a wide image, styled like the section tags. */
.case-wide .case-fig:not(#_):not(#_){display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:16px 0 0;font:400 14px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.case-wide .case-fig-num:not(#_):not(#_){padding:1px 4px;line-height:16px;border:1px solid var(--line);border-radius:1px;color:rgba(0,0,0,.54)}
.case-wide .case-fig-title:not(#_):not(#_){color:rgba(0,0,0,.54)}
/* A wide image with no carousel arrows needs no top band now that its caption is gone. */
.case-media.case-wide>.catalog-diagram>.catalog-diagram-open:not(#_):not(#_){padding-top:24px}
@media(max-width:700px){.case-media.case-wide>.catalog-diagram>.catalog-diagram-open:not(#_):not(#_){padding-top:8px}}
/* Technical Catalog architecture carousel: the whole diagram fits in a 4:3 tile, like the tables beside it. */
.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open:not(#_):not(#_){display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;padding:56px 24px 24px}
.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open img:not(#_):not(#_){width:100%;height:100%;max-height:none;object-fit:contain;object-position:50% 50%}
@media(max-width:700px){.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open:not(#_):not(#_){padding:48px 8px 8px}}
.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open:not(#_):not(#_):not(#_){aspect-ratio:16/10}
/* Footer email icon: drawn to fill its box (18 × 15) so it carries the same weight as the solid LinkedIn mark. */
.site-footer .site-footer-icon--email:not(#_):not(#_){width:18px;height:15px}
/* The transfer journey opens the Exploration section: a full section gap above it, a shorter one before the text. */
.project-page .case-wide[data-sheet-section]:not(#_):not(#_){margin-top:180px}
.project-page .case-wide[data-sheet-section]+.case-section:not(#_):not(#_){margin-top:80px}
@media(max-width:700px){.project-page .case-wide[data-sheet-section]:not(#_):not(#_){margin-top:100px}.project-page .case-wide[data-sheet-section]+.case-section:not(#_):not(#_){margin-top:48px}}
/* A one-image carousel has no taller neighbour to set its height: give the tile the 4:3 shape of the others. */
.case-carousel:not(:has(.case-slide+.case-slide)) .catalog-diagram-open--fit:not(#_):not(#_){aspect-ratio:4/3}
/* FIG. tag under a wide image: centered. */
.case-wide .case-fig:not(#_):not(#_){justify-content:center}
/* Carousel arrows: centered on the tile's sides, filled so they read over an image. */
.case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):not(#_):not(#_){top:50%;margin-top:-16px;background:rgba(250,248,244,.92);box-shadow:inset 0 0 0 1px var(--line)}
.case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):hover:not(:disabled):not(#_):not(#_){background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
@media(max-width:700px){.case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):not(#_):not(#_){margin-top:-14px}}
/* With the arrows on the sides and no captions, tiles lose their top band. Fitted images get side room for the arrows
   when there is more than one. */
.case-media .catalog-diagram-open--fit:not(#_):not(#_){padding:24px}
.case-media .case-carousel:has(.case-slide+.case-slide) .catalog-diagram-open--fit:not(#_):not(#_){padding:24px 56px}
.case-media .case-carousel .catalog-diagram-open:is(.catalog-diagram-open--clip,.catalog-diagram-open--bleed):not(#_):not(#_){padding-top:40px}
@media(max-width:700px){
  .case-media .catalog-diagram-open--fit:not(#_):not(#_),.case-media .case-carousel:has(.case-slide+.case-slide) .catalog-diagram-open--fit:not(#_):not(#_){padding:8px}
  .case-media .case-carousel .catalog-diagram-open:is(.catalog-diagram-open--clip,.catalog-diagram-open--bleed):not(#_):not(#_){padding-top:24px}
}
/* Modal titles: the FIG. tag and caption, in Space Grotesk caps like the page. The confidentiality note is Tiempos. */
.diagram-modal .diagram-modal-heading:not(#_):not(#_){display:flex;align-items:center;gap:12px;font:400 14px/22px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.54)}
.diagram-modal .diagram-modal-fig:not(#_){flex:none;padding:1px 4px;line-height:16px;border:1px solid var(--line);border-radius:1px}
.diagram-modal .diagram-modal-heading-note:not(#_){font-weight:400}
.diagram-modal .diagram-modal-note:not(#_):not(#_){font-family:'Tiempos Text',Georgia,'Times New Roman',serif;font-style:normal}
/* Technical Catalog architecture tiles: zoomed in on the part that isn't blurred (centered, from its top), the rest
   running off the sides and bottom. Widths and offsets come from where the sharp area sits in each full diagram. */
.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open:not(#_):not(#_):not(#_){position:relative;display:block;overflow:hidden;padding:0}
.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open img:not(#_):not(#_):not(#_){position:absolute;top:40px;max-width:none;height:auto;object-fit:fill}
.case-section[aria-labelledby="tc-problem-label"] .catalog-diagram-open[data-full$="original-full.webp"] img:not(#_):not(#_):not(#_){width:190%;left:-19.3%;margin-top:-3.4%}
.case-section[aria-labelledby="tc-problem-label"] .catalog-diagram-open[data-full$="unified-full.webp"] img:not(#_):not(#_):not(#_){width:238.3%;left:-53.7%;margin-top:-3.9%}
@media(max-width:700px){.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open img:not(#_):not(#_):not(#_){top:24px}}
/* Outcomes: an outlined box with dividers (like Tools on the landing page). Each cell has its text in Tiempos on top
   and its label in Space Grotesk caps at the bottom. */
.project-page .case-outcomes:not(#_):not(#_):not(#_){padding:0;border-top:0}
.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_){font:400 24px/32px 'Tiempos Text',Georgia,'Times New Roman',serif;color:rgb(93,90,88)}
.project-page .case-outcomes-list:not(#_):not(#_){grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:32px 0 0;border:1px solid var(--line)}
.project-page .case-outcomes-list>li:not(#_):not(#_){display:flex;flex-direction:column;min-height:240px;padding:32px}
.project-page .case-outcomes-list>li+li:not(#_):not(#_){border-left:1px solid var(--line)}
.project-page .case-outcomes-list>li p:not(#_):not(#_){order:0;font:400 20px/28px 'Tiempos Text',Georgia,'Times New Roman',serif;color:rgba(0,0,0,.8)}
.project-page .case-outcomes-list>li h3:not(#_):not(#_){order:1;margin:auto 0 0;padding-top:40px;font:400 14px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.54)}
@media(max-width:900px){
  .project-page .case-outcomes-list:not(#_):not(#_){grid-template-columns:minmax(0,1fr)}
  .project-page .case-outcomes-list>li:not(#_):not(#_){min-height:0;padding:24px}
  .project-page .case-outcomes-list>li+li:not(#_):not(#_){border-left:0;border-top:1px solid var(--line)}
  .project-page .case-outcomes-list>li h3:not(#_):not(#_){padding-top:24px}
}
@media(max-width:700px){.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_){font-size:20px;line-height:28px}.project-page .case-outcomes-list>li p:not(#_):not(#_){font-size:18px;line-height:26px}}
/* Fitted images sit in the middle of their tile (a shorter image no longer clings to the top). */
.case-media .catalog-diagram-open--fit img:not(#_):not(#_){object-position:50% 50%}
/* Architecture tiles, refined: the whole sharp (unblurred) part of each diagram in view, sized in proportion to the
   tile (5% top, 3% bottom and sides), with the blurred rest running off the edges. */
.case-section[aria-labelledby="tc-problem-label"] .case-slide .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_){top:0}
.case-section[aria-labelledby="tc-problem-label"] .catalog-diagram-open[data-full$="original-full.webp"] img:not(#_):not(#_):not(#_):not(#_){width:147.3%;left:-2.9%;margin-top:3.95%}
.case-section[aria-labelledby="tc-problem-label"] .catalog-diagram-open[data-full$="unified-full.webp"] img:not(#_):not(#_):not(#_):not(#_){width:164.4%;left:-9.4%;margin-top:3.89%}
/* Carousel and modal arrows: rounded squares like the Back, Previous/Next and Contact buttons. */
.case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):not(#_):not(#_),:is(.diagram-modal-prev,.diagram-modal-next):not(#_):not(#_){border-radius:var(--radius)}
/* Outcomes: the box first, the summary paragraph under it. */
.project-page .case-outcomes-list:not(#_):not(#_):not(#_){margin-top:0}
.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_):not(#_){margin:32px 0 0;max-width:900px}
/* Project footer note ("Full case study available upon request") in Space Grotesk caps. */
.project-page footer#contact .project-highlights:not(#_):not(#_){font:400 14px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.54)}
/* One corner radius (the Tools box's 4px) for buttons, fields, menus, tooltips, image tiles, boxes and the viewer. */
:root:not(#_){--radius:4px}
:is(.contact-trigger,.contact-menu,.contact-copy,.copy-tooltip,.experience-download,.sheet-back,.project-step,.case-carousel-prev,.case-carousel-next,.diagram-modal-close,.diagram-modal-prev,.diagram-modal-next,.tile-tooltip,.footer-copy):not(#_):not(#_):not(#_){border-radius:4px}
.work-password-form input:not(#_):not(#_),.work-password-form button:not(#_):not(#_){border-radius:4px}
.case-media :is(.case-carousel,.catalog-diagram-open,.case-tile,.catalog-diagram):not(#_):not(#_):not(#_),.catalog-video :is(video,img):not(#_):not(#_){border-radius:4px}
.diagram-modal:not(#_):not(#_){border-radius:4px}
.project-page .case-outcomes-list:not(#_):not(#_):not(#_){border-radius:4px}
.contact-menu li:not(#_):not(#_){border-radius:4px}
/* Contact menu: email and phone icons drawn to fill their boxes (like the footer email icon), lighter stroke. */
.contact-menu .contact-menu-email:not(#_):not(#_){width:18px;height:15px}
.contact-menu .contact-phone-icon:not(#_):not(#_){width:15px;height:17px}
/* Footer links in Space Grotesk caps. */
.site-footer .site-footer-link:not(#_):not(#_){font:400 14px/22px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
@media(max-width:700px){.site-footer .site-footer-link:not(#_):not(#_){font-size:12px;letter-spacing:.02em;white-space:nowrap}.site-footer .site-footer-link:not(#_):not(#_):not(#_){gap:6px}footer.site-footer:not(#_):not(#_){gap:12px}}
/* Experience résumé: the second line of each earlier-experience and education entry matches the bullets. */
.landing-experience .resume-document .document-entry>p:not(#_):not(#_){font-family:'Tiempos Text',Georgia,'Times New Roman',serif;color:rgba(0,0,0,.54)}
/* Footer links styled like the résumé roles: light gray Space Grotesk caps (darker on hover). */
.site-footer .site-footer-link:not(#_):not(#_):not(#_){color:rgba(0,0,0,.54)}
.site-footer .site-footer-item:is(:hover,:focus-within) .site-footer-link:not(#_):not(#_):not(#_){color:rgba(0,0,0,.9)}
/* Experience: the line above the résumé runs edge to edge across the page. */
.landing-experience .resume-embed.resume-embed:not(#_):not(#_){position:relative;border-top:0}
.landing-experience .resume-embed.resume-embed:not(#_):not(#_)::before{content:"";position:absolute;top:0;left:calc(50% - 50vw);width:100vw;height:1px;background:var(--line);pointer-events:none}
main.landing:not(#_){overflow-x:clip}
/* Project footer: edge to edge with a border on top, the same height as the landing page footer. */
.project-page footer#contact:not(#_):not(#_){display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:78px;margin:120px 0 0;padding:0 var(--project-gutter,40px);border-top:1px solid var(--line);border-radius:0;background:none;box-shadow:none}
.project-page footer#contact .project-pagination-footer:not(#_):not(#_){width:100%}
@media(max-width:700px){.project-page footer#contact:not(#_):not(#_){min-height:62px;margin-top:80px}}
/* Carousel arrows sit outside the tile, 8px from each side, as plain icons. The track clips the slides instead. */
@media(min-width:701px){
  .case-media .case-carousel:not(#_):not(#_){overflow:visible}
  .case-media .case-carousel .case-carousel-track:not(#_):not(#_){border-radius:4px}
  .case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):not(#_):not(#_):not(#_),.case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):hover:not(:disabled):not(#_):not(#_):not(#_){background:none;box-shadow:none;color:rgba(0,0,0,.7)}
  .case-media .case-carousel :is(.case-carousel-prev,.case-carousel-next):hover:not(:disabled):not(#_):not(#_):not(#_){color:rgba(0,0,0,.95)}
  .case-media .case-carousel .case-carousel-prev:not(#_):not(#_):not(#_){left:-40px}
  .case-media .case-carousel .case-carousel-next:not(#_):not(#_):not(#_){right:-40px}
}
/* Project sections: more room between the text and its image. */
@media(min-width:1081px){.project-page .case-section:not(#_):not(#_):not(#_){column-gap:80px}}
/* The transfer journey: no tile, the image across the full width of the page. */
.project-page .case-wide[data-sheet-section]:not(#_):not(#_){width:100cqw;margin-left:calc((100% - 100cqw) / 2)}
.project-page .case-wide[data-sheet-section] .catalog-diagram-open:not(#_):not(#_):not(#_){padding:0;border-radius:0;background:none;box-shadow:none}
.project-page .case-wide[data-sheet-section] .catalog-diagram-open img:not(#_):not(#_){display:block;width:100%;height:auto;border-radius:0}
.project-page .case-wide[data-sheet-section] .case-fig:not(#_):not(#_):not(#_){margin-top:24px;padding:0 var(--project-gutter,40px)}
/* Project titles (title bar and the phone heading) and button text in Space Grotesk caps. */
.sheet-bar .sheet-project:not(#_):not(#_){font:400 14px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.9)}
.project-page .catalog-heading h1:not(#_):not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:.02em;text-transform:uppercase}
:is(header nav .contact-trigger,.sheet-back,.project-pagination .project-step):not(#_):not(#_):not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;letter-spacing:.04em;text-transform:uppercase}
:is(.sheet-back,.project-pagination .project-step):not(#_):not(#_):not(#_){line-height:20px;padding-top:4px;padding-bottom:4px}
header nav .contact-trigger:not(#_):not(#_):not(#_){line-height:20px;padding-top:4px;padding-bottom:4px}
/* Project title bar section names: the same type as STEFANI WEIR in the landing header. */
.sheet-bar .sheet-title:not(#_):not(#_){font:900 16px/22px Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.12px;text-transform:uppercase;color:rgba(0,0,0,.7)}
@media(max-width:700px){.sheet-bar .sheet-title:not(#_):not(#_){font-size:24px;line-height:30px;letter-spacing:1.68px}}
/* The transfer journey keeps the page's side padding (no tile). */
.project-page .case-wide[data-sheet-section]:not(#_):not(#_):not(#_){width:calc(100cqw - 2 * var(--project-gutter,40px));margin-left:calc((100% - 100cqw) / 2 + var(--project-gutter,40px))}
.project-page .case-wide[data-sheet-section] .case-fig:not(#_):not(#_):not(#_):not(#_){padding:0}
/* Outcomes: a small green square before each label. */
.project-page .case-outcomes-list>li h3:not(#_):not(#_):not(#_){display:flex;align-items:center;gap:8px}
.project-page .case-outcomes-list>li h3:not(#_):not(#_)::before{content:"";flex:none;width:8px;height:8px;border-radius:1px;background:#2fb457}
/* Title bar project name: the same type as the project titles under the landing page images. */
.sheet-bar .sheet-project:not(#_):not(#_):not(#_){font-size:16px;line-height:24px;letter-spacing:.04em}
/* Logo and name centered by their visible ink: the logo's middle on the caps' middle, the pair on the page's middle. */
.sheet-bar .sheet-project .sheet-project-logo:not(#_):not(#_){transform:translateY(-.625px)}
.sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_){transform:translate(calc(-50% + 1px),-50%)}
/* The transfer journey sits the same distance from Research above and Exploration below. */
.project-page .case-wide[data-sheet-section]+.case-section:not(#_):not(#_):not(#_){margin-top:180px}
@media(max-width:700px){.project-page .case-wide[data-sheet-section]+.case-section:not(#_):not(#_):not(#_){margin-top:100px}}
/* FIG. tags: the same space between the border and the letters on all four sides (measured on the rendered caps). */
:is(.case-copy,.case-wide,.diagram-modal) :is(.case-fig-num,.diagram-modal-fig):not(#_):not(#_):not(#_){padding:2px 3.75px 3px 4.25px;line-height:16px}
/* Outcomes: a full section gap between the box and the closing paragraph. */
.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_):not(#_):not(#_){margin-top:180px}
@media(max-width:700px){.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_):not(#_):not(#_){margin-top:100px}}
/* Outcome squares: as tall as the label's capital letters. */
.project-page .case-outcomes-list>li h3:not(#_):not(#_)::before{width:10px;height:10px}
/* Center the project name on the whole window, so a visible scroll bar doesn't pull it to the left. */
.sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_){left:50vw}
/* Constraints (bulk edit) carousel: the tile is as tall as the video plus the same 40px above and below it; the panel
   image beside it fills that height and runs off the bottom. */
.case-section[aria-labelledby="tc-constraints-label"] .case-carousel:has(.catalog-diagram-open--clip):not(#_){container-type:inline-size}
.case-section[aria-labelledby="tc-constraints-label"] .case-carousel:has(.catalog-diagram-open--clip) .case-slide>.catalog-diagram-open:not(#_):not(#_):not(#_){height:calc((100cqw - 24px) * 1130 / 1506 + 80px);overflow:hidden;align-self:flex-start}
@media(max-width:700px){.case-section[aria-labelledby="tc-constraints-label"] .case-carousel:has(.catalog-diagram-open--clip) .case-slide>.catalog-diagram-open:not(#_):not(#_):not(#_){height:calc((100cqw - 16px) * 1130 / 1506 + 48px)}}
.case-section[aria-labelledby="tc-constraints-label"] .case-carousel .case-slide>.catalog-diagram-open--clip:not(#_):not(#_):not(#_):not(#_){box-sizing:border-box;padding-bottom:40px}
@media(max-width:700px){.case-section[aria-labelledby="tc-constraints-label"] .case-carousel .case-slide>.catalog-diagram-open--clip:not(#_):not(#_):not(#_):not(#_){padding-bottom:24px}}
/* The closing Outcomes paragraph runs the same width as the opening paragraph. */
.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_):not(#_):not(#_):not(#_){max-width:720px}
/* Title bar project name at the Back button's text size. */
.sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_){font-size:14px;line-height:20px;letter-spacing:.04em}
.sheet-bar .sheet-project .sheet-project-logo:not(#_):not(#_):not(#_){transform:translateY(.125px)}
/* Access tile: a close crop of the transfer flow around the immediate-transfer Review, filling the tile edge to edge
   (the arrow and the Transfer details modal run off the sides). */
.case-media .catalog-diagram-open[data-full*="access-flow"]:not(#_):not(#_):not(#_):not(#_){display:block;padding:0;aspect-ratio:4/3;overflow:hidden}
.case-media .catalog-diagram-open[data-full*="access-flow"] img:not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%}
/* Phones: the opener scales so its longest line ("engineering experiences") spans the page width. */
@media(max-width:700px){.landing-statement:not(#_):not(#_){font-size:calc((100vw - 2 * var(--g)) * .0879);line-height:1.27}}
/* Phones: STEFANI WEIR smaller (and the project title bar's section names, which match it). */
@media(max-width:700px){
  body>header .brand:not(#_):not(#_){font-size:18px;line-height:24px;letter-spacing:1.26px}
  .sheet-bar .sheet-title:not(#_):not(#_):not(#_){font-size:18px;line-height:24px;letter-spacing:1.26px}
}
/* Landing and password pages: Tools sits as far above the footer as the opener sits below the header (132px; 64px on
   phones). */
main.landing:not(#_){padding-bottom:0}
.work-access-page.is-typing main.landing:not(#_):not(#_){padding-bottom:60vh}
main.landing+.site-footer:not(#_):not(#_){margin-top:132px}
@media(max-width:700px){main.landing+.site-footer:not(#_):not(#_){margin-top:64px}}
/* Phones: the Contact menu takes over the page below the header; its icons line up with STEFANI WEIR. */
@media(max-width:700px){
  body>header nav .contact-menu:not(#_):not(#_):not(#_){position:fixed;top:60px;right:0;bottom:0;left:0;width:auto;max-width:none;margin:0;padding:16px 0;border:0;border-radius:0;background:var(--background);box-shadow:none;overflow-y:auto;z-index:99}
  body>header nav .contact-menu ul:not(#_):not(#_){margin:0;padding:0}
  body>header nav .contact-menu li:not(#_):not(#_):not(#_){padding:14px var(--g);border-radius:0}
  body>header nav .contact-menu .contact-icon-slot:not(#_):not(#_){justify-items:start}
  html:has(body>header .contact-menu:not([hidden])):not(#_){overflow:hidden}
}
@media(max-width:700px){body>header nav .contact-menu .contact-icon-slot>*:not(#_):not(#_):not(#_){justify-self:start}}
/* Phones: the tools stack in one column of square cells, divided by horizontal lines. */
@media(max-width:700px){
  .tools-grid:not(#_):not(#_){grid-template-columns:minmax(0,1fr)}
  .tools-grid .tool+.tool:not(#_):not(#_):not(#_){border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:700px){.tools-grid .tool-logo:not(#_):not(#_){width:56px;height:56px}}
/* Phones: the footer is just the two icons, centered (the link text stays for screen readers). */
@media(max-width:700px){
  footer.site-footer:not(#_):not(#_):not(#_){justify-content:center;gap:24px}
  .site-footer .site-footer-link:not(#_):not(#_):not(#_){padding:10px}
  .site-footer .site-footer-link>span:not(.site-footer-icon):not(#_){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}
/* Phones: the work tiles stack vertically at full width (no sideways scroll); their captions match the section
   labels (Experience, Tools) at 16px. */
@media(max-width:700px){
  .work-rail:not(#_):not(#_){--tile-w:calc(100vw - 2 * var(--g))}
  .work-rail .work-track:not(#_):not(#_){flex-direction:column;gap:40px;overflow:visible;scroll-snap-type:none;padding:0 var(--g)}
  .work-rail .work-item:not(#_):not(#_){width:100%;scroll-snap-align:none}
  .work-caption.work-caption:not(#_):not(#_){font-size:16px;line-height:24px;letter-spacing:.04em}
}
/* Phones: full-width stacked tiles keep each image's own shape. */
@media(max-width:700px){
  .work-rail .work-card:not(#_):not(#_){width:100%;box-sizing:border-box}
  .work-rail .work-media:not(#_):not(#_){width:100%;height:auto;aspect-ratio:var(--ratio)}
}
/* Footer phone link: phones only, between email and LinkedIn; the three icons sit close together. */
.site-footer .site-footer-item--phone:not(#_):not(#_){display:none}
.site-footer .site-footer-icon--phone:not(#_):not(#_){width:15px;height:17px}
@media(max-width:700px){
  .site-footer .site-footer-item--phone:not(#_):not(#_){display:flex}
  footer.site-footer:not(#_):not(#_):not(#_):not(#_){gap:4px}
}
/* Phones: footer icons at 24px. */
@media(max-width:700px){
  .site-footer .site-footer-icon:not(#_):not(#_):not(#_){width:24px;height:24px}
  .site-footer .site-footer-icon--email:not(#_):not(#_):not(#_){width:24px;height:20px}
  .site-footer .site-footer-icon--phone:not(#_):not(#_):not(#_){width:21px;height:24px}
  .site-footer .site-footer-icon svg:not(#_){display:block;width:100%;height:100%}
}
@media(max-width:700px){.site-footer :is(.site-footer-icon--email,.site-footer-icon--phone) g:not(#_){stroke-width:1}}
/* Contact sheet header (phones only). */
.contact-sheet-head{display:none}
/* Floating buttons (phones only). */
.float-actions{display:none}
@media(max-width:700px){
  /* No copy buttons in the contact menu on phones. */
  body>header nav .contact-menu .contact-copy:not(#_):not(#_){display:none}
  /* The contact menu is a sheet that slides up from the bottom, only as tall as its contents, over a dark overlay. */
  body>header nav .contact-menu:not(#_):not(#_):not(#_):not(#_){top:auto;bottom:0;max-height:calc(100dvh - 48px);padding:0 0 calc(12px + env(safe-area-inset-bottom,0px));border-radius:4px 4px 0 0;background:var(--background);box-shadow:0 0 0 100vmax rgba(0,0,0,.4);animation:contact-sheet-up .28s cubic-bezier(.2,.7,.2,1)}
  .contact-menu .contact-sheet-head:not(#_){display:block;padding:24px var(--g) 20px;border-bottom:1px solid var(--line)}
  .contact-sheet-head p{margin:0}
  .contact-sheet-head .contact-sheet-name{font:900 18px/24px Avenir,'Avenir Next',Arial,sans-serif;letter-spacing:1.26px;text-transform:uppercase;color:rgba(0,0,0,.7)}
  .contact-sheet-head .contact-sheet-role{margin-top:4px;font:400 14px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.54)}
  body>header nav .contact-menu ul:not(#_):not(#_):not(#_){padding-top:8px}
  .float-actions{display:block;position:fixed;right:var(--g);bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:50}
  .float-contacts{display:flex;flex-direction:column;gap:8px}
  .float-action{display:grid;place-items:center;width:48px;height:48px;border-radius:4px;background:var(--background);color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,.06),0 4px 12px rgba(0,0,0,.08)}
  .float-action:hover{text-decoration:none}
  .float-action svg{display:block}
  .float-action--download{position:absolute;right:0;bottom:0}
  :is(.float-contacts,.float-action--download){opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}
  :is(.float-contacts,.float-action--download).is-visible{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .2s ease,visibility 0s}
}
@keyframes contact-sheet-up{from{transform:translateY(100%);box-shadow:0 0 0 100vmax rgba(0,0,0,0)}to{transform:none;box-shadow:0 0 0 100vmax rgba(0,0,0,.4)}}
@media(prefers-reduced-motion:reduce){body>header nav .contact-menu:not(#_):not(#_):not(#_):not(#_){animation:none}}
/* Phones: the tools always show their colored logos. */
@media(max-width:700px){
  .tools-grid .tool .tool-logo--mono:not(#_):not(#_){display:none}
  .tools-grid .tool .tool-logo--color:not(#_):not(#_){display:block}
}
/* Phones: round floating buttons. */
@media(max-width:700px){.float-action:not(#_){border-radius:50%}}
/* Name: the bundled Avenir Black everywhere, so phones render it the same as desktop. */
body>header .brand:not(#_):not(#_),.contact-sheet-head .contact-sheet-name:not(#_):not(#_){font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-synthesis:none}
/* Phones: the contact sheet has rounded top corners, like a standard bottom sheet. */
@media(max-width:700px){body>header nav .contact-menu:not(#_):not(#_):not(#_):not(#_):not(#_){border-radius:16px 16px 0 0}}
/* Email and phone icons: one line weight, matching the contact menu's phone icon (about 1.32px on screen). */
.contact-menu .contact-menu-email g:not(#_):not(#_),.site-footer .site-footer-icon--email g:not(#_):not(#_){stroke-width:1.245}
.float-action[href^="mailto:"] svg g:not(#_):not(#_){stroke-width:.934}
.float-action[href^="tel:"] svg g:not(#_):not(#_){stroke-width:.929}
/* Agents: the current state maps show whole in their tile, edge to edge with no padding. */
.case-media .catalog-diagram-open:is(.dpai-maps-tile,.tile-edge):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;padding:0}
.case-media .catalog-diagram-open:is(.dpai-maps-tile,.tile-edge):not(#_):not(#_):not(#_)>img{display:block;flex:none;width:100%;height:auto;max-width:none;max-height:none;margin:0;object-fit:contain;transform:none}
@media(max-width:700px){.case-media .catalog-diagram-open:is(.dpai-maps-tile,.tile-edge):not(#_):not(#_):not(#_){aspect-ratio:4/3;height:auto}}
/* Phones: floating buttons at the standard 56px FAB size. */
@media(max-width:700px){
  main.landing:not(#_):not(#_):not(#_){padding-bottom:calc(64px + 3 * 56px + 2 * 12px)}
  .float-contacts:not(#_){gap:12px}
  .float-action:not(#_){width:56px;height:56px;-webkit-tap-highlight-color:transparent}
}
/* Phones: the edge-to-edge agent maps keep their ends clear; the arrows sit in the tile's bottom corners. */
@media(max-width:700px){.case-media .case-carousel:has(.dpai-maps-tile) :is(.case-carousel-prev,.case-carousel-next):not(#_):not(#_):not(#_){top:auto;bottom:8px;margin-top:0;transform:none}}
/* Tech Catalog research: the mental model map fills the tile's height and bleeds off both sides. */
.case-media .case-carousel[aria-label="Research artifacts"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:24px 0}
.case-media .case-carousel[aria-label="Research artifacts"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_)>img{flex:1 1 0;min-height:0;width:100%;height:auto;max-width:none;object-fit:cover;object-position:50% 50%}
/* Tech Catalog exploration: every image sits 24px inside the tile, like the visual cues sketches. */
.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:24px}
@media(max-width:700px){
  .case-media .case-carousel[aria-label="Research artifacts"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:8px 0}
  .case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:8px}
}
/* Spinnaker: the journey maps sit out of a tile, as wide as the page inside its side padding. */
.case-media.case-wide .case-carousel[aria-label="Journey maps"]:not(#_):not(#_):not(#_){background:none;box-shadow:none;border-radius:0}
.case-media.case-wide .case-carousel[aria-label="Journey maps"] .case-carousel-track:not(#_):not(#_):not(#_){border-radius:0;background:none;align-items:flex-start}
.case-media.case-wide .case-carousel[aria-label="Journey maps"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_){display:block;height:auto;aspect-ratio:auto;contain:none;padding:0;border-radius:0;background:none;box-shadow:none}
.case-media.case-wide .case-carousel[aria-label="Journey maps"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_)>img{display:block;width:100%;height:auto;max-width:none;max-height:none;margin:0;object-fit:fill;border-radius:0}
/* Phones: the arrows move under the map, side by side, with the caption below them. */
@media(max-width:700px){
  .case-media.case-wide .case-carousel[aria-label="Journey maps"]:not(#_):not(#_):not(#_):not(#_){overflow:visible}
  .case-media.case-wide .case-carousel[aria-label="Journey maps"] :is(.case-carousel-prev,.case-carousel-next):not(#_):not(#_):not(#_){top:calc(100% + 12px);right:auto;margin-top:0;transform:none}
  .case-media.case-wide .case-carousel[aria-label="Journey maps"] .case-carousel-prev:not(#_):not(#_):not(#_){left:calc(50% - 32px)}
  .case-media.case-wide .case-carousel[aria-label="Journey maps"] .case-carousel-next:not(#_):not(#_):not(#_){left:calc(50% + 4px)}
  .case-media.case-wide:has(.case-carousel[aria-label="Journey maps"] .case-slide+.case-slide) .case-fig:not(#_):not(#_):not(#_):not(#_){margin-top:52px}
}
/* Phones: the contact sheet rises higher, leaving more room under the contacts. */
@media(max-width:700px){body>header nav .contact-menu:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}}
/* Outcomes with two items split the box in half. */
@media(min-width:701px){.case-outcomes-list:has(>li:nth-child(2):last-child):not(#_):not(#_):not(#_){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Phones: the contact sheet rises two thirds of the way up the screen. The phone number is plain text: iOS's automatic
   phone links are turned off (format-detection) and any that slip through carry no link styling. */
@media(max-width:700px){body>header nav .contact-menu:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){height:66.667vh;height:66.667dvh;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}}
/* Phones: project thumbnails sit on the page, without the tile behind them. */
@media(max-width:700px){.work-rail .work-card:not(#_):not(#_):not(#_):not(#_),.work-card:not(#_):not(#_):not(#_):not(#_){padding:0;background:none;box-shadow:none}}
/* Phones: a darker overlay behind the contact sheet. (This later definition of the keyframes replaces the earlier one.) */
@media(max-width:700px){body>header nav .contact-menu:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){box-shadow:0 0 0 100vmax rgba(0,0,0,.6)}}
@keyframes contact-sheet-up{from{transform:translateY(100%);box-shadow:0 0 0 100vmax rgba(0,0,0,0)}to{transform:none;box-shadow:0 0 0 100vmax rgba(0,0,0,.6)}}
/* Phones: each project title is led by the company logo instead of the company name underneath. */
@media(max-width:700px){
  .work-caption.work-caption:not(#_):not(#_):not(#_){flex-direction:row;align-items:center;justify-content:flex-start;gap:8px}
  .work-caption .work-org:not(#_):not(#_){order:-1;gap:0;font-size:0;line-height:0;letter-spacing:0}
  .work-caption .work-org img:not(#_):not(#_){transform:translateY(-.5px)}
}
/* Spinnaker problem: the journey sits in its tile with room above and below; the neighboring Build and Monitor
   columns run off the tile's sides. */
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:48px 0}
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_)>img{flex:1 1 0;min-height:0;width:100%;height:auto;max-width:none;object-fit:cover;object-position:50% 50%}
@media(max-width:700px){.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:16px 0}}
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_):not(#_){aspect-ratio:4/3;height:auto;flex:none;width:100%}
/* Modal zoom and pan: the image zooms inside its own frame; the zoom buttons sit beside Close. */
.diagram-modal-stage{position:relative;overflow:hidden;border-radius:4px}
.diagram-modal-stage .diagram-modal-image{transform-origin:0 0;cursor:zoom-in;touch-action:pan-x pan-y;-webkit-user-select:none;user-select:none}
.diagram-modal.is-zoomed .diagram-modal-stage .diagram-modal-image{cursor:grab;touch-action:none;will-change:transform}
.diagram-modal.is-zoomed .diagram-modal-stage.is-panning .diagram-modal-image{cursor:grabbing}
.diagram-modal-stage.is-animating .diagram-modal-image{transition:opacity .2s ease,transform .22s cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:reduce){.diagram-modal-stage.is-animating .diagram-modal-image{transition:none}}
.diagram-modal-zoom{position:absolute;top:14px;right:52px;z-index:3;display:flex;gap:4px}
.diagram-modal-zoom[hidden],.diagram-modal-zoom button[hidden]{display:none}
.diagram-modal-zoom button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:4px;background:transparent;color:rgba(0,0,0,.7);cursor:pointer}
.diagram-modal-zoom button:hover:not(:disabled){background:var(--hover-backplate-strong);color:rgba(0,0,0,.9)}
.diagram-modal-zoom button:disabled{opacity:.3;cursor:default}
.diagram-modal-zoom button:focus-visible{outline:2px solid #375adb;outline-offset:2px}
.diagram-modal .diagram-modal-heading:not(#_):not(#_){right:164px}
@media(max-width:700px){.diagram-modal-zoom{top:auto;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:4px;border-radius:8px;background:var(--background);box-shadow:inset 0 0 0 1px var(--line),0 2px 8px rgba(0,0,0,.08)}.diagram-modal-zoom button{width:40px;height:40px}.diagram-modal .diagram-modal-heading:not(#_):not(#_){right:56px}}
/* Spinnaker approach: the journey tiles zoom in on the persona and first steps. */
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_){overflow:hidden}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img{transform:scale(1.25);transform-origin:4% 30%}
/* Phones: the floating contact buttons sit in a row across the bottom of the screen. */
@media(max-width:700px){
  .float-actions:not(#_){left:var(--g);right:var(--g)}
  .float-contacts:not(#_):not(#_){flex-direction:row;justify-content:center;gap:16px}
  main.landing:not(#_):not(#_):not(#_):not(#_){padding-bottom:calc(64px + 56px + 16px)}
}
/* Spinnaker approach: every journey's persona sits in the same spot in its tile. */
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img[src*="sidr-journey-feat-coreads"]{transform:scale(1.25) translateY(-5.86%)}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img[src*="sidr-journey-feat-messaging"]{transform:scale(1.25) translateY(-5.86%)}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img[src*="sidr-journey-feat-finance"]{transform:scale(1.25) translateY(-5.86%)}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img[src*="sidr-journey-bug-reliability"]{transform:scale(1.25) translateY(-0.63%)}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img[src*="sidr-journey-bug-messaging"]{transform:scale(1.25) translateY(-5.86%)}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open--bleed:not(#_):not(#_) img[src*="sidr-journey-bug-localization"]{transform:scale(1.25) translateY(0.00%)}
/* Spinnaker exploration: the wireframe sits on a subtle elevation in its tile. */
.case-media .catalog-diagram-open img[src*="sidr-wireframe"]:not(#_):not(#_){border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.06),0 4px 14px rgba(0,0,0,.08)}
/* Spinnaker solution: the Pipelines screen is zoomed in, inset from the tile's top and left and running off its right and bottom. */
.case-media .case-carousel[aria-label="Solution designs"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){display:block;overflow:hidden;padding:40px 0 0 40px}
.case-media .case-carousel[aria-label="Solution designs"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_)>img{display:block;width:150%;max-width:none;height:auto;max-height:none;margin:0;object-fit:fill}
@media(max-width:700px){.case-media .case-carousel[aria-label="Solution designs"] .catalog-diagram-open--fit:not(#_):not(#_):not(#_):not(#_){padding:16px 0 0 16px}}
/* Landing project captions match the résumé: titles = project headers, Netflix label = role text */
.work-caption .work-title:not(#_):not(#_):not(#_){font-size:14px;font-weight:500;line-height:24px;letter-spacing:.04em;color:rgba(0,0,0,.9)}
.work-caption .work-org:not(#_):not(#_):not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:24px;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.54)}
@media(max-width:700px){
  .work-caption.work-caption:not(#_):not(#_):not(#_):not(#_){justify-content:space-between}
  .work-caption .work-org.work-org:not(#_):not(#_):not(#_){order:1;gap:0;font-size:0;line-height:0;letter-spacing:0}
  .work-caption .work-org img:not(#_):not(#_):not(#_){width:10.02px;height:16.77px;transform:none}
}
/* Résumé company names and section headings match the header name */
.landing-experience .resume-document :is(.document-company strong,.document-additional>h2):not(#_):not(#_){font-family:'Site Avenir',Avenir,'Avenir Next',Arial,sans-serif;font-synthesis:none;font-weight:900;font-size:16px;letter-spacing:1.12px;text-transform:uppercase}
.landing-experience .resume-document .document-additional>h2{color:rgba(0,0,0,.7)}
@media(max-width:700px){
  .landing-experience .resume-document :is(.document-company strong,.document-additional>h2):not(#_):not(#_):not(#_){font-size:16px;letter-spacing:1.12px}
}
/* Footer email icon follows the email text colour (incl. hover) */
.site-footer .site-footer-icon--email g:not(#_):not(#_):not(#_){stroke:currentColor;opacity:1}
/* Modal zoom controls live in a bordered footer bar (same height and rule as the site footers) */
.diagram-modal{--modal-foot:78px}
.diagram-modal .diagram-modal-zoom:not(#_):not(#_){position:absolute;top:auto;left:0;right:0;bottom:0;box-sizing:border-box;height:var(--modal-foot);margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-top:1px solid rgba(128,128,128,.2);border-radius:0;background:var(--background);box-shadow:none}
.diagram-modal .diagram-modal-zoom[hidden]:not(#_):not(#_){display:none}
.diagram-modal .diagram-modal-heading:not(#_):not(#_):not(#_){right:56px}
.diagram-modal:has(.diagram-modal-zoom:not([hidden])):not(#_){padding-bottom:calc(var(--modal-foot) + 24px)}
.diagram-modal:not(.diagram-modal--scroll):not(.diagram-modal--fade):has(.diagram-modal-zoom:not([hidden])) .diagram-modal-image:not(#_){max-height:calc(100vh - 48px - 56px - 24px - 88px - var(--modal-foot))}
.diagram-modal:is(.diagram-modal--scroll,.diagram-modal--fade):has(.diagram-modal-zoom:not([hidden])) .diagram-modal-figure:not(#_){max-height:calc(100vh - 48px - 56px - 24px - 40px - var(--modal-foot))}
@media(max-width:700px){
  .diagram-modal{--modal-foot:62px}
  .diagram-modal .diagram-modal-zoom:not(#_):not(#_):not(#_){height:calc(var(--modal-foot) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);gap:16px}
  .diagram-modal .diagram-modal-zoom button:not(#_):not(#_){width:40px;height:40px}
  .diagram-modal:has(.diagram-modal-zoom:not([hidden])):not(#_):not(#_){padding-bottom:calc(var(--modal-foot) + 16px + env(safe-area-inset-bottom,0px))}
  .diagram-modal:not(.diagram-modal--scroll):not(.diagram-modal--fade):has(.diagram-modal-zoom:not([hidden])) :is(.diagram-modal-image,.diagram-modal-video):not(#_):not(#_){max-height:calc(100dvh - 54px - 16px - 16px - var(--modal-foot) - env(safe-area-inset-bottom,0px))}
  .diagram-modal:is(.diagram-modal--scroll,.diagram-modal--fade):has(.diagram-modal-zoom:not([hidden])) .diagram-modal-figure:not(#_):not(#_){max-height:calc(100dvh - 54px - 16px - var(--modal-foot) - env(safe-area-inset-bottom,0px))}
}
.diagram-modal:has(.diagram-modal-zoom:not([hidden])) :is(.diagram-modal-prev,.diagram-modal-next):not(#_){top:calc(50% - var(--modal-foot) / 2 + 16px)}
/* Experience and Tools share the header/project edges */
@media(min-width:701px){.landing-section:is(.landing-experience,.landing-tools):not(#_):not(#_){padding-left:var(--g);padding-right:var(--g)}}
/* Netflix logo optically centred on the NETFLIX label (desktop captions) */
@media(min-width:701px){.work-caption .work-org img:not(#_):not(#_){transform:none}}
/* Project titles (landing captions + résumé project headers) in regular weight */
.work-caption .work-title:not(#_):not(#_):not(#_):not(#_){font-weight:400;color:rgba(0,0,0,.9)}
.landing-experience .resume-document .document-job h3 strong:not(#_):not(#_){font-weight:400;color:rgba(0,0,0,.9)}
/* Spinnaker solution: walkthrough video fits the tile (the Pipelines zoom applies to the image slide only) */
.case-media .case-carousel[aria-label="Solution designs"] .catalog-diagram-open--fit.sidr-walkthrough-tile:not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;align-items:center;justify-content:center;padding:68px 24px 24px}
@media(max-width:700px){.case-media .case-carousel[aria-label="Solution designs"] .catalog-diagram-open--fit.sidr-walkthrough-tile:not(#_):not(#_):not(#_):not(#_):not(#_){padding:52px 16px 16px}}
.case-media .catalog-diagram-open video.sidr-walkthrough-video:not(#_):not(#_):not(#_){border-radius:.625%/1%}
.diagram-modal-video[src*="sidr-walkthrough"]{border-radius:.625%/1%}
/* Modal-only elevation (data-elevate-modal) for opaque screen videos: a box shadow that follows their corners */
.diagram-modal--elevate .diagram-modal-video:is([src*="dpai-github-flow-full"],[src*="tc-bulk-responsive"]):not(#_):not(#_){filter:none;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
.diagram-modal-video[src*="dpai-github-flow-full"]:not(#_){border-radius:.94%/1.27%}
.diagram-modal-video[src*="tc-bulk-responsive"]:not(#_){border-radius:4px}
.diagram-modal-image[src*="cr-dashboard"]:not(#_):not(#_){border-radius:8px}
/* Elevated images (data-elevate) keep their tile shadow and corners in the modal */
.diagram-modal--elevate .diagram-modal-image:not(#_):not(#_){border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
.case-media .case-carousel[aria-label="Solution designs"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_){aspect-ratio:4/3;height:auto;flex:none;width:100%}
/* Rounded walkthrough video: use box-shadow (respects the radius) instead of drop-shadow */
.alpha-video .catalog-diagram-open[data-elevate] video.sidr-walkthrough-video:not(#_),.alpha-video .diagram-modal--elevate .diagram-modal-video[src*="sidr-walkthrough"]:not(#_){filter:none;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
.diagram-modal-video[src*="sidr-walkthrough"]:not(#_){width:auto;max-width:100%;margin-left:auto;margin-right:auto}
/* ===== Full-screen image viewer (dm2): header · zoom canvas · footer ===== */
.diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_){position:fixed;inset:0;box-sizing:border-box;width:100% !important;height:100%;max-width:none;max-height:none;margin:0;padding:56px 0 0;border:0;border-radius:0;box-shadow:none;background:var(--background);overflow:hidden}
.diagram-modal.dm2[open]:not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;justify-content:flex-start}
.diagram-modal.dm2::backdrop{background:var(--background)}
.diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_){top:19px;left:24px;right:64px}
.diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_){top:14px;right:16px}
.diagram-modal.dm2 .diagram-modal-figure:not(#_):not(#_):not(#_){position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;max-height:none;margin:0;overflow:visible;border-radius:0;-webkit-mask-image:none;mask-image:none}
.diagram-modal.dm2 .diagram-modal-stage:not(#_):not(#_){position:relative;flex:1 1 auto;min-height:0;overflow:hidden;border-radius:0;touch-action:none;cursor:default}
.diagram-modal.dm2.can-move .diagram-modal-stage:not(#_):not(#_){cursor:grab}
.diagram-modal.dm2.can-move .diagram-modal-stage.is-panning:not(#_):not(#_){cursor:grabbing}
.diagram-modal.dm2 .diagram-modal-stage .diagram-modal-image:not(#_):not(#_):not(#_):not(#_){position:absolute;left:0;top:0;display:block;max-width:none;max-height:none;margin:0;object-fit:fill;transform-origin:0 0;cursor:inherit;touch-action:none;will-change:transform}
.diagram-modal.dm2.diagram-modal--fade:not(.is-zoomed) .diagram-modal-stage:not(#_):not(#_){-webkit-mask-image:linear-gradient(#000 calc(100% - 120px),transparent);mask-image:linear-gradient(#000 calc(100% - 120px),transparent)}
.diagram-modal.dm2 .diagram-modal-stage .diagram-modal-video:not(#_):not(#_):not(#_):not(#_){position:absolute;display:block;max-width:none;max-height:none;margin:0;object-fit:contain}
.diagram-modal.dm2 .diagram-modal-caption:not(#_):not(#_){flex:none;margin:0;padding:12px 24px}
.diagram-modal.dm2 .diagram-modal-caption:has(.diagram-modal-note:empty):not(#_):not(#_){display:none}
.diagram-modal.dm2 .diagram-modal-foot{flex:none;box-sizing:border-box;height:var(--modal-foot);display:flex;align-items:center;justify-content:center;border-top:1px solid rgba(128,128,128,.2);background:var(--background)}
.diagram-modal.dm2 .diagram-modal-foot[hidden]{display:none}
.diagram-modal.dm2 .diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_){position:static;height:auto;border:0;background:none;box-shadow:none;padding:0;gap:8px}
.diagram-modal.dm2:has(.diagram-modal-zoom:not([hidden])):not(#_):not(#_):not(#_):not(#_){padding-bottom:0}
.diagram-modal.dm2 .diagram-modal-zoom-reset[hidden]{display:flex}
/* carousel arrows: sides of the canvas on wide screens */
.diagram-modal.dm2 :is(.diagram-modal-prev,.diagram-modal-next):not(#_):not(#_):not(#_){top:50%;margin-top:-16px}
.diagram-modal.dm2 .diagram-modal-prev:not(#_):not(#_):not(#_){left:16px}
.diagram-modal.dm2 .diagram-modal-next:not(#_):not(#_):not(#_){right:16px}
@media(max-width:700px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_){padding:54px 0 0}
  .diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_){top:11px;left:16px;right:56px}
  .diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_){top:6px;right:8px}
  .diagram-modal.dm2 .diagram-modal-caption:not(#_):not(#_){padding:8px 16px}
  .diagram-modal.dm2 .diagram-modal-foot{height:calc(var(--modal-foot) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}
  .diagram-modal.dm2:has(.diagram-modal-foot[hidden]):not(#_):not(#_):not(#_):not(#_){padding-bottom:env(safe-area-inset-bottom,0px)}
  .diagram-modal.dm2 .diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_){height:auto;padding:0;gap:16px}
  /* carousel arrows: floating buttons at the bottom of the canvas */
  .diagram-modal.dm2 :is(.diagram-modal-prev,.diagram-modal-next):not(#_):not(#_):not(#_):not(#_){top:auto;bottom:16px;margin:0;width:56px;height:56px;border-radius:50%;background:var(--background);color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,.06),0 4px 12px rgba(0,0,0,.08);-webkit-tap-highlight-color:transparent}
  .diagram-modal.dm2 .diagram-modal-prev:not(#_):not(#_):not(#_):not(#_){left:16px}
  .diagram-modal.dm2 .diagram-modal-next:not(#_):not(#_):not(#_):not(#_){right:16px}
  .diagram-modal.dm2 :is(.diagram-modal-prev,.diagram-modal-next) svg{width:20px;height:20px}
}
html:has(.diagram-modal.dm2[open]):not(#_){scrollbar-gutter:auto}
@media(max-height:500px) and (min-width:701px){
  .diagram-modal.dm2{--modal-foot:56px}
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_){padding:48px 0 0}
  .diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_){top:13px;left:max(16px,env(safe-area-inset-left,0px))}
  .diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_){top:8px;right:max(12px,env(safe-area-inset-right,0px))}
  .diagram-modal.dm2 .diagram-modal-caption:not(#_):not(#_){display:none}
  .diagram-modal.dm2 .diagram-modal-foot{height:calc(var(--modal-foot) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}
}

.diagram-modal.dm2 .diagram-modal-stage :is(.diagram-modal-image,.diagram-modal-video)[hidden]:not(#_):not(#_):not(#_):not(#_):not(#_){display:none}

/* Project sheet: no flashes. A directly opened project hides the landing page until its sheet is up; project pages
   inside the sheet stay invisible until their fonts and lead image are ready, then fade in (and fade out on Next). */
html.sheet-boot body{visibility:hidden}
html.sheet-instant :is(.sheet-panel,.sheet-scrim,.sheet-panel iframe){transition:none !important}
html.in-sheet body>:not(.sheet-bar):not(.skip){transition:opacity .22s ease}
html.in-sheet:not(.sheet-ready) body>:not(.sheet-bar):not(.skip){opacity:0}
html.in-sheet.sheet-leaving body>:not(.sheet-bar):not(.skip){transition-duration:.15s}
@media(prefers-reduced-motion:reduce){html.in-sheet body>:not(.sheet-bar):not(.skip){transition:none}}

/* Outside margins grow with the screen on wider windows (about 6% of the width, up to 120px); phones stay at 16px. */
@media(min-width:701px){:root:not(#_){--g:clamp(40px,6.2vw,120px)}}
@media(min-width:701px){
  .project-page:not(#_){--project-gutter:var(--g)}
  .project-page main.catalog-study:not(#_){--project-gutter:max(var(--g),calc((100cqw - 1280px) / 2))}
}
@media(min-width:701px){:root:not(#_):not(#_){--detail-page-gutter:var(--g)}}
/* The project page fades its own content in; the frame itself appears at once so its title bar never blinks. */
.sheet-panel iframe:not(#_){transition:none}

/* Phones: every role title sits on its own line under the project title. */
@media(max-width:700px){
  .landing-experience .resume-document .document-job h3:not(#_):not(#_){flex-direction:column;align-items:flex-start}
}
/* Résumé company and section headings render exactly like the name in the header (kerning on, default ligatures). */
.landing-experience .resume-document :is(.document-company strong,.document-additional h2):not(#_):not(#_){font-kerning:auto;font-variant-ligatures:normal}
/* Phones: a figure caption hugs its image; the section text sits the same distance from the image above and the
   caption below it. */
@media(max-width:700px){
  .project-page .case-section .case-copy:not(#_):not(#_){margin-bottom:0}
  .project-page .case-section:not(#_):not(#_){row-gap:12px}
  .project-page .case-copy .case-fig:not(#_):not(#_){margin-top:48px}
  .project-page .case-section:has(~ .case-section):not(:has(+ .case-wide)):not(#_):not(#_):not(#_){margin-bottom:48px}
  .project-page .case-wide+.case-section:not(#_):not(#_):not(#_):not(#_),.project-page .case-outcomes:not(#_):not(#_):not(#_){margin-top:48px}
  .project-page .case-wide[data-sheet-section]:not(#_):not(#_):not(#_){margin-top:48px}
  .project-page .case-wide[data-sheet-section] .case-fig:not(#_):not(#_):not(#_):not(#_){margin-top:12px}
}
/* Phones: the project title bar has two rows: the project's logo and name on the line of the Back button (where
   Contact sits on the landing page), then the current section's name, then the border. */
@media(max-width:700px){
  .sheet-bar:not(#_):not(#_){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"project back" "title title";align-items:center;column-gap:16px;row-gap:12px;height:auto;padding:16px var(--g)}
  .sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_):not(#_){grid-area:project;position:static;display:flex;min-width:0;max-width:none;transform:none}
  .sheet-bar .sheet-back:not(#_):not(#_){grid-area:back}
  .sheet-bar .sheet-title:not(#_):not(#_){grid-area:title}
}
/* Viewer footer: the image's note at the left, level with the zoom buttons, which stay centred (phones: note left,
   buttons right). The zoom buttons are outlined like the site's other buttons. */
.diagram-modal.dm2 .diagram-modal-foot:not(#_):not(#_){display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:24px;padding-left:24px;padding-right:24px}
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_){grid-column:1;justify-self:start;display:block;max-width:none;margin:0;padding:0;text-align:left}
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:has(.diagram-modal-note:empty):not(#_):not(#_):not(#_){display:none}
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_){grid-column:2}
.diagram-modal.dm2 .diagram-modal-zoom button:not(#_):not(#_):not(#_){border:0;border-radius:4px;background:transparent;color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px var(--line)}
.diagram-modal.dm2 .diagram-modal-zoom button:hover:not(:disabled):not(#_):not(#_):not(#_){background:transparent;color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
@media(max-width:700px){
  .diagram-modal.dm2 .diagram-modal-foot:not(#_):not(#_):not(#_){grid-template-columns:minmax(0,1fr) auto;column-gap:16px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .diagram-modal.dm2 .diagram-modal-foot:has(.diagram-modal-note:empty):not(#_):not(#_):not(#_){grid-template-columns:minmax(0,1fr)}
  .diagram-modal.dm2 .diagram-modal-foot .diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){gap:8px}
  .diagram-modal.dm2 .diagram-modal-foot:has(.diagram-modal-note:empty) .diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_){grid-column:1;justify-self:center}
}
@media(max-height:500px) and (min-width:701px){
  .diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(:has(.diagram-modal-note:empty)):not(#_):not(#_):not(#_){display:block}
}
/* Phones: the Netflix logo sits before the project title under each image (same size as before). */
@media(max-width:700px){
  .work-caption.work-caption:not(#_):not(#_):not(#_):not(#_):not(#_){justify-content:flex-start;gap:8px}
  .work-caption .work-org.work-org:not(#_):not(#_):not(#_):not(#_){order:-1}
}
/* Phones: no large project title at the top of a project page; the title bar already names the project (the heading
   stays for screen readers, as on wider screens). */
@media(max-width:700px){
  .project-page .catalog-heading h1:not(#_):not(#_):not(#_){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}
/* Agents · Permissions industry analysis tile: zoomed in a touch so exactly the first three columns fill the tile
   (the table's left edge stays put), and the table starts as far below the tile's top as it sits from its left. */
@media(min-width:701px){
  .case-media .case-carousel .catalog-diagram-open[data-full*="permissions-table"]:not(#_):not(#_):not(#_){padding-top:calc(100% * 168 / 2259);overflow:hidden}
  .case-media .case-carousel .catalog-diagram-open[data-full*="permissions-table"] img:not(#_):not(#_):not(#_){width:calc(100% * 2091 / 2043.5);max-width:none;margin-left:calc(100% * 168 / 2259 * (1 - 2091 / 2043.5))}
}
@media(max-width:700px){
  .case-media .case-carousel .catalog-diagram-open[data-full*="permissions-table"]:not(#_):not(#_):not(#_){padding-top:calc(8px + (100% - 16px) * 184 / 1506);box-sizing:border-box;height:auto;aspect-ratio:4/3;overflow:hidden}
}
/* Spinnaker · Problem journeys: the maps fit the tile's height with a little room above and below, and run off both
   sides so the neighbouring stages show; the tile's inner shadow is drawn over them so they look set into the page. */
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_){padding:5.625% 0}
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;object-position:50% 50%}
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open:not(#_):not(#_):not(#_)::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;background:none;opacity:1;box-shadow:inset 0 2px 4px rgba(0,0,0,.08);pointer-events:none}
/* The viewer takes over the whole screen only on phones (portrait or turned sideways). On larger screens it is a
   window over the dimmed page, as before: centred, 24px from the edges, up to 1600px wide. */
@media(min-width:701px) and (min-height:501px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){inset:0;margin:auto;width:min(calc(100vw - 48px),1600px) !important;height:calc(100vh - 48px);height:calc(100dvh - 48px);border-radius:4px;box-shadow:0 8px 28px rgba(0,0,0,.16);overflow:hidden}
  .diagram-modal.dm2::backdrop{background:rgba(20,19,18,.5)}
  html:has(.diagram-modal.dm2[open]):not(#_):not(#_){scrollbar-gutter:stable}
}
/* The first section sits as far below the project facts as the sections sit from each other (180px; 48px on phones). */
.project-page .case-divider:not(#_):not(#_){margin-top:0}
.project-page .case-divider+.case-section:not(#_):not(#_){margin-top:180px}
@media(max-width:700px){.project-page .case-divider+.case-section:not(#_):not(#_):not(#_){margin-top:48px}}
/* Spinnaker · Approach: one tile per journey type (feature development, bug fix), each image the tile itself, showing the
   top of the stacked journeys; the tile's tint shows through the transparent background. */
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_){padding:0;aspect-ratio:4/3;overflow:hidden}
.case-media .case-carousel[aria-label="Research journeys"] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;transform:none}
/* Margins, after kristianphoenix.com: the landing page sits 128px in from the edges on larger screens (32px on
   tablets); project pages sit 48px in at every larger width, with no maximum content width, so the hero and the
   image tiles grow with the window. Phones stay at 16px. */
@media(min-width:701px){:root:not(#_):not(#_){--g:32px}}
@media(min-width:1024px){:root:not(#_):not(#_){--g:128px}}
@media(min-width:701px){
  body.project-page:not(#_):not(#_){--g:48px;--detail-page-gutter:48px;--project-gutter:48px}
  .project-page main.catalog-study:not(#_):not(#_):not(#_){--project-gutter:48px}
  .project-page main.catalog-study.catalog-study--wide:not(#_):not(#_){width:calc(100vw - 96px);max-width:none}
}
/* Section tiles at the reference site's size: the image tile takes 60% of the row and the text 40%, with 64px
   between the text and the tile (2-column layouts only). */
@media(min-width:1081px){
  .project-page .case-section:not(#_):not(#_):not(#_):not(#_){grid-template-columns:minmax(0,2fr) minmax(0,3fr);column-gap:0}
  .project-page .case-section>.case-text:not(#_):not(#_){padding-right:64px}
}
/* ===== Type sizes after kristianphoenix.com (fonts unchanged). Three sizes, each with a 1.25 line height:
   labels 16/20 (12/15 on phones), body text 24/30 (16/20 on phones), statements 32/40 (20/25 on phones).
   The Experience section (résumé) keeps its own type. ===== */
:root{--t-label:16px;--t-label-lh:20px;--t-body:24px;--t-body-lh:30px;--t-big:32px;--t-big-lh:40px}
@media(max-width:700px){:root{--t-label:12px;--t-label-lh:15px;--t-body:16px;--t-body-lh:20px;--t-big:20px;--t-big-lh:25px}}
:is(body>header .brand,header nav .contact-trigger,.work-caption .work-title,.tool-name,.site-footer-link,.site-footer-link span,.sheet-bar .sheet-title,.sheet-bar .sheet-project,.sheet-back,.case-fig,.case-fig-title,.catalog-facts dt,.catalog-facts dd,.catalog-facts .fact-line,.case-outcomes-list h3,.project-pagination .project-step,.project-highlights,.diagram-modal-heading):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-label);line-height:var(--t-label-lh)}
@media(min-width:701px){.work-caption .work-org:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-label);line-height:var(--t-label-lh)}}
/* tracked caps headings keep their tracking in proportion to the new size */
:is(body>header .brand,.sheet-bar .sheet-title):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){letter-spacing:.07em}
/* FIG. tags: the box keeps the same room around the letters */
:is(.case-copy,.case-wide,.diagram-modal) :is(.case-fig-num,.diagram-modal-fig):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-label);line-height:calc(var(--t-label) + 2px)}
:is(.case-copy p:not(.case-fig),.case-outcomes-list p,.case-outcomes .case-outcomes-intro):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-body);line-height:var(--t-body-lh)}
:is(.landing-statement,.intro-statement):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-big);line-height:var(--t-big-lh)}
/* Logos stay in proportion to the resized labels beside them. */
.sheet-bar .sheet-project .sheet-project-logo:not(#_):not(#_):not(#_):not(#_){width:calc(var(--t-label) * .6);height:var(--t-label)}
@media(min-width:701px){.work-caption .work-org img:not(#_):not(#_):not(#_):not(#_){width:9.6px;height:16px}}
@media(max-width:700px){
  .work-caption .work-org img:not(#_):not(#_):not(#_):not(#_){width:7.52px;height:12.58px}
}
/* Every section tile is 4:3, as on the reference site. */
.project-page .case-section .case-media :is(.case-slide>.catalog-diagram-open,.case-tile):not(#_):not(#_):not(#_):not(#_):not(#_){box-sizing:border-box;aspect-ratio:4/3;height:auto;overflow:hidden;align-self:flex-start}
/* ===== Project page rhythm after the reference site: 128px between every block (96px on phones) — title bar to the
   opening text, opening text to the hero, hero to the facts, facts to the first section, section to section, and the
   last section to the footer. Images sit before their text: on the left of the row on larger screens (text 64px from
   the image), above the caption and text on phones. ===== */
.project-page{--sp:128px}
@media(max-width:700px){.project-page{--sp:96px}}
.project-page main.catalog-study:not(#_):not(#_):not(#_){padding-top:var(--sp)}
.project-page main.catalog-study>.catalog-heading:not(#_):not(#_):not(#_){margin-top:0;margin-bottom:var(--sp)}
.project-page main.catalog-study>.catalog-video:not(#_):not(#_):not(#_){margin-top:0}
.project-page main.catalog-study>.catalog-facts:not(#_):not(#_):not(#_):not(#_){margin-top:var(--sp)}
.project-page .case-divider+.case-section:not(#_):not(#_):not(#_):not(#_){margin-top:var(--sp)}
.project-page .case-section:has(~ .case-section):not(:has(+ .case-wide)):not(#_):not(#_):not(#_):not(#_){margin-bottom:var(--sp)}
.project-page .case-wide[data-sheet-section]:not(#_):not(#_):not(#_):not(#_){margin-top:var(--sp)}
.project-page .case-wide+.case-section:not(#_):not(#_):not(#_):not(#_):not(#_),.project-page .case-wide[data-sheet-section]+.case-section:not(#_):not(#_):not(#_):not(#_):not(#_){margin-top:var(--sp)}
.project-page .case-outcomes:not(#_):not(#_):not(#_):not(#_){margin-top:var(--sp)}
.project-page .case-outcomes .case-outcomes-intro:not(#_):not(#_):not(#_):not(#_):not(#_){margin-top:var(--sp)}
.project-page main.catalog-study:not(#_):not(#_):not(#_){padding-bottom:var(--sp)}
@media(min-width:1081px){
  .project-page .case-section:not(#_):not(#_):not(#_):not(#_):not(#_){grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
  .project-page .case-section>.case-media:not(#_):not(#_):not(#_){grid-column:1;grid-row:1;order:0}
  .project-page .case-section>.case-text:not(#_):not(#_):not(#_){grid-column:2;grid-row:1;order:0;padding-right:0;padding-left:64px}
}
@media(max-width:1080px){
  .project-page .case-section>.case-text:not(#_):not(#_):not(#_){order:1}
  .project-page .case-section>.case-media:not(#_):not(#_):not(#_){order:0}
  .project-page .case-copy .case-fig:not(#_):not(#_):not(#_){order:-1;margin-top:0}
  .project-page .case-copy .case-fig+*:not(#_):not(#_):not(#_),.project-page .case-copy .case-fig~p:not(.case-fig):not(#_):not(#_):not(#_){margin-top:16px}
}
.project-page main.catalog-study:not(#_):not(#_):not(#_):not(#_){margin-top:0;margin-bottom:0}
.project-page footer#contact:not(#_):not(#_):not(#_){margin-top:0}
/* Spinnaker walkthrough video (hero and landing thumbnail): the recording's rounded window corners, with a soft shadow. */
video.sidr-hero-video:not(#_):not(#_){border-radius:.625%/1%;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
/* Spinnaker solution and early concept screens: each screen sits inside its tile with room around it, like a window on the page. */
.case-media .case-carousel:is([aria-label="Solution designs"],[aria-label="Early concepts"],[aria-label="Delivery view concepts"]) .catalog-diagram-open--fit.sidr-screen-tile:not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;align-items:center;justify-content:center;padding:68px 24px 24px}
@media(max-width:700px){.case-media .case-carousel:is([aria-label="Solution designs"],[aria-label="Early concepts"],[aria-label="Delivery view concepts"]) .catalog-diagram-open--fit.sidr-screen-tile:not(#_):not(#_):not(#_):not(#_):not(#_){padding:52px 16px 16px}}
.case-media .case-carousel:is([aria-label="Solution designs"],[aria-label="Early concepts"],[aria-label="Delivery view concepts"]) .sidr-screen-tile img.sidr-screen:not(#_):not(#_):not(#_):not(#_){display:block;flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;margin:0;object-fit:contain;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
/* Agents · permissions models: the stacked current and future flows fill their tile. */
.case-media .case-carousel .catalog-diagram-open[data-full*="permissions-models"]:not(#_):not(#_):not(#_):not(#_):not(#_){padding:0}
.case-media .case-carousel .catalog-diagram-open[data-full*="permissions-models"] img:not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;object-position:0 0}
/* Experience: project titles and roles at the size of the project titles and company names under the landing images
   (same font and colours already): 16/20, 12/15 on phones. */
.landing-experience .resume-document .document-job h3 :is(strong,.document-meta):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-label);line-height:var(--t-label-lh)}
/* Copy buttons (contact menu and footer): the same size, colour and line weight as the email, phone and LinkedIn icons
   beside them — a 16px-tall mark drawn in 70% black (90% on hover) with a 1.3px line. */
:is(.contact-menu .contact-copy,.site-footer .footer-copy):not(#_):not(#_):not(#_){width:24px;height:24px;color:rgba(0,0,0,.7)}
:is(.contact-menu .contact-copy,.site-footer .footer-copy):hover:not(#_):not(#_):not(#_){color:rgba(0,0,0,.9)}
:is(.contact-menu .contact-copy,.site-footer .footer-copy) svg:not(#_):not(#_):not(#_){width:21.333px;height:21.333px;flex-shrink:0}
:is(.contact-menu .contact-copy,.site-footer .footer-copy) svg :is(rect,path):not(#_):not(#_){stroke-width:1.4625}
/* Project pages: section text in 70% black. */
.project-page .case-copy p:not(.case-fig):not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.7)}
/* Project title bar: the project name (centre; first row on phones) in Space Grotesk caps, 60% black; the section
   name (left) in Space Grotesk caps, 90% black; both at the label size. */
.sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.6)}
.sheet-bar .sheet-title:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.9)}
/* The landing page's stand-in title bar (shown while a project loads) uses the project pages' 48px margins, so nothing
   shifts when the project appears. */
@media(min-width:701px){.sheet-bar.sheet-placeholder:not(#_):not(#_){--g:48px}}
/* Spinnaker · Problem journeys: each map shows its last stages, sitting the same distance in from the tile's top and
   right edges and running off the left and bottom. */
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_){padding:0}
.case-media .case-carousel[aria-label="Problem journeys"] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_):not(#_){object-fit:cover;object-position:100% 0}
/* Project title bar (larger screens): the landing header's height, and the project content's 48px side margins so
   the section name and Back line up with the page below. */
@media(min-width:701px){.sheet-bar:not(#_):not(#_):not(#_):not(#_){box-sizing:border-box;height:78px;padding-left:48px;padding-right:48px}}
/* Landing page margins match the project pages: 48px in from the edges at every larger width (phones stay 16px). */
@media(min-width:701px){:root:not(#_):not(#_):not(#_){--g:48px}}
/* Viewer arrows on larger screens match the zoom buttons: page-colored fill with a thin outline instead of white. */
@media(min-width:701px){
  .diagram-modal.dm2 :is(.diagram-modal-prev,.diagram-modal-next):not(#_):not(#_):not(#_):not(#_){border-radius:4px;background:var(--background);color:rgba(0,0,0,.7);box-shadow:inset 0 0 0 1px var(--line)}
  .diagram-modal.dm2 :is(.diagram-modal-prev,.diagram-modal-next):hover:not(#_):not(#_):not(#_):not(#_){background:var(--background);color:rgba(0,0,0,.9);box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
}
/* Viewer header: the zoom buttons sit at the top, centered, with a line under the header. On wide windows they share
   the title's row; narrower than 1120px (where the longest titles would reach them) they get a row of their own
   under the title. The footer now appears only for images with a note. */
.diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:absolute;left:50%;right:auto;top:58px;bottom:auto;z-index:3;display:flex;align-items:center;gap:8px;width:auto;height:auto;margin:0;padding:0;border:0;background:none;box-shadow:none;transform:translateX(-50%)}
.diagram-modal.dm2 .diagram-modal-figure:not(#_):not(#_):not(#_):not(#_){border-top:1px solid rgba(128,128,128,.2)}
.diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:104px}
.diagram-modal.dm2 .diagram-modal-foot:not(:has(.diagram-modal-note:not(:empty))):not(#_):not(#_):not(#_){display:none}
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_){grid-column:1/-1}
@media(min-width:1120px) and (min-height:501px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:56px}
  .diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:14px}
  .diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_):not(#_){right:calc(50% + 80px)}
}
@media(max-width:700px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:98px}
  .diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:46px}
}
@media(max-height:500px) and (min-width:701px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:94px}
  .diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:50px}
}
/* Résumé lines on the landing page run a little shorter. */
.landing-experience .resume-document :is(.document-note,.document-job ul,.document-entry>p):not(#_):not(#_){max-width:800px}
/* Viewer header spacing: the same space above, between and below the header's rows (16px on larger screens, 12px on
   phones), with the close button centered on the title, and the title and close icon the same distance from the
   left and right edges. */
.diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:105px}
.diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:16px}
.diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_):not(#_):not(#_){top:12.5px}
.diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:57px}
@media(min-width:1120px) and (min-height:501px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:64px}
  .diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:19.5px}
  .diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:16px}
  .diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:16px}
}
@media(max-width:700px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:97px}
  .diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:12px}
  .diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:6.5px}
  .diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:45px}
}
@media(max-height:500px) and (min-width:701px){
  .diagram-modal.dm2:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:93px}
  .diagram-modal.dm2 .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:12px}
  .diagram-modal.dm2 .diagram-modal-close:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:8.5px;right:max(8px,env(safe-area-inset-right,0px))}
  .diagram-modal.dm2>.diagram-modal-zoom:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:49px}
}
/* Project header: the Netflix logo centered on the project name's capitals. */
.sheet-bar .sheet-project .sheet-project-logo:not(#_):not(#_):not(#_):not(#_):not(#_){transform:translateY(-.875px)}
@media(max-width:700px){.sheet-bar .sheet-project .sheet-project-logo:not(#_):not(#_):not(#_):not(#_):not(#_){transform:translateY(-1.375px)}}
/* Landing card for the Agents project: its own framed cut of the video, so its poster shows while it loads. */
.work-card video.work-video[data-sync-video="dpai"]:not(#_){background:url("assets/dpai-agents-tile-poster-v3.webp") center/cover no-repeat,url("assets/dpai-agents-tile-poster-v3-640.webp") center/cover no-repeat,rgba(225,223,221,.2)}
/* Agents videos: square corners, so nothing near the app's top-left corner (the Netflix logo) is clipped. */
.catalog-video video.catalog-hero-media[data-sync-video="dpai"]:not(#_):not(#_):not(#_){border-radius:0}
.work-card .work-media:has(>video[data-sync-video="dpai"]):not(#_):not(#_):not(#_){border-radius:0}
/* Agents card: no inner-shadow overlay on its video. */
.work-card .work-media:has(>video[data-sync-video="dpai"]):not(#_):not(#_):not(#_)::after{content:none;box-shadow:none}
/* Technical Catalog videos match the Agents ones: square corners on the hero and the landing card, and no
   inner-shadow overlay on the card. */
.catalog-video video.catalog-hero-media[data-sync-video="tc"]:not(#_):not(#_):not(#_){border-radius:0}
.work-card .work-media:has(>video[data-sync-video="tc"]):not(#_):not(#_):not(#_){border-radius:0}
.work-card .work-media:has(>video[data-sync-video="tc"]):not(#_):not(#_):not(#_)::after{content:none;box-shadow:none}
/* Viewer note (e.g. "Some internal systems are blurred…"): no footer bar. The image area runs to the bottom of the
   viewer and the note floats over it, centered near the bottom, on a page-colored backing whose edges fade softly
   so it stays readable over the image. The note doesn't block panning or zooming around it. On phones it sits
   between the round previous / next buttons. */
.diagram-modal.dm2 .diagram-modal-foot:has(.diagram-modal-note:not(:empty)):not(#_):not(#_):not(#_):not(#_):not(#_){position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;justify-content:center;align-items:flex-end;box-sizing:border-box;height:auto;min-height:0;margin:0;padding:0 24px 24px;border:0;background:none;pointer-events:none}
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_){display:block;max-width:min(100%,720px);margin:0;padding:6px 16px;border-radius:999px;background:var(--background);box-shadow:0 0 16px 12px var(--background);text-align:center;pointer-events:auto}
@media(max-width:700px){
  .diagram-modal.dm2 .diagram-modal-foot:has(.diagram-modal-note:not(:empty)):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:center;height:56px;padding:0 84px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}
  .diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:4px 8px;box-shadow:0 0 12px 8px var(--background)}
}
@media(max-height:500px) and (min-width:701px){
  .diagram-modal.dm2 .diagram-modal-foot:has(.diagram-modal-note:not(:empty)):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}
}
/* Viewer note backing: a lighter, slightly see-through fade, so the diagram shows very softly behind the text. */
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){background:rgba(250,248,244,.78);box-shadow:0 0 10px 6px rgba(250,248,244,.7)}
@media(max-width:700px){.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){box-shadow:0 0 8px 5px rgba(250,248,244,.7)}}
/* Viewer note backing, without a visible edge: a page-colored layer behind the text that fades out to nothing on
   every side, so the note stays legible and the diagram shows softly through and around it. */
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:relative;isolation:isolate;padding:0;border-radius:0;background:none;box-shadow:none}
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_)::before{content:"";position:absolute;z-index:-1;inset:-22px -64px;background:rgba(250,248,244,.86);-webkit-mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent),linear-gradient(to bottom,transparent,#000 20px,#000 calc(100% - 20px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent),linear-gradient(to bottom,transparent,#000 20px,#000 calc(100% - 20px),transparent);mask-composite:intersect;pointer-events:none}
@media(max-width:700px){.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_)::before{inset:-14px -28px;-webkit-mask-image:linear-gradient(to right,transparent,#000 24px,#000 calc(100% - 24px),transparent),linear-gradient(to bottom,transparent,#000 12px,#000 calc(100% - 12px),transparent);mask-image:linear-gradient(to right,transparent,#000 24px,#000 calc(100% - 24px),transparent),linear-gradient(to bottom,transparent,#000 12px,#000 calc(100% - 12px),transparent)}}
/* Spinnaker videos match the Agents and Technical Catalog ones: the new export is cropped to the app window, with
   square corners. The hero gets the same shadow as the other heroes; the landing card has no inner-shadow overlay,
   and both show the poster while loading. */
.catalog-video video.catalog-hero-media.sidr-hero-video:not(#_):not(#_):not(#_){border-radius:0;box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04),inset 0 2px 4px rgba(0,0,0,.08)}
.work-card video.work-video.sidr-hero-video:not(#_):not(#_):not(#_){border-radius:0;box-shadow:none}
.work-card .work-media:has(>video[data-sync-video="sidr"]):not(#_):not(#_):not(#_){border-radius:0}
.work-card .work-media:has(>video[data-sync-video="sidr"]):not(#_):not(#_):not(#_)::after{content:none;box-shadow:none}
video[data-sync-video="sidr"]:not(#_){background:url("assets/sidr-walkthrough-v4-poster-2560.webp") center/cover no-repeat,url("assets/sidr-walkthrough-v4-poster-640.webp") center/cover no-repeat,rgba(225,223,221,.2)}
/* Viewer note backing, take 3: a wide, low-opacity oval glow that tapers gradually to nothing, so it never reads
   as a shape over soft or blurred parts of the image. */
.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_)::before{inset:-44px -128px;background:radial-gradient(closest-side,rgba(250,248,244,.72) 0%,rgba(250,248,244,.66) 35%,rgba(250,248,244,.46) 60%,rgba(250,248,244,.2) 82%,rgba(250,248,244,0) 100%);-webkit-mask-image:none;mask-image:none}
@media(max-width:700px){.diagram-modal.dm2 .diagram-modal-foot .diagram-modal-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_)::before{inset:-30px -56px}}
/* Agents · code review agent dashboard: fills its tile edge to edge (the dashboard is a touch wider than 4:3, so a
   sliver is trimmed from each side). */
.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"]:not(#_):not(#_):not(#_):not(#_):not(#_){padding:0;overflow:hidden}
.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"] img:not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;object-position:50% 0;transform:none}
/* Agents · code review agent dashboard, revised: shown whole (no side trimming), sitting on the bottom of its tile, with
   the thin strip above filled in the dashboard's own near-black so it reads as one piece. */
.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){background:#060606}
.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"] img:not(#_):not(#_):not(#_):not(#_):not(#_){object-fit:contain;object-position:50% 100%}
/* Agents · code review agent dashboard, revised again: an even margin of tile all around it, the dashboard centered with
   small rounded corners and a soft shadow, like the Spinnaker screens. */
.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:48px;background:none}
.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;object-fit:contain;border-radius:8px;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full*="cr-dashboard"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:20px}}
/* Reflection: its own short section after Impact, the paragraph set like the Tech Catalog closing paragraph, one
   section gap below the Impact cards. */
.project-page .case-outcomes.case-reflection:not(#_):not(#_):not(#_):not(#_){padding-top:0;border-top:0}
.project-page .case-reflection .case-outcomes-intro:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin-top:0}
/* Landing page résumé: one 800px column centered on the page (the dates sit at the column's right edge). */
.landing-experience .resume-embed:not(#_):not(#_):not(#_){box-sizing:border-box;width:100%;max-width:800px;margin-left:auto;margin-right:auto}
/* Landing page: Experience and Tools line up with the projects on the left. Experience is a row of company logos
   like the tools (four across, tools also four across); its title shows the company under the pointer. */
@media(min-width:701px){.landing-tools .tools-grid:not(#_):not(#_):not(#_):not(#_){grid-template-columns:repeat(4,minmax(0,1fr))}.landing-experience .experience-grid:not(#_):not(#_):not(#_):not(#_){grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Resume (opens the PDF in a new tab): the Contact button's size and style, on the right, its text on the Experience title's baseline. */
.landing-experience .experience-head:not(#_):not(#_):not(#_):not(#_){display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.landing-experience .experience-download:not(#_):not(#_):not(#_):not(#_){display:inline-flex;align-items:center;gap:7px;width:auto;height:28px;box-sizing:border-box;margin:0;padding:4px 5.75px 4px 7.23px;border-radius:4px;font:400 16px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.64px;text-transform:uppercase;white-space:nowrap;color:rgba(0,0,0,.7);background:none;box-shadow:inset 0 0 0 1px rgba(128,128,128,.2);text-decoration:none;transition:color .15s ease,box-shadow .15s ease}
.landing-experience .experience-download:is(:hover,:focus-visible):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.9);background:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.3);text-decoration:none}
.landing-experience .experience-download svg:not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:12px;height:12px;transform:none}
/* Company logos: flat black like the tools, in color on hover (always in color on phones), sized relative to each other
   as in the résumé design, the Netflix N as tall as a tool logo. */
.landing-experience:not(#_):not(#_):not(#_):not(#_){--exp-u:calc(clamp(36px,4vw,56px) / 66)}
@media(max-width:700px){.landing-experience:not(#_):not(#_):not(#_):not(#_){--exp-u:calc(56px / 66)}}
.experience-grid .exp-logo--netflix:not(#_):not(#_):not(#_):not(#_){width:calc(var(--exp-u) * 39.65);height:calc(var(--exp-u) * 66.08)}
.experience-grid .exp-logo--windows:not(#_):not(#_):not(#_):not(#_){width:calc(var(--exp-u) * 58.14);height:calc(var(--exp-u) * 58.14)}
.experience-grid .exp-logo--outlook:not(#_):not(#_):not(#_):not(#_){width:calc(var(--exp-u) * 80.3);height:calc(var(--exp-u) * 73.98)}
.experience-grid .exp-logo--viva:not(#_):not(#_):not(#_):not(#_){width:calc(var(--exp-u) * 76);height:calc(var(--exp-u) * 76)}
/* Logos at an even visual weight across Experience and Tools: each scaled by its ink and footprint (solid logos a
   little smaller, outline ones a little larger). Tools in page order: Claude Code, Codex, Figma, Dovetail. */
.landing-tools:not(#_):not(#_):not(#_):not(#_){--tool-base:clamp(36px,4vw,56px)}
@media(max-width:700px){.landing-tools:not(#_):not(#_):not(#_):not(#_){--tool-base:56px}}
.landing-tools .tools-grid .tool:nth-child(1) .tool-logo:not(#_):not(#_):not(#_):not(#_){width:calc(var(--tool-base) * 0.988);height:calc(var(--tool-base) * 0.988)}
.landing-tools .tools-grid .tool:nth-child(2) .tool-logo:not(#_):not(#_):not(#_):not(#_){width:calc(var(--tool-base) * 1.101);height:calc(var(--tool-base) * 1.101)}
.landing-tools .tools-grid .tool:nth-child(3) .tool-logo:not(#_):not(#_):not(#_):not(#_){width:calc(var(--tool-base) * 1.205);height:calc(var(--tool-base) * 1.205)}
.landing-tools .tools-grid .tool:nth-child(4) .tool-logo:not(#_):not(#_):not(#_):not(#_){width:calc(var(--tool-base) * 1.04);height:calc(var(--tool-base) * 1.04)}
/* Project titles sit above their thumbnails, as far from them as they used to sit below. */
.work-item:not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column}
.work-item .work-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){order:-1;margin-top:0;margin-bottom:16px}
@media(max-width:700px){.work-item .work-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin-bottom:12px}}
/* Agents · user interview quotes: the quote cards fill their tile. */
.case-media .case-carousel .catalog-diagram-open[data-full*="research-quotes"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;padding:0;overflow:hidden}
.case-media .case-carousel .catalog-diagram-open[data-full*="research-quotes"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;transform:none}
/* Agents · alert triage structure: framed like the dashboard, the diagram centered with an even margin of tile around it. */
.case-media .case-carousel .catalog-diagram-open[data-full*="alert-triage"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:48px;overflow:hidden}
.case-media .case-carousel .catalog-diagram-open[data-full*="alert-triage"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;margin:0;object-fit:contain;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09);transform:none}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full*="alert-triage"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:20px}}
.case-media .case-carousel .catalog-diagram-open[data-full*="alert-triage"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){border-radius:0;box-shadow:none}
.case-media .case-carousel .catalog-diagram-open.dpai-maps-tile[data-full*="alert-triage"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;padding:0}
.case-media .case-carousel .catalog-diagram-open.dpai-maps-tile[data-full*="alert-triage"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){flex:none;width:100%;height:auto;max-width:none;max-height:none}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open.dpai-maps-tile[data-full*="alert-triage"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:0}}
/* Agents · full-width diagram tiles below their sections: the same tile color and inset as the carousel tiles, the diagram inside with an even margin. */
.project-page .case-wide.dpai-wide-tile[data-sheet-section] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_){display:block;box-sizing:border-box;width:100%;height:auto;aspect-ratio:auto;padding:56px;border-radius:4px;background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
.project-page .case-wide.dpai-wide-tile[data-sheet-section] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:auto;max-width:none;max-height:none;margin:0;border-radius:0;object-fit:fill;transform:none}
@media(max-width:700px){.project-page .case-wide.dpai-wide-tile[data-sheet-section] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_){padding:24px}}
/* Agents · every image tile keeps the tile's inner shadow on top of its picture or video, so full-bleed images match the others. */
.case-section[aria-labelledby^="dpai-"] .case-media .case-carousel:not(#_):not(#_):not(#_):not(#_){box-shadow:none}
.case-section[aria-labelledby^="dpai-"] .case-media .case-carousel:not(#_):not(#_):not(#_):not(#_)::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;box-shadow:inset 0 2px 4px rgba(0,0,0,.08);pointer-events:none}
/* Fig badges: the text sits centered in its border with the same space on all four sides */
@supports (text-box: trim-both cap alphabetic){:is(.case-copy,.case-wide,.diagram-modal) :is(.case-fig-num,.diagram-modal-fig):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){text-box:trim-both cap alphabetic;padding:5.745px 4.2px 5.905px 4.1px}@media(max-width:700px){:is(.case-copy,.case-wide,.diagram-modal) :is(.case-fig-num,.diagram-modal-fig):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:5.065px 4.08px 5.385px 3.78px}}}
/* Tile video centered in its tile, with a little space at the left and right */
.case-media .case-carousel .catalog-diagram-open.catalog-diagram-open--center:not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden}
.case-carousel .catalog-diagram-open--center video.case-tile-video:not(#_):not(#_):not(#_):not(#_){flex:none;width:calc(100% - 48px);max-width:none;height:auto;margin:0;border-radius:4px;object-fit:contain;object-position:50% 50%}
@media(max-width:700px){.case-carousel .catalog-diagram-open--center video.case-tile-video:not(#_):not(#_):not(#_):not(#_){width:calc(100% - 32px)}}
/* Contact dropdown items use the footer's link type */
.contact-menu li>a:not(#_):not(#_):not(#_),.contact-menu li>.contact-value:not(#_):not(#_):not(#_){font-family:'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.54)}
.contact-menu li:is(:hover,:focus-within)>a:not(#_):not(#_):not(#_){color:rgba(0,0,0,.9)}

/* Agents · Roadmap proposals and Permissions industry analysis tiles: the image starts as far from the tile's left
   edge as from its top (40px, 24px on phones) and runs off the right and bottom. */
.case-media .case-carousel .catalog-diagram-open:is([data-full*="roadmap-doc"],[data-full*="permissions-table"]):not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:40px 0 0 40px;box-sizing:border-box;aspect-ratio:4/3;height:auto;overflow:hidden}
.case-media .case-carousel .catalog-diagram-open:is([data-full*="roadmap-doc"],[data-full*="permissions-table"]) img:not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;max-width:none;height:auto;margin:0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open:is([data-full*="roadmap-doc"],[data-full*="permissions-table"]):not(#_):not(#_):not(#_):not(#_){padding:24px 0 0 24px}}
/* Roadmap doc tile: the doc fills the tile past the top and left padding, so it bleeds off the bottom and right */
.case-media .case-carousel .catalog-diagram-open[data-full*="roadmap-doc"]:not(#_):not(#_):not(#_):not(#_):not(#_){position:relative;display:block}
.case-media .case-carousel .catalog-diagram-open[data-full*="roadmap-doc"] img:not(#_):not(#_):not(#_):not(#_):not(#_){position:absolute;left:40px;top:40px;width:calc(100% - 40px);height:calc(100% - 40px);object-fit:cover;object-position:left top}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full*="roadmap-doc"] img:not(#_):not(#_):not(#_):not(#_):not(#_){left:24px;top:24px;width:calc(100% - 24px);height:calc(100% - 24px)}}

/* Spinnaker · User quotes tile: the quote cards are cropped to their own height and fill the tile's width, with a
   small even margin (24px, 12px on phones), so the quotes read larger. */
.case-media .case-carousel .catalog-diagram-open[data-full*="cd-user-quotes"]:not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;box-sizing:border-box;aspect-ratio:4/3;height:auto}
.case-media .case-carousel .catalog-diagram-open[data-full*="cd-user-quotes"] img:not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;max-width:none;height:auto;margin:0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full*="cd-user-quotes"]:not(#_):not(#_):not(#_):not(#_){padding:12px}}

/* Spinnaker · persona journeys: the stacked journey maps sit whole in their full-width tile. */
.case-media.case-wide .case-carousel--wide[aria-label="Persona journeys"] .catalog-diagram-open img:not(#_):not(#_){aspect-ratio:7164/4198;object-fit:contain;object-position:center}
.case-media.case-wide .case-carousel--wide[aria-label="Persona journeys"] .catalog-diagram-open img[src*="-row-v"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){aspect-ratio:4.75;object-fit:contain;object-position:center}
/* Spinnaker · time-split pie chart: the chart sits in the middle of its tile. */
.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-time-survey"]:not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 56px;box-sizing:border-box;aspect-ratio:4/3;height:auto}
.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-time-survey"] img:not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;max-width:none;height:auto;margin:0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-time-survey"]:not(#_):not(#_):not(#_):not(#_){padding:0 40px}}

/* Spinnaker · full-width journey maps: keep each map's own proportions inside the shared tile shape. */
.case-media.case-wide .case-carousel--wide[aria-label="Journey maps"] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){object-fit:contain;object-position:center}

/* Spinnaker · persona journeys: flows sit closer to the tile edges. */
.case-media.case-wide .case-carousel--wide[aria-label="Persona journeys"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:24px}

/* Spinnaker · early and delivery view concepts: tile videos sit in the tile like the screen beside it. */
.case-media .case-carousel:is([aria-label="Early concepts"],[aria-label="Delivery view concepts"],[aria-label="Solution designs"]) .sidr-screen-tile video.sidr-screen:not(#_):not(#_):not(#_):not(#_){display:block;flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;margin:0;object-fit:contain;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09)}

/* Technical Catalog · ownership data: the card fills its tile, which has the same 4:3 shape. */
.case-section[aria-labelledby="tc-problem-label"] .catalog-diagram-open[data-full*="tc-ownership-data"] img:not(#_):not(#_):not(#_):not(#_){position:static;inset:auto;display:block;width:100%;height:100%;max-width:none;margin:0;transform:none;object-fit:contain;object-position:50% 50%}

/* Technical Catalog · mental model map: the whole map in view, centered, with a little room on either side. */
.case-media .case-carousel[aria-label="Research artifacts"] .catalog-diagram-open--fit[data-full*="tc-research-flow"]:not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 24px}
.case-media .case-carousel[aria-label="Research artifacts"] .catalog-diagram-open--fit[data-full*="tc-research-flow"]:not(#_):not(#_):not(#_):not(#_):not(#_)>img{flex:none;width:100%;height:auto;min-height:0;max-width:100%;object-fit:contain;object-position:50% 50%}
@media(max-width:700px){.case-media .case-carousel[aria-label="Research artifacts"] .catalog-diagram-open--fit[data-full*="tc-research-flow"]:not(#_):not(#_):not(#_):not(#_):not(#_){padding:0 12px}}

/* Spinnaker · portal navigation videos: centered in the pie chart's 4:3 tile with a little room on every side. */
.case-media .case-carousel[aria-label="Survey data"] .catalog-diagram-open.sidr-nav-tile:not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;height:auto;padding:24px 56px;box-sizing:border-box}
.case-media .case-carousel[aria-label="Survey data"] .sidr-nav-tile video.sidr-nav:not(#_):not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;height:auto;max-width:100%;max-height:100%;margin:0;object-fit:contain;border-radius:4px;transform:none}
@media(max-width:700px){.case-media .case-carousel[aria-label="Survey data"] .catalog-diagram-open.sidr-nav-tile:not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px}}

/* Spinnaker · usage table: the card image (with its own margins) fills the 4:3 tile. */
.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-usage-features"]:not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;aspect-ratio:4/3;height:auto}
.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-usage-features"] img:not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;height:100%;max-width:none;margin:0;object-fit:contain;transform:none}

/* FIG. captions: the title sits on the same baseline as the FIG. number (both page captions and modal headings). */
:is(.case-copy,.case-wide) .case-fig:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
.diagram-modal .diagram-modal-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-research-takeaways"]:not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;aspect-ratio:4/3;height:auto}
.case-media .case-carousel .catalog-diagram-open[data-full*="sidr-research-takeaways"] img:not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;height:100%;max-width:none;margin:0;object-fit:contain;transform:none}
/* phones: header name and Contact match the résumé employer names and the Experience/Tools labels (16px) */
@media(max-width:700px){:is(body>header .brand,header nav .contact-trigger):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:16px;line-height:20px}}
/* phones: the landing statement stacks on three set lines, sized so "engineering experiences" spans the text column */
@media(max-width:700px){:is(.landing-statement):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:calc((100vw - 2 * var(--g)) * .0879);line-height:1.27;text-wrap:wrap}.landing-statement .statement-line{display:block;white-space:nowrap}}
/* ===== Phones only: project names, project headers, openers and section spacing (Oct 25) ===== */
@media(max-width:700px){
  /* Netflix logomarks match the N in the résumé logo (17.53px box, ink 505/527 tall); project names match the
     Experience/Tools labels (16px). */
  :is(.work-caption .work-org img,.sheet-bar .sheet-project img):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){width:10.08px;height:16.8px;flex:none}
  .work-caption .work-title:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:16px;line-height:20px}
  /* Project header: only the section title, on one row with Back, same padding above and below. */
  .sheet-bar:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:space-between;gap:16px;height:auto;padding:16px var(--g)}
  .sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:none}
  .sheet-bar :is(.sheet-title,.sheet-back):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:16px;line-height:20px}
  /* Project name above the opener in the large Tiempos; the opener at the section blurb size. */
  .project-page main.catalog-study>.catalog-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:12px}
  .project-page main.catalog-study>.catalog-heading h1:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip:auto;border:0;white-space:normal;font:400 var(--t-big)/var(--t-big-lh) 'Tiempos Text',Georgia,'Times New Roman',serif;letter-spacing:-.005em;text-transform:none;color:rgba(0,0,0,.9)}
  .project-page main.catalog-study>.catalog-heading :is(.catalog-intro,.intro-statement):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin:0}
  .project-page main.catalog-study>.catalog-heading .intro-statement:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:var(--t-body);line-height:var(--t-body-lh)}
  /* Opener to hero matches a section's image-to-text distance (12px, set above); sections sit closer together. */
  .project-page{--sp:64px}
}
/* Viewer: videos have no zoom buttons (the script hides them). */
.diagram-modal .diagram-modal-zoom[hidden]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:none}
/* Without the zoom row the header is just the title row, keeping the same spacing (12px on phones, 16px up to 1119px;
   wider windows put the zoom buttons in the title's row, so nothing changes there). */
@media(max-width:700px){.diagram-modal.dm2:has(>.diagram-modal-zoom[hidden]):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:45px}}
@media(min-width:701px) and (max-width:1119px){.diagram-modal.dm2:has(>.diagram-modal-zoom[hidden]):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:57px}}
/* Contact, Back and the footer arrows: one button style. The outline eases with the text color on hover, so Contact's
   border no longer snaps darker; icon-to-text spacing is Contact's 7px; on phones the icon-only arrows are 28px like
   Contact and Back. */
:is(header nav .contact-trigger,.sheet-back,.project-pagination .project-step):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){transition:color .15s ease,box-shadow .15s ease}
.project-pagination .project-step:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){gap:7px}
@media(max-width:700px){.project-pagination .project-step:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){width:28px;height:28px;min-height:0;padding:0}}
/* Phones: project names on project pages at the landing statement's size (the last line of the statement spans the
   text column). */
@media(max-width:700px){.project-page main.catalog-study>.catalog-heading h1:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:calc((100vw - 2 * var(--g)) * .0879);line-height:1.27}}
/* Phones: the space under the project name matches the space between the header and the name. */
@media(max-width:700px){.project-page main.catalog-study>.catalog-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){gap:var(--sp)}}
/* Phones: résumé job titles and roles at the Experience label's size (16px, as on desktop). */
@media(max-width:700px){.landing-experience .resume-document .document-job h3 :is(strong,.document-meta):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:16px;line-height:20px}}
/* Phones: opener to hero video = hero video to the project facts. */
@media(max-width:700px){.project-page main.catalog-study>.catalog-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin-bottom:var(--sp)}}
/* Phones: the project name sits the header's own padding (16px) below the header, with the same space under it. */
@media(max-width:700px){.project-page main.catalog-study:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:16px}
  .project-page main.catalog-study>.catalog-heading:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){gap:16px}}
/* Full-width tiles: the caption sits inside the tile, top center, with the image moved down under it
   (24px from the top and 32px to the image on larger screens; 16px and 16px on phones). The caption lets clicks
   through, so the whole tile still opens the viewer. */
main>.case-wide.dpai-wide-tile:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:relative}
main>.case-wide.dpai-wide-tile>.case-fig--wide:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:absolute;z-index:3;top:24px;left:0;right:0;justify-content:center;margin:0;pointer-events:none}
main>.case-wide.dpai-wide-tile .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:calc(24px + 25px + 32px)}
@media(max-width:700px){
  main>.case-wide.dpai-wide-tile>.case-fig--wide:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:16px}
  main>.case-wide.dpai-wide-tile .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:calc(16px + 21px + 16px)}
}
/* Tiles with a phone version of their full image (the ownership transfer cards): the card sits on the tile with even
   padding, like the usage table and Key takeaways. */
.case-media .case-carousel .catalog-diagram-open[data-full-phone]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;padding:32px;box-sizing:border-box;aspect-ratio:4/3;height:auto}
.case-media .case-carousel .catalog-diagram-open[data-full-phone] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;height:100%;max-width:none;margin:0;object-fit:contain;transform:none}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full-phone]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px}}
/* Full-width tiles: equal space above the caption, between the caption and the image, and under the image
   (the largest of the three: 56px on larger screens, 24px on phones). */
main>.case-wide.dpai-wide-tile>.case-fig--wide:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:56px}
main>.case-wide.dpai-wide-tile .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:calc(56px + 25px + 56px);padding-bottom:56px}
@media(max-width:700px){
  main>.case-wide.dpai-wide-tile>.case-fig--wide:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){top:24px}
  main>.case-wide.dpai-wide-tile .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:calc(24px + 21px + 24px);padding-bottom:24px}
}
/* Centering pass: images and videos sit centered in their tiles. */
/* Screen recordings and the summary screen (Early concepts, Delivery view concepts, Solution designs): the extra top
   padding was room for an in-tile caption that now sits under the tile, so the padding is even on all sides. */
.case-media .case-carousel .catalog-diagram-open--fit.sidr-screen-tile:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:24px}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open--fit.sidr-screen-tile:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px}}
/* Agent journey crops: the diagrams sit at the vertical center of the tile (the triage map was drawn 4.4% low). */
.case-media .catalog-diagram-open[data-full*="dpai-journey-investigation"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){transform:none}
.case-media .catalog-diagram-open[data-full*="dpai-journey-coding"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){transform:none}
/* Corner crops (bulk edit bar, edit metadata workaround): the same space above as on the left. */
.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:24px}
@media(max-width:700px){.case-section[aria-labelledby="tc-constraints-label"] .case-media .case-carousel .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:16px}}
/* Phones: crops that run off the bottom start the same distance from the top as from the sides. */
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open:is(.catalog-diagram-open--top):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),
  .case-media .case-carousel[aria-label="Audit of software and data ownership systems"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:40px}}
/* IA videos (Figs 7–8) are transparent, composited on the tile color, with the window's margin built in: the video
   spans the tile width, centered, with no rounding. */
.case-media .case-carousel[aria-label="Survey data"] .catalog-diagram-open.sidr-nav-tile:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:0}
.case-media .case-carousel[aria-label="Survey data"] .sidr-nav-tile video.sidr-nav:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){border-radius:0}
/* IA model 3 tile: padding on the left only; the video runs 5px past the top, right and bottom edges so its cropped edges stay hidden */
.case-media .case-carousel[aria-label="Survey data"] .catalog-diagram-open.sidr-nav-tile:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;position:relative;overflow:hidden}
.case-media .case-carousel[aria-label="Survey data"] .sidr-nav-tile video.sidr-nav:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:absolute;left:24px;top:-5px;width:calc(100% - 19px);height:calc(100% + 10px);max-width:none;max-height:none;object-fit:cover;object-position:left top}
@media(max-width:700px){.case-media .case-carousel[aria-label="Survey data"] .sidr-nav-tile video.sidr-nav:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){left:16px;top:-5px;width:calc(100% - 11px);height:calc(100% + 10px)}}
/* Fig 9 (cleanup prompts): the tile shows the start of the transfer flow (the first two dialogs) and bleeds off the
   tile's right edge; the viewer shows the whole flow. */
/* Transfer flow tile: the image is placed absolutely (Safari ignores a percentage height here), padded on the top, left and bottom and bleeding off the right */
.case-media .case-carousel[aria-label="Transfer flow"] .catalog-diagram-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;position:relative;aspect-ratio:4/3;height:auto;padding:0;box-sizing:border-box;overflow:hidden}
.case-media .case-carousel[aria-label="Transfer flow"] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:absolute;display:block;left:40px;top:40px;width:calc(100% - 40px);height:calc(100% - 80px);max-width:none;max-height:none;margin:0;object-fit:cover;object-position:0 50%;transform:none}
@media(max-width:700px){.case-media .case-carousel[aria-label="Transfer flow"] .catalog-diagram-open img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){left:24px;top:24px;width:calc(100% - 24px);height:calc(100% - 48px)}}
/* Exploration designs, metadata error walkthrough and bulk edit bar walkthrough: the screen starts at the tile padding and bleeds
   off the right and bottom edges, cropped so the whole dialog stays in the frame; the viewer plays the full screen. */
.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open[data-video*="tc-metadata-fix"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open[data-video*="tc-bulk-responsive"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;aspect-ratio:4/3;height:auto;padding:24px 0 0 24px;box-sizing:border-box;overflow:hidden}
.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open[data-video*="tc-metadata-fix"] video.case-tile-video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open[data-video*="tc-bulk-responsive"] video.case-tile-video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;object-position:0 0;border-radius:4px 0 0 0;box-shadow:0 1px 1px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.09);transform:none}
@media(max-width:700px){.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open[data-video*="tc-metadata-fix"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),.case-media .case-carousel[aria-label="Exploration designs"] .catalog-diagram-open[data-video*="tc-bulk-responsive"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px 0 0 16px}}
/* Fig 6 (emotions map): the whole map centered in the tile, with the same padding the comparison image had. */
.case-media .case-carousel .catalog-diagram-open[data-full*="tc-transfer-emotions"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;height:auto;padding:24px;box-sizing:border-box}
.case-media .case-carousel .catalog-diagram-open[data-full*="tc-transfer-emotions"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain;object-position:50% 50%;transform:none;border-radius:0}
@media(max-width:700px){.case-media .case-carousel .catalog-diagram-open[data-full*="tc-transfer-emotions"]:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px}}
/* ===== Alignment that holds in Safari ===== */
/* Safari sets a font inside its line a little differently from Chrome, so anything centred against a text box (a logo,
   an icon, a square) lands a fraction of a pixel off there. These sit on the text's baseline instead and are lifted by
   half the capital height (Space Grotesk and Avenir capitals are .7em tall), which both browsers agree on. */
.landing-experience .resume-document .document-company .document-logo:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline;position:relative;left:auto;top:auto;margin-top:-4px;transform:translateY(calc(50% - .354em))}
.landing-experience .resume-document .document-company .document-logo-netflix:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){transform:translateY(calc(50% - .354em + .125px))}
.landing-experience .resume-document .document-company .document-logo-microsoft:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){transform:translateY(calc(50% - .354em + .375px))}
.contact-menu li>a:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline}
.contact-menu li>.contact-icon-slot:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline;margin-top:-8px}
.contact-menu li>.contact-icon-slot>*:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){transform:translateY(calc(50% - .35em))}
.project-page .case-outcomes-list>li h3:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
.project-page .case-outcomes-list>li h3:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_)::before{align-self:baseline;transform:translateY(calc(50% - .35em))}
.sheet-bar .sheet-project:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
.sheet-bar .sheet-project .sheet-project-logo:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline;transform:translateY(calc(50% - .35em))}
@media(min-width:701px){
  .work-caption .work-org:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
  /* the project name stays where it was; the company name now lines up with it */
  .work-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:3px}
  .work-caption .work-org img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline;margin-top:-2px;transform:translateY(calc(50% - .35em))}
  .site-footer .site-footer-link:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
  .site-footer .site-footer-link>.site-footer-icon:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline;margin-top:-2px;transform:translateY(calc(50% - .35em))}
}
@media(max-width:700px){
  .work-caption.work-caption:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-items:baseline}
  .work-caption .work-org img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:baseline;margin-top:-2px;transform:translateY(calc(50% - 5.6px))}
}
/* Labels in outlined boxes (Contact, Back, Previous / Next): the label is trimmed to its capitals so the box centres
   the letters themselves. Browsers without text trimming (older Safari) get the 3/4px drop Safari needs instead. */
:is(header nav .contact-trigger,.sheet-back,.project-pagination .project-step):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){height:28px}
@supports (text-box: trim-both cap alphabetic){
  :is(header nav .contact-trigger>.contact-trigger-label,.sheet-back>span,.project-pagination .project-step>span):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){text-box:trim-both cap alphabetic}
}
@supports not (text-box: trim-both cap alphabetic){
  :is(header nav .contact-trigger>.contact-trigger-label,.sheet-back>span,.project-pagination .project-step>span):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){position:relative;top:.75px}
  :is(.case-copy,.case-wide,.diagram-modal) :is(.case-fig-num,.diagram-modal-fig):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:2.75px;padding-bottom:2.25px}
}
/* Footer: the LinkedIn copy button sits 8px to the left of its link (it had lost its place and covered the icon). */
.site-footer .site-footer-item:has(a[href*="linkedin.com"]) .footer-copy:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){left:auto;right:calc(100% + 8px)}
/* Previous / Next in the sheet: the incoming page's frame stays invisible until it's ready, then replaces the current one. */
.sheet-panel iframe.sheet-next:not(#_):not(#_):not(#_){opacity:0 !important;pointer-events:none}
/* Experience résumé link: plain text link (no button outline), same text style. */
.landing-experience .experience-download:not(#_):not(#_):not(#_):not(#_):not(#_){padding:0;box-shadow:none}
.landing-experience .experience-download:is(:hover,:focus-visible):not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.9);box-shadow:none}
.landing-experience .experience-download:is(:hover,:focus-visible) .experience-download-label:not(#_){text-decoration:underline;text-underline-offset:3px}
/* Header résumé link: text matching Contact; on hover an open arrow fades in where Contact's caret sits (12px box, 7px after the text), in the caret's color. 24px from the arrow ink to Contact. */
header nav:has(> .nav-resume-item):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){gap:21.75px;flex-wrap:nowrap;flex-shrink:0}
header nav .nav-resume-item:not(#_){position:relative;display:flex;align-items:center;height:28px}
header nav .nav-resume:not(#_):not(#_):not(#_):not(#_){display:block;height:auto;box-sizing:border-box;padding:8px 19px 8px 0;font:400 16px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.64px;text-transform:uppercase;white-space:nowrap;color:rgba(0,0,0,.7);text-decoration:none;transition:color .15s ease}
header nav .nav-resume:is(:hover,:focus-visible):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.9);text-decoration:none}
header nav .nav-resume-icon:not(#_):not(#_){position:absolute;right:0;top:8px;width:12px;height:12px;transform:none;color:rgba(0,0,0,.7);opacity:0;pointer-events:none;transition:opacity .15s ease}
header nav .nav-resume:is(:hover,:focus-visible)+.nav-resume-icon:not(#_):not(#_){opacity:1}
/* Resume sits level with Contact in every browser: its label is trimmed to its capitals and centred in the same 28px height as the Contact label (browsers without text trimming get the same small drop as Contact). */
@supports (text-box: trim-both cap alphabetic){header nav .nav-resume:not(#_):not(#_):not(#_):not(#_){text-box:trim-both cap alphabetic}}
@supports not (text-box: trim-both cap alphabetic){header nav .nav-resume:not(#_):not(#_):not(#_):not(#_){position:relative;top:.75px}}
@media(hover:none){header nav .nav-resume:not(#_):not(#_):not(#_):not(#_){padding-right:0}
header nav .nav-resume-icon:not(#_):not(#_){display:none}
header nav:has(> .nav-resume-item):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){gap:24px}}
/* Contact trigger: no outline; same text style, color and hover color as Resume. Text sits flush (no side padding). */
header nav .contact-trigger:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_),header nav .contact-trigger:is(:hover,:focus-visible,[aria-expanded="true"]):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){background:transparent;box-shadow:none;padding-left:0;padding-right:0;font:400 16px/20px 'Space Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.64px;text-transform:uppercase;transition:color .15s ease}
header nav .contact-trigger:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.7)}
header nav .contact-trigger:is(:hover,:focus-visible,[aria-expanded="true"]):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.9)}
/* Cleaning up the clutter tile: the Transfer details modal bleeds off the right with its critical / non-critical lines out of view; equal padding left, top and bottom. Sized from the 3138x2092 tile image (content 35..2982 wide, 34..2023 tall). */
.case-media .case-carousel[aria-label="Transfer flow"] .catalog-diagram-open[data-full*="tc-constraints-access"] img:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){left:4.335%;top:5.82%;width:101.09%;height:auto;object-fit:fill;object-position:0 0}
/* Project pages: hero sized like the section tiles, with the opening paragraph and the facts in the text column beside it (stacked below it under 1081px). */
.project-page .project-hero:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;margin:0}
.project-page .project-hero .catalog-video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){box-sizing:border-box;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;width:100%;max-width:none;margin:0;padding:24px;border-radius:4px;background:rgba(225,223,221,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}
.project-page .project-hero .catalog-intro:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;max-width:620px;margin:32px 0 0}
.project-page .project-hero .intro-statement:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin:0;font:400 24px/30px 'Tiempos Text',Georgia,serif;letter-spacing:normal;color:rgba(0,0,0,.9)}
.project-page .project-hero .catalog-facts--rows:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin:40px 0 0}
@media(min-width:701px){.project-page .catalog-study--wide .catalog-heading--split:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin-bottom:0}
.project-page main.catalog-study:has(> .project-hero):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-top:78px}}
@media(min-width:1081px){.project-page .project-hero:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:grid;grid-template-columns:60% 40%;align-items:end}
.project-page .project-hero-side:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){align-self:end;padding-left:64px;min-width:0}
.project-page .project-hero .catalog-intro:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){max-width:540px;margin:0}}
@media(max-width:700px){.project-page .project-hero .catalog-video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px}
.project-page .project-hero .catalog-intro:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin-top:24px}
.project-page .project-hero .intro-statement:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){font-size:16px;line-height:20px}
.project-page .project-hero .catalog-facts--rows:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){margin-top:24px}}
/* Project pages: the opening paragraph and all section paragraphs (including Outcomes) in black 70%. */
.project-page :is(.project-hero .intro-statement,.case-section .case-copy p:not(.case-fig),.case-outcomes p):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.7)}
/* Project pages: the hero video sits centred in its 4:3 tile (same height as the section tiles); facts' second column starts halfway across. */
.project-page .project-hero .catalog-video>video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){flex:none;width:100%;height:auto;max-height:100%}
.project-page .catalog-facts--rows>div:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){grid-template-columns:50% 50%;column-gap:0}
.project-page .catalog-facts--rows dt:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding-right:16px;color:rgba(0,0,0,.6)}
.project-page .catalog-facts--rows :is(dd,dd .fact-line):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.7)}
/* Project hero: the whole tile is a button that opens the video in the viewer, titled with the project name. */
.project-page .project-hero .catalog-video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:0}
.project-page .project-hero .catalog-video>.hero-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;margin:0;padding:24px;border:0;border-radius:4px;background:none;box-shadow:none}
.project-page .project-hero .hero-open>video:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){display:block;flex:none;width:100%;height:auto;max-height:100%}
@media(max-width:700px){.project-page .project-hero .catalog-video>.hero-open:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){padding:16px}}
/* Hero videos keep their page shadow in the viewer (a box-shadow, not the drop-shadow filter used for transparent clips). */
.diagram-modal--elevate .diagram-modal-video:is([src*="tc-transfer-v4"],[src*="dpai-agents-v"],[src*="sidr-walkthrough-v4"]):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_){filter:none;box-shadow:0 1px 2px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.04)}
/* Project pages: space between sections equals the header height (78px; 61px on phones). */
.project-page:not(#_):not(#_):not(#_):not(#_){--sp:78px}
@media(max-width:700px){.project-page:not(#_):not(#_):not(#_):not(#_){--sp:61px}}
/* Signed-out page: only the intro and password field sit under the header, so the footer stays at the bottom of the window. */
body:has(> main.work-access):not(#_){display:flex;flex-direction:column;min-height:100svh}
body:has(> main.work-access)>main.work-access:not(#_){flex:1 0 auto}
/* Project titles: same color and weight as the Experience and Tools labels. */
.work-caption .work-title:not(#_):not(#_):not(#_):not(#_):not(#_){color:rgba(0,0,0,.7);font-weight:400}
