/* =========================================================
   SOSO CREATIVE AGENCY
   ========================================================= */

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --off: #F5F5F2;
  --grey: #E8E8E8;
  --mid: #8A8A86;
  --accent: #DCA800;      /* logo deep gold */
  --accent-2: #F4C232;    /* logo light gold */

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --g: clamp(16px, 3.2vw, 44px);           /* side gutter */
  --sec: clamp(96px, 16vw, 240px);         /* section rhythm */
  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--off);
  color: var(--black);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
::selection { background: var(--accent); color: var(--black); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; }
.label { display: inline-block; color: var(--mid); margin-bottom: clamp(20px, 3vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--accent); }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(220, 168, 0, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(220,168,0,0); } 100% { box-shadow: 0 0 0 0 rgba(220,168,0,0); } }

/* ---------- Display type ---------- */
.display {
  font-size: clamp(2.8rem, 8.4vw, 9rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
}
.display--md { font-size: clamp(2.6rem, 6.6vw, 7rem); }
.display--xl { font-size: clamp(3.4rem, 12.5vw, 13.5rem); text-transform: uppercase; line-height: .84; letter-spacing: -.06em; font-weight: 800; }

/* split helpers */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; will-change: transform; }

/* ---------- Text roll ---------- */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.25em; line-height: 1.25; }
.roll__inner { display: block; transition: transform .55s var(--ease); }
.roll__inner::after { content: attr(data-text); display: block; }
a:hover .roll__inner, button:hover .roll__inner, a:focus-visible .roll__inner { transform: translateY(-50%); }

/* ---------- Buttons ---------- */
.btn--pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px;
  background: var(--black); color: var(--white);
  font-weight: 500; font-size: .95rem; line-height: 1;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn--pill:hover { background: var(--accent); color: var(--black); }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn--pill:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.btn--big { font-size: 1.15rem; padding: 1.1em 1.8em; }

.round {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid currentColor; display: grid; place-items: center; font-size: 1.2rem;
  transition: background .3s, color .3s, border-color .3s;
}
.round:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .03em;
  padding: .45em .85em; border-radius: 999px; border: 1px solid rgba(10,10,10,.18);
}
.tags--dark li { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.85); }

/* =========================================================
   CURTAIN (preloader + transitions)
   ========================================================= */
.curtain { display: none; }
.js .curtain {
  display: flex; position: fixed; inset: 0; z-index: 150;
  background: var(--black); color: var(--white);
  align-items: center; justify-content: center;
  pointer-events: none;
}
.curtain.is-active { pointer-events: all; }
/* safety net: never trap the page if scripts fail to load */
.js .curtain { animation: curtainFail .6s 6s forwards; }
@keyframes curtainFail { to { opacity: 0; visibility: hidden; } }
.curtain__inner { position: absolute; inset: 0; display: grid; place-items: center; }
.curtain__mark { width: auto; height: clamp(64px, 9vw, 110px); }
.curtain__count {
  position: absolute; left: var(--g); bottom: var(--g);
  font-size: clamp(3rem, 11vw, 10rem); line-height: .8; letter-spacing: -.06em; text-transform: none;
  color: var(--white);
}
.curtain__label {
  position: absolute; inset: 0 var(--g); display: flex; align-items: center; justify-content: center;
  text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: -.05em;
  font-size: clamp(3rem, 13vw, 13rem); line-height: .9; opacity: 0;
}
.curtain.is-transition .curtain__mark,
.curtain.is-transition .curtain__count { display: none; }
.curtain.is-transition .curtain__label { opacity: 1; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { display: none; }
.has-cursor .cursor {
  display: grid; place-items: center;
  position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--white); mix-blend-mode: difference;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, opacity .3s;
}
.has-cursor .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.has-cursor .cursor.is-label {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--accent); mix-blend-mode: normal;
}
.has-cursor .cursor.is-hidden { opacity: 0; }
.cursor__label {
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--black);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.has-cursor input[type="checkbox"], .has-cursor input[type="radio"] { cursor: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--g);
  transition: padding .5s var(--ease), background .5s, box-shadow .5s, color .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 245, 242, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(10,10,10,.06);
  opacity: 0; transition: opacity .5s;
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav.is-dark { color: var(--white); }
.nav.is-dark::before { background: rgba(10, 10, 10, .6); border-bottom-color: rgba(255,255,255,.08); }
.nav.is-dark .nav__logo em { color: rgba(255,255,255,.5); }
.nav.is-dark .nav__cta { background: var(--white); color: var(--black); }
.nav.is-dark .nav__cta:hover { background: var(--accent); }
.nav.is-dark .nav__toggle-icon { background: var(--white); }
.nav.is-dark .nav__toggle-icon i { background: var(--black); }
.nav.is-scrolled::before { opacity: 1; }

