/* =========================================================
   BiG. Brand Imagination Group
   Global Stylesheet
   Matches GoBig.NYC visual identity exactly
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f2f0eb;
  --mid-gray: #888888;
  --light-gray: #cccccc;
  --dark-gray: #111111;
  --purple-dark: #1E163F;
  --purple-mid: #523D68;
  --purple-light: #9980B9;
  --purple-header-bg: rgba(30, 22, 63, 0.95);
  --gold: #FFD86B;
  --gold-soft: #F7E89C;
  --paint-texture-url: url('https://images.squarespace-cdn.com/content/682cd98a9fd43f6cdeba16e3/590c2e7b-9d0f-49a7-a443-ad39efa65a73/Site+Paint+Banner+copy.png');
  --site-gutter: 4vw;
  --max-width: 1600px;
  --header-height: 96px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --reveal-duration: 0.65s;
  --reveal-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--purple-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 9rem);
  letter-spacing: -0.005em;
}
h2 { font-size: clamp(2rem, 5vw, 6rem); }
h3 { font-size: clamp(1.5rem, 3vw, 3.5rem); }
h4 { font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 600; }

.font-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--light-gray);
  max-width: 700px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--site-gutter);
  height: var(--header-height);
  background: var(--purple-header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), opacity var(--transition);
}

/* --- Paint Texture Header --- */
.paint-header {
  background-image: var(--paint-texture-url);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.site-logo sup {
  font-size: 0.5em;
  letter-spacing: 0;
  vertical-align: super;
  opacity: 0.6;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.78;
  transition: opacity var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 14px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-toggle:hover { background: rgba(0, 0, 0, 0.6); transform: scale(1.04); }
.nav-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.95); border-color: rgba(255, 255, 255, 0.95); }

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease, background 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span { background: #1a0a2e; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scale(0.5); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* --- Page Base --- */
.page-wrapper {
  padding-top: var(--header-height);
  min-height: 100vh;
}

/* --- Section Utility --- */
.section {
  padding: clamp(4rem, 8vw, 10rem) var(--site-gutter);
}

.section--black { background: var(--purple-dark); }
.section--dark { background: var(--purple-mid); }

.section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 3rem 0;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 6vw, 8rem) var(--site-gutter);
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}

/* Full-bleed background video: covers any aspect ratio */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--purple-dark);
}
.hero__video iframe,
.hero__video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 16:9 height as a function of width */
  min-width: 177.78vh;    /* keep covered when viewport is taller than wide */
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 9.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero__tagline em {
  font-style: normal;
  color: var(--white);
}

.hero__tagline .accent {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

.hero__sub {
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  max-width: 600px;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--site-gutter);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-gray);
  writing-mode: vertical-rl;
  z-index: 2;
}

/* --- Work Grid --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
  padding: 0 var(--site-gutter);
  background: var(--black);
}

.work-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  cursor: pointer;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
}

.work-item:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 32px 56px rgba(0,0,0,0.5), 0 12px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  z-index: 3;
}

.work-item:active {
  transform: translateY(-4px) scale(1.005);
  transition-duration: 0.18s;
}

.work-item__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.9s ease;
  filter: saturate(0.85);
}

.work-item:hover .work-item__bg {
  transform: scale(1.08);
  filter: saturate(1.15);
}

.work-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.35) 100%);
  transition: background var(--transition);
  z-index: 1;
}

.work-item:hover .work-item__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.2) 100%);
}

.work-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 2.5rem 2rem;
  z-index: 2;
}

.work-item__brand {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.65rem;
  transition: color 0.4s ease;
}

.work-item:hover .work-item__brand {
  color: rgba(255,255,255,0.95);
}

.work-item__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-item:hover .work-item__title {
  transform: translateX(8px);
}

.work-item__line {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin-top: 1rem;
  max-width: 42ch;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s;
}

.work-item:hover .work-item__line {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .work-item__line {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255,255,255,0.75);
  }
}

/* --- Featured Work (Homepage) --- */
.featured-work {
  padding: clamp(4rem, 8vw, 10rem) 0;
  background: var(--black);
}

.featured-work__header {
  padding: 0 var(--site-gutter) 3rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.featured-work__link {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.featured-work__link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* --- Showreel / Video Embed --- */
.showreel {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #111;
  overflow: hidden;
}

.showreel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.showreel__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-gray);
  cursor: pointer;
}

