/* =========================================================
   ingen studio — styles
   Sleek, minimal. Palette from the ingen brand board.
   ========================================================= */
:root {
  --ink: #0e0e0e;
  --charcoal: #242424;
  --gray: #c4c4c4;
  --muted: #8a8a8a;
  --paper: #f4f3ef;
  --white: #ffffff;
  --yellow: #f4d300;
  --pink: #ff93c7;
  --sky: #a8deff;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 3.4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.is-loading { overflow: hidden; }

body { font-family: var(--body); background: var(--ink); color: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  opacity: .8;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.label--dark { color: var(--ink); }

.h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 72px); line-height: 1.02; letter-spacing: -.04em;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate;
  height: 52px; padding: 0 10px 0 26px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
}
.btn i {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal;
  transition: transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover i { transform: rotate(-45deg); }
.btn:hover::before { transform: translateY(0); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light i { background: var(--ink); color: var(--white); }
.btn--light::before { background: var(--yellow); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow i { background: var(--ink); color: var(--yellow); }
.btn--yellow::before { background: var(--white); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
}
.loader__logo { width: min(260px, 52vw); clip-path: inset(0 100% 0 0); }
.loader__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); height: 1px; background: rgba(255,255,255,.15); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.loader__num { position: absolute; right: var(--pad); bottom: calc(var(--pad) + 14px); font-size: 12px; letter-spacing: .08em; color: var(--muted); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
}
.cursor span { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; mix-blend-mode: normal; background: var(--yellow); }
.cursor.is-view span { opacity: 1; }
.cursor.is-link { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--pad); color: var(--white);
  border-bottom: 1px solid transparent;
  transition: color .4s, background-color .4s, border-color .4s, padding .4s var(--ease);
}
.nav--dark { color: var(--ink); }
/* once you scroll, the nav becomes a frosted bar so it never blends into the content */
.nav--solid {
  background-color: rgba(14,14,14,.72); border-bottom-color: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.nav--solid.nav--dark { background-color: rgba(244,243,239,.86); border-bottom-color: rgba(14,14,14,.08); }
.nav__logo { position: relative; justify-self: start; height: 34px; }
.nav__logo img { height: 100%; width: auto; transition: opacity .4s; }
.nav__logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.nav--dark .nav__logo-light { opacity: 0; }
.nav--dark .nav__logo-dark { opacity: 1; }
.nav__links { display: flex; gap: 40px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; opacity: .85; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  justify-self: end; font-size: 14px; font-weight: 500; padding: 11px 22px; border-radius: 999px;
  border: 1px solid currentColor; transition: background .3s, color .3s, border-color .3s;
}
.nav__cta:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.nav__toggle { display: none; justify-self: end; background: none; border: 1px solid currentColor; padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.mobile-menu a { font-family: var(--display); font-size: 11vw; font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .nav { color: var(--ink); background-color: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav__logo-light { opacity: 0; }
.menu-open .nav__logo-dark { opacity: 1; }

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; padding: 12px 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__logo { height: 28px; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: -3%; }
.hero__slide { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; transform: scale(1.06); }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,14,14,.45) 0%, rgba(14,14,14,0) 22%),
    linear-gradient(0deg, rgba(14,14,14,.78) 0%, rgba(14,14,14,0) 50%),
    linear-gradient(90deg, rgba(14,14,14,.35) 0%, rgba(14,14,14,0) 50%);
}
.hero__content { position: absolute; z-index: 3; left: var(--pad); bottom: calc(var(--pad) + 70px); max-width: 60vw; }
.hero__title {
  margin-top: 22px; font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 5.6vw, 96px); line-height: 1; letter-spacing: -.045em;
}
.hero__side {
  position: absolute; z-index: 3; right: var(--pad); bottom: calc(var(--pad) + 70px); width: min(360px, 32vw);
  display: grid; gap: 26px; justify-items: start;
}
.hero__side p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); }
.hero__thumbs { position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.hero__thumb {
  position: relative; width: 96px; aspect-ratio: 3 / 2; border: 0; padding: 0; cursor: pointer; overflow: hidden; border-radius: 6px;
  background: var(--charcoal); opacity: .55; transition: opacity .4s, transform .5s var(--ease);
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__thumb.is-active, .hero__thumb:hover { opacity: 1; }
.hero__thumb-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__scroll {
  position: absolute; z-index: 3; left: var(--pad); bottom: var(--pad);
  display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__scroll i { position: relative; width: 60px; height: 1px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

@media (max-width: 860px) {
  .hero__content { max-width: none; right: var(--pad); bottom: 230px; }
  .hero__side { left: var(--pad); right: var(--pad); width: auto; bottom: 70px; gap: 20px; }
  .hero__side p { font-size: 14px; }
  .hero__thumbs { top: 90px; transform: none; display: flex; }
  .hero__thumb { width: 56px; }
  .hero__scroll { display: none; }
}

/* ---------- reveal (pinned) ---------- */
.reveal { position: relative; height: 100vh; height: 100svh; background: #e9e8e4; color: var(--ink); overflow: hidden; }
.reveal__stage { height: 100%; display: flex; align-items: center; justify-content: center; gap: 2vw; }
.reveal__text {
  flex: none; font-family: var(--display); font-weight: 400; white-space: nowrap;
  font-size: clamp(24px, 3.3vw, 56px); line-height: 1.05; letter-spacing: -.04em;
}
.reveal__text--r { text-align: right; }
.reveal__media { position: relative; flex: none; width: 0; height: 5vw; overflow: hidden; border-radius: 6px; }
.reveal__scene {
  position: absolute; left: 50%; top: 50%; width: 100vw; height: 100vh; height: 100svh;
  transform: translate(-50%, -50%);
}
#glass3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reveal__media { background: #cdd7ee; }
.reveal__copy {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; pointer-events: none; color: var(--ink);
}
.reveal__count { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(14,14,14,.6); font-variant-numeric: tabular-nums; }

/* ---------- about ---------- */
.intro { position: relative; background: var(--paper); color: var(--ink); padding: 20vh var(--pad) 0; min-height: 120vh; overflow: hidden; }
.intro__text {
  margin-top: 32px; max-width: 60vw;
  font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 50px); line-height: 1.15; letter-spacing: -.035em;
}
.intro__text .w { opacity: .15; }
.intro__tiles { position: absolute; right: 0; bottom: 0; width: 33vw; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.tile { overflow: hidden; clip-path: inset(100% 0 0 0); background: #0b0b10; }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.t1 { grid-area: 1 / 3; } .t2 { grid-area: 2 / 2; } .t3 { grid-area: 3 / 1; } .t4 { grid-area: 3 / 3; }
@media (max-width: 860px) {
  .intro { min-height: auto; padding-bottom: 75vw; }
  .intro__text { max-width: none; }
  .intro__tiles { width: 72vw; }
}

/* ---------- services ---------- */
.services { background: var(--paper); color: var(--ink); padding: 14vh var(--pad) 16vh; border-top: 1px solid rgba(0,0,0,.08); }
.services__head { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: end; gap: 24px; margin-bottom: 9vh; }
.services__head .label { align-self: center; }
.services__aside { font-size: 15px; line-height: 1.5; color: #555; justify-self: end; max-width: 28ch; text-align: right; }

.svc { list-style: none; border-top: 1px solid rgba(0,0,0,.12); }
.svc__row {
  display: grid; grid-template-columns: 70px minmax(180px, 280px) 1fr minmax(220px, 300px);
  gap: clamp(20px, 3.5vw, 64px); align-items: start;
  padding: 34px 0; border-bottom: 1px solid rgba(0,0,0,.12);
}
.svc__num {
  display: inline-grid; place-items: center; width: 36px; height: 28px; border-radius: 4px;
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500;
  transition: background .4s, color .4s;
}
.svc__row:hover .svc__num { background: var(--yellow); color: var(--ink); }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #ddd; clip-path: inset(0 100% 0 0); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease); }
.svc__row:hover .svc__img img { transform: scale(1.04) !important; }
.svc__body h3 {
  font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.035em; line-height: 1.05;
  transition: transform .6s var(--ease);
}
.svc__row:hover .svc__body h3 { transform: translateX(10px); }
.svc__body p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: #555; max-width: 42ch; }
.svc__cats-title { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #777; }
.svc__cats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.svc__cats li {
  font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid rgba(0,0,0,.08);
}
@media (max-width: 1000px) {
  .services__head { grid-template-columns: 1fr; }
  .services__aside { justify-self: start; text-align: left; }
  .svc__row { grid-template-columns: 44px 1fr; }
  .svc__img { grid-column: 2; grid-row: 1; }
  .svc__body, .svc__cats { grid-column: 2; }
}

/* ---------- work (pinned fan-out) ---------- */
.work { position: relative; height: 100vh; height: 100svh; background: var(--ink); overflow: hidden; }
.work__stage { position: relative; height: 100%; }
.work__card {
  --s: clamp(110px, 12vw, 210px);
  position: absolute; left: 50%; top: 50%; width: var(--s); aspect-ratio: 1; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  overflow: hidden; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.work__card img { width: 100%; height: 100%; object-fit: cover; }
.work__head { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, 86vw); text-align: center; z-index: 2; display: grid; justify-items: center; gap: 20px; }
.work__sub { font-size: 15px; color: rgba(255,255,255,.65); }
@media (max-width: 860px) { .work__card:nth-child(3), .work__card:nth-child(4) { display: none; } }

/* ---------- projects (sticky stack) ---------- */
.project { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; background: var(--ink); }
.project__bg { position: absolute; inset: -6%; filter: blur(40px) saturate(1.15) brightness(.75); }
.project__bg img { width: 100%; height: 100%; object-fit: cover; }
.project::after { /* shade under the text */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,0) 55%), linear-gradient(0deg, rgba(10,10,12,.45) 0%, rgba(10,10,12,0) 40%);
}
.project__info { position: relative; z-index: 3; display: grid; gap: 18px; justify-items: start; padding-left: var(--pad); max-width: min(42vw, 560px); }
.project__info h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 60px); letter-spacing: -.045em; line-height: 1; }
.project__desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 40ch; }
.project__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.project__tags li { font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.nav__links sup, .mobile-menu sup { font-size: .6em; margin-left: 2px; opacity: .6; }
.project__card {
  position: absolute; z-index: 2; left: 54%; top: 50%; width: min(32vw, 520px); aspect-ratio: 6 / 5; transform: translate(0, -50%);
  overflow: hidden; border-radius: 6px; box-shadow: 0 40px 80px rgba(0,0,0,.35);
}
.project__card img { width: 100%; height: 100%; object-fit: cover; }
.project__meta { position: absolute; z-index: 3; right: var(--pad); bottom: 40px; font-size: 13px; color: rgba(255,255,255,.8); }
@media (max-width: 860px) {
  .project { align-items: flex-end; padding-bottom: 9vh; }
  .project__info { max-width: none; padding-right: var(--pad); gap: 14px; }
  .project__desc { font-size: 14px; }
  .project__card { left: 50%; top: 13vh; width: min(74vw, 50vh); transform: translate(-50%, 0); }
  .project__meta { display: none; }
}

/* ---------- project "view case study" button ---------- */
.project { cursor: pointer; }
.project__open {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 0; border-radius: 999px; padding: 12px 20px;
  font-size: 14px; font-weight: 500; transition: background .3s;
}
.project__open i { font-style: normal; transition: transform .4s var(--ease); }
.project__open:hover { background: var(--yellow); }
.project__open:hover i { transform: translateX(4px); }
.work__card { cursor: pointer; }

/* ---------- case study overlay ---------- */
html.case-open { overflow: hidden; }
.case {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--white);
}
.case[hidden] { display: none; }
.case__close {
  position: fixed; top: 18px; right: var(--pad); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(14,14,14,.55); color: var(--white); font-size: 14px; font-weight: 500;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .3s, color .3s, border-color .3s;
}
.case__close i { font-style: normal; }
.case__close:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.case__hero { position: relative; height: 78vh; height: 78svh; min-height: 460px; overflow: hidden; }
.case__hero img { width: 100%; height: 100%; object-fit: cover; }
.case__hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,14,14,.92) 0%, rgba(14,14,14,.15) 55%, rgba(14,14,14,.45) 100%);
}
.case__hero-text { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: 7vh; display: grid; gap: 18px; }
.case__hero-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 120px); line-height: .95; letter-spacing: -.05em; }