.nav__logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; margin-right: auto; }
.nav__logo img { height: 40px; width: auto; transition: height .5s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 30px; }
.nav__logo em { font-style: normal; font-weight: 400; color: var(--mid); margin-left: 6px; letter-spacing: -.01em; }

.nav__links { display: flex; gap: 34px; font-weight: 500; font-size: .95rem; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: translateX(-50%) scale(1); }

.nav__toggle { display: none; align-items: center; gap: 12px; font-weight: 500; z-index: 2; }
.nav__toggle-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--black); display: block; transition: background .4s; }
.nav__toggle-icon i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease), background .4s; }
.nav__toggle-icon i:first-child { top: 14px; }
.nav__toggle-icon i:last-child { top: 19px; }
.menu-open .nav__toggle-icon { background: var(--accent); }
.menu-open .nav__toggle-icon i { background: var(--black); }
.menu-open .nav__toggle-icon i:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-open .nav__toggle-icon i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.menu-open .nav { color: var(--white); }
.menu-open .nav::before { opacity: 0; }
.menu-open .nav__logo em { color: rgba(255,255,255,.5); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--g) var(--g);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { display: flex; flex-direction: column; }
.menu__list a {
  display: flex; align-items: flex-start; gap: 14px; overflow: hidden;
  font-size: clamp(3.2rem, 15vw, 7rem); font-weight: 750; letter-spacing: -.055em; line-height: 1;
  border-bottom: 1px solid rgba(255,255,255,.1); padding: .08em 0 .12em;
}
.menu__list a small { font-family: var(--mono); font-size: .8rem; font-weight: 400; color: var(--accent); letter-spacing: 0; margin-top: 1.2em; }
.menu__list a span, .menu__list a small { transform: translateY(110%); transition: transform .9s var(--ease); }
.menu.is-open .menu__list a span, .menu.is-open .menu__list a small { transform: none; }
.menu.is-open .menu__list a:nth-child(1) * { transition-delay: .25s; }
.menu.is-open .menu__list a:nth-child(2) * { transition-delay: .31s; }
.menu.is-open .menu__list a:nth-child(3) * { transition-delay: .37s; }
.menu.is-open .menu__list a:nth-child(4) * { transition-delay: .43s; }
.menu__foot { display: flex; flex-direction: column; gap: 14px; opacity: 0; transition: opacity .6s .5s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot > a { font-size: 1.3rem; font-weight: 500; }
.menu__socials { display: flex; gap: 20px; color: rgba(255,255,255,.6); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(120px + 2vw) var(--g) var(--g);
  overflow: hidden;
}
.hero__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--mid); }
.hero__meta b { color: var(--black); font-weight: 500; }

.hero__title {
  font-size: clamp(3.4rem, min(13.6vw, 21.5vh), 17.5rem);
  line-height: .84; letter-spacing: -.06em; text-transform: uppercase;
  font-weight: 800; margin: 4vh 0;
}
.hero__line { display: block; overflow: hidden; padding: .02em 0 .05em; }
.hero__line-inner { display: flex; align-items: center; gap: .14em; white-space: nowrap; }
.hero__line--indent .hero__line-inner { padding-left: 1.05em; }
[data-weight] .ch { display: inline-block; font-variation-settings: "wght" var(--w, 800); font-weight: var(--w, 800); }

.hero__pill {
  position: relative; display: inline-block; flex: none;
  width: 1.55em; height: .7em; border-radius: 999px; overflow: hidden;
  background: var(--black); transform: translateY(.02em);
  box-shadow: inset 0 0 0 .03em var(--black);
}
.hero__pill-track { display: flex; height: 100%; width: max-content; animation: pill 9s linear infinite; }
.hero__pill-track img { width: 1em; height: 100%; flex: none; object-fit: cover; }
@keyframes pill { to { transform: translateX(-4em); } }

