
:root {
  --bg:#FFFFFF;--bg-elev:#F5F5F7;--bg-overlay:rgba(255,255,255,0.72);
  --ink:#1D1D1F;--ink-soft:#6E6E73;--ink-mute:#86868B;
  --rule:#D2D2D7;--rule-soft:#E8E8ED;
  --accent:#E8501F;--accent-hover:#D04412;
  --shadow-soft:0 4px 24px rgba(0,0,0,0.06);
  --shadow-card:0 12px 40px rgba(0,0,0,0.18);
  --radius-md:12px;--radius-lg:22px;--radius-xl:32px;
  --display:"Inter",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --gutter:clamp(20px,4vw,56px);
  --maxw:1520px;
  --ease:cubic-bezier(.32,.72,0,1);
  --ease-soft:cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] {
  --bg:#000000;--bg-elev:#1D1D1F;--bg-overlay:rgba(0,0,0,0.72);
  --ink:#F5F5F7;--ink-soft:#A1A1A6;--ink-mute:#6E6E73;
  --rule:#2D2D2F;--rule-soft:#1F1F21;
  --accent:#FF7544;--accent-hover:#FF8E63;
  --shadow-soft:0 4px 24px rgba(0,0,0,0.4);
  --shadow-card:0 24px 60px rgba(0,0,0,.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#000000;--bg-elev:#1D1D1F;--bg-overlay:rgba(0,0,0,0.72);
    --ink:#F5F5F7;--ink-soft:#A1A1A6;--ink-mute:#6E6E73;
    --rule:#2D2D2F;--rule-soft:#1F1F21;
    --accent:#FF7544;--accent-hover:#FF8E63;
    --shadow-soft:0 4px 24px rgba(0,0,0,0.4);
    --shadow-card:0 24px 60px rgba(0,0,0,.6);
  }
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:auto}
body{
  background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.47;
  font-weight:400;letter-spacing:-0.01em;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;overflow-x:hidden;
  transition:background .3s var(--ease),color .3s var(--ease);
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--accent)}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
::selection{background:var(--accent);color:#fff}

/* ========== ACCESSIBILITY UTILITIES ========== */
/* Visually hidden but accessible to screen readers — used for the H1 */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
/* Skip link — hidden offscreen until keyboard-focused, then slides into view.
   Lets keyboard users jump past the nav directly to main content. */
.skip-link{
  position:absolute;
  top:-100px;left:16px;
  z-index:9999;
  padding:12px 20px;
  background:var(--accent);
  color:#fff;
  font-weight:500;
  border-radius:8px;
  transition:top .2s var(--ease);
}
.skip-link:focus{
  top:16px;
  color:#fff;
  outline:2px solid var(--ink);
  outline-offset:2px;
}

/* NAV */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  padding:14px var(--gutter);
  background:var(--bg-overlay);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--rule-soft);
  transition:background .3s var(--ease),border-color .3s var(--ease);
}
.nav__home{font-family:var(--display);font-size:20px;font-weight:600;letter-spacing:-0.022em;color:var(--ink)}
.nav__center{display:flex;gap:32px;justify-self:center;list-style:none;margin:0;padding:0}
.nav__center a{font-size:14px;color:var(--ink-soft);letter-spacing:-0.01em}
.nav__center a:hover{color:var(--ink)}
.nav__right{display:flex;gap:16px;align-items:center;justify-self:end;font-size:14px;color:var(--ink-soft)}
.nav__right a:hover{color:var(--ink)}
.theme-toggle{
  width:44px;height:44px;border-radius:50%;
  display:inline-grid;place-items:center;
  color:var(--ink-soft);
  background:transparent;border:0;cursor:pointer;
  transition:background .2s var(--ease),color .2s var(--ease);
}
.theme-toggle:hover{background:var(--bg-elev);color:var(--ink)}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle .icon-sun{display:none}
.theme-toggle .icon-moon{display:block}
[data-theme="dark"] .theme-toggle .icon-sun{display:block}
[data-theme="dark"] .theme-toggle .icon-moon{display:none}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun{display:block}
  :root:not([data-theme="light"]) .theme-toggle .icon-moon{display:none}
}
@media (max-width:900px){.nav__center{display:none}.nav__ig{display:none}.nav{grid-template-columns:1fr auto}}

/* ====== HAMBURGER + MOBILE MENU ====== */
.nav__hamburger{
  display:none;
  width:44px;height:44px;
  background:none;border:0;padding:0;cursor:pointer;
  align-items:center;justify-content:center;
  flex-direction:column;gap:5px;
  position:relative;z-index:120;
}
.nav__hamburger span{
  display:block;
  width:22px;height:1.5px;
  background:var(--ink);
  transition:transform .35s var(--ease),opacity .25s var(--ease);
  transform-origin:center;
}
.nav__hamburger.is-open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.nav__hamburger.is-open span:nth-child(2){opacity:0;transform:translateX(8px)}
.nav__hamburger.is-open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
@media (max-width:900px){
  .nav__hamburger{display:flex}
}

.mobile-menu{
  position:fixed;top:0;left:0;right:0;bottom:0;
  background:var(--bg);
  z-index:110;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;
  transition:opacity .35s var(--ease);
}
.mobile-menu.is-open{opacity:1;pointer-events:auto}
.mobile-menu__list{
  list-style:none;margin:0;padding:0;
  text-align:center;
  display:flex;flex-direction:column;gap:18px;
}
.mobile-menu__list li{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list li{opacity:1;transform:translateY(0)}
.mobile-menu.is-open .mobile-menu__list li:nth-child(1){transition-delay:.08s}
.mobile-menu.is-open .mobile-menu__list li:nth-child(2){transition-delay:.14s}
.mobile-menu.is-open .mobile-menu__list li:nth-child(3){transition-delay:.20s}
.mobile-menu.is-open .mobile-menu__list li:nth-child(4){transition-delay:.26s}
.mobile-menu.is-open .mobile-menu__list li:nth-child(5){transition-delay:.32s}
.mobile-menu__list a{
  font-family:var(--display);
  font-size:clamp(28px,8vw,40px);
  font-weight:600;letter-spacing:-.02em;
  color:var(--ink);
  text-decoration:none;
  display:inline-block;padding:8px 24px;
  transition:color .25s var(--ease);
}
.mobile-menu__list a:hover{color:var(--accent)}

/* ====== LIGHTBOX ====== */
.lightbox{
  position:fixed;inset:0;z-index:500;
  background:rgba(0,0,0,.92);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  display:none;
  opacity:0;
  transition:opacity .3s var(--ease);
}
.lightbox.is-open{display:flex;opacity:1;flex-direction:column}
.lightbox__topbar{
  position:absolute;top:0;left:0;right:0;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 24px;color:#fff;z-index:5;
  background:linear-gradient(to bottom, rgba(0,0,0,.5), transparent);
}
.lightbox__title{
  font-family:var(--display);font-weight:600;font-size:18px;letter-spacing:-0.02em;
  display:flex;align-items:baseline;gap:12px;
}
.lightbox__title .ey{font-style:italic;font-size:13px;font-weight:400;color:rgba(255,255,255,.6);font-family:var(--display)}
.lightbox__counter{
  font-family:var(--mono,ui-monospace,monospace);font-size:12px;
  color:rgba(255,255,255,.7);
  background:rgba(255,255,255,.08);padding:6px 12px;border-radius:999px;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border:0.5px solid rgba(255,255,255,.12);
}
.lightbox__close{
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.08);
  border:0.5px solid rgba(255,255,255,.12);
  color:#fff;font-size:18px;line-height:1;cursor:pointer;
  display:inline-grid;place-items:center;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  transition:background .2s var(--ease);
}
.lightbox__close:hover{background:rgba(255,255,255,.16)}

.lightbox__stage{
  flex:1;
  display:flex;align-items:center;justify-content:center;
  position:relative;
  padding:60px 80px;
  min-height:0;
}
.lightbox__img{
  max-width:100%;max-height:100%;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 24px 80px rgba(0,0,0,.6);
  transition:opacity .3s var(--ease);
}
.lightbox__img.is-fading{opacity:0}

.lightbox__nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.08);
  border:0.5px solid rgba(255,255,255,.16);
  color:#fff;font-size:20px;cursor:pointer;
  display:inline-grid;place-items:center;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  transition:background .2s var(--ease);
  z-index:4;
}
.lightbox__nav:hover{background:rgba(255,255,255,.18)}
.lightbox__nav.prev{left:24px}
.lightbox__nav.next{right:24px}

