
:root{
  --bg:#0a0a0d;
  --panel:#15151d;
  --panel-2:#1b1b25;
  --text:#ece9e2;
  --muted:#8f8f96;
  --line:rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.18);
  --accent:#ece9e2;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;line-height:1.6;overflow-x:hidden}
body.menu-open{overflow:hidden}
a{color:inherit}
img,video,svg{display:block;max-width:100%}
button{font:inherit}
::selection{background:var(--text);color:var(--bg)}
:focus-visible{outline:2px solid #fff;outline-offset:4px}
.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cursor-dot{position:fixed;z-index:9999;width:12px;height:12px;border-radius:999px;background:#fff;pointer-events:none;mix-blend-mode:difference;transform:translate(-50%,-50%);transition:width .16s,height .16s,opacity .2s}
.cursor-dot.is-hover{width:44px;height:44px}
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 32px;mix-blend-mode:difference;color:#fff}
.availability{justify-self:start;display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid rgba(255,255,255,.72);border-radius:4px;text-decoration:none;font-size:10px;font-weight:700;letter-spacing:.08em}
.availability span{width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.15)}
.wordmark{justify-self:center;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:24px;line-height:1;text-decoration:none}
.desktop-nav{justify-self:end;display:flex;gap:26px;align-items:center}
.desktop-nav a{font-size:11px;text-decoration:none;color:rgba(255,255,255,.68);transition:color .2s}
.desktop-nav a:hover,.desktop-nav a.is-active{color:#fff}
.menu-toggle{display:none;justify-self:end;width:44px;height:44px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:transparent;color:#fff;place-items:center}
.mobile-nav{display:none}
.section-kicker{margin:0 0 22px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.hero{position:relative;min-height:100svh;overflow:hidden;background:#101014}
.smoke-layer{position:absolute;inset:-20%;filter:blur(55px);opacity:.58;pointer-events:none;animation:smokeDrift 18s ease-in-out infinite alternate}
.smoke-one{background:
  radial-gradient(circle at 18% 28%,rgba(255,255,255,.19),transparent 24%),
  radial-gradient(circle at 72% 22%,rgba(255,255,255,.15),transparent 26%),
  radial-gradient(circle at 58% 72%,rgba(255,255,255,.12),transparent 24%),
  radial-gradient(circle at 32% 78%,rgba(255,255,255,.11),transparent 22%)}
.smoke-two{background:
  radial-gradient(circle at 30% 30%,rgba(255,255,255,.16),transparent 22%),
  radial-gradient(circle at 78% 48%,rgba(255,255,255,.14),transparent 28%),
  radial-gradient(circle at 46% 82%,rgba(255,255,255,.13),transparent 25%);animation-duration:24s;animation-direction:alternate-reverse}
@keyframes smokeDrift{0%{transform:translate3d(-3%,-2%,0) scale(1)}100%{transform:translate3d(4%,3%,0) scale(1.08)}}
.hero-title{position:absolute;left:50%;top:45%;z-index:1;transform:translate(-50%,-50%);width:min(90vw,1000px);font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(5.2rem,12vw,11rem);line-height:.78;letter-spacing:-.035em;text-transform:uppercase;text-align:center;color:var(--text)}
.hero-title span{display:block}
.hero-portrait{position:absolute;z-index:2;left:50%;top:52%;width:clamp(150px,20vw,260px);aspect-ratio:1/1;margin:0;transform:translate(-50%,-50%);overflow:hidden;border-radius:28px;background:#3a3a40;box-shadow:0 30px 90px rgba(0,0,0,.45)}
.hero-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 18%;filter:grayscale(1) contrast(1.08)}
.hero-note{position:absolute;z-index:3;bottom:28px;width:280px;font-size:11px;color:rgba(255,255,255,.84)}
.hero-note p{margin:0 0 6px}
.hero-note span{color:rgba(255,255,255,.44);font-size:9px;text-transform:uppercase;letter-spacing:.1em}
.hero-note-left{left:32px}
.hero-note-right{right:32px;text-align:right}
.scroll-dot{position:absolute;left:50%;bottom:25px;z-index:4;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#fff;transform:translateX(-50%)}
.scroll-dot span{width:4px;height:4px;border-radius:50%;background:#0a0a0d}
.manifesto,.profile-section,.work-section,.services-preview,.timeline-section,.skills-wall,.process-section,.projects-page-list,.services-page-list,.case-intro,.case-story-grid,.case-gallery-section{width:min(calc(100% - 48px),var(--max));margin:auto}
.manifesto{padding:120px 0 110px;border-bottom:1px solid var(--line)}
.mega-statement{max-width:980px;margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(3.4rem,7.5vw,7rem);line-height:.93;letter-spacing:-.025em}
.manifesto-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:52px}
.manifesto-grid p{margin:0;color:var(--muted);font-size:14px}
.profile-section{display:grid;grid-template-columns:1.2fr .8fr;gap:90px;padding:120px 0}
.profile-copy h2,.work-heading h2,.services-preview-head h2,.timeline-heading h2,.skills-heading h2,.process-heading h2,.case-gallery-heading h2{margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(4rem,9vw,8rem);line-height:.82;letter-spacing:-.03em}
.profile-copy>p:not(.section-kicker){max-width:620px;margin:26px 0 0;color:var(--muted);font-size:14px}
.line-link,.all-work-link{display:inline-flex;align-items:center;gap:9px;margin-top:30px;padding-bottom:7px;border-bottom:1px solid var(--line-strong);text-decoration:none;font-size:11px;font-weight:700;letter-spacing:.08em}
.tool-columns{display:grid;gap:0;border-top:1px solid var(--line)}
.tool-columns article{padding:24px 0;border-bottom:1px solid var(--line)}
.tool-columns span,.skills-grid span{display:block;margin-bottom:10px;color:var(--text);font-size:10px;font-weight:700;letter-spacing:.14em}
.tool-columns p,.skills-grid p{margin:0;color:var(--muted);font-size:12px}
.marquee-band{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}
.marquee-band div{width:max-content;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(2.3rem,5vw,4.7rem);line-height:1;white-space:nowrap;color:#1d1d24;animation:marquee 28s linear infinite}
@keyframes marquee{to{transform:translateX(-50%)}}
.work-section{padding:120px 0}
.work-heading{text-align:center;margin-bottom:70px}
.work-heading h2{font-size:clamp(5.5rem,14vw,13rem)}
.work-heading h2 span{display:block;margin-top:-.1em}
.work-heading>p:last-child{max-width:540px;margin:24px auto 0;color:var(--muted);font-size:13px}
.work-list,.projects-page-list{display:grid;gap:22px}
.work-card{display:grid;grid-template-columns:1.1fr .9fr;min-height:420px;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#171720,#20202b);text-decoration:none;transition:transform .25s,border-color .25s}
.work-card:hover{transform:translateY(-5px);border-color:var(--line-strong)}
.work-card.reverse{grid-template-columns:.9fr 1.1fr}
.work-card.reverse .work-card-media{order:2}
.work-card-media{min-height:420px;padding:28px;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.09),transparent 55%)}
.work-card-media img,.work-card-media video{width:100%;height:100%;max-height:340px;object-fit:contain}
.work-card-copy{padding:32px;display:flex;flex-direction:column;justify-content:center}
.work-card-icons{display:flex;align-items:center;justify-content:space-between;margin-bottom:auto;color:var(--muted);font-size:11px}
.work-card-icons i{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#0a0a0d}
.work-card-copy>p{margin:40px 0 8px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.13em}
.work-card h3{margin:0;font-size:clamp(2rem,4vw,3.8rem);line-height:.92;letter-spacing:-.045em}
.work-card-copy>span{max-width:430px;margin-top:18px;color:var(--muted);font-size:12px}
.work-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.work-tags em{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:rgba(255,255,255,.65);font-style:normal;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.all-work-link{margin:40px auto 0}
.services-preview{padding:120px 0}
.services-preview-head{margin-bottom:44px}
.service-rows{border-top:1px solid var(--line)}
.service-rows a{display:grid;grid-template-columns:70px 1fr 1fr auto;align-items:center;gap:28px;padding:30px 0;border-bottom:1px solid var(--line);text-decoration:none;transition:padding .25s}
.service-rows a:hover{padding-left:12px}
.service-rows a>span{color:var(--muted);font-size:11px}
.service-rows h3{margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(1.8rem,4vw,3.6rem);line-height:1}
.service-rows p{margin:0;color:var(--muted);font-size:12px}
.talk-section{width:min(calc(100% - 48px),var(--max));margin:80px auto 20px;padding:90px 0 36px;border-top:1px solid var(--line)}
.talk-headline{display:flex;gap:2vw;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(6.5rem,17vw,16rem);line-height:.75;letter-spacing:-.04em}
.talk-headline span:first-child{color:#d9d5ce}
.talk-headline span:last-child{color:#25252b}
.talk-bottom{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-top:42px}
.talk-bottom p{max-width:420px;margin:0;color:var(--muted);font-size:12px}
.talk-bottom>div{display:flex;gap:24px}
.talk-bottom a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-size:10px;font-weight:700;letter-spacing:.08em}
.site-footer{width:min(calc(100% - 48px),var(--max));margin:auto;padding:26px 0;display:grid;grid-template-columns:1fr auto auto;gap:40px;align-items:center;border-top:1px solid var(--line);color:var(--muted);font-size:10px}
.footer-left{display:flex;align-items:center;gap:14px}
.footer-left strong{color:var(--text)}
.footer-links{display:flex;gap:24px}
.footer-links a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.page-hero{position:relative;min-height:100svh;overflow:hidden;padding:130px 32px 50px}
.page-smoke{position:absolute}
.about-page-hero{display:grid;place-items:center;background:#101014}
.page-hero-title{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(7rem,20vw,18rem);line-height:.75;text-align:center}
.page-hero-title span{display:block}
.about-page-hero figure{position:relative;z-index:2;width:clamp(180px,24vw,320px);aspect-ratio:1/1;margin:0;overflow:hidden;border-radius:32px;background:#333}
.about-page-hero figure img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.about-page-hero>p{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.about-intro{width:min(calc(100% - 48px),var(--max));margin:auto;padding:120px 0;border-bottom:1px solid var(--line)}
.about-intro h2{margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(3.6rem,8vw,7.4rem);line-height:.92}
.about-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:44px}
.about-intro-grid p{margin:0;color:var(--muted);font-size:13px}
.timeline-section,.skills-wall{padding:120px 0}
.timeline-heading,.skills-heading,.process-heading,.case-gallery-heading{margin-bottom:48px}
.timeline-list{border-top:1px solid var(--line)}
.timeline-item{display:grid;grid-template-columns:180px 1fr;gap:40px;padding:30px 0;border-bottom:1px solid var(--line)}
.timeline-item>span{color:var(--muted);font-size:10px;letter-spacing:.1em}
.timeline-item h3{margin:0;font-size:clamp(1.5rem,3vw,2.7rem);line-height:1}
.timeline-item em{display:block;margin-top:7px;color:var(--text);font-style:normal;font-size:11px}
.timeline-item p{max-width:740px;margin:12px 0 0;color:var(--muted);font-size:12px}
.skills-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.skills-grid article{min-height:190px;padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.text-page-hero,.projects-page-hero{display:flex;flex-direction:column;justify-content:flex-end;background:#101014}
.text-page-hero h1,.projects-page-hero h1{position:relative;z-index:2;margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(7rem,20vw,18rem);line-height:.72}
.text-page-hero>p:last-child,.projects-page-hero>p:last-child{position:relative;z-index:2;max-width:520px;margin:28px 0 0;color:var(--muted);font-size:12px}
.services-page-list{padding:110px 0}
.service-case{display:grid;grid-template-columns:140px 1fr auto;gap:54px;padding:48px 0;border-top:1px solid var(--line);scroll-margin-top:90px}
.service-case:last-child{border-bottom:1px solid var(--line)}
.service-case-top{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
.service-case-top>span{color:var(--muted);font-size:11px}
.service-case-top i{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#0a0a0d}
.service-case-main h2{margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(3.2rem,7vw,6rem);line-height:.9}
.service-case-main h3{margin:20px 0 12px;font-size:1rem}
.service-case-main p{max-width:720px;margin:0;color:var(--muted);font-size:12px}
.service-case>a{align-self:end;display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:10px;font-weight:700}
.process-section{padding:110px 0}
.process-list{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.process-list article{min-height:220px;padding:25px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.process-list span{color:var(--muted);font-size:10px}
.process-list h3{margin:54px 0 12px;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:1.8rem}
.process-list p{margin:0;color:var(--muted);font-size:11px}
.projects-page-list{padding:110px 0}
.contact-page{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;padding:130px 32px 42px;overflow:hidden;background:#101014}
.contact-page-title{position:relative;z-index:2;display:flex;gap:2vw;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(7rem,20vw,18rem);line-height:.72}
.contact-page-title span:first-child{color:#d9d5ce}
.contact-page-title span:last-child{color:#292930}
.contact-page-bottom{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:end;gap:40px;margin-top:48px}
.contact-page-bottom p{margin:0 0 14px;color:var(--muted);font-size:12px}
.contact-page-bottom a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-size:14px}
.contact-detail-list{display:flex;gap:22px;flex-wrap:wrap}
.contact-detail-list a,.contact-detail-list span{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}
.case-hero{width:min(calc(100% - 48px),var(--max));margin:auto;padding:150px 0 70px}
.case-title{max-width:1000px}
.case-title h1{margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(5rem,12vw,11rem);line-height:.78}
.case-title>p:last-child{max-width:650px;margin:26px 0 0;color:var(--muted);font-size:12px}
.case-cover{margin-top:50px;min-height:460px;display:grid;place-items:center;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#171720,#20202b)}
.case-cover img,.case-cover video{width:100%;height:100%;max-height:650px;object-fit:contain}
.case-meta{width:min(calc(100% - 48px),var(--max));margin:auto;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.case-meta>div{padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.case-meta span{display:block;margin-bottom:12px;color:var(--muted);font-size:9px;letter-spacing:.1em}
.case-meta strong{font-size:13px}
.case-intro{padding:110px 0}
.case-intro h2{max-width:980px;margin:0;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;font-size:clamp(3rem,7vw,6rem);line-height:.95}
.case-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:110px}
.case-story-block{padding:30px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.case-story-block>span{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.case-story-block h2{margin:38px 0 14px;font-size:clamp(1.7rem,3vw,2.8rem);line-height:1}
.case-story-block p{margin:0;color:var(--muted);font-size:12px}
.case-gallery-section{padding:110px 0}
.case-gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.case-gallery-item{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.case-gallery-item img,.case-gallery-item video{width:100%;height:100%;object-fit:cover}
.case-gallery-item figcaption{padding:12px 15px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.09em}
.case-video,.case-wide{grid-column:span 2}
.case-video video{aspect-ratio:16/9}
.case-wide img{aspect-ratio:16/9;object-fit:contain;background:#fff}
.case-newsletter{min-height:720px;background:#fff}
.case-newsletter img{height:680px;object-fit:cover;object-position:top}
.case-print img,.case-poster img{height:620px;object-fit:contain;background:#f2f0eb}
.case-social img{aspect-ratio:1/1;object-fit:cover}
.case-nav{width:min(calc(100% - 48px),var(--max));margin:0 auto 20px;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.case-nav a{min-height:190px;display:flex;flex-direction:column;justify-content:space-between;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--panel);text-decoration:none}
.case-nav a:last-child{text-align:right;align-items:flex-end}
.case-nav span{color:var(--muted);font-size:9px;letter-spacing:.12em}
.case-nav strong{max-width:470px;font-size:clamp(1.7rem,4vw,3.6rem);line-height:.9}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-visible{opacity:1;transform:none}
@media(max-width:900px){
  .site-header{height:70px;padding:0 18px;grid-template-columns:1fr auto}
  .wordmark{display:none}
  .desktop-nav{display:none}
  .menu-toggle{display:grid}
  .mobile-nav{position:fixed;top:70px;left:12px;right:12px;display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(10,10,13,.98);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s;mix-blend-mode:normal}
  body.menu-open .mobile-nav{opacity:1;visibility:visible;transform:none}
  .mobile-nav a{padding:14px;border-radius:12px;text-decoration:none;color:var(--muted)}
  .mobile-nav a:hover,.mobile-nav a.is-active{background:var(--panel);color:var(--text)}
  .profile-section{grid-template-columns:1fr;gap:60px}
  .work-card,.work-card.reverse{grid-template-columns:1fr}
  .work-card.reverse .work-card-media{order:0}
  .service-case{grid-template-columns:90px 1fr}
  .service-case>a{grid-column:2}
  .process-list{grid-template-columns:1fr 1fr}
  .case-story-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .cursor-dot{display:none}
  .availability{font-size:8px;padding:9px 10px}
  .hero-title{top:42%;font-size:clamp(4.2rem,20vw,6.4rem);line-height:.8}
  .hero-portrait{top:52%;width:145px;border-radius:22px}
  .hero-note{bottom:28px;width:42%;font-size:9px}
  .hero-note-left{left:16px}
  .hero-note-right{right:16px}
  .hero-note span{display:none}
  .manifesto,.profile-section,.work-section,.services-preview,.timeline-section,.skills-wall,.process-section,.projects-page-list,.services-page-list,.case-intro,.case-story-grid,.case-gallery-section{width:calc(100% - 28px)}
  .manifesto{padding:84px 0}
  .mega-statement{font-size:clamp(2.8rem,13vw,4.5rem)}
  .manifesto-grid,.about-intro-grid{grid-template-columns:1fr;gap:26px}
  .profile-section{padding:84px 0}
  .profile-copy h2,.work-heading h2,.services-preview-head h2,.timeline-heading h2,.skills-heading h2,.process-heading h2,.case-gallery-heading h2{font-size:clamp(3.3rem,16vw,5rem)}
  .marquee-band div{font-size:2.6rem}
  .work-section{padding:84px 0}
  .work-heading{margin-bottom:48px}
  .work-heading h2{font-size:clamp(4.7rem,22vw,7rem)}
  .work-card-media{min-height:300px;padding:18px}
  .work-card-copy{padding:24px}
  .work-card-icons{margin-bottom:28px}
  .work-card-copy>p{margin-top:0}
  .service-rows a{grid-template-columns:42px 1fr auto;gap:12px}
  .service-rows p{grid-column:2/4}
  .talk-section{width:calc(100% - 28px);padding-top:70px}
  .talk-headline{font-size:clamp(5rem,22vw,7.6rem);display:grid;gap:0}
  .talk-bottom{display:grid}
  .talk-bottom>div{display:grid;gap:14px}
  .site-footer{width:calc(100% - 28px);grid-template-columns:1fr;text-align:center;justify-items:center;gap:16px}
  .footer-left{display:grid;gap:3px}
  .page-hero{padding:110px 16px 28px}
  .page-hero-title{font-size:clamp(6rem,31vw,10rem)}
  .about-page-hero figure{width:160px;border-radius:22px}
  .about-intro{width:calc(100% - 28px);padding:84px 0}
  .about-intro h2{font-size:clamp(3rem,14vw,4.5rem)}
  .timeline-section,.skills-wall{padding:84px 0}
  .timeline-item{grid-template-columns:1fr;gap:12px}
  .skills-grid{grid-template-columns:1fr}
  .text-page-hero h1,.projects-page-hero h1{font-size:clamp(6rem,30vw,9rem)}
  .services-page-list{padding:84px 0}
  .service-case{grid-template-columns:1fr;gap:28px;padding:36px 0}
  .service-case-top{flex-direction:row;align-items:center}
  .service-case>a{grid-column:auto}
  .process-section{padding:84px 0}
  .process-list{grid-template-columns:1fr}
  .projects-page-list{padding:84px 0}
  .contact-page{padding:110px 16px 30px}
  .contact-page-title{display:grid;gap:0;font-size:clamp(6.2rem,30vw,9rem)}
  .contact-page-bottom{display:grid}
  .contact-detail-list{display:grid}
  .case-hero{width:calc(100% - 28px);padding:120px 0 50px}
  .case-title h1{font-size:clamp(4.6rem,22vw,7rem)}
  .case-cover{min-height:300px}
  .case-meta{width:calc(100% - 28px);grid-template-columns:1fr}
  .case-intro{padding:84px 0}
  .case-intro h2{font-size:clamp(2.8rem,13vw,4.4rem)}
  .case-story-grid{padding-bottom:84px}
  .case-gallery-section{padding:84px 0}
  .case-gallery-grid{grid-template-columns:1fr}
  .case-video,.case-wide{grid-column:auto}
  .case-newsletter{min-height:560px}
  .case-newsletter img{height:520px}
  .case-print img,.case-poster img{height:auto;max-height:620px}
  .case-nav{width:calc(100% - 28px);grid-template-columns:1fr}
  .case-nav a:last-child{text-align:left;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .reveal{opacity:1;transform:none}
}


/* =========================================================
   REFERENCE-MATCHED MOTION SYSTEM
   Shared across every page
========================================================= */

body{--scroll-progress:0;--pointer-x:0;--pointer-y:0}
body.is-loading{overflow:hidden}

.page-loader{position:fixed;inset:0;z-index:10000;background:#0a0a0d;color:#fff;display:grid;place-items:center;clip-path:inset(0 0 0 0);transition:clip-path .85s cubic-bezier(.77,0,.18,1),visibility .85s;visibility:visible}
.page-loader::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.025),transparent 45%);opacity:.8}
.loader-progress{position:absolute;top:18px;left:50%;width:150px;height:2px;transform:translateX(-50%);overflow:hidden;background:rgba(255,255,255,.12)}
.loader-progress span{display:block;width:100%;height:100%;background:#fff;transform:scaleX(0);transform-origin:left;animation:loaderLine 2.2s cubic-bezier(.65,0,.35,1) forwards}
.loader-message{position:relative;z-index:1;display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.72);font-size:8px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;opacity:0;animation:loaderText .7s .25s ease forwards}
.loader-message i{width:5px;height:5px;border-radius:50%;background:#fff;animation:loaderBlink .8s infinite alternate}
body.loader-fast .loader-progress span{animation-duration:.65s}
body.loader-fast .loader-message{animation-delay:.05s}
body.page-ready .page-loader{clip-path:inset(0 0 100% 0);visibility:hidden}
@keyframes loaderLine{to{transform:scaleX(1)}}
@keyframes loaderText{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes loaderBlink{to{opacity:.18}}

.page-transition{position:fixed;inset:0;z-index:9998;background:#0a0a0d;transform:scaleY(0);transform-origin:bottom;pointer-events:none;transition:transform .7s cubic-bezier(.77,0,.18,1)}
body.page-leaving .page-transition{transform:scaleY(1)}

.scroll-progress{position:fixed;z-index:9997;top:18px;left:50%;width:150px;height:2px;transform:translateX(-50%);overflow:hidden;background:rgba(255,255,255,.12);mix-blend-mode:difference;pointer-events:none}
.scroll-progress span{display:block;width:100%;height:100%;background:#fff;transform:scaleX(var(--scroll-progress));transform-origin:left;will-change:transform}

.noise-layer{position:fixed;inset:0;z-index:9996;pointer-events:none;opacity:.035;mix-blend-mode:screen;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E")}

/* Intro sequence like the reference video */
.site-header{opacity:0;transform:translateY(-18px);transition:opacity .75s .25s ease,transform .75s .25s cubic-bezier(.2,.8,.2,1)}
.hero .smoke-layer,.unified-page-hero .smoke-layer{opacity:0;transform:scale(1.18);transition:opacity 1.2s .22s ease,transform 1.6s .22s cubic-bezier(.2,.8,.2,1)}
.hero-title span,.page-hero-title span,.contact-page-title span{display:block;opacity:0;clip-path:inset(0 0 100% 0);transform:translateY(55px);transition:opacity .65s ease,clip-path .95s cubic-bezier(.77,0,.18,1),transform .95s cubic-bezier(.2,.8,.2,1)}
.hero-title span:nth-child(2),.page-hero-title span:nth-child(2),.contact-page-title span:nth-child(2){transition-delay:.12s}
.hero-portrait,.about-page-hero figure{opacity:0;transform:translate(-50%,-50%) scale(.68) rotate(-4deg);transition:opacity .8s .7s ease,transform 1.1s .7s cubic-bezier(.16,1,.3,1)}
.hero-note,.scroll-dot,.about-page-hero>p{opacity:0;transform:translateY(15px);transition:opacity .65s 1.05s ease,transform .65s 1.05s ease}
.text-page-hero h1,.projects-page-hero h1,.case-title h1{opacity:0;clip-path:inset(0 0 100% 0);transform:translateY(48px);transition:opacity .7s .48s ease,clip-path 1s .48s cubic-bezier(.77,0,.18,1),transform 1s .48s cubic-bezier(.2,.8,.2,1)}
.text-page-hero>.section-kicker,.projects-page-hero>.section-kicker,.case-title>.section-kicker,.case-title>p:last-child,.text-page-hero>p:last-child,.projects-page-hero>p:last-child{opacity:0;transform:translateY(12px);transition:opacity .65s .9s ease,transform .65s .9s ease}
.case-cover{opacity:0;transform:translateY(35px) scale(.92);transition:opacity .8s .78s ease,transform 1.1s .78s cubic-bezier(.16,1,.3,1)}
body.page-ready .site-header{opacity:1;transform:none}
body.page-ready .hero .smoke-layer,body.page-ready .unified-page-hero .smoke-layer{opacity:.58;transform:scale(1)}
body.page-ready .hero-title span,body.page-ready .page-hero-title span,body.page-ready .contact-page-title span,body.page-ready .text-page-hero h1,body.page-ready .projects-page-hero h1,body.page-ready .case-title h1{opacity:1;clip-path:inset(0 0 0 0);transform:none}
body.page-ready .hero-portrait,body.page-ready .about-page-hero figure{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}
body.page-ready .hero-note,body.page-ready .scroll-dot,body.page-ready .about-page-hero>p,body.page-ready .text-page-hero>.section-kicker,body.page-ready .projects-page-hero>.section-kicker,body.page-ready .case-title>.section-kicker,body.page-ready .case-title>p:last-child,body.page-ready .text-page-hero>p:last-child,body.page-ready .projects-page-hero>p:last-child{opacity:1;transform:none}
body.page-ready .case-cover{opacity:1;transform:none}

/* Shared hero design for every page */
.unified-page-hero{position:relative;isolation:isolate;background:#101014!important;overflow:hidden}
.unified-page-hero>*:not(.smoke-layer){position:relative;z-index:2}
.case-hero.unified-page-hero{width:100%;max-width:none;min-height:100svh;padding:145px max(24px,calc((100vw - var(--max))/2)) 70px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:54px;align-items:center}
.case-hero.unified-page-hero .case-smoke{position:absolute;z-index:0}
.case-hero.unified-page-hero .case-title{max-width:760px}
.case-hero.unified-page-hero .case-title h1{font-size:clamp(4.8rem,9vw,9rem)}
.case-hero.unified-page-hero .case-cover{margin-top:0;min-height:420px;max-height:68vh;border:1px solid var(--line);box-shadow:0 40px 100px rgba(0,0,0,.42)}

/* Scroll reveal improvements */
.reveal{will-change:opacity,transform,clip-path}
.reveal.from-left{transform:translate3d(-70px,26px,0) rotate(-.7deg)}
.reveal.from-right{transform:translate3d(70px,26px,0) rotate(.7deg)}
.reveal.is-visible{transform:none}
.mega-statement,.profile-copy h2,.work-heading h2,.services-preview-head h2,.timeline-heading h2,.skills-heading h2,.process-heading h2,.case-gallery-heading h2,.about-intro h2{clip-path:inset(0 0 100% 0);transform:translateY(38px);transition:clip-path .95s cubic-bezier(.77,0,.18,1),transform .95s cubic-bezier(.2,.8,.2,1)}
.is-visible>.mega-statement,.profile-copy.is-visible h2,.work-heading.is-visible h2,.services-preview-head.is-visible h2,.timeline-heading.is-visible h2,.skills-heading.is-visible h2,.process-heading.is-visible h2,.case-gallery-heading.is-visible h2,.about-intro h2.is-visible{clip-path:inset(0 0 0 0);transform:none}
.work-card.reveal{transition:opacity .8s ease,transform 1s cubic-bezier(.16,1,.3,1),border-color .25s}
.timeline-item.reveal,.service-case.reveal,.process-list article.reveal,.skills-grid article.reveal{transition-delay:var(--stagger-delay,0ms)}

/* Animated visual ribbon visible in the reference */
.project-ribbon{position:relative;width:100%;height:290px;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#0a0a0d}
.ribbon-track{position:absolute;left:50%;top:50%;width:min(1320px,150vw);display:flex;align-items:center;justify-content:space-between;gap:60px;transform:translate3d(calc(-50% + var(--ribbon-x,0px)),-50%,0);will-change:transform}
.ribbon-track a{position:relative;flex:0 0 clamp(110px,13vw,180px);aspect-ratio:1.25/1;overflow:hidden;border:1px solid var(--line);background:#1a1a22;transform:translateY(var(--float-y,0px)) rotate(var(--rot));transition:transform .35s,border-color .25s;text-decoration:none}
.ribbon-track a:nth-child(even){margin-top:70px}.ribbon-track a:nth-child(3){margin-top:-40px}
.ribbon-track a:hover{transform:translateY(calc(var(--float-y,0px) - 10px)) rotate(0deg) scale(1.06);border-color:#fff}
.ribbon-track img,.ribbon-track video{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .25s}
.ribbon-track a:hover img,.ribbon-track a:hover video{filter:none}
.ribbon-track span{position:absolute;left:8px;bottom:7px;padding:4px 6px;background:rgba(10,10,13,.78);font-size:7px;letter-spacing:.1em;text-transform:uppercase}

/* Subtle scroll-linked movement */
.hero-title,.page-hero-title,.contact-page-title,.text-page-hero h1,.projects-page-hero h1{will-change:transform}
.work-card-media img,.work-card-media video,.case-cover img,.case-cover video{will-change:transform}

/* Hover micro-interactions */
.availability,.desktop-nav a,.line-link,.all-work-link,.talk-bottom a,.service-case>a,.case-nav a{transition:transform .25s,color .2s,border-color .2s,background .2s}
.magnetic{transform:translate3d(var(--mag-x,0),var(--mag-y,0),0)}

@media(max-width:900px){
  .case-hero.unified-page-hero{grid-template-columns:1fr;align-content:center;padding-left:24px;padding-right:24px}
  .case-hero.unified-page-hero .case-cover{min-height:340px;max-height:none}
  .project-ribbon{height:250px}
  .ribbon-track{width:900px;gap:38px}
}
@media(max-width:640px){
  .loader-progress,.scroll-progress{top:12px;width:104px}
  .noise-layer{opacity:.02}
  .hero-portrait,.about-page-hero figure{transform:translate(-50%,-50%) scale(.72)}
  body.page-ready .hero-portrait,body.page-ready .about-page-hero figure{transform:translate(-50%,-50%) scale(1)}
  .project-ribbon{height:210px}
  .ribbon-track{width:720px;gap:26px}
  .ribbon-track a{flex-basis:115px}.ribbon-track a:nth-child(even){margin-top:45px}
  .case-hero.unified-page-hero{padding:115px 14px 45px}
  .case-hero.unified-page-hero .case-cover{min-height:280px}
}
@media(prefers-reduced-motion:reduce){
  .page-loader{display:none}.page-transition{display:none}.scroll-progress{display:none}
  .site-header,.hero .smoke-layer,.unified-page-hero .smoke-layer,.hero-title span,.page-hero-title span,.contact-page-title span,.hero-portrait,.about-page-hero figure,.hero-note,.scroll-dot,.text-page-hero h1,.projects-page-hero h1,.case-title h1,.case-cover{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
}

/* About hero transform correction */
.about-page-hero figure{transform:scale(.68) rotate(-4deg)!important}
body.page-ready .about-page-hero figure{transform:scale(1) rotate(0)!important}
@media(max-width:640px){.about-page-hero figure{transform:scale(.72)!important}body.page-ready .about-page-hero figure{transform:scale(1)!important}}




/* =========================================================
   MINIMAL PROJECT DETAIL SYSTEM + RESPONSIVE CAROUSEL
========================================================= */

.minimal-project-page {
  overflow: clip;
}

.minimal-project-hero {
  position: relative;
  min-height: min(82vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 70px;
  background: #101014;
}

.project-hero-smoke {
  position: absolute;
}

.minimal-project-title {
  position: relative;
  z-index: 2;
  width: min(100%, 1050px);
}

.minimal-project-title h1 {
  max-width: 1000px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.6rem, 11vw, 10.5rem);
  line-height: .8;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.minimal-project-title > p:last-child {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.minimal-project-meta {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.minimal-project-meta > div {
  min-height: 110px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.minimal-project-meta span {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.minimal-project-meta strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.project-viewer-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 105px 0 120px;
}

.project-viewer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 36px;
}

.project-viewer-head h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 7.2rem);
  line-height: .84;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.project-viewer-status {
  min-width: 190px;
  text-align: right;
}

.project-viewer-status > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-viewer-status strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: .04em;
}

.project-viewer-status b {
  color: var(--text);
  font-weight: 400;
}

.project-carousel {
  --carousel-index: 0;
  position: relative;
}

.project-carousel-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.07), transparent 50%),
    linear-gradient(135deg, #15151d, #1c1c26);
  box-shadow: 0 35px 100px rgba(0,0,0,.28);
  touch-action: pan-y;
}

.project-carousel-track {
  display: flex;
  width: 100%;
  transform: translate3d(calc(var(--carousel-index) * -100%), 0, 0);
  transition: transform .65s cubic-bezier(.22,.8,.2,1);
  will-change: transform;
}

.project-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  min-height: clamp(440px, 66vw, 760px);
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 50px);
}

.project-image-frame,
.project-video-frame {
  width: 100%;
  height: clamp(390px, 60vw, 680px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}

.project-image-frame img,
.project-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-video-frame video {
  background: #000;
}

.project-carousel-controls {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.project-carousel-controls button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}

.project-carousel-controls button:hover {
  transform: scale(1.06);
  background: #fff;
  color: #0a0a0d;
}

.project-carousel-controls button:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

.project-carousel-progress {
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.project-carousel-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(var(--carousel-progress, .1));
  background: var(--text);
  transition: transform .5s cubic-bezier(.22,.8,.2,1);
}

/* Newsletter laptop viewer */
.project-carousel-laptop .project-carousel-viewport {
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.09), transparent 46%),
    #111118;
}

.project-carousel-laptop .project-carousel-slide {
  min-height: clamp(560px, 70vw, 850px);
}

.laptop-wrap {
  width: min(100%, 980px);
  margin: auto;
  perspective: 1200px;
}

.laptop-lid {
  position: relative;
  width: 88%;
  margin: 0 auto;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px 22px 12px 12px;
  background: linear-gradient(145deg, #36363d, #111116 60%);
  box-shadow: 0 35px 75px rgba(0,0,0,.45);
}

.laptop-camera {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #777;
  transform: translateX(-50%);
  z-index: 3;
}

.laptop-screen {
  overflow: hidden;
  border-radius: 12px 12px 7px 7px;
  background: #f6f6f6;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
}

.laptop-browserbar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  background: #e7e7e7;
  border-bottom: 1px solid #d3d3d3;
}

.laptop-browserbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa;
}

.laptop-browserbar > span:nth-child(1) { background: #ff6158; }
.laptop-browserbar > span:nth-child(2) { background: #ffbd2e; }
.laptop-browserbar > span:nth-child(3) { background: #28c840; }

.laptop-browserbar > div {
  min-width: 0;
  flex: 1;
  margin-left: 9px;
  overflow: hidden;
  color: #555;
  font: 500 10px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.laptop-scroll {
  height: clamp(340px, 49vw, 570px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #8e8e8e #ededed;
  cursor: ns-resize;
}

.laptop-scroll::-webkit-scrollbar {
  width: 9px;
}

.laptop-scroll::-webkit-scrollbar-track {
  background: #ededed;
}

.laptop-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #ededed;
  border-radius: 999px;
  background: #858585;
}

.laptop-scroll img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.laptop-base {
  position: relative;
  width: 100%;
  height: 23px;
  margin-top: -1px;
  border-radius: 3px 3px 38px 38px;
  background: linear-gradient(180deg, #b9b9bd, #5c5c62 58%, #26262b);
  box-shadow: 0 18px 35px rgba(0,0,0,.38);
}

.laptop-base::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -5px;
  height: 6px;
  border-radius: 0 0 50% 50%;
  background: #18181d;
}

.laptop-base i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 7px;
  border-radius: 0 0 8px 8px;
  background: #696970;
  transform: translateX(-50%);
}

.laptop-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.laptop-hint .icon {
  width: 16px;
  height: 16px;
}

.minimal-project-nav {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.minimal-project-nav a {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  text-decoration: none;
  transition: transform .25s, border-color .25s;
}

.minimal-project-nav a:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.minimal-project-nav a:last-child {
  text-align: right;
  align-items: flex-end;
}

.minimal-project-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.minimal-project-nav strong {
  max-width: 450px;
  font-size: clamp(1.6rem, 3.8vw, 3.4rem);
  line-height: .92;
  letter-spacing: -.04em;
}

/* Remove old detailed blocks from visual flow if stale markup remains */
.minimal-project-page .case-intro,
.minimal-project-page .case-story-grid,
.minimal-project-page .case-gallery-section,
.minimal-project-page .case-meta,
.minimal-project-page .case-cover,
.minimal-project-page .case-nav {
  display: none !important;
}

@media (max-width: 900px) {
  .minimal-project-hero {
    min-height: 720px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .minimal-project-title h1 {
    font-size: clamp(4.2rem, 14vw, 7.4rem);
  }

  .project-viewer-section {
    padding-top: 82px;
  }

  .project-carousel-slide {
    min-height: 540px;
  }

  .project-image-frame,
  .project-video-frame {
    height: 500px;
  }

  .project-carousel-laptop .project-carousel-slide {
    min-height: 650px;
  }

  .laptop-lid {
    width: 94%;
  }
}

@media (max-width: 640px) {
  .minimal-project-hero {
    min-height: 620px;
    padding: 115px 14px 42px;
  }

  .minimal-project-title h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

  .minimal-project-title > p:last-child {
    font-size: 11px;
  }

  .minimal-project-meta {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .minimal-project-meta > div {
    min-height: 86px;
    padding: 19px;
  }

  .project-viewer-section {
    width: calc(100% - 28px);
    padding: 72px 0 84px;
  }

  .project-viewer-head {
    display: grid;
    gap: 18px;
    margin-bottom: 25px;
  }

  .project-viewer-head h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .project-viewer-status {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .project-viewer-status > span {
    margin: 0;
  }

  .project-carousel-viewport {
    border-radius: 17px;
  }

  .project-carousel-slide {
    min-height: 390px;
    padding: 12px;
  }

  .project-image-frame,
  .project-video-frame {
    height: 360px;
    border-radius: 12px;
  }

  .project-carousel-controls {
    grid-template-columns: 48px 1fr 48px;
    gap: 12px;
    margin-top: 16px;
  }

  .project-carousel-controls button {
    width: 48px;
    height: 48px;
  }

  .project-carousel-laptop .project-carousel-slide {
    min-height: 400px;
    padding: 14px 8px;
  }

  .laptop-lid {
    width: 96%;
    padding: 6px;
    border-radius: 12px 12px 7px 7px;
  }

  .laptop-camera {
    top: 2px;
    width: 3px;
    height: 3px;
  }

  .laptop-screen {
    border-radius: 7px 7px 4px 4px;
  }

  .laptop-browserbar {
    height: 24px;
    gap: 4px;
    padding: 0 7px;
  }

  .laptop-browserbar > span {
    width: 6px;
    height: 6px;
  }

  .laptop-browserbar > div {
    font-size: 7px;
  }

  .laptop-scroll {
    height: min(58vw, 285px);
  }

  .laptop-base {
    height: 14px;
    border-radius: 2px 2px 24px 24px;
  }

  .laptop-base::after {
    bottom: -3px;
    height: 4px;
  }

  .laptop-base i {
    height: 4px;
  }

  .laptop-hint {
    margin-top: 17px;
    font-size: 8px;
  }

  .minimal-project-nav {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .minimal-project-nav a {
    min-height: 150px;
  }

  .minimal-project-nav a:last-child {
    text-align: left;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-carousel-track,
  .project-carousel-progress span {
    transition: none !important;
  }
}


/* App project: use the original vertical screen format */
.project-carousel-phone .project-carousel-viewport {
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.08), transparent 46%),
    linear-gradient(180deg, #101016 0%, #15151d 100%);
}

.project-carousel-phone .project-carousel-slide {
  min-height: clamp(540px, 76vw, 980px);
  padding: clamp(20px, 4vw, 42px);
}

.project-phone-frame {
  width: min(100%, 420px);
  display: block;
  border-radius: 34px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 18px 60px rgba(0,0,0,.38),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.project-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .project-carousel-phone .project-carousel-slide {
    min-height: 680px;
  }

  .project-phone-frame {
    width: min(100%, 360px);
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .project-carousel-phone .project-carousel-slide {
    min-height: auto;
    padding: 16px 12px;
  }

  .project-phone-frame {
    width: min(100%, 320px);
    border-radius: 24px;
  }
}




/* =========================================================
   FINAL PROJECT POLISH
========================================================= */

/* Newsletter: 25% combined side spacing inside the laptop */
.project-carousel-newsletter .laptop-lid {
  width: min(75%, 760px) !important;
}

.project-carousel-newsletter .laptop-scroll {
  background: #f4f4f4 !important;
  padding: 0 !important;
}

.project-carousel-newsletter .laptop-scroll img {
  width: 75% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: top center !important;
  background: #fff !important;
}

/* App: two full-format screens on desktop, one on mobile */
.project-carousel-phone {
  --slide-size: 50%;
}

.project-carousel-phone .project-carousel-track {
  align-items: stretch;
}

.project-carousel-phone .project-carousel-slide {
  flex-basis: var(--slide-size) !important;
  min-width: var(--slide-size) !important;
  min-height: clamp(620px, 68vw, 900px) !important;
  padding: clamp(18px, 3vw, 34px) !important;
}

.project-carousel-phone .project-phone-frame {
  width: min(100%, 390px) !important;
  border-radius: 28px !important;
}

.project-carousel-phone .project-phone-frame img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Complete portrait artwork for flyer */
.project-carousel-artwork .project-carousel-viewport {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.07), transparent 50%),
    #111118 !important;
}

.project-carousel-artwork .project-carousel-track {
  align-items: flex-start !important;
}

.project-carousel-artwork .project-carousel-slide {
  min-height: 0 !important;
  padding: clamp(24px, 5vw, 60px) !important;
  align-items: start !important;
}

.project-carousel-artwork .project-image-frame {
  width: min(100%, 620px) !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.project-carousel-artwork .project-image-frame img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  box-shadow: 0 25px 70px rgba(0,0,0,.42);
}

/* Platum poster full size, Instagram in its own carousel */
.project-poster-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 105px 0 55px;
}

.project-poster-full {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.07), transparent 48%),
    #111118;
}

.project-poster-full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 30px 85px rgba(0,0,0,.35);
}

.project-social-viewer {
  padding-top: 70px !important;
}

.project-carousel-social .project-carousel-slide {
  min-height: clamp(430px, 62vw, 720px) !important;
}

.project-carousel-social .project-image-frame {
  width: min(100%, 650px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
}

.project-carousel-social .project-image-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Clear toolbox */
.toolbox-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.toolbox-heading > p {
  max-width: 430px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.toolbox-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.06), transparent 34%),
    var(--panel);
}

.toolbox-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toolbox-card-top > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}

.toolbox-card-top i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0d;
}

.toolbox-card h3 {
  margin: 54px 0 10px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: .95;
  font-weight: 400;
}

.toolbox-card > p {
  max-width: 470px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tool-tags em {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Refined contact */
.contact-page-refined {
  min-height: 100svh !important;
  display: grid !important;
  align-items: center !important;
  padding: 130px 32px 55px !important;
}

.contact-refined-grid {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: auto;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}

.contact-refined-copy h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(6rem, 15vw, 14rem);
  line-height: .72;
  letter-spacing: -.035em;
}

.contact-refined-copy h1 span {
  display: block;
}

.contact-refined-copy h1 span:last-child {
  color: #2b2b34;
}

.contact-refined-copy > p:not(.section-kicker) {
  max-width: 570px;
  margin: 34px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.contact-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(1rem, 2vw, 1.45rem);
  text-decoration: none;
}

.contact-refined-panel {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(20,20,28,.75);
  backdrop-filter: blur(18px);
}

.contact-refined-panel > a,
.contact-info-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-refined-panel > *:last-child {
  border-bottom: 0;
}

.contact-refined-panel > a {
  transition: background .2s, transform .2s;
}

.contact-refined-panel > a:hover {
  background: rgba(255,255,255,.035);
  transform: translateX(4px);
}

.contact-refined-panel i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0d;
}

.contact-refined-panel div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.contact-refined-panel strong {
  font-size: 13px;
  font-weight: 600;
}

.contact-arrow {
  color: var(--muted);
}

.status-icon {
  background: rgba(255,255,255,.06) !important;
}

.status-icon > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8ee6a7;
  box-shadow: 0 0 0 6px rgba(142,230,167,.12), 0 0 18px rgba(142,230,167,.45);
}

@media (max-width: 900px) {
  .project-carousel-newsletter .laptop-lid {
    width: 86% !important;
  }

  .project-carousel-newsletter .laptop-scroll img {
    width: 82% !important;
  }

  .toolbox-heading {
    display: grid;
    gap: 18px;
  }

  .contact-refined-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-refined-panel {
    width: min(100%, 620px);
  }
}

@media (max-width: 640px) {
  .project-carousel-newsletter .laptop-lid {
    width: 94% !important;
  }

  .project-carousel-newsletter .laptop-scroll img {
    width: 90% !important;
  }

  .project-carousel-phone {
    --slide-size: 100%;
  }

  .project-carousel-phone .project-carousel-slide {
    min-height: auto !important;
    padding: 16px 12px !important;
  }

  .project-carousel-phone .project-phone-frame {
    width: min(100%, 325px) !important;
    border-radius: 24px !important;
  }

  .project-carousel-artwork .project-carousel-slide {
    padding: 18px 10px !important;
  }

  .project-poster-section {
    width: calc(100% - 28px);
    padding: 72px 0 30px;
  }

  .project-poster-full {
    padding: 10px;
    border-radius: 16px;
  }

  .toolbox-grid {
    grid-template-columns: 1fr;
  }

  .toolbox-card {
    min-height: 300px;
    padding: 24px;
  }

  .contact-page-refined {
    padding: 110px 14px 36px !important;
  }

  .contact-refined-copy h1 {
    font-size: clamp(5.7rem, 29vw, 8.5rem);
  }

  .contact-refined-panel > a,
  .contact-info-row {
    min-height: 82px;
    grid-template-columns: 44px 1fr auto;
    padding: 13px;
  }

  .contact-refined-panel i {
    width: 42px;
    height: 42px;
  }
}




/* =========================================================
   CAROUSEL + LOGO FIX
========================================================= */

/* Header: real logo instead of Available for Work */
.site-header {
  grid-template-columns: 1fr auto !important;
}

.header-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 46px;
  text-decoration: none;
}

.header-brand img {
  width: clamp(132px, 12vw, 180px);
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.wordmark {
  display: none !important;
}

/* The old magnetic selector no longer controls the header badge */
.availability {
  display: none !important;
}

/* Project pages: no visible project information grid */
.minimal-project-meta {
  display: none !important;
}

/* Critical carousel repair: use the JS offset and slide size */
.project-carousel-track {
  transform: translate3d(var(--carousel-offset, 0%), 0, 0) !important;
}

.project-carousel-slide {
  flex: 0 0 var(--slide-size, 100%) !important;
  min-width: var(--slide-size, 100%) !important;
}

/* Newsletter image is 65% wide: 17.5% space on each side */
.project-carousel-newsletter .laptop-lid {
  width: min(78%, 760px) !important;
}

.project-carousel-newsletter .laptop-scroll {
  background: #ededed !important;
}

.project-carousel-newsletter .laptop-scroll img {
  width: 65% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: top center !important;
  background: #fff !important;
}

/* Toolbox is now a clean vertical list, not a card grid */
.toolbox-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  border-top: 1px solid var(--line);
}

.toolbox-card {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 86px minmax(220px, .7fr) minmax(280px, 1fr) !important;
  align-items: center !important;
  gap: 34px !important;
  padding: 30px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.toolbox-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 15px !important;
}

.toolbox-card-top i {
  width: 42px !important;
  height: 42px !important;
}

.toolbox-card h3 {
  margin: 0 !important;
}

.toolbox-card > p {
  margin: 0 0 14px !important;
}

.toolbox-card .tool-tags {
  grid-column: 3 !important;
  margin: 0 !important;
}

/* Maintain two app screens on desktop, one on mobile */
.project-carousel-phone {
  --slide-size: 50%;
}

@media (max-width: 900px) {
  .header-brand img {
    width: 145px;
  }

  .project-carousel-newsletter .laptop-lid {
    width: 88% !important;
  }

  .project-carousel-newsletter .laptop-scroll img {
    width: 72% !important;
  }

  .toolbox-card {
    grid-template-columns: 74px 1fr !important;
  }

  .toolbox-card .tool-tags {
    grid-column: 2 !important;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto !important;
  }

  .header-brand {
    height: 42px;
  }

  .header-brand img {
    width: 125px;
    height: 36px;
  }

  .project-carousel-newsletter .laptop-lid {
    width: 95% !important;
  }

  .project-carousel-newsletter .laptop-scroll img {
    width: 82% !important;
  }

  .project-carousel-phone {
    --slide-size: 100%;
  }

  .toolbox-card {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 28px 0 !important;
  }

  .toolbox-card-top {
    justify-content: space-between !important;
  }

  .toolbox-card .tool-tags {
    grid-column: auto !important;
  }
}


/* MOBILE RESPONSIVENESS HARDENING */
@media (max-width:900px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  body.menu-open{overflow:hidden!important;touch-action:none}
  body.menu-open main,body.menu-open .site-footer{visibility:hidden!important}

  .site-header{
    inset:0 0 auto!important;width:100%!important;height:72px!important;padding:0 16px!important;
    display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;
    mix-blend-mode:normal!important;pointer-events:none!important
  }
  .header-brand,.menu-toggle{pointer-events:auto!important;position:relative!important;z-index:10002!important}
  body.menu-open .header-brand{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

  .menu-toggle{
    display:grid!important;justify-self:end!important;width:46px!important;height:46px!important;
    border-radius:50%!important;border:1px solid rgba(255,255,255,.34)!important;
    background:rgba(10,10,13,.92)!important;color:#fff!important;cursor:pointer!important
  }
  body.menu-open .menu-toggle{
    position:fixed!important;top:13px!important;right:16px!important;
    background:#fff!important;color:#0a0a0d!important;border-color:#fff!important
  }

  .mobile-nav{
    position:fixed!important;inset:0!important;z-index:10000!important;min-height:100dvh!important;width:100vw!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;padding:88px 24px 34px!important;border:0!important;border-radius:0!important;
    background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.055),transparent 34%),#0a0a0d!important;
    opacity:0!important;visibility:hidden!important;transform:none!important;pointer-events:none!important;
    transition:opacity .22s ease,visibility .22s ease!important;overflow-y:auto!important;mix-blend-mode:normal!important
  }
  body.menu-open .mobile-nav{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .mobile-nav a{
    width:min(100%,420px)!important;min-height:62px!important;display:flex!important;align-items:center!important;
    justify-content:center!important;padding:0 18px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.09)!important;
    border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.52)!important;text-align:center!important;
    text-decoration:none!important;font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif!important;font-size:clamp(2.2rem,10vw,4rem)!important;
    line-height:1!important;letter-spacing:-.02em!important;text-transform:uppercase!important
  }
  .mobile-nav a:hover,.mobile-nav a.is-active{color:#fff!important;background:transparent!important}
}

@media (max-width:640px){
  :root{--mobile-gutter:14px}
  html{scroll-padding-top:78px}
  main,section,article,nav,footer,header,div{min-width:0}
  img,video{max-width:100%!important}
  .header-brand img{width:122px!important;height:34px!important;object-fit:contain!important}

  .manifesto,.profile-section,.work-section,.services-preview,.timeline-section,.skills-wall,.process-section,
  .projects-page-list,.services-page-list,.case-intro,.case-story-grid,.case-gallery-section,.project-viewer-section,
  .project-poster-section,.minimal-project-meta,.minimal-project-nav,.case-meta,.case-nav,.talk-section,.site-footer,.about-intro{
    width:calc(100% - (var(--mobile-gutter)*2))!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important
  }
  .hero,.page-hero,.contact-page,.minimal-project-hero{width:100%!important;max-width:100%!important}

  .manifesto,.work-heading,.services-preview-head,.timeline-heading,.skills-heading,.process-heading,.case-gallery-heading,
  .page-hero,.minimal-project-title,.project-viewer-head,.contact-refined-copy,.about-intro,.profile-copy{
    text-align:center!important
  }

  .manifesto-grid,.about-intro-grid,.profile-section,.contact-refined-grid{justify-items:center!important}
  .manifesto-grid p,.about-intro-grid p,.profile-copy>p,.page-hero>p:last-child,.minimal-project-title>p:last-child,
  .contact-refined-copy>p:not(.section-kicker){
    max-width:34rem!important;margin-left:auto!important;margin-right:auto!important
  }
  .line-link,.all-work-link,.contact-primary-link{margin-left:auto!important;margin-right:auto!important}

  .work-card,.service-case,.toolbox-card,.timeline-item,.process-list article,.case-story-block,.contact-refined-panel{
    width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important
  }
  .work-card{grid-template-columns:1fr!important}
  .work-card.reverse .work-card-media{order:0!important}
  .work-card-media{width:100%!important;min-height:280px!important}
  .work-card-copy{text-align:center!important;align-items:center!important}
  .work-card-icons{width:100%!important}
  .work-tags{justify-content:center!important}

  .project-carousel,.project-carousel-viewport,.project-carousel-track,.project-carousel-slide,.project-image-frame,
  .project-video-frame,.project-phone-frame,.laptop-wrap{max-width:100%!important}
  .project-carousel-slide{width:var(--slide-size,100%)!important;padding-left:10px!important;padding-right:10px!important}
  .project-carousel-controls{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
  .project-viewer-status{width:100%!important;justify-content:center!important;gap:18px!important}
  .project-carousel-newsletter .laptop-lid{width:96%!important}
  .project-carousel-newsletter .laptop-scroll img{width:84%!important}
  .laptop-wrap{display:flex!important;flex-direction:column!important;align-items:center!important}
  .project-poster-full{width:100%!important;margin:0 auto!important}

  .toolbox-card{text-align:center!important;align-items:center!important}
  .toolbox-card-top{width:100%!important;justify-content:space-between!important}
  .toolbox-card h3,.toolbox-card>p{text-align:center!important}
  .tool-tags{justify-content:center!important}

  .contact-refined-panel{width:100%!important}
  .contact-refined-panel>a,.contact-info-row{width:100%!important}

  .talk-headline{text-align:center!important;justify-items:center!important}
  .talk-bottom{justify-items:center!important;text-align:center!important}
  .talk-bottom>div{justify-items:center!important}
  .site-footer{text-align:center!important;justify-items:center!important}
  .footer-left,.footer-links{justify-content:center!important}
}

@media (max-width:390px){
  .site-header{padding-inline:10px!important}
  .header-brand img{width:112px!important}
  .mobile-nav{padding-inline:16px!important}
  .mobile-nav a{min-height:58px!important;font-size:clamp(2rem,11vw,3rem)!important}
  .project-carousel-controls{grid-template-columns:44px 1fr 44px!important}
  .project-carousel-controls button{width:44px!important;height:44px!important}
}



/* =========================================================
   ABOUT CAROUSEL + EDITORIAL REFINEMENT
========================================================= */

.about-page-hero-refined {
  padding-top: 138px;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 22px;
}

.about-page-hero-refined .page-hero-title {
  position: relative;
  inset: auto;
  transform: none;
  width: min(92vw, 980px);
  margin: 0 auto;
}

.about-portrait-showcase {
  position: relative;
  z-index: 2;
  width: min(86vw, 680px);
  margin: 0 auto;
}

.about-portrait-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 40px 120px rgba(0,0,0,.42);
}

.about-portrait-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 35%, rgba(0,0,0,.18));
  z-index: 1;
  pointer-events: none;
}

.about-portrait-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(.975);
  transition: opacity .45s ease, transform .55s ease, visibility .45s ease;
}

.about-portrait-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.about-portrait-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-portrait-controls {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.about-portrait-button {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.about-portrait-button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
}

.about-portrait-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.about-portrait-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.about-portrait-dots button.is-active {
  background: #fff;
  transform: scale(1.12);
}

.about-portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.about-portrait-caption strong {
  color: var(--text);
  font-size: 10px;
  letter-spacing: .16em;
  white-space: nowrap;
}

.about-portrait-caption span {
  max-width: 360px;
  text-align: right;
}

.about-intro-refined {
  border-bottom: 0 !important;
}

.about-editorial-flow {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.about-editorial-card {
  position: relative;
  margin: 0;
  padding: 34px 34px 30px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 28px 90px rgba(0,0,0,.2);
}

.about-editorial-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -72px;
  top: -78px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}

.about-editorial-card:nth-child(2) {
  margin-top: 58px;
}

.about-editorial-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #0a0a0d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.about-editorial-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}

/* Replace rigid grids and lines with softer editorial cards */
.manifesto,
.about-intro,
.timeline-section,
.skills-wall,
.services-preview,
.work-section,
.projects-page-list,
.services-page-list,
.case-intro,
.case-story-grid,
.case-gallery-section,
.site-footer {
  border-bottom: 0 !important;
}

.tool-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tool-columns article,
.timeline-item,
.service-case,
.contact-refined-panel,
.toolbox-card,
.work-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.05) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.tool-columns article,
.timeline-item,
.contact-refined-panel,
.toolbox-card,
.service-case {
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.018)) !important;
  border-radius: 28px !important;
}

.tool-columns article::after,
.timeline-item::after,
.contact-refined-panel::after,
.toolbox-card::after,
.service-case::after,
.work-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -80px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 72%);
  pointer-events: none;
}

.tool-columns article {
  padding: 24px !important;
  border-bottom: 0 !important;
}

.profile-section {
  align-items: start;
}

.timeline-list {
  display: grid;
  gap: 18px;
  border-top: 0 !important;
}

.timeline-item {
  padding: 28px 30px !important;
  border: 1px solid rgba(255,255,255,.05) !important;
}

.timeline-item:nth-child(even) {
  margin-left: 6%;
}

.timeline-item:nth-child(odd) {
  margin-right: 6%;
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.toolbox-grid .toolbox-card:nth-child(1) { grid-column: 1 / span 7; }
.toolbox-grid .toolbox-card:nth-child(2) { grid-column: 8 / -1; margin-top: 34px; }
.toolbox-grid .toolbox-card:nth-child(3) { grid-column: 1 / span 5; margin-top: -10px; }
.toolbox-grid .toolbox-card:nth-child(4) { grid-column: 6 / -1; }

.toolbox-card {
  min-height: 100%;
  padding: 28px 28px 24px !important;
}

.projects-page-list .work-card,
.work-preview-list .work-card,
.work-section .work-card {
  border-radius: 34px !important;
  background: linear-gradient(145deg, rgba(24,24,31,.92), rgba(15,15,21,.96)) !important;
}

.projects-page-list .work-card:nth-child(odd),
.work-preview-list .work-card:nth-child(odd) {
  transform: rotate(-.8deg);
}

.projects-page-list .work-card:nth-child(even),
.work-preview-list .work-card:nth-child(even) {
  transform: rotate(.8deg);
}

.projects-page-list .work-card:hover,
.work-preview-list .work-card:hover,
.work-section .work-card:hover {
  transform: translateY(-4px) rotate(0deg);
}

.services-page-list {
  display: grid;
  gap: 20px;
}

.services-page-list .service-case {
  margin: 0;
  padding: 30px 34px !important;
  border: 1px solid rgba(255,255,255,.05) !important;
}

.contact-refined-panel {
  border: 1px solid rgba(255,255,255,.05) !important;
}

.site-footer {
  margin-top: 60px;
}

/* MOBILE JITTER FIX */
@media (max-width: 900px) {
  .cursor-dot,
  .scroll-progress,
  .page-transition {
    display: none !important;
  }

  .site-header {
    mix-blend-mode: normal !important;
    backdrop-filter: none !important;
  }

  .smoke-layer {
    animation: none !important;
    filter: blur(30px) !important;
    opacity: .32 !important;
  }

  .hero-title,
  .page-hero-title,
  .contact-page-title,
  .hero-portrait,
  .about-page-hero figure,
  .work-card-media img,
  .work-card-media video,
  .case-cover img,
  .case-cover video {
    translate: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .tool-columns,
  .about-editorial-flow,
  .toolbox-grid {
    grid-template-columns: 1fr !important;
  }

  .toolbox-grid .toolbox-card,
  .timeline-item,
  .about-editorial-card,
  .services-page-list .service-case,
  .projects-page-list .work-card,
  .work-preview-list .work-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  .about-page-hero-refined {
    padding-top: 112px;
    gap: 18px;
  }

  .about-portrait-showcase {
    width: min(100%, 520px);
  }

  .about-portrait-controls {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .about-portrait-button {
    width: 44px;
    height: 44px;
  }

  .about-portrait-caption {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-portrait-caption span {
    max-width: 100%;
    text-align: center;
  }

  .timeline-list,
  .services-page-list {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .about-portrait-stage {
    border-radius: 24px;
  }

  .about-editorial-card {
    padding: 26px 22px 22px;
    border-radius: 24px;
  }

  .about-editorial-card p {
    font-size: 14px;
    line-height: 1.75;
  }

  .tool-columns article,
  .timeline-item,
  .toolbox-card,
  .services-page-list .service-case,
  .contact-refined-panel,
  .work-card {
    border-radius: 22px !important;
  }
}




/* =========================================================
   ABOUT V2 — TRUE CAROUSEL, EDITORIAL TOOLS, MOBILE SAFE
========================================================= */

.about-page-hero-refined {
  min-height: auto !important;
  padding: 136px 24px 70px !important;
  display: block !important;
  overflow: hidden !important;
}

.about-page-hero-refined .page-hero-title {
  position: relative !important;
  inset: auto !important;
  width: min(100%, 1040px) !important;
  margin: 0 auto 30px !important;
  transform: none !important;
  font-size: clamp(5rem, 14vw, 12rem) !important;
  pointer-events: none;
}

.about-page-hero-refined > p {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  margin: 22px auto 0 !important;
  text-align: center !important;
}

/* Real one-image-at-a-time carousel */
.about-carousel-v2 {
  position: relative;
  z-index: 3;
  width: min(100%, 680px);
  margin: 0 auto;
  --about-index: 0;
  --about-progress: .25;
}

.about-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #111118;
  box-shadow: 0 42px 120px rgba(0,0,0,.46);
  touch-action: pan-y;
}

.about-carousel-track {
  display: flex;
  width: 100%;
  transform: translate3d(calc(var(--about-index) * -100%), 0, 0);
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.about-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0e0e13;
}

.about-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-carousel-slide:nth-child(1) img { object-position: center 20%; }
.about-carousel-slide:nth-child(2) img { object-position: center center; }
.about-carousel-slide:nth-child(3) img { object-position: center 35%; }
.about-carousel-slide:nth-child(4) img { object-position: center center; }

.about-carousel-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  pointer-events: none;
}

.about-carousel-slide figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.about-carousel-slide figcaption span {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  letter-spacing: .16em;
}

.about-carousel-slide figcaption strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.about-carousel-ui {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.about-carousel-arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f4f1ea;
  color: #0a0a0d;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.about-carousel-arrow:hover {
  transform: scale(1.06);
  background: #fff;
}

.about-carousel-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}

.about-carousel-progress {
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}

.about-carousel-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--about-progress));
  transform-origin: left;
  background: #fff;
  transition: transform .45s ease;
}

/* Tools as staggered editorial strips, without grid lines */
.toolbox-v2 {
  padding-top: 110px !important;
}

.toolbox-v2-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 40px !important;
  margin-bottom: 46px !important;
}

.toolbox-v2-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.tool-stack-v2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tool-strip-v2 {
  position: relative;
  min-height: 240px;
  display: grid;
  grid-template-columns: 110px minmax(250px,.85fr) minmax(280px,1fr);
  align-items: center;
  gap: 32px;
  width: 88%;
  padding: 30px 34px;
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.13), transparent 30%),
    linear-gradient(145deg, #1a1a24, #111117);
  box-shadow: 0 30px 100px rgba(0,0,0,.28);
}

.tool-strip-v2::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
}

.tool-strip-b {
  align-self: flex-end;
  width: 82%;
  background:
    radial-gradient(circle at 12% 85%, rgba(255,255,255,.1), transparent 32%),
    linear-gradient(145deg, #24242d, #141419);
}

.tool-strip-c {
  width: 94%;
}

.tool-strip-d {
  align-self: flex-end;
  width: 78%;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(145deg, #1f1f27, #0f0f14);
}

.tool-strip-number {
  position: relative;
  z-index: 1;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: .75;
  color: rgba(255,255,255,.12);
}

.tool-strip-copy {
  position: relative;
  z-index: 1;
}

.tool-strip-copy > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.tool-strip-copy h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: .9;
  text-transform: uppercase;
}

.tool-strip-copy > span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.tool-strip-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tool-strip-tags em {
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Remove rigid line-based visuals on the About page */
.about-intro,
.timeline-list,
.timeline-item,
.toolbox-v2,
.tool-strip-v2 {
  border: 0 !important;
}

.timeline-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.timeline-item {
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.08), transparent 25%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.2) !important;
}

/* Stable but visible mobile animations */
@keyframes mobileSmokeV2 {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  100% { transform: translate3d(1.5%, 1%, 0) scale(1.035); }
}

@keyframes mobileRevealV2 {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 900px) {
  .about-page-hero-refined {
    padding: 112px 14px 62px !important;
  }

  .about-page-hero-refined .page-hero-title {
    margin-bottom: 22px !important;
    font-size: clamp(4.8rem, 20vw, 8rem) !important;
  }

  .about-carousel-v2 {
    width: min(100%, 560px) !important;
  }

  .smoke-layer {
    display: block !important;
    animation: mobileSmokeV2 14s ease-in-out infinite alternate !important;
    filter: blur(34px) !important;
    opacity: .32 !important;
    will-change: transform !important;
  }

  .reveal {
    opacity: 0 !important;
    transform: translate3d(0, 18px, 0) !important;
    transition: opacity .58s ease, transform .58s ease !important;
    will-change: opacity, transform !important;
  }

  .reveal.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .toolbox-v2-heading {
    display: grid !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .toolbox-v2-heading > p {
    margin: 0 auto !important;
  }

  .tool-stack-v2 {
    gap: 14px !important;
  }

  .tool-strip-v2,
  .tool-strip-b,
  .tool-strip-c,
  .tool-strip-d {
    width: 100% !important;
    min-height: 0 !important;
    align-self: auto !important;
    grid-template-columns: 72px minmax(0,1fr) !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 25px 22px !important;
    border-radius: 26px !important;
  }

  .tool-strip-number {
    font-size: 4.4rem !important;
  }

  .tool-strip-tags {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
  }

  .tool-strip-copy {
    text-align: left !important;
  }

  .timeline-item {
    margin: 0 !important;
  }
}

@media (max-width: 640px) {
  .about-carousel-viewport {
    border-radius: 22px !important;
  }

  .about-carousel-slide {
    aspect-ratio: 4 / 5 !important;
  }

  .about-carousel-slide figcaption {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }

  .about-carousel-ui {
    grid-template-columns: 48px 1fr 48px !important;
    gap: 10px !important;
  }

  .about-carousel-arrow {
    width: 48px !important;
    height: 48px !important;
  }

  .about-intro,
  .timeline-section,
  .toolbox-v2 {
    text-align: center !important;
  }

  .about-editorial-flow {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .about-editorial-card {
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .timeline-item {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 24px 20px !important;
    text-align: left !important;
  }

  .tool-strip-v2,
  .tool-strip-b,
  .tool-strip-c,
  .tool-strip-d {
    grid-template-columns: 58px minmax(0,1fr) !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  .tool-strip-number {
    font-size: 3.6rem !important;
  }

  .tool-strip-copy h3 {
    font-size: clamp(2rem, 11vw, 3rem) !important;
  }

  .tool-strip-tags {
    justify-content: flex-start !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-carousel-track,
  .about-carousel-progress i,
  .about-carousel-arrow,
  .smoke-layer,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}




/* =========================================================
   ABOUT COMPACT CAROUSEL + BORDERLESS TOOL DIRECTORY
========================================================= */

/* Smaller, calmer portrait carousel */
.about-carousel-v2 {
  position: relative !important;
  width: min(100%, 410px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.about-carousel-viewport {
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.32) !important;
}

.about-carousel-slide {
  aspect-ratio: 4 / 5 !important;
}

.about-carousel-slide figcaption {
  left: 16px !important;
  right: 16px !important;
  bottom: 14px !important;
}

.about-carousel-slide figcaption strong {
  font-size: clamp(1.15rem, 2.3vw, 1.65rem) !important;
}

/* Tiny overlay arrows only */
.about-carousel-arrow {
  position: absolute !important;
  z-index: 8 !important;
  top: 50% !important;
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  min-height: 25px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 999px !important;
  background: rgba(8,8,12,.28) !important;
  color: rgba(255,255,255,.7) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
  transform: translateY(-50%) !important;
  opacity: .72 !important;
}

.about-carousel-arrow:hover {
  background: rgba(8,8,12,.55) !important;
  color: #fff !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.04) !important;
}

.about-carousel-arrow .icon {
  width: 11px !important;
  height: 11px !important;
}

.about-carousel-prev {
  left: 8px !important;
}

.about-carousel-next {
  right: 8px !important;
}

/* Hide old large control UI if any older style remains */
.about-carousel-ui,
.about-carousel-status,
.about-carousel-progress {
  display: none !important;
}

/* Clean toolbox without boxes, grids or horizontal lines */
.toolbox-clean {
  border: 0 !important;
}

.toolbox-clean-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 44px !important;
  margin-bottom: 58px !important;
  border: 0 !important;
}

.toolbox-clean-heading > p {
  max-width: 430px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}

.tool-directory {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 58px 88px !important;
  border: 0 !important;
}

.tool-directory-item {
  position: relative !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.tool-directory-item::before,
.tool-directory-item::after {
  display: none !important;
}

.tool-directory-item > span {
  display: block !important;
  margin: 0 0 13px !important;
  color: var(--muted) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .17em !important;
  text-transform: uppercase !important;
}

.tool-directory-item h3 {
  margin: 0 0 12px !important;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.45rem) !important;
  font-weight: 400 !important;
  line-height: .94 !important;
  text-transform: uppercase !important;
}

.tool-directory-item p {
  max-width: 470px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.72 !important;
}

/* Explicitly remove the old line above this area */
.tool-directory,
.toolbox-clean,
.toolbox-clean-heading,
.skills-wall.toolbox-clean {
  border-top: 0 !important;
}

@media (max-width: 900px) {
  .about-carousel-v2 {
    width: min(100%, 370px) !important;
  }

  .toolbox-clean-heading {
    display: grid !important;
    justify-items: center !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .toolbox-clean-heading > p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .tool-directory {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    width: min(100%, 560px) !important;
    margin: 0 auto !important;
  }

  .tool-directory-item {
    text-align: center !important;
  }

  .tool-directory-item p {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 640px) {
  .about-carousel-v2 {
    width: min(76vw, 310px) !important;
  }

  .about-carousel-viewport {
    border-radius: 19px !important;
  }

  .about-carousel-arrow {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
  }

  .about-carousel-prev {
    left: 6px !important;
  }

  .about-carousel-next {
    right: 6px !important;
  }

  .toolbox-clean-heading {
    margin-bottom: 40px !important;
  }

  .tool-directory {
    gap: 30px !important;
  }

  .tool-directory-item h3 {
    font-size: clamp(1.9rem, 10vw, 2.8rem) !important;
  }

  .tool-directory-item p {
    max-width: 320px !important;
    font-size: 12px !important;
  }
}




/* =========================================================
   MOBILE HERO REPAIR + ABOUT TYPOGRAPHIC COMPOSITION
========================================================= */

/* Homepage ABOUT / 02 without boxes or rigid lines */
.about-signals {
  position: relative;
  min-height: 560px;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  isolation: isolate;
}

.about-signals::before {
  content: "";
  position: absolute;
  inset: 8% 6% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.07), transparent 48%),
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.05), transparent 30%);
  filter: blur(4px);
  z-index: -1;
}

.about-signals-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 28px 80px rgba(0,0,0,.22);
  transform: translate(-50%, -50%);
  text-align: center;
}

.about-signals-core strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 4.6rem;
  font-weight: 400;
  line-height: .8;
  color: rgba(255,255,255,.92);
}

.about-signals-core span {
  max-width: 120px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-signal {
  position: absolute;
  width: min(250px, 48%);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.about-signal > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  font-size: 8px;
  font-weight: 700;
}

.about-signal strong {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.2;
}

.about-signal p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.about-signal-a { left: 0; top: 8%; }
.about-signal-b { right: 0; top: 19%; }
.about-signal-c { left: 2%; bottom: 15%; }
.about-signal-d { right: 2%; bottom: 5%; }

/* About carousel arrows: almost invisible until interaction */
.about-carousel-arrow {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border: 0 !important;
  background: rgba(0,0,0,.08) !important;
  color: rgba(255,255,255,.38) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: .32 !important;
}

.about-carousel-arrow:hover,
.about-carousel-arrow:focus-visible {
  background: rgba(0,0,0,.32) !important;
  color: rgba(255,255,255,.9) !important;
  opacity: .9 !important;
}

.about-carousel-arrow .icon {
  width: 9px !important;
  height: 9px !important;
}

.about-carousel-prev { left: 7px !important; }
.about-carousel-next { right: 7px !important; }

/* MOBILE: force a properly centred hero and prevent clipping */
@media (max-width: 640px) {
  .hero {
    position: relative !important;
    min-height: 100svh !important;
    height: auto !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
  }

  .hero-title {
    position: absolute !important;
    left: 50% !important;
    top: 43% !important;
    width: calc(100% - 28px) !important;
    max-width: none !important;
    translate: none !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    font-size: clamp(3.7rem, 17vw, 5.6rem) !important;
    line-height: .82 !important;
    letter-spacing: -.035em !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .hero-title span {
    width: 100% !important;
    display: block !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  .hero-portrait {
    position: absolute !important;
    left: 50% !important;
    top: 55% !important;
    width: min(42vw, 158px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    translate: none !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 24px !important;
  }

  body.page-ready .hero-portrait {
    transform: translate(-50%, -50%) !important;
  }

  .hero-note {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 34px) !important;
    max-width: 420px !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .hero-note-left {
    bottom: 74px !important;
  }

  .hero-note-right {
    bottom: 36px !important;
  }

  .hero-note p {
    margin: 0 !important;
  }

  .hero-note span {
    display: none !important;
  }

  .scroll-dot {
    display: none !important;
  }

  /* Never allow inline parallax values to shift the hero on mobile */
  .hero-title,
  .hero-portrait,
  .hero .smoke-layer {
    translate: none !important;
  }

  /* ABOUT / 02 composition becomes a clean centred typographic flow */
  .profile-section {
    display: block !important;
    text-align: center !important;
  }

  .profile-copy {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }

  .about-signals {
    min-height: 0 !important;
    max-width: 430px !important;
    margin: 58px auto 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 26px !important;
  }

  .about-signals::before {
    inset: -15px 8% !important;
    opacity: .55 !important;
  }

  .about-signals-core {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 150px !important;
    margin: 0 auto 10px !important;
    transform: none !important;
  }

  .about-signals-core strong {
    font-size: 3.5rem !important;
  }

  .about-signal,
  .about-signal-a,
  .about-signal-b,
  .about-signal-c,
  .about-signal-d {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    grid-template-columns: 24px 1fr !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .about-signal > span {
    width: 24px !important;
    height: 24px !important;
  }

  .about-signal strong {
    font-size: 13px !important;
  }

  .about-signal p {
    font-size: 11px !important;
  }

  /* About page portrait stays compact */
  .about-carousel-v2 {
    width: min(72vw, 290px) !important;
  }

  .about-carousel-viewport {
    border-radius: 18px !important;
  }

  .about-carousel-arrow {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
  }
}

@media (max-width: 390px) {
  .hero-title {
    top: 42% !important;
    font-size: clamp(3.35rem, 17vw, 4.65rem) !important;
  }

  .hero-portrait {
    top: 54% !important;
    width: 138px !important;
  }

  .hero-note-left { bottom: 72px !important; }
  .hero-note-right { bottom: 32px !important; }

  .about-carousel-v2 {
    width: min(74vw, 275px) !important;
  }
}




/* MOBILE ANIMATION SYSTEM */
@keyframes mobileFadeUp {
  from { opacity: 0; transform: translate3d(0,20px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes mobileFadeScale {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes mobileSoftFloat {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(0,-8px,0); }
}
@keyframes mobileSmokeDrift {
  from { transform: translate3d(-1%,-1%,0) scale(1); }
  to { transform: translate3d(1%,1%,0) scale(1.035); }
}
@keyframes mobileMenuItemIn {
  from { opacity: 0; transform: translate3d(0,16px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

@media (max-width:900px) {
  .reveal {
    opacity: 0 !important;
    transform: translate3d(0,20px,0) !important;
    transition: opacity .62s cubic-bezier(.2,.8,.2,1), transform .62s cubic-bezier(.2,.8,.2,1) !important;
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1 !important;
    transform: translate3d(0,0,0) !important;
  }

  .hero-title {
    opacity: 0;
    animation: mobileFadeUp .85s .12s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .hero-portrait {
    opacity: 0;
    animation: mobileFadeScale .8s .28s cubic-bezier(.2,.8,.2,1) forwards,
               mobileSoftFloat 4.8s 1.2s ease-in-out infinite alternate;
  }
  .hero-note-left {
    opacity: 0;
    animation: mobileFadeUp .65s .48s ease forwards;
  }
  .hero-note-right {
    opacity: 0;
    animation: mobileFadeUp .65s .62s ease forwards;
  }

  .smoke-layer {
    display: block !important;
    animation: mobileSmokeDrift 14s ease-in-out infinite alternate !important;
    will-change: transform;
  }

  .about-carousel-track,
  .project-carousel-track {
    transition: transform .58s cubic-bezier(.2,.8,.2,1) !important;
  }

  body.menu-open .mobile-nav a {
    opacity: 0;
    animation: mobileMenuItemIn .42s ease forwards;
  }
  body.menu-open .mobile-nav a:nth-child(1) { animation-delay: .06s; }
  body.menu-open .mobile-nav a:nth-child(2) { animation-delay: .11s; }
  body.menu-open .mobile-nav a:nth-child(3) { animation-delay: .16s; }
  body.menu-open .mobile-nav a:nth-child(4) { animation-delay: .21s; }
  body.menu-open .mobile-nav a:nth-child(5) { animation-delay: .26s; }

  .menu-toggle {
    transition: transform .24s ease, background .24s ease, color .24s ease !important;
  }
  body.menu-open .menu-toggle {
    transform: rotate(90deg);
  }

  .work-card,
  .service-case,
  .tool-directory-item,
  .about-signal,
  .timeline-item,
  .contact-refined-panel > a {
    transition: transform .28s ease, opacity .28s ease, background .28s ease !important;
  }

  .work-card:active,
  .service-case:active,
  .contact-refined-panel > a:active {
    transform: scale(.985) !important;
  }
}

@media (max-width:640px) {
  .hero-title { animation-duration: .72s; }
  .hero-portrait {
    animation: mobileFadeScale .72s .22s cubic-bezier(.2,.8,.2,1) forwards,
               mobileSoftFloat 5.2s 1.1s ease-in-out infinite alternate;
  }
  .about-carousel-arrow {
    transition: opacity .2s ease, background .2s ease, color .2s ease !important;
  }
  .about-carousel-arrow:active {
    opacity: 1 !important;
    background: rgba(0,0,0,.4) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-portrait,
  .hero-note-left,
  .hero-note-right,
  .smoke-layer,
  .mobile-nav a {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .about-carousel-track,
  .project-carousel-track {
    transition: none !important;
  }
}




/* =========================================================
   ACCESSIBILITY + LEGAL PAGES
========================================================= */

:root {
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

body {
  font-family: var(--font-body) !important;
}

.hero-title,
.page-hero-title,
.contact-page-title,
.mega-statement,
.profile-copy h2,
.work-heading h2,
.services-preview-head h2,
.timeline-heading h2,
.skills-heading h2,
.process-heading h2,
.case-gallery-heading h2,
.tool-directory-item h3,
.minimal-project-title h1,
.project-viewer-head h2,
.legal-hero h1 {
  font-family: var(--font-display) !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed !important;
  z-index: 20000 !important;
  top: 10px !important;
  left: 10px !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #08080b !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transform: translateY(-160%) !important;
  transition: transform .2s ease !important;
}

.skip-link:focus {
  transform: translateY(0) !important;
}

:focus-visible {
  outline: 3px solid #ffffff !important;
  outline-offset: 4px !important;
}

a,
button,
[tabindex] {
  scroll-margin-top: 96px;
}

.motion-toggle {
  position: fixed;
  z-index: 15000;
  left: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(10,10,13,.88);
  color: #fff;
  box-shadow: 0 12px 36px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.motion-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motion-icon-play {
  display: none;
}

body.motion-paused .motion-icon-pause {
  display: none;
}

body.motion-paused .motion-icon-play {
  display: block;
}

body.motion-paused *,
body.motion-paused *::before,
body.motion-paused *::after {
  animation-play-state: paused !important;
  transition-duration: .001ms !important;
}

.menu-toggle,
.project-carousel-controls button,
.about-carousel-arrow,
.motion-toggle {
  min-width: 44px;
  min-height: 44px;
}

.about-carousel-arrow {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  background: transparent !important;
  border: 0 !important;
}

.about-carousel-arrow .icon {
  width: 10px !important;
  height: 10px !important;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
  padding-top: 8px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.media-description {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 70px;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}

.media-description h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.media-description p:last-child {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
}

/* Legal pages */
.legal-main {
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
  padding: 150px 0 80px;
}

.legal-hero {
  padding: 50px 0 70px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 13vw, 10rem);
  line-height: .8;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.legal-hero > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-block {
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.legal-block h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.legal-block p,
.legal-block li {
  color: #c7c5c0;
  font-size: 15px;
  line-height: 1.75;
}

.legal-block a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-block ul {
  margin: 0;
  padding-left: 22px;
}

/* Better contrast and usability */
.section-kicker,
.hero-note span,
.work-card-copy > p,
.tool-directory-item > span,
.minimal-project-meta span,
.project-viewer-status > span {
  color: #aaaab1 !important;
}

@media (forced-colors: active) {
  * {
    forced-color-adjust: auto;
  }

  .motion-toggle,
  .menu-toggle,
  .about-carousel-arrow,
  .project-carousel-controls button {
    border: 1px solid ButtonText !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #c8c8ce;
    --line: rgba(255,255,255,.28);
  }

  .work-card,
  .service-case,
  .legal-block,
  .timeline-item {
    border: 1px solid rgba(255,255,255,.28) !important;
  }
}

@media (max-width: 640px) {
  .motion-toggle {
    left: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .footer-legal {
    justify-content: center;
    text-align: center;
  }

  .media-description {
    width: calc(100% - 28px);
    padding: 22px;
  }

  .legal-main {
    width: calc(100% - 28px);
    padding: 110px 0 60px;
  }

  .legal-hero {
    padding: 35px 0 50px;
    text-align: center;
  }

  .legal-hero h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
    overflow-wrap: anywhere;
  }

  .legal-hero > p:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  .legal-block {
    padding: 22px;
    border-radius: 20px;
  }

  .legal-block p,
  .legal-block li {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-transition,
  .scroll-progress,
  .cursor-dot {
    display: none !important;
  }
}




/* =========================================================
   FINAL MAIN-PAGE TRANSITIONS + MOBILE HERO CENTRING
========================================================= */

/* The portrait sits slightly lower on larger screens as requested. */
.hero-portrait {
  top: 54% !important;
}

/* Mobile animation keyframes keep the horizontal centre intact. */
@keyframes mobileHeroTitleCenteredIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileHeroPortraitCenteredIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.965);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileHeroPortraitCenteredFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(7px);
  }
}

@media (max-width: 640px) {
  .hero {
    position: relative !important;
    width: 100% !important;
    min-height: 100svh !important;
    height: auto !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /*
   * Use the individual translate property for centring.
   * Animation can then use transform without moving the content to the right.
   */
  .hero-title {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 43.5% !important;
    width: min(calc(100vw - 30px), 520px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    translate: -50% -50% !important;
    transform: none !important;
    text-align: center !important;
    font-size: clamp(3.2rem, 14.5vw, 5rem) !important;
    line-height: .82 !important;
    letter-spacing: -.045em !important;
    white-space: normal !important;
    overflow: visible !important;
    animation: mobileHeroTitleCenteredIn .76s .1s cubic-bezier(.2,.8,.2,1) forwards !important;
  }

  .hero-title span {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-align: center !important;
  }

  .hero-portrait {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 57.5% !important;
    width: min(40vw, 152px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    translate: -50% -50% !important;
    transform: none !important;
    border-radius: 23px !important;
    animation:
      mobileHeroPortraitCenteredIn .72s .24s cubic-bezier(.2,.8,.2,1) forwards,
      mobileHeroPortraitCenteredFloat 5.2s 1.25s ease-in-out infinite alternate !important;
  }

  body.page-ready .hero-title,
  body.page-ready .hero-portrait {
    translate: -50% -50% !important;
  }

  body.page-ready .hero-title {
    transform: none !important;
  }

  body.page-ready .hero-portrait {
    transform: none !important;
  }

  .hero-note {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    width: min(calc(100vw - 34px), 420px) !important;
    max-width: none !important;
    margin: 0 !important;
    translate: -50% 0 !important;
    transform: none !important;
    text-align: center !important;
  }

  .hero-note-left {
    bottom: 76px !important;
  }

  .hero-note-right {
    bottom: 38px !important;
  }
}

@media (max-width: 390px) {
  .hero-title {
    top: 43% !important;
    width: calc(100vw - 24px) !important;
    font-size: clamp(3rem, 14vw, 4.35rem) !important;
  }

  .hero-portrait {
    top: 57% !important;
    width: 136px !important;
  }

  .hero-note-left {
    bottom: 74px !important;
  }

  .hero-note-right {
    bottom: 34px !important;
  }
}

/* Reduced motion still keeps the mobile hero centred. */
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-portrait {
    opacity: 1 !important;
    translate: -50% -50% !important;
    transform: none !important;
    animation: none !important;
  }
}




/* =========================================================
   HOME INTRO ONLY
========================================================= */

/* Never show the gray overlay unless the early Home initializer allows it. */
.page-loader {
  display: none !important;
}

html.home-intro-active .page-loader {
  display: grid !important;
  transition:
    clip-path .42s cubic-bezier(.77,0,.18,1),
    visibility .42s !important;
}

html.home-intro-active .loader-progress span {
  animation-duration: .82s !important;
}

html.home-intro-active .loader-message {
  animation-duration: .35s !important;
  animation-delay: .08s !important;
}

html.home-intro-skip .page-loader,
.page-transition {
  display: none !important;
}

/* No gray overlay is triggered during navigation. */
body.page-leaving .page-transition {
  display: none !important;
}




/* =========================================================
   LOWER HERO PORTRAIT + MOBILE ORBIT LAYOUT
========================================================= */

/* Home hero portrait: centred, but intentionally lower than the title. */
.hero-portrait {
  top: 59% !important;
}

/* Remove explicit legal/accessibility UI styles from the visible site. */
.footer-legal,
.motion-toggle,
.skip-link,
.media-description {
  display: none !important;
}

/* Mobile version keeps the same orbit composition as desktop. */
@media (max-width: 640px) {
  .hero-title {
    top: 41.5% !important;
  }

  .hero-portrait {
    top: 60.5% !important;
    width: min(40vw, 150px) !important;
  }

  .profile-section {
    display: block !important;
    width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .profile-copy {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .about-signals {
    position: relative !important;
    display: block !important;
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    min-height: 720px !important;
    margin: 56px auto 0 !important;
    overflow: visible !important;
    isolation: isolate !important;
  }

  .about-signals::before {
    content: "" !important;
    position: absolute !important;
    inset: 11% 7% 8% !important;
    display: block !important;
    border-radius: 50% !important;
    background:
      radial-gradient(circle at 50% 50%, rgba(255,255,255,.07), transparent 49%),
      radial-gradient(circle at 30% 22%, rgba(255,255,255,.045), transparent 28%) !important;
    filter: blur(3px) !important;
    opacity: .95 !important;
    z-index: -1 !important;
  }

  .about-signals-core {
    position: absolute !important;
    left: 50% !important;
    top: 52% !important;
    width: 178px !important;
    height: 178px !important;
    aspect-ratio: 1 !important;
    margin: 0 !important;
    padding: 17px !important;
    border-radius: 50% !important;
    translate: -50% -50% !important;
    transform: none !important;
    background: rgba(255,255,255,.035) !important;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.055),
      0 24px 70px rgba(0,0,0,.26) !important;
    text-align: center !important;
  }

  .about-signals-core strong {
    font-size: 4.25rem !important;
    line-height: .8 !important;
  }

  .about-signals-core span {
    max-width: 122px !important;
    margin-top: 12px !important;
    font-size: 8.5px !important;
    line-height: 1.45 !important;
  }

  .about-signal,
  .about-signal-a,
  .about-signal-b,
  .about-signal-c,
  .about-signal-d {
    position: absolute !important;
    inset: auto !important;
    width: 46% !important;
    max-width: 178px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0,1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    text-align: left !important;
    transform: none !important;
  }

  .about-signal-a {
    left: 0 !important;
    top: 2% !important;
  }

  .about-signal-b {
    right: 0 !important;
    top: 18% !important;
  }

  .about-signal-c {
    left: 2% !important;
    bottom: 13% !important;
  }

  .about-signal-d {
    right: 0 !important;
    bottom: 0 !important;
  }

  .about-signal > span {
    width: 28px !important;
    height: 28px !important;
    font-size: 8px !important;
  }

  .about-signal strong {
    margin-bottom: 7px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .about-signal p {
    margin: 0 !important;
    color: var(--muted) !important;
    font-size: 10.5px !important;
    line-height: 1.52 !important;
  }
}

@media (max-width: 390px) {
  .hero-title {
    top: 41% !important;
  }

  .hero-portrait {
    top: 60% !important;
    width: 136px !important;
  }

  .about-signals {
    min-height: 685px !important;
  }

  .about-signals-core {
    width: 166px !important;
    height: 166px !important;
  }

  .about-signals-core strong {
    font-size: 3.85rem !important;
  }

  .about-signal,
  .about-signal-a,
  .about-signal-b,
  .about-signal-c,
  .about-signal-d {
    width: 47% !important;
    max-width: 162px !important;
    grid-template-columns: 25px minmax(0,1fr) !important;
    gap: 8px !important;
  }

  .about-signal > span {
    width: 25px !important;
    height: 25px !important;
  }

  .about-signal strong {
    font-size: 12px !important;
  }

  .about-signal p {
    font-size: 9.7px !important;
  }
}




/* =========================================================
   DRAGGABLE HOME HERO PORTRAIT
========================================================= */

/*
 * The portrait remains lower on desktop.
 * Individual translate keeps centring and drag movement independent
 * from the existing entrance animations.
 */
.hero-portrait[data-draggable-hero] {
  --hero-drag-x: 0px;
  --hero-drag-y: 0px;
  top: 59% !important;
  translate:
    calc(-50% + var(--hero-drag-x))
    calc(-50% + var(--hero-drag-y)) !important;
  transform: none !important;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition:
    translate .78s cubic-bezier(.22,1,.36,1),
    box-shadow .25s ease !important;
  will-change: translate;
}

.hero-portrait[data-draggable-hero] img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.hero-portrait[data-draggable-hero]:hover {
  box-shadow: 0 36px 105px rgba(0,0,0,.5);
}

.hero-portrait[data-draggable-hero].is-dragging {
  cursor: grabbing;
  transition: box-shadow .18s ease !important;
  box-shadow: 0 42px 120px rgba(0,0,0,.58);
}

.hero-portrait[data-draggable-hero]:focus-visible {
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 5px;
}

/* Mobile returns to its earlier, more balanced vertical position. */
@media (max-width: 640px) {
  .hero-portrait[data-draggable-hero] {
    top: 57.5% !important;
    width: min(40vw, 152px) !important;
    translate:
      calc(-50% + var(--hero-drag-x))
      calc(-50% + var(--hero-drag-y)) !important;
    transform: none !important;
  }

  body.page-ready .hero-portrait[data-draggable-hero] {
    translate:
      calc(-50% + var(--hero-drag-x))
      calc(-50% + var(--hero-drag-y)) !important;
    transform: none !important;
  }
}

@media (max-width: 390px) {
  .hero-portrait[data-draggable-hero] {
    top: 57% !important;
    width: 136px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait[data-draggable-hero] {
    transition: none !important;
  }
}


/* CURSOR-FOLLOWING HERO PORTRAIT */
.hero-portrait[data-cursor-follow-hero]{
  --hero-follow-x:0px;--hero-follow-y:0px;--hero-contact-scale:1;
  translate:calc(-50% + var(--hero-drag-x,0px) + var(--hero-follow-x))
            calc(-50% + var(--hero-drag-y,0px) + var(--hero-follow-y))!important;
  scale:var(--hero-contact-scale);text-decoration:none;overflow:hidden;
  transition:translate .16s linear,scale .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease!important
}
.hero-portrait[data-cursor-follow-hero].is-returning{
  transition:translate .85s cubic-bezier(.22,1,.36,1),scale .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease!important
}
.hero-portrait[data-cursor-follow-hero].is-dragging{transition:scale .22s ease,box-shadow .22s ease!important}
.hero-contact-hint{
  position:absolute;z-index:5;left:50%;bottom:15px;width:calc(100% - 26px);padding:9px 10px;
  border-radius:999px;background:rgba(8,8,12,.66);color:#fff;font-size:8px;font-weight:700;
  line-height:1.25;letter-spacing:.11em;text-align:center;text-transform:uppercase;opacity:0;
  translate:-50% 8px;transition:opacity .25s ease,translate .3s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
@media (hover:hover) and (pointer:fine){
  .hero-portrait[data-cursor-follow-hero]:hover,
  .hero-portrait[data-cursor-follow-hero]:focus-visible{
    --hero-contact-scale:1.055;box-shadow:0 42px 125px rgba(0,0,0,.62)!important
  }
  .hero-portrait[data-cursor-follow-hero]:hover .hero-contact-hint,
  .hero-portrait[data-cursor-follow-hero]:focus-visible .hero-contact-hint{
    opacity:1;translate:-50% 0
  }
}
@media (max-width:640px){
  .hero-portrait[data-cursor-follow-hero]{
    --hero-follow-x:0px!important;--hero-follow-y:0px!important;
    translate:calc(-50% + var(--hero-drag-x,0px))
              calc(-50% + var(--hero-drag-y,0px))!important
  }
  .hero-contact-hint{display:none}
}
@media (prefers-reduced-motion:reduce){
  .hero-portrait[data-cursor-follow-hero]{--hero-follow-x:0px!important;--hero-follow-y:0px!important;transition:none!important}
}


/* MOBILE TYPE FIT + CORRECT ABOUT PORTRAITS */
@media (max-width:640px){
  html,body{width:100%;max-width:100%;overflow-x:clip!important}
  h1,h2,h3,.hero-title,.page-hero-title,.mega-statement,.work-heading h2,.profile-copy h2,
  .services-preview-head h2,.timeline-heading h2,.skills-heading h2,.project-viewer-head h2,
  .minimal-project-title h1,.contact-refined-copy h1{max-width:100%!important;min-width:0!important}

  .hero-title{width:calc(100vw - 32px)!important;font-size:clamp(2.95rem,13.2vw,4.65rem)!important;line-height:.84!important;letter-spacing:-.038em!important}
  .hero-title span{width:100%!important;white-space:nowrap!important;overflow:visible!important}
  .page-hero-title{width:calc(100vw - 28px)!important;font-size:clamp(4.35rem,20vw,6.8rem)!important;line-height:.78!important}
  .text-page-hero h1,.projects-page-hero h1{width:100%!important;font-size:clamp(4.4rem,21vw,6.8rem)!important;line-height:.76!important;overflow-wrap:normal!important}
  .contact-refined-copy h1,.contact-page-title{width:100%!important;font-size:clamp(4.55rem,22vw,7rem)!important;line-height:.76!important}
  .mega-statement,.about-intro h2,.case-intro h2{font-size:clamp(2.5rem,11.8vw,4.1rem)!important;line-height:.94!important;overflow-wrap:anywhere!important}
  .minimal-project-title h1{width:100%!important;font-size:clamp(3.15rem,15vw,4.9rem)!important;line-height:.82!important;overflow-wrap:anywhere!important;hyphens:auto}
  .work-heading h2,.profile-copy h2,.services-preview-head h2,.timeline-heading h2,.skills-heading h2,.project-viewer-head h2{font-size:clamp(3.15rem,14.5vw,4.8rem)!important;line-height:.84!important;overflow-wrap:anywhere!important}
  .work-card h3,.tool-directory-item h3,.tool-strip-copy h3{font-size:clamp(1.85rem,9vw,2.85rem)!important;line-height:.94!important;overflow-wrap:anywhere!important}
  .mobile-nav a{max-width:calc(100vw - 36px)!important;font-size:clamp(2rem,10.5vw,3.35rem)!important;overflow-wrap:anywhere!important}
}
@media (max-width:390px){
  .hero-title{width:calc(100vw - 24px)!important;font-size:clamp(2.75rem,12.7vw,4rem)!important}
  .page-hero-title{font-size:clamp(3.9rem,19vw,5.8rem)!important}
  .text-page-hero h1,.projects-page-hero h1,.contact-refined-copy h1,.contact-page-title{font-size:clamp(4rem,20vw,5.9rem)!important}
  .minimal-project-title h1{font-size:clamp(2.85rem,14vw,4.25rem)!important}
}




/* =========================================================
   DB AUFZÜGE WEBSITE REDESIGN
========================================================= */

.project-live-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.38);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  transition: border-color .2s ease, gap .2s ease;
}

.project-live-link:hover {
  gap: 13px;
  border-color: #fff;
}

.project-live-link .icon {
  width: 14px;
  height: 14px;
}

.project-carousel-db .project-carousel-slide {
  min-height: clamp(440px, 66vw, 760px);
}

.project-carousel-db .project-image-frame {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 8 / 5;
  background: #0d1015;
}

.project-carousel-db .project-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .project-live-link {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .project-carousel-db .project-carousel-slide {
    min-height: 280px !important;
    padding: 10px !important;
  }

  .project-carousel-db .project-image-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 8 / 5 !important;
  }
}




/* =========================================================
   DB AUFZÜGE — VISIBLE LIVE WEBSITE LINKS
========================================================= */

.work-card-linked {
  position: relative;
}

.work-card-detail-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.work-card-linked .work-card-media,
.work-card-linked .work-card-copy {
  position: relative;
  z-index: 1;
}

.work-card-live-link {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b0f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
}

.work-card-live-link:hover {
  transform: translateY(-3px);
  background: #f0f0ed;
}

.work-card-live-link .icon {
  width: 13px;
  height: 13px;
}

.project-live-link-primary {
  margin-top: 28px !important;
  padding: 14px 19px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0a0a0d !important;
  letter-spacing: .1em !important;
}

.project-live-url {
  margin-top: 14px !important;
  color: var(--muted) !important;
  font-size: 10px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

.project-live-cta {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 110px;
  padding: clamp(30px, 6vw, 72px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(145deg, #1a1b22, #0f1015);
  text-align: center;
}

.project-live-cta h2 {
  max-width: 850px;
  margin: 0 auto;
  font-family: var(--font-display, Impact, sans-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .86;
  text-transform: uppercase;
}

.project-live-cta > p:not(.section-kicker) {
  margin: 22px auto 28px;
  color: var(--muted);
}

.project-live-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
}

.project-live-cta > a:hover {
  border-color: #fff;
}

.project-live-cta .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 640px) {
  .work-card-live-link {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    padding: 0 13px;
    font-size: 8px;
  }

  .project-live-cta {
    width: calc(100% - 28px);
    margin-bottom: 70px;
    padding: 34px 20px;
    border-radius: 22px;
  }

  .project-live-cta h2 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .project-live-cta > a {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 9px;
  }
}




/* =========================================================
   COMPLETE SERVICES CONTENT
========================================================= */

.services-page-list .service-case {
  grid-template-columns: 110px minmax(0, 1fr) auto !important;
  align-items: stretch;
  gap: clamp(28px, 4vw, 58px) !important;
  padding: clamp(30px, 4vw, 48px) !important;
}

.service-case-main {
  min-width: 0;
}

.service-case-main h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.service-case-main h3 {
  max-width: 680px;
  margin-top: 18px !important;
  font-size: clamp(.95rem, 1.4vw, 1.1rem) !important;
  line-height: 1.45;
}

.service-case-main > p {
  max-width: 760px !important;
  line-height: 1.75 !important;
}

.service-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  max-width: 900px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-skill-list li {
  position: relative;
  padding-left: 13px;
  color: rgba(255,255,255,.74);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.service-skill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
}

.services-principle {
  width: min(calc(100% - 48px), var(--max));
  margin: 10px auto 110px;
  padding: clamp(42px, 7vw, 90px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.09), transparent 32%),
    linear-gradient(145deg, rgba(29,29,37,.96), rgba(14,14,19,.98));
  overflow: hidden;
}

.services-principle h2 {
  max-width: 980px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .82;
  letter-spacing: -.035em;
}

.services-principle > p:last-child {
  max-width: 560px;
  margin: 30px 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .services-page-list .service-case {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .services-page-list .service-case > a {
    grid-column: 2 !important;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .services-page-list .service-case {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 28px 22px !important;
  }

  .services-page-list .service-case > a {
    grid-column: auto !important;
  }

  .service-case-main h2 {
    font-size: clamp(2.45rem, 12.6vw, 4.1rem) !important;
    line-height: .88 !important;
  }

  .service-case-main h3 {
    font-size: .95rem !important;
  }

  .service-skill-list {
    gap: 8px 14px;
    margin-top: 22px;
  }

  .service-skill-list li {
    font-size: 9px;
  }

  .services-principle {
    width: calc(100% - 28px);
    margin-bottom: 72px;
    padding: 38px 22px;
    border-radius: 24px;
  }

  .services-principle h2 {
    font-size: clamp(3.1rem, 15.5vw, 5.2rem);
    line-height: .84;
  }

  .services-principle > p:last-child {
    margin-left: 0;
  }
}


/* =========================================================
   ALPENKERN PROJECT + STRAIGHT MOBILE LIVE BUTTONS
========================================================= */

.project-carousel-alpenkern .project-image-frame {
  aspect-ratio: 8 / 5;
  width: 100%;
  height: auto;
}

.project-carousel-alpenkern .project-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-card-live-link,
.project-live-link-primary,
.project-live-cta > a {
  rotate: 0deg !important;
  skew: none !important;
  transform-origin: center !important;
}

@media (max-width: 900px) {
  .projects-page-list .work-card,
  .work-preview-list .work-card,
  .work-section .work-card {
    transform: none !important;
    rotate: 0deg !important;
  }

  .work-card-live-link,
  .project-live-link-primary,
  .project-live-cta > a {
    transform: none !important;
    rotate: 0deg !important;
  }
}

@media (max-width: 640px) {
  .work-card-live-link {
    left: 50% !important;
    right: auto !important;
    bottom: 14px !important;
    width: max-content !important;
    max-width: calc(100% - 28px) !important;
    min-height: 42px !important;
    justify-content: center !important;
    white-space: nowrap !important;
    translate: -50% 0 !important;
    transform: none !important;
    rotate: 0deg !important;
  }

  .project-live-link-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 26px auto 0 !important;
    transform: none !important;
    translate: none !important;
    rotate: 0deg !important;
    white-space: nowrap !important;
  }

  .project-live-cta > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    transform: none !important;
    translate: none !important;
    rotate: 0deg !important;
    white-space: nowrap !important;
  }

  .project-carousel-alpenkern .project-carousel-slide {
    min-height: 270px !important;
    padding: 10px !important;
  }

  .project-carousel-alpenkern .project-image-frame {
    aspect-ratio: 8 / 5 !important;
  }
}




/* =========================================================
   SERVICES DROPDOWN
========================================================= */

.services-page-list {
  display: grid !important;
  gap: 14px !important;
}

.service-dropdown {
  position: relative;
  width: 100%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.055), transparent 30%),
    rgba(255,255,255,.025);
  overflow: hidden;
}

.service-dropdown-summary {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr) 58px;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  min-height: 180px;
  padding: clamp(28px, 4vw, 46px);
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.service-dropdown-summary::-webkit-details-marker {
  display: none;
}

.service-dropdown-summary::marker {
  display: none;
  content: "";
}

.service-dropdown-number {
  display: flex;
  align-items: center;
  gap: 17px;
  color: rgba(255,255,255,.58);
}

.service-dropdown-number > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.service-dropdown-number i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
}

.service-dropdown-number .icon {
  width: 17px;
  height: 17px;
}

.service-dropdown-title {
  min-width: 0;
}

.service-dropdown-title h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: .86;
  letter-spacing: -.032em;
  overflow-wrap: anywhere;
}

.service-dropdown-title h3 {
  max-width: 740px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.6);
  font-size: clamp(.92rem, 1.35vw, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
}

.service-dropdown-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  justify-self: end;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    background .25s ease;
}

.service-dropdown-toggle .icon {
  width: 19px;
  height: 19px;
}

.service-dropdown-summary:hover .service-dropdown-toggle {
  background: rgba(255,255,255,.13);
}

.service-dropdown[open] .service-dropdown-toggle {
  transform: rotate(180deg);
}

.service-dropdown-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .58s cubic-bezier(.22,1,.36,1);
}

.service-dropdown[open] .service-dropdown-body {
  grid-template-rows: 1fr;
}

.service-dropdown-content {
  min-height: 0;
  overflow: hidden;
  padding: 0 clamp(28px, 4vw, 46px) 0;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity .35s ease,
    transform .45s cubic-bezier(.22,1,.36,1),
    padding .45s cubic-bezier(.22,1,.36,1);
}

.service-dropdown[open] .service-dropdown-content {
  padding-bottom: clamp(34px, 5vw, 58px);
  opacity: 1;
  transform: translateY(0);
}

.service-dropdown-content > p {
  max-width: 780px;
  margin: 0 0 26px 105px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.8;
}

.service-dropdown-content .service-skill-list {
  max-width: 920px;
  margin: 0 0 30px 105px;
}

.service-dropdown-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 105px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.42);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-decoration: none;
}

.service-dropdown-cta .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .service-dropdown-summary {
    grid-template-columns: 76px minmax(0,1fr) 50px;
    min-height: 158px;
  }

  .service-dropdown-content > p,
  .service-dropdown-content .service-skill-list,
  .service-dropdown-cta {
    margin-left: 76px;
  }
}

@media (max-width: 640px) {
  .services-page-list {
    gap: 10px !important;
  }

  .service-dropdown {
    border-radius: 22px;
  }

  .service-dropdown-summary {
    grid-template-columns: 1fr 44px;
    gap: 16px;
    min-height: 0;
    padding: 26px 20px;
  }

  .service-dropdown-number {
    grid-column: 1 / 2;
    margin-bottom: 4px;
  }

  .service-dropdown-title {
    grid-column: 1 / 2;
  }

  .service-dropdown-toggle {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
  }

  .service-dropdown-title h2 {
    font-size: clamp(2.35rem, 11.8vw, 3.85rem);
    line-height: .88;
  }

  .service-dropdown-title h3 {
    margin-top: 11px;
    font-size: .9rem;
    line-height: 1.5;
  }

  .service-dropdown-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-dropdown[open] .service-dropdown-content {
    padding-bottom: 30px;
  }

  .service-dropdown-content > p,
  .service-dropdown-content .service-skill-list,
  .service-dropdown-cta {
    margin-left: 0;
  }

  .service-dropdown-content > p {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .service-dropdown-cta {
    margin-top: 2px;
  }
}




/* =========================================================
   MOBILE LIVE BUTTON, NEWSLETTER PHONE + CLEAN WORD WRAPPING
========================================================= */

.newsletter-scroll-label b {
  font: inherit;
  font-weight: inherit;
}

.newsletter-scroll-mobile {
  display: none;
}

/* Words may wrap at spaces only, never in the middle. */
h1,
h2,
h3,
.work-card h3,
.minimal-project-title h1,
.project-viewer-head h2,
.service-dropdown-title h2,
.services-principle h2,
.mobile-nav a,
.work-card-live-link,
.project-live-link-primary,
.project-live-cta > a {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

/* Desktop newsletter presentation remains a laptop. */
@media (min-width: 641px) {
  .project-carousel-newsletter .laptop-lid::before {
    content: none !important;
  }

  .project-carousel-newsletter .laptop-base {
    display: block !important;
  }

  .newsletter-scroll-desktop {
    display: inline;
  }

  .newsletter-scroll-mobile {
    display: none;
  }
}

@media (max-width: 640px) {
  /*
   * Live website button now participates in the card layout.
   * It can no longer float over tags, text or the detail button.
   */
  .work-card-linked {
    padding-bottom: 26px !important;
  }

  .work-card-linked .work-card-live-link {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 6 !important;
    grid-column: 1 !important;
    justify-self: center !important;
    display: inline-flex !important;
    width: max-content !important;
    max-width: calc(100% - 32px) !important;
    min-height: 46px !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
    translate: none !important;
    transform: none !important;
    rotate: 0deg !important;
    white-space: nowrap !important;
  }

  .work-card-linked .work-card-copy {
    padding-bottom: 20px !important;
  }

  /*
   * Newsletter remains a laptop on desktop, but becomes a real
   * portrait phone shell on mobile.
   */
  .project-carousel-newsletter .project-carousel-slide {
    min-height: 690px !important;
    padding: 22px 8px 18px !important;
  }

  .project-carousel-newsletter .laptop-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 640px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    perspective: none !important;
  }

  .project-carousel-newsletter .laptop-lid {
    position: relative !important;
    width: min(78vw, 310px) !important;
    max-width: 310px !important;
    margin: 0 auto !important;
    padding: 10px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 42px !important;
    background:
      linear-gradient(145deg, #303038, #09090d 64%) !important;
    box-shadow:
      0 28px 65px rgba(0,0,0,.52),
      inset 0 0 0 1px rgba(255,255,255,.05) !important;
  }

  .project-carousel-newsletter .laptop-lid::before {
    content: "" !important;
    position: absolute !important;
    z-index: 8 !important;
    top: 17px !important;
    left: 50% !important;
    width: 88px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: #050507 !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
  }

  .project-carousel-newsletter .laptop-camera {
    display: none !important;
  }

  .project-carousel-newsletter .laptop-screen {
    border-radius: 33px !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.25) !important;
  }

  .project-carousel-newsletter .laptop-browserbar {
    position: relative !important;
    height: 43px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #f7f7f7 !important;
  }

  .project-carousel-newsletter .laptop-browserbar > span,
  .project-carousel-newsletter .laptop-browserbar > div {
    display: none !important;
  }

  .project-carousel-newsletter .laptop-scroll {
    height: 505px !important;
    padding: 0 !important;
    border-radius: 0 0 27px 27px !important;
    background: #ececec !important;
    scrollbar-width: thin !important;
  }

  .project-carousel-newsletter .laptop-scroll img {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: top center !important;
    background: #fff !important;
  }

  .project-carousel-newsletter .laptop-base {
    display: none !important;
  }

  .project-carousel-newsletter .laptop-hint {
    margin-top: 18px !important;
  }

  .newsletter-scroll-desktop {
    display: none !important;
  }

  .newsletter-scroll-mobile {
    display: inline !important;
  }

  /* Smaller display text, wrapping only between complete words. */
  .work-card h3 {
    font-size: clamp(2.15rem, 10.4vw, 3.25rem) !important;
    line-height: .94 !important;
  }

  .minimal-project-title h1 {
    font-size: clamp(2.8rem, 13.6vw, 4.4rem) !important;
    line-height: .86 !important;
  }

  .project-viewer-head h2 {
    font-size: clamp(2.7rem, 13.2vw, 4.25rem) !important;
    line-height: .88 !important;
  }

  .service-dropdown-title h2 {
    font-size: clamp(2.05rem, 9.8vw, 3.45rem) !important;
    line-height: .9 !important;
  }

  .services-principle h2 {
    font-size: clamp(2.75rem, 13.2vw, 4.55rem) !important;
    line-height: .88 !important;
  }

  .mobile-nav a {
    font-size: clamp(1.9rem, 9.7vw, 3.05rem) !important;
  }
}

@media (max-width: 390px) {
  .work-card-linked .work-card-live-link {
    min-height: 44px !important;
    padding: 0 15px !important;
    font-size: 7.5px !important;
    letter-spacing: .095em !important;
  }

  .project-carousel-newsletter .project-carousel-slide {
    min-height: 635px !important;
  }

  .project-carousel-newsletter .laptop-wrap {
    min-height: 590px !important;
  }

  .project-carousel-newsletter .laptop-lid {
    width: min(80vw, 286px) !important;
    border-radius: 38px !important;
  }

  .project-carousel-newsletter .laptop-screen {
    border-radius: 29px !important;
  }

  .project-carousel-newsletter .laptop-scroll {
    height: 455px !important;
    border-radius: 0 0 24px 24px !important;
  }

  .work-card h3 {
    font-size: clamp(2rem, 9.9vw, 2.85rem) !important;
  }

  .service-dropdown-title h2 {
    font-size: clamp(1.95rem, 9.2vw, 3rem) !important;
  }
}




/* =========================================================
   WORK FILTER + NEW WEB CONCEPTS
========================================================= */

.work-filter-section {
  width: min(calc(100% - 48px), var(--max));
  margin: -20px auto 58px;
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 28px;
  margin-top: 20px;
}

.work-filter button {
  position: relative;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.46);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .22s ease;
}

.work-filter button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}

.work-filter button:hover,
.work-filter button.is-active {
  color: #fff;
}

.work-filter button.is-active::after {
  transform: scaleX(1);
}

.projects-page-list > .work-card[hidden] {
  display: none !important;
}

.projects-page-list > .work-card.is-filter-entering {
  animation: filtered-card-in .48s cubic-bezier(.22,1,.36,1) both;
}

@keyframes filtered-card-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-carousel-webconcept .project-carousel-slide {
  min-height: clamp(440px, 66vw, 760px);
}

.project-carousel-webconcept .project-image-frame {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 8 / 5;
  background: #0d1015;
}

.project-carousel-webconcept .project-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .work-filter-section {
    width: calc(100% - 28px);
    margin-top: -10px;
    margin-bottom: 38px;
    overflow: hidden;
  }

  .work-filter {
    flex-wrap: nowrap;
    gap: 21px;
    width: 100%;
    padding: 2px 0 11px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .work-filter::-webkit-scrollbar {
    display: none;
  }

  .work-filter button {
    flex: 0 0 auto;
    font-size: 9px;
    white-space: nowrap;
  }

  .project-carousel-webconcept .project-carousel-slide {
    min-height: 280px !important;
    padding: 10px !important;
  }

  .project-carousel-webconcept .project-image-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 8 / 5 !important;
  }
}




/* =========================================================
   CURRENT PROJECT RIBBON — CONTINUOUS MOTION
========================================================= */

.project-ribbon {
  position: relative !important;
  width: 100% !important;
  height: 310px !important;
  overflow: hidden !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  background: #0a0a0d !important;
}

.project-ribbon::before,
.project-ribbon::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: clamp(35px, 8vw, 145px);
  pointer-events: none;
}

.project-ribbon::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a0d 0%, rgba(10,10,13,0) 100%);
}

.project-ribbon::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a0d 0%, rgba(10,10,13,0) 100%);
}

.project-ribbon .ribbon-track {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  min-width: max-content !important;
  gap: 0 !important;
  transform: translate3d(0,-50%,0) !important;
  animation: project-ribbon-loop 42s linear infinite !important;
  will-change: transform !important;
}

.project-ribbon .ribbon-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(34px, 4vw, 70px);
  padding-right: clamp(34px, 4vw, 70px);
}

.project-ribbon .ribbon-group a {
  position: relative;
  flex: 0 0 clamp(150px, 15vw, 230px) !important;
  width: clamp(150px, 15vw, 230px) !important;
  aspect-ratio: 1.34 / 1 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1a22;
  transform:
    translateY(var(--ribbon-card-y, 0px))
    rotate(var(--rot)) !important;
  text-decoration: none;
  transition:
    transform .38s cubic-bezier(.22,1,.36,1),
    border-color .25s ease;
}

.project-ribbon .ribbon-group a:nth-child(2n) {
  --ribbon-card-y: 46px;
}

.project-ribbon .ribbon-group a:nth-child(3n) {
  --ribbon-card-y: -34px;
}

.project-ribbon .ribbon-group a:nth-child(5n) {
  --ribbon-card-y: 22px;
}

.project-ribbon .ribbon-group img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition:
    filter .3s ease,
    scale .5s cubic-bezier(.22,1,.36,1);
}

.project-ribbon .ribbon-group span {
  position: absolute;
  left: 9px;
  bottom: 8px;
  z-index: 2;
  padding: 5px 7px;
  background: rgba(10,10,13,.82);
  color: #fff;
  font-size: 7px;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes project-ribbon-loop {
  from {
    transform: translate3d(0,-50%,0);
  }
  to {
    transform: translate3d(-50%,-50%,0);
  }
}

@media (hover:hover) and (pointer:fine) {
  .project-ribbon:hover .ribbon-track {
    animation-play-state: paused !important;
  }

  .project-ribbon .ribbon-group a:hover {
    z-index: 3;
    border-color: #fff;
    transform:
      translateY(calc(var(--ribbon-card-y, 0px) - 9px))
      rotate(0deg)
      scale(1.055) !important;
  }

  .project-ribbon .ribbon-group a:hover img {
    filter: none;
    scale: 1.04;
  }
}

@media (max-width: 900px) {
  .project-ribbon {
    height: 250px !important;
  }

  .project-ribbon .ribbon-track {
    animation-duration: 34s !important;
  }

  .project-ribbon .ribbon-group {
    gap: 34px;
    padding-right: 34px;
  }

  .project-ribbon .ribbon-group a {
    flex-basis: 155px !important;
    width: 155px !important;
  }

  .project-ribbon .ribbon-group a:nth-child(2n) {
    --ribbon-card-y: 32px;
  }

  .project-ribbon .ribbon-group a:nth-child(3n) {
    --ribbon-card-y: -25px;
  }
}

@media (max-width: 640px) {
  .project-ribbon {
    height: 220px !important;
  }

  .project-ribbon .ribbon-track {
    animation-duration: 27s !important;
  }

  .project-ribbon .ribbon-group {
    gap: 24px;
    padding-right: 24px;
  }

  .project-ribbon .ribbon-group a {
    flex-basis: 128px !important;
    width: 128px !important;
  }

  .project-ribbon .ribbon-group a:nth-child(2n) {
    --ribbon-card-y: 26px;
  }

  .project-ribbon .ribbon-group a:nth-child(3n) {
    --ribbon-card-y: -20px;
  }

  .project-ribbon .ribbon-group a:nth-child(5n) {
    --ribbon-card-y: 13px;
  }

  .project-ribbon .ribbon-group img {
    filter: grayscale(.8) contrast(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-ribbon .ribbon-track {
    animation-duration: 85s !important;
  }
}




/* =========================================================
   PROJECT RIBBON — SCROLL-LINKED MOTION
========================================================= */

.project-ribbon {
  --ribbon-scroll-x: 0px;
}

.project-ribbon .ribbon-track {
  animation: none !important;
  transform:
    translate3d(var(--ribbon-scroll-x), -50%, 0) !important;
  transition: none !important;
  will-change: transform !important;
}

.project-ribbon .ribbon-group a {
  --ribbon-scroll-y: 0px;
  transform:
    translateY(calc(var(--ribbon-card-y, 0px) + var(--ribbon-scroll-y)))
    rotate(var(--rot)) !important;
  will-change: transform;
}

@media (hover:hover) and (pointer:fine) {
  .project-ribbon:hover .ribbon-track {
    animation-play-state: running !important;
  }

  .project-ribbon .ribbon-group a:hover {
    transform:
      translateY(calc(var(--ribbon-card-y, 0px) + var(--ribbon-scroll-y) - 9px))
      rotate(0deg)
      scale(1.055) !important;
  }
}

@media (max-width: 640px) {
  .project-ribbon .ribbon-track {
    animation: none !important;
    transform:
      translate3d(var(--ribbon-scroll-x), -50%, 0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-ribbon .ribbon-track,
  .project-ribbon .ribbon-group a {
    transition: none !important;
  }
}