.rotator { position: relative; display: inline-grid; height: .84em; overflow: hidden; }
.rotator__word { grid-area: 1 / 1; transform: translateY(105%); line-height: .84; }
.rotator__word.is-active { transform: none; }
.no-js .rotator__word:not(.is-active) { display: none; }
.hero__period { color: var(--accent); display: inline-block; }

.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero__intro { max-width: 30ch; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.3; letter-spacing: -.015em; font-weight: 450; }
.hero__scroll { display: flex; align-items: center; gap: 14px; }
.hero__scroll-line { position: relative; width: 1px; height: 56px; background: rgba(10,10,10,.15); overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--black);
  animation: scrollLine 2.2s var(--ease-io) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--black); color: var(--white); overflow: hidden;
  padding: clamp(18px, 2.4vw, 34px) 0;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span, .marquee__group i {
  font-size: clamp(2.6rem, 7vw, 7rem); font-weight: 750; letter-spacing: -.05em; line-height: 1;
  padding: 0 .28em; font-style: normal; white-space: nowrap;
}
.marquee__group .o { color: transparent; -webkit-text-stroke: 1.2px var(--white); }
.marquee__group i { color: var(--accent); font-size: clamp(1.6rem, 4vw, 4rem); padding: 0 .2em; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding: var(--sec) var(--g); display: grid; grid-template-columns: repeat(12, 1fr); }
.manifesto .label { grid-column: 1 / -1; }
.manifesto__text {
  grid-column: 3 / -1;
  font-size: clamp(1.8rem, 4.1vw, 4.4rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 550;
  text-indent: 2.2em;
}
.manifesto__text em { font-style: normal; position: relative; white-space: nowrap; }
.manifesto__text em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .1em;
  background: var(--accent); transform-origin: left; transform: scaleX(var(--u, 1));
}
.word { display: inline-block; text-indent: 0; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 0 20px; margin-bottom: clamp(56px, 9vw, 140px); }
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { grid-column: 1 / span 8; }
.section-head__aside { grid-column: 10 / -1; max-width: 32ch; color: #4a4a47; }
.section-head--dark .label { color: rgba(255,255,255,.5); }

/* =========================================================
   WORK
   ========================================================= */
.work { padding: 0 var(--g) var(--sec); }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4.5vw, 64px) clamp(16px, 1.6vw, 24px); align-items: start; }
.project { display: block; }
.project[hidden] { display: none; }

.project__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--grey); aspect-ratio: 4 / 3; }
.project__media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover;
  transition: scale 1.1s var(--ease);
}
.project:hover .project__media img { scale: 1.045; }

/* Hover preview: description + prompt slide up over the image */
.project__preview {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: grid; gap: 12px; padding: clamp(16px, 1.6vw, 24px);
  color: var(--white);
  background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 55%, transparent 100%);
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.project__preview p {
  font-size: .92rem; line-height: 1.4; max-width: 46ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.project__preview .mono { color: var(--accent-2); }
.project:hover .project__preview, .project:focus-visible .project__preview { opacity: 1; transform: none; }
@media (hover: none) { .project__preview { display: none; } }

.project__info { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; padding-top: 18px; }
.project__info h3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 650; letter-spacing: -.035em; line-height: 1; position: relative; }
.project__info h3::before {
  content: ""; display: inline-block; width: 0; height: .32em; border-radius: 50%; background: var(--accent);
  vertical-align: middle; margin-right: 0; transition: width .45s var(--ease), margin .45s var(--ease);
}
.project:hover .project__info h3::before { width: .32em; margin-right: .3em; }
.project__info .mono { color: var(--mid); }
.project__info .tags { grid-column: 1 / -1; }

/* ---------- Discipline panels ---------- */
.disciplines { display: flex; flex-direction: column; gap: 10px; }
.disciplines__row { display: flex; gap: 10px; height: clamp(420px, 64vh, 600px); }
.disciplines[hidden], .disciplines__all[hidden], .work__results[hidden] { display: none; }
.disc {
  position: relative; flex: 1 1 0; min-width: 0; display: flex;
  overflow: hidden; border-radius: var(--radius);
  background: var(--white); color: var(--black); text-align: left;
  transition: flex-grow .85s var(--ease-io);
}
.disc:hover, .disc:focus-visible { flex-grow: 2.6; }

