/* ==========================================================================
   Heroes (2026-11): Linear "Conversations on Quality" art direction.
   - Home (.uxh-home): 01 dark / 04 light. Room → window frames → Jovan → shadow.
     Rack focus on load: the frames start sharp and Jovan blurred, then focus moves to him
     and the frames go soft. Frames sit BEHIND him, so they never cover his face.
   - Pages (.uxh-page): list (Work, Notes), case study, note. A per-page visual that is always
     out of focus, sharp frames in front of it, the same shadow.
   Dark is the default; body.light switches to the daylight version.
   "Video": a <video class="uxh-still" autoplay muted loop playsinline> can replace the portrait <img>.
   ========================================================================== */

.uxh{--uxh-bg:#08090a;--uxh-fg:#f7f8f8;--uxh-muted:#8a8f98;--uxh-faint:#62666d;--uxh-card:#d0d6e0;
  position:relative;overflow:hidden;margin-top:-4rem;background:var(--body-bg,var(--uxh-bg));color:var(--uxh-fg);
  font-family:Inter,"SF Pro Display",-apple-system,system-ui,sans-serif;-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column}
body.light .uxh{--uxh-bg:#f7f8f8;--uxh-fg:#08090a;--uxh-muted:#4b4f56;--uxh-faint:#62666d;--uxh-card:#26282c}
.uxh *,.uxh *::before,.uxh *::after{box-sizing:border-box}
/* main.css sets Poppins, line-height 1.5 and -0.4px tracking on every element (*); the hero keeps its own */
.uxh{line-height:1.5;letter-spacing:normal}
.uxh *{font-family:inherit;line-height:inherit;letter-spacing:inherit}
/* one side margin for the heroes and the lists under them: 48px, 40px at 1180px and below, 20px at 760px and below */
:root{--uxh-gut:48px}
@media (max-width:1180px){:root{--uxh-gut:40px}}
@media (max-width:760px){:root{--uxh-gut:20px}}
@media (min-width:601px) and (max-width:760px){.uxh-home .uxh-in{padding:0 40px}} /* home keeps its tablet margin until the phone layout */
.uxh-in{position:relative;width:100%;max-width:1248px;margin:0 auto;padding:0 var(--uxh-gut)}

/* Work and Notes: the cards, Random Work and testimonials line up with the hero title */
.uxh-align.section-padding{padding-left:0;padding-right:0}
.pagination-section.uxh-align{margin-left:0;margin-right:0}
/* a section with no inner .wrap (home "You can relax now") gets the grid as its own padding */
.relax-section.uxh-align{padding-left:calc(max(0px,(100% - 1248px) / 2) + var(--uxh-gut));padding-right:calc(max(0px,(100% - 1248px) / 2) + var(--uxh-gut))}

/* Case studies and notes: the hero words (and the closing call to action) start on the page's own text column.
   left = max(0, (width - column)/2) + the column's padding; right = the hero grid's right edge. */
.al-post{--al-w:calc(38rem + 40px);--al-g:20px}
.al-cs{--al-w:46rem;--al-g:16px}
@media (min-width:700px){.al-cs{--al-g:32px}}
.al-project{--al-w:920px;--al-g:96px}
@media (max-width:1100px){.al-project{--al-g:64px}}
@media (max-width:768px){.al-project{--al-g:32px}}
@media (max-width:481px){.al-project{--al-g:16px}}
.uxh.al .uxh-in,.cta-section.al>.wrap{max-width:none;margin:0;
  padding-left:calc(max(0px,(100% - var(--al-w)) / 2) + var(--al-g));
  padding-right:calc(max(0px,(100% - 1248px) / 2) + var(--uxh-gut))}
.cta-section.al{padding-left:0;padding-right:0}
.uxh-align>.wrap,.uxh-align>.pagination,.uxh-align.wrap,.behance-projects.uxh-align{max-width:1248px;margin-left:auto;margin-right:auto;padding-left:var(--uxh-gut);padding-right:var(--uxh-gut)}

/* ---- shared layers ---- */
.uxh-bg{position:absolute;inset:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 200px),rgba(0,0,0,.2) calc(100% - 50px),transparent 100%);
  mask-image:linear-gradient(to bottom,#000 calc(100% - 200px),rgba(0,0,0,.2) calc(100% - 50px),transparent 100%);
  animation:uxh-fade 1.8s ease both}