.showreel__play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.showreel__play:hover {
  background: var(--white);
  transform: scale(1.08);
}

.showreel__play svg {
  fill: var(--white);
  width: 24px;
  height: 24px;
  margin-left: 4px;
  transition: fill var(--transition);
}

.showreel__play:hover svg {
  fill: var(--black);
}

.showreel__label {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* --- Beliefs / Core Copy --- */
.beliefs {
  padding: clamp(5rem, 10vw, 12rem) var(--site-gutter);
  background: var(--black);
  max-width: var(--max-width);
  margin: 0 auto;
}

.beliefs__statement {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
}

.beliefs__statement em {
  font-style: normal;
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.team-member {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark-gray);
}

.team-member__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.team-member:hover .team-member__img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-member__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.team-member__name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-member__title {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: 0.25rem;
}

/* --- Press Grid --- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  padding: 0 var(--site-gutter);
}

.press-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  background: var(--dark-gray);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
}

.press-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease, filter 0.9s ease;
  filter: grayscale(30%);
}

.press-item:hover .press-item__img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.press-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.2) 100%);
  transition: background var(--transition);
}

.press-item:hover .press-item__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%);
}

.press-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  z-index: 2;
}

.press-item__date {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}

.press-item__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* --- SweetSpotter Section --- */
.sweetspotter {
  padding: clamp(5rem, 10vw, 12rem) var(--site-gutter);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sweetspotter__eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 2rem;
}

.sweetspotter__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2.5rem;
  max-width: 1000px;
}

.sweetspotter__body {
  max-width: 620px;
  margin-bottom: 3rem;
}

.sweetspotter__body p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.sweetspotter__pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}

.sweetspotter__pillar {
  padding: 2.75rem 2.25rem;
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.55s ease, border-color 0.55s ease;
  will-change: transform;
  transform: translateZ(0);
}

.sweetspotter__pillar-num {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}

.sweetspotter__pillar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.sweetspotter__pillar p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: none;
}

/* ============================================
   UNIVERSAL DELICIOUS BUTTON
   - Gold gradient pill, bold uppercase
   - Grows on hover with cursor-position tilt
   - Active state tactile feedback
   - .btn = default (gold filled)
   - .btn--outline = transparent + gold border
   - .btn--gold = explicit gold (alias to default for clarity in markup)
   ============================================ */
.btn,
.btn-big-believe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1E163F;
  background: linear-gradient(135deg, #F7E89C 0%, #E8C547 35%, #FFD86B 65%, #F7E89C 100%);
  background-size: 220% 220%;
  border: none;
  padding: 1.15rem 2.6rem;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(232, 197, 71, 0.4), 0 0 0 0 rgba(247, 232, 156, 0.0);
  animation: btnShimmer 6s ease-in-out infinite, btnGlowIdle 3.2s ease-in-out infinite;
  transform: perspective(700px) rotateX(var(--btn-rx, 0deg)) rotateY(var(--btn-ry, 0deg)) translateY(0) scale(1);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, letter-spacing 0.35s ease, padding 0.35s ease;
  will-change: transform;
}
.btn::after,
.btn-big-believe::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover,
.btn-big-believe:hover {
  transform: perspective(700px) rotateX(var(--btn-rx, 0deg)) rotateY(var(--btn-ry, 0deg)) translateY(-4px) scale(1.07);
  box-shadow: 0 22px 56px rgba(232, 197, 71, 0.6), 0 0 0 8px rgba(247, 232, 156, 0.16);
  letter-spacing: 0.22em;
}
.btn:hover::after,
.btn-big-believe:hover::after { transform: translateX(7px); }
.btn:active,
.btn-big-believe:active {
  transform: perspective(700px) rotateX(var(--btn-rx, 0deg)) rotateY(var(--btn-ry, 0deg)) translateY(-1px) scale(1.02);
  box-shadow: 0 12px 28px rgba(232, 197, 71, 0.45), inset 0 2px 8px rgba(30, 22, 63, 0.15);
}
.btn:focus-visible,
.btn-big-believe:focus-visible {
  outline: 3px solid #FFD86B;
  outline-offset: 4px;
}
@keyframes btnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes btnGlowIdle {
  0%, 100% { box-shadow: 0 10px 28px rgba(232, 197, 71, 0.4); }
  50%      { box-shadow: 0 16px 42px rgba(232, 197, 71, 0.6); }
}