/* Left: preview text, revealed when the panel opens */
.disc__info {
  flex: 0 0 0; overflow: hidden;
  transition: flex-basis .85s var(--ease-io);
}
.disc__info-inner {
  width: clamp(260px, 22vw, 340px); height: 100%;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(20px, 2vw, 32px);
  opacity: 0; transform: translateX(-24px);
  transition: opacity .35s var(--ease), transform .7s var(--ease);
}
.disc:hover .disc__info, .disc:focus-visible .disc__info { flex-basis: clamp(260px, 22vw, 340px); }
.disc:hover .disc__info-inner, .disc:focus-visible .disc__info-inner { opacity: 1; transform: none; transition-delay: .3s, .25s; }
.disc__kicker { color: var(--mid); }
.disc__big {
  margin-top: auto;
  font-size: clamp(1.3rem, 1.95vw, 1.9rem); font-weight: 300; line-height: 1.35;
  letter-spacing: .22em; text-transform: uppercase;
}
.disc__desc { font-size: .95rem; line-height: 1.5; color: #4a4a47; }
.disc__thumbs { display: flex; gap: 8px; }
.disc__thumbs img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.disc__cta {
  align-self: flex-start; padding: .9em 1.3em; border-radius: 999px;
  background: var(--black); color: var(--white);
  transition: background .3s, color .3s;
}
.disc:hover .disc__cta:hover { background: var(--accent); color: var(--black); }

/* Right: lead project image with the number + title over it */
.disc__media { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; background: var(--grey); container-type: inline-size; }
.disc__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: scale 1.1s var(--ease);
}
.disc:hover .disc__media img { scale: 1.04; }
/* Panels sit in grayscale until hovered or focused (touch screens keep colour, see below) */
@media (hover: hover) and (min-width: 861px) {
  .disc__media img { filter: grayscale(1); transition: scale 1.1s var(--ease), filter .7s var(--ease); }
  .disc:hover .disc__media img, .disc:focus-visible .disc__media img { filter: none; }
}
.disc__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.62) 0%, rgba(10,10,10,.18) 42%, transparent 60%);
  transition: opacity .6s var(--ease);
}
.disc__head {
  position: absolute; z-index: 1; left: 0; right: 0; top: 0;
  padding: clamp(16px, 1.6vw, 24px);
  color: var(--white);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.disc:hover .disc__head, .disc:focus-visible .disc__head { opacity: 0; transform: translateY(-12px); }
.disc:hover .disc__media::after, .disc:focus-visible .disc__media::after { opacity: 0; }
/* Big title cropped at the baseline. One shared size, set so the longest name
   ("Experiences", 11 characters) fits; rescales as panels open and close */
.disc__name {
  display: block; height: .68em; overflow: hidden; white-space: nowrap;
  font-size: min(5.5rem, calc((100cqi - 2 * clamp(16px, 1.6vw, 24px)) / (11 * .58)));
  font-weight: 800; line-height: .76; letter-spacing: -.045em;
}
.disc__meta { display: block; margin-top: 10px; opacity: .8; }

.disciplines__all { margin-top: 20px; text-align: right; }
.disciplines__all button { color: var(--mid); transition: color .3s; }
.disciplines__all button:hover { color: var(--black); }

/* ---------- Results (projects in a discipline) ---------- */
.results__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid rgba(10,10,10,.14);
}
.results__back { padding: .8em 1.2em; border-radius: 999px; border: 1px solid rgba(10,10,10,.18); transition: background .3s, color .3s, border-color .3s; }
.results__back:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.results__title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.results__num { color: var(--accent); font-size: .8rem; }
.results__count { color: var(--mid); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(clamp(56px, 9vw, 140px) * -.5) 0 clamp(48px, 6vw, 88px); }
.filter {
  display: inline-flex; align-items: flex-start; gap: 4px;
  padding: .7em 1.2em; border-radius: 999px; border: 1px solid rgba(10,10,10,.18);
  font-weight: 500; font-size: .95rem; line-height: 1.1;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.filter sup { font-family: var(--mono); font-size: .62rem; color: var(--mid); transition: color .35s; }
.filter:hover { border-color: var(--black); }
.filter.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.filter.is-active sup { color: var(--accent); }

.tags .tags__cat { background: var(--black); color: var(--white); border-color: var(--black); }

/* =========================================================
   CASE STUDY VIEWER
   ========================================================= */
.case { position: fixed; inset: 0; z-index: 120; }
.case[hidden] { display: none; }
.case__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case__panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: clamp(16px, 4vh, 48px);
  background: var(--off); border-radius: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0 0;
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(20px, 3vw, 44px) var(--g) clamp(48px, 6vw, 96px);
}
.case__top {
  --pad: clamp(20px, 3vw, 44px);
  position: sticky; top: calc(var(--pad) * -1); z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: calc(var(--pad) * -1) 0 clamp(24px, 4vw, 56px); padding: var(--pad) 0 14px;
  background: var(--off);
}
.case__meta { color: var(--mid); }
.case__actions { display: flex; gap: 8px; }
.case__actions .round { background: var(--off); }
.case__close:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--black) !important; }
.case__title { font-size: clamp(2.8rem, 9vw, 9.5rem); font-weight: 750; letter-spacing: -.055em; line-height: .88; max-width: 14ch; }
.case__media { margin-top: clamp(32px, 5vw, 64px); border-radius: var(--radius); overflow: hidden; background: var(--grey); aspect-ratio: 4 / 3; }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 20px; margin-top: clamp(40px, 6vw, 80px); }
.case__desc { grid-column: 1 / span 7; font-size: clamp(1.3rem, 2.3vw, 2.1rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.case__facts { grid-column: 9 / -1; margin: 0; }
.case__facts > div { padding: 16px 0; border-top: 1px solid rgba(10,10,10,.14); display: grid; gap: 8px; }
.case__facts dt { color: var(--mid); }
.case__facts dd { margin: 0; font-weight: 500; }
.case__foot { margin-top: clamp(40px, 6vw, 80px); display: flex; justify-content: flex-end; }
.case-open .cursor { z-index: 160; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--black); color: var(--white); padding: var(--sec) var(--g); border-radius: clamp(20px, 3vw, 44px) clamp(20px, 3vw, 44px) 0 0; }
.svc { border-bottom: 1px solid rgba(255,255,255,.14); }
.svc__item { border-top: 1px solid rgba(255,255,255,.14); }
.svc__row {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: clamp(48px, 8vw, 120px) 1fr auto; align-items: center;
  padding: clamp(20px, 2.6vw, 38px) 0; isolation: isolate;
  transition: color .45s var(--ease);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--g) * -1); z-index: -1;
  background: var(--off); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.svc__row:hover { color: var(--black); }
