/* ============================================
   WE OUTSIDE — style.css
   Production-ready shared stylesheet
   ============================================ */

/* ────────────────────────────────────────────
   01. DESIGN TOKENS
   ──────────────────────────────────────────── */
:root {
  --red: #C8181A;
  --red-light: #E8352A;
  --red-dark: #9F1012;
  --red-dim: rgba(200, 24, 26, 0.14);

  --black: #080808;
  --black-true: #000000;
  --off-black: #0E0E0E;
  --dark: #111111;
  --dark-card: #161616;
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --warm-white: #FAF8F3;

  --text-dark: #161616;
  --text-muted: #6B6B6B;
  --text-light: rgba(255, 255, 255, 0.62);
  --text-light-soft: rgba(255, 255, 255, 0.45);
  --text-light-faint: rgba(255, 255, 255, 0.24);
  --text-light-strong: rgba(255, 255, 255, 0.88);

  --border-light: rgba(0, 0, 0, 0.07);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-strong: rgba(255, 255, 255, 0.14);

  --font-display: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --container-pad: 40px;
  --container-pad-mobile: 22px;

  --nav-height: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ────────────────────────────────────────────
   02. BASE RESET
   ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--off-white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* ────────────────────────────────────────────
   03. LAYOUT UTILITIES
   ──────────────────────────────────────────── */
.container {
  width: min(100% - (var(--container-pad) * 2), var(--container));
  margin-inline: auto;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.label.light {
  color: rgba(255, 255, 255, 0.52);
}

.label i {
  font-size: 12px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
}

.section-title {
  margin-top: 16px;
  max-width: 760px;
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

/* ────────────────────────────────────────────
   04. BUTTONS
   ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 30px;
  border: 1.5px solid var(--red);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  background: var(--red-light);
  border-color: var(--red-light);
}

.btn:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--white);
}

.btn-dark {
  background: transparent;
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--black);
}

/* ────────────────────────────────────────────
   05. ANIMATIONS
   ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.12);
  }
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes heroDrift {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.16) translate3d(-1.5%, -2%, 0); }
}

/* ────────────────────────────────────────────
   06. MAIN NAVIGATION
   Important: scoped to #mainNav so footer <nav> is not affected.
   ──────────────────────────────────────────── */
#mainNav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

#mainNav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--white);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-social a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: calc(var(--nav-height) + 24px) 32px calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition:
    transform 0.42s var(--ease-smooth),
    opacity 0.25s ease,
    visibility 0s linear 0.42s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    transform 0.42s var(--ease-smooth),
    opacity 0.25s ease,
    visibility 0s linear 0s;
}

.mobile-menu a {
  padding: 12px 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 48px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  transition: color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: var(--red);
}

.mobile-menu .mm-cta {
  color: var(--red);
}

.mobile-menu-social {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.mobile-menu-social a {
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

/* ────────────────────────────────────────────
   07. HERO — HOME
   ──────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

@supports (height: 100dvh) {
  .hero { height: 100dvh; }
}

.hero-bg,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url('banner.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: heroDrift 24s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(200, 24, 26, 0.18) 0%, transparent 55%),
    linear-gradient(to top, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.55) 42%, rgba(8, 8, 8, 0.2) 100%);
}

.hero-grain {
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
}

.hero-eyebrow {
  margin-bottom: 22px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero h1 {
  max-width: 14ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero h1 em {
  color: var(--text-light-strong);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  max-width: 460px;
  margin-top: 26px;
  color: var(--text-light);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-stat-row {
  position: absolute;
  right: max(var(--container-pad), calc((100vw - var(--container)) / 2));
  bottom: 88px;
  z-index: 2;
  display: flex;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.hero-stat {
  text-align: right;
}

.hero-stat-num {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.hero-stat-num span {
  color: var(--red);
}

.hero-stat-label {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-50%);
  animation: fadeUp 0.8s 1.3s forwards;
}

.hero-scroll-text {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.32), transparent);
  animation: scrollPulse 2s infinite;
}

/* ────────────────────────────────────────────
   08. INNER PAGE HERO — ABOUT / CONTACT
   ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 200px 0 120px;
  background: var(--black);
}

.page-hero-grain,
.page-hero-glow {
  position: absolute;
  pointer-events: none;
}

.page-hero-grain {
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.page-hero-glow {
  width: 720px;
  height: 720px;
  top: -180px;
  right: -200px;
  z-index: -2;
  background: radial-gradient(circle, rgba(200, 24, 26, 0.22) 0%, transparent 65%);
  filter: blur(40px);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.page-hero h1 {
  margin: 24px 0 32px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-hero h1 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.page-hero-sub {
  max-width: 580px;
  color: var(--text-light);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
}

/* ────────────────────────────────────────────
   09. INTRO — HOME
   ──────────────────────────────────────────── */
.section-intro {
  padding: 140px 0 120px;
  background: var(--warm-white);
}

.intro-inner {
  max-width: 1000px;
}

.pull-quote-wrap {
  margin: 36px 0 56px;
  padding-left: 40px;
  border-left: 3px solid var(--red);
}

.pull-quote {
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.pull-quote em {
  color: var(--red);
  font-style: italic;
}

.intro-body {
  max-width: 680px;
  color: #2A2A2A;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
}

.intro-body p + p {
  margin-top: 20px;
}

.intro-body strong {
  color: var(--black);
  font-weight: 700;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 76px;
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.stat-item {
  padding: 38px 36px 34px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stat-num {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat-label {
  margin-top: 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────
   10. SELECTED WORK — HOME
   ──────────────────────────────────────────── */
.section-work {
  padding: 120px 0;
  background: var(--white);
}

.exp-grid-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.exp-card,
.exp-feature,
.exp-tempo {
  background: var(--dark);
}

.exp-card {
  position: relative;
  overflow: hidden;
}

.exp-img,
.exp-feature-img,
.exp-tempo-img,
.team-card,
.ig-item {
  background: var(--dark);
}

.exp-img {
  position: relative;
  overflow: hidden;
}

.ratio-square .exp-img,
.exp-img.ratio-square {
  aspect-ratio: 1 / 1;
}

.ratio-wide .exp-img,
.exp-img.ratio-wide {
  aspect-ratio: 4 / 3;
}

.exp-img img,
.exp-feature-img img,
.exp-tempo-img img,
.team-card img,
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-img img {
  filter: brightness(0.78);
  transition: transform 0.7s var(--ease-out), filter 0.4s ease;
}

.exp-card:hover .exp-img img {
  transform: scale(1.04);
}

.exp-body {
  padding: 28px 28px 32px;
}

.exp-num {
  margin-bottom: 12px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.exp-title {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.exp-desc {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.exp-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.4;
}

.exp-meta i {
  width: 12px;
  flex: 0 0 12px;
  color: var(--red);
  font-size: 11px;
}

.exp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: 22px;
}

.exp-feature .exp-feature-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.exp-feature .exp-feature-img img {
  filter: brightness(0.68);
  transition: transform 0.7s var(--ease-out), filter 0.4s ease;
}

.exp-feature:hover .exp-feature-img img {
  transform: scale(1.03);
}

.exp-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 52px;
  background: #111111;
}

.exp-feature-content .exp-title {
  font-size: clamp(28px, 3.4vw, 38px);
}

.exp-feature-content .exp-desc {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.7;
}

.exp-tempo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}

.exp-tempo .exp-tempo-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.exp-tempo .exp-tempo-img img {
  object-position: center 25%;
  filter: brightness(0.45);
  transition: transform 0.8s var(--ease-out), filter 0.4s ease;
}

.exp-tempo:hover .exp-tempo-img img {
  transform: scale(1.03);
}

.exp-tempo-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(8, 8, 8, 0.8) 36%, rgba(8, 8, 8, 0.16) 100%);
}

.exp-tempo-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 56px 80px;
}

.exp-tempo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.work-cta {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

/* ────────────────────────────────────────────
   11. WHAT WE DO — DARK SECTION
   ──────────────────────────────────────────── */
.section-do {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background: var(--off-black);
}

.do-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 80px 80px;
}

.do-inner {
  position: relative;
  z-index: 2;
}

.do-headline {
  max-width: 16ch;
  margin: 20px 0 36px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.do-headline em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.do-body {
  max-width: 600px;
  margin-bottom: 72px;
  color: var(--text-light);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.pillar {
  padding: 44px 40px 40px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.pillar-num {
  margin-bottom: 20px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.pillar h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.pillar p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

/* ────────────────────────────────────────────
   12. PARTNERS
   ──────────────────────────────────────────── */
.section-partners {
  padding: 100px 0;
  background: var(--warm-white);
}

.partners-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.partners-desc {
  max-width: 520px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--warm-white), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--warm-white), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.marquee-track img {
  width: auto;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 1;
  filter: none;
  transition: transform 0.25s ease;
}

.marquee-track img:hover {
  transform: scale(1.08);
}

/* ────────────────────────────────────────────
   13. TEAM
   ──────────────────────────────────────────── */
.section-team {
  padding: 120px 0 140px;
  background: var(--white);
}

.team-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.team-header h2 {
  margin-top: 16px;
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin-top: 56px;
}

.team-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.team-card img {
  filter: grayscale(0.25) brightness(0.78);
  transition: transform 0.6s var(--ease-out), filter 0.35s ease;
}

.team-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0) brightness(0.62);
}

.team-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, transparent 50%);
}

.team-name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

/* ────────────────────────────────────────────
   14. INSTAGRAM FEED
   ──────────────────────────────────────────── */
.section-feed {
  padding: 100px 0;
  background: var(--black);
}

.feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 48px;
}

.feed-title {
  margin-top: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.ig-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.ig-item {
  position: relative;
  overflow: hidden;
}

.ig-item:first-child {
  grid-row: span 2;
}

.ig-item img {
  aspect-ratio: 1 / 1;
  filter: brightness(0.82);
  transition: transform 0.5s var(--ease-out), filter 0.3s ease;
}

.ig-item:first-child img {
  height: 100%;
  aspect-ratio: auto;
}

.ig-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.55);
}

/* ────────────────────────────────────────────
   15. FOOTER
   ──────────────────────────────────────────── */
footer {
  overflow: hidden;
  padding: 80px 0 48px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
  padding-bottom: 56px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  min-width: 0;
}

.footer-logo img {
  width: auto;
  height: 40px;
  margin-bottom: 22px;
  object-fit: contain;
}

.footer-tagline {
  max-width: 500px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.footer-tagline em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 230px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--white);
  transform: translateX(-2px);
}

.footer-social a i {
  width: 18px;
  flex: 0 0 18px;
  font-size: 16px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* Reset footer nav fully. It is a <nav>, but it must NOT behave like #mainNav. */
.footer-nav {
  position: static;
  inset: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px 28px;
  width: auto;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  transform: none;
  visibility: visible;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.68);
}

/* ────────────────────────────────────────────
   16. CONTACT LOCATION / MAP
   ──────────────────────────────────────────── */
.section-location {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--black);
}