.case__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 var(--pad);
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
}
.case__meta dt { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.case__meta dd { margin-top: 8px; font-size: 16px; line-height: 1.5; }

.case__body { padding: 10vh var(--pad) 6vh; display: grid; gap: 8vh; }
.case__row { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; }
.case__row h3 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); padding-top: 8px; }
.case__row p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 60ch; }
.case__row .case__lead { font-family: var(--display); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.25; letter-spacing: -.03em; color: var(--white); }
.case__list { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.case__list li {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.85);
}
.case__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--yellow); }
.case__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.case__stat { display: grid; gap: 12px; padding: 28px; border-radius: 10px; background: #1a1a20; border: 1px solid rgba(255,255,255,.08); }
.case__stat strong { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 5vw, 84px); line-height: 1; letter-spacing: -.05em; color: var(--yellow); }
.case__stat span { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.75); }
.case__highlights { list-style: none; display: grid; gap: 14px; counter-reset: hl; }
.case__highlights li {
  counter-increment: hl; display: grid; grid-template-columns: 48px 1fr; align-items: baseline; gap: 12px;
  padding: 22px 24px; border-radius: 10px; background: #1a1a20; border: 1px solid rgba(255,255,255,.08);
  font-family: var(--display); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; letter-spacing: -.02em;
}
.case__highlights li::before { content: counter(hl, decimal-leading-zero); font-family: var(--body); font-size: 12px; color: var(--yellow); }