.svc__row:hover::before { transform: scaleY(1); }
.svc__num { color: rgba(255,255,255,.45); transition: color .4s; }
.svc__row:hover .svc__num { color: var(--black); }
.svc__name {
  font-size: clamp(1.6rem, 4.6vw, 4.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  transition: transform .6s var(--ease);
}
.svc__row:hover .svc__name { transform: translateX(clamp(8px, 1.5vw, 24px)); }
.svc__icon {
  position: relative; width: clamp(40px, 4vw, 60px); height: clamp(40px, 4vw, 60px); border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); transition: background .4s, border-color .4s, transform .6s var(--ease);
}
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34%; height: 1.5px; background: currentColor; translate: -50% -50%; }
.svc__icon::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.svc__row:hover .svc__icon { background: var(--accent); border-color: var(--accent); color: var(--black); }
.svc__row[aria-expanded="true"] .svc__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--black); }
.svc__row[aria-expanded="true"] .svc__icon::after { rotate: 0deg; }

.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc__item.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel-inner {
  overflow: hidden; display: grid; grid-template-columns: clamp(48px, 8vw, 120px) minmax(0, 46ch) 1fr; gap: 0 20px;
}
.svc__panel-inner p { grid-column: 2; color: rgba(255,255,255,.72); font-size: 1.1rem; padding-bottom: 28px; }
.svc__panel-inner .tags { grid-column: 3; align-content: start; justify-content: flex-end; padding-bottom: 28px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--black); color: var(--white); }
.process__pin {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 6vh, 80px);
  padding: clamp(96px, 12vh, 140px) var(--g);
}
.process__head .label { color: rgba(255,255,255,.5); }
.process__track { display: flex; gap: clamp(20px, 3vw, 48px); width: max-content; will-change: transform; }
.step {
  width: clamp(280px, 34vw, 520px); flex: none;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px;
}
.step__num {
  display: block; font-size: clamp(4rem, 9vw, 9rem); font-weight: 800; line-height: .85; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.5); margin-bottom: 30px;
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.step:hover .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 650; letter-spacing: -.04em; margin-bottom: 12px; line-height: 1; }
.step p { color: rgba(255,255,255,.65); max-width: 36ch; }
.process__progress { position: absolute; left: var(--g); right: var(--g); bottom: var(--g); height: 2px; background: rgba(255,255,255,.12); }
.process__progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--white); padding: var(--sec) var(--g); }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 20px; }
.about__left { grid-column: 1 / span 6; }
.about__right { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 22px; padding-top: clamp(0px, 6vw, 80px); color: #3d3d3a; }
.about__lead { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.02em; color: var(--black); font-weight: 500; }
.values { margin-top: 12px; border-top: 1px solid var(--grey); }
.values li { padding: 16px 0; border-bottom: 1px solid var(--grey); }
.values b { color: var(--black); font-weight: 600; margin-right: 4px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 12vw, 180px); border-top: 1px solid var(--black); }
.stat { padding: 26px 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--grey); }
.stat__num { font-size: clamp(3.2rem, 8vw, 8.5rem); font-weight: 700; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.stat__num::first-letter { color: inherit; }
.stat__label { color: var(--mid); }

/* =========================================================
   CLIENTS + QUOTES
   ========================================================= */
.clients { padding: var(--sec) var(--g); background: var(--off); }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(10,10,10,.12); border-left: 1px solid rgba(10,10,10,.12); }
.clients__grid li {
  display: grid; place-items: center; aspect-ratio: 2 / 1; font-size: clamp(1.1rem, 2vw, 1.8rem);
  border-right: 1px solid rgba(10,10,10,.12); border-bottom: 1px solid rgba(10,10,10,.12);
  color: #2b2b29; transition: background .4s var(--ease), color .4s;
}
.clients__grid li:hover { background: var(--black); color: var(--white); }
.w1 { font-weight: 700; letter-spacing: -.04em; }
.w2 { font-weight: 300; letter-spacing: -.02em; font-size: 1.15em !important; }
.w3 { font-family: var(--mono); font-weight: 500; letter-spacing: .25em; }
.w4 { font-weight: 600; font-style: italic; }
.w5 { font-weight: 800; letter-spacing: -.08em; font-size: 1.25em !important; }
.w6 { font-weight: 500; letter-spacing: .4em; font-size: .85em !important; }
.w7 { font-weight: 450; letter-spacing: -.03em; }
.w8 { font-weight: 900; letter-spacing: -.05em; }