.section-location .location-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 80px 80px;
}

.section-location .location-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.section-location .loc-heading {
  margin: 20px 0 28px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.section-location .loc-heading em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.section-location .loc-body {
  max-width: 460px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.loc-map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0B0B0B;
  border: 1px solid var(--border-dark);
}

.loc-map-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loc-map-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px;
  pointer-events: none;
}

.loc-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loc-coords {
  margin-top: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.loc-est {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────
   17. RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 26px; }

  .hero-stat-row {
    right: var(--container-pad);
    gap: 34px;
  }
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section-intro { padding: 100px 0 90px; }
  .section-work,
  .section-team { padding: 90px 0; }
  .section-do { padding: 100px 0; }
  .section-location { padding: 90px 0; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .exp-grid-top,
  .exp-feature,
  .section-location .location-inner {
    grid-template-columns: 1fr;
  }

  .exp-feature .exp-feature-img {
    min-height: 360px;
  }

  .exp-feature-content {
    padding: 42px 34px;
  }

  .exp-tempo-content {
    padding: 48px 34px;
  }

  .pillars,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .partners-head {
    align-items: flex-start;
  }

  .ig-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .ig-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .ig-item:first-child img {
    aspect-ratio: 2 / 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 46px;
  }

  .footer-social {
    align-items: flex-start;
  }

  .footer-social a:hover {
    transform: translateX(2px);
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .hero-stat-row {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: var(--container-pad-mobile);
  }

  .container {
    width: min(100% - (var(--container-pad-mobile) * 2), var(--container));
  }

  .page-hero {
    padding: 150px 0 88px;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .logo img {
    height: 34px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 64px;
  }

  .hero h1 {
    letter-spacing: -0.055em;
  }

  .hero-scroll {
    display: none;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .pull-quote-wrap {
    margin: 28px 0 40px;
    padding-left: 24px;
  }

  .intro-body {
    font-size: 16px;
  }

  .stat-item,
  .pillar {
    padding: 34px 26px 30px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-overlay {
    padding: 20px;
  }

  .team-name {
    font-size: 17px;
  }

  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 60px;
  }

  .marquee-track {
    gap: 52px;
  }

  footer {
    padding-bottom: calc(42px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    gap: 44px;
    padding-bottom: 46px;
    margin-bottom: 34px;
  }

  .footer-social {
    gap: 18px;
    width: 100%;
  }

  .footer-social a {
    width: 100%;
    word-break: break-word;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-nav {
    order: 1;
    justify-content: flex-start;
    width: 100%;
    gap: 14px 22px;
  }

  .footer-copy {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .loc-map-overlay {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .mobile-menu {
    padding-inline: 24px;
  }

  .mobile-menu a {
    font-size: clamp(32px, 11vw, 42px);
  }

  .hero-sub,
  .page-hero-sub,
  .do-body,
  .section-location .loc-body {
    font-size: 15.5px;
  }

  .exp-body,
  .exp-feature-content,
  .exp-tempo-content {
    padding: 30px 24px;
  }

  .exp-tempo {
    min-height: 560px;
  }

  .exp-tempo-overlay {
    background: linear-gradient(to top, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.58) 58%, rgba(8, 8, 8, 0.22) 100%);
  }

  .ig-grid {
    grid-template-columns: 1fr;
  }

  .ig-item:first-child {
    grid-column: span 1;
  }

  .ig-item:first-child img {
    aspect-ratio: 1 / 1;
  }

  .footer-logo img {
    height: 36px;
  }
}

/* ────────────────────────────────────────────
   18. ACCESSIBILITY / REDUCED MOTION
   ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    animation: none;
    transform: scale(1.08);
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}