:root{
  --bg:#f0eee8;
  --text:#0b0b0b;
  --accent:#b3baff;

  /* BIG squares (desktop hero gallery) */
  --card-size: 560px;

  /* Desktop overlap spacing */
  --slot-inner: clamp(220px, 24vw, 520px);
  --slot-outer: clamp(420px, 52vw, 920px);

  --container: 1200px;
  --radius: 22px;

  /* Selected work shared height */
  --sw-rail-h: 520px;
  --sw-gap: 18px;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  font-family:"Rethink Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ================= GLOBAL TYPE RULES ================= */
h1,h2,h3,h4,h5,h6{ font-weight: 400; }

.display{
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h2{
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead{
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  letter-spacing: 0;
  color: rgba(11,11,11,0.78);
}

.em{ color: var(--text); }

.eyebrow{
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  color: rgba(11,11,11,0.72);
}

/* ================= LAYOUT ================= */
.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section{ padding: 96px 0; }
.section--tight{ padding: 56px 0; }

.section-head{ margin-bottom: 18px; }

.center{ text-align:center; }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:start;
}

/* ================= HEADER ================= */
.site-header{
  position: sticky;
  top: 16px;
  z-index: 10;
  display:flex;
  justify-content:center;
  padding: 0 16px;
}

.header-inner{
  width: min(1200px, 100%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,0.08);
}

.logo{
  font-family:"Rethink Sans", sans-serif;
  font-weight: 700;
  letter-spacing:-0.03em;
}

.nav{
  display:flex;
  gap:18px;
  font-size:14px;
}
.nav a{
  color: var(--text);
  text-decoration:none;
  opacity: 0.85;
}
.nav a:hover{ opacity: 1; }

.header-cta{
  border:1px solid rgba(0,0,0,0.2);
  background: transparent;
  padding:8px 16px;
  border-radius:999px;
  cursor:pointer;
  text-decoration:none;
  color: var(--text);
}

/* ================= MOBILE HEADER DROPDOWN ================= */

/* Hamburger button (3 lines, no circle) */
.nav-toggle{
  display: none;                /* mobile only */
  background: transparent;
  border: none;
  padding: 10px 8px;            /* tap area */
  cursor: pointer;
}

.nav-toggle__bar{
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(11,11,11,0.85);
  border-radius: 999px;
}

.nav-toggle__bar + .nav-toggle__bar{
  margin-top: 6px;
}

/* Open → X */
.site-header.is-menu-open .nav-toggle__bar:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.site-header.is-menu-open .nav-toggle__bar:nth-child(2){
  opacity: 0;
}
.site-header.is-menu-open .nav-toggle__bar:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

.site-header.is-menu-open .nav-toggle__bar{
  transition: transform .18s ease, opacity .18s ease;
}

/* Dropdown panel */
.mobile-nav{
  position: absolute;
  top: calc(100% + 10px);
  right: 12px;
  width: min(240px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);

  display: grid;
  gap: 6px;

  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 999;
}

.mobile-nav a{
  display: block;
  padding: 10px;
  border-radius: 14px;
  color: rgba(11,11,11,0.88);
  text-decoration: none;
  font-size: 14px;
}

.mobile-nav a:hover{
  background: rgba(179,186,255,0.22);
}

/* Open state */
.site-header.is-menu-open .mobile-nav{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Show hamburger only on mobile */
@media (max-width:768px){
  .nav-toggle{ display: block; }
}

/* ================= HERO (BASE / DESKTOP) ================= */
.hero{
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
}

/* HERO CTA POSITIONING (layout inside hero-card) */
.hero-card{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.hero-card h1{
  grid-column: 1 / -1;
}

.hero-cta{
  justify-self: end;
  font-family: "Rethink Sans", system-ui, sans-serif;
  font-weight: 400;
}

.lead-spaced{
  margin-bottom: 16px;
}

.hero-gallery{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:110px;
  overflow:hidden;
}

.stage{
  position: relative;
  width: 100%;
  max-width: 1800px;
  height: 560px;
}

/* ================= HERO GALLERY CARDS ================= */
.card{
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-size);
  height: var(--card-size);
  transform: translate(-50%, -50%);
  transition:
    transform 780ms cubic-bezier(.2,.9,.2,1),
    opacity 780ms ease;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.card::after{ display: none; }

.card img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card.pos-0{
  opacity: 1;
  transform: translate(calc(-50% - var(--slot-outer)), -50%) scale(0.68);
}
.card.pos-1{
  opacity: 1;
  transform: translate(calc(-50% - var(--slot-inner)), -50%) scale(0.90);
}
.card.pos-2{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.18);
}
.card.pos-3{
  opacity: 1;
  transform: translate(calc(-50% + var(--slot-inner)), -50%) scale(0.90);
}
.card.pos-4{
  opacity: 1;
  transform: translate(calc(-50% + var(--slot-outer)), -50%) scale(0.68);
}

/* Ensure consistent overlap order inside the stage */
.stage{ isolation: isolate; }
.card{ z-index: 0; }
.card.pos-2{ z-index: 4; }
.card.pos-1,
.card.pos-3{ z-index: 3; }
.card.pos-0,
.card.pos-4{ z-index: 2; }

/* ================= HERO TEXT CARD ================= */
.hero-card{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(900px, 92%);
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  padding:36px;
  z-index:5;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.hero-card h1{
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom:24px;
  min-height: 2em;
}

/* CTA */
.hero-cta{
  background: var(--text);
  color: #fff;
  border:none;
  padding:16px 26px;
  border-radius:14px;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

/* ================= HERO CONTROLS ================= */
.hero-controls{
  position:absolute;
  left:50%;
  bottom:150px;
  transform: translateX(-50%);
  display:flex;
  gap:12px;
  z-index:6;
}
.hero-controls button{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.70);
  cursor:pointer;
}

/* ================= TICKER ================= */
.ticker-wrap{
  overflow:hidden;
  mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
}

.ticker{
  display:flex;
  gap: 12px;
  width: max-content;
  animation: tickerMove 22s linear infinite;
  will-change: transform;
  padding: 8px 0;
}
.ticker:hover{ animation-play-state: paused; }

.skill{
  display:inline-flex;
  align-items:center;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  color: rgba(11,11,11,0.85);
  transition: transform .2s ease;
}
.skill:hover{ transform: scale(1.03); }

@keyframes tickerMove{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================= ABOUT ================= */
.inline-avatars{
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin: 0 6px;
}

.inline-link{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(11,11,11,0.28);
}
.inline-link:hover{ border-bottom-color: rgba(11,11,11,0.55); }

.logo-row{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-top: 18px;
  opacity: 0.85;
}
.logo-row img{
  height: 22px;
  width: auto;
}

/* ================= CONTACT CARD / FORM ================= */
#contact .card{
  position: relative;
  inset: auto;
  left: auto;
  top: auto;
  transform: none;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.06);
  padding: 22px;
}
#contact .card::after{ display:none; }

.form{ display:grid; gap: 14px; }

.field label{
  display:block;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 6px;
  color: rgba(11,11,11,0.75);
}

.field input,
.field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.75);
  padding: 12px 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
  outline: none;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(11,11,11,0.28);
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hp{ display:none; }

.btn{
  margin-top: 4px;
  border: 1px solid rgba(0,0,0,0.16);
  background: var(--text);
  color: #fff;
  padding: 14px 16px;
  border-radius: 16px;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease;
   font-family: "Rethink Sans", system-ui, sans-serif;
  font-weight: 400;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.status{
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
  color: rgba(11,11,11,0.65);
}

/* Dropdown */
.dropdown{ position: relative; }

.dropdown-trigger{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.75);
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
}

.chev{
  opacity: 0.65;
  transform: translateY(-1px);
}

.dropdown-menu{
  position:absolute;
  left:0;
  right:0;
  top: calc(100% + 8px);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 16px 44px rgba(0,0,0,0.10);
  padding: 6px;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 20;
}

.dropdown.open .dropdown-menu{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.dropdown-option{
  padding: 10px 10px;
  border-radius: 10px;
  cursor:pointer;
  color: rgba(11,11,11,0.80);
}
.dropdown-option:hover{
  background: rgba(179,186,255,0.22);
}

.pill{
  font-family: "Rethink Sans", system-ui, sans-serif;
  font-weight: 400;
}


/* ================= FOOTER (REVAMP) ================= */
.footer{
  position: relative;
  padding: 72px 0 64px;
  border-top: 1px solid rgba(0,0,0,0.10);
  overflow: hidden;
}

.footer-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 38px;
  align-items: start;
}

/* left */
.footer-logo{
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.footer-copy{
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(11,11,11,0.60);
}

/* middle */
.footer-label{
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(11,11,11,0.55);
  margin-bottom: 10px;
}

.footer-label--spaced{
  margin-top: 18px;
}

.footer-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(11,11,11,0.75);
  max-width: 46ch;
}

.footer-link{
  display: inline-block;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(11,11,11,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(11,11,11,0.22);
}
.footer-link:hover{
  color: rgba(11,11,11,0.95);
  border-bottom-color: rgba(11,11,11,0.45);
}

/* right */
/* Footer sections: 2 columns */
.footer-nav{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 10px;
  align-items: start;
}


.footer-nav a{
  font-size: 14px;
  line-height: 1.2;
  color: rgba(11,11,11,0.75);
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover{
  color: rgba(11,11,11,0.95);
  border-bottom-color: rgba(11,11,11,0.35);
}


/* responsive */
@media (max-width: 900px){
  .footer{
    padding: 56px 0 56px;
  }

  .footer-inner{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-wordmark{
    font-size: 72px;
    bottom: -18px;
  }
}

/* ================= REVEAL ================= */
.reveal-on-scroll{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s cubic-bezier(.17,.55,.55,1), transform .75s cubic-bezier(.17,.55,.55,1);
}
.reveal-visible{
  opacity: 1;
  transform: translateY(0);
}

/* FIX: hero card has its own transform, so compose transforms */
.hero-card.reveal-on-scroll{
  transform: translate(-50%, -50%) translateY(18px);
}
.hero-card.reveal-visible{
  transform: translate(-50%, -50%) translateY(0);
}

/* ================= RESPONSIVE ================= */
@media(max-width:900px){
  .grid-2{ grid-template-columns: 1fr; gap: 26px; }
  .section{ padding: 72px 0; }
}

/* ================= TABLET ================= */
@media (min-width:769px) and (max-width:1100px){
  .hero{
    height: clamp(720px, 78vh, 880px);
    min-height: 0;
  }

  .hero-controls{
    bottom:auto;
    top: calc(50% + 190px);
  }
}

/* row-specific card widths */
.sw-shot--wide{ width: clamp(360px, 44vw, 560px); }
.sw-shot--sq  { width: clamp(180px, 20vw, 260px); }

/* ================= CAPABILITIES ================= */
.section--capabilities{
  padding-top: 72px;
}

.cap-head{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.cap-title{
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cap-intro{
  font-size: 18px;
  line-height: 1.3;
  color: rgba(11,11,11,0.78);
  max-width: 52ch;
  padding-top: 8px;
}

.cap-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.cap-item{
  padding: 40px 28px 48px;
  min-height: 280px;
}

.cap-item + .cap-item{
  border-left: 1px solid rgba(0,0,0,0.12);
}

.cap-icon{
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: rgba(11,11,11,0.85);
}

.cap-item h3{
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.cap-sub{
  font-size: 16px;
  color: rgba(11,11,11,0.55);
  margin-bottom: 18px;
}

.cap-item p{
  font-size: 16px;
  line-height: 1.3;
  color: rgba(11,11,11,0.78);
  max-width: 40ch;
}

/* ================= CAPABILITIES — RESPONSIVE ================= */
@media (max-width: 900px){
  .cap-head{
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .cap-grid{
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  .cap-item{
    padding: 28px 18px 34px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }

  .cap-item + .cap-item{
    border-left: none;
  }

  .cap-item h3{
    font-size: 26px;
  }
}

/* ================= HEADINGS SYSTEM ================= */
.statement,
.section-title{
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ================= WORKED WITH PANEL ================= */
.worked-with__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 26px;
  align-items: center;
  justify-items: center;
  padding-top: 14px;
}

.worked-with__grid img{
  height: 22px;
  width: auto;
  display: block;
}

@media (max-width:900px){
  .worked-with__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

.worked-with{
  position: relative;
  margin-top: 22px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 18px;
  background: var(--bg);
  padding: 26px 22px 22px;
}

.worked-with__label{
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: var(--bg);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(11,11,11,0.70);
}

/* ================= HERO SUBHEAD (IN-HERO) ================= */
.hero-subhead{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(var(--container), 92%);
  z-index: 4;
  pointer-events: none;
}

.hero-subhead__text{
  margin: 0;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 34ch;
  color: rgba(11,11,11,0.85);
}

/* ================= PROCESS ================= */
.process{
  display:grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items:start;
}

.process-left .lead{ margin-top: 12px; }

.process-tabs{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* pills (light theme) */
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.65);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.3;
  cursor:pointer;
  color: rgba(11,11,11,0.85);
}

.pill-ico{ width:16px; height:16px; opacity:.8; }

.pill-active{
  background: rgba(179,186,255,0.30);
  border-color: rgba(0,0,0,0.14);
}


/* right panel */
.process-panel{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.70);
  box-shadow: 0 18px 50px rgba(0,0,0,0.06);
  overflow: hidden;
}

.steps{ display:block; }

.step{
  width:100%;
  display:grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items:center;
  padding: 18px 18px;
  background: transparent;
  border: none;
  text-align:left;
  cursor:pointer;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.steps .step:first-child{ border-top: none; }

.step-ico{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.60);
  display:grid;
  place-items:center;
  transition: transform .2s ease, background .2s ease;
}
.step-ico i{ width:18px; height:18px; opacity:.85; }

.step-text{ display:block; }
.step-title{
  display:block;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(11,11,11,0.92);
}

.step-body{ display:none; }

.step-chev{
  width: 18px;
  height: 18px;
  opacity: .65;
  transition: transform .2s ease;
}

.step-sub{
  padding: 14px 18px 0;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(11,11,11,0.62);
}

.step-content{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  border-top: 1px solid rgba(0,0,0,0.10);
  background: rgba(240,238,232,0.55);
}

.step-content p{
  padding: 10px 18px 18px;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(11,11,11,0.72);
}

.step.is-open .step-ico{
  background: rgba(179,186,255,0.28);
  transform: scale(1.04);
}
.step.is-open .step-chev{ transform: rotate(180deg); }

@media (max-width: 900px){
  .process{ grid-template-columns: 1fr; gap: 22px; }
}

/* ================= DIFFERENCE ================= */
.diff-list{
  margin-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.diff-item{
  width:100%;
  display:flex;
  gap: 14px;
  align-items:center;
  padding: 18px 6px;
  background: transparent;
  border: none;
  cursor:pointer;
  text-align:left;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.diff-plus{
  font-size: 22px;
  line-height: 1;
  width: 28px;
  flex: 0 0 28px;
  opacity: .55;
  transform: translateX(-10px) translateY(-1px);
  transition: transform .22s ease, opacity .22s ease;
}

.diff-item.is-open .diff-plus{
  opacity: .9;
  transform: translateX(0) translateY(-1px) rotate(45deg);
}

.diff-title{
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(11,11,11,0.92);
  transition: color .2s ease, transform .2s ease;
  display:flex;
  align-items:center;
  gap: 10px;
}

.diff-item:hover .diff-title{
  color: rgba(11,11,11,1);
  transform: translateX(2px);
}
.diff-item:hover .diff-plus{ opacity: .9; }

.diff-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  overflow: hidden;
  transition:
    width .22s ease,
    opacity .18s ease,
    transform .22s cubic-bezier(.2,.8,.2,1);
}

.diff-ico i{
  width: 18px;
  height: 18px;
}

.diff-item.is-open .diff-ico{
  width: 22px;
  opacity: .9;
  transform: translateX(0);
}

.diff-item.is-open .diff-title{
  color: rgba(11,11,11,0.72); /* same as body text */
  transform: translateX(2px);
}

.diff-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.diff-panel p{
  padding: 12px 6px 20px 48px;
  color: rgba(11,11,11,0.72);
  font-size: 16px;
  line-height: 1.35;
  max-width: 70ch;
}

/* ================= SELECTED WORK ================= */
.selectedwork-head .lead{ margin-top: 10px; }

.selectedwork-grid{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items:start;
  margin-top: 22px;
}

.sw-rail-2{
  height: var(--sw-rail-h);
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 18px;
  display:grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--sw-gap);
}

.sw-row{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  scrollbar-width: none;      /* Firefox */
}
.sw-row::-webkit-scrollbar{
  display: none;              /* iOS/Chrome */
}


.sw-track{
  height: 100%;
  display:flex;
  gap: var(--sw-gap);
  align-items: stretch;
  padding-left: clamp(16px, 4vw, 64px);
  will-change: transform;
}

.sw-shot{
  flex: 0 0 auto;
  height: 100%;
  width: clamp(240px, 28vw, 360px);
  border-radius: 18px;
  border: none;
  background: none;
  overflow:hidden;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.sw-shot--lg{ width: clamp(280px, 32vw, 420px); }
.sw-shot--wide{ width: clamp(320px, 40vw, 520px); }

.sw-shot img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.sw-spot-wrap{ width: clamp(320px, 28vw, 420px); }
.sw-spot-label{ margin: 0 0 10px 6px; }

.sw-spotlight{
  height: var(--sw-rail-h);
  display:flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.70);
  box-shadow: 0 18px 50px rgba(0,0,0,0.06);
  overflow:hidden;
}

.sw-spotlight__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px 14px;
}

.sw-client{
  display:flex;
  align-items:center;
  gap: 12px;
}

.sw-client__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(179,186,255,0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 44px;
}

.sw-client__icon img{
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.sw-client__name{
  font-size: 18px;
  letter-spacing: -0.01em;
}

.sw-link{
  text-decoration:none;
  color: rgba(11,11,11,0.75);
  border-bottom: 1px solid rgba(11,11,11,0.22);
  white-space: nowrap;
}
.sw-link:hover{
  color: rgba(11,11,11,0.95);
  border-bottom-color: rgba(11,11,11,0.45);
}

.sw-media{
  flex: 1 1 auto;
  min-height: 0;
  border-top: 1px solid rgba(0,0,0,0.10);
  border-bottom: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.03);
  overflow:hidden;
}
.sw-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}

.sw-metrics{
  flex: 0 0 auto;
  display:flex;
  align-items:stretch;
  padding: 18px;
  gap: 18px;
}

.sw-metric{ flex: 1; }

.sw-metric__label{
  font-size: 13px;
  color: rgba(11,11,11,0.60);
  margin-bottom: 10px;
}

.sw-metric__value{
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.sw-suffix{
  font-size: 0.6em;
  opacity: .75;
  margin-left: 6px;
}

.sw-metric__sub{
  margin-top: 8px;
  font-size: 14px;
  color: rgba(11,11,11,0.62);
}

.sw-divider{
  width: 1px;
  background: rgba(0,0,0,0.12);
}

@media (max-width: 900px){
  .selectedwork-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sw-spot-wrap{ width: 100%; }
}

.sw-count{ font-variant-numeric: tabular-nums; }
.sw-count.is-hidden{ opacity: 0; }
.sw-count.is-shown{ opacity: 1; transition: opacity .25s ease; }

/* ================= MOBILE (single source of truth) ================= */
@media (max-width:768px){
  .nav{ display:none; }

  :root{
    --card-size: 76vw;
    --m-inner: 24vw;
  }

  /* tighten hero height so dead space dies */
  .hero{
    min-height: 0;
    height: clamp(480px, 62svh, 560px);
    overflow: hidden;
  }

  .hero-gallery{ padding-top: 6px; }
  .stage{ height: 320px; }

  /* only keep the 3 visible cards */
  .card.pos-0,
  .card.pos-4{ opacity: 0; pointer-events:none; }

  .card.pos-1{
    opacity: 1;
    transform: translate(calc(-50% - var(--m-inner)), -50%) scale(0.90);
  }
  .card.pos-2{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
  }
  .card.pos-3{
    opacity: 1;
    transform: translate(calc(-50% + var(--m-inner)), -50%) scale(0.90);
  }

  /* card slightly lower, overlaps less */
  .hero-card{
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
  }

  .hero-card h1{
    font-size: clamp(32px, 8vw, 54px);
    line-height: 1.1;
    margin-bottom: 14px;
    min-height: 0;
  }

  /* controls pinned near bottom */
  .hero-controls{
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-controls button{
    width: 44px;
    height: 44px;
  }

  .row{ grid-template-columns: 1fr; }
}
/* ================= MOBILE — PUSH HERO DOWN ================= */
@media (max-width:768px){
  /* create real space below the sticky header */
  .hero-gallery{
    padding-top: 150px !important;   /* was ~110 / 6 / 8 — bump this */
  }

  /* keep stage from starting too high */
  .stage{
    margin-top: 10px !important;
  }

  /* also push the glass text card down so it matches */
  .hero-card{
    top: 60% !important;             /* was ~50% */
  }

  /* controls can sit a bit lower too */
  .hero-controls{
    bottom: 22px !important;
  }
}
/* MOBILE: push text box + controls down */
@media (max-width:768px){
  .hero-card{
    top: 64% !important;   /* was ~50–60% */
  }

  .hero-controls{
    top: calc(64% + 150px) !important;  /* follow the card down */
  }
}
/* ================= COOKIE NOTICE ================= */
.cookie-notice{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  max-width: 520px;

  display: none; /* shown by JS only */
  padding: 14px 14px 12px;
  border-radius: 18px;

  background: rgba(11,11,11,0.82);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
}

.cookie-notice__text{
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
}

.cookie-notice__btn{
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;

  font-family: "Rethink Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.cookie-notice__btn:hover{
  background: rgba(255,255,255,0.16);
}

.cookie-notice__mark{
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 10px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,0.30);
}

/* desktop placement (bottom-right) */
@media (min-width: 640px){
  .cookie-notice{
    left: auto;
    right: 24px;
    bottom: 24px;
  }
}
/* ===== MOBILE FIXES (paste at VERY END of styles.css) ===== */
@media (max-width:768px){

  /* 1) HERO controls getting clipped */
  .hero{
    /* give the hero real bottom room + iPhone safe-area */
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .hero-controls{
    top: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    transform: translateX(-50%) !important;
  }

  /* if you still want the hero-card pushed down, keep it — but don’t drive controls with top */
  .hero-card{
    top: 64% !important;
  }
}

/* 3) iOS “blue” icons / chevrons / plus */
:where(button, [role="button"]){
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}

:where(.process, .process-tabs, .steps, .diff-list){
  color: var(--text);
}

/* Lucide SVGs inherit currentColor — force them to your palette */
.lucide,
.step-ico,
.pill-ico,
.diff-ico,
.step-chev{
  color: rgba(11,11,11,0.85);
}

/* plus symbol specifically */
.diff-plus{
  color: rgba(11,11,11,0.55);
}

/* ================= MOBILE HAMBURGER — FINAL TUNE ================= */

.nav-toggle{
  padding: 6px 6px;   /* tighter click area */
}

/* smaller, cleaner lines */
.nav-toggle__bar{
  width: 16px;        /* was 22px */
  height: 2px;
  background: rgba(11,11,11,0.85);
}

/* tighter vertical spacing */
.nav-toggle__bar + .nav-toggle__bar{
  margin-top: 4px;    /* was 6px */
}

/* open → X (adjusted for smaller size) */
.site-header.is-menu-open .nav-toggle__bar:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.site-header.is-menu-open .nav-toggle__bar:nth-child(2){
  opacity: 0;
}
.site-header.is-menu-open .nav-toggle__bar:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}
/* force hamburger + contact to behave as a right-aligned group */
.nav-toggle{
  margin-left: auto;
}

.header-cta{
  margin-left: 12px;
}
/* ================= LIGHTBOX (Selected Work) ================= */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.lightbox.is-open{
  display: block;
}

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(11,11,11,0.72);
  backdrop-filter: blur(10px);
}

.lightbox__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 22px 80px rgba(0,0,0,0.35);
  display: grid;
  grid-template-rows: 1fr auto;
}

.lightbox__img{
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  display: block;
  background: rgba(0,0,0,0.22);
}

.lightbox__caption{
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  background: rgba(11,11,11,0.35);
  border-top: 1px solid rgba(255,255,255,0.12);
  min-height: 40px;
  display: grid;
  place-items: center;
}

.lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(11,11,11,0.35);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}

.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(11,11,11,0.35);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}

.lightbox__nav--prev{ left: 12px; }
.lightbox__nav--next{ right: 12px; }

@media (max-width: 768px){
  .lightbox__nav{ width: 42px; height: 42px; }
  .lightbox__close{ width: 40px; height: 40px; }
}

/* Make gallery shots feel clickable */
#selectedwork .sw-shot img{
  cursor: zoom-in;
}
