/* Full-length case study: one reading grid, with source content kept intact. */
.pet-portfolio{font-family:var(--site-font);font-size:16px;line-height:1.95}
.pet-main,.pet-main *,.pet-lightbox,.pet-lightbox *{box-sizing:border-box}
.pet-main{width:min(960px,calc(100% - 96px));margin:0 auto;padding:34px 0 48px}
.pet-main a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}
.pet-main p{margin:18px 0;overflow-wrap:anywhere}
.pet-main b,.pet-main strong{font-weight:600}
.pet-main ul,.pet-main ol{padding-left:24px;margin-top:18px;margin-bottom:24px}
.pet-main li{padding:4px 0}
.pet-main :is(h2,h3,h4){scroll-margin-top:20px}
.pet-kicker{display:flex;justify-content:space-between;gap:24px;color:var(--site-muted);font-size:10px;letter-spacing:.1em}
.pet-kicker time{font-variant-numeric:tabular-nums;letter-spacing:.05em}
.pet-opening{padding-bottom:24px}
.pet-opening h1{margin:18px 0 13px;font-size:clamp(26px,2.6vw,36px);font-weight:500;line-height:1.5;letter-spacing:-.035em;text-wrap:balance}
.pet-deck{margin:0!important;font-size:14px;line-height:1.9;color:var(--site-muted)}
.pet-opening-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 25px;margin-top:17px;font-size:10px;color:var(--site-muted)}
.pet-opening-meta a{margin-left:auto;text-decoration:none}
.pet-showcase{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px;max-width:640px;margin:4px auto 0}
.pet-showcase .column{min-width:0}
.pet-showcase .video-block{max-width:280px}
.pet-main .pet-showcase-caption{margin:16px 0 24px;text-align:center;font-size:11px;color:var(--site-muted)}
.pet-contents{border-top:1px solid var(--site-line);border-bottom:1px solid var(--site-line);margin:0 0 48px}
.pet-contents summary{padding:15px 0;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;list-style:none;min-height:48px}
.pet-contents summary::-webkit-details-marker{display:none}
.pet-contents[open] summary>span:last-child{transform:rotate(45deg)}
.pet-contents ol{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 30px;margin:0;padding:0 0 20px}
.pet-contents a{display:flex;align-items:baseline;gap:14px;padding:7px 0;text-decoration:none;font-size:12px}
.pet-contents a>span{font-size:10px;font-variant-numeric:tabular-nums;color:var(--site-muted)}
.pet-contents a.active{color:var(--site-yellow)}
.pet-main article,.pet-chapter{min-width:0}
.pet-chapter{padding:0 0 20px}
.pet-chapter+.pet-chapter{border-top:1px solid var(--site-line);margin-top:60px;padding-top:36px}
.pet-main .h1{font-size:28px;font-weight:500;line-height:1.5;margin:0 0 30px;text-wrap:balance}
.pet-main .h2{font-size:22px;font-weight:500;line-height:1.6;margin:46px 0 22px;text-wrap:balance}
.pet-main .h1+.h2{margin-top:0}
.pet-main .h3{font-size:18px;font-weight:500;line-height:1.75;margin:32px 0 17px;text-wrap:balance}
.pet-main .source-highlight{background:color-mix(in srgb,var(--site-yellow) 28%,transparent);color:var(--site-ink)}
.pet-main .source-muted{color:var(--site-muted)}
.pet-main blockquote{margin:26px 0;padding:10px 24px;border-left:2px solid var(--site-yellow);background:var(--site-surface)}
.pet-main blockquote.prompt{font-size:14px;line-height:2;padding:14px 24px}
.pet-main .callout{margin:24px 0;padding:18px 24px;border-left:2px solid var(--site-line);background:var(--site-surface)}
.pet-main .callout ul{padding-left:20px;margin:0}
.pet-main .callout li{padding:4px 0}
.pet-main .comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:28px 0}
.pet-main .comparison-card{border-top:1px solid var(--site-line);font-size:14px;min-width:0}
.pet-main .comparison-card .callout{border:0;background:none;margin:0;padding:18px 0 4px}
.pet-main .comparison-card .h3{font-size:18px;margin:0}
.pet-main .comparison-card ul{padding-left:20px;margin-top:10px}
.pet-main .anchor-only{display:none}
.pet-main figure{margin:28px 0}
.pet-main img{display:block;width:100%;height:auto}
.pet-main figure.image{max-width:100%;margin:28px 0}
.pet-main figure.image>a{display:block;position:relative;cursor:zoom-in}
.pet-main figure.image>a::after{content:'↗';position:absolute;right:8px;bottom:8px;background:#262626cc;color:#fff;font:12px/1 var(--site-font);padding:7px;pointer-events:none}
.pet-main figure.interface-shot{max-width:365px}
.pet-main figure.personas-study{max-width:720px}
.pet-main figcaption{font-size:11px;color:var(--site-muted);line-height:1.8;margin-top:10px;text-align:left}
.pet-main .media{margin:0;min-width:0}
.pet-main .video-block{width:100%;max-width:300px;margin:0 auto}
.pet-stage{position:relative;aspect-ratio:var(--media-ratio);background:#171717;overflow:hidden;isolation:isolate}
.pet-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#171717}
.pet-play{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;cursor:pointer;color:#fff;background:#171717;font:inherit}
.pet-play[hidden]{display:none}
.pet-main .pet-play img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.pet-play-label{position:absolute;bottom:16px;left:16px;display:flex;align-items:center;gap:8px;background:#171717db;font-size:11px;padding:8px 12px;line-height:1.5}
.pet-play-label::before{content:'▶';font-size:9px}
.pet-video-status{position:absolute;left:0;right:0;bottom:0;margin:0!important;padding:0 12px;background:#171717ed;color:#f7f7f7;font-size:11px;z-index:2;pointer-events:none}
.pet-video-status:empty{display:none}
.pet-main .media-caption{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:10px;color:var(--site-muted);margin-top:8px}
.pet-main .media-caption a{text-decoration:none}
.pet-main .table-scroll{width:100%;margin:30px 0;overflow-x:auto;overscroll-behavior-x:contain;border-top:1px solid var(--site-line);border-bottom:1px solid var(--site-line);scrollbar-width:thin;scrollbar-color:var(--site-line) transparent}
.pet-main table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.95}
.pet-main th,.pet-main td{padding:19px 20px;vertical-align:top;border-bottom:1px solid var(--site-line);overflow-wrap:anywhere}
.pet-main th{background:none;font-weight:500;text-align:left;font-size:11px;color:var(--site-muted)}
.pet-main .data-table th+th,.pet-main .data-table td+td{border-left:1px solid var(--site-line)}
.pet-main tr:last-child>td{border-bottom:0}
.pet-main :is(td,th) p{margin:12px 0}
.pet-main :is(td,th) p:first-child{margin-top:0}
.pet-main :is(td,th) p:last-child{margin-bottom:0}
.pet-main .case-table col:first-child{width:35%!important}
.pet-main .case-table col:last-child{width:65%!important}
.pet-main .case-table td{padding:28px 20px}
.pet-main .case-table td:first-child{padding-left:0;padding-right:30px}
.pet-main .case-table td:last-child{padding-right:0}
.pet-main .case-table th:first-child{padding-left:0}
.pet-main .case-table .video-block{max-width:280px;margin-left:0}
.pet-main .case-table .media{margin-top:18px}
.pet-main .data-table figure{margin:16px 0 0}
.pet-main .two-column-table col:first-child{width:26%!important}
.pet-main .two-column-table col:last-child{width:74%!important}
.pet-gallery{margin:30px 0}
.pet-gallery-row{display:grid;grid-template-columns:repeat(var(--gallery-columns),minmax(0,1fr));gap:24px;align-items:start}
.pet-gallery-row+.pet-gallery-row{margin-top:28px}
.pet-main .pet-gallery-row>figure{margin:0;min-width:0}
.pet-gallery-row img{aspect-ratio:2/3;object-fit:contain;background:var(--site-surface)}
.pet-gallery-row .video-block{max-width:300px}
.pet-main pre{padding:24px 28px;border-left:2px solid var(--site-yellow);background:var(--site-surface);white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.95;margin:26px 0}
.pet-main code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;overflow-wrap:anywhere;background:var(--site-surface);padding:2px 5px}
.pet-main pre code{font-size:inherit;padding:0;background:none}
.pet-main .file-card{display:flex;align-items:center;gap:16px;padding:16px 0;margin-top:12px;margin-bottom:12px;border-bottom:1px solid var(--site-line);text-decoration:none;line-height:1.7}
.pet-main .file-ext{display:grid;place-items:center;font-size:10px;width:44px;height:46px;border:1px solid var(--site-line);flex-shrink:0;letter-spacing:.05em}
.pet-main .file-card strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}
.pet-main .file-card small{display:block;font-size:11px;color:var(--site-muted);margin-top:3px}
.pet-main .file-arrow{margin-left:auto;font-size:24px}
.pet-lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:70px 32px 30px;border:0;margin:0;background:#171717f5;color:#eee;overflow:auto}
.pet-lightbox::backdrop{background:#171717f0}
.pet-lightbox figure{display:grid;place-items:center;min-height:calc(100dvh - 110px);margin:0}
.pet-lightbox figure img{display:block;max-width:100%;max-height:calc(100dvh - 145px);width:auto;height:auto;object-fit:contain}
.pet-lightbox figcaption{max-width:900px;margin:18px auto 0;font-size:12px;text-align:center;color:#ccc}
.pet-lightbox-close{position:fixed;top:20px;right:25px;border:0;border-bottom:1px solid #555;padding:9px 0;color:inherit;background:transparent;font:12px var(--site-font);cursor:pointer}
@media(hover:hover){.pet-main a:hover,.pet-contents summary:hover,.pet-play:hover .pet-play-label,.pet-lightbox-close:hover{color:var(--site-yellow)}}
@media(max-width:1100px){.pet-main{width:calc(100% - 64px)}.pet-main .comparison-grid{gap:20px}.pet-main .case-table td{padding:24px 16px}}
@media(max-width:760px){
 .pet-portfolio{font-size:15px;line-height:1.95}.pet-main{width:calc(100% - 40px);padding:25px 0}
 .pet-opening{padding-bottom:23px}.pet-kicker{font-size:9px;gap:14px}.pet-opening h1{font-size:26px;margin:16px 0 13px;line-height:1.5}.pet-deck{font-size:13px}.pet-opening-meta{font-size:10px;gap:9px 16px;margin-top:16px}
 .pet-showcase{gap:16px;margin-top:0}.pet-main .pet-showcase-caption{font-size:10px;margin:14px 0 22px}
 .pet-contents{margin-bottom:34px}.pet-contents ol{grid-template-columns:1fr;gap:0;padding-bottom:16px}.pet-contents a{font-size:11px;padding:8px 0}
 .pet-main .h1{font-size:23px;margin-bottom:24px}.pet-main .h2{font-size:20px;margin-top:36px;margin-bottom:20px}.pet-main .h3{font-size:17px;margin-top:28px;margin-bottom:16px}
 .pet-chapter+.pet-chapter{margin-top:40px;padding-top:30px}.pet-main .callout{padding:14px 17px;font-size:14px}.pet-main blockquote{padding:8px 17px}.pet-main blockquote.prompt{padding:10px 18px;font-size:13px}
 .pet-main .comparison-grid{grid-template-columns:1fr;gap:15px}.pet-main .comparison-card .callout{padding:16px 0 0}
 .pet-main th,.pet-main td{padding:13px 12px}.pet-main table{font-size:13px}.pet-main .table-scroll{margin:24px 0}
 .pet-main .case-table table,.pet-main .case-table tbody,.pet-main .case-table tr,.pet-main .case-table td{display:block;width:100%;min-width:0}
 .pet-main .case-table colgroup,.pet-main .case-table thead{display:none}
 .pet-main .case-table td:first-child,.pet-main .case-table td:last-child{padding:22px 0;border:0}
 .pet-main .case-table td:last-child{padding-top:0;padding-bottom:28px}
 .pet-main .case-table tr+tr{border-top:1px solid var(--site-line)}
 .pet-main .case-table .video-block{max-width:280px;margin:0 auto}.pet-main .case-table td:first-child>p{text-align:center;font-size:13px;color:var(--site-muted)}
 .pet-main .data-table:not(.two-column-table){overflow:visible}
 .pet-main .data-table:not(.two-column-table) :is(table,tbody,tr,td){display:block;width:100%;min-width:0}
 .pet-main .data-table:not(.two-column-table) colgroup{display:none}
 .pet-main .data-table:not(.two-column-table) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .pet-main .data-table:not(.two-column-table) tr{padding:14px 0;border-bottom:1px solid var(--site-line)}
 .pet-main .data-table:not(.two-column-table) tr:last-child{border-bottom:0}
 .pet-main .data-table:not(.two-column-table) td{border:0;padding:9px 0}
 .pet-main .data-table:not(.two-column-table) td[data-label]:not([data-label=""])::before{content:attr(data-label);display:block;color:var(--site-muted);font-size:10px;line-height:1.7;margin-bottom:6px}
 .pet-main .data-table:not(.two-column-table) td p{margin:8px 0}
 .pet-main .data-table:not(.two-column-table) td p:first-child{margin-top:0}
 .pet-main .data-table:not(.two-column-table) td p:last-child{margin-bottom:0}
 .pet-main .two-column-table td:first-child,.pet-main .two-column-table th:first-child{padding-left:0}
 .pet-main .two-column-table td:last-child,.pet-main .two-column-table th:last-child{padding-right:0}
 .pet-gallery-row{gap:14px}.pet-gallery-row+.pet-gallery-row{margin-top:22px}
 .pet-gallery-row:has(video){grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
 .pet-gallery-row[style="--gallery-columns:3"]:has(video){grid-template-columns:1fr}
 .pet-main pre{font-size:12px;padding:20px 17px}.pet-main .file-card{gap:11px}.pet-main .file-card strong{font-size:12px}.pet-main .file-ext{width:34px;height:40px}.pet-main .file-arrow{font-size:20px}.pet-main .file-card small{font-size:10px}
 .pet-play-label{bottom:10px;left:10px;padding:6px 8px;font-size:10px;gap:6px}.pet-main .media-caption{gap:6px;font-size:9px}
 .pet-lightbox{padding:65px 15px 25px}.pet-lightbox-close{right:20px}
}
@media(max-width:380px){.pet-opening h1{font-size:24px}.pet-showcase{gap:12px}.pet-main .media-caption{font-size:8px}.pet-play-label{bottom:8px;left:8px}.pet-main .two-column-table col:first-child{width:29%!important}}
@media(prefers-reduced-motion:reduce){.pet-main *{scroll-behavior:auto!important;transition:none!important}}
@media print{.pet-main{width:100%;padding:0}.pet-contents,.pet-lightbox,.pet-play{display:none}.pet-main .table-scroll{overflow:visible}.pet-main table{min-width:0!important}.pet-main .h1,.pet-main .h2,.pet-main .h3{break-after:avoid}}