.lightbox__bottombar{
  padding:18px 24px 28px;
  color:#fff;text-align:center;
  background:linear-gradient(to top, rgba(0,0,0,.5), transparent);
}
.lightbox__caption{
  font-size:14px;color:rgba(255,255,255,.7);
  max-width:60ch;margin:0 auto;
  min-height:1.4em;
}
.lightbox__thumbs{
  display:flex;gap:6px;justify-content:center;
  margin-top:12px;flex-wrap:wrap;
  max-width:100%;overflow-x:auto;
  padding:4px;
}
.lightbox__thumbs::-webkit-scrollbar{height:0}
.lightbox__thumb{
  width:48px;height:48px;
  border-radius:6px;overflow:hidden;
  cursor:pointer;flex-shrink:0;
  opacity:.4;
  transition:opacity .2s var(--ease),transform .2s var(--ease);
  border:1px solid transparent;
  background:#222;
}
.lightbox__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lightbox__thumb:hover{opacity:.8}
.lightbox__thumb.is-active{
  opacity:1;
  border-color:#FF7544;
  transform:scale(1.05);
}

@media (max-width:700px){
  .lightbox__stage{padding:80px 16px 16px}
  .lightbox__nav{width:40px;height:40px}
  .lightbox__nav.prev{left:8px}
  .lightbox__nav.next{right:8px}
  .lightbox__topbar{padding:14px 16px}
  .lightbox__title{font-size:15px;gap:8px}
  .lightbox__title .ey{display:none}
}

/* ====== CAROUSEL HERO — Apple-clean + Liam-Orange glow ====== */
.carousel-hero{
  min-height:100vh;
  padding:100px var(--gutter) 50px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  position:relative;overflow:hidden;
}
.carousel-track{
  display:block;
  width:100%;
  /* 70vh viewport height (was 65vh) — gives the carousel more presence on standard 1080p+ screens.
     Min raised from 440px → 520px so it never feels cramped. */
  height:clamp(520px,70vh,880px);
  position:relative;
  perspective:1800px;
  margin-bottom:48px;
}

.carousel-card{
  position:absolute;
  left:50%;top:50%;
  /* Card aspect ratio is ~3:4 portrait */
  /* Bumped up across all breakpoints. At 1440px viewport, this gives ~530px wide cards
     instead of the previous ~432px. Designed-to-100%-zoom now feels right. */
  width:clamp(340px,36vw,680px);
  height:clamp(460px,60vh,800px);
  border-radius:16px;
  overflow:hidden;
  background:#0a0a0a;
  cursor:pointer;
  transition:
    transform .8s var(--ease),
    filter .5s var(--ease),
    box-shadow .5s var(--ease),
    opacity .5s var(--ease);
  transform:
    translate(-50%,-50%)
    translateX(var(--tx,0px))
    rotateY(var(--rot,0deg))
    translateY(var(--ty,0px))
    scale(var(--sc,1));
  z-index:var(--z,1);
  filter:brightness(.5) saturate(.9);
  box-shadow:0 4px 14px rgba(0,0,0,.3);
  text-decoration:none;color:inherit;
}

/* Hero image — fills the entire card, edge to edge */
.carousel-card__img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.carousel-card.is-active{
  --rot:0deg;--ty:-24px;--sc:1.06;--z:100;
  filter:brightness(1) saturate(1);
  box-shadow:
    0 0 0 1.5px rgba(255,117,68,.85),
    0 0 40px rgba(255,117,68,.4),
    0 32px 80px rgba(0,0,0,.6),
    0 6px 16px rgba(0,0,0,.35);
}
[data-theme="light"] .carousel-card.is-active{
  box-shadow:
    0 0 0 1.5px rgba(232,80,31,.9),
    0 0 36px rgba(232,80,31,.3),
    0 32px 80px rgba(40,40,50,.22),
    0 6px 16px rgba(40,40,50,.12);
}

/* Subtle bottom gradient so title/eyebrow stay readable */
.carousel-card__grad{
  position:absolute;left:0;right:0;bottom:0;
  height:55%;
  background:linear-gradient(to top,rgba(0,0,0,.65) 0%,rgba(0,0,0,.25) 50%,transparent 100%);
  z-index:1;pointer-events:none;
}

/* Counter top right — mono, quiet */
.carousel-card__counter{
  position:absolute;top:22px;right:22px;z-index:5;
  font-family:var(--mono,ui-monospace,monospace);
  font-size:13px;letter-spacing:.04em;
  color:rgba(255,255,255,.75);
  opacity:0;
  transition:opacity .5s var(--ease);
}
.carousel-card__counter .of{color:rgba(255,255,255,.45)}
.carousel-card.is-active .carousel-card__counter{opacity:1}

/* Hover arrow top left — Apple-style glass pill */
.carousel-card__arrow{
  position:absolute;top:18px;left:18px;z-index:5;
  width:38px;height:38px;border-radius:50%;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  border:0.5px solid rgba(255,255,255,.2);
  display:grid;place-items:center;
  color:#fff;font-size:15px;
  opacity:0;
  transform:translate(-4px,4px);
  transition:opacity .25s var(--ease),transform .25s var(--ease);
}
.carousel-card.is-active:hover .carousel-card__arrow{
  opacity:1;
  transform:translate(0,0);
}

/* Bottom meta — eyebrow + title */
.carousel-card__meta{
  position:absolute;left:24px;right:24px;bottom:22px;z-index:5;
  color:#fff;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.carousel-card.is-active .carousel-card__meta{
  opacity:1;
  transform:translateY(0);
}
.carousel-card__cat{
  font-family:var(--mono,ui-monospace,monospace);
  font-size:10px;letter-spacing:.22em;
  color:rgba(255,255,255,.6);
  text-transform:uppercase;
  margin-bottom:10px;
}
.carousel-card__eyebrow{
  font-style:italic;font-size:clamp(14px,1.1vw,17px);
  color:rgba(255,255,255,.78);
  margin-bottom:5px;
}
.carousel-card__title{
  font-size:clamp(22px,1.85vw,32px);font-weight:600;letter-spacing:-.02em;
  display:flex;align-items:baseline;gap:10px;
}
.carousel-card__title .ar{
  font-weight:400;font-size:clamp(15px,1.2vw,20px);
  color:#FF7544;
  transition:transform .25s var(--ease);
}
[data-theme="light"] .carousel-card__title .ar{color:#FF7544}
.carousel-card.is-active:hover .carousel-card__title .ar{
  transform:translate(2px,-2px);
}

@media (prefers-reduced-motion:reduce){
  .carousel-card,.carousel-card__counter,.carousel-card__meta,.carousel-card__arrow{
    transition:none!important;
  }
}

@media (max-width:900px){
  .carousel-track{
    display:flex;align-items:center;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    perspective:none;
    padding:40px 18vw;
    justify-content:flex-start;
    height:auto;
    margin-bottom:32px;
  }
  .carousel-track::-webkit-scrollbar{display:none}
  .carousel-card{
    position:relative;left:auto;top:auto;
    flex-shrink:0;
    width:64vw;height:88vw;max-width:280px;max-height:380px;
    margin:0 8px;
    scroll-snap-align:center;
    transform:none!important;filter:none;
    --rot:0;--ty:0;--sc:1;--tx:0;
  }
  .carousel-card.is-active{
    box-shadow:
      0 0 0 1.5px rgba(255,117,68,.85),
      0 0 24px rgba(255,117,68,.3),
      0 16px 40px rgba(0,0,0,.45);
    filter:brightness(1);
  }
  .carousel-card__counter,
  .carousel-card__meta{opacity:1;transform:none}
}

.carousel-dots{
  margin-top:32px;
  display:flex;gap:6px;justify-content:center;
}
.carousel-dots button{
  width:6px;height:6px;border-radius:50%;
  background:var(--rule);
  transition:background .25s var(--ease),width .25s var(--ease);
  border:0;padding:0;cursor:pointer;
}
.carousel-dots button.is-active{
  background:var(--ink);
  width:24px;border-radius:3px;
}

/* BIO */
.bio{padding:120px var(--gutter);max-width:880px;margin:0 auto;text-align:center}
.bio p{font-family:var(--display);font-weight:400;font-size:clamp(22px,2.4vw,28px);line-height:1.4;letter-spacing:-0.018em;color:var(--ink);margin:0}

/* PROJECT */
.project{padding:40px var(--gutter) 80px;display:grid;grid-template-columns:repeat(12,1fr);gap:24px;align-items:center;max-width:var(--maxw);margin:0 auto}
.project__img{overflow:hidden;border-radius:var(--radius-lg);background:var(--bg-elev);margin:0;box-shadow:var(--shadow-soft)}
.project__img img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.project__img:hover img{transform:scale(1.025)}

/* Clickable hero images — when a figure has data-open-gallery, treat it like a button.
   Subtle lift on hover signals it's interactive without competing with the inner image zoom. */
.project__img[data-open-gallery]{
  cursor:pointer;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
  -webkit-tap-highlight-color:rgba(232,80,31,.12);
}
.project__img[data-open-gallery]:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 60px rgba(0,0,0,0.18), var(--shadow-soft);
}
[data-theme="dark"] .project__img[data-open-gallery]:hover{
  box-shadow:0 30px 60px rgba(0,0,0,0.5), var(--shadow-soft);
}
/* Keyboard focus state — accessibility */
.project__img[data-open-gallery]:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
}
.project__meta{display:flex;flex-direction:column;gap:14px;padding:24px 0}
.project__date{font-size:13px;font-weight:500;color:var(--ink-mute)}
.project__date span{color:var(--rule);margin:0 8px}
.project__title{font-family:var(--display);font-weight:600;font-size:clamp(34px,4.5vw,56px);line-height:1.05;letter-spacing:-0.025em;color:var(--ink);margin:0}
.project__cta{display:inline-flex;align-items:center;font-size:15px;font-weight:500;color:var(--accent);margin-top:8px;align-self:flex-start;transition:color .2s var(--ease);position:relative;z-index:2;cursor:pointer;-webkit-tap-highlight-color:rgba(232,80,31,.15)}
.project__cta::after{content:" ›";margin-left:4px;display:inline-block;transition:transform .2s var(--ease)}
.project__cta:hover{color:var(--accent-hover)}
.project__cta:hover::after{transform:translateX(3px)}

