.project-intro{padding:56px 0 0}
.project-topline{display:flex;justify-content:space-between;align-items:center;gap:24px}
.project-back{font-size:14px;color:var(--wine)}
.project-opening{display:grid;grid-template-columns:1.7fr 1fr;gap:70px;align-items:end;margin:42px 0 44px}
.project-opening h1{font:400 clamp(48px,5.6vw,80px)/1.08 var(--display);letter-spacing:-.03em}
.project-opening h1 em{font-style:normal;color:var(--wine)}
.project-client{font:400 25px/1.3 var(--display);color:var(--wine)}
.project-intro-copy>p+p{margin-top:16px;font-size:17px;line-height:1.7}
.project-landscape{position:relative;overflow:hidden;border-radius:4px}
.project-landscape>img{width:100%;aspect-ratio:3.2;object-fit:cover;object-position:50% 54%}
.project-landscape figcaption{display:flex;justify-content:space-between;gap:24px;position:absolute;inset:auto 0 0;padding:44px 30px 22px;background:linear-gradient(transparent,#172b24c9);color:var(--paper);font-size:14px}
.project-landscape figcaption>span:first-child{font:400 25px var(--display)}
.project-meta{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:32px;padding:28px 0 34px}
.project-meta .eyebrow{color:var(--ink);opacity:.7;font-size:10px}
.project-meta p{font-size:16px;margin-top:4px}
.project-index{display:flex;gap:50px;padding:21px 0;border-block:1px solid var(--line);font-size:15px}
.project-index a{display:flex;gap:13px;align-items:center}
.project-index a>span:first-child{font-size:12px;color:var(--wine)}
.project-index a>span:last-child{color:var(--wine);transition:transform .25s}
.project-index a:hover>span:last-child{transform:translateY(3px)}
.project-chapter{padding:92px 0}
.chapter-opening{display:grid;grid-template-columns:1.5fr 1fr;gap:85px;align-items:end;margin-bottom:42px}
.chapter-opening h2{font-size:clamp(42px,4.4vw,62px);line-height:1.12;margin-top:22px}
.chapter-opening>p{font-size:18px;line-height:1.8;padding-bottom:3px}
.project-browser{border:1px solid #29373324;overflow:hidden;border-radius:9px;background:#fff;box-shadow:0 14px 40px #29373308}
.browser-bar{height:38px;padding:0 20px;display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid #29373315;background:#f4f0e8;color:#5e6862;font:12px/1.2 var(--body)}
.browser-dots{display:flex;gap:5px;min-width:40px}.browser-dots i{width:6px;height:6px;border:1px solid #29373350;border-radius:50%}
.browser-bar>span:last-child{font-size:10px;min-width:90px;text-align:right}
.project-browser img{width:100%;height:auto}
.website-browser figcaption{display:flex;justify-content:space-between;gap:20px;padding:22px 26px;align-items:center;background:var(--paper)}
.website-browser figcaption p{font-size:16px}.website-browser .text-link{font-size:14px;color:var(--wine);white-space:nowrap}
.project-notes{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:46px 0 42px}
.project-notes h3,.staff-features h3{font:400 29px/1.2 var(--display);margin:14px 0;color:var(--ink)}
.project-notes p,.staff-features p{font-size:17px;line-height:1.8;max-width:54ch}
.website-details{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.detail-image{padding:18px;background:#eee6d9;border-radius:4px;overflow:hidden}
.detail-image img{width:100%;height:auto;border:1px solid #29373315}
.website-details figcaption{padding:18px 0 0}.website-details figcaption>span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--wine)}
.website-details figcaption p{font-size:16px;margin-top:5px}
.staff-chapter{padding:85px 0;background:#e5edf0;scroll-margin-top:0}
.staff-chapter .chapter-opening{align-items:start}
.app-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.demo-label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--ink)}
.demo-label>span{width:6px;height:6px;border-radius:50%;background:var(--wine)}
.app-preview-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);margin-bottom:25px}
.app-preview-tabs button{appearance:none;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--ink);padding:17px 12px;text-align:left;font-size:16px;display:flex;gap:12px;align-items:center;transition:color .25s,border-color .25s}
.app-preview-tabs button>span{font-size:11px}
.app-preview-tabs button[aria-selected=true]{color:var(--wine);border-bottom-color:var(--wine)}
.app-preview-tabs button:hover{color:var(--wine)}
.app-preview-tabs button:focus-visible{outline-offset:-4px}
.app-preview-panel[hidden]{display:none}
.app-preview-panel{min-width:0}
.app-browser{border-color:#29373335}
.app-browser img{aspect-ratio:16/9;object-fit:contain;background:var(--paper)}
.app-preview-caption{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:start;margin-top:25px;min-height:78px}
.app-preview-caption h3{font:400 29px/1.25 var(--display)}
.app-preview-caption p{font-size:17px;line-height:1.7}
.app-demo-actions{display:flex;align-items:center;gap:40px;margin-top:25px;padding-bottom:38px;border-bottom:1px solid var(--line)}
.app-demo-actions .button{white-space:nowrap;gap:25px;font-size:16px}
.app-demo-actions p{font-size:13px;line-height:1.8;max-width:55ch}
.staff-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px;padding-top:40px}
.staff-features .eyebrow{font-size:10px}.staff-features h3{font-size:26px}.staff-features p{font-size:16px}
.project-reflection{padding:80px 0 75px;border-bottom:1px solid var(--line)}
.project-reflection>div{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center;margin-top:22px}
.project-reflection h2{font-size:clamp(42px,4.3vw,60px)}
.project-reflection>div>p{font-size:20px;line-height:1.8}
.project-scope-note{font-size:12px;line-height:1.8;max-width:85ch;margin-top:36px;color:#58615d}
.project-closing{padding:75px 0 80px;text-align:center;background:#f3e6e2}
.project-closing h2{font-size:clamp(42px,4.7vw,68px);margin:24px 0;line-height:1.15}
.project-closing p{margin-inline:auto;font-size:18px}
.project-closing .button{margin-top:28px;gap:20px}
.project-chapter{scroll-margin-top:0}
@media(max-width:1000px){.project-opening{gap:30px;grid-template-columns:1.4fr 1fr}.project-opening h1{font-size:54px}.chapter-opening{gap:40px;grid-template-columns:1.2fr 1fr}.chapter-opening h2{font-size:46px}.project-notes{gap:40px}.staff-features{gap:25px}.project-reflection>div{gap:40px}}
@media(max-width:800px){.project-intro{padding-top:38px}.project-opening{grid-template-columns:1fr;margin:30px 0;gap:22px}.project-opening h1{font-size:clamp(44px,7.8vw,62px)}.project-intro-copy{max-width:55ch}.project-landscape>img{aspect-ratio:2.1}.project-meta{gap:18px;grid-template-columns:1fr 1fr}.project-meta>div:last-child{grid-column:1/-1}.project-index{gap:30px}.project-chapter{padding:58px 0}.chapter-opening{grid-template-columns:1fr;gap:24px;margin-bottom:30px}.chapter-opening h2{font-size:48px;margin-top:16px}.chapter-opening>p{max-width:60ch;font-size:17px}.staff-chapter{padding:58px 0}.project-notes{gap:30px}.project-notes h3{font-size:27px}.app-preview-caption{grid-template-columns:1fr;gap:12px;min-height:0}.app-demo-actions{gap:24px;align-items:flex-start;flex-direction:column;margin-top:25px}.staff-features{grid-template-columns:1fr;gap:26px}.staff-features>div+div{border-top:1px solid var(--line);padding-top:25px}.staff-features p{max-width:none}.project-reflection{padding:58px 0}.project-reflection>div{grid-template-columns:1fr;gap:24px}.project-reflection>div>p{font-size:18px}.project-closing{padding:55px 0 60px}}
@media(max-width:560px){.project-topline{gap:10px}.project-topline .eyebrow{font-size:10px}.project-back{font-size:12px}.project-opening h1{font-size:clamp(38px,10vw,55px);line-height:1.14}.project-client{font-size:24px}.project-intro-copy>p+p{font-size:16px}.project-landscape>img{aspect-ratio:1.45}.project-landscape figcaption{padding:40px 16px 15px;flex-direction:column;gap:2px}.project-landscape figcaption>span:first-child{font-size:23px}.project-landscape figcaption>span:last-child{font-size:12px}.project-meta{padding:22px 0;gap:20px 12px}.project-meta p{font-size:14px}.project-meta .eyebrow{font-size:9px}.project-index{flex-direction:column;gap:18px;font-size:14px;padding:20px 0}.project-index a>span:last-child{margin-left:auto}.chapter-opening h2{font-size:clamp(36px,9.8vw,48px);line-height:1.14}.chapter-opening>p{font-size:16px}.browser-bar{padding:0 10px;height:30px;font-size:10px;gap:10px}.browser-bar>span:last-child{display:none}.browser-dots{min-width:26px;gap:4px}.browser-dots i{width:5px;height:5px}.website-browser figcaption{padding:16px;align-items:flex-start;flex-direction:column;gap:11px}.website-browser figcaption p{font-size:14px}.project-notes{grid-template-columns:1fr;gap:28px;padding:32px 0}.project-notes p{font-size:16px}.website-details{grid-template-columns:1fr;gap:25px}.detail-image{padding:10px}.website-details figcaption{padding-top:12px}.website-details figcaption p{font-size:15px}.app-preview-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:15px}.app-preview-tabs{margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.app-preview-tabs button{font-size:14px;padding:13px 8px;gap:10px}.app-preview-caption{margin-top:20px;gap:10px}.app-preview-caption h3{font-size:25px}.app-preview-caption p{font-size:16px}.app-demo-actions .button{width:100%;justify-content:center;font-size:14px;padding-inline:14px;gap:16px}.staff-features{padding-top:30px}.project-reflection>div>p{font-size:17px}.project-reflection h2,.project-closing h2{font-size:clamp(36px,10vw,48px)}.project-scope-note{margin-top:26px}.project-closing p{font-size:16px}.project-closing .button{font-size:15px;gap:15px}}

/* Keep the opening simple and the demo action close to its introduction. */
.project-opening{margin-top:12px}
.staff-introduction{padding-bottom:3px}
.staff-introduction>p{font-size:18px;line-height:1.8}
.staff-introduction .app-demo-actions{display:block;margin-top:24px;padding:0;border:0}
.staff-features{border-top:1px solid var(--line);margin-top:34px}
@media(max-width:800px){.project-opening{margin-top:0}.staff-introduction>p{font-size:17px}.staff-introduction .app-demo-actions{margin-top:22px}.staff-features{margin-top:30px}}
@media(max-width:560px){.staff-introduction>p{font-size:16px}.staff-introduction .app-demo-actions .button{width:fit-content;padding-inline:22px}}

.mobile-copy{display:none}
.project-browser picture{display:block}
.project-gallery{border:0;padding:0;margin:0}
.project-gallery>summary{display:none}
.staff-features details{border:0;padding:0;margin:0;min-width:0}
.staff-features summary{display:block;list-style:none;pointer-events:none;cursor:default}
.staff-features summary::-webkit-details-marker{display:none}
.staff-features .disclosure-mark{display:none}
.invoice-browser{background:#f6f3ed}
.invoice-browser img{width:auto;max-width:90%;max-height:680px;aspect-ratio:auto;margin:22px auto;box-shadow:0 3px 16px #29373312}

/* A phone reading path, with native app views and optional supporting detail. */
@media(max-width:640px){
 .work-page{font-size:16px;line-height:1.65}
 .work-page .wrap{width:calc(100% - 40px)}
 .work-page .header-space{height:80px}
 .work-page .header{height:80px;padding-inline:20px}
 .work-page .header.is-floating{top:10px;height:62px;width:calc(100% - 24px);padding-inline:18px;box-shadow:0 4px 18px #29373309}
 .work-page .header .brand img,.work-page .header.is-floating .brand img{width:190px}
 .work-page .menu-toggle{min-width:40px;min-height:40px}
 .desktop-copy{display:none}.mobile-copy{display:block}
 .project-intro{padding-top:28px}
 .project-opening{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:0 0 26px}
 .project-intro-copy{display:contents}
 .project-intro-copy>.project-client{order:-2;font:12px/1.4 var(--body);letter-spacing:.05em;color:var(--wine)}
 .project-opening h1{order:-1;font-size:clamp(39px,10.5vw,54px);line-height:1.1;letter-spacing:-.025em}
 .project-intro-copy>p+p{font-size:16px;line-height:1.65;margin:0;max-width:34ch}
 .project-landscape{border-radius:10px}
 .project-landscape>img{aspect-ratio:1.5}
 .project-landscape figcaption{padding:32px 17px 16px}
 .project-landscape figcaption>span:first-child{font-size:21px}
 .project-landscape figcaption>span:last-child,.project-meta{display:none}
 .project-chapter{padding:52px 0}
 .chapter-opening{gap:18px;margin-bottom:26px}
 .chapter-opening h2{font-size:clamp(36px,9.2vw,45px);line-height:1.12;margin-top:12px}
 .chapter-opening .eyebrow{font-size:10px;letter-spacing:.09em}
 .chapter-opening>p,.staff-introduction>p{font-size:16px;line-height:1.65;max-width:34ch}
 .project-browser{border:0;border-radius:12px;box-shadow:none;background:transparent}
 .browser-bar{display:none}
 .website-browser>a{display:block;border:1px solid #2937331c;border-radius:12px;overflow:hidden;background:white}
 .website-browser img{width:100%;height:auto;aspect-ratio:390/620}
 .website-browser figcaption{background:transparent;padding:18px 0 0;align-items:flex-start}
 .website-browser figcaption>p{display:none}
 .website-browser .text-link{font-size:14px}
 .project-notes{display:none}
 .mobile-website-note{font-size:16px;line-height:1.65;margin-top:25px;max-width:34ch}
 .project-gallery{border-block:1px solid var(--line);margin-top:28px}
 .project-gallery>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font:15px/1.5 var(--body);list-style:none}
 .project-gallery>summary::-webkit-details-marker{display:none}
 .project-gallery>summary>span{font-size:21px;color:var(--wine)}
 .project-gallery[open]>summary>span{transform:rotate(45deg)}
 .website-details{gap:25px;padding-bottom:22px}
 .detail-image{padding:0;background:transparent;border-radius:8px}
 .website-details figcaption>span{display:none}
 .website-details figcaption p{font-size:14px;margin:0}
 .staff-chapter{padding:45px 0;background:#e8eef0}
 .staff-introduction .app-demo-actions{margin-top:22px}
 .staff-introduction .app-demo-actions .button{width:100%;justify-content:center;font-size:15px;min-height:50px;border-radius:12px;padding-inline:18px}
 .app-preview-tabs{display:flex;gap:4px;overflow-x:auto;padding:4px;border:0;border-radius:10px;background:#d9e2e5;margin:26px 0 18px}
 .app-preview-tabs button{flex:1 0 auto;justify-content:center;min-height:42px;padding:10px 8px;font-size:13px;border:0;border-radius:7px;white-space:nowrap}
 .app-preview-tabs button>span{display:none}
 .app-preview-tabs button[aria-selected=true]{background:var(--wine);color:var(--paper);box-shadow:0 1px 4px #29373312}
 .app-browser{border:1px solid #29373320;border-radius:12px;overflow:hidden;background:#faf7f0}
 .app-browser img{aspect-ratio:auto;object-fit:contain;width:100%;height:auto;max-height:none}
 .app-preview-caption{margin-top:20px;gap:9px;min-height:0}
 .app-preview-caption h3{font-size:25px;line-height:1.2;max-width:22ch}
 .app-preview-caption p{font-size:15px;line-height:1.6;max-width:34ch}
 .invoice-browser{padding:14px;background:#dce5e8}
 .invoice-browser img{width:100%;max-width:100%;margin:0;box-shadow:0 2px 12px #29373312}
 .staff-features{display:block;padding-top:0;margin-top:30px;border-top:1px solid var(--line)}
 .staff-features details{border-bottom:1px solid var(--line);padding:0}
 .staff-features summary{display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:auto;cursor:pointer;padding:19px 0}
 .staff-features summary .eyebrow{display:none}
 .staff-features summary h3{font:16px/1.5 var(--body);margin:0;max-width:none;color:var(--ink)}
 .staff-features .disclosure-mark{display:block;color:var(--wine);font-size:22px;line-height:1}
 .staff-features details[open] .disclosure-mark{transform:rotate(45deg)}
 .staff-features details>p{font-size:15px;line-height:1.7;margin:0;padding:0 0 20px;max-width:35ch}
 .project-reflection{padding:46px 0;border:0}
 .project-reflection>.eyebrow{display:none}
 .project-reflection>div{margin-top:0;gap:22px}
 .project-reflection h2{font-size:35px;line-height:1.12}
 .project-reflection>div>p{font-size:16px;line-height:1.7}
 .project-scope-note{font-size:12px;line-height:1.6;margin-top:22px}
 .project-closing{padding:44px 0;text-align:left}
 .project-closing .eyebrow{display:none}
 .project-closing h2{font-size:37px;line-height:1.12;margin:0 0 20px}
 .project-closing p{font-size:16px;line-height:1.65}
 .project-closing .button{width:100%;justify-content:center;margin-top:24px;font-size:14px;border-radius:12px;padding-inline:15px}
 .work-page footer{padding-top:40px;padding-bottom:35px}
}
