*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:#f8f8f7;color:#171717;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}header{height:104px;display:flex;align-items:center;justify-content:space-between;margin:0 4%;border-bottom:1px solid #d5d5d5}.brand{font-weight:900;font-size:32px;letter-spacing:-3px}.brand span{font-size:12px;vertical-align:top;letter-spacing:0;margin-left:4px}nav{display:flex;gap:42px}nav a{font-size:15px}sup{font-size:10px;margin-left:3px}.header-note{font-size:14px}.intro{padding:48px 4% 0}.intro-top{display:flex;justify-content:space-between;font-size:16px;line-height:1.4}.intro-top p{margin:0}.intro-location{text-align:right;color:#666}h1{font-size:clamp(90px,15.8vw,260px);line-height:.86;letter-spacing:-.075em;font-weight:500;margin:66px 0 56px;position:relative}h1>span:first-child{display:block;padding-left:17%}.asterisk{position:absolute;color:#2e43ff;right:4%;top:0;font-size:clamp(90px,15vw,240px);letter-spacing:0}.intro-bottom{border-top:1px solid #bdbdbd;display:flex;justify-content:space-between;align-items:center;font-size:14px;padding:20px 0}.intro-bottom p{margin:0}.line-icon{margin-left:18px;font-size:20px}.work{padding:90px 4% 94px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.section-heading h2{font-size:20px;font-weight:400;margin:0}.section-heading span{font-size:13px;color:#666}.projects{display:grid;grid-template-columns:1fr 1fr;gap:28px}.project{padding:0;text-align:left;border:0;background:none;cursor:pointer}.project-image{position:relative;aspect-ratio:1.1;overflow:hidden}.project-image img{height:100%;width:200%;max-width:none;object-fit:cover;display:block;transition:transform .6s}.right-image{margin-left:-100%}.project:hover img{transform:scale(1.025)}.blue{background:#2e43ff}.silver{background:#d7d7d7}.view{position:absolute;bottom:20px;right:20px;background:#f8f8f7;padding:12px 18px;border-radius:30px;font-size:14px;opacity:0;transform:translateY(6px);transition:.2s}.project:hover .view,.project:focus-visible .view{opacity:1;transform:none}.project-meta{display:grid;grid-template-columns:1fr auto;padding-top:19px;gap:7px}.project-meta h3{font-size:22px;font-weight:400;margin:0;grid-column:1}.project-meta p{font-size:14px;color:#666;margin:0;grid-column:1}.project-meta>span{grid-column:2;grid-row:1;font-size:13px}.about{border-top:1px solid #bdbdbd;margin:0 4%;padding:70px 0 100px;display:grid;grid-template-columns:1fr 1fr;gap:28px}.about h2{font-size:clamp(36px,5vw,72px);font-weight:400;letter-spacing:-.05em;line-height:1.05;margin:0}.statement{font-size:clamp(25px,2.5vw,38px);line-height:1.25;letter-spacing:-.03em;margin:0 0 30px}.bio{font-size:16px;color:#666;line-height:1.6;max-width:470px}.services{display:flex;gap:9px;flex-wrap:wrap;margin-top:30px}.services span{border:1px solid #ccc;padding:9px 13px;border-radius:30px;font-size:13px}.closing{background:#2e43ff;color:white;padding:65px 4%;position:relative}.closing>p{font-size:clamp(36px,5.2vw,80px);letter-spacing:-.05em;line-height:1.1;margin:0 0 42px}.closing-mark{position:absolute;right:7%;top:45px;font-size:140px}.contact-note{font-size:14px;opacity:.75}footer{padding:30px 4%;display:flex;justify-content:space-between;font-size:13px;color:#666}dialog{max-width:850px;width:92%;border:0;padding:45px;background:#f8f8f7;max-height:90vh;overflow:auto}dialog::backdrop{background:#111b;backdrop-filter:blur(7px)}.close{float:right;border:0;background:none;cursor:pointer;padding:8px;font-size:14px}dialog h2{font-size:72px;letter-spacing:-.06em;font-weight:400;margin:16px 0 28px}#dialog-category{font-size:14px;color:#666}.dialog-image{aspect-ratio:1.35;overflow:hidden}.dialog-image img{width:200%;height:100%;object-fit:cover;max-width:none}#dialog-description{font-size:18px;line-height:1.5;margin:26px 0}.dialog-details{border-top:1px solid #ccc;padding-top:18px;display:flex;justify-content:space-between;font-size:13px;color:#666}:focus-visible{outline:2px solid #2e43ff;outline-offset:6px}@media(max-width:700px){header{height:80px}.header-note{display:none}nav{gap:25px}.intro{padding-top:30px}.intro-top{font-size:14px}.intro-location{max-width:155px}h1{font-size:21vw;margin:60px 0 42px}h1>span:first-child{padding-left:9%}.asterisk{font-size:19vw;right:0;top:8px}.intro-bottom{font-size:12px;gap:12px}.intro-bottom>p:last-child{display:none}.work{padding-top:55px;padding-bottom:60px}.projects{grid-template-columns:1fr;gap:40px}.view{opacity:1;transform:none}.about{grid-template-columns:1fr;padding:45px 0 60px;gap:35px}.about h2 br{display:none}.statement{font-size:28px}.closing{padding-top:45px}.closing>p{max-width:80%;font-size:10vw}.closing-mark{font-size:70px;right:4%;top:75px}footer{flex-wrap:wrap;gap:20px}footer>span:nth-child(2){display:none}dialog{padding:24px}dialog h2{font-size:54px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Quiet, staggered entrances and a little depth as the work passes by. */
.scroll-reveal{opacity:0;transform:translate3d(0,28px,0);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1);transition-delay:var(--reveal-delay,0ms)}
.scroll-reveal.is-revealed{opacity:1;transform:translate3d(0,0,0)}
.scroll-reveal:focus-within{opacity:1;transform:none;transition-delay:0ms}
.scroll-motion .project-image img{transform:translate3d(0,var(--image-shift,0%),0) scale(1.08);transition:transform .15s linear;transform-origin:25% 50%}
.scroll-motion .project-image .right-image{transform-origin:75% 50%}
.scroll-motion .project:hover .project-image img{transform:translate3d(0,var(--image-shift,0%),0) scale(1.11)}
.scroll-motion .asterisk,.scroll-motion .closing-mark{transform:rotate(var(--mark-turn,0deg));transition:transform .15s linear}
@media(prefers-reduced-motion:reduce){.scroll-reveal{opacity:1;transform:none;transition:none}.project-image img,.project:hover img,.scroll-motion .project-image img,.scroll-motion .project:hover .project-image img,.scroll-motion .asterisk,.scroll-motion .closing-mark{transform:none;transition:none}}