.uxh-frames{position:absolute;inset:0;transform-origin:62% 40%}
.uxh-bar{position:absolute;top:0;bottom:0;width:11px;background:linear-gradient(90deg,#040405 0%,#1b1d21 45%,#0b0c0e 100%);box-shadow:1px 0 0 rgba(255,255,255,.05)}
.uxh-bar.thin{width:5px}
.uxh-transom{position:absolute;left:0;right:0;height:9px;background:linear-gradient(180deg,#040405,#1b1d21 50%,#0b0c0e)}
body.light .uxh-bar{background:linear-gradient(90deg,#fff 0%,#eceef0 55%,#d7d9dc 100%);box-shadow:2px 0 10px rgba(8,9,10,.07)}
body.light .uxh-transom{background:linear-gradient(180deg,#fff,#e6e8ea);box-shadow:0 2px 10px rgba(8,9,10,.06)}
.uxh-cover{position:absolute;inset:0 auto 0 0;width:55%;background:linear-gradient(to right,#08090a 0%,rgba(8,9,10,.82) 38%,rgba(8,9,10,0) 100%)}
body.light .uxh-cover{background:linear-gradient(to right,#f7f8f8 0%,rgba(247,248,248,.85) 38%,rgba(247,248,248,0) 100%)}

.uxh-title{margin:0;font-family:inherit;font-size:56px;line-height:1.05;font-weight:510;letter-spacing:-.022em;color:var(--uxh-fg);max-width:560px}
.uxh-title .ln{display:block}
.uxh-lede{margin:20px 0 0;max-width:400px;font-size:15px;line-height:24px;letter-spacing:-.011em;color:var(--uxh-muted)}
body:not(.light) .uxh-lede{color:#8a8f98;mix-blend-mode:plus-lighter}
.uxh a{text-decoration:none}

/* entrance: blur + rise, like Linear */
.uxh-rise{animation:uxh-rise 1.1s cubic-bezier(.16,1,.3,1) both;animation-delay:var(--d,0s)}
@keyframes uxh-rise{from{opacity:0;filter:blur(10px);transform:translateY(14px)}to{opacity:1;filter:blur(0);transform:none}}
@keyframes uxh-fade{from{opacity:0}to{opacity:1}}
@keyframes uxh-drift{0%{transform:scale(1) translate3d(0,0,0)}100%{transform:scale(1.03) translate3d(-.8%,.5%,0)}}

/* the light/dark switch (main.css .float-switch) has no z-index of its own; keep it above the hero's layered content */
.float-switch{z-index:20}
/* Safari is always dark (THEME_SNIPPET adds html.theme-forced), so it gets no switch */
html.theme-forced .float-switch{display:none}

/* the header floats over a hero while the page is at the top (html.uxh-top, see HeaderOverHero);
   with the phone menu open it keeps its frosted surface, which the menu shares */
html.uxh-top .site-header:not(.menu-open){background:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}

/* ==========================================================================
   HOME
   ========================================================================== */
.uxh-home{height:100vh;height:100svh;min-height:720px}
.uxh-room{position:absolute;inset:0;background:radial-gradient(55% 75% at 74% 36%,#2c2f34 0%,#17191c 52%,#08090a 100%)}
.uxh-room::before{content:"";position:absolute;left:58%;top:0;width:16%;height:62%;background:#4a4f56;filter:blur(60px);opacity:.55}
.uxh-room::after{content:"";position:absolute;left:84%;top:4%;width:12%;height:50%;background:#3b4046;filter:blur(50px);opacity:.5}
body.light .uxh-room{background:radial-gradient(60% 80% at 72% 36%,#d9dbde 0%,#e9eaec 50%,#f7f8f8 100%)}
body.light .uxh-room::before{left:60%;width:22%;height:70%;background:#fff;filter:blur(50px);opacity:.9}
body.light .uxh-room::after{display:none}
.uxh-media{position:absolute;inset:0;filter:brightness(.92)}
body.light .uxh-media{filter:contrast(1.05)}
/* anchored to the face; identical to the approved 01 at 1440px */
.uxh-still{position:absolute;height:1040px;width:auto;max-width:none;left:calc(95% - 753.6px);top:-40px;-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);transform-origin:62% 40%;animation:uxh-drift 30s ease-in-out infinite alternate}
/* home: the focus pull is on the photo itself and the same in both themes, so switching theme never restarts it */
.uxh-home .uxh-still{animation:uxh-drift 30s ease-in-out infinite alternate,uxh-sharpen 2s cubic-bezier(.65,0,.35,1) 1.3s both}
.uxh-home .uxh-b1{left:5%}.uxh-home .uxh-b2{left:calc(95% - 705.6px)}.uxh-home .uxh-b3{left:calc(95% - 540px)}.uxh-home .uxh-b4{left:calc(95% + 46px)}
.uxh-home .uxh-transom{display:none}
/* Home frames: discreet glass edges, not solid bars. They only exist to give the rack focus something to
   start on, so they're a slight tint of the room with a faint highlight and a soft shadow, never a grid. */
.uxh-home .uxh-bar{width:10px;background:linear-gradient(90deg,rgba(0,0,0,.22) 0%,rgba(255,255,255,.035) 55%,rgba(0,0,0,.12) 100%);
  box-shadow:1px 0 0 rgba(255,255,255,.035),-10px 0 24px rgba(0,0,0,.16)}
.uxh-home .uxh-bar.thin{width:4px}
body.light .uxh-home .uxh-bar{background:linear-gradient(90deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.25) 60%,rgba(8,9,10,.035) 100%);
  box-shadow:6px 0 18px rgba(8,9,10,.045)}
.uxh-home .uxh-frames{filter:blur(7px);transform:scale(1.015)}

/* rack focus: frames sharp → Jovan sharp */
@keyframes uxh-sharpen{from{filter:blur(12px)}to{filter:blur(0)}}
@keyframes uxh-focus-out{from{filter:blur(0);transform:scale(1)}to{filter:blur(7px);transform:scale(1.015)}}
.uxh-home .uxh-frames{animation:uxh-focus-out 2s cubic-bezier(.65,0,.35,1) 1.3s both}

.uxh-home .uxh-copy{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;justify-content:center;padding:calc(64px + 24px) 0 24px}
.uxh-actions{display:flex;align-items:center;gap:10px;margin-top:32px;flex-wrap:wrap}
/* the booking button is the site-wide pill, see "Site-wide" at the end of this file */
.uxh-ghost{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:510;color:var(--uxh-fg);background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);white-space:nowrap}
.uxh-ghost:hover{background:rgba(255,255,255,.09);color:var(--uxh-fg)}
body.light .uxh-ghost{background:rgba(255,255,255,.65);box-shadow:inset 0 0 0 1px rgba(8,9,10,.09)}
body.light .uxh-ghost:hover{background:#fff}
.uxh-meta{display:flex;align-items:center;gap:8px;margin-top:24px;font-size:12px;line-height:16.8px;color:var(--uxh-muted)}
.uxh-meta a{color:var(--uxh-muted)}.uxh-meta a:hover{color:var(--uxh-fg)}

.uxh-rail{position:relative;z-index:2;padding-bottom:40px}
.uxh-cards{display:flex;align-items:flex-end;gap:16px;overflow-x:auto;scrollbar-width:none}
.uxh-card{display:block;flex:0 0 auto;width:140px;color:var(--uxh-card)}
.uxh-card:hover{color:var(--uxh-fg)}
.uxh-card.active{width:192px}
.uxh-poster{display:block;width:100%;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#32383f;margin-bottom:12px}
body.light .uxh-poster{background:#e1e3e6;box-shadow:0 0 0 1px rgba(8,9,10,.06)}
.uxh-poster img{width:100%;height:100%;object-fit:cover;display:block}
body:not(.light) .uxh-card:not(.active) .uxh-poster img{filter:grayscale(.6) brightness(.85);transition:filter .3s}
.uxh-card:hover .uxh-poster img{filter:none}
.uxh-num{display:block;font-family:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;font-size:11px;line-height:14px;color:var(--uxh-faint);letter-spacing:.02em}
.uxh-ttl{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:16.8px;font-weight:590}

/* laptop / tablet landscape */
@media (max-width:1180px) and (min-aspect-ratio:1/1){
  .uxh-still{height:820px;left:calc(95% - 594px);top:-32px}
  .uxh-home .uxh-b2{left:calc(95% - 557px)}.uxh-home .uxh-b3{left:calc(95% - 426px)}.uxh-home .uxh-b4{left:calc(95% + 36px)}
  .uxh-home .uxh-title{font-size:46px;max-width:460px}
  .uxh-home .uxh-lede{max-width:360px}
  .uxh-home .uxh-cover{width:62%}
}
/* tablet portrait: same reading as desktop — headline beside the face */
@media (max-width:1180px) and (max-aspect-ratio:1/1){
  .uxh-home{min-height:900px;--ph:min(760px,91vw)}
  .uxh-room{background:radial-gradient(60% 55% at 74% 42%,#2c2f34 0%,#17191c 55%,#08090a 100%)}
  body.light .uxh-room{background:radial-gradient(65% 60% at 74% 42%,#d9dbde 0%,#e9eaec 55%,#f7f8f8 100%)}
  .uxh-still{height:var(--ph);left:calc(97% - var(--ph) * .7737);top:calc(45% - var(--ph) * .411)}
  .uxh-home .uxh-b1{left:6%}.uxh-home .uxh-b2{left:calc(97% - var(--ph) * .4868 - 34px)}.uxh-home .uxh-b3{left:calc(97% - var(--ph) * .3276 - 34px)}.uxh-home .uxh-b4{left:calc(97% + 8px)}
  .uxh-home .uxh-cover{width:64%}
  .uxh-home .uxh-title{font-size:42px;max-width:350px}
  .uxh-home .uxh-lede{max-width:340px}
}
/* phone: headline beside the face, description below the chin */
@media (max-width:600px){
  .uxh-home{height:auto;min-height:100vh;min-height:100svh}
  .uxh-still{height:400px;left:calc(100% - 290px);top:62px}
  .uxh-home .uxh-b1,.uxh-home .uxh-b4{display:none}.uxh-home .uxh-b2{left:calc(100% - 183px)}.uxh-home .uxh-b3{left:calc(100% - 119px)}
  .uxh-bar{width:8px}.uxh-bar.thin{width:5px}
  .uxh-home .uxh-transom{top:52px;height:7px}
  .uxh-home .uxh-cover{width:auto;right:0;background:linear-gradient(to right,#08090a 0%,rgba(8,9,10,.8) 34%,rgba(8,9,10,0) 62%)}
  .uxh-home .uxh-cover::after{content:"";position:absolute;inset:auto 0 0 0;height:74%;background:linear-gradient(to top,#08090a 0%,rgba(8,9,10,.94) 52%,rgba(8,9,10,.7) 72%,rgba(8,9,10,0) 100%)}
  body.light .uxh-home .uxh-cover{background:linear-gradient(to right,#f7f8f8 0%,rgba(247,248,248,.8) 34%,rgba(247,248,248,0) 62%)}
  body.light .uxh-home .uxh-cover::after{background:linear-gradient(to top,#f7f8f8 0%,rgba(247,248,248,.94) 52%,rgba(247,248,248,.72) 72%,rgba(247,248,248,0) 100%)}
  .uxh-home .uxh-copy{flex:none;justify-content:flex-start;padding:118px 0 20px}
  .uxh-home .uxh-title{font-size:30px;line-height:1.07;max-width:205px;letter-spacing:-.025em}
  .uxh-home .uxh-lede{margin-top:84px;max-width:none}
  .uxh-actions{margin-top:22px}
  .uxh-home .uxh-meta{display:none}
  .uxh-rail{margin-top:auto;padding-bottom:20px}
  .uxh-cards{gap:12px}
  .uxh-card{width:112px}.uxh-card.active{width:150px}
}

/* ==========================================================================
   PAGES: list (Work, Notes) · case study · note
   ========================================================================== */
.uxh-page.k-list{min-height:256px}
.uxh-page.k-case{min-height:520px}
.uxh-page.k-note{min-height:480px}
.uxh-page .uxh-bg{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 150px),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - 150px),transparent 100%)}
.uxh-vis{position:absolute;inset:-8%;display:flex;filter:blur(12px) brightness(.6) saturate(.85);animation:uxh-drift 30s ease-in-out infinite alternate}
.uxh-page.k-list .uxh-vis{filter:blur(22px) brightness(.6) saturate(.85)}
.uxh-vis img{flex:1 1 0;min-width:0;height:100%;object-fit:cover;display:block;max-width:none}
.uxh-wash{position:absolute;inset:0;background:rgba(8,9,10,.12)}
body.light .uxh-vis{filter:blur(12px) brightness(1.12) saturate(.6) contrast(.85)}
body.light .uxh-page.k-list .uxh-vis{filter:blur(22px) brightness(1.12) saturate(.6) contrast(.85)}
body.light .uxh-wash{background:rgba(247,248,248,.42)}
.uxh-page .uxh-b1{left:5%}.uxh-page .uxh-b2{left:46%}.uxh-page .uxh-b3{left:57.5%}.uxh-page .uxh-b4{left:98.2%}
/* page heroes: the frames are a quiet hint of depth, not a feature. Only the parallel pair, no transom
   (it ran through the header), thinner and lower contrast, especially in light mode */
.uxh-page .uxh-transom,.uxh-page .uxh-b1,.uxh-page .uxh-b4{display:none}
.uxh-page .uxh-bar{width:6px;opacity:.5;box-shadow:none}
body.light .uxh-page .uxh-bar{background:linear-gradient(90deg,rgba(255,255,255,.55),rgba(255,255,255,.25));box-shadow:none;opacity:1}
.uxh-page .uxh-cover{width:62%;background:linear-gradient(to right,#08090a 0%,rgba(8,9,10,.8) 42%,rgba(8,9,10,0) 100%)}
body.light .uxh-page .uxh-cover{background:linear-gradient(to right,#f7f8f8 0%,rgba(247,248,248,.85) 42%,rgba(247,248,248,0) 100%)}

.uxh-page .uxh-copy{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:calc(64px + 48px) 0 56px}
.uxh-page.k-list .uxh-copy{justify-content:flex-start;padding:calc(64px + 24px) 0 36px} /* top-anchored: Work and Notes titles sit at the same height */
.uxh-page .uxh-title{font-size:52px;line-height:1.06;max-width:780px}
.uxh-page.k-list .uxh-title{font-size:48px}
.uxh-page .uxh-title .sub{display:block;color:var(--uxh-muted)}
.uxh-page .uxh-lede{margin-top:18px;max-width:560px;font-size:17px;line-height:27px}
.uxh-page.k-list .uxh-lede{margin-top:10px;max-width:680px}
.uxh-kicker{display:flex;align-items:center;gap:8px;margin:0 0 18px;font-size:13px;line-height:18px;color:var(--uxh-muted)}
.uxh-kicker a{color:var(--uxh-muted)}.uxh-kicker a:hover{color:var(--uxh-fg)}
.uxh-kicker .slash{opacity:.45}
.uxh-byline{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:28px;font-size:13px;line-height:18px;color:var(--uxh-muted)}
.uxh-byline img{width:28px;height:28px;border-radius:50%}
.uxh-byline .who{color:var(--uxh-card);font-weight:510}
.uxh-byline .dot{opacity:.45}
.uxh-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:24px;max-width:820px;margin:36px 0 0;padding-top:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
body.light .uxh-facts{box-shadow:inset 0 1px 0 rgba(8,9,10,.08)}
.uxh-facts dt{font-family:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;font-size:11px;line-height:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--uxh-faint);margin-bottom:6px}
.uxh-facts dd{margin:0;font-size:14px;line-height:21px;color:var(--uxh-card)}

@media (max-width:760px){
  .uxh-page .uxh-title,.uxh-page.k-list .uxh-title{font-size:34px;line-height:1.08}
  .uxh-page.k-list .uxh-title{font-size:32px}
  .uxh-page .uxh-lede{font-size:16px;line-height:25px}
  .uxh-page.k-list{min-height:200px}.uxh-page.k-case,.uxh-page.k-note{min-height:440px}
  .uxh-page .uxh-copy{padding:calc(64px + 32px) 0 40px}
  .uxh-page.k-list .uxh-copy{padding:calc(64px + 16px) 0 28px}
  .uxh-page .uxh-b1,.uxh-page .uxh-b4{display:none}.uxh-page .uxh-b2{left:64%}.uxh-page .uxh-b3{left:80%}
  .uxh-page .uxh-cover{width:100%;background:linear-gradient(to top,#08090a 0%,rgba(8,9,10,.82) 45%,rgba(8,9,10,.35) 100%)}
  body.light .uxh-page .uxh-cover{background:linear-gradient(to top,#f7f8f8 0%,rgba(247,248,248,.85) 45%,rgba(247,248,248,.4) 100%)}
  .uxh-facts{grid-template-columns:minmax(0,1fr);gap:14px}
}

/* reduced motion: no drift, no rack focus; Jovan is shown sharp */
@media (prefers-reduced-motion:reduce){
  .uxh-rise{animation-name:uxh-fade}
  .uxh-still,.uxh-vis{animation:none}
  .uxh-home .uxh-still{animation:none;filter:none}
  .uxh-home .uxh-frames{animation:none;filter:blur(7px);transform:scale(1.015)}
}

/* ==========================================================================
   Site-wide (2026-11-21): the hero's look outside the hero
   ========================================================================== */

/* Buttons: every booking button is the hero's pill (blue gradient, Inter 510). Smaller in the header and footer. */
.btn.btn-book{display:inline-flex;align-items:center;justify-content:center;height:44px;min-width:0;max-width:100%;padding:0 20px;margin-top:0;
  border-radius:999px;border:0;box-shadow:none;background:linear-gradient(107deg,#0099FF 0%,#4DB8FF 100%);color:#fff;
  font-family:Inter,"SF Pro Display",-apple-system,system-ui,sans-serif;font-size:15px;font-weight:510;line-height:1;letter-spacing:-.011em;white-space:nowrap}
.btn.btn-book *{font-family:inherit;letter-spacing:inherit;line-height:inherit}
.btn.btn-book .btn-in{display:inline-flex;align-items:center}
.btn.btn-book .btn-icon{margin-right:8px;vertical-align:0}
a.btn.btn-book,a.btn.btn-book:visited,a.btn.btn-book:hover{color:#fff}
.btn.btn-book:hover{filter:brightness(1.06)}
.site-header .btn.btn-book,.site-footer .btn.btn-book{height:36px;padding:0 16px;font-size:14px;border-radius:999px}
/* main.css adds vertical padding to the footer button on phones; the pill keeps its own height and centred label */
.site-footer .site-nav .btn.btn-book,.site-footer .menu-items .btn.btn-book{height:36px;padding-top:0;padding-bottom:0;line-height:1;display:inline-flex;align-items:center}
.site-header .mobile-menu nav .btn.btn-book{height:48px;padding:0 24px;margin:16px 0 0;font-size:16px;font-weight:510;border-radius:999px}
.relax-section .btn.btn-book{display:flex;width:fit-content;margin:2rem auto 0;padding:0 24px}
.goal-focused-section .goal-testimonial .btn.btn-book{margin-top:2rem;color:#fff;background:linear-gradient(107deg,#0099FF 0%,#4DB8FF 100%)}
.post-a-links .btn.btn-book{font-size:15px;padding:0 20px}

/* Footer: no line above it */
.site-footer{border-top:0}

/* Closing call to action: the hero's room, light and type */
.cta-hero{--uxh-fg:#f7f8f8;--uxh-muted:#8a8f98;--uxh-faint:#62666d;--uxh-card:#d0d6e0;
  position:relative;isolation:isolate;overflow:hidden;padding-top:7rem;padding-bottom:7rem;
  font-family:Inter,"SF Pro Display",-apple-system,system-ui,sans-serif;letter-spacing:normal}
body.light .cta-hero{--uxh-fg:#08090a;--uxh-muted:#4b4f56;--uxh-faint:#62666d;--uxh-card:#26282c}
/* main.css puts Poppins and -0.4px tracking on every element (*); here everything inherits the hero type */
.cta-hero .cta-split,.cta-hero .cta-split *{font-family:inherit;letter-spacing:inherit}
.cta-hero .cta-bg{position:absolute;inset:0;z-index:-1;pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 140px,#000 calc(100% - 140px),transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 140px,#000 calc(100% - 140px),transparent 100%)}
.cta-hero .uxh-cover{width:60%}
.cta-hero .cta-title{margin:0 0 20px;font-size:56px;line-height:1.05;font-weight:510;letter-spacing:-.022em;color:var(--uxh-fg)}
.cta-hero .cta-title *{line-height:inherit}
.cta-hero .cta-title .gradient-text{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--uxh-fg);animation:none}
.cta-hero .cta-text{max-width:440px;font-size:17px;line-height:27px;letter-spacing:-.011em;color:var(--uxh-muted)}
body:not(.light) .cta-hero .cta-text{mix-blend-mode:plus-lighter}
.cta-hero .cta-actions{margin-top:32px}
.cta-hero .cta-alt,.cta-hero .cta-mail{font-size:15px}
.cta-hero .cta-or{color:var(--uxh-faint)}
.cta-hero .cta-mail .copy-email__addr{color:var(--uxh-card);text-decoration-color:var(--uxh-faint)}
.cta-hero .cta-next__h{margin:0 0 20px;font-family:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace!important;font-size:11px;font-weight:400;line-height:14px;letter-spacing:.04em!important;color:var(--uxh-faint)}
.cta-hero .cta-steps__ic{color:var(--uxh-muted)}
.cta-hero .cta-steps li:first-child .cta-steps__ic{color:#4DB8FF;background:none}
.cta-hero .cta-steps b{padding-top:1px;font-size:15px;font-weight:510;line-height:21px;color:var(--uxh-fg)}
.cta-hero .cta-steps__d{font-size:14px;line-height:21px;color:var(--uxh-muted)}
@media (max-width:760px){
  .cta-hero{padding-top:5rem;padding-bottom:5rem}
  .cta-hero .cta-title{font-size:36px;line-height:1.08}
  .cta-hero .cta-text{font-size:16px;line-height:25px}
  .cta-hero .uxh-cover{width:100%}
}

/* Work list: the year under each case-study title (front matter `year:`) */
.work-section .project .project-year{margin:6px 0 0;font-family:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;font-size:12px;line-height:16px;letter-spacing:.02em;color:#8a8f98}
body.light .work-section .project .project-year{color:#62666d}

/* Header and footer on the same grid as the content: 1248px wide, the hero's side margin */
.site-header .header-wrap{max-width:1248px;padding-left:var(--uxh-gut);padding-right:var(--uxh-gut)}
.site-footer.section-padding{padding-left:0;padding-right:0}
.site-footer>.wrap{max-width:1248px;margin-left:auto;margin-right:auto;padding-left:var(--uxh-gut);padding-right:var(--uxh-gut)}

/* Case studies: the full-width figures (case-study.css .cs-wide) span the same grid as the header and footer */
.cs .cs-wide.cs-gut{max-width:1248px;padding-left:var(--uxh-gut);padding-right:var(--uxh-gut)}
/* One phone margin everywhere: 20px (the grid's), instead of the older 16px in case studies and section-padding */
@media (max-width:699px){.cs .cs-gut{padding-left:20px;padding-right:20px}.al-cs{--al-g:20px}}
@media (max-width:481px){.section-padding{padding-left:20px;padding-right:20px}.al-project{--al-g:20px}}

/* ==========================================================================
   End of a note: about Jovan + more notes, in the case-study ending's style (.cta-hero)
   ========================================================================== */
.note-end .note-avatar{display:block;width:56px;height:56px;border-radius:50%;margin:0 0 20px}
.note-end .cta-title{font-size:40px}
.cta-hero .uxh-ghost,.cta-hero .uxh-ghost:hover{text-decoration:none;color:var(--uxh-fg)}
.note-more ul{list-style:none;margin:0;padding:0}
.note-more li a{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:14px 0;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
body.light .note-more li a{box-shadow:inset 0 1px 0 rgba(8,9,10,.09)}
.note-more .t{font-size:15px;font-weight:510;line-height:21px;color:var(--uxh-fg)}
.note-more a:hover .t{text-decoration:underline;text-decoration-color:var(--uxh-faint);text-underline-offset:4px}
.note-more .d{flex:none;font-family:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;font-size:12px;line-height:16px;color:var(--uxh-faint);white-space:nowrap}
@media (max-width:760px){.note-end .cta-title{font-size:32px}}

/* ==========================================================================
   Device frames (lib/devices.ts): iPhone for phone screens, Mac window for desktop screens.
   Taller screenshots scroll inside the frame.
   ========================================================================== */
.dv{display:block}
.dv-img{display:block;width:100%;height:auto;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}
.dv-screen{display:block;position:relative;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:var(--dv-bg,#fff);
  scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.25) transparent}
/* iPhone: sizes follow the frame's width (container units), so it stays right from a grid cell to a full column */
.dv-phone{width:100%;max-width:300px;margin-left:auto;margin-right:auto;container-type:inline-size}
.dv-body{display:block;position:relative;padding:3.4cqw;border-radius:16cqw;background:#1d1d1f;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),inset 0 0 0 .9cqw #2c2c2e,0 0 0 1px rgba(0,0,0,.55),0 24px 48px -20px rgba(0,0,0,.55)}
.dv-body::before,.dv-body::after{content:"";position:absolute;width:.9cqw;background:#2c2c2e;border-radius:1cqw}
.dv-body::before{left:-.9cqw;top:22%;height:7%;box-shadow:0 11cqw 0 #2c2c2e,0 22cqw 0 #2c2c2e}  /* action + volume */
.dv-body::after{right:-.9cqw;top:30%;height:12%}                                                 /* side button */
.dv-phone .dv-screen{aspect-ratio:393/852;border-radius:12.6cqw}
.dv-island{position:absolute;z-index:2;top:calc(3.4cqw + 3cqw);left:50%;transform:translateX(-50%);width:31cqw;aspect-ratio:126/37;border-radius:999px;background:#000}
.dv-inset .dv-screen{padding-top:13cqw}
.dv-phone video.dv-img{height:100%;object-fit:contain;background:#000}
/* Mac window */
.dv-desk{width:100%;border-radius:12px;overflow:hidden;background:#1b1b1d;
  box-shadow:0 0 0 1px rgba(255,255,255,.1),0 24px 48px -24px rgba(0,0,0,.6)}
.dv-bar{display:flex;align-items:center;gap:8px;height:36px;padding:0 14px;position:relative;background:#1b1b1d;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.dv-bar i{width:12px;height:12px;border-radius:50%;background:#3a3a3d}
.dv-title{position:absolute;left:96px;right:96px;text-align:center;font:400 13px/1 Inter,-apple-system,system-ui,sans-serif;letter-spacing:normal;color:#8a8f98;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv-desk .dv-screen{aspect-ratio:16/10}
body.light .dv-desk,body.light .dv-bar{background:#f2f2f4}
body.light .dv-desk{box-shadow:0 0 0 1px rgba(8,9,10,.1),0 24px 48px -24px rgba(8,9,10,.25)}
body.light .dv-bar{box-shadow:inset 0 -1px 0 rgba(8,9,10,.08)}
body.light .dv-bar i{background:#d4d4d8}
body.light .dv-title{color:#62666d}
/* inside the case-study zoom button the frame replaces the button's own box */
.cs-shot:has(.dv){padding:0;border:0;background:none;border-radius:0}
/* older case studies: desktop windows use the full text column, phones keep their own size */
.mw-920 .dv-desk{margin:8px 0}

/* ==========================================================================
   Header: progressive blur. Instead of a frosted bar with a hard bottom edge, a layer behind the header
   (::before) is tinted and strongly blurred under the header and fades out ~40px below it, so content melts in under it.
   Off while the page sits at the top of a hero (html.uxh-top); the open phone menu keeps its solid panel.
   ========================================================================== */
.site-header:not(.menu-open){background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
/* two zones in one layer (header 64px + 40px below = 104px): under the header a strong blur and a nearly solid
   tint, so what passes underneath reads as soft colour, not text; below it the same blur and tint fade out. */
.site-header::before{content:"";position:absolute;left:0;right:0;top:0;bottom:-40px;z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,color-mix(in srgb,var(--body-bg) 90%,transparent) 0%,color-mix(in srgb,var(--body-bg) 86%,transparent) 61%,color-mix(in srgb,var(--body-bg) 40%,transparent) 80%,transparent 100%);
  -webkit-backdrop-filter:saturate(160%) blur(24px);backdrop-filter:saturate(160%) blur(24px);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 61%,rgba(0,0,0,.5) 80%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 61%,rgba(0,0,0,.5) 80%,transparent 100%);
  transition:opacity .3s ease}
html.uxh-top .site-header::before,.site-header.menu-open::before{opacity:0}