.case__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 var(--pad) 12vh; }
.case__gallery figure { margin: 0; overflow: hidden; border-radius: 10px; aspect-ratio: 3 / 2; background: #1a1a20; }
.case__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case__gallery figure:hover img { transform: scale(1.04); }

.case__next {
  display: grid; gap: 14px; justify-items: start; width: 100%; text-align: left; cursor: pointer;
  padding: 12vh var(--pad); border: 0; border-top: 1px solid rgba(255,255,255,.14);
  background: var(--charcoal); color: var(--white); transition: background .5s var(--ease), color .5s;
}
.case__next-title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 100px); line-height: 1; letter-spacing: -.05em; }
.case__next-title i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.case__next-client { font-size: 15px; opacity: .7; }
.case__next:hover { background: var(--yellow); color: var(--ink); }
.case__next:hover .case__next-title i { transform: translateX(16px); }

@media (max-width: 860px) {
  .case__meta { grid-template-columns: 1fr; gap: 16px; }
  .case__row { grid-template-columns: 1fr; gap: 16px; }
  .case__row p { font-size: 16px; }
  .case__gallery { grid-template-columns: 1fr; }
  .case__close { top: 12px; }
}

/* ---------- process ---------- */
.process {
  background: var(--paper); color: var(--ink); padding: 18vh var(--pad);
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 6vw; align-items: start;
}
.process__intro { position: sticky; top: 18vh; display: grid; gap: 26px; justify-items: start; }
.process__lead { font-size: 15px; line-height: 1.6; color: #555; max-width: 36ch; }
.steps { list-style: none; position: relative; border-left: 1px solid rgba(0,0,0,.12); }
.steps::before { /* progress line */
  content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 100%; background: var(--ink);
  transform: scaleY(var(--progress, 0)); transform-origin: top;
}
.step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 44px 0 44px 40px; opacity: .3; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--display); font-weight: 300; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.step h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.035em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #555; max-width: 44ch; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .step { grid-template-columns: 56px 1fr; padding-left: 22px; }
  .step__num { font-size: 30px; }
}