.project--split .project__img.left{grid-column:1/span 5;aspect-ratio:4/5}
.project--split .project__meta{grid-column:6/span 2;align-items:center;text-align:center}
.project--split .project__meta .project__title{text-align:center}
.project--split .project__cta{align-self:center}
.project--split .project__img.right{grid-column:8/span 5;aspect-ratio:4/5}

.project--wide .project__img{grid-column:1/-1;aspect-ratio:21/9}
.project--wide .project__meta{grid-column:1/span 8}
.project--wide .project__meta--right{grid-column:9/span 4;align-self:end;align-items:flex-end}
.project--wide .project__meta--right .project__cta{align-self:flex-end}

.project--stacked .project__meta{grid-column:1/span 4;align-self:start;padding-top:60px}
.project--stacked .project__img.a{grid-column:6/span 7;aspect-ratio:3/4}
.project--stacked .project__img.b{grid-column:1/span 5;aspect-ratio:4/3;margin-top:-60px}
.project--stacked .project__img.c{grid-column:7/span 6;aspect-ratio:3/2}

/* trio: 3 portraits side by side */
.project--trio .project__img.a{grid-column:1/span 4;aspect-ratio:4/5}
.project--trio .project__img.b{grid-column:5/span 4;aspect-ratio:4/5}
.project--trio .project__img.c{grid-column:9/span 4;aspect-ratio:4/5}
.project--trio .project__meta{grid-column:1/-1;text-align:center;padding-top:24px}
.project--trio .project__meta .project__title{text-align:center}
.project--trio .project__cta{align-self:center}

@media (max-width:900px){
  .project,.project--split,.project--wide,.project--stacked,.project--trio{grid-template-columns:1fr}
  .project__img,.project__meta{grid-column:1/-1!important;margin-top:0!important;padding:12px 0!important}
}

/* QUOTE */
.quote{padding:140px var(--gutter);text-align:center;max-width:1000px;margin:60px auto}
.quote p{font-family:var(--display);font-weight:600;font-size:clamp(28px,4vw,56px);line-height:1.1;letter-spacing:-0.03em;max-width:22ch;margin:0 auto;color:var(--ink)}
.quote .attr{font-size:15px;color:var(--ink-mute);display:block;margin-top:24px;font-weight:400}

/* ====== CLIENTS BANNER ====== */
.clients{
  padding:100px var(--gutter) 60px;
  text-align:center;
  border-top:0.5px solid var(--rule-soft);
}
.clients__label{
  font-family:var(--mono,ui-monospace,monospace);
  font-size:11px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--ink-mute);
  margin-bottom:40px;
  display:flex;align-items:center;justify-content:center;gap:14px;
}
.clients__label::before,
.clients__label::after{
  content:"";display:block;width:32px;height:1px;background:var(--rule);
}
.clients__grid{
  display:flex;justify-content:center;align-items:center;
  gap:clamp(32px,5vw,64px);
  flex-wrap:wrap;max-width:1100px;margin:0 auto;
}
.clients__item{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  height:42px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(20px,2vw,26px);font-weight:600;letter-spacing:-.01em;
  color:var(--ink-mute);
  opacity:.65;
  transition:opacity .3s var(--ease),color .3s var(--ease),transform .3s var(--ease);
  text-decoration:none;
}
.clients__item--sans{
  font-family:Inter,sans-serif;letter-spacing:.06em;font-weight:500;text-transform:uppercase;
  font-size:clamp(15px,1.5vw,18px);
}
.clients__item:hover{
  opacity:1;color:var(--ink);transform:translateY(-2px);
}
.clients__item img,.clients__item svg{
  max-height:42px;width:auto;display:block;
  filter:grayscale(1) brightness(.7) contrast(1.1);
  transition:filter .3s var(--ease);
}
.clients__item:hover img,.clients__item:hover svg{
  filter:grayscale(0) brightness(1);
}
[data-theme="light"] .clients__item img,[data-theme="light"] .clients__item svg{
  filter:grayscale(1) brightness(.4) contrast(1.2);
}
[data-theme="light"] .clients__item:hover img,[data-theme="light"] .clients__item:hover svg{
  filter:grayscale(0) brightness(1);
}
@media (max-width:700px){
  .clients{padding:60px var(--gutter) 30px}
  .clients__grid{gap:32px}
  .clients__label::before,.clients__label::after{display:none}
  .clients__label{margin-bottom:32px}
}

/* ====== CUSTOM SCROLLBAR ====== */
html{scrollbar-width:thin;scrollbar-color:var(--accent) transparent}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{
  background:rgba(255,117,68,.3);
  border-radius:8px;
  transition:background .2s ease;
}
::-webkit-scrollbar-thumb:hover{background:rgba(255,117,68,.6)}
[data-theme="light"] ::-webkit-scrollbar-thumb{background:rgba(232,80,31,.3)}
[data-theme="light"] ::-webkit-scrollbar-thumb:hover{background:rgba(232,80,31,.6)}

/* ====== CUSTOM CURSOR (opt-in via body[data-cursor="..."]) ====== */
body[data-cursor="on"],
body[data-cursor="fstop"],
body[data-cursor="crosshair"],
body[data-cursor="frame"],
body[data-cursor="focus"],
body[data-cursor="iris"],
body[data-cursor="mag"] { cursor: none; }

/* =====================================================
   CUSTOM CURSORS — 4 variants, controlled by data-cursor attr on body.
   Modes: "off" (default browser), "fstop", "crosshair", "frame", "focus".
   Backwards-compat: "on" is treated as "fstop".
   ===================================================== */
