/* ==========================================================================
   SHIFT STUDIO ® — Independent Creative Studio
   Fonts · Tokens · Layout · Motion
   ========================================================================== */

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../fonts/PPNeueMontreal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #111111;
  --bg-deep: #0b0b0b;
  --lime: #d2f08a;
  --lime-bright: #e2f5a7;
  --lime-strong: #b9da73;
  --silver: #d7d7d3;
  --silver-deep: #8f8f8b;
  --white: #f2f2ef;
  --gray: #a8a8a4;
  --gray-soft: #c7c7c3;
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --font-display: 'PP Neue Montreal', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Inter', 'Helvetica Neue', 'InterVariable', Arial, sans-serif;
  --pad: clamp(20px, 2.78vw, 40px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
html.menu-open,
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background-image: url('../img/noise.png');
  background-size: 160px 160px;
  opacity: 0.028;
}

::selection { background: var(--lime); color: #101010; }

h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
sup { font-size: 0.4em; line-height: 0; }
svg { display: block; }

:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 5px;
}

.container { padding-inline: var(--pad); }
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.055em;
}
.secondary {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--gray);
}
.eyebrow {
  color: var(--gray);
  font-size: 11px;
}
.accent { color: var(--lime); }
.dim { color: #8c8c88; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--lime);
  color: #111;
  font-family: var(--font-secondary);
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

section[id] { scroll-margin-top: 88px; }

/* Custom cursor */
html.has-cursor,
html.has-cursor * { cursor: none !important; }
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  z-index: 500;
  transform: translate(-50%, -50%);
  transition: width 0.28s var(--ease), height 0.28s var(--ease),
              background 0.28s var(--ease), border 0.28s var(--ease),
              opacity 0.2s ease;
  display: none;
  place-items: center;
  font-family: var(--font-secondary);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #111;
}
html.has-cursor .cursor { display: grid; }
.cursor.is-link {
  width: 34px; height: 34px;
  background: rgba(210, 240, 138, 0.12);
  border: 1px solid var(--lime);
}
.cursor.is-view {
  width: 62px; height: 62px;
  background: var(--lime);
}
.cursor.is-view::before { content: 'VIEW'; }
.cursor.is-hidden { opacity: 0; }

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px var(--pad) 38px;
  background: #0b0b0b;
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
html.no-js .preloader { display: none; }
.preloader__top,
.preloader__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.preloader__top { border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; }
.preloader__center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 3vw, 44px);
  flex: 1;
  padding-block: 30px;
}
.brand-mark {
  display: block;
  width: 54px;
  height: 42px;
  object-fit: contain;
  flex: none;
  transition: transform 0.5s var(--ease);
}
.brand-mark--loader {
  width: clamp(96px, 11vw, 160px);
  height: clamp(96px, 11vw, 160px);
  animation: mark-breathe 2.2s ease-in-out infinite;
}
@keyframes mark-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.75; }
}
.preloader__count {
  font-family: var(--font-display);
  font-size: clamp(120px, 26vw, 410px);
  line-height: 0.7;
  letter-spacing: -0.08em;
  color: var(--lime);
}
.preloader__word {
  font-size: clamp(17px, 1.6vw, 23px);
  letter-spacing: -0.03em;
}
.preloader__word sup { font-size: 0.45em; vertical-align: 0.9em; }
.preloader__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.preloader__progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--lime);
  transition: width 0.12s linear;
}
.preloader.is-done {
  transform: translateY(-101%);
  pointer-events: none;
}
.preloader.is-done .preloader__count { opacity: 0; transition: opacity 0.3s ease; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 28px var(--pad);
  transition: padding 0.4s var(--ease), background 0.4s ease,
              backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  position: relative;
  z-index: 2;
}
.brand:hover .brand-mark { transform: translateY(-1px) scale(1.05); }

.site-nav {
  position: absolute;
  left: 43.4%;
  right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-nav__main { display: flex; align-items: center; gap: clamp(32px, 4.85vw, 70px); }
.nav-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-size: 15px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--white); }
.roll {
  position: relative;
  display: block;
  height: 1.2em;
  overflow: hidden;
}
.roll span {
  display: block;
  transition: transform 0.4s var(--ease);
}
.roll span:last-child {
  position: absolute;
  top: 100%;
  left: 0;
}
.nav-link:hover .roll span:first-child { transform: translateY(-100%); }
.nav-link:hover .roll span:last-child { transform: translateY(-100%); }
.nav-symbol {
  font-family: var(--font-secondary);
  font-size: 9px;
  line-height: 1;
  color: var(--gray);
  transform: translateY(-1px);
}
.nav-link--talk { color: var(--white); }
.nav-link--talk .nav-symbol {
  font-size: 10px;
  color: var(--lime);
  transform: translateY(-1px) rotate(0deg);
  transition: transform 0.3s var(--ease);
}
.nav-link--talk:hover .nav-symbol { transform: translate(2px, -3px); }