/* ---------- contact + footer ---------- */
.contact { background: var(--charcoal); padding: 18vh var(--pad) 0; overflow: hidden; }
.contact__title { margin: 26px 0 10vh; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 120px); line-height: .98; letter-spacing: -.05em; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6vw; padding-bottom: 14vh; }
.contact__info { display: grid; gap: 28px; align-content: start; }
.contact__info p { font-size: 16px; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,.7); }
.contact__mail { font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.03em; justify-self: start; border-bottom: 1px solid var(--yellow); padding-bottom: 4px; }
/* "what we can do for you": same minimal fill-on-scroll style as About */
.contact__pitch { display: grid; gap: 28px; padding: 9vh 0 11vh; margin-bottom: 9vh; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.contact__pitch-text {
  max-width: 62vw;
  font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 50px); line-height: 1.15; letter-spacing: -.035em;
}
.contact__pitch-text .w { opacity: .15; }
.contact__channels { display: grid; gap: 14px; justify-items: start; }
.contact__phone { font-family: var(--display); font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.02em; color: rgba(255,255,255,.85); transition: color .3s; }
.contact__phone:hover { color: var(--yellow); }
.contact__social { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__social a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); font-size: 14px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.contact__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__social svg .fill { fill: currentColor; stroke: none; }
.contact__social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
@media (max-width: 860px) { .contact__pitch-text { max-width: none; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.form label { display: grid; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 10px 0;
  font-size: 17px; color: var(--white); text-transform: none; letter-spacing: 0; border-radius: 0; resize: vertical;
}
.form select option { background: var(--charcoal); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 860px) {
  .contact__grid, .form { grid-template-columns: 1fr; }
}
.footer {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  border-top: 1px solid rgba(255,255,255,.12); padding: 60px 0 0;
}
.footer__logo { width: min(340px, 60vw); }
.footer__links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; color: rgba(255,255,255,.75); }
.footer__links a:hover { color: var(--yellow); }
.footer__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 40px 0 28px; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .footer { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile, .svc__img { clip-path: none; }
  .intro__text .w, .step { opacity: 1; }
}