body[data-cursor="fstop"] *,
body[data-cursor="crosshair"] *,
body[data-cursor="frame"] *,
body[data-cursor="focus"] *,
body[data-cursor="on"] *,
body[data-cursor="fstop"] a,
body[data-cursor="crosshair"] a,
body[data-cursor="frame"] a,
body[data-cursor="focus"] a,
body[data-cursor="on"] a,
body[data-cursor="fstop"] button,
body[data-cursor="crosshair"] button,
body[data-cursor="frame"] button,
body[data-cursor="focus"] button,
body[data-cursor="on"] button,
body[data-cursor="fstop"] [role="button"],
body[data-cursor="crosshair"] [role="button"],
body[data-cursor="frame"] [role="button"],
body[data-cursor="focus"] [role="button"],
body[data-cursor="on"] [role="button"],
body[data-cursor="fstop"] .carousel-card,
body[data-cursor="crosshair"] .carousel-card,
body[data-cursor="frame"] .carousel-card,
body[data-cursor="focus"] .carousel-card,
body[data-cursor="on"] .carousel-card { cursor: none; }

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
body[data-cursor="fstop"] .cursor-dot,
body[data-cursor="fstop"] .cursor-ring,
body[data-cursor="crosshair"] .cursor-dot,
body[data-cursor="crosshair"] .cursor-ring,
body[data-cursor="frame"] .cursor-dot,
body[data-cursor="frame"] .cursor-ring,
body[data-cursor="focus"] .cursor-dot,
body[data-cursor="focus"] .cursor-ring,
body[data-cursor="iris"] .cursor-dot,
body[data-cursor="iris"] .cursor-ring,
body[data-cursor="mag"] .cursor-dot,
body[data-cursor="mag"] .cursor-ring,
body[data-cursor="on"] .cursor-dot,
body[data-cursor="on"] .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, background .2s ease, opacity .3s ease;
}

/* === MODE 1: F-stop (camera aperture metaphor — shows "f/8" → "f/1.4" on hover) === */
body[data-cursor="fstop"] .cursor-ring,
body[data-cursor="on"] .cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, border-color .2s ease, opacity .3s ease, background .2s ease;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px; letter-spacing: .06em;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
body[data-cursor="fstop"] .cursor-ring::before,
body[data-cursor="on"] .cursor-ring::before { content: "f/8"; opacity: .7; }
body[data-cursor="fstop"] .cursor-ring.is-active,
body[data-cursor="on"] .cursor-ring.is-active {
  width: 64px; height: 64px;
  border-color: var(--accent);
  background: rgba(255, 117, 68, 0.06);
}
body[data-cursor="fstop"] .cursor-ring.is-active::before,
body[data-cursor="on"] .cursor-ring.is-active::before { content: "f/1.4"; }
body[data-cursor="fstop"] .cursor-dot.is-active,
body[data-cursor="on"] .cursor-dot.is-active { width: 0; height: 0; background: transparent; }

/* === MODE 2: Crosshair (rangefinder / focus point) === */
body[data-cursor="crosshair"] .cursor-ring {
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  /* Crosshair is drawn via SVG content via data URI — clean lines that scale */
  background:
    linear-gradient(to right, transparent 46%, var(--accent) 46%, var(--accent) 54%, transparent 54%),
    linear-gradient(to bottom, transparent 46%, var(--accent) 46%, var(--accent) 54%, transparent 54%);
  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
  background-position: center;
  transition: width .25s ease, height .25s ease, opacity .3s ease;
}
body[data-cursor="crosshair"] .cursor-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 0.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}
body[data-cursor="crosshair"] .cursor-ring.is-active {
  width: 60px; height: 60px;
}
body[data-cursor="crosshair"] .cursor-ring.is-active::before {
  opacity: 0.8;
  border-width: 1px;
}
body[data-cursor="crosshair"] .cursor-dot {
  width: 3px; height: 3px;
}
body[data-cursor="crosshair"] .cursor-dot.is-active {
  width: 5px; height: 5px;
}

/* === MODE 3: Frame (like a viewfinder bracket) === */
body[data-cursor="frame"] .cursor-ring {
  width: 32px; height: 32px;
  transform: translate(-50%, -50%);
  border: none;
  background: none;
  transition: width .25s ease, height .25s ease, opacity .3s ease;
}
/* Four corner brackets via pseudo-elements — top-left + bottom-right */
body[data-cursor="frame"] .cursor-ring::before,
body[data-cursor="frame"] .cursor-ring::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border: 1.5px solid var(--accent);
}
body[data-cursor="frame"] .cursor-ring::before {
  top: 0; left: 0;
  border-right: 0; border-bottom: 0;
}
body[data-cursor="frame"] .cursor-ring::after {
  bottom: 0; right: 0;
  border-left: 0; border-top: 0;
}
body[data-cursor="frame"] .cursor-ring.is-active {
  width: 56px; height: 56px;
}
body[data-cursor="frame"] .cursor-ring.is-active::before,
body[data-cursor="frame"] .cursor-ring.is-active::after {
  width: 14px; height: 14px;
  border-width: 2px;
}

/* === MODE 4: Focus dot (pure minimal — solid dot, smaller hover scale) === */
body[data-cursor="focus"] .cursor-ring {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: width .22s var(--ease, ease), height .22s var(--ease, ease), opacity .25s ease;
  /* No mix-blend-mode — keeps it always brand-orange and predictable */
}
body[data-cursor="focus"] .cursor-ring.is-active {
  width: 22px; height: 22px;
  opacity: 0.9;
}
body[data-cursor="focus"] .cursor-dot {
  display: none; /* focus mode uses only the ring */
}

/* === MODE 5: Iris (camera aperture blades — opens/closes on hover) === */
body[data-cursor="iris"] .cursor-ring {
  width: 28px; height: 28px;
  border-radius: 50%;
  /* Outer ring — iris housing */
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease, ease), height .3s var(--ease, ease), opacity .25s ease;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
/* Inner blade approximation — a smaller filled circle that grows when active.
   Simulates the aperture iris widening / narrowing. */
body[data-cursor="iris"] .cursor-ring::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
  transition: width .3s var(--ease, ease), height .3s var(--ease, ease), opacity .25s ease;
  /* The blade color reads as filled aperture */
}
body[data-cursor="iris"] .cursor-ring.is-active {
  width: 56px; height: 56px;
  border-color: var(--accent);
}
body[data-cursor="iris"] .cursor-ring.is-active::before {
  /* Wide aperture (let in more light) — small inner = fully open */
  width: 6px; height: 6px;
  opacity: 0.4;
}
body[data-cursor="iris"] .cursor-dot {
  display: none;
}

/* === MODE 6: Magnifier (loupe / inspector) === */
body[data-cursor="mag"] .cursor-ring {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease, ease), height .25s var(--ease, ease), opacity .25s ease;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--accent);
  font-weight: 300;
  line-height: 0;
}
body[data-cursor="mag"] .cursor-ring::before {
  content: '+';
  opacity: 0;
  transition: opacity .2s ease;
  font-size: 14px;
  line-height: 1;
}
body[data-cursor="mag"] .cursor-ring.is-active {
  width: 44px; height: 44px;
  background: rgba(255, 117, 68, 0.06);
}
body[data-cursor="mag"] .cursor-ring.is-active::before {
  opacity: 0.9;
}
body[data-cursor="mag"] .cursor-dot {
  width: 2px; height: 2px;
}
body[data-cursor="mag"] .cursor-dot.is-active {
  width: 0; height: 0;
}

@media (hover: none) and (pointer: coarse) {
  body[data-cursor]:not([data-cursor="off"]) { cursor: auto !important; }
  body[data-cursor]:not([data-cursor="off"]) * { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ====== BLUR TEXT (focuses on scroll) ====== */
[data-blur-text]{
  /* Initially blurred — JS will animate to clear when scrolled into view */
}
[data-blur-text] .word{
  display:inline-block;
  filter:blur(10px);
  opacity:0;
  transform:translateY(10px);
  will-change:filter,opacity,transform;
}
[data-blur-text] .word + .word{margin-left:.25em}
@media (prefers-reduced-motion:reduce){
  [data-blur-text] .word{filter:none;opacity:1;transform:none}
}

/* ====== SPLIT TEXT (words slide up, staggered) ====== */
[data-split-text]{
  /* Wrapper itself stays as-is */
}
[data-split-text] .word{
  display:inline-block;
  opacity:0;
  transform:translateY(0.6em);
  will-change:opacity,transform;
}
[data-split-text] .word + .word{margin-left:.25em}
/* clients__label is flex (because of ::before/::after divider lines).
   Wrap words in a span so flex doesn't stack each word vertically */
.clients__label[data-split-text]{display:flex;align-items:center;justify-content:center;gap:14px}
.clients__label[data-split-text] .words{display:inline-flex;flex-wrap:wrap;justify-content:center}
@media (prefers-reduced-motion:reduce){
  [data-split-text] .word{opacity:1;transform:none}
}

/* ====== ENHANCED REVEAL — slide-up + stagger ====== */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s cubic-bezier(.22,.61,.36,1),transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay:calc(var(--reveal-delay,0)*120ms);
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}
.reveal[data-delay="1"]{--reveal-delay:1}
.reveal[data-delay="2"]{--reveal-delay:2}
.reveal[data-delay="3"]{--reveal-delay:3}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
}
/* On mobile, skip reveal entirely - sections are always visible.
   The reveal animation is barely perceptible on small screens anyway,
   and we eliminate any risk of the observer not firing. */