.site-nav__end {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.lang-switch__btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 2px 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.25s ease;
}
.lang-switch__btn:hover { color: var(--white); }
.lang-switch__btn.is-active { color: var(--lime); }
.lang-switch__sep { color: rgba(255, 255, 255, 0.22); }
.lang-switch--mobile { font-size: 11px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  position: relative;
  z-index: 2;
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.menu-toggle__lines {
  width: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle__lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 110px var(--pad) 28px;
  background: #0b0b0b;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.7s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s;
}
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(40px, 10.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
  transition: color 0.25s ease, padding-left 0.35s var(--ease);
}
.mobile-menu__nav a:hover { color: var(--lime); padding-left: 8px; }
.mobile-menu__nav .secondary { font-size: 10px; }
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.mobile-menu__socials { display: flex; gap: 26px; color: var(--gray); font-family: var(--font-secondary); font-size: 11px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(100svh, 700px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #0c0c0c;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: brightness(0.8) contrast(1.04);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.64) 0%, rgba(17, 17, 17, 0.1) 52%, rgba(17, 17, 17, 0.55) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.25) 34%, rgba(17, 17, 17, 0.62) 74%, #111 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('../img/noise.png');
  background-size: 160px 160px;
  opacity: 0.055;
  pointer-events: none;
}
.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(230px, 23vw) minmax(0, 1fr);
  gap: clamp(48px, 11vw, 170px);
  align-items: center;
  align-content: start;
  align-content: safe center;
  padding-top: clamp(120px, 16vh, 164px);
  padding-bottom: clamp(48px, 8vh, 88px);
}
.hero__portrait { width: 100%; max-width: 270px; }
.hero__portrait-frame {
  position: relative;
  aspect-ratio: 760 / 1013;
  overflow: hidden;
  background: #1b1b1b;
}
.hero__portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.hero__portrait:hover img {
  filter: grayscale(0) contrast(1.02) brightness(1);
  transform: scale(1.025);
}
.hero__portrait-dot {
  position: absolute;
  top: 12px; right: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(210, 240, 138, 0.18);
}
.hero__portrait figcaption {
  margin-top: 10px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}
.hero__copy { max-width: 900px; padding-top: 4px; }
.hero__eyebrow { margin-bottom: clamp(22px, 3vh, 38px); color: rgba(255, 255, 255, 0.55); }
.hero__title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 900px;
  color: var(--white);
}
.hero__title .accent { color: var(--lime); }
.hero__bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-bottom: 26px;
}
.hero__year { color: rgba(255, 255, 255, 0.55); }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.25s ease;
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue__line {
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.35s var(--ease), background 0.25s ease;
}
.scroll-cue:hover .scroll-cue__line { width: 58px; background: var(--lime); }
.hero__cta { justify-self: end; }

/* Entrance */
.js [data-hero] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-hero="2"] { transition-delay: 0.12s; }
.js [data-hero="3"] { transition-delay: 0.2s; }
.js .hero__bottom > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .hero__bottom > *:nth-child(1) { transition-delay: 0.45s; }
.js .hero__bottom > *:nth-child(2) { transition-delay: 0.5s; }
.js .hero__bottom > *:nth-child(3) { transition-delay: 0.56s; }
.is-ready [data-hero],
.is-ready .hero__bottom > * { opacity: 1; transform: none; }

/* ==========================================================================
   Pill button
   ========================================================================== */

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 7px 7px 7px 21px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  background: rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(6px);
  transition: color 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.pill-btn__arrow {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 14px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.35s var(--ease);
}
.pill-btn:hover {
  background: var(--white);
  color: #111;
  border-color: var(--white);
}
.pill-btn:hover .pill-btn__arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: #111111;
  transform: rotate(45deg);
}

/* ==========================================================================
   Marquees
   ========================================================================== */