/* Outline variant: transparent body, gold border, gold text */
.btn--outline {
  background: transparent;
  color: #FFD86B;
  border: 2px solid #FFD86B;
  animation: none;
  box-shadow: 0 8px 24px rgba(232, 197, 71, 0.18);
}
.btn--outline:hover {
  background: linear-gradient(135deg, rgba(247,232,156,0.14) 0%, rgba(255,216,107,0.18) 100%);
  color: #FFD86B;
  box-shadow: 0 18px 44px rgba(232, 197, 71, 0.32), 0 0 0 6px rgba(247, 232, 156, 0.12);
}

/* Alias modifier (semantic) — same look as default */
.btn--gold { /* no overrides, kept for clarity in markup */ }

/* Reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-big-believe { animation: none; transform: none; }
  .btn:hover, .btn-big-believe:hover { transform: translateY(-2px); }
}

/* --- Organic Rounded / Blob Shapes --- */
.blob-container {
  position: relative;
  overflow: visible;
}

.blob-img {
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  overflow: hidden;
  display: block;
}

.blob-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rounded-organic {
  border-radius: 2rem 4rem 2rem 4rem / 3rem 2rem 3rem 2rem;
  overflow: hidden;
}

.rounded-pill-wide {
  border-radius: 999px;
}

/* Paint texture band -- used as section dividers */
.paint-band {
  width: 100%;
  height: 120px;
  background-image: var(--paint-texture-url);
  background-size: cover;
  background-position: center;
  display: block;
}