@media (max-width:900px){
  .reveal{opacity:1;transform:none;transition:none}
  [data-blur-text] .word{filter:none;opacity:1;transform:none}
  [data-split-text] .word{opacity:1;transform:none}
}

/* ====== CURSOR-SETTINGS TOGGLE BUTTON ====== */
.cursor-toggle{
  position:fixed;bottom:20px;left:20px;z-index:200;
  background:var(--bg-elev);
  border:0.5px solid var(--rule-soft);
  border-radius:999px;
  padding:8px 14px;
  font-family:var(--mono,ui-monospace,monospace);
  font-size:10px;letter-spacing:.08em;
  color:var(--ink-soft);
  cursor:pointer;
  transition:opacity .2s ease,color .2s ease;
  opacity:.4;
}
.cursor-toggle:hover{opacity:1;color:var(--ink)}
body[data-cursor="on"] .cursor-toggle{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  opacity:1;
}
@media (hover:none) and (pointer:coarse){
  .cursor-toggle{display:none}
}

/* =============================================
   PROJECT GALLERY OVERLAY (FLIP morph from carousel/section)
   Apple-clean slide-up overlay that morphs hero images into
   a single-column showcase with sticky thumbnail strip.
   ============================================= */
.proj-gallery {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  /* No transform on the container — FLIP animates the images individually.
     We just toggle visibility so the overlay's content is reachable. */
  -webkit-overflow-scrolling: touch;
  /* Allow scrolling even when Lenis is active on the body */
  overscroll-behavior: contain;
}
.proj-gallery.is-open {
  visibility: visible;
}
/* During animation, block clicks on stream items only — NOT the whole overlay,
   so the user can still scroll. */
.proj-gallery.is-animating .proj-gallery__item,
.proj-gallery.is-animating .proj-gallery__strip-item {
  pointer-events: none;
}

/* Top bar — same vibe as world gallery */
.proj-gallery__topbar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--rule);
  z-index: 10;
}
.proj-gallery__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: none; border: 0;
  cursor: pointer;
  padding: 0;
  transition: color .2s var(--ease);
}
.proj-gallery__back:hover { color: var(--ink); }
.proj-gallery__back::before {
  content: '←';
  font-size: 14px;
  transition: transform .2s var(--ease);
}
.proj-gallery__back:hover::before { transform: translateX(-3px); }

.proj-gallery__title-wrap { text-align: center; min-width: 0; }
.proj-gallery__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.proj-gallery__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  margin: 0;
}
.proj-gallery__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* Main showcase grid — same shape as world gallery */
.proj-gallery__showcase {
  /* Container for the rest block (items 4+). Intro sits ABOVE this with
     its own width — see .proj-gallery__intro below. */
  padding: 0 var(--gutter) clamp(40px, 8vh, 100px);
  padding-right: calc(var(--gutter) + 180px);
  max-width: 1400px;
  margin: 0 auto;
}

/* INTRO BLOCK — first 3 items replicate the page's stacked layout EXACTLY.
   Same max-width, same gutter, same gap, same grid as .project on the homepage.
   This is critical: the FLIP morph relies on source and target geometries
   being identical, so the math has to match the page's CSS perfectly. */
.proj-gallery__intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* Match .project's gap: 24px exactly — not a clamp() */
  column-gap: 24px;
  row-gap: 24px;
  /* Match .project's container exactly: max-width var(--maxw), gutter padding */
  max-width: var(--maxw);
  margin: 0 auto clamp(40px, 6vh, 80px);
  /* Match .project's padding (40px top, gutter sides, 80px bottom — but we don't
     need the bottom padding here since margin-bottom handles spacing to rest block) */
  padding: clamp(40px, 6vh, 80px) var(--gutter) 0;
}
.proj-gallery__intro .proj-gallery__item {
  /* Reset any width/margin inherited from .proj-gallery__item base — grid handles it */
  width: 100% !important;
  margin: 0 !important;
}

/* Layout: 3 sources stacked — mirrors .project--stacked exactly
   (grid spans 6/7, 1/5 with -60px overlap, 7/6) */
.proj-gallery__intro--3 .proj-gallery__item.intro-a {
  grid-column: 6 / span 7;
  aspect-ratio: 3 / 4;
}
.proj-gallery__intro--3 .proj-gallery__item.intro-b {
  grid-column: 1 / span 5;
  aspect-ratio: 4 / 3;
  margin-top: -60px !important;
}
.proj-gallery__intro--3 .proj-gallery__item.intro-c {
  grid-column: 7 / span 6;
  aspect-ratio: 3 / 2;
}

/* Layout: 2 sources split — mirrors .project--split (left + right portraits) */
.proj-gallery__intro--2 .proj-gallery__item.intro-a {
  grid-column: 1 / span 5;
  aspect-ratio: 4 / 5;
}
.proj-gallery__intro--2 .proj-gallery__item.intro-b {
  grid-column: 7 / span 6;
  aspect-ratio: 4 / 5;
  align-self: end;
}

/* Layout: 1 source wide — mirrors .project--wide (single landscape) */
.proj-gallery__intro--1 .proj-gallery__item.intro-a {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
  max-height: 70vh;
}

.proj-gallery__intro .proj-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Backward-compat: no modifier class falls back to stacked (Silver Era default) */
.proj-gallery__intro:not([class*="proj-gallery__intro--"]) .proj-gallery__item.intro-a {
  grid-column: 6 / span 7;
  aspect-ratio: 3 / 4;
}
.proj-gallery__intro:not([class*="proj-gallery__intro--"]) .proj-gallery__item.intro-b {
  grid-column: 1 / span 5;
  aspect-ratio: 4 / 3;
  margin-top: -60px !important;
}
.proj-gallery__intro:not([class*="proj-gallery__intro--"]) .proj-gallery__item.intro-c {
  grid-column: 7 / span 6;
  aspect-ratio: 3 / 2;
}

/* REST BLOCK — items 4+ use the zigzag showcase composition */
.proj-gallery__rest {
  display: flex;
  flex-direction: column;
  position: relative;
}

.proj-gallery__item {
  background: var(--bg-elev);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  border: 0;
  padding: 0;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.22),
    0 4px 12px rgba(0,0,0,0.10);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
[data-theme="dark"] .proj-gallery__item {
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    0 6px 16px rgba(0,0,0,0.35);
}

/* Z-index ladder so newer items lay on top of older */
.proj-gallery__rest .proj-gallery__item:nth-child(n+1)  { z-index: 1; }
.proj-gallery__rest .proj-gallery__item:nth-child(n+2)  { z-index: 2; }
.proj-gallery__rest .proj-gallery__item:nth-child(n+3)  { z-index: 3; }
.proj-gallery__rest .proj-gallery__item:nth-child(n+4)  { z-index: 4; }
.proj-gallery__rest .proj-gallery__item:nth-child(n+5)  { z-index: 5; }
.proj-gallery__rest .proj-gallery__item:nth-child(n+6)  { z-index: 6; }

/* Zigzag overlap — only applies to items in the rest block, NOT intro */
.proj-gallery__rest .proj-gallery__item:nth-child(6n+1) { width: 78%; margin-left: 4%;  margin-top: 0; }
.proj-gallery__rest .proj-gallery__item:nth-child(6n+2) { width: 88%; margin-left: 8%;  margin-top: -8%; }
.proj-gallery__rest .proj-gallery__item:nth-child(6n+3) { width: 70%; margin-left: 2%;  margin-top: -10%; }
.proj-gallery__rest .proj-gallery__item:nth-child(6n+4) { width: 82%; margin-left: 14%; margin-top: -6%; }
.proj-gallery__rest .proj-gallery__item:nth-child(6n+5) { width: 64%; margin-left: 0;   margin-top: -7%; }
.proj-gallery__rest .proj-gallery__item:nth-child(6n+6) { width: 76%; margin-left: 20%; margin-top: -9%; }