.marquee {
  overflow: hidden;
  background: var(--silver);
  color: #111111;
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-slide 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  padding-right: 0.4em;
}
.marquee__item {
  display: inline-flex;
  align-items: flex-start;
  white-space: nowrap;
  font-size: clamp(54px, 7.9vw, 114px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  padding-block: 0.06em 0.11em;
}
.marquee__item sup { font-size: 0.23em; margin-top: 0.8em; }
.marquee__sep {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  opacity: 0.55;
  margin-inline: clamp(16px, 2.4vw, 36px);
  transform: translateY(0.04em);
}
@keyframes marquee-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Works
   ========================================================================== */

.works {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr);
  gap: clamp(50px, 8.3vw, 140px);
  padding: clamp(110px, 13vw, 180px) var(--pad) clamp(100px, 12vw, 160px);
  background: var(--bg);
}
.works__intro {
  position: sticky;
  top: 128px;
  align-self: start;
}
.works__intro .eyebrow { margin-bottom: clamp(22px, 3vw, 34px); }
.works__title {
  font-size: clamp(48px, 4.95vw, 71px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.works__list { min-width: 0; position: relative; }
.works__list-head {
  display: grid;
  grid-template-columns: 56px minmax(150px, 1.2fr) minmax(180px, 1.6fr) 54px 18px;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(150px, 1.2fr) minmax(180px, 1.6fr) 54px 18px;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px 4px 12px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, padding-left 0.4s var(--ease);
}
.work-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
  padding-left: 8px;
}
.work-row__index { color: rgba(255, 255, 255, 0.45); font-size: 11px; }
.work-row__name {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
}
.work-row:hover .work-row__name { color: var(--lime); }
.work-row__cat {
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}
.work-row:hover .work-row__cat { color: rgba(255, 255, 255, 0.75); }
.work-row__year {
  justify-self: end;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.work-row__arrow {
  justify-self: end;
  font-size: 15px;
  color: var(--lime);
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.work-row:hover .work-row__arrow { opacity: 1; transform: none; }

.work-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: clamp(230px, 19vw, 285px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: #181818;
  pointer-events: none;
  opacity: 0;
  --x: 50vw;
  --y: 50vh;
  --s: 0.9;
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) rotate(-4deg) scale(var(--s));
  transition: opacity 0.32s ease, transform 0.45s var(--ease);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
}
.work-preview.is-active { opacity: 1; --s: 1; }
.work-preview img { width: 100%; height: 100%; object-fit: cover; }
.work-preview__dot {
  position: absolute;
  top: 12px; right: 12px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(210, 240, 138, 0.15);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.72); }
}
.work-preview__caption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 8px 10px;
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
}

/* ==========================================================================
   Manifesto
   ========================================================================== */

.manifesto {
  position: relative;
  min-height: clamp(620px, 88svh, 880px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 110px var(--pad);
  background: #101010;
  isolation: isolate;
}
.manifesto__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}
.manifesto__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(75% 70% at 50% 45%, rgba(17, 17, 17, 0.02) 0%, rgba(17, 17, 17, 0.26) 58%, rgba(17, 17, 17, 0.62) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.55), transparent 24%, transparent 74%, rgba(17, 17, 17, 0.65));
}
.manifesto__label {
  position: absolute;
  top: 34px; left: var(--pad);
  z-index: 2;
  color: rgba(255, 255, 255, 0.48);
}
.manifesto__content { position: relative; z-index: 2; text-align: center; }
.manifesto__title {
  font-size: clamp(56px, 9.2vw, 134px);
  line-height: 0.87;
  letter-spacing: -0.065em;
  color: var(--white);
}
.manifesto__line { display: block; }
.manifesto__line sup {
  display: inline-block;
  font-size: 0.3em;
  line-height: 1;
  vertical-align: top;
  margin-top: 0.3em;
  margin-left: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}
.manifesto__line .tm { font-size: 0.22em; vertical-align: 1.6em; }
.manifesto__foot {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.4);
}
.manifesto__foot .secondary { font-size: 10px; color: inherit; }

/* ==========================================================================
   Skills
   ========================================================================== */