/* Purple paint section */
.section--paint {
  background-color: var(--purple-mid);
  background-image: var(--paint-texture-url);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

/* Organic image clip shapes */
.clip-organic-1 {
  clip-path: ellipse(90% 85% at 50% 50%);
}

.clip-organic-2 {
  clip-path: polygon(5% 0%, 95% 2%, 100% 85%, 92% 100%, 8% 98%, 0% 80%);
}

.clip-blob {
  clip-path: ellipse(48% 44% at 52% 50%);
}

/* Organic content card */
.organic-card {
  background: rgba(82, 61, 104, 0.35);
  border-radius: 2rem 4rem 3rem 5rem / 4rem 2rem 5rem 3rem;
  padding: 3rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(153, 128, 185, 0.2);
}

/* Organic gallery item */
.case-gallery__item.organic {
  border-radius: 1.5rem 3rem 1.5rem 3rem / 2rem 1.5rem 2.5rem 1.5rem;
}

/* Paint background utility */
.paint-bg {
  background-color: var(--purple-mid);
  background-image: var(--paint-texture-url);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #fff;
}

/* --- Contact Page --- */
.contact-hero {
  padding: clamp(1.25rem, 2.5vw, 2rem) var(--site-gutter) clamp(0.75rem, 1.5vw, 1.25rem);
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.contact-info__block {
  padding: 3rem var(--site-gutter);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-info__block:first-child {
  border-right: 1px solid rgba(255,255,255,0.1);
}

.contact-info__label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

.contact-info__value {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.2;
}

.contact-info__value a {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.contact-info__value a:hover {
  border-color: var(--white);
}

/* --- Footer --- */
.site-footer {
  padding: 2rem var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__copy {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.site-footer__social {
  display: flex;
  gap: 1.5rem;
}

.site-footer__social a {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: color var(--transition);
}

.site-footer__social a:hover {
  color: var(--white);
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-light), var(--white));
  z-index: 1100;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* --- Page Transitions / Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal-duration) var(--reveal-ease), transform var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section cards: rounded floating sections that animate in on scroll --- */
.case-section,
.case-band,
.case-section--soft,
.results-hero,
.graco-stills,
.nuk-stills,
.featured-work,
.sweetspotter,
.section.section--black {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.95s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.95s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.case-section.visible,
.case-band.visible,
.case-section--soft.visible,
.results-hero.visible,
.graco-stills.visible,
.nuk-stills.visible,
.featured-work.visible,
.sweetspotter.visible,
.section.section--black.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Rounded-card treatment ONLY on hero/proof panels that earn the "pop": not every section */
.results-hero {
  margin: 1.5rem clamp(0.75rem, 2vw, 2rem);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.32), 0 4px 12px rgba(0,0,0,0.22);
  overflow: hidden;
}
@media (max-width: 720px) {
  .results-hero {
    margin: 1rem 0.5rem;
    border-radius: 14px;
  }
}

/* Stagger child reveals inside stats-grid so numbers cascade as you scroll */
.stats-grid .reveal-up:nth-child(2) { transition-delay: 0.06s; }
.stats-grid .reveal-up:nth-child(3) { transition-delay: 0.12s; }
.stats-grid .reveal-up:nth-child(4) { transition-delay: 0.18s; }
.stats-grid .reveal-up:nth-child(5) { transition-delay: 0.24s; }
.stats-grid .reveal-up:nth-child(6) { transition-delay: 0.30s; }
.stats-grid .reveal-up:nth-child(7) { transition-delay: 0.36s; }
.stats-grid .reveal-up:nth-child(8) { transition-delay: 0.42s; }
.stats-grid .reveal-up:nth-child(9) { transition-delay: 0.48s; }
.stats-grid .reveal-up:nth-child(10) { transition-delay: 0.54s; }
.stats-grid .reveal-up:nth-child(11) { transition-delay: 0.60s; }
.stats-grid .reveal-up:nth-child(12) { transition-delay: 0.66s; }

/* Reveal variants: share visibility hook with .fade-in via JS */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur {
  opacity: 0;
  transition: opacity var(--reveal-duration) var(--reveal-ease), transform var(--reveal-duration) var(--reveal-ease), filter var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
}

.reveal-up    { transform: translateY(40px); }

/* Auto-stagger items inside common grids */
.work-grid .reveal-up:nth-child(2),
.case-stats .reveal-up:nth-child(2),
.sweetspotter__pillars .reveal-up:nth-child(2),
.press-grid .reveal-up:nth-child(2),
.case-gallery .reveal-up:nth-child(2),
.team-grid .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.work-grid .reveal-up:nth-child(3),
.case-stats .reveal-up:nth-child(3),
.sweetspotter__pillars .reveal-up:nth-child(3),
.press-grid .reveal-up:nth-child(3),
.case-gallery .reveal-up:nth-child(3),
.team-grid .reveal-up:nth-child(3) { transition-delay: 0.16s; }
.work-grid .reveal-up:nth-child(4),
.case-stats .reveal-up:nth-child(4),
.sweetspotter__pillars .reveal-up:nth-child(4),
.press-grid .reveal-up:nth-child(4),
.case-gallery .reveal-up:nth-child(4),
.team-grid .reveal-up:nth-child(4) { transition-delay: 0.24s; }
.work-grid .reveal-up:nth-child(5),
.case-stats .reveal-up:nth-child(5),
.case-gallery .reveal-up:nth-child(5) { transition-delay: 0.32s; }
.work-grid .reveal-up:nth-child(6),
.case-stats .reveal-up:nth-child(6),
.case-gallery .reveal-up:nth-child(6) { transition-delay: 0.40s; }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.94); }
.reveal-blur  { filter: blur(10px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  transform: none;
}
.reveal-blur.visible { filter: blur(0); opacity: 1; }
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible { opacity: 1; }

/* --- Parallax --- */
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* --- Hover lift / tilt --- */
.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}
.hover-lift:hover {
  transform: translateY(-6px);
}

.work-item,
.press-item,
.sweetspotter__pillar,
.case-stat,
.case-gallery__item,
.team-member {
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.sweetspotter__pillar:hover {
  transform: translateY(-10px) scale(1.012);
  background: rgba(153, 128, 185, 0.12);
  border-color: rgba(153, 128, 185, 0.45);
  box-shadow: 0 32px 56px rgba(0,0,0,0.5), 0 12px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(153, 128, 185, 0.25);
}

.case-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

.press-item:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 32px 56px rgba(0,0,0,0.5), 0 12px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}

/* Magnetic button shimmer */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }

/* Underlined link sweep */
.link-sweep {
  position: relative;
  display: inline-block;
}
.link-sweep::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--transition);
}
.link-sweep:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Word-stagger reveal helper (set via JS as inline --i custom prop) */
.reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity var(--reveal-duration) var(--reveal-ease), transform var(--reveal-duration) var(--reveal-ease);
  transition-delay: calc(var(--i, 0) * 0.05s);
}
.reveal-words.visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee: clients ribbon */
.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 3rem;
  padding-right: 3rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Reduced motion override */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-parallax] { transform: none !important; }
  .marquee__track { animation: none !important; }
  .fade-in,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-blur {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-item {
    aspect-ratio: 4/3;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-info__block:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background:
      radial-gradient(ellipse at 28% 18%, rgba(170, 130, 230, 0.45) 0%, transparent 62%),
      radial-gradient(ellipse at 78% 82%, rgba(90, 55, 160, 0.45) 0%, transparent 60%),
      rgba(36, 22, 72, 0.96);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.7rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    padding: clamp(5rem, 12vh, 9rem) 2rem 4rem;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 9vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease;
    line-height: 1;
  }
  .site-nav.open a { opacity: 1; transform: translateY(0); }
  .site-nav.open a:nth-child(1) { transition-delay: 0.08s; }
  .site-nav.open a:nth-child(2) { transition-delay: 0.14s; }
  .site-nav.open a:nth-child(3) { transition-delay: 0.20s; }
  .site-nav.open a:nth-child(4) { transition-delay: 0.26s; }
  .site-nav.open a:nth-child(5) { transition-delay: 0.32s; }
  .site-nav.open a:nth-child(6) { transition-delay: 0.38s; }
  .site-nav.open a:nth-child(7) { transition-delay: 0.44s; }
  .site-nav a:hover, .site-nav a.active { color: #d4c5e9; }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  .sweetspotter__pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .featured-work__header {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Case Study / Microsite Base --- */
.case-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 6vw, 8rem) var(--site-gutter);
  overflow: hidden;
}