.proj-gallery__item:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow:
    0 44px 100px rgba(0,0,0,0.32),
    0 10px 24px rgba(0,0,0,0.16);
  z-index: 100 !important;
}

/* Hover-glide on neighbors — only in rest block, intro is grid */
.proj-gallery__rest:has(.proj-gallery__item:hover) .proj-gallery__item:not(:hover):nth-child(2n+1) {
  transform: translateX(-6px);
  opacity: 0.78;
}
.proj-gallery__rest:has(.proj-gallery__item:hover) .proj-gallery__item:not(:hover):nth-child(2n) {
  transform: translateX(6px);
  opacity: 0.78;
}

.proj-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile: intro collapses to single column, no overlap */
@media (max-width: 900px) {
  .proj-gallery__intro {
    grid-template-columns: 1fr;
  }
  .proj-gallery__intro .proj-gallery__item.intro-a,
  .proj-gallery__intro .proj-gallery__item.intro-b,
  .proj-gallery__intro .proj-gallery__item.intro-c {
    grid-column: 1 / -1;
    margin-top: 0 !important;
    aspect-ratio: 4 / 3;
  }
}

/* Floating strip — pinned to viewport's vertical center, not container.
   Uses position: fixed so it stays put as the gallery scrolls. */
.proj-gallery__strip {
  position: fixed;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 140px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
  padding: 4px 0;
  z-index: 5;
  /* Subtle backdrop so strip stays readable over showcase content */
  pointer-events: auto;
}
.proj-gallery__strip::-webkit-scrollbar { width: 0; }
.proj-gallery__strip-item {
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1.5px solid transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .25s var(--ease), opacity .25s var(--ease),
              width .35s var(--ease), margin-left .35s var(--ease),
              transform .25s var(--ease);
  opacity: 0.5;
  width: 70%;
  margin-left: 30%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
}
.proj-gallery__strip-item:nth-child(3n+1) { margin-left: 28%; }
.proj-gallery__strip-item:nth-child(3n+2) { margin-left: 34%; }
.proj-gallery__strip-item:nth-child(3n+3) { margin-left: 24%; }
.proj-gallery__strip-item:hover {
  opacity: 0.85;
  transform: translateX(-4px);
}
.proj-gallery__strip-item.is-active {
  border-color: var(--accent);
  opacity: 1;
  width: 100%;
  margin-left: 0 !important;
  transform: none;
}
.proj-gallery__strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .proj-gallery__showcase {
    padding: clamp(20px, 4vh, 40px) var(--gutter);  /* reset right padding on mobile */
  }
  .proj-gallery__strip {
    /* On mobile: horizontal scrollable bar above the stream */
    position: static;
    transform: none;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 0 var(--gutter) 8px;
    gap: 6px;
    right: auto;
    top: auto;
    margin-bottom: 12px;
  }
  .proj-gallery__strip-item {
    width: 80px !important;
    margin-left: 0 !important;
    flex-shrink: 0;
    aspect-ratio: 1;
    transform: none !important;
  }
}

/* Hide originals during morph so user only sees animated clones */
.proj-source-hidden {
  visibility: hidden;
}
body.proj-gallery-open { overflow: hidden; }

/* =============================================
   PROJECT GALLERY LIGHTBOX — Premium isolated image view
   Opens when user clicks any image in the FLIP gallery. Slide-animated
   navigation, drag-to-dismiss on mobile, keyboard nav, strip sync.
   ============================================= */
.proj-lb {
  position: fixed;
  inset: 0;
  z-index: 300;  /* above proj-gallery (200) so it sits on top */
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  overflow: hidden;
  /* Prevent any text selection / drag artifacts during use */
  user-select: none;
  -webkit-user-select: none;
}
.proj-lb.is-open {
  display: block;
  opacity: 1;
}

/* Stage — holds the image, centered. Position absolute so we can do slide
   animations without affecting the chrome (counter, close, nav, caption). */
.proj-lb__stage {
  position: absolute;
  inset: 70px 0 70px 0;  /* space for counter/close top, caption bottom */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.proj-lb__img {
  max-width: 90vw;
  max-height: 100%;
  object-fit: contain;
  display: block;
  /* Soft shadow to lift the image off the dark backdrop */
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  /* GSAP will animate transform — we just set will-change for perf */
  will-change: transform, opacity;
}

/* Top bar — counter + close */
.proj-lb__top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 40px);
  z-index: 2;
}
.proj-lb__counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: rgba(255, 255, 255, 0.6);
}
.proj-lb__counter strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.proj-lb__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.proj-lb__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}
.proj-lb__close svg {
  width: 14px; height: 14px;
}

/* Caption */
.proj-lb__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 8vw, 80px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  z-index: 2;
}

/* Navigation arrows — minimal, semi-transparent, grow on hover */
.proj-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease);
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.proj-lb__nav:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) scale(1.08);
}
.proj-lb__nav:active {
  transform: translateY(-50%) scale(0.95);
}
.proj-lb__nav--prev { left: clamp(12px, 3vw, 32px); }
.proj-lb__nav--next { right: clamp(12px, 3vw, 32px); }
.proj-lb__nav svg { width: 18px; height: 18px; }
.proj-lb__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 700px) {
  .proj-lb__stage { inset: 56px 0 56px 0; }
  .proj-lb__top, .proj-lb__caption { height: 56px; }
  .proj-lb__nav {
    width: 40px; height: 40px;
  }
  .proj-lb__nav--prev { left: 8px; }
  .proj-lb__nav--next { right: 8px; }
  .proj-lb__caption { font-size: 10px; }
}

/* Hide nav arrows entirely on touch — users will swipe instead */
@media (hover: none) and (pointer: coarse) {
  .proj-lb__nav { display: none; }
}

/* =============================================
   FILMSTRIP — Cinematic image marquee.
   Two tracks moving in OPPOSITE directions, with the second row offset
   horizontally for a "brick / half-drop" composition. Constant base motion
   + scroll-velocity boost.
   Used:
     1. Above contact section on homepage (hero shots from carousel)
     2. Under project title on single project page (project's images)
   ============================================= */
.filmstrip {
  position: relative;
  width: 100%;
  overflow: hidden;
  contain: paint layout;
  padding: clamp(40px, 7vh, 80px) 0;
}
.filmstrip__row {
  display: flex;
  gap: clamp(14px, 1.6vw, 26px);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.filmstrip__row + .filmstrip__row {
  margin-top: clamp(14px, 1.6vw, 26px);
}
/* Subtle horizontal offset on the second row — "brick / half-drop" pattern.
   Negative margin-left of ~12% of viewport width offsets the second row.
   Combined with the duplicated children, the loop still wraps invisibly. */
.filmstrip__row--offset {
  padding-left: clamp(40px, 12vw, 220px);
}

.filmstrip__item {
  flex-shrink: 0;
  /* Bigger / more cinematic — closer to the reference */
  width: clamp(220px, 26vw, 400px);
  height: clamp(140px, 15vw, 230px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elev);
  /* Softer elevation — less app-y, more film-still */
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  position: relative;
}
[data-theme="dark"] .filmstrip__item {
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}
/* Subtle vignette inside each frame — gives a filmic "print" feel */
.filmstrip__item::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04),
              inset 0 0 60px rgba(0,0,0,0.18);
  border-radius: inherit;
}
.filmstrip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Edge fade — wider + softer for a more cinematic feel */
.filmstrip::before,
.filmstrip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(80px, 12vw, 200px);
  pointer-events: none;
  z-index: 2;
}
.filmstrip::before {
  left: 0;
  background: linear-gradient(to right,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 70%, transparent) 50%,
    transparent 100%);
}
.filmstrip::after {
  right: 0;
  background: linear-gradient(to left,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 70%, transparent) 50%,
    transparent 100%);
}

.filmstrip--on-elev::before {
  background: linear-gradient(to right,
    var(--bg-elev) 0%,
    color-mix(in srgb, var(--bg-elev) 70%, transparent) 50%,
    transparent 100%);
}
.filmstrip--on-elev::after {
  background: linear-gradient(to left,
    var(--bg-elev) 0%,
    color-mix(in srgb, var(--bg-elev) 70%, transparent) 50%,
    transparent 100%);
}

