/* =========================================================================
   HARSH — Portfolio
   Design language: near-black canvas, cream accent, oversized grotesk type,
   monospace micro-labels, pinned horizontal galleries, scroll-linked motion.
   Sections:
     01. Tokens & reset
     02. Base typography & utilities
     03. FX layers (preloader, grain, cursor)
     04. Top bar / dock / mobile menu
     05. Hero
     06. Marquee & ticker
     07. Statement + huge text reveals
     08. Featured gallery (pinned horizontal)
     09. Case studies
     10. Testimonials
     11. About
     12. Focus
     13. CTA
     14. Footer
     15. Archive page
     16. Case-study pages
     17. Responsive
     18. Motion preferences / print
   ========================================================================= */

/* -------------------------------------------------------------------------
   Self-hosted variable fonts (SIL Open Font License 1.1)
   Inter Tight — display · JetBrains Mono — micro-labels & body
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-variable.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304-0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-ext-variable.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-variable.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304-0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-variable.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- 01. TOKENS */
:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --bg-card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --cream: #f0e5c4;
  --cream-soft: rgba(240, 229, 196, 0.55);
  --cream-dim: rgba(240, 229, 196, 0.16);
  --ink: #f6f4ef;
  --muted: rgba(246, 244, 239, 0.55);
  --muted-2: rgba(246, 244, 239, 0.34);

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1560px;
  --pad: clamp(16px, 3.4vw, 64px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: rgba(240, 229, 196, 0.25) transparent;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading { overflow: hidden; height: 100vh; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--cream); color: #0a0a0a; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(240, 229, 196, 0.22); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(240, 229, 196, 0.4); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* anchor offset for the fixed top bar */
[id] { scroll-margin-top: 96px; }

/* ------------------------------------------------------- 02. TYPE & UTILS */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.label--gap { display: block; margin-top: 4.5rem; }

.mono-xs {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono-sm {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: rgba(246, 244, 239, 0.68);
}
.mono-sm--dim { color: var(--muted-2); }
.body {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.72;
  color: rgba(246, 244, 239, 0.66);
}

.huge {
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--cream);
  max-width: 18ch;
}
@media (min-width: 1100px) { .huge { max-width: 22ch; } }

.glyph {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.glyph::before { content: "\00D7\035C\00D7"; }
.glyph--sm { margin-left: 8px; font-size: 1.25em; }

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9fdc9a;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(159, 220, 154, 0.14);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.35 } }