.case-hero__bg {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.case-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.case-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
}

.case-hero__brand {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.case-hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 12rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.case-hero__intro {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  max-width: 600px;
  opacity: 0.85;
}

/* Case study content sections */
.case-section {
  padding: clamp(4rem, 8vw, 10rem) var(--site-gutter);
  max-width: calc(var(--max-width) + (2 * var(--site-gutter)));
  margin: 0 auto;
}

.case-section--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}

.case-stat {
  padding: clamp(2.8rem, 5.5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.case-stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  /* Viewport-based fallback for browsers without container query support */
  font-size: clamp(3.25rem, 9vw, 8rem);
  /* Container-aware (case-stat has container-type set when on a case-study body) */
  font-size: clamp(3.25rem, 36cqw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  max-width: 100%;
  overflow-wrap: break-word;
}

.case-stat__num small {
  font-size: 0.42em;
  vertical-align: 0.55em;
  margin-left: 0.04em;
  letter-spacing: -0.02em;
}

.case-stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: 1.2rem;
  font-weight: 600;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.case-gallery__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-gray);
}

.case-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-gallery__item:hover img {
  transform: scale(1.04);
}

.case-credits {
  padding: 3rem var(--site-gutter);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.case-credit__role {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.25rem;
}

.case-credit__name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
}

.case-nav {
  padding: 2.5rem var(--site-gutter);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: color var(--transition);
}