/* Reduced motion — pause everything */
@media (prefers-reduced-motion: reduce) {
  .filmstrip__row {
    transform: none !important;
    animation: none !important;
  }
}

/* CONTACT */
.contact{padding:140px var(--gutter) 80px;text-align:center;background:var(--bg-elev);border-radius:var(--radius-xl) var(--radius-xl) 0 0;margin-top:80px;transition:background .3s var(--ease)}
.contact__label{font-size:15px;color:var(--ink-mute);margin-bottom:16px;font-weight:500}
.contact__email{font-family:var(--display);font-weight:600;font-size:clamp(40px,7vw,88px);line-height:1;letter-spacing:-0.03em;color:var(--ink);display:inline-block;position:relative;background:none;transition:color .2s var(--ease);text-decoration:none;cursor:pointer}
.contact__email:hover{color:var(--accent)}
.contact__email::after{content:attr(data-hint);position:absolute;top:50%;right:-16px;transform:translate(100%,-50%);font-size:13px;font-weight:500;color:var(--ink-mute);white-space:nowrap;opacity:0;transition:opacity .2s var(--ease)}
.contact__email:hover::after{opacity:1}
.contact__email.is-copied::after{opacity:1;content:"Copied";color:var(--accent)}

/* FOOTER */
.footer{background:var(--bg-elev);padding:40px var(--gutter) 32px;font-size:12px;color:var(--ink-mute);display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;border-top:1px solid var(--rule-soft)}
.footer__col--center{text-align:center}.footer__col--right{text-align:right}
.footer a{display:inline-block;margin:0 8px;color:var(--ink-soft)}
.footer a:hover{color:var(--ink)}
.footer__name{color:var(--ink);font-weight:500}
.footer__copy{margin-top:4px}
.footer__location{margin-bottom:6px}
.footer__legal{font-size:11px;letter-spacing:0.02em}
.footer__legal a{margin:0 6px}
.footer__legal span{color:var(--ink-mute);margin:0 2px}
.lightbox__topbar-right{display:flex;gap:12px;align-items:center}
@media (max-width:700px){.footer{grid-template-columns:1fr;text-align:left}.footer__col--right,.footer__col--center{text-align:left}}

/* ====== MOBILE POLISH ====== */
/* Tighter section spacing on mobile (Desktop has lots of breathing room, phone needs less) */
@media (max-width:700px){
  /* Reduce the cinematic-but-vast section paddings */
  .bio{padding:60px var(--gutter)}
  .bio p{font-size:clamp(18px,4.6vw,22px)}
  .quote{padding:70px var(--gutter);margin:30px auto}
  .quote p{font-size:clamp(24px,6.5vw,32px);line-height:1.15}
  .clients{padding:50px var(--gutter) 40px}
  .contact{padding:80px var(--gutter) 60px;margin-top:40px}
  .contact__email{font-size:clamp(22px,7vw,40px);word-break:break-word}

  /* Project sections — denser, less internal padding */
  .project{padding:30px var(--gutter) 50px;gap:16px}
  .project__title{font-size:clamp(28px,8vw,38px)}
  .project__intro{font-size:clamp(14px,3.6vw,16px);line-height:1.5}
  .project__date{font-size:11px;letter-spacing:.18em}
  /* Make CTA a clearly tappable button on mobile - proper border, larger target */
  .project__cta{
    font-size:14px;
    padding:14px 24px;
    border:1.5px solid var(--accent);
    border-radius:999px;
    align-self:center !important;
    margin-top:16px;
    display:inline-flex;
  }
  .project__cta:active{background:var(--accent);color:#fff}

  /* Footer slightly tighter */
  .footer{padding:32px var(--gutter) 28px;font-size:11px}

  /* Native mobile niceties */
  body{-webkit-tap-highlight-color:transparent}
  a, button{-webkit-tap-highlight-color:transparent}

  /* Safe-area-insets for iPhones with notch / home-indicator */
  .footer{padding-bottom:max(28px, env(safe-area-inset-bottom, 28px))}
  .nav{padding-top:max(14px, env(safe-area-inset-top, 14px))}
}

/* Carousel mobile improvements */
@media (max-width:900px){
  /* Larger card on phones - more cinematic, fills more of viewport */
  .carousel-stage{height:auto;margin-bottom:24px}
  .carousel-track{padding:30px 12vw}
  .carousel-card{
    width:76vw;height:104vw;
    max-width:340px;max-height:460px;
    margin:0 6px;
  }
  /* Tighter title/eyebrow scale on smaller cards */
  .carousel-card__title{font-size:clamp(22px,5.5vw,28px)}
  .carousel-card__eyebrow{font-size:clamp(11px,2.8vw,13px)}
  .carousel-card__counter{font-size:10px;letter-spacing:.18em}
  /* Bigger, more tap-friendly dots */
  .carousel-dots{gap:12px;padding:8px 0}
  .carousel-dots button{padding:8px;width:8px;height:8px;background-clip:content-box;box-sizing:content-box}
  .carousel-dots button.is-active{width:28px}
}


/* =========================================================================
   SERVICES — overview grid, single service page, FAQ, trust pills
   Plus custom Fluent Forms styling that matches the site CI.
   ========================================================================= */

/* ----- Services overview hero ----- */
.services-hero {
    padding: clamp(100px, 14vh, 160px) var(--gutter) clamp(40px, 6vh, 80px);
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}
.services-hero__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 24px;
}
.services-hero__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin: 0 0 24px;
    color: var(--ink);
}
.services-hero__sub {
    font-size: clamp(17px, 1.55vw, 20px);
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0 auto;
    line-height: 1.55;
}

/* ----- Services overview grid ----- */
.services-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(80px, 10vh, 120px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.service-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-elev);
    box-shadow: var(--shadow-soft);
    transition: transform .5s var(--ease), box-shadow .4s var(--ease);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), var(--shadow-soft);
}
[data-theme="dark"] .service-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), var(--shadow-soft);
}
.service-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--rule-soft);
}
.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.service-card:hover .service-card__img {
    transform: scale(1.04);
}
.service-card__grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}
.service-card__body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.service-card__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.service-card__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: 28px;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
}
.service-card__lead {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
}
.service-card__cta {
    margin-top: auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.service-card__cta .ar {
    transition: transform .25s var(--ease);
}
.service-card:hover .service-card__cta .ar {
    transform: translateX(4px);
}

.services-empty {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    border: 1px dashed var(--rule);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--ink-soft);
}

/* ----- Single service hero ----- */
.service-hero {
    position: relative;
    min-height: clamp(560px, 80vh, 800px);
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    overflow: hidden;
}
.service-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.service-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-hero__grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.05) 30%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0.78) 100%
    );
}
.service-hero__copy {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(40px, 8vh, 90px);
    color: #FFFFFF;
}
.service-hero__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}
.service-hero__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(48px, 9vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin: 0 0 24px;
    color: #FFFFFF;
}
.service-hero__lead {
    font-size: clamp(17px, 1.55vw, 22px);
    color: rgba(255,255,255,0.88);
    max-width: 60ch;
    margin: 0 0 32px;
    line-height: 1.5;
}
.service-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.service-hero__cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.service-hero__cta .ar {
    transition: transform .3s var(--ease);
}
.service-hero__cta:hover .ar {
    transform: translateY(3px);
}

/* Service body content (optional WYSIWYG) */
.service-body {
    max-width: 720px;
    margin: clamp(60px, 10vh, 120px) auto;
    padding: 0 var(--gutter);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
}
.service-body p { margin: 0 0 1.2em; }
.service-body h2, .service-body h3 {
    font-family: var(--display);
    color: var(--ink);
    font-weight: 600;
}

/* ----- Includes section ----- */
.service-includes {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(60px, 10vh, 120px) var(--gutter);
}
.service-includes__inner {
    max-width: 920px;
}
.service-includes__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.025em;
    margin: 0 0 40px;
    color: var(--ink);
}
.service-includes__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px 32px;
}
.service-includes__list li {
    position: relative;
    padding-left: 32px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.service-includes__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 1px;
    background: var(--accent);
}

