/* MOSAB architectural modern direction — additive, scoped, reversible. */
@font-face{font-family:'Space Grotesk';src:url('/assets/fonts/space-grotesk-medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('/assets/fonts/space-grotesk-semibold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
html[data-typography]{--font-display:'Space Grotesk',Manrope,sans-serif;--serif:var(--font-display);--display-tracking:-.045em}
h1,h2,h3{font-family:var(--font-display);font-weight:500;letter-spacing:var(--display-tracking);text-wrap:balance;min-width:0;overflow-wrap:anywhere}
h1{line-height:1.02}h2{line-height:1.09}h3{line-height:1.16}
.hero h1{font-size:clamp(4rem,7.5vw,6.5rem);font-weight:500;line-height:.98}
.about-copy h1{font-size:clamp(3.5rem,6.2vw,5.5rem);line-height:1.02}
.hero-content>p,.about-copy>p{font-size:1rem;line-height:1.65;max-width:33rem}
.section-title h2,.narrative-intro h2,.career-heading h2,#expertise h2{font-size:clamp(2.2rem,4.8vw,4.3rem)}
.feature-copy h3{font-size:clamp(2.2rem,4vw,3.6rem)}
#featured{overflow-x:clip}
.project-card h3,.film-card h3{font-size:clamp(1.5rem,2.5vw,2rem)}
.gateway-copy h2{font-size:clamp(2.8rem,5.5vw,5rem)}
.gateway-list h3{font-size:clamp(1.6rem,3vw,2.5rem)}
/* Body copy nested inside display headings must not inherit their tight tracking. */
h1 small,h2 small,h3 small{letter-spacing:normal;font-family:var(--sans);font-weight:400;line-height:1.6;text-wrap:pretty}
.gateway-link h3 small{font-size:.875rem;line-height:1.6;letter-spacing:normal;margin-top:10px;color:var(--muted)}
.gateway-layout>div>p{font-size:1rem;line-height:1.65;max-width:36ch}
.detail-hero p,.narrative-intro p,.role-blocks p{font-size:1rem;line-height:1.7}
.feature-copy .meta-line{font-size:.75rem;line-height:1.7;letter-spacing:.065em}
.feature-composition .float-tag{font-size:.75rem;line-height:1.5;letter-spacing:.06em}
.gateway-link>span,.hero-floating,.hero-chapter{font-size:.75rem;line-height:1.5}
.gallery-grid figcaption,.gallery-grid figcaption span{font-size:.8125rem;line-height:1.6;letter-spacing:normal}
.film-card>p,.film-card small{font-size:.875rem;line-height:1.65;letter-spacing:normal}
.note,.reader-intro small{font-size:.875rem;line-height:1.65}
.cinema-content p{font-size:.875rem;line-height:1.65}
.modern-about .career-text>small{font-size:.8125rem;line-height:1.6;letter-spacing:normal}
.role-grid small{font-size:.75rem;line-height:1.5;letter-spacing:.065em}
.role-grid span{font-size:.875rem;line-height:1.6}
.footer p,.footer p small,.footer p span{font-size:.75rem;line-height:1.65;letter-spacing:normal}
.footer-contact a,.footer-links a{font-size:.8125rem;line-height:1.6}
.footer-links{flex-wrap:wrap;max-width:100%;row-gap:12px}
.button,.modern-control,.expert-tab,.career-details summary,.about-section-nav a{font-size:.875rem}
.modern-control{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;min-width:44px;padding:10px 16px;border:1px solid var(--line);border-radius:99px;color:var(--ink);background:transparent;font-family:var(--sans);cursor:pointer;transition:background .18s,border-color .18s}
.modern-control:hover:not(:disabled){background:#e8e3d6;border-color:var(--teal)}
.modern-control:disabled{opacity:.35;cursor:default}
.modern-control svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.modern-control:focus-visible,.expert-tab:focus-visible,.about-section-nav a:focus-visible,.career-details summary:focus-visible,.work-rail:focus-visible{outline:2px solid var(--teal);outline-offset:5px}
.work-rail-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:36px 0 18px}
.work-rail-tools p{margin:0;font-size:.875rem;color:var(--muted)}
.work-rail-buttons{display:flex;gap:8px;align-items:center}
.work-rail-count{font-size:.875rem;font-variant-numeric:tabular-nums;min-width:74px;text-align:center}
.small-projects.work-rail{display:flex;gap:28px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:1px;padding:4px 1px 20px;margin-top:0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.work-rail .small-project{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto 1fr;align-items:start;gap:18px 16px;flex:0 0 calc((100% - 48px)/2.25);min-width:0;scroll-snap-align:start;margin:0;padding:0 0 20px;border-top:0;border-bottom:1px solid var(--line);text-decoration:none}
.work-rail .small-project>img{grid-column:1/-1;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#ece8df;border-radius:7px;transition:filter .2s}
.work-rail .small-project>div{min-width:0}.work-rail .small-project h3{font-size:clamp(1.4rem,2.4vw,1.9rem);margin:0 0 10px}
.work-rail .small-project p{font-size:.8125rem;line-height:1.5;margin:0;color:var(--muted)}
.work-rail .small-project .circle{width:42px;height:42px;margin:0;transition:background .2s,color .2s}
.work-rail .small-project:hover .circle{background:var(--teal);color:var(--ivory)}
.work-rail .small-project:hover img{filter:brightness(1.03)}
.expertise-grid.expertise-explorer{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.3fr);gap:48px;border-top:1px solid var(--line);padding-top:24px}
.expertise-explorer>.expert-tablist{display:flex;flex-direction:column;gap:4px;border:0;padding:0}
.expert-tab{position:relative;display:flex;align-items:center;text-align:left;gap:16px;width:100%;min-height:60px;padding:16px 18px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-family:var(--sans);line-height:1.4;cursor:pointer;transition:background .18s,color .18s}
.expert-tab svg{width:18px;height:18px;margin-left:auto;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.expert-tab:hover{background:#eee8da;color:var(--ink)}
.expert-tab[aria-selected=true]{background:var(--teal);color:var(--ivory)}
.expertise-explorer>.expert-panels{border:0;padding:0;min-width:0;align-self:stretch}
.expertise-explorer .expert-panel{border:0;padding:28px 0;min-height:300px;animation:modern-panel-in .22s ease-out}
.expert-panel[hidden]{display:none!important}
.expertise-explorer .expert-panel h3{font-size:clamp(1.8rem,3.5vw,3rem);margin:0 0 24px}
.expertise-explorer .expert-panel p{font-size:1rem;line-height:1.7;max-width:38rem;margin:0 0 30px;color:var(--muted)}
.expert-panel .career-detail,.expert-panel .career-text{display:block;max-width:none}
.expert-panel .dates,.expert-panel .company:empty{display:none}
.expert-work-link{display:inline-flex;align-items:center;gap:20px;min-height:44px;border-bottom:1px solid var(--gold);font-size:.875rem;color:var(--ink);text-decoration:none}
.expert-work-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .18s}
.expert-work-link:hover svg{transform:translate(3px,-3px)}
@keyframes modern-panel-in{from{opacity:.35;translate:0 7px}to{opacity:1;translate:0 0}}
.about-section-nav{position:sticky;top:0;z-index:12;background:var(--ivory);border-block:1px solid var(--line)}
.about-section-nav>.wrap{display:flex;gap:28px;overflow-x:auto;scrollbar-width:none}
.about-section-nav a{display:flex;align-items:center;min-height:60px;white-space:nowrap;text-decoration:none;color:var(--muted);border-bottom:2px solid transparent}
.about-section-nav a[aria-current=location]{color:var(--ink);border-bottom-color:var(--gold)}
.modern-about .career{scroll-margin-top:85px}
.modern-about .career-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.modern-about .career-heading h2{max-width:100%}
.modern-about .career-entry h3{font-size:clamp(1.45rem,2.4vw,1.9rem);line-height:1.25}
.modern-about .career-entry .company{font-size:.875rem;line-height:1.6}
.modern-about .career-entry .dates{font-size:.8125rem;line-height:1.6;color:#80591f}
.modern-about .career-entry p{font-size:1rem;line-height:1.7}
.career-details{margin-top:18px}
.career-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;width:fit-content;min-width:190px;list-style:none;color:var(--teal);cursor:pointer;font-family:var(--sans)}
.career-details summary::-webkit-details-marker{display:none}
.career-details summary::after{content:'+';font-size:1.5rem;font-weight:400;line-height:1}
.career-details[open] summary::after{content:'−'}
.career-details p{margin-top:12px!important}
.modern-about .cv-band h3{font-size:clamp(1.7rem,3vw,2.5rem)}
@media(min-width:1000px){.hero-content{max-width:58%}.hero-content>p{max-width:29rem}.hero .hero-architecture{opacity:.65}.about-copy{max-width:44rem}.library-gateway{min-height:720px;padding-block:85px}}
@media(max-width:999px){
 .hero.hero-layered{height:auto;min-height:calc(680px + 80vw)}
 .hero.hero-layered .hero-person{top:620px;bottom:auto;right:4%;width:92%;height:auto;aspect-ratio:904/820;max-height:none}
 .hero.hero-layered.modern-hero-layout{height:var(--modern-hero-height);min-height:0}
 .hero.hero-layered .hero-content{padding-top:140px;padding-bottom:350px;max-width:none}
 .hero.hero-layered.modern-hero-layout .hero-content{padding-bottom:0}
 .hero.hero-layered.modern-hero-layout .hero-person{top:auto;bottom:-18px;right:var(--modern-person-right,-2%);left:auto;width:var(--modern-person-width,104%);height:var(--modern-person-height);max-height:none;max-width:none}
 .hero.hero-layered.modern-hero-layout .hero-person img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
 .hero h1{font-size:clamp(2.2rem,10.4vw,5rem);line-height:1.01}
 .hero-content>p{max-width:36rem}
 .about-copy h1{font-size:clamp(2.3rem,9vw,4.8rem)}
 .hero.hero-layered .hero-foreground{height:38px;bottom:-8px}
 .hero.hero-layered .hero-bottom{display:none}
 .hero-bottom .chapter-label{display:none}
 .work-rail .small-project{flex-basis:72%;}
 .expertise-grid.expertise-explorer{grid-template-columns:minmax(0,1fr);gap:14px}
 .expertise-explorer>.expert-tablist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .expert-tab{min-height:62px;padding:12px;font-size:.8125rem;border:1px solid var(--line)}
 .expert-tab svg{display:none}
 .expertise-explorer .expert-panel{min-height:260px;padding:22px 0 0}
 .expertise-explorer .expert-panel h3{font-size:2rem}
 .about-section-nav>.wrap{gap:24px}
 .about-section-nav a{min-height:54px;font-size:.8125rem}
 .modern-about .career-heading{gap:12px;margin-bottom:28px}
 .modern-about .career-entry h3{font-size:1.5rem}
 .modern-about .career-entry p{font-size:.9375rem}
 .modern-about .career-entry .company{font-size:.8125rem}
}
@media(min-width:600px) and (max-width:999px){.hero.hero-layered{min-height:calc(780px + 80vw)}.hero.hero-layered .hero-person{top:700px}}
@media(max-width:680px){.about-layered .about-portrait{height:auto;aspect-ratio:944/872}}
@media(max-width:480px){
 #expertise h2{font-size:clamp(1.8rem,7.8vw,2.2rem);line-height:1.15}
 .contact-stage h2{font-size:clamp(2rem,8.4vw,2.5rem);line-height:1.1}
 .work-rail-tools{align-items:center;gap:8px;margin-top:24px}.work-rail-tools p{font-size:.8125rem;max-width:135px}
 .small-projects.work-rail{gap:18px}.work-rail .small-project{flex-basis:88%;gap:16px 10px}.work-rail .small-project h3{font-size:1.5rem}
 .work-rail-buttons{gap:4px}.work-rail-count{min-width:66px}
 .hero.hero-layered .hero-content{padding-top:132px}
 .hero-content .actions{gap:10px;flex-wrap:wrap}
 .hero-content .button{padding-inline:16px;font-size:.8125rem}
 .expertise-explorer .expert-panel h3{font-size:1.8rem}
 .modern-about .career-heading h2{font-size:2.2rem}
}
@media(prefers-reduced-motion:reduce){.expertise-explorer .expert-panel{animation:none} .work-rail,.about-section-nav{scroll-behavior:auto} .expert-tab,.modern-control,.expert-work-link svg,.work-rail .small-project>img{transition:none}}

/* Work is the homepage's main event. One project, a complete image, deliberate controls. */
.spotlight-featured{--spotlight-ink:#102c2b;--spotlight-text:#fffdf8;background:radial-gradient(ellipse at 85% 24%,#ead8b17a,transparent 45%),var(--ivory);min-height:0;padding-block:72px 80px}
.spotlight-featured .feature-stage{margin-bottom:80px}
.spotlight-featured>.wrap>.section-title{margin-bottom:32px}
.spotlight-featured .section-title h2{font-size:clamp(2.2rem,4.2vw,3.7rem);max-width:780px}
.spotlight-featured .section-title h2 .gold,.spotlight-featured .section-title>p{display:none}
.work-spotlight{position:relative}
.work-spotlight [hidden]{display:none!important}
.spotlight-stage{display:grid;grid-template-columns:minmax(0,1fr);isolation:isolate;border-radius:12px;overflow:hidden;background:var(--spotlight-ink);touch-action:pan-y pinch-zoom}
.spotlight-stage:focus-visible{outline:3px solid var(--teal);outline-offset:5px}
.spotlight-slide{display:grid;grid-area:1/1;position:relative;min-width:0;min-height:620px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility .3s ease;background:var(--spotlight-ink);overflow:hidden}
.spotlight-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.spotlight-slide::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#081f20 0%,#102c2bf2 22%,#102c2b73 51%,#102c2b00 82%);pointer-events:none}
.spotlight-card{display:grid;min-height:620px;height:100%;color:var(--spotlight-text);text-decoration:none;position:relative}
.spotlight-media{position:absolute;inset:0;display:block;z-index:0}
.spotlight-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;transform:none!important;filter:none;border:0;border-radius:0}
.spotlight-media>[hidden]{display:none!important}
.spotlight-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(24px) brightness(.5);opacity:.65;transform:scale(1.08)!important;pointer-events:none}
.spotlight-copy{position:relative;z-index:2;align-self:end;width:100%;padding:64px 48px 36px;color:var(--spotlight-text);background:linear-gradient(0deg,#081f20 0%,#102c2be8 72%,#102c2b00 100%);pointer-events:none}
.spotlight-copy>*{pointer-events:auto}
.spotlight-slide>.spotlight-copy{margin-top:250px}
.spotlight-copy .eyebrow,.spotlight-client{color:var(--spotlight-text);font-size:.8125rem;line-height:1.5;letter-spacing:.07em;margin:0 0 16px;text-transform:uppercase}
.spotlight-copy .eyebrow:before{background:var(--pale-gold)}
.spotlight-copy h3{color:var(--spotlight-text);font-size:clamp(2.2rem,3.5vw,3.2rem);font-weight:500;line-height:1.07;letter-spacing:-.045em;max-width:880px;margin:0 0 20px;text-wrap:balance}
.spotlight-copy p:not(.spotlight-client){font-size:1rem;color:var(--spotlight-text);line-height:1.65;max-width:620px;margin-bottom:18px}
.spotlight-copy .meta-line{display:none}
.spotlight-slide>.spotlight-copy>p{display:none}
.spotlight-action,.spotlight-copy .pill{display:inline-flex;align-items:center;gap:20px;font-size:.875rem;line-height:1.5;color:var(--spotlight-text);padding:10px 0;min-height:44px;background:none;border:0;border-bottom:1px solid #d1aa69;border-radius:0;box-shadow:none;text-decoration:none}
.spotlight-action svg,.spotlight-all svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.spotlight-card:focus-visible{outline:3px solid var(--pale-gold);outline-offset:-6px}
.spotlight-card:active .spotlight-action,.spotlight-media:active{opacity:.75}
.spotlight-progress{display:flex;gap:6px;margin-top:20px;height:4px;overflow:hidden}
.spotlight-progress>span{flex:1;background:#d4cfc2;overflow:hidden;border-radius:2px}
.spotlight-progress i{display:block;width:100%;height:100%;background:var(--teal);transform:scaleX(0);transform-origin:left;will-change:transform}
.spotlight-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px}
.spotlight-arrows{display:flex;align-items:center;gap:12px}
.spotlight-arrows .modern-control{width:48px;height:48px;padding:12px;border-color:var(--teal)}
.spotlight-arrows .modern-control:active{background:var(--teal);color:var(--ivory)}
.spotlight-position{min-width:72px;display:grid;justify-items:center;gap:4px}
.spotlight-count{font-size:.9375rem;font-variant-numeric:tabular-nums;color:var(--ink)}
.spotlight-mode{font-size:.75rem;line-height:1.4;color:var(--muted)}
.spotlight-all{min-height:48px;font-size:.875rem;gap:32px}
.spotlight-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1440px){.spotlight-slide,.spotlight-card{min-height:680px}}
@media(min-width:681px){.spotlight-slide.is-portrait::after{background:linear-gradient(90deg,transparent 20%,#102c2b88 45%,#102c2b 100%)}.spotlight-slide.is-portrait .spotlight-image{width:45%;left:0}.spotlight-slide.is-portrait .spotlight-copy{align-self:center;margin-left:auto;width:55%;padding:48px;background:linear-gradient(90deg,#102c2b00,#102c2bf2 32px)}}
@media(max-width:999px){.spotlight-slide,.spotlight-card{min-height:540px}.spotlight-copy{padding:64px 32px 32px}.spotlight-copy h3{font-size:2.6rem}}
@media(max-width:680px){
 .spotlight-controls-visible .back-to-top{visibility:hidden;pointer-events:none}
 .spotlight-featured{padding-block:40px 52px}
 .spotlight-featured .feature-stage{margin-bottom:48px}
 .feature-composition .float-tag{max-width:75%;font-size:.75rem}
 .spotlight-featured .section-title{margin-bottom:24px}
 .spotlight-featured .section-title h2{font-size:2rem;line-height:1.1}
 .spotlight-featured .section-title>p{margin-top:16px;line-height:1.6}
 .spotlight-stage{border-radius:9px}
 .spotlight-slide,.spotlight-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(230px,78vw,430px) minmax(0,1fr);min-height:0;height:100%}
 .spotlight-card{grid-area:1/1/-1/-1}
 .spotlight-media{position:relative;height:clamp(230px,78vw,430px)}
 .spotlight-card>.spotlight-image{position:relative;height:clamp(230px,78vw,430px);grid-row:1}
 .spotlight-image{object-fit:contain;object-position:center}
 .spotlight-backdrop{height:clamp(230px,78vw,430px)}
 .spotlight-slide::after{display:none}
 .spotlight-copy,.spotlight-slide>.spotlight-copy{grid-row:2;align-self:end;margin-top:-28px;padding:60px 24px 28px;background:linear-gradient(0deg,#102c2b 0%,#102c2b 86%,#102c2b00 100%)}
 .spotlight-copy h3{font-size:1.9rem;line-height:1.12;margin-bottom:16px}
 .spotlight-copy .eyebrow,.spotlight-client{font-size:.75rem;line-height:1.6;letter-spacing:.055em;margin-bottom:12px}
 .spotlight-copy p:not(.spotlight-client){font-size:.9375rem;line-height:1.6}
 .spotlight-action,.spotlight-copy .pill{font-size:.875rem}
 .spotlight-progress{gap:4px;margin-top:16px}
 .spotlight-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-top:16px}
 .spotlight-arrows{justify-content:center;gap:16px}
 .spotlight-all{justify-content:space-between;width:100%;padding-inline:24px}
}
@media(prefers-reduced-motion:reduce){.spotlight-slide{transition:none}.spotlight-progress i{will-change:auto}}