.case-nav a:hover {
  color: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =========================================================
   CASE STUDY SHELL. Readability-first system
   Pages opt in with `<body class="case-study case-study--light">`
   or `<body class="case-study case-study--dark">` and supply
   `--brand-primary` / `--brand-accent` (and optional --brand-deep).
   ========================================================= */

body.case-study {
  --paper:        #f6f3ee;          /* warm off-white reading panel */
  --paper-soft:   #ffffff;
  --paper-edge:   rgba(0, 0, 0, 0.08);
  --ink:          #15151a;
  --ink-muted:    rgba(21, 21, 26, 0.68);
  --ink-faint:    rgba(21, 21, 26, 0.45);
  --rule:         rgba(21, 21, 26, 0.12);

  --brand-primary: #1E163F;
  --brand-accent:  #9980B9;
  --brand-deep:    #0F0A21;
  --brand-on-primary: #ffffff;

  background: var(--paper);
  color: var(--ink);
}

body.case-study--dark {
  --paper:        #0c0c10;
  --paper-soft:   #15151a;
  --paper-edge:   rgba(255, 255, 255, 0.08);
  --ink:          #f6f3ee;
  --ink-muted:    rgba(246, 243, 238, 0.72);
  --ink-faint:    rgba(246, 243, 238, 0.5);
  --rule:         rgba(255, 255, 255, 0.1);
}

body.case-study .site-header {
  background: rgba(12, 12, 16, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background-image: none;
}

/* HERO: only place a brand color is allowed to dominate */
body.case-study .case-hero {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  min-height: 80vh;
}

body.case-study .case-hero__title,
body.case-study .case-hero__brand,
body.case-study .case-hero__intro { color: var(--brand-on-primary); }

body.case-study .case-hero__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

/* SECTIONS: clean reading panels */
body.case-study .case-section {
  background: var(--paper);
  color: var(--ink);
  max-width: none;
  margin: 0;
}

body.case-study .case-section h1,
body.case-study .case-section h2,
body.case-study .case-section h3,
body.case-study .case-section h4 {
  color: var(--ink);
}

body.case-study .case-section p {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  max-width: 64ch;
}

body.case-study .case-section .section-label {
  color: var(--ink-faint);
}

body.case-study .case-section--soft {
  background: var(--paper-soft);
}

/* BRAND BAND: used for pull-quotes, insight callouts.
   Deliberately small, never holds long body copy. */
body.case-study .case-band {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  padding: clamp(4rem, 8vw, 9rem) var(--site-gutter);
}
body.case-study .case-band--accent { background: var(--brand-accent); color: var(--brand-on-primary); }
body.case-study .case-band h2,
body.case-study .case-band h3,
body.case-study .case-band h4,
body.case-study .case-band p,
body.case-study .case-band .section-label { color: var(--brand-on-primary); }
body.case-study .case-band p { color: rgba(255,255,255,0.88); max-width: 60ch; }
body.case-study .case-band .section-label { color: rgba(255,255,255,0.6); }

/* PULL QUOTE: large attributed callout on body bg */
body.case-study .pull-quote {
  border-left: 3px solid var(--brand-primary);
  padding: 1.25rem 0 1.25rem 1.75rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
}
body.case-study .pull-quote em {
  font-style: italic;
  color: var(--brand-primary);
}
body.case-study .pull-quote .attribution {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* STATS: neutral panel, brand-color number */
body.case-study .case-stats {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
body.case-study .case-stat {
  background: transparent;
  border-right: 1px solid var(--rule);
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.75rem, 3vw, 3rem);
  text-align: left;
  container-type: inline-size;
}
body.case-study .case-stats .case-stat:last-child { border-right: 0; }
body.case-study .case-stat__num {
  color: var(--brand-primary);
  /* Viewport-based fallback for browsers without container query support */
  font-size: clamp(3.25rem, 9vw, 8rem);
  /* Container-aware sizing so the number always fits inside its card */
  font-size: clamp(3.25rem, 36cqw, 9.5rem);
  line-height: 0.9;
  display: block;
  letter-spacing: -0.03em;
  max-width: 100%;
  overflow-wrap: break-word;
}
body.case-study .case-stat__num small {
  font-size: 0.42em;
  color: var(--brand-primary);
  opacity: 0.75;
  letter-spacing: -0.01em;
  vertical-align: 0.5em;
}
body.case-study .case-stat__label {
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: none;
  margin-top: 1rem;
  max-width: 32ch;
}

@media (max-width: 768px) {
  body.case-study .case-stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  body.case-study .case-stats .case-stat:last-child { border-bottom: 0; }
}

/* Force case-stats grids to single column on small phones so numbers stay inside their cards */
@media (max-width: 600px) {
  body.case-study .case-stats {
    grid-template-columns: 1fr !important;
  }
}

/* GALLERY tiles on the case study reading bg */
body.case-study .case-gallery__item { background: var(--paper-edge); }

/* CREDITS / NAV: match ink colors */
body.case-study .case-credits,
body.case-study .case-nav {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
body.case-study .case-credit__role { color: var(--ink-faint); }
body.case-study .case-credit__name { color: var(--ink); }
body.case-study .case-nav a { color: var(--ink-muted); }
body.case-study .case-nav a:hover { color: var(--brand-primary); }

body.case-study .site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
body.case-study .site-footer__copy,
body.case-study .site-footer__social a { color: var(--ink-faint); }
body.case-study .site-footer__social a:hover { color: var(--ink); }

body.case-study .btn {
  border-color: var(--ink);
  color: var(--ink);
}
body.case-study .btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-on-primary);
}
body.case-study--dark .btn { border-color: rgba(255,255,255,0.4); color: var(--ink); }
body.case-study--dark .btn:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #0a0a0a;
}

/* =========================================================
   ROTY. 3-Year Story Arc
   ========================================================= */

body.case-study .case-hero--video {
  position: relative;
  overflow: hidden;
}
body.case-study .case-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
body.case-study .case-hero__video iframe,
body.case-study .case-hero__video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 16:9, height-as-function-of-width */
  min-width: 177.78vh;    /* keep covered when viewport is taller than wide */
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  object-fit: cover;
}