/* La musique nous rassemble: a spacious case study led by the work. */
.project-image .single-image{width:100%;margin:0;object-position:center}
.scroll-motion .project-image .single-image{transform-origin:50% 50%}
.musique-project .project-image{background:#191919}
.musique-project h3{line-height:1.15;max-width:95%;font-size:clamp(20px,2vw,28px);letter-spacing:-.025em}
.cookease-project h3{line-height:1.15;font-size:clamp(20px,2vw,28px);letter-spacing:-.025em}
.cookease-project .project-image{background:#99abad}
.cookease-page .case-title-dot{color:#f21825}
.case-logo .logo-panel{background:#fff;padding:clamp(45px,8vw,110px) 8%}
.case-logo .logo-panel img{background:none;width:100%;height:auto;max-width:1000px;margin:0 auto}
.case-intro{padding:38px 4% 45px}
.case-eyebrow{display:flex;justify-content:space-between;gap:20px;font-size:14px}
.case-eyebrow a{color:#666}
.case-page h1{font-size:clamp(48px,8.5vw,132px);line-height:.98;letter-spacing:-.065em;margin:58px 0 40px;font-weight:400}
.case-title-dot{color:#2e43ff}
.case-page h1>.case-title-dot{display:inline;padding-left:0}
.case-summary{display:flex;justify-content:space-between;gap:24px;align-items:end}
.case-summary p{font-size:clamp(20px,2vw,28px);line-height:1.3;letter-spacing:-.02em;margin:0}
.case-scope{display:flex;flex-wrap:wrap;gap:8px;max-width:450px;justify-content:flex-end}
.case-scope span{border:1px solid #ccc;padding:9px 13px;border-radius:30px;font-size:14px}
.case-cover{margin:0 4%;overflow:hidden}
.case-cover img{width:100%;height:auto;display:block}
.case-section{margin:0 4%;padding-top:76px}
.case-copy{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:50px}
.case-copy h2,.case-section-heading h2{font-size:clamp(32px,4vw,58px);letter-spacing:-.045em;line-height:1.06;font-weight:400;margin:0}
.case-copy p{font-size:16px;color:#666;line-height:1.65;margin:0 0 20px;max-width:580px}
.case-copy .case-lead{font-size:clamp(24px,2.7vw,36px);line-height:1.25;letter-spacing:-.03em;color:#171717;margin-bottom:26px}
.case-figure{margin:0 0 32px;min-width:0}
.case-figure img{width:100%;height:auto;display:block;background:#e9e9e9}
.case-figure figcaption{font-size:14px;color:#666;line-height:1.4;padding-top:14px}
.case-pair{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.case-section-heading{display:flex;align-items:end;justify-content:space-between;gap:36px;margin-bottom:40px}
.case-section-heading p{font-size:16px;line-height:1.5;max-width:380px;color:#666;margin:0}
.case-last{padding-bottom:40px}
.case-end{border-top:1px solid #bdbdbd;margin:0 4%;padding:35px 0 55px;display:flex;justify-content:space-between;gap:24px;font-size:14px;line-height:1.5}
.case-end>span{color:#666}
.case-end a{border-bottom:1px solid #171717;align-self:start;padding-bottom:3px}
@media(max-width:700px){.case-intro{padding-top:25px;padding-bottom:30px}.case-eyebrow{font-size:12px}.case-page h1{font-size:9.7vw;margin:44px 0 28px}.case-summary{display:block}.case-summary p{font-size:22px}.case-scope{justify-content:flex-start;margin-top:22px;gap:6px}.case-scope span{font-size:12px;padding:8px 10px}.case-section{padding-top:45px}.case-copy{grid-template-columns:1fr;gap:26px;margin-bottom:28px}.case-copy h2{font-size:36px}.case-copy .case-lead{font-size:27px}.case-pair{grid-template-columns:1fr;gap:0}.case-figure{margin-bottom:26px}.case-section-heading{display:block;margin-bottom:28px}.case-section-heading p{margin-top:20px}.case-end{flex-direction:column;padding-bottom:30px}}

/* Cookease keeps the explanation brief and the images generous. */
.cookease-page .case-summary>p{font-size:16px;letter-spacing:0;line-height:1.5;max-width:430px}
.cookease-gallery{padding-top:40px}
.cookease-gallery .case-section-heading{align-items:center;margin-bottom:22px}
.cookease-gallery .case-section-heading h2{font-size:18px;letter-spacing:-.01em;line-height:1.3}
.cookease-gallery .case-section-heading>span{font-size:13px;color:#666}
.cookease-characters .character-panel{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#fff;overflow:hidden}
.cookease-characters .character-panel img{width:72%;height:auto;background:none}
.cookease-character-pair .case-figure>img{aspect-ratio:4/3;object-fit:cover}
@media(max-width:700px){.cookease-gallery{padding-top:28px}.cookease-gallery .case-section-heading{display:flex;margin-bottom:18px}.cookease-page .case-intro h1{font-size:clamp(52px,14vw,90px);margin:32px 0 22px)}}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}
.cookease-logo-motion{position:relative;background:#fff;margin:32px 0;overflow:hidden}
.logo-motion-loop,.logo-motion-still{display:block;width:100%;height:auto;aspect-ratio:467/136;object-fit:contain}
.logo-motion-player{display:block}
.logo-motion-lottie{width:100%;aspect-ratio:467/136}
.logo-motion-lottie svg{display:block;width:100%;height:100%}
.cookease-logo-motion.is-unavailable .logo-motion-player{display:none}
.cookease-logo-motion.is-unavailable .logo-motion-still{display:block}
@media(prefers-reduced-motion:reduce){.logo-motion-player{display:none}}
.logo-motion-still{display:none}


@media(prefers-reduced-motion:reduce){.cookease-logo-motion .logo-motion-loop{display:none}.cookease-logo-motion .logo-motion-still{display:block}}
@media(max-width:700px){.cookease-logo-motion{margin:24px 0}}

/* The pointer is an arrow until a project invites the visitor to OPEN it. */
.folio-cursor{position:fixed;left:0;top:0;width:0;height:0;z-index:10000;color:#fff;mix-blend-mode:difference;pointer-events:none;opacity:0}
.folio-cursor.is-visible{opacity:1}
.cursor-arrow{position:absolute;left:-1px;top:-1px;transform-origin:0 0;transition:opacity .15s ease,transform .2s ease}
.cursor-open{position:absolute;left:var(--label-x,0px);top:var(--label-y,0px);font-size:32px;font-weight:800;line-height:1;letter-spacing:-.035em;white-space:nowrap;opacity:0;transform:translate(-50%,-50%) scale(.8);transition:opacity .15s ease,transform .2s cubic-bezier(.22,1,.36,1)}
.folio-cursor.is-open .cursor-arrow{opacity:0;transform:scale(.65)}
.folio-cursor.is-open .cursor-open{opacity:1;transform:translate(-50%,-50%) scale(1)}
@media(hover:hover) and (pointer:fine){
  .has-custom-cursor,.has-custom-cursor body,.has-custom-cursor body *{cursor:none!important}
  .has-custom-cursor .project:not(:focus-visible) .view{visibility:hidden;opacity:0}
}
@media(prefers-reduced-motion:reduce){.cursor-arrow,.cursor-open{transition:none}}

/* Blue paper bursts from the hero star without blocking the page. */
.star-confetti{border:0;background:none;margin:0;padding:0;line-height:.86;cursor:pointer;touch-action:manipulation}
.confetti-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:9000}

/* Blue service tags complement the original star and closing section. */
:root{--portfolio-blue:#2e43ff}
.services span{background:var(--portfolio-blue);border-color:var(--portfolio-blue);color:#fff}

/* A white title field keeps the saturated blue details clear. */
.intro{background:#fff}

/* The work rises over the pinned title using the page's native scroll. */
@media(prefers-reduced-motion:no-preference){
  .home-page main{isolation:isolate}
  .home-page .intro{position:sticky;top:var(--intro-pin-top,0px);z-index:0}
  .home-page .page-content{position:relative;z-index:1;background:#f8f8f7;display:flow-root}
}

/* Project pages use white space and small blue details, with a blue footer. */
.case-page{background:#fff}
.case-page .case-eyebrow a,.case-page .case-end a{color:var(--portfolio-blue);border-color:var(--portfolio-blue)}
.case-page .case-scope span{color:var(--portfolio-blue);border-color:rgba(46,67,255,.4)}
.case-page .case-section-heading>span{color:var(--portfolio-blue)}
.case-page footer{background:var(--portfolio-blue);color:#fff}
.case-page footer a:focus-visible{outline-color:#fff}

/* A more editorial composition, using the existing work and blue palette. */
.header-note{font-size:12px}
header nav a{font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.intro{position:relative;padding-bottom:30px}
.intro-top{font-size:12px;line-height:1.5;letter-spacing:.015em}
.intro-location{color:var(--portfolio-blue)}
.work{padding-top:clamp(70px,9vw,130px)}
.section-heading{border-top:1px solid #171717;padding-top:16px;margin-bottom:34px}
.section-heading h2{font-size:13px;font-weight:500;letter-spacing:.07em;text-transform:uppercase}
.section-heading>span{font-size:12px}
.projects{grid-template-columns:1.25fr 1fr;gap:clamp(28px,4vw,64px);align-items:start}
.project{position:relative}
.cookease-project{margin-top:clamp(40px,6vw,100px)}
.musique-project .project-image{aspect-ratio:4/3}
.cookease-project .project-image{aspect-ratio:1}
.project-meta{padding-top:18px}
.project-meta h3{font-size:clamp(22px,2.4vw,36px);line-height:1.15;letter-spacing:-.035em}
.project-meta p{font-size:12px;line-height:1.5}
.project-meta>span{position:absolute;grid-column:auto;grid-row:auto;top:16px;left:16px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f8f8f7;color:var(--portfolio-blue);font-size:12px}
.about{grid-template-columns:.75fr 1.25fr;gap:clamp(40px,8vw,140px);padding-top:clamp(50px,6vw,90px)}
.about h2{font-size:clamp(40px,6vw,82px);letter-spacing:-.06em}
.statement{font-size:clamp(28px,3.4vw,48px);line-height:1.18;max-width:22ch}
.bio{max-width:32rem}
.case-eyebrow,.case-end{font-size:12px;line-height:1.5}
.case-figure figcaption{font-size:12px;line-height:1.6;padding:14px 0 12px;border-bottom:1px solid #d5d5d5}
footer{font-size:12px}
@media(max-width:700px){
  .intro{padding-bottom:22px}
  .projects{grid-template-columns:1fr;gap:44px}
  .cookease-project{margin-top:0}
  .cookease-project .project-image{aspect-ratio:4/3}
  .project-meta h3{font-size:25px}
  .about{grid-template-columns:1fr;gap:30px;padding-top:44px}
  .about h2{font-size:42px}
  .statement{font-size:30px}
}

/* Jazbeirut: portrait stories, with the portfolio's own blue details. */
.jazbeirut-project{grid-column:1/-1}
.jazbeirut-project .project-image{aspect-ratio:16/9;background:#eeeded}
.preview-stories{position:absolute;inset:clamp(12px,3vw,40px);display:flex;justify-content:center;gap:clamp(8px,2vw,28px)}
.preview-story{display:block;height:100%;aspect-ratio:9/16;overflow:hidden;background:#fff}
.jazbeirut-project .preview-story img{width:100%;height:100%;object-fit:contain;object-position:center}
.scroll-motion .jazbeirut-project .preview-story img,.scroll-motion .jazbeirut-project:hover .preview-story img{transform:none;transition:none}
.jazbeirut-page .case-summary>p{font-size:clamp(18px,2vw,24px);max-width:550px}
.story-section{padding-top:24px;padding-bottom:80px}
.story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,8vw,120px);align-items:center}
.story-copy{max-width:400px}
.story-eyebrow{display:block;color:var(--portfolio-blue);font-size:12px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:22px}
.story-copy h2{font-size:clamp(40px,5vw,72px);letter-spacing:-.055em;line-height:1.05;font-weight:400;margin:0 0 28px}
.story-copy>p{font-size:16px;color:#666;line-height:1.65;margin:0 0 22px}
.story-copy>.story-hint{font-size:12px;color:var(--portfolio-blue);margin-top:40px}
.story-viewer{width:min(100%,440px,calc(76svh * 9 / 16));margin:0 auto}
.story-progress{display:flex;gap:5px;margin-bottom:9px}
.story-progress button{position:relative;flex:1;min-width:0;padding:8px 0;border:0;background:none;cursor:pointer}
.story-progress button::before{content:"";display:block;height:3px;background:#dedede;border-radius:2px}
.story-progress button::after{content:"";position:absolute;left:0;right:0;top:8px;height:3px;background:var(--portfolio-blue);border-radius:2px;transform:scaleX(var(--story-progress,0));transform-origin:left center}
.story-screen{position:relative;aspect-ratio:9/16;overflow:hidden;background:#f1f1f1}
.story-track{position:absolute;inset:0;display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;cursor:pointer}
.story-track:focus-visible{outline-offset:-3px}
.story-track::-webkit-scrollbar{display:none}
.story-slide{flex:0 0 100%;width:100%;height:100%;min-width:0;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.story-slide img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;user-select:none;pointer-events:none}
.story-track.is-enhanced{display:block;overflow:hidden;scroll-snap-type:none;touch-action:pan-y pinch-zoom}
.story-track.is-enhanced .story-slide{position:absolute;inset:0;opacity:0;visibility:hidden;scroll-snap-align:none}
.story-track.is-enhanced .story-slide.is-current{opacity:1;visibility:visible;z-index:2}
.story-track.is-enhanced .story-slide.is-outgoing{opacity:1;visibility:visible;z-index:1}
.story-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}
.story-progress[hidden],.story-controls[hidden]{display:none}
.story-status{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;line-height:1.4}
.story-count{color:var(--portfolio-blue)}
.story-caption{color:#666}
.story-arrows{display:flex;gap:8px}
.story-arrow{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--portfolio-blue);border-radius:50%;background:#fff;color:var(--portfolio-blue);font-size:20px;cursor:pointer}
.story-arrow:disabled{opacity:.3;cursor:default}
.story-play svg{width:16px;height:16px;fill:currentColor}
.story-play svg[hidden]{display:none}
@media(max-width:700px){
  .story-section{padding-top:12px;padding-bottom:50px}
  .story-layout{grid-template-columns:1fr;gap:24px}
  .story-copy{max-width:none}
  .story-copy h2{font-size:38px;margin-bottom:18px}
  .story-copy h2 br{display:none}
  .story-copy>.story-hint{margin:20px 0 0}
  .story-eyebrow{margin-bottom:16px}
}

/* Keep the opening title and its work link inside the first screen. */
.home-page{--home-header-height:76px;--hero-reserve:200px}
.home-page>header{height:var(--home-header-height)}
.home-page>header .brand{font-size:28px;letter-spacing:-2.5px}
.home-page .intro{min-height:calc(100svh - var(--home-header-height));display:flex;flex-direction:column;justify-content:space-between;padding-top:clamp(18px,3svh,32px);padding-bottom:16px}
.home-page .intro-top{flex:0 0 auto}
.home-page .intro .hero-name{flex:0 0 auto;font-size:min(20vw,280px,calc((100svh - var(--home-header-height) - var(--hero-reserve)) / 2.2));margin:24px 0}
.home-page .intro .asterisk{font-size:.76em;right:2%;top:0}
.home-page .intro-bottom{flex:0 0 auto;padding:16px 0}
.work-cta{display:inline-flex;white-space:nowrap;font-weight:600}
.work-cta>.cta-label{display:inline-flex;align-items:center;line-height:1.4}
.work-cta .line-icon{line-height:1;color:var(--portfolio-blue)}
@media(max-width:700px){
  .home-page{--home-header-height:64px}
  .home-page .intro .hero-name{font-size:min(24vw,280px,calc((100svh - var(--home-header-height) - var(--hero-reserve)) / 2.2));margin:20px 0}
}
@media(max-height:500px){
  .home-page{--home-header-height:64px;--hero-reserve:132px}
  .home-page .intro{padding-top:12px;padding-bottom:12px}
  .home-page .intro-top{font-size:11px;line-height:1.4}
  .home-page .intro .hero-name{margin:12px 0}
  .home-page .intro-bottom{padding:10px 0}
}

/* Personal photo prints sit beside the name, with a stable click target. */
.hero-stage{position:relative;display:flow-root;flex:0 0 auto}
.home-page .intro .hero-signature>.signature-line{display:block;height:1.1em;padding:0;overflow:visible}
.hero-signature>.signature-line--jimmy{width:min(77%,3.5em)}
.hero-signature>.signature-line--achkar{width:min(78%,3.55em)}
.signature-word{display:block;width:100%;height:100%;object-fit:contain;object-position:left center;pointer-events:none;user-select:none}
@media(max-width:700px){
  .hero-signature>.signature-line--jimmy{width:calc(100% - .85em - 6%)}
  .hero-signature>.signature-line--achkar{width:100%}
}
.hero-photos{position:absolute;right:2%;bottom:24px;width:min(18vw,240px,24svh);z-index:2}
.hero-photo-stack{position:relative;display:block;width:100%;aspect-ratio:4/5;padding:0;border:0;background:none;cursor:pointer;isolation:isolate;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.hero-photo{position:absolute;inset:0;display:block;padding:6px 6px 18px;background:#fff;border:1px solid #e8e8e8;box-shadow:0 5px 16px #11111114;pointer-events:none;transform-origin:50% 85%;transition:transform .42s cubic-bezier(.2,.8,.25,1)}
.hero-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hero-photo[data-slot="0"]{z-index:4;transform:rotate(-5deg)}
.hero-photo[data-slot="1"]{z-index:3;transform:translate(6px,-3px) rotate(6deg)}
.hero-photo[data-slot="2"]{z-index:2;transform:translate(-5px,-5px) rotate(-9deg)}
.hero-photo[data-slot="3"]{z-index:1;transform:translate(3px,-8px) rotate(10deg)}
.hero-photo-stack:focus-visible{outline:2px solid var(--portfolio-blue);outline-offset:15px;border-radius:2px}
.hero-photo-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:22px;color:var(--portfolio-blue);font-size:11px;line-height:1.2;font-weight:500;white-space:nowrap}
.hero-photo-caption>span:first-child>span{display:inline-block;margin-left:2px}
.hero-photo-count{font-variant-numeric:tabular-nums;font-size:10px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .hero-photo-stack:hover .hero-photo[data-slot="0"]{transform:translateY(-6px) rotate(-8deg)}
  .hero-photo-stack:hover .hero-photo[data-slot="1"]{transform:translate(10px,-5px) rotate(10deg)}
}
@media(max-width:700px){
  .home-page{--hero-photo-width:min(35vw,17svh,160px);--hero-reserve:calc(240px + var(--hero-photo-width)*1.25)}
  .hero-photos{position:relative;right:auto;bottom:auto;width:var(--hero-photo-width);margin:4px 14px 20px auto}
  .hero-photo{padding:4px 4px 12px}
  .hero-photo-caption{margin-top:16px;font-size:10px;gap:5px}
  .hero-photo-count{font-size:9px}
}
@media(max-height:500px) and (min-width:701px){
  .hero-photos{width:min(15vw,18svh);bottom:16px}
  .hero-photo-caption{font-size:9px;gap:4px;margin-top:14px}
  .hero-photo-count{font-size:8px}
}
@media(max-height:500px) and (max-width:700px){
  .home-page{--hero-reserve:calc(172px + var(--hero-photo-width)*1.25)}
}
@media(prefers-reduced-motion:reduce){.hero-photo{transition:none}}

/* A brief invitation every few seconds, with a stable hover target. */
@keyframes cta-shake{
  0%,10%,100%{transform:translateX(0) rotate(0)}
  2%{transform:translateX(-3px) rotate(-1deg)}
  4%{transform:translateX(3px) rotate(1deg)}
  6%{transform:translateX(-2px) rotate(-.5deg)}
  8%{transform:translateX(2px) rotate(.5deg)}
}
@media(prefers-reduced-motion:no-preference){
  .work-cta>.cta-label{animation:cta-shake 8s ease-in-out 2.5s infinite}
.work-cta:hover>.cta-label,.work-cta:focus-visible>.cta-label{animation:none;transform:none}
}

/* Vector marks keep their shape and color across every platform. */
.star-vector{display:block;width:.86em;height:.86em}
.preview-progress{display:none}
.illustration-note{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin-top:28px;font-size:14px;line-height:1.5}
.illustration-note a{font-weight:500;border-bottom:1px solid currentColor;padding-bottom:3px}
.closing .illustration-note a:focus-visible{outline-color:#fff}
.contact-links{display:flex;flex-wrap:wrap;gap:12px 28px;opacity:1;line-height:1.6}
.contact-links a{border-bottom:1px solid currentColor;overflow-wrap:anywhere}
.closing .contact-links a:focus-visible{outline-color:#fff}
.truegrmnt-project{grid-column:1/-1}
.truegrmnt-project .project-image{aspect-ratio:16/9;background:#eee}
.truegrmnt-preview{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.truegrmnt-project .truegrmnt-preview img{width:100%;height:100%;object-fit:cover;object-position:center}
.scroll-motion .truegrmnt-project .truegrmnt-preview img,.scroll-motion .truegrmnt-project:hover .truegrmnt-preview img{transform:none}
.truegrmnt-page .truegrmnt-opening{padding-top:0}
.truegrmnt-page .case-pair{align-items:start}
.truegrmnt-links{display:flex;align-items:baseline;flex-wrap:wrap;gap:18px 28px;font-size:13px;padding:28px 0}
.truegrmnt-links>span{flex-basis:100%;color:#666}
.truegrmnt-links a{color:var(--portfolio-blue);border-bottom:1px solid currentColor;padding-bottom:4px}
@media(max-width:700px){
  .jazbeirut-project .project-image{aspect-ratio:9/16;width:min(100%,440px);margin-inline:auto;background:#fff}
  .jazbeirut-project .preview-stories{inset:0;display:block}
  .jazbeirut-project .preview-story{position:absolute;inset:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity .52s cubic-bezier(.4,0,.2,1)}
  .jazbeirut-project .preview-story:first-child{opacity:1;visibility:visible}
  .jazbeirut-project.is-preview-playing .preview-story:first-child{opacity:0;visibility:hidden}
  .jazbeirut-project.is-preview-playing .preview-story.is-current{opacity:1;visibility:visible;z-index:2}
  .jazbeirut-project.is-preview-playing .preview-story.is-outgoing{opacity:1;visibility:visible;z-index:1}
  .preview-progress{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;gap:5px;padding:12px;background:linear-gradient(#fff9,transparent);pointer-events:none}
  .preview-progress>span{position:relative;flex:1;height:3px;background:#dcdffd;border-radius:2px;overflow:hidden}
  .preview-progress>span::after{content:"";position:absolute;inset:0;background:var(--portfolio-blue);transform:scaleX(var(--preview-progress,0));transform-origin:left center}
}

.aftertaste-project{grid-column:auto}
.aftertaste-project .project-image{aspect-ratio:1/1}
.aftertaste-project .project-image img{width:100%;height:100%;object-fit:cover}
.aftertaste-logo{position:relative;margin:48px 0 40px;width:100%;aspect-ratio:219/50}
#aftertaste-logo-animation{position:absolute;inset:0;opacity:0}
#aftertaste-logo-animation svg{display:block;width:100%;height:100%}
.aftertaste-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:clamp(50px,14vw,210px);font-weight:900;letter-spacing:-.075em}
.aftertaste-logo.is-ready #aftertaste-logo-animation{opacity:1}
.aftertaste-logo.is-ready .aftertaste-fallback{display:none}
.aftertaste-gallery{padding-top:0}
.aftertaste-gallery .case-pair{align-items:start}
.aftertaste-page .case-summary>p{max-width:520px;font-size:20px;line-height:1.4}
@media(max-width:700px){.aftertaste-logo{margin:36px 0 28px}.aftertaste-page .case-summary>p{font-size:18px}}

/* The signature settles into place once on page entry. */
@keyframes signature-appear{from{opacity:0;transform:translateY(20px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
@media(prefers-reduced-motion:no-preference){
 .hero-signature .signature-word{animation:signature-appear .85s cubic-bezier(.16,1,.3,1) .08s both;transform-origin:20% 70%}
 .hero-signature .signature-line--achkar .signature-word{animation-delay:.22s}
}

/* Restore the supplied logo silhouette around the line-draw animation. */
#aftertaste-logo-animation{-webkit-mask:url("images/aftertaste/logo.svg") 52.631579% 50% / 91.324201% 60% no-repeat;mask:url("images/aftertaste/logo.svg") 52.631579% 50% / 91.324201% 60% no-repeat}
.aftertaste-fallback{display:block;inset:auto;left:4.56621%;top:20%;width:91.324201%;height:60%;object-fit:fill}
.aftertaste-logo[data-state="complete"] #aftertaste-logo-animation{visibility:hidden}
.aftertaste-logo[data-state="complete"] .aftertaste-fallback{display:block}

/* Reveal only the title words; the star and photos retain their layout. */
@keyframes title-word-appear{from{opacity:0;transform:translateY(30px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@media(prefers-reduced-motion:no-preference){.home-page .hero-name .name-word{display:inline-block;animation:title-word-appear .85s cubic-bezier(.16,1,.3,1) .1s both}.home-page .hero-name .name-line--achkar .name-word{animation-delay:.24s}}

.home-page .hero-stage>.asterisk{position:absolute;top:24px;right:2%;font-size:clamp(70px,12vw,190px);z-index:3}
@media(max-width:700px){.home-page .hero-stage>.asterisk{top:12px;right:2%;font-size:19vw}}

.home-page .intro{position:relative}
.home-page .intro>.asterisk{position:absolute;top:105px;right:6%;width:clamp(64px,8vw,110px);height:clamp(64px,8vw,110px);font-size:clamp(64px,8vw,110px);z-index:10}
.home-page .intro>.asterisk .star-vector{display:block;width:100%;height:100%}
@media(max-width:700px){.home-page .intro>.asterisk{top:90px;right:7%;width:64px;height:64px;font-size:64px}}

/* Four square previews followed by the wide Jazbeirut stories. */
@media(min-width:701px){.projects{grid-template-columns:1fr 1fr;gap:40px 28px}.cookease-project{margin-top:0}.musique-project .project-image{aspect-ratio:1}.truegrmnt-project{grid-column:auto;order:4}.truegrmnt-project .project-image{aspect-ratio:1}.jazbeirut-project{grid-column:1/-1;order:5}}

.aftertaste-preview-pair{display:grid;grid-template-rows:1fr 1fr;width:100%;height:100%;overflow:hidden;gap:4px;background:#f8f8f7}.aftertaste-project .aftertaste-preview-pair img{width:100%;height:100%;min-height:0;object-fit:cover;display:block}