.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  flex: none;
  position: relative;
  overflow: hidden;
}
.avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.avatar--btn { width: 24px; height: 24px; font-size: 0.55rem; background: #0a0a0a; color: var(--cream); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.35rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--cream { background: var(--cream); color: #0a0a0a; }
.btn--cream:hover { background: #fff6dd; }
.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(10, 10, 10, 0.55);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn--outline {
  border-color: var(--line-strong);
  color: var(--cream);
  margin-top: 2.5rem;
}
.btn--outline:hover { background: var(--cream); color: #0a0a0a; border-color: var(--cream); }

/* scroll reveal (only hidden when JS is available, so content never disappears) */
.reveal { transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* word-by-word reveal */
[data-split="words"] .word {
  display: inline-block;
  color: var(--cream-dim);
  transition: color 0.45s linear, opacity 0.45s linear;
  will-change: color;
}
[data-split="words"] .word.is-lit { color: var(--cream); }

/* --------------------------------------------------------------- 03. FX */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: none;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.js .loader { display: grid; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { width: min(88vw, 460px); text-align: center; }
.loader__mark { display: flex; justify-content: center; margin-bottom: 22px; }
.loader__name {
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--cream);
}
.loader__bar {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 30px 0 14px;
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--cream);
  transition: width 0.35s linear;
}
.loader__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
  mix-blend-mode: overlay;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0) }
  20% { transform: translate(-3%, 2%) }
  40% { transform: translate(2%, -3%) }
  60% { transform: translate(-2%, -2%) }
  80% { transform: translate(3%, 1%) }
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 95;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot { width: 6px; height: 6px; background: var(--cream); transition: opacity 0.25s var(--ease); }
.cursor__ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(240, 229, 196, 0.6);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cursor.is-hover .cursor__ring { width: 62px; height: 62px; border-color: var(--cream); }
.cursor__label {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%) scale(0.9);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}
.cursor.is-label .cursor__ring {
  width: 78px; height: 78px;
  border-color: transparent;
  background: rgba(240, 229, 196, 0.16);
}
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* --------------------------------------------------- 04. BARS & NAVIGATION */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 2.2vw, 30px) var(--pad);
  mix-blend-mode: normal;
}
.topbar__logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.topbar__logo:hover { color: var(--cream); }
.topbar__right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}
.topbar__status {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar__mail {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.topbar__mail:hover { color: var(--cream); border-color: var(--cream); }

.dock {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 2.4vw, 30px);
  transform: translateX(-50%);
  z-index: 82;
  width: max-content;
  max-width: calc(100vw - 24px);
}
.dock__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 8px;
  border-radius: var(--r-md);
  background: rgba(14, 14, 14, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.dock__inner > a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.62);
  padding: 0.62rem 0.9rem;
  border-radius: 8px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.dock__inner > a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.dock__inner > a.is-active { color: var(--cream); }
.dock__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--cream);
  color: #0a0a0a !important;
  font-weight: 500;
  margin-left: 4px;
}
.dock__cta:hover { background: #fff6dd; color: #0a0a0a !important; }

.menuBtn {
  position: fixed;
  top: clamp(14px, 2.2vw, 26px);
  right: var(--pad);
  z-index: 120;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(14px);
  display: none;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}
.menuBtn span:not(.sr-only) {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menuBtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menuBtn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 0 var(--pad);
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a {
  font-size: clamp(2rem, 11vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  padding: 0.15em 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), color 0.4s var(--ease);
}
.menu__nav a:hover { padding-left: 0.4em; }
.menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* --------------------------------------------------------------- 05. HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.hero__media img {
  height: 84%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: 50% 100%;
  filter: grayscale(1) contrast(1.1) brightness(0.92);
  opacity: 0.92;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0) 22%, rgba(5, 5, 5, 0) 60%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, rgba(5, 5, 5, 0) 24%, rgba(5, 5, 5, 0) 76%, var(--bg) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.7;
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-top: clamp(90px, 12vh, 150px);
  padding-bottom: clamp(120px, 16vh, 190px);
}
.hero__lines { display: flex; flex-direction: column; gap: clamp(4px, 0.8vw, 14px); }
.hero__row { will-change: transform; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); }
.hero__row--a { padding-left: 4vw; }
.hero__row--b { justify-content: flex-end; }
.hero__row--c { padding-left: 8vw; }

.hero__title {
  font-size: clamp(2.7rem, 10.2vw, 11rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

/* entrance: hero type rises once the preloader is gone */
.hero__title,
.topbar,
.dock { transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-out); }
.js .hero__title,
.js .topbar,
.js .dock { opacity: 0; transform: translateY(0.09em); }
.js .topbar,
.js .dock { transform: translateY(12px); }
body.is-ready .hero__title,
body.is-ready .topbar,
body.is-ready .dock { opacity: 1; transform: none; }
body.is-ready .hero__row--b .hero__title { transition-delay: 0.1s; }
body.is-ready .hero__row--c .hero__title { transition-delay: 0.2s; }
.hero__lede {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  line-height: 1.75;
  color: rgba(246, 244, 239, 0.72);
  max-width: 34ch;
  margin-right: auto;
  padding-left: 4vw;
}

.chip {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 4px;
  background: linear-gradient(150deg, rgba(240, 229, 196, 0.14), rgba(20, 20, 20, 0.62));
  border: 1px solid rgba(240, 229, 196, 0.14);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.chip b {
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.chip i {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.chip--a { align-self: center; }
.chip--b { align-self: flex-end; margin-bottom: 0.4em; }

.hero__arrow { margin-left: auto; color: var(--cream); }
.hero__arrow svg { width: clamp(28px, 3vw, 46px); height: auto; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(-4px) }
  50% { transform: translateY(6px) }
}

.hero__foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(78px, 9vh, 110px);
  display: flex;
  justify-content: space-between;
  padding-inline: 0;
}

/* ----------------------------------------------------- 06. MARQUEE/TICKER */
.marquee {
  position: relative;
  padding: clamp(60px, 9vw, 130px) 0 clamp(40px, 6vw, 90px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.marquee__row {
  display: flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
  will-change: transform;
}
.marquee__word {
  font-size: clamp(2.6rem, 10.5vw, 11rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--cream);
  padding-right: 0.3em;
}
.marquee__word.is-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 229, 196, 0.45);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: linear-gradient(90deg, rgba(240, 229, 196, 0.03), rgba(255, 255, 255, 0));
}
.ticker__track,
.about__stripTrack,
.cta__row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 46px);
  width: max-content;
  animation: tickerMove 46s linear infinite;
  will-change: transform;
}
.cta__row--rev { animation-direction: reverse; animation-duration: 58s; }
.ticker:hover .ticker__track,
.cta__collage:hover .cta__row { animation-play-state: paused; }
@keyframes tickerMove { from { transform: translate3d(0, 0, 0) } to { transform: translate3d(-50%, 0, 0) } }