.quotes { margin-top: clamp(80px, 12vw, 180px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 20px; }
.quotes__stage { grid-column: 2 / -1; display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote {
  font-size: clamp(1.6rem, 3.7vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 550;
  text-indent: -.42em; max-width: 26ch;
}
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.quote figcaption::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.quote figcaption .mono { color: var(--mid); }
.quotes__nav { grid-column: 2 / -1; display: flex; align-items: center; gap: 22px; }
.quotes__count b { color: var(--black); font-weight: 500; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: var(--sec) var(--g); background: var(--off); border-top: 1px solid rgba(10,10,10,.08); }
.contact__cta { position: relative; margin-bottom: clamp(64px, 10vw, 140px); }
.contact__circle {
  position: absolute; right: 2vw; bottom: 0;
  width: clamp(120px, 13vw, 200px); aspect-ratio: 1; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  font-weight: 500; line-height: 1.1; font-size: clamp(.9rem, 1.1vw, 1.1rem);
  transition: background .4s var(--ease), color .4s;
}
.contact__circle:hover { background: var(--accent); color: var(--black); }
.contact__circle:hover .btn__arrow { transform: rotate(45deg); }
.contact__circle .btn__arrow { font-size: 1.4em; }

.form { display: grid; gap: clamp(32px, 4vw, 52px); max-width: 1100px; margin-left: auto; }
.form__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -.02em; color: var(--black);
  background: transparent; border: 0; border-bottom: 1px solid rgba(10,10,10,.25); border-radius: 0;
  padding: 26px 0 12px; outline: none; transition: border-color .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--black); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field label {
  position: absolute; left: 0; top: 26px; color: var(--mid); pointer-events: none;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -.02em;
  transform-origin: left top; transition: transform .4s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.62); color: var(--black); }
.field.is-invalid input { border-bottom-color: #c0392b; }

.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { color: var(--mid); margin-bottom: 16px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chips span {
  display: inline-block; padding: .7em 1.2em; border-radius: 999px; border: 1px solid rgba(10,10,10,.22);
  font-weight: 500; transition: background .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease);
}
.chips label:hover span { border-color: var(--black); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--black); }
.chips input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; }
.chips input:active + span { transform: scale(.95); }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__status { color: var(--mid); min-height: 1.2em; }
.form__status.is-ok { color: var(--black); }
.form__status.is-error { color: #b3261e; }
.form__status a { text-decoration: underline; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit:disabled { opacity: .28; pointer-events: none; }
.form__submit.is-sending { pointer-events: none; }
.form__status.is-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: var(--white); padding: clamp(64px, 9vw, 120px) var(--g) var(--g); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1.5fr 1.2fr 1fr; gap: 40px 20px; align-items: start; }
.footer__logo { width: clamp(160px, 16vw, 240px); height: auto; margin: -16px 0 0 -12px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col .label { color: rgba(255,255,255,.45); margin-bottom: 8px; }
.footer__email { overflow-wrap: anywhere; font-size: 1.1rem; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.footer__email:hover { background-size: 100% 2px; }
.footer__top-link { margin-top: 18px; color: rgba(255,255,255,.65); }
.footer__phone { font-size: 1.1rem; margin-top: 6px; }
.footer__address { font-style: normal; line-height: 1.45; }
.footer__map { margin-top: 12px; color: rgba(255,255,255,.65); }

.footer__word {
  display: flex; justify-content: space-between; margin: clamp(48px, 8vw, 120px) -.02em 0;
  font-size: 31vw; font-weight: 900; letter-spacing: -.07em; line-height: .82; user-select: none;
}
.footer__word span { display: inline-block; transition: transform .6s var(--ease), color .4s; }
.footer__word span:hover { transform: translateY(-.12em); color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; color: rgba(255,255,255,.45); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .svc__panel-inner { grid-template-columns: clamp(48px, 8vw, 120px) 1fr; }
  .svc__panel-inner .tags { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__logo em { display: none; }

  .hero { padding-top: 110px; }
  .hero__meta { flex-direction: column; gap: 6px; }
  .hero__time { display: none; }
  .hero__title { margin: 7vh 0; }
  .hero__title { font-size: 19.5vw; }
  .hero__line--indent .hero__line-inner { padding-left: .3em; }
  .hero__pill { display: none; }
  .hero__foot { grid-template-columns: 1fr; }

  .manifesto__text { grid-column: 1 / -1; text-indent: 1.2em; }

  .section-head h2, .section-head__aside { grid-column: 1 / -1; }
  .section-head__aside { margin-top: 24px; }

  .case__actions .round { width: 44px; height: 44px; font-size: 1rem; }
  .filters { margin-top: -24px; }
  .case__desc, .case__facts { grid-column: 1 / -1; }
  .case__media { aspect-ratio: 1 / 1; }
  .case__foot { justify-content: stretch; }
  .case__foot .btn { width: 100%; justify-content: center; }

  .svc__row { grid-template-columns: 44px 1fr auto; gap: 8px; }
  .svc__panel-inner { grid-template-columns: 1fr; }
  .svc__panel-inner p, .svc__panel-inner .tags { grid-column: 1; }
  .svc__panel-inner p { padding-bottom: 18px; }

  .process__pin { min-height: 0; }
  .process__track { flex-direction: column; width: auto; gap: 48px; }
  .step { width: auto; }
  .process__progress { display: none; }

  .about__left, .about__right { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 28px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--grey); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--grey); }

  .clients__grid { grid-template-columns: 1fr 1fr; }
  .quotes__stage, .quotes__nav { grid-column: 1 / -1; }

  .contact__circle { position: relative; right: auto; margin-top: 36px; }
  .form__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

@media (max-width: 600px) {
  .work__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 860px), (hover: none) {
  .disciplines__row { flex-direction: column; height: auto; }
  .disc { flex: none; height: clamp(140px, 30vw, 200px); }
  .disc:hover, .disc:focus-visible { flex-grow: 0; }
  .disc__info { display: none; }
  .disc:hover .disc__head, .disc:focus-visible .disc__head { opacity: 1; transform: none; }
  .disc:hover .disc__media::after, .disc:focus-visible .disc__media::after { opacity: 1; }
  .disc__media::after { background: linear-gradient(to right, rgba(10,10,10,.8) 0%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.35) 100%); }
  .disciplines__all { text-align: left; }
  .results__title { order: -1; width: 100%; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__pill-track { animation: none; }
}