.chapter {
  padding: clamp(4rem, 8vw, 9rem) var(--site-gutter);
  max-width: 1280px;
  margin: 0 auto;
}
.chapter--wide { max-width: none; padding-left: clamp(1.5rem, 4vw, 5rem); padding-right: clamp(1.5rem, 4vw, 5rem); }

.chapter-num {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
}
.chapter-num::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.chapter-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 22ch;
}
.chapter-title em { font-style: italic; color: var(--brand-primary); }

.chapter-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}
.chapter-lede strong { color: var(--ink); font-weight: 600; }
.chapter-lede em { color: var(--brand-primary); font-style: italic; }

.year-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .year-block { grid-template-columns: 1fr; gap: 1.5rem; }
}

.year-tag {
  position: sticky;
  top: 100px;
  align-self: start;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}
.year-tag .yr-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--brand-primary, #e31837);
  margin-bottom: 0.5rem;
}
.year-tag .yr-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}
.year-tag .yr-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
@media (max-width: 900px) {
  .year-tag { position: static; display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; padding-top: 0.5rem; }
  .year-tag .yr-num { font-size: 2.4rem; margin: 0; }
  .year-tag .yr-label { margin: 0; }
}

.year-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 1rem;
}
.year-body h3 em { font-style: italic; color: var(--brand-primary); }

.year-body .year-lede {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 64ch;
  margin-bottom: 2rem;
}
.year-body .year-lede strong { color: var(--ink); font-weight: 600; }
.year-body .year-lede em { color: var(--brand-primary); font-style: italic; }

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0 1rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2.5rem;
}
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
}
.live-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 2rem 0;
}
.roster .athlete {
  background: var(--paper);
  padding: 1.5rem 1.75rem;
}
.roster .pos {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.4rem;
}
.roster .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.roster .meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 2rem 0;
}
.note-card {
  background: var(--paper);
  padding: 1.5rem 1.75rem;
}
.note-card .label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}
.note-card .line {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.year-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--site-gutter);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--paper);
}
.year-divider .line { flex: 1; height: 1px; background: var(--rule); }
.year-divider .x { color: var(--brand-primary); }

.called-it {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 2px;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.called-it .stamp {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
}
.called-it strong { color: #fff; font-weight: 700; }

.arc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 3rem 0 2rem;
}
@media (max-width: 900px) { .arc-grid { grid-template-columns: 1fr; } }

.arc-card {
  background: var(--paper);
  padding: 2rem 1.75rem;
}
.arc-card .yr {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}
.arc-card .headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.arc-card .desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.arc-coda {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: center;
  margin-top: 2rem;
}
.arc-coda em { font-style: italic; color: var(--brand-primary); }

/* --- ABOUT: CORE BELIEFS FLOATING CARDS --- */
.belief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
  perspective: 1200px;
}
.belief-card {
  position: relative;
  background: linear-gradient(155deg, rgba(50,38,90,0.85) 0%, rgba(30,22,63,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 2.25rem 2rem 2rem;
  overflow: hidden;
  cursor: default;
  transform-style: preserve-3d;
  box-shadow: 0 18px 48px rgba(0,0,0,0.32);
  animation: beliefFloat 7s ease-in-out infinite;
  transition: transform 0.45s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.45s ease, border-color 0.45s ease;
  will-change: transform;
}
.belief-card--1 { animation-delay: 0s; }
.belief-card--2 { animation-delay: -1.4s; }
.belief-card--3 { animation-delay: -2.8s; }
.belief-card--4 { animation-delay: -4.2s; }
.belief-card--5 { animation-delay: -5.6s; }
.belief-card--6 { animation-delay: -0.7s; }
.belief-card--7 { animation-delay: -2.1s; }
.belief-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,216,107,0.0) 0%, rgba(255,216,107,0.18) 50%, rgba(255,216,107,0.0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.belief-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,216,107,0.35);
  border-color: rgba(255,216,107,0.35);
}
.belief-card:hover::before { opacity: 1; }
.belief-card__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #FFD86B;
  margin-bottom: 1.25rem;
}
.belief-card__head {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--white);
  margin: 0 0 1rem;
  text-transform: none;
}
.belief-card__body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22,0.61,0.36,1), opacity 0.45s ease, margin-top 0.45s ease;
}
.belief-card:hover .belief-card__body,
.belief-card:focus-within .belief-card__body {
  max-height: 240px;
  opacity: 1;
  margin-top: 0.25rem;
}
@keyframes beliefFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .belief-card { animation: none; }
  .belief-card__body { max-height: 240px; opacity: 1; }
}