.ticker__track span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.5);
}
.ticker__track i { color: var(--cream-dim); font-style: normal; }

/* ------------------------------------------------------------- 07. STATEMENT */
.statement {
  padding: clamp(80px, 12vw, 170px) var(--pad) clamp(60px, 8vw, 110px);
}
.statement__body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: clamp(30px, 6vw, 110px);
  align-items: start;
  margin-top: clamp(26px, 4vw, 54px);
}
.statement__aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

/* --------------------------------------------------------------- 08. GALLERY */
.gallery {
  position: relative;
  background: var(--bg);
}
.gallery__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.gallery__head {
  position: absolute;
  top: clamp(78px, 12vh, 130px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.gallery__count { color: var(--member, var(--muted)) }
.gallery__track {
  display: flex;
  gap: clamp(20px, 3vw, 54px);
  padding-inline: var(--pad);
  will-change: transform;
}

.pcard {
  flex: 0 0 min(70vw, 940px, 104svh);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .pcard { opacity: 0; transform: translateY(26px); }
.js .gallery.is-in .pcard { opacity: 1; transform: none; }
.js .gallery.is-in .pcard:nth-child(2) { transition-delay: 0.07s; }
.js .gallery.is-in .pcard:nth-child(3) { transition-delay: 0.14s; }
.js .gallery.is-in .pcard:nth-child(4) { transition-delay: 0.21s; }
.js .gallery.is-in .pcard:nth-child(5) { transition-delay: 0.28s; }
.js .gallery.is-in .pcard:nth-child(6) { transition-delay: 0.35s; }
.js .gallery.is-in .pcard:nth-child(7) { transition-delay: 0.42s; }
.pcard__link {
  display: block;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.pcard__link:hover { border-color: rgba(240, 229, 196, 0.4); transform: translateY(-6px); }
.pcard__index {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--cream);
  background: rgba(5, 5, 5, 0.6);
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
}
.pcard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c0c0c;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.7s var(--ease);
  filter: saturate(0.85);
}
.pcard__link:hover .pcard__media img { transform: scale(1.06); filter: saturate(1); }
.pcard__meta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  align-items: baseline;
  gap: clamp(14px, 2.4vw, 40px);
  padding: clamp(18px, 2vw, 30px) clamp(18px, 2vw, 32px) clamp(20px, 2.2vw, 34px);
}
.pcard__meta h3 {
  font-size: clamp(1.4rem, 2.1vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.pcard__meta p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.7);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 99px;
}
.pcard--end { flex-basis: min(46vw, 560px); }
.pcard__outro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(240, 229, 196, 0.05), rgba(255, 255, 255, 0.01));
}
.pcard__outro h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.pcard__outro p { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.7; color: var(--muted); }
.pcard__outro .btn { align-self: flex-start; margin-top: 10px; }

