/* Case-study gallery. The global shell and left-hand information stay in site.css. */
html:has(body[data-motion=paused]){scroll-behavior:auto}
@font-face{font-family:CaseFustat;src:url('../assets/fustat-latin.woff2') format('woff2');font-display:swap}
@font-face{font-family:CaseMonte;src:url('../assets/montecarlo.woff2') format('woff2');font-display:swap}
@font-face{font-family:CaseEditorial;src:url('../assets/af-site/PPEditorialNew-Ultralight.woff2') format('woff2');font-weight:200;font-display:swap}
@font-face{font-family:CaseEditorial;src:url('../assets/af-site/PPEditorialNew-UltralightItalic.woff2') format('woff2');font-weight:200;font-style:italic;font-display:swap}
@font-face{font-family:CaseRivage;src:url('../assets/af-site/beau-rivage-latin.woff2') format('woff2');font-display:swap}
@font-face{font-family:CasePoppins;src:url('../assets/zeyo/fonts/poppins-regular.woff') format('woff');font-display:swap}
@font-face{font-family:CasePoppins;src:url('../assets/zeyo/fonts/poppins-bold.woff') format('woff');font-weight:700;font-display:swap}
.case-main{min-width:0}
.ed-carousel-media{position:relative}
.ed-pagination{position:absolute;bottom:62px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:0;padding:4px 7px;border-radius:40px;background:rgb(237 242 246 / .7);backdrop-filter:blur(20px)}
.ed-pagination button{position:relative;width:32px;height:32px;display:grid;place-items:center;padding:0}
.ed-pagination button[aria-pressed=true]{width:50px}
.ed-pagination button span{position:relative;width:8px;height:8px;border-radius:8px;background:#636970;overflow:hidden;transition:width .666s cubic-bezier(.57,0,0,1)}
.ed-pagination button[aria-pressed=true] span{width:22px;background:#a6afb7}
.ed-pagination button[aria-pressed=true] span:before{content:"";position:absolute;inset:0;background:#1b1b1b;transform:scaleX(0);transform-origin:left}
.ed-carousel.is-running .ed-pagination button[aria-pressed=true] span:before{animation:case-cycle 5s linear forwards}
@keyframes case-cycle{to{transform:scaleX(1)}}
.ed-carousel-track:not([data-dragging]) .ed-slide .image-open{cursor:grab}
.ed-carousel-track[data-dragging] .ed-slide .image-open{cursor:grabbing}
.case-notes-dialog{width:100%;height:100svh;max-width:none;max-height:100svh;border:0;margin:0;padding:40px 24px;background:transparent;color:#1b1b1b;overflow:auto;overscroll-behavior:contain}
.case-notes-dialog::backdrop{background:rgb(21 21 24 / .25);backdrop-filter:blur(8px)}
.case-notes-panel{position:relative;max-width:720px;margin:auto;padding:60px;background:#fff;border-radius:16px;font:600 17px/1.45 Inter,Arial,sans-serif}
.case-notes-close{position:sticky;top:0;z-index:1;display:block;margin:0 0 50px auto;padding:12px 18px;border-radius:30px;background:#edf2f6;font-size:13px;min-height:44px}
.case-notes-close:hover{background:var(--pink)}
.case-notes-panel>.eyebrow{color:#5c656d;margin-bottom:20px}
.case-notes-panel>h2{font-size:clamp(30px,3.4vw,48px);line-height:1.05;max-width:20ch}
.case-notes-content{margin-top:40px}
.case-notes-content section+section{margin-top:36px;border-top:1px solid #c9d2da;padding-top:30px}
.case-notes-content h3{font-size:20px;line-height:1.2;margin-bottom:15px}
.case-notes-content p{font-size:17px;line-height:1.5}
@media(max-width:760px){.case-notes-dialog{padding:70px 15px 15px}.case-notes-panel{padding:28px 24px;border-radius:14px}.case-notes-close{margin-bottom:35px}.case-notes-content{margin-top:32px}.case-notes-content p{font-size:16px}}
.case-overview{display:grid;grid-template-columns:1fr 3fr;gap:30px;padding-top:65px}
.case-overview>p:last-child{font-size:clamp(20px,1.6vw,26px);line-height:1.45;letter-spacing:-.025em;max-width:950px}
.case-main .case-chapter{margin-top:130px}
.case-main .chapter-copy{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px 32px;max-width:none;margin-bottom:38px}
.case-main .chapter-copy>.eyebrow{grid-column:1/-1;margin:0}
.case-main .chapter-copy h2{font-size:clamp(34px,3.8vw,68px);line-height:1.03;letter-spacing:-.045em;margin:0;max-width:850px;text-wrap:balance}
.chapter-summary{min-width:0;align-self:start}
.chapter-summary>p{font-size:16px;line-height:1.6;margin:0;max-width:550px}
.chapter-notes{grid-column:1/-1;margin-top:0}
.chapter-notes summary{width:calc(33.333333% - 21px);margin-left:auto}
.chapter-notes summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;border-block:1px solid var(--line);padding:13px 0;font-size:12px;font-weight:600;cursor:pointer;min-height:44px}
.chapter-notes summary::-webkit-details-marker{display:none}
.chapter-notes summary>span{font-size:22px;transition:transform .25s var(--ease)}
.chapter-notes[open] summary>span{transform:rotate(45deg)}
.chapter-notes-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:25px 0 5px}
.chapter-notes-body section+section{margin-top:0}
.chapter-notes-body h3{font-size:15px;line-height:1.3;font-weight:600;margin-bottom:9px;letter-spacing:-.02em}
.chapter-notes-body p{font-size:15px;line-height:1.65}
.ed-gallery,.ed-stack{display:flex;flex-direction:column;gap:10px;min-width:0}
.ed-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;align-items:start;min-width:0}
.ed-cell{min-width:0}
.ed-w100{grid-column:span 12}.ed-w50{grid-column:span 6}.ed-w66{grid-column:span 8}.ed-w33{grid-column:span 4}
.ed-media{margin:0;min-width:0}
.ed-media img{display:block;width:100%;height:auto}
.ed-media figcaption,.case-studio>figcaption{font-size:11px;color:var(--muted);padding:9px 0 14px;line-height:1.5}
.ed-media .image-open{background:transparent}
.ed-media.tone-white .image-open{background:#fff}
.ed-media.tone-paper .image-open{background:#f1f2f3}
.ed-media.tone-ink .image-open{background:#171719}
.ed-media.tone-plum .image-open{background:#753c52}
.ed-media.tone-powder .image-open{background:#dcc8cc}
.ed-sign .image-open{padding:clamp(28px,4vw,65px);display:flex;align-items:center;justify-content:center}
.ed-sign.ratio-square .image-open{aspect-ratio:1}
.ed-sign .image-open img{height:100%;object-fit:contain;max-height:500px}
.ed-sign.tone-plum img{filter:brightness(0) invert(1)}
.ed-phone .image-open{height:clamp(460px,45vw,720px);padding:24px 10px;display:flex;justify-content:center}
.ed-phone img{height:100%;width:auto;max-width:100%;object-fit:contain}
.ed-path{padding:28px 0 20px 22px;border-left:1px solid var(--line);min-width:0}
.ed-path h3{font-size:18px;line-height:1.3;font-weight:600;letter-spacing:-.025em;margin-bottom:25px}
.ed-path ol{list-style:none;padding:0;margin:0}
.ed-path li{display:flex;align-items:baseline;gap:15px;border-top:1px solid var(--line);padding:16px 0}
.ed-path li>span{font-size:11px;color:var(--muted)}
.ed-path li>p{font-size:15px;line-height:1.5}
.ed-specimen{background:#fff;margin:0;padding:clamp(24px,3vw,48px);color:#171719;min-width:0}
.ed-specimen>figcaption,.ed-palette>figcaption,.ed-construction>figcaption{font-size:11px;line-height:1.5;margin-bottom:32px;font-weight:500}
.specimen-prisma{font-family:CaseFustat,sans-serif;font-size:clamp(34px,5vw,88px);line-height:1;letter-spacing:-.055em;font-weight:600;margin:30px 0 65px}
.specimen-alphabet{font-size:clamp(12px,1.35vw,20px);line-height:1.6;overflow-wrap:anywhere}
.specimen-prisma~p{font-family:CaseFustat,sans-serif}
.specimen-caption{font-size:11px;line-height:1.6;margin-top:20px}
.specimen-monte{font-family:CaseMonte,cursive;font-size:clamp(36px,4.4vw,76px);line-height:1.2;font-weight:400}
.specimen-editorial{font-family:CaseEditorial,serif;font-weight:200;font-size:clamp(32px,3.7vw,66px);line-height:1.05;letter-spacing:-.025em}
.specimen-af-signature .specimen-monte{margin:20px 0 40px}
.specimen-af-signature .specimen-editorial{font-size:clamp(36px,5vw,88px);margin-bottom:35px}
.af-specimen-line{padding:22px 0;border-bottom:1px solid #d8d8d8}
.af-specimen-line:last-child{border:0}
.af-specimen-line>span{display:block;font-size:10px;line-height:1.5;margin-top:18px;letter-spacing:.015em}
.specimen-inter{font-family:Inter,Arial,sans-serif;font-size:clamp(15px,1.7vw,25px);font-weight:400;letter-spacing:.04em}
.specimen-rivage{font-family:CaseRivage,cursive;font-size:clamp(36px,4vw,65px);line-height:1.1}
.specimen-zeyo{font-family:CasePoppins,sans-serif;font-weight:700;font-size:clamp(32px,4vw,70px);line-height:1.1;letter-spacing:-.045em;margin:35px 0 65px}
.specimen-zeyo~p{font-family:CasePoppins,sans-serif}
.ed-palette{margin:0;min-width:0}
.ed-palette>figcaption{margin:0;padding:16px 0}
.ed-palette ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr}
.ed-palette li{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:18px 16px;min-height:65px;font-size:11px;font-weight:600}
.ed-palette li>span:last-child{font-size:10px;letter-spacing:.035em}
.ed-construction{margin:0;background:#fff;padding:clamp(24px,3vw,48px)}
.ed-construction>p{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:clamp(14px,1.5vw,23px);margin:40px 0}
.ed-construction i{font-style:normal;color:#747478}
.ed-construction>div{display:flex;align-items:center;justify-content:center;height:clamp(180px,19vw,300px)}
.ed-construction img{width:60%;height:100%;object-fit:contain}
.ed-carousel{min-width:0}
.ed-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;min-width:0;scroll-behavior:smooth}
.ed-carousel-track::-webkit-scrollbar{display:none}
.ed-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start}
.ed-book-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:start;background:#fff}
.ed-book-spread .ed-media figcaption{padding-inline:12px}
.ed-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px;font-size:11px;line-height:1.5}
.ed-carousel-controls>div{display:flex;align-items:center;gap:10px;flex-shrink:0}
.ed-carousel-controls [data-case-count]{font-variant-numeric:tabular-nums;margin-right:8px}
.ed-carousel-controls button{width:44px;height:44px;border:1px solid var(--line);font-size:20px;cursor:pointer}
.ed-carousel-controls button:disabled{opacity:.3;cursor:default}
.case-studio{margin:0;min-width:0}
.studio-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#151515;color:#fff;font-family:CaseFustat,sans-serif;font-size:13px}
.studio-topline>strong{font-size:15px;letter-spacing:-.03em}
.studio-topline>span{font-size:11px}
.studio-shell{display:grid;grid-template-columns:190px minmax(0,1fr);background:#fff;color:#191919;min-height:560px;font-family:CaseFustat,Arial,sans-serif}
.studio-navigation{border-right:1px solid #dedede;padding:24px 12px}
.studio-tablist{display:flex;flex-direction:column;gap:5px}
.studio-tablist button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 10px;font-size:14px;min-height:44px;cursor:pointer;color:#191919}
.studio-tablist button>span{font-size:10px}
.studio-tablist button[aria-selected=true]{background:#191919;color:#fff}
.studio-other{font-size:12px;line-height:2.5;color:#666;margin:28px 10px 0}
.studio-view{padding:30px;min-width:0}
.studio-view[hidden]{display:none}
.studio-view header{margin-bottom:30px}
.studio-location{font-size:10px;letter-spacing:.055em;margin-bottom:14px}
.studio-view h3{font-family:CaseFustat,sans-serif;font-size:clamp(28px,2.6vw,44px);font-weight:600;line-height:1.1;letter-spacing:-.04em;margin-bottom:10px}
.studio-view header>p:last-child{font-size:14px;line-height:1.5;color:#555}
.studio-label{font-size:12px;margin:30px 0 13px;font-weight:600}
.studio-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.studio-metrics>div{border:1px solid #dedede;padding:16px;font-size:12px}
.studio-metrics .studio-skeleton{margin-top:25px;max-width:48px;height:22px}
.studio-skeleton{display:block;min-width:20px;width:65%;height:8px;background:#e8e8e8}
.studio-tasks{list-style:none;padding:0;margin:0}
.studio-tasks li{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #dedede;padding:15px 0;font-size:13px;line-height:1.4}
.studio-tasks .studio-skeleton{width:23px;flex-shrink:0}
.studio-subtabs{font-size:12px;line-height:1.6;border-bottom:1px solid #dedede;padding-bottom:16px;margin-bottom:25px}
.studio-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #dedede}
.studio-week>div+div{border-left:1px solid #dedede}
.studio-week strong{display:block;font-size:10px;font-weight:500;padding:10px 3px;text-align:center}
.studio-week span{display:block;height:32px;border-top:1px solid #ededed}
.studio-table-wrap{max-width:100%;overflow-x:auto}
.studio-table-wrap table{width:100%;min-width:440px;border-collapse:collapse;font-size:11px}
.studio-table-wrap th{font-weight:500;text-align:left;padding:13px 10px;border-bottom:1px solid #c5c5c5;white-space:nowrap}
.studio-table-wrap td{padding:18px 10px;border-bottom:1px solid #e3e3e3}
.studio-search{font-size:13px;color:#555;border:1px solid #bcbcbc;padding:16px;max-width:380px}
@media(min-width:2200px){.case-main .chapter-copy{gap:24px 45px}.chapter-summary>p{font-size:19px}.chapter-notes-body p{font-size:17px}.case-main .case-chapter{margin-top:155px}.studio-shell{grid-template-columns:225px minmax(0,1fr)}.studio-view{padding:45px}.studio-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-tasks li{font-size:16px}.studio-tablist button{font-size:16px}.ed-path li>p{font-size:19px}}
@media(max-width:1100px){.chapter-notes summary{width:100%}.case-main .chapter-copy{grid-template-columns:1fr;gap:20px}.chapter-summary>p{max-width:720px}.chapter-notes-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.chapter-notes-body section+section{margin:0}.studio-shell{grid-template-columns:145px minmax(0,1fr)}.studio-view{padding:22px}.studio-navigation{padding:22px 6px}.studio-tablist button{font-size:12px;gap:8px;padding-inline:8px}.ed-path{padding-left:14px}.ed-path li>p{font-size:13px}}
@media(max-width:900px){.studio-shell{display:block;min-height:0}.studio-navigation{border-right:0;border-bottom:1px solid #dedede;padding:10px}.studio-tablist{flex-direction:row;overflow-x:auto}.studio-tablist button{white-space:nowrap;flex-shrink:0;font-size:13px}.studio-other{display:none}}
@media(max-width:760px){.chapter-notes summary{width:100%}.case-overview{grid-template-columns:1fr;gap:22px;padding-top:42px}.case-overview>p:last-child{font-size:20px;line-height:1.5}.case-main .case-chapter{margin-top:80px}.case-main .chapter-copy{gap:19px;margin-bottom:28px}.case-main .chapter-copy h2{font-size:36px;line-height:1.05;text-wrap:initial}.chapter-summary>p{font-size:16px}.chapter-notes{margin-top:20px}.chapter-notes-body{display:block}.chapter-notes-body section+section{margin-top:22px}.ed-gallery,.ed-stack,.ed-row{gap:14px}.ed-cell{width:100%}.ed-media figcaption{padding:9px 0 12px}.ed-sign .image-open{padding:50px}.ed-phone .image-open{height:590px;max-height:80svh}.ed-path{border-left:0;border-top:1px solid var(--line);padding:25px 0}.ed-path h3{font-size:20px}.ed-path li>p{font-size:16px}.ed-specimen{padding:27px}.specimen-prisma{font-size:53px;margin:25px 0 50px}.specimen-monte{font-size:55px}.specimen-editorial{font-size:44px}.specimen-af-signature .specimen-editorial{font-size:58px}.specimen-rivage{font-size:50px}.specimen-zeyo{font-size:44px;margin:25px 0 50px}.ed-palette ul{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-palette li{flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:85px;padding:16px}.ed-construction>p{font-size:17px}.ed-carousel-controls{align-items:flex-start}.ed-carousel-controls>p{padding-top:7px}.ed-carousel-controls>div{gap:6px}.ed-carousel-controls button{width:44px;height:44px}.ed-carousel-controls [data-case-count]{margin-right:2px}.ed-book-spread .ed-media figcaption{font-size:10px;padding:8px}.studio-topline{padding:16px;font-size:11px}.studio-topline>strong{font-size:13px}.studio-topline>span{max-width:110px;text-align:right;line-height:1.4}.studio-view{padding:23px 18px}.studio-view h3{font-size:32px}.studio-tasks li{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ed-carousel-track{scroll-behavior:auto}.chapter-notes summary>span{transition:none}}