.skills {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.32fr);
  gap: clamp(50px, 9vw, 155px);
  padding: clamp(120px, 13vw, 185px) var(--pad);
  background: var(--bg);
}
.skills__intro {
  position: sticky;
  top: 118px;
  align-self: start;
  min-height: 560px;
}
.skills__intro-inner { position: relative; z-index: 1; }
.skills__intro .eyebrow { margin-bottom: 20px; }
.skills__title {
  font-size: clamp(58px, 6.4vw, 94px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.skills__line {
  position: relative;
  display: inline-block;
  padding-right: 30px;
}
.skills__line > span { position: relative; z-index: 1; }
.skills__bar {
  position: absolute;
  top: 0.11em;
  right: -4px;
  width: clamp(20px, 2.4vw, 36px);
  height: 0.83em;
  background: var(--lime);
  z-index: 0;
}
.skills__line:nth-child(2) .skills__bar { top: auto; bottom: 0.05em; height: 0.78em; }
.skills__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 42px 0 24px;
}
.skills__text {
  max-width: 385px;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.9);
}
.skills__sign {
  display: block;
  margin-top: 20px;
  font-size: 10px;
  color: var(--gray);
}
.skills__wordmark {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(104px, 11.2vw, 164px);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}
.skills__groups { display: flex; flex-direction: column; gap: clamp(50px, 6vw, 78px); }
.skill-group { min-width: 0; }
.skill-group__head {
  display: flex;
  align-items: flex-start;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.skill-group__head h3 {
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.skill-group__cursor {
  width: clamp(15px, 1.5vw, 22px);
  height: 0.8em;
  background: var(--lime);
  margin-left: 5px;
  transform: translateY(0.08em);
  flex: none;
}
.skill-group__body {
  display: grid;
  grid-template-columns: clamp(54px, 6vw, 90px) minmax(0, 1fr);
  gap: 10px;
}
.skill-group__num { padding-top: 17px; color: rgba(255, 255, 255, 0.4); font-size: 10px; }
.skill-list { border-top: 1px solid var(--line); }
.skill-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 2px 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease, padding-left 0.35s var(--ease);
}
.skill-list li:hover { color: var(--lime); padding-left: 9px; }
.skill-list li .secondary { font-size: 9px; color: rgba(255, 255, 255, 0.42); }

/* ==========================================================================
   Philosophy
   ========================================================================== */

.philosophy {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  padding: clamp(120px, 14vw, 190px) var(--pad) 0;
  isolation: isolate;
  background: #0c0c0c;
}
.philosophy__mark {
  position: absolute;
  top: 44%;
  right: 0;
  z-index: -2;
  width: clamp(440px, 74vw, 1220px);
  aspect-ratio: 1 / 1;
  transform: translate(22%, -50%);
  background: linear-gradient(155deg, #ecece8 0%, #b3b3ae 44%, #6f6f6b 100%);
  -webkit-mask: url('../img/shift-logo-mark.png') center / contain no-repeat;
  mask: url('../img/shift-logo-mark.png') center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.philosophy__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/noise.png');
  background-size: 150px 150px;
  mix-blend-mode: overlay;
  opacity: 0.9;
}
@supports not ((mask: url('')) or (-webkit-mask: url(''))) {
  .philosophy__mark { display: none; }
}
.philosophy__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #111 0%, rgba(17, 17, 17, 0.32) 24%, rgba(17, 17, 17, 0.46) 68%, #111 100%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.62) 40%, rgba(17, 17, 17, 0.16) 76%, rgba(17, 17, 17, 0.42) 100%);
}
.philosophy__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - clamp(120px, 14vw, 190px));
}
.philosophy .eyebrow { margin-bottom: 30px; }
.philosophy__quote {
  max-width: 1290px;
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: 0.99;
  letter-spacing: -0.052em;
  color: var(--white);
}
.philosophy__quote .dim { color: #8c8c88; }
.philosophy__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.philosophy__signature {
  font-style: normal;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.philosophy__signature sup { font-size: 0.4em; vertical-align: 0.8em; }
.philosophy__portfolio {
  margin-top: auto;
  padding-top: clamp(50px, 9vw, 110px);
  font-size: clamp(48px, 13.7vw, 198px);
  line-height: 0.76;
  letter-spacing: -0.075em;
  color: var(--lime);
  white-space: nowrap;
  display: flex;
  align-items: flex-end;
  gap: 0.035em;
  padding-bottom: 0.08em;
}
.philosophy__portfolio-bar {
  display: inline-block;
  width: 0.035em;
  height: 0.74em;
  background: var(--lime);
  margin-bottom: 0.04em;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) var(--pad) 0 clamp(20px, 9vw, 130px);
  background: var(--bg);
}
.services__panel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: clamp(26px, 4.8vw, 68px);
  background:
    radial-gradient(90% 80% at 70% 100%, rgba(255, 255, 255, 0.82), transparent 55%),
    linear-gradient(148deg, #f2f2ef 0%, #d7d7d3 34%, #a9a9a5 72%, #7f7f7b 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}
.services__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/noise.png');
  background-size: 160px 160px;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.services__panel > * { position: relative; z-index: 1; }
.services__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(21, 21, 18, 0.62);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.services__title {
  margin-top: clamp(55px, 8vw, 110px);
  color: #151512;
  font-size: clamp(54px, 10vw, 146px);
  line-height: 0.83;
  letter-spacing: -0.067em;
  white-space: nowrap;
}
.services__title-word {
  display: inline-block;
  white-space: nowrap;
}
.services__asterisk {
  display: inline-block;
  font-size: 0.88em;
  transform: translateY(0.08em);
  margin-left: 0.03em;
}
.services__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(90px, 13vw, 180px);
  align-items: start;
}
.service-card--one { margin-top: clamp(30px, 4vw, 58px); }
.service-card--two { margin-top: 0; }
.service-card--three { margin-top: clamp(16px, 2.5vw, 34px); }
.service-card__label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
  color: #151512;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.service-card__label .secondary {
  font-size: 9px;
  color: rgba(21, 21, 18, 0.58);
  padding-top: 2px;
}
.service-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  min-height: clamp(340px, 27vw, 398px);
  padding: clamp(20px, 2.1vw, 30px);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0a0a;
  transition: background 0.4s ease, transform 0.55s var(--ease);
}
.service-card:hover .service-card__body { background: #131313; transform: translateY(-5px); }
.service-card__kicker { color: rgba(255, 255, 255, 0.35); font-size: 9px; }
.service-card__body p {
  margin-top: 14px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.92);
}
.service-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.46);
  flex: 1;
}
.service-card__tags li { position: relative; }
.service-card__tags li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.2);
}
.service-card__arrow {
  font-size: 24px;
  line-height: 1;
  color: var(--lime);
  transform: translate(0, 0);
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-card__arrow { transform: translate(4px, -4px); }

.services__outro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.4fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  margin-top: clamp(90px, 11vw, 160px);
}
.services__statement {
  max-width: 960px;
  font-size: clamp(30px, 3.55vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.services__statement .dim { color: #8c8c88; }
.services__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
  padding-bottom: 4px;
}
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--lime); border-color: var(--lime); }
.services__wordmark {
  margin-top: clamp(70px, 9vw, 125px);
  font-size: clamp(48px, 10.3vw, 158px);
  line-height: 0.74;
  letter-spacing: -0.075em;
  color: var(--lime);
  white-space: nowrap;
  display: flex;
  align-items: flex-end;
  gap: 0.05em;
}
.services__wordmark span { color: var(--lime); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  position: relative;
  min-height: 94svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(130px, 15vw, 210px) var(--pad) clamp(120px, 13vw, 180px);
  background: #101010;
  isolation: isolate;
}
.contact__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.7;
}
.contact__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 58% at 50% 50%, rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.82) 90%),
    linear-gradient(180deg, #111 0%, transparent 20%, transparent 76%, #111 100%);
}
.contact__inner { position: relative; z-index: 2; max-width: 1080px; text-align: center; }
.contact .eyebrow { margin-bottom: 32px; }
.contact__title {
  font-size: clamp(42px, 6.35vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.contact__title > span { display: block; }
.contact__title em {
  position: relative;
  isolation: isolate;
  font-style: normal;
  color: #111111;
}
.contact__title em::after {
  content: '';
  position: absolute;
  left: -0.03em; right: -0.03em; bottom: 0.04em;
  height: 0.78em;
  background: var(--lime);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.95s 0.25s var(--ease-out);
}
.contact.is-visible .contact__title em::after { transform: scaleX(1); }
.contact__cta { margin-top: clamp(38px, 5vw, 58px); }
.contact__email {
  display: block;
  width: max-content;
  margin: 22px auto 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.contact__email:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.contact__paren {
  position: absolute;
  top: 49%;
  z-index: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 31vw, 470px);
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.11);
  user-select: none;
  pointer-events: none;
}
.contact__paren--left { left: 1.2vw; }
.contact__paren--right { right: 1.2vw; }

/* Connect band */
.connect-band {
  display: block;
  overflow: hidden;
  padding-block: 0.04em 0.09em;
  background: var(--lime);
  color: #111111;
  border-block: 1px solid rgba(0, 0, 0, 0.12);
  transition: background 0.35s ease;
}
.connect-band:hover { background: var(--lime-strong); }
.connect-band__track {
  display: flex;
  width: max-content;
  animation: connect-slide 34s linear infinite;
  will-change: transform;
}
.connect-band:hover .connect-band__track { animation-play-state: paused; }
.connect-band__group {
  display: flex;
  align-items: center;
  flex: none;
  padding-right: 0.32em;
  font-size: clamp(62px, 10.3vw, 148px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.connect-band__c {
  font-size: 0.52em;
  opacity: 0.55;
  margin-inline: clamp(16px, 2.4vw, 38px);
}
@keyframes connect-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: clamp(70px, 8vw, 100px) var(--pad) 26px;
  background: #0b0b0b;
  border-top: 1px solid var(--line-soft);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: clamp(50px, 8vw, 140px);
  align-items: start;
}
.site-footer__wordmark {
  display: block;
  width: min(226px, 60vw);
  height: auto;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}
.plaque {
  width: min(100%, 312px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-family: var(--font-secondary);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--white);
}
.plaque__top {
  padding: 9px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}
.plaque__row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: stretch;
}
.plaque__row > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
}
.plaque__row > *:last-child { border-right: 0; }
.plaque__globe { color: rgba(255, 255, 255, 0.9); }
.plaque__globe svg { width: 24px; height: 24px; }
.plaque__work {
  text-align: center;
  font-size: 8px;
  line-height: 1.18;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.plaque__code {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding-inline: 10px;
  white-space: nowrap;
}
.plaque__code strong { font-size: 10px; font-weight: 400; letter-spacing: 0.06em; }
.plaque__code span { color: rgba(255, 255, 255, 0.58); font-size: 8px; }
.plaque__code::after {
  content: '';
  width: 24px;
  height: 13px;
  margin-top: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0 1px, transparent 1px 2px, rgba(255, 255, 255, 0.85) 2px 4px, transparent 4px 6px);
  opacity: 0.65;
}
.site-footer__copyright {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  line-height: 1.5;
}
.site-footer__connect { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.site-footer__label { margin-bottom: 20px; color: rgba(255, 255, 255, 0.34); font-size: 9px; }
.footer-socials {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 64px);
  font-size: 15px;
  line-height: 1.2;
}
.footer-socials a {
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease;
}
.footer-socials a:hover { color: var(--lime); }
.footer-socials span { font-size: 9px; color: var(--gray); }
.site-footer__email {
  margin-top: clamp(30px, 4vw, 50px);
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.site-footer__email:hover { color: var(--white); border-color: var(--lime); }
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(55px, 7vw, 88px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: rgba(255, 255, 255, 0.35);
}
.site-footer__bottom .secondary { font-size: 9px; color: inherit; }
.back-to-top { color: rgba(255, 255, 255, 0.55); transition: color 0.25s ease; }
.back-to-top:hover { color: var(--white); }

/* ==========================================================================
   Project modal
   ========================================================================== */

.project-modal {
  width: min(1120px, 92vw);
  max-width: none;
  max-height: 90svh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: #0c0c0c;
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}
.project-modal::backdrop {
  background: rgba(4, 4, 4, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.project-modal[open] { animation: modal-in 0.5s var(--ease-out); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.project-modal__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  height: min(700px, 86svh);
}
.project-modal__media { position: relative; min-height: 0; background: #151515; }
.project-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.project-modal__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3.2vw, 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #0c0c0c;
}
.project-modal__index { color: var(--lime); font-size: 10px; }
.project-modal__title {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.project-modal__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.project-modal__meta span:last-child { color: var(--gray); flex: none; }
.project-modal__desc {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.64);
  max-width: 40ch;
}
.project-modal__link { align-self: flex-start; margin-top: auto; }
.project-modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.project-modal__step {
  font-family: var(--font-secondary);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.25s ease;
}
.project-modal__step:hover { color: var(--white); }
.project-modal__step:disabled { opacity: 0.25; pointer-events: none; }
.project-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}
.project-modal__close:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(90deg);
}

/* ==========================================================================
   Reveals
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .site-nav { left: 38%; }
  .hero__inner { grid-template-columns: minmax(220px, 22vw) minmax(0, 1fr); gap: clamp(36px, 7vw, 90px); }
  .works { grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.5fr); gap: clamp(38px, 5vw, 70px); }
  .works__list-head,
  .work-row { grid-template-columns: 46px minmax(130px, 1.1fr) minmax(160px, 1.5fr) 46px 16px; }
  .skills { gap: clamp(40px, 6vw, 80px); }
  .skill-group__body { grid-template-columns: 58px minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  .site-nav { left: 34%; }
  .site-nav__main { gap: 38px; }
  .hero__title { font-size: clamp(40px, 5.4vw, 66px); }
  .works__title { font-size: clamp(44px, 4.6vw, 62px); }
  .services__title { font-size: clamp(54px, 9.4vw, 104px); }
  .service-card__body { min-height: 350px; }
  .service-card__tags { gap: 3px 8px; }
  .service-card__tags li:not(:last-child)::after { margin-left: 8px; }
}

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { padding-block: 20px; }
  .hero__inner { padding-top: 132px; grid-template-columns: minmax(210px, 22vw) minmax(0, 1fr); gap: clamp(32px, 6vw, 60px); }
  .hero__title { font-size: clamp(38px, 5.2vw, 54px); }
  .works { grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.55fr); gap: 32px; }
  .works__list-head,
  .work-row { grid-template-columns: 42px minmax(112px, 1.05fr) minmax(130px, 1.35fr) 40px 14px; gap: 8px; }
  .work-row__cat { font-size: 11px; }
  .skills { grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr); gap: 38px; }
  .skills__title { font-size: clamp(52px, 6.7vw, 68px); }
  .skills__text { font-size: 17px; }
  .services { padding-left: clamp(20px, 6vw, 64px); }
  .service-card__body { min-height: 360px; gap: 30px; }
  .service-card__body p { font-size: 17px; }
  .service-card__label { font-size: 15px; }
  .philosophy__quote { font-size: clamp(40px, 6vw, 62px); }
  .contact__title { font-size: clamp(40px, 6.7vw, 68px); }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 120px;
    padding-bottom: 32px;
  }
  .hero__portrait { width: min(56vw, 300px); max-width: none; }
  .hero__title { font-size: clamp(36px, 6.6vw, 52px); max-width: 680px; }
  .hero__bottom { padding-bottom: 22px; }
  .works { grid-template-columns: 1fr; gap: 44px; }
  .works__intro { position: static; }
  .works__title { font-size: clamp(56px, 8.6vw, 84px); }
  .works__list-head,
  .work-row { grid-template-columns: 52px minmax(140px, 1.15fr) minmax(160px, 1.4fr) 48px 16px; }
  .skills { grid-template-columns: 1fr; gap: 64px; }
  .skills__intro { position: static; min-height: 0; }
  .skills__title { font-size: clamp(58px, 9vw, 82px); }
  .skills__text { max-width: 460px; }
  .skills__wordmark { display: none; }
  .skills__groups { gap: 48px; }
  .skill-group__body { grid-template-columns: 64px minmax(0, 1fr); }
  .skill-group__head h3 { font-size: clamp(28px, 4.2vw, 36px); }
  .skill-list li { font-size: 18px; }
  .services { padding-left: var(--pad); padding-right: var(--pad); }
  .services__panel { padding: clamp(24px, 4vw, 40px); }
  .services__title { font-size: clamp(54px, 11vw, 92px); white-space: normal; line-height: 0.9; }
  .services__cards { grid-template-columns: 1fr; gap: 26px; margin-top: 70px; }
  .service-card--one,
  .service-card--three { margin-top: 0; }
  .service-card__label { font-size: 19px; }
  .service-card__body { min-height: 280px; }
  .service-card__body p { font-size: 21px; max-width: 500px; }
  .services__outro { grid-template-columns: 1fr; gap: 32px; }
  .services__meta { align-items: flex-start; text-align: left; }
  .services__statement { font-size: clamp(30px, 5vw, 44px); }
  .services__wordmark { font-size: clamp(46px, 11vw, 110px); }
  .philosophy { padding-top: 120px; }
  .philosophy__quote { font-size: clamp(38px, 6vw, 58px); }
  .philosophy__inner { min-height: calc(100svh - 120px); }
  .site-footer__top { grid-template-columns: 1fr; gap: 50px; }
  .site-footer__connect { align-items: flex-start; text-align: left; }
  .footer-socials { gap: 34px; }
  .site-footer__bottom { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .cursor { display: none !important; }
  html.has-cursor,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor .work-row { cursor: auto; }
  .hero { min-height: 100svh; }
  .hero__media img { object-position: 54% 38%; filter: brightness(0.72) contrast(1.03); }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.25) 30%, rgba(17, 17, 17, 0.82) 78%, #111 100%),
      linear-gradient(90deg, rgba(17, 17, 17, 0.5), transparent 80%);
  }
  .hero__inner { padding-top: 112px; gap: 22px; }
  .hero__portrait { width: min(62vw, 290px); }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__title { font-size: clamp(35px, 9.1vw, 50px); line-height: 0.93; letter-spacing: -0.048em; }
  .hero__bottom { grid-template-columns: 1fr auto; padding-bottom: 20px; }
  .hero__year { display: none; }
  .scroll-cue { justify-self: start; font-size: 11px; }
  .scroll-cue__line { width: 26px; }
  .hero__cta { gap: 10px; padding-left: 15px; font-size: 9px; }
  .pill-btn__arrow { width: 28px; height: 28px; font-size: 12px; }
  .marquee__item { font-size: clamp(48px, 12vw, 76px); }
  .marquee__sep { font-size: 30px; margin-inline: 16px; }
  .works { padding-top: 100px; gap: 34px; }
  .works__title { font-size: clamp(54px, 14.5vw, 76px); }
  .works__list-head { display: none; }
  .work-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 10px;
    min-height: 0;
    padding: 16px 0;
  }
  .work-row__index { grid-row: 1 / 3; align-self: start; padding-top: 3px; }
  .work-row__name { grid-column: 2; grid-row: 1; font-size: 18px; }
  .work-row__year { grid-column: 3; grid-row: 1; font-size: 9px; padding-top: 4px; }
  .work-row__cat { grid-column: 2 / 4; grid-row: 2; font-size: 11px; padding-right: 10px; }
  .work-row__arrow { display: none; }
  .work-row:hover { padding-left: 4px; }
  .work-preview { display: none; }
  .manifesto { min-height: 72svh; padding-block: 90px; }
  .manifesto__title { font-size: clamp(44px, 12.2vw, 82px); line-height: 0.9; }
  .manifesto__foot { bottom: 22px; }
  .manifesto__foot .secondary:nth-child(2) { display: none; }
  .manifesto__label { top: 24px; }
  .skills { padding-block: 100px; gap: 52px; }
  .skills__title { font-size: clamp(54px, 14.8vw, 78px); }
  .skills__rule { margin-top: 30px; }
  .skills__text { font-size: 18px; }
  .skill-group__body { grid-template-columns: 42px minmax(0, 1fr); }
  .skill-group__num { padding-top: 14px; font-size: 9px; }
  .skill-list li { font-size: 16px; padding-block: 13px; }
  .skill-group__head { margin-bottom: 20px; }
  .skill-group__head h3 { font-size: clamp(25px, 6.8vw, 32px); }
  .philosophy { padding-top: 100px; }
  .philosophy__quote { font-size: clamp(34px, 8.6vw, 52px); line-height: 1.01; }
  .philosophy__meta { margin-top: 34px; }
  .philosophy__signature { font-size: 20px; }
  .philosophy__portfolio { font-size: clamp(44px, 13.8vw, 92px); padding-top: 70px; }
  .philosophy__inner { min-height: calc(100svh - 100px); }
  .services { padding-top: 92px; }
  .services__panel { padding: 22px 18px 24px; border-radius: 8px; }
  .services__topline { font-size: 8px; }
  .services__topline span:nth-child(2) { display: none; }
  .services__title { font-size: clamp(48px, 13.5vw, 76px); margin-top: 48px; }
  .services__cards { margin-top: 56px; gap: 22px; }
  .service-card__body { min-height: 250px; padding: 22px; gap: 26px; }
  .service-card__body p { font-size: 19px; }
  .service-card__label { font-size: 17px; }
  .services__outro { margin-top: 74px; }
  .services__statement { font-size: clamp(27px, 7.1vw, 38px); }
  .services__wordmark { font-size: clamp(38px, 11.4vw, 80px); margin-top: 60px; }
  .contact { min-height: 82svh; padding-block: 120px; }
  .contact__title { font-size: clamp(36px, 9.2vw, 58px); }
  .contact__paren { font-size: 52vw; top: 43%; color: rgba(255, 255, 255, 0.075); }
  .contact__paren--left { left: -6vw; }
  .contact__paren--right { right: -6vw; }
  .contact__cta { margin-top: 34px; }
  .contact__email { font-size: 11px; }
  .connect-band__group { font-size: clamp(56px, 15.5vw, 92px); }
  .site-footer { padding-top: 64px; }
  .plaque { width: 100%; max-width: 330px; }
  .footer-socials { flex-wrap: wrap; gap: 18px 30px; }
  .site-footer__email { font-size: 14px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 44px; }
  .project-modal { width: calc(100vw - 24px); max-height: 92svh; }
  .project-modal__grid { grid-template-columns: 1fr; height: auto; max-height: 88svh; }
  .project-modal__media { height: 32svh; min-height: 190px; }
  .project-modal__body { max-height: 56svh; padding: 22px 20px 26px; gap: 14px; }
  .project-modal__title { font-size: 38px; }
  .project-modal__desc { font-size: 15px; }
  .project-modal__link { margin-top: 8px; }
  .preloader { padding: 20px 20px 30px; }
  .preloader__center { gap: 18px; }
  .preloader__count { font-size: 30vw; }
  .preloader__bottom .secondary { display: none; }
  .preloader__word { font-size: 16px; }
  .preloader__top .secondary:last-child { display: none; }
  body::after { opacity: 0.02; }
}

@media (max-width: 430px) {
  .hero__portrait { width: 58vw; }
  .hero__title { font-size: clamp(33px, 9.4vw, 43px); }
  .hero__bottom { gap: 10px; }
  .scroll-cue { gap: 8px; }
  .scroll-cue__line { width: 20px; }
  .hero__cta { padding-left: 13px; gap: 8px; }
  .hero__cta .pill-btn__arrow { width: 26px; height: 26px; }
  .works__title { font-size: clamp(48px, 14vw, 62px); }
  .work-row__name { font-size: 17px; }
  .services__title { font-size: clamp(43px, 13.3vw, 62px); }
  .service-card__label { font-size: 16px; }
  .service-card__body p { font-size: 18px; }
  .services__wordmark { font-size: clamp(34px, 11vw, 54px); }
  .philosophy__portfolio { font-size: clamp(42px, 13.2vw, 60px); }
  .contact__title { font-size: clamp(30px, 9.2vw, 40px); }
  .footer-socials { gap: 16px 24px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track,
  .connect-band__track { animation: none !important; }
  .work-preview { display: none; }
  .js [data-reveal],
  .js [data-hero],
  .js .hero__bottom > * { opacity: 1 !important; transform: none !important; }
  .contact__title em::after { transform: scaleX(1); }
}