/* ----------------------------------------------------------------- 09. CASES */
.cases {
  padding: clamp(90px, 13vw, 190px) var(--pad) clamp(60px, 8vw, 120px);
}
.cases__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding-bottom: clamp(30px, 5vw, 70px);
}
.cases__title {
  font-size: clamp(2.4rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: right;
}
.cases__list { border-top: 1px solid var(--line); }
.case { position: relative; border-bottom: 1px solid var(--line); }
.case__link {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2.4vw, 40px);
  padding: clamp(26px, 3.6vw, 54px) 0;
  transition: padding-left 0.6s var(--ease-out);
}
.case__link:hover { padding-left: clamp(10px, 1.6vw, 26px); }
.case__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cream-soft);
}
.case__main { display: flex; flex-direction: column; gap: 12px; }
.case__name {
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ink);
  transition: color 0.5s var(--ease);
  max-width: 34ch;
}
.case__link:hover .case__name { color: var(--cream); }
.case__tags {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.case__hover {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.case__link:hover .case__hover { opacity: 1; transform: none; }
.case__thumb {
  position: fixed;
  top: 0; left: 0;
  width: min(30vw, 400px);
  aspect-ratio: 16 / 10;
  border-radius: var(--r-sm);
  overflow: hidden;
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line-strong);
}
.case__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case.is-previewing .case__thumb { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .case__thumb { display: none } }

/* ------------------------------------------------------------ 10. TESTIMONIALS */
.quotes {
  position: relative;
  padding: clamp(90px, 13vw, 200px) 0 clamp(70px, 9vw, 130px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.quotes__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1em;
  pointer-events: none;
}
.quotes__bg span {
  display: block;
  font-size: clamp(3.4rem, 14vw, 15rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 229, 196, 0.16);
  text-align: center;
  will-change: transform;
}
.quotes__inner { position: relative; z-index: 1; }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(30px, 5vw, 70px);
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(18, 18, 18, 0.86), rgba(10, 10, 10, 0.72));
  backdrop-filter: blur(6px);
  transition: border-color 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.quote:hover { border-color: rgba(240, 229, 196, 0.35); transform: translateY(-5px); }
.quote__num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--cream-soft);
}
.quote blockquote {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.62;
  color: rgba(246, 244, 239, 0.86);
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote figcaption span:last-child { display: flex; flex-direction: column; gap: 3px; }
.quote figcaption b { font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.quote figcaption i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.quotes__note { margin-top: clamp(20px, 3vw, 34px); color: var(--muted-2); }

/* ----------------------------------------------------------------- 11. ABOUT */
.about {
  padding: clamp(80px, 12vw, 180px) var(--pad) clamp(50px, 7vw, 100px);
  border-top: 1px solid var(--line);
}
.about__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}
.about__photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: #0c0c0c;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.86);
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease);
}
.about__photo:hover img { transform: scale(1.04); filter: grayscale(0.2) contrast(1.05); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 54px);
  margin-top: clamp(40px, 6vw, 90px);
  padding-top: clamp(26px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.about__col { display: flex; flex-direction: column; gap: 16px; }
.about__strip {
  margin-top: clamp(50px, 7vw, 110px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.about__stripTrack img {
  width: clamp(180px, 22vw, 340px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  filter: saturate(0.7) brightness(0.86);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.about__stripTrack img:hover { filter: none; transform: translateY(-6px); }

/* ----------------------------------------------------------------- 12. FOCUS */
.focus {
  padding: clamp(70px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
}
.focus__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 100px);
}
.focus__big {
  font-size: clamp(1.9rem, 4.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cream);
  max-width: 20ch;
}
.focus__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 0.8rem;
}

/* ------------------------------------------------------------------- 13. CTA */
.cta {
  position: relative;
  min-height: min(96vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: clamp(80px, 12vw, 160px) 0;
}
.cta__collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 40px);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(62% 60% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, #000 45%, #000 100%);
  mask-image: radial-gradient(62% 60% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, #000 45%, #000 100%);
}
.cta__row img {
  width: clamp(220px, 26vw, 420px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  filter: grayscale(0.75) brightness(0.55);
}
.cta__center { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3.4vw, 44px); }
.cta__title {
  font-size: clamp(2.1rem, 6.4vw, 6.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--cream);
  max-width: 22ch;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------------------------------------------------------------- 14. FOOTER */
.footer {
  padding: clamp(70px, 10vw, 150px) 0 clamp(120px, 12vw, 170px);
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg), #080808);
}
.footer__top { display: flex; flex-direction: column; gap: 18px; }
.footer__mail {
  font-size: clamp(1.6rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cream);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.footer__mail:hover { border-color: var(--cream); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.72);
  border: 1px solid var(--line);
  padding: 0.72rem 1rem;
  border-radius: var(--r-sm);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.copy:hover { border-color: var(--cream); color: var(--cream); }
.copy__icon { width: 13px; height: 13px; flex: none; opacity: 0.8; }
.copy.is-copied { background: var(--cream); color: #0a0a0a; border-color: var(--cream); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 50px);
  margin: clamp(50px, 7vw, 100px) 0 clamp(40px, 6vw, 80px);
  padding-top: clamp(26px, 3vw, 46px);
  border-top: 1px solid var(--line);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__col p { margin-bottom: 6px; color: var(--cream-soft); }
.footer__col a {
  font-size: 0.95rem;
  color: rgba(246, 244, 239, 0.62);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.footer__col a:hover { color: var(--cream); transform: translateX(3px); }

.footer__huge {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  padding: clamp(20px, 3vw, 40px) 0 clamp(26px, 4vw, 50px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__huge span {
  font-size: clamp(1.9rem, 8.6vw, 9rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer__huge .is-outline { color: transparent; -webkit-text-stroke: 1px rgba(240, 229, 196, 0.45); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: clamp(20px, 3vw, 34px);
}
.footer__top-link:hover { color: var(--cream); }

/* --------------------------------------------------------------- 15. ARCHIVE */
.archive { padding: clamp(120px, 16vw, 220px) 0 clamp(120px, 12vw, 180px); }
.archive__head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: clamp(30px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
}
.archive__title {
  font-size: clamp(2.8rem, 13vw, 13rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--cream);
}
.archive__sub { max-width: 52ch; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(20px, 3vw, 40px) 0;
}
.filters button {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.62rem 1.1rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.filters button:hover { color: var(--ink); border-color: var(--line-strong); }
.filters button.is-active { background: var(--cream); border-color: var(--cream); color: #0a0a0a; }

.archive__grid {
  columns: 3;
  column-gap: clamp(14px, 1.6vw, 26px);
}
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: clamp(14px, 1.6vw, 26px);
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
  cursor: pointer;
  break-inside: avoid;
  transition: transform 0.6s var(--ease-out), border-color 0.4s var(--ease);
}
.tile:hover { transform: translateY(-5px); border-color: rgba(240, 229, 196, 0.4); }
.tile img { width: 100%; display: block; filter: saturate(0.8) brightness(0.9); transition: transform 1s var(--ease-out), filter 0.5s var(--ease); }
.tile:hover img { transform: scale(1.03); filter: none; }
.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0));
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile:hover figcaption { opacity: 1; transform: none; }
.tile--flat { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.tile--flat span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.5);
  text-align: center;
  padding: 16px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 60px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 76vh; width: auto; border-radius: var(--r-sm); border: 1px solid var(--line-strong); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.lightbox__close {
  position: absolute;
  top: clamp(18px, 3vw, 40px);
  right: clamp(18px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.lightbox__close:hover { background: var(--cream); color: #0a0a0a; }

/* ----------------------------------------------------------- 16. CASE STUDY */
.cs { padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.cs__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}
.cs__back:hover { color: var(--cream); }
.cs__title {
  font-size: clamp(2.2rem, 6.6vw, 6.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: clamp(30px, 5vw, 70px);
}
.cs__lede {
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: rgba(246, 244, 239, 0.62);
  max-width: 48ch;
  margin-top: 20px;
}
.cs__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 34px);
  margin: clamp(34px, 5vw, 64px) 0;
  padding: clamp(20px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs__meta div { display: flex; flex-direction: column; gap: 10px; }
.cs__meta .k,
.cs__meta dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.cs__meta .v,
.cs__meta dd {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.5;
  color: var(--ink);
}
.cs__hero {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
}
.cs__hero img { width: 100%; }
.cs__figure {
  margin: clamp(40px, 6vw, 80px) 0;
}
.cs__figure img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #0b0b0b;
}
.cs__figure figcaption { margin-top: 12px; color: var(--muted-2); }
.cs__section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.5fr);
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.cs__section h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.cs__body { display: flex; flex-direction: column; gap: 18px; }
.cs__body p { font-size: clamp(0.98rem, 1.15vw, 1.1rem); line-height: 1.72; color: rgba(246, 244, 239, 0.7); }
.cs__body strong { color: var(--cream); font-weight: 500; }
.cs__list { display: flex; flex-direction: column; gap: 12px; }
.cs__list li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.72);
}
.cs__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  background: var(--cream);
  border-radius: 1px;
}
.cs__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.cs__gallery img {
  width: 100%;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.cs__gallery--wide { grid-template-columns: 1fr; }
.cs__next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(30px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.cs__next a {
  font-size: clamp(1.3rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cream);
  transition: transform 0.5s var(--ease-out);
}
.cs__next a:hover { transform: translateX(10px); }

/* ------------------------------------------------------------- 17. RESPONSIVE */
@media (max-width: 1180px) {
  .statement__body,
  .focus__grid,
  .about__top { grid-template-columns: 1fr; }
  .about__photo { max-width: 480px; }
  .quotes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .topbar__status { display: none; }
  .pcard { flex-basis: 82vw; }
  .pcard__meta { grid-template-columns: 1fr; gap: 12px; }
  .pcard--end { flex-basis: 70vw; }
  .case__link { grid-template-columns: 44px minmax(0, 1fr); }
  .case__hover { display: none; }
  .archive__grid { columns: 2; }
  .cs__section { grid-template-columns: 1fr; }
  /* gallery becomes a native horizontal scroller */
  .gallery { height: auto !important; }
  .gallery__pin {
    position: static;
    height: auto;
    display: block;
    padding: clamp(60px, 12vw, 90px) 0 0;
  }
  .gallery__head { position: static; transform: none; padding-bottom: 26px; }
  .gallery__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 26px;
    transform: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .pcard { scroll-snap-align: center; }
}

@media (max-width: 780px) {
  .dock { left: 12px; right: 12px; transform: none; width: auto; max-width: none; }
  .dock__inner { justify-content: space-between; width: 100%; }
  .dock__inner > a { padding: 0.6rem 0.55rem; font-size: 0.62rem; letter-spacing: 0.1em; }
  .dock__cta { padding-inline: 0.8rem; }
  .hero__inner { padding-top: clamp(110px, 20vh, 160px); }
  .hero__row--a { padding-left: 0; flex-direction: column; align-items: flex-start; }
  .hero__row--b { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
  .hero__row--c { padding-left: 0; }
  .hero__lede { padding-left: 0; margin-right: 0; max-width: 100%; }
  .chip--a { align-self: flex-start; }
  .chip--b { align-self: flex-start; }
  .hero__arrow { margin-left: 0; }
  .hero__title { font-size: clamp(2.6rem, 15vw, 5rem); }
  .hero__foot { bottom: clamp(86px, 12vh, 110px); }
  .quotes__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .archive__grid { columns: 1; }
  .cs__gallery { grid-template-columns: 1fr; }
  .cs__meta { grid-template-columns: 1fr; }
  .cases__head { flex-direction: column; align-items: flex-start; }
  .cases__title { text-align: left; }
  .case__link { padding-block: 26px; }
}

@media (max-width: 560px) {
  .menuBtn { display: flex; align-items: center; justify-content: center; }
  .topbar__mail { display: none; }
  .dock { display: none; }
  .hero__foot { bottom: 34px; }
  .about__stripTrack img { width: 62vw; }
  .cta__row img { width: 64vw; }
}

@media (min-width: 561px) {
  .menuBtn { display: none !important; }
  .menu { display: none !important; }
}

/* ------------------------------------------------- 18. MOTION & PRINT */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  [data-split="words"] .word { color: var(--cream) !important; }
}

@media print {
  .grain, .cursor, .dock, .topbar, .menuBtn, .loader, .gallery__pin { display: none !important; }
  body { background: #fff; color: #000; }
}

.loader__mark .glyph { font-size: 2.4rem; }