/* --- ABOUT: LIVELAB GALLERY --- */
.livelab-gallery {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.livelab-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: rgba(0,0,0,0.35);
  filter: saturate(0.9);
  transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1), filter 0.5s ease;
}
.livelab-gallery img:hover {
  transform: scale(1.03);
  filter: saturate(1.05);
}
@media (max-width: 900px) {
  .livelab-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- ABOUT: CAPABILITIES GRID --- */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.caps-grid .cap {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.35s ease;
}
.caps-grid .cap:hover { background: rgba(255,255,255,0.025); }
.caps-grid .cap:nth-child(4n) { border-right: 0; }
.caps-grid .cap h4 { margin-bottom: 1rem; }
.caps-grid .cap p { font-size: 0.85rem; max-width: none; color: rgba(255,255,255,0.55); }
@media (max-width: 1100px) {
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .caps-grid .cap { border-right: 1px solid rgba(255,255,255,0.06); }
  .caps-grid .cap:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .caps-grid { grid-template-columns: 1fr; }
  .caps-grid .cap, .caps-grid .cap:nth-child(2n), .caps-grid .cap:nth-child(4n) { border-right: 0; }
}

/* --- ABOUT: SWEETSPOTTER CALLOUT (separated from sound-design grid tile) --- */
.sweetspotter-callout {
  margin-top: 3.5rem;
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, rgba(255,216,107,0.12) 0%, rgba(232,197,71,0.08) 50%, rgba(255,216,107,0.12) 100%);
  border: 1px solid rgba(255,216,107,0.35);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.sweetspotter-callout::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(255,216,107,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.sweetspotter-callout__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #FFD86B;
}
.sweetspotter-callout__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0.75rem 0 1.5rem;
  text-transform: uppercase;
}
.sweetspotter-callout__body {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 72ch;
  margin: 0 0 2rem;
}
.sweetspotter-callout__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1E163F;
  background: #FFD86B;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.sweetspotter-callout__cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 40px rgba(255,216,107,0.45);
}
.sweetspotter-callout__cta span {
  transition: transform 0.35s ease;
}
.sweetspotter-callout__cta:hover span {
  transform: translateX(4px);
}

/* (Legacy .btn-big-believe is now unified with the universal .btn style above.
    Class kept for backward-compat where it is still referenced in markup.) */

/* --- Heritage bubble grid (LiveLab gallery, mimics work-card aesthetic) --- */
.heritage-bubble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.2vw, 1.1rem);
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: 0;
}

.heritage-bubble {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #1E163F;
  box-shadow: 0 8px 24px rgba(30,22,63,0.18), 0 2px 6px rgba(30,22,63,0.12);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
}

.heritage-bubble img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.9s ease;
  filter: saturate(0.9);
}

.heritage-bubble:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 28px 50px rgba(30,22,63,0.28), 0 10px 20px rgba(30,22,63,0.18);
  z-index: 2;
}

.heritage-bubble:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

@media (max-width: 760px) {
  .heritage-bubble-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
  }
  .heritage-bubble {
    aspect-ratio: 16 / 10;
  }
}