/* ----- How it works ----- */
.service-process {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(60px, 10vh, 120px) var(--gutter);
    background: var(--bg-elev);
    border-radius: var(--radius-xl);
}
.service-process__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.025em;
    margin: 0 0 56px;
    color: var(--ink);
    text-align: center;
}
.service-process__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: step;
}
.service-process__step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-process__num {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 4px;
}
.service-process__step-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--ink);
}
.service-process__step-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* ----- Example gallery (horizontal scroll) ----- */
.service-gallery {
    margin: clamp(60px, 10vh, 120px) 0;
    overflow: hidden;
}
.service-gallery__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 16px;
    scroll-padding: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--rule) transparent;
}
.service-gallery__track::-webkit-scrollbar {
    height: 6px;
}
.service-gallery__track::-webkit-scrollbar-thumb {
    background: var(--rule);
    border-radius: 3px;
}
.service-gallery__item {
    flex: 0 0 clamp(280px, 40vw, 560px);
    aspect-ratio: 3 / 2;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--bg-elev);
}
.service-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Inquiry form section ----- */
.service-inquiry {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.service-inquiry__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
@media (max-width: 880px) {
    .service-inquiry__inner {
        grid-template-columns: 1fr;
    }
}
.service-inquiry__lead {
    position: sticky;
    top: 100px;
}
@media (max-width: 880px) {
    .service-inquiry__lead { position: static; }
}
.service-inquiry__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.service-inquiry__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    color: var(--ink);
    line-height: 1.05;
}
.service-inquiry__intro {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 44ch;
    margin: 0 0 36px;
}
.service-inquiry__trust {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--bg-elev);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-soft);
    border: 1px solid var(--rule-soft);
    width: fit-content;
}
.trust-pill svg {
    color: var(--accent);
    flex-shrink: 0;
}
.trust-clients {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--rule-soft);
}
.trust-clients__label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 6px;
}
.trust-clients__list {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}
.service-inquiry__notice {
    padding: 24px;
    border: 1px dashed var(--rule);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
    background: var(--bg-elev);
    font-size: 14px;
    line-height: 1.55;
}
.service-inquiry__notice p { margin: 0 0 8px; }
.service-inquiry__notice p:last-child { margin: 0; }

/* ----- FAQ accordion ----- */
.service-faq {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(60px, 10vh, 120px) var(--gutter);
}
.service-faq__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.025em;
    margin: 0 0 40px;
    color: var(--ink);
    text-align: center;
}
.service-faq__list {
    border-top: 1px solid var(--rule);
}
.service-faq__item {
    border-bottom: 1px solid var(--rule);
}
.service-faq__q {
    list-style: none;
    cursor: pointer;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(17px, 1.6vw, 22px);
    letter-spacing: -0.015em;
    color: var(--ink);
    transition: color .2s var(--ease);
}
.service-faq__q::-webkit-details-marker { display: none; }
.service-faq__q:hover { color: var(--accent); }
.service-faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-elev);
    font-size: 18px;
    color: var(--ink-soft);
    transition: transform .35s var(--ease), background .25s var(--ease);
}
.service-faq__item[open] .service-faq__icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: #FFFFFF;
}
.service-faq__a {
    padding: 0 0 24px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 60ch;
}
.service-faq__a p { margin: 0 0 1em; }
.service-faq__a p:last-child { margin: 0; }

/* =========================================================================
   FLUENT FORMS — custom CSS to make it look native to the Liam Visuals CI.
   Targets generic .lv-form wrapper so it applies to ALL forms (no need to
   know the .fluent_form_X numeric class).
   ========================================================================= */
.lv-form .fluentform { max-width: 100%; }
.lv-form .ff-el-group {
    margin-bottom: 22px;
}
.lv-form .ff-el-input--label,
.lv-form .ff-el-input--label label {
    display: block;
    font-family: var(--mono);
    font-size: 11px !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute) !important;
    margin-bottom: 10px !important;
    font-weight: 500 !important;
}
.lv-form .ff-el-form-control,
.lv-form select.ff-el-form-control,
.lv-form textarea.ff-el-form-control {
    width: 100%;
    padding: 14px 18px !important;
    font-family: var(--sans) !important;
    font-size: 16px !important;
    color: var(--ink) !important;
    background: transparent !important;
    border: 1px solid var(--rule) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lv-form .ff-el-form-control::placeholder {
    color: var(--ink-mute) !important;
}
.lv-form .ff-el-form-control:hover {
    border-color: var(--ink-soft) !important;
}
.lv-form .ff-el-form-control:focus {
    border-color: var(--accent) !important;
    background: var(--bg-elev) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(232, 80, 31, 0.10) !important;
}
[data-theme="dark"] .lv-form .ff-el-form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 117, 68, 0.18) !important;
}
.lv-form textarea.ff-el-form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.55;
}

/* Submit button — match the hero CTA style */
.lv-form .ff-btn,
.lv-form .ff-btn-submit,
.lv-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 16px 36px !important;
    background: var(--accent) !important;
    color: #FFFFFF !important;
    font-family: var(--sans) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    border: 0 !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    transition: background .25s var(--ease), transform .25s var(--ease) !important;
    margin-top: 16px !important;
}
.lv-form .ff-btn:hover,
.lv-form .ff-btn-submit:hover,
.lv-form button[type="submit"]:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px) !important;
}
.lv-form .ff-btn:active,
.lv-form .ff-btn-submit:active,
.lv-form button[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Error states */
.lv-form .ff-el-is-error .ff-el-form-control {
    border-color: #dc2626 !important;
}
.lv-form .text-danger,
.lv-form .ff-el-input--label.error_below {
    color: #dc2626 !important;
    font-size: 12px !important;
    margin-top: 6px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Success message — celebratory, matching theme */
.lv-form .ff-message-success,
.lv-form .ff_form_success {
    padding: 32px !important;
    background: var(--bg-elev) !important;
    border: 1px solid var(--rule-soft) !important;
    border-left: 4px solid var(--accent) !important;
    border-radius: var(--radius-md) !important;
    color: var(--ink) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    box-shadow: var(--shadow-soft) !important;
}

/* Multi-step form navigation buttons */
.lv-form .ff-step-btn-group .ff-btn-next,
.lv-form .ff-step-btn-group .ff-btn-prev {
    background: transparent !important;
    color: var(--ink-soft) !important;
    border: 1px solid var(--rule) !important;
}
.lv-form .ff-step-btn-group .ff-btn-next:hover {
    background: var(--accent) !important;
    color: #FFFFFF !important;
    border-color: var(--accent) !important;
}

/* Step progress bar */
.lv-form .ff-el-progress-status,
.lv-form .ff_progress_bar {
    background: var(--accent) !important;
}
.lv-form .ff-el-progress {
    background: var(--rule-soft) !important;
    border-radius: 999px !important;
    height: 4px !important;
}

/* Checkbox/radio — clean Apple-style */
.lv-form .ff-el-form-check input[type="checkbox"],
.lv-form .ff-el-form-check input[type="radio"] {
    accent-color: var(--accent) !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
}
.lv-form .ff-el-form-check-label {
    font-size: 15px !important;
    color: var(--ink-soft) !important;
}

/* Date picker triggers */
.lv-form input[type="date"] {
    color-scheme: light dark;
}


/* =========================================================================
   WORK ARCHIVE PAGE (page-work.php)
   Plus the "View all projects" CTA on the homepage.
   ========================================================================= */

.work-hero {
  padding: clamp(80px, 14vh, 180px) var(--gutter) clamp(40px, 6vh, 80px);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.work-hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.work-hero__title {
  font-family: var(--display, var(--sans));
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.work-hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .work-hero { padding: 96px var(--gutter) 32px; }
}

/* Empty state */
.work-empty {
  padding: 120px var(--gutter);
  text-align: center;
  color: var(--ink-mute);
  font-size: 17px;
}

/* "View all projects" CTA — appears between projects and quote on homepage */
.all-projects-cta {
  padding: clamp(60px, 10vh, 140px) var(--gutter);
  text-align: center;
}
.all-projects-cta__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  padding: 32px 48px;
  border: 1px solid var(--rule);
  border-radius: 24px;
  transition: border-color .3s var(--ease), transform .4s var(--ease);
  text-decoration: none;
}
.all-projects-cta__link:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  color: var(--ink);
}
.all-projects-cta__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.all-projects-cta__title {
  font-family: var(--display, var(--sans));
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.all-projects-cta__arrow {
  font-size: 24px;
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.all-projects-cta__link:hover .all-projects-cta__arrow {
  transform: translateX(8px);
}

@media (max-width: 700px) {
  .all-projects-cta__link { padding: 24px 32px; }
}
