/* Shared, closely fitted changing words. */
#word-cycle,.rotating-word{display:inline-block;min-width:0;text-align:center;box-sizing:content-box;font:inherit;font-style:normal;letter-spacing:inherit;line-height:1.04;color:#10227d;background:#ceddfb;border:0;border-radius:8px;padding:.015em .13em .09em;vertical-align:baseline;white-space:nowrap;transition:width .4s cubic-bezier(.22,1,.36,1),background .2s;cursor:pointer}
#word-cycle::after{display:none}.rotating-word>span{display:inline-block;white-space:nowrap}.rotating-word:hover{background:#bdd0f7}.rotating-word:focus-visible{outline:2px solid #6b83bd;outline-offset:5px}
.projects-intro h1{font:400 clamp(52px,5.2vw,76px)/1.08 var(--display);letter-spacing:-.035em;color:var(--ink);margin:0}
.about-hero.about-intro{max-width:780px;padding:35px 0 62px;text-align:center}.about-intro h1{max-width:none}.about-intro .section-label{margin:0 0 25px}.about-intro>p:last-child{max-width:600px;margin:28px auto 0;font-size:17px;line-height:1.7}
/* A visible five-clip selector; thumbnails make the slider discoverable. */
.reel-slider-hint{margin:22px 0 12px;text-align:center;font-size:13px;color:var(--muted)}
.home-reel-dots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.home-reel-dots button{display:block;position:relative;width:100%;height:auto;aspect-ratio:9/13;padding:3px;border:1px solid transparent;border-radius:8px;overflow:hidden;background:transparent;transition:border-color .2s,transform .2s;opacity:.62}
.home-reel-dots button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}
.home-reel-dots button::after{display:none}.home-reel-dots button[aria-pressed="true"]{border-color:#435bb6;opacity:1;background:#e4eaff}.home-reel-dots button:hover{opacity:1;transform:translateY(-2px)}
.home-reel-dots button span{position:absolute;bottom:5px;left:5px;right:5px;color:white;text-shadow:0 1px 5px #000;font-size:10px;line-height:18px;background:linear-gradient(transparent,#171725ba);border-radius:0 0 3px 3px}
.home-reel-controls{padding:12px 0 0;gap:10px}.home-reel-controls>button{width:auto;min-width:75px;height:42px;border:0;border-radius:6px;font-size:13px;line-height:1.2;background:#efeff5;padding:0 12px;translate:none}.home-reel-controls>button:hover{background:#e1e7f7;translate:none}.home-reel-controls>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.home-reel-copy{padding-bottom:82px}.reel-more-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 23px;background:#17174b;border:1px solid #17174b;border-radius:30px;font:500 14px var(--sans);color:#fff;text-decoration:none;transition:background .2s,transform .2s,box-shadow .2s}.reel-more-link:hover{background:#2e3e86;transform:translateY(-2px);box-shadow:0 7px 15px #17174b18}.reel-more-link:focus-visible{outline:2px solid #6b83bd;outline-offset:4px}
.home-phone-screen video{background:#000;object-fit:contain}.home-reel-dots button:focus-visible{outline:2px solid #435bb6;outline-offset:2px}
/* Horizontally aligned cases, with the following case visible at the edge. */
.projects-carousel{margin:0 -2px}.projects-carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 2px 25px}.projects-carousel-heading h3{font:400 37px/1.1 var(--display);letter-spacing:-.025em;margin:0;color:var(--ink)}
.project-slider-controls{display:flex;gap:17px;align-items:center}.project-slider-controls button{border:1px solid #d8d9e5;background:transparent;color:var(--ink);padding:11px 15px;border-radius:6px;font:400 14px var(--sans);transition:background .2s}.project-slider-controls button:hover{background:#e8ecf8}.project-slider-controls button:disabled{opacity:.3;cursor:default}.project-slider-controls span{min-width:55px;text-align:center;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.project-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 38px)/2);column-gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c8cbdf transparent;padding:3px 2px 16px;overscroll-behavior-x:contain;cursor:grab;scroll-behavior:smooth;align-items:stretch}
.project-track.dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}.project-track .project-card{scroll-snap-align:start;min-width:0;margin:0;transform:none}.project-track .project-card:hover{transform:none;border-color:#b4b9d6;box-shadow:0 3px 12px #25234708}.project-track .project-card img{user-select:none;-webkit-user-drag:none}.project-track .card-title h3{font-size:30px}.project-track .card-title>span{font-size:10px}.project-track .project-art{aspect-ratio:1.4}.project-slide-hint{text-align:right;margin:12px 3px 0;color:#7c7788;font-size:12px}
.project-art.podcast-split{position:relative;background:#201b30;padding:0;overflow:hidden;isolation:isolate;display:block}.split-klar{position:absolute;inset:0;background:#e4decf;clip-path:polygon(0 0,100% 0,100% 28%,0 72%);z-index:1}.split-klar img{position:absolute;width:38%;height:auto;left:9%;top:3%;border-radius:0;box-shadow:none;transform:none!important}.split-nboga{position:absolute;inset:0;background:#201b30;clip-path:polygon(0 73%,100% 29%,100% 100%,0 100%)}.split-nboga img{position:absolute;width:67%;height:auto;right:2%;bottom:-1%;object-fit:contain;transform:none!important;border-radius:0;box-shadow:none}
/* Podcasts: two editorial sections; no editing screenshots or video panels. */
.podcast-intro{padding-bottom:55px}.podcast-intro>p:last-child{max-width:580px}.portfolio-content.podcast-content>section.podcast-story{padding:0 0 80px;max-width:990px}.podcast-feature-image{aspect-ratio:1400/787;overflow:hidden;border-radius:10px}.podcast-feature-image img{width:100%;height:100%;display:block;object-fit:contain}
.podcast-story-copy{display:grid;grid-template-columns:1fr 1.35fr;gap:65px;margin:39px 0 0}.podcast-story h2{font:400 clamp(33px,3.2vw,46px)/1.07 var(--display)!important;letter-spacing:-.025em;margin:14px 0 28px!important}.podcast-story-copy p:not(.section-label){font-size:17px;line-height:1.75;color:var(--muted);margin:0 0 22px}.podcast-story-copy h3{font:500 16px var(--sans);color:var(--ink);margin:26px 0 12px}.podcast-spotify{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px;text-decoration:none;color:var(--ink);border-bottom:1px solid #aaaac1;padding-bottom:3px}.podcast-spotify:hover{color:#37568e;border-color:#37568e}
.nboga-podcast-image{display:grid;place-items:center;aspect-ratio:2;background:#201b30;border-radius:10px;overflow:hidden}.nboga-podcast-image img{display:block;width:72%;height:100%;object-fit:contain}
/* Existing articulated donkey, with longer ears and visible saddlebags. */
.donkey-assembly{width:240px;height:240px;bottom:72px;max-width:75%}.donkey-ground{width:175px;bottom:94px}.pack-animal .pack-pannier{transform-origin:22px 14px;animation:pannier-sway 3.2s ease-in-out infinite}#skill-load{left:44%;width:52%;bottom:63%;gap:4px}#skill-load button{font-size:10px;padding:5px 2px;min-height:27px;border-color:#aaa2bd;background:#e8d8b9;color:#4c4059}.pack-animal-motion{animation:pack-stance 7s ease-in-out infinite}
@keyframes pannier-sway{50%{rotate:1.1deg}}
@media(max-width:1100px) and (min-width:761px){.project-track{grid-auto-columns:68%}.podcast-story-copy{gap:34px}.donkey-assembly{width:220px;height:220px;bottom:92px}.donkey-ground{bottom:111px}}
@media(max-width:760px){.projects-intro h1{font-size:52px;line-height:1.08}.about-hero.about-intro{padding:25px 0 40px}.about-intro>p:last-child{font-size:16px}.about-intro .section-label{font-size:11px;margin-bottom:20px}.home-reel-copy{padding-bottom:0}.home-reels{gap:28px;margin-bottom:70px}.home-reel-copy .home-reel-caption{margin:21px 0}.projects-carousel-heading{align-items:baseline;flex-wrap:wrap;gap:18px}.projects-carousel-heading h3{font-size:34px}.project-slider-controls{gap:10px}.project-slider-controls button{padding:10px 12px;font-size:13px}.project-track{grid-auto-columns:87%;column-gap:16px;scroll-padding-inline:2px}.project-track .project-art{aspect-ratio:1.25}.project-track .card-title h3{font-size:29px}.project-track .project-card>p{font-size:14px}.project-slider-controls span{font-size:12px;min-width:52px}.project-slide-hint{text-align:left;font-size:12px}.podcast-intro{padding-bottom:35px}.portfolio-content.podcast-content>section.podcast-story{padding-bottom:55px}.podcast-story-copy{grid-template-columns:1fr;gap:25px;margin-top:27px}.podcast-story h2{font-size:37px!important;margin-bottom:16px!important}.podcast-story-copy p:not(.section-label){font-size:16px}.podcast-story-copy h3{margin-top:22px}.nboga-podcast-image{aspect-ratio:1.55}.nboga-podcast-image img{width:92%}.donkey-assembly{width:224px;height:224px;bottom:73px;max-width:78%}.donkey-ground{bottom:92px}#donkey-scene{height:345px}.pack-station{min-height:345px}}
@media(max-width:370px){.projects-intro h1{font-size:41px}.project-slider-controls{width:100%;justify-content:space-between}.project-track{grid-auto-columns:92%}.projects-carousel-heading{gap:16px}.project-track .project-card{padding:10px 10px 17px}.project-track .project-card>p{font-size:14px}.podcast-story h2{font-size:34px!important}.rotating-word,#word-cycle{padding-inline:.11em}}
@media(prefers-reduced-motion:reduce){.rotating-word,#word-cycle,.reel-more-link,.home-reel-dots button{transition:none}.project-track{scroll-behavior:auto}.pack-animal .pack-pannier{animation:none}}

/* Keep Lambo's chat anchored to the right, wherever the mascot stands. */
.lambo-chat{left:auto!important;right:22px;bottom:22px;width:min(410px,calc(100vw - 44px));height:min(620px,calc(100dvh - 44px));transform-origin:right bottom}
@media(max-width:760px){.lambo-chat{left:auto!important;right:12px;bottom:12px;width:calc(100vw - 24px);height:min(610px,calc(100dvh - 24px))}}

/* Lambo's real-life story. Photo slot stays hidden until the user's photo arrives. */
.sidebar nav .lambo-story-tab{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;width:100%;min-width:0;padding:12px;border:0;border-radius:6px;background:#fff;color:#141332;font:14px/1.4 var(--sans);text-align:left;cursor:pointer;transition:background .2s}
.sidebar nav .lambo-story-tab:hover{background:#d6e1ff}.sidebar nav .lambo-story-tab:focus-visible{outline:2px solid #fff0b4;outline-offset:3px}.sidebar nav .lambo-story-tab[aria-expanded=true]{background:#fff0b4}.lambo-story-tab small{border-radius:50%;padding:3px;background:#e7eaf4;color:#262347;font-size:10px}
.lambo-story-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #e4e0e9;border-radius:18px;background:var(--paper,#f8f8fa);color:var(--ink,#111443);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #15143d26}
.lambo-story-dialog[open]{animation:lambo-story-enter .28s cubic-bezier(.2,.8,.2,1) both}.lambo-story-dialog::backdrop{background:#17153155;backdrop-filter:blur(7px)}
.lambo-story-close{position:absolute;top:14px;right:14px;z-index:1;width:34px;height:34px;border:0;border-radius:50%;background:#f8f8fae8;color:#68617b;font:26px/1 var(--sans);cursor:pointer;transition:background .2s,rotate .2s}.lambo-story-close:hover{background:#e6e6f0;rotate:90deg}.lambo-story-close:focus-visible{outline:2px solid #17206c;outline-offset:3px}
.lambo-story-photo{margin:0}.lambo-story-photo img{display:block;width:100%;max-height:52dvh;object-fit:cover}.lambo-story-copy{padding:58px 44px 43px}.lambo-story-copy h2{font:400 clamp(36px,5vw,48px)/1.08 var(--display,'Instrument Serif');letter-spacing:-.025em;margin:0 0 22px;color:var(--ink,#111443)}.lambo-story-copy p{font:17px/1.8 var(--sans);margin:0;color:var(--muted,#626078)}
@keyframes lambo-story-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:761px) and (max-width:1050px){.sidebar nav .lambo-story-tab{font-size:12px}}
@media(max-width:760px){.sidebar nav .lambo-story-tab{grid-column:1/-1;display:block;font-size:12px;text-align:center;padding:10px 7px}.lambo-story-tab small{display:none}.lambo-story-copy{padding:52px 28px 32px}.lambo-story-copy p{font-size:16px}}
@media(min-width:761px) and (max-height:760px){.sidebar{overflow-y:auto;scrollbar-width:thin}}
@media(prefers-reduced-motion:reduce){.lambo-story-dialog[open]{animation:none}}

/* Intrinsic word sizing also works while the intro screen hides the portfolio. */
#word-cycle,.rotating-word{width:auto;min-width:0;max-width:none;box-sizing:border-box;transition:background .2s;line-height:1.08;padding:.015em .14em .065em;vertical-align:baseline}
.projects-intro{width:100%;max-width:900px;margin-inline:auto;text-align:center}
#portfolio .projects-intro h2{width:100%;max-width:none;margin:0 auto;font-size:clamp(44px,5.3vw,76px)!important;line-height:1.16;text-align:center}
.intro-line{display:block;white-space:nowrap}.intro-line-changing{display:flex;align-items:baseline;justify-content:center;gap:.18em;margin-top:.08em}
.home-reels{width:100%;max-width:880px;grid-template-columns:minmax(220px,280px) minmax(0,380px);column-gap:clamp(32px,4vw,72px);align-items:start}
.home-reel-copy{padding:36px 0 0;min-width:0}.home-reel-copy .home-reel-caption{grid-template-columns:1fr;gap:9px;margin:28px 0 24px;min-height:0}.home-reel-copy .home-reel-caption small{grid-column:1}.home-reel-copy h3{margin-bottom:22px}
@media(max-width:760px){#portfolio .projects-intro h2{font-size:clamp(33px,7.9vw,55px)!important}.home-reels{max-width:380px;gap:28px}.home-reel-copy{padding:0}.home-reel-copy .home-reel-caption{display:flex}.projects-intro{padding-bottom:44px}}
.home-reel-copy .home-reel-caption>span,.home-reel-copy .home-reel-caption>small{grid-column:1;grid-row:auto}
#home-reel-count{white-space:nowrap}
@media(max-width:760px){.home-reels{align-items:center}}
