/* ============================================================
   JNP MERCHANDISING — Editorial luxury homepage
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=DM+Serif+Display:ital@0;1&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

:root {
  /* palette — blue & white only */
  --white:    #FFFFFF;
  --paper:    #F6F6F4;   /* barely-there off-white for subtle layering */
  --ink:      #10131C;   /* near-black, for body text on white */
  --ink-soft: #444a59;
  --blue:     #1B2BD6;   /* primary editorial blue */
  --blue-deep:#0E1796;   /* darker blue for footer / deep fields */

  /* legacy aliases kept so existing rules resolve to the blue/white system */
  --cream:    var(--white);
  --cream-2:  var(--paper);
  --cobalt:   var(--blue);

  --hero-accent: var(--blue);

  /* fonts */
  --display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --display-weight: 700;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* motion */
  --motion: 1;        /* 1 = lively, 0 = off-ish (set by tweak) */

  --maxw: 1480px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: var(--display-weight, 700);
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

em { font-style: italic; }

/* editorial accent: italic words go blue on white, white on blue fields */
h1 em, h2 em, h3 em { color: var(--blue); }
.field em, .field h1 em, .field h2 em, .field h3 em { color: inherit; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.serif { font-family: var(--display); }
.it { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1.05em 1.8em;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--cream:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--onfield { background: transparent; color: inherit; border-color: currentColor; }
.btn--onfield:hover { background: currentColor; }
.btn--onfield:hover span { color: var(--ink); }

.arrow { font-size: 1.1em; transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- eyebrow / kicker ---------- */
.kicker {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .72;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.kicker::before {
  content: "";
  width: 26px; height: 1.5px;
  background: currentColor;
  display: inline-block;
}

/* ============================================================
   PLACEHOLDER (styled image field)
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--cream-2);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0, transparent 13px,
    rgba(28,24,19,0.045) 13px, rgba(28,24,19,0.045) 14px
  );
  border: 1px solid rgba(28,24,19,0.12);
  display: flex;
  align-items: flex-end;
  color: var(--ink);
}
.ph--onfield {
  background-color: rgba(255,255,255,0.07);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0, transparent 13px,
    rgba(255,255,255,0.10) 13px, rgba(255,255,255,0.10) 14px
  );
  border-color: rgba(255,255,255,0.22);
  color: currentColor;
}
.ph__tag {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .7em .85em;
  margin: 14px;
  background: rgba(244,238,227,0.82);
  color: var(--ink);
  border: 1px solid rgba(28,24,19,0.18);
  border-radius: 4px;
  backdrop-filter: blur(2px);
  line-height: 1.3;
}
.ph--onfield .ph__tag {
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.22);
}
.ph__lens {
  position: absolute;
  top: 16px; right: 16px;
  width: 30px; height: 30px;
  border: 1.5px solid rgba(28,24,19,0.28);
  border-radius: 50%;
}
.ph__lens::after {
  content: "";
  position: absolute; inset: 6px;
  border: 1.5px solid rgba(28,24,19,0.20);
  border-radius: 50%;
}
.ph--onfield .ph__lens { border-color: rgba(255,255,255,0.4); }
.ph--onfield .ph__lens::after { border-color: rgba(255,255,255,0.28); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  background: var(--blue);
  color: var(--white);
  font-size: .76rem;
  letter-spacing: .04em;
  overflow: hidden;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px var(--gutter);
}
.announce__msg { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.announce__msg b { font-weight: 700; }
.dot-sep { opacity: .45; }
.announce__phone { font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.announce__phone:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28,24,19,0.10);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: 0 10px 40px rgba(28,24,19,0.08); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
}
.logo { display: flex; flex-direction: column; line-height: .92; }
.logo__img { height: 38px; width: auto; display: block; filter: invert(1) brightness(0); }
.logo__fallback { display: none; flex-direction: column; line-height: .92; }
.logo.img-failed .logo__img { display: none; }
.logo.img-failed .logo__fallback { display: flex; }
.logo__mark { font-family: var(--display); font-size: 1.7rem; letter-spacing: -.01em; }
.logo__sub {
  font-family: var(--body); font-size: .56rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-top: 4px;
}
.nav__links { display: flex; gap: 26px; list-style: none; }
.nav__links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  position: relative; padding: 4px 0;
  display: flex;
  align-items: center;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--cobalt); transition: width .3s;
}
.nav__links a:hover { color: var(--cobalt); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__cta .btn { padding: .8em 1.4em; font-size: .72rem; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); display: block; }

/* ---------- Mega Menu ---------- */
.has-mega { position: relative; }
/* Services mega menu - no underline, has arrow instead */
.nav__links .has-mega > a::after { display: none; }
.has-mega > a {
  gap: 5px;
}
.has-mega > a .arrow-icon {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .6;
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}
.has-mega:hover > a .arrow-icon {
  transform: rotate(180deg);
  opacity: 1;
}
.has-mega:hover > a { color: var(--cobalt); }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 32px 40px;
  min-width: 900px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 100;
  margin-top: 0;
}
/* Hover bridge - invisible area to prevent menu from closing */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}
/* Keep menu open when hovering over it */
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.mega-col h4 {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
}
.mega-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega-col ul li a {
  font-size: .88rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0;
  transition: color .2s;
}
.mega-col ul li a:hover {
  color: var(--blue);
}
.mega-col ul li a::after { display: none; }

/* ---------- Portfolio Scroll Section ---------- */
.portfolio-section {
  padding: clamp(64px, 9vw, 132px) 0 40px;
  overflow: hidden;
}
.portfolio-scroll-outer {
  overflow: hidden;
  width: 100%;
}
.portfolio-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 40px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.portfolio-card:first-child {
  margin-left: var(--gutter);
}
.portfolio-card:last-child {
  margin-right: var(--gutter);
}
.portfolio-scroll:active,
.portfolio-scroll.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.portfolio-scroll::-webkit-scrollbar {
  height: 4px;
}
.portfolio-scroll::-webkit-scrollbar-track {
  background: rgba(27, 43, 214, 0.1);
  border-radius: 2px;
}
.portfolio-scroll::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}
.portfolio-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--ink);
  transition: transform .3s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
}
.portfolio-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.05);
}
.portfolio-card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.9);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 2;
}
.portfolio-card-body {
  padding-top: 16px;
}
.portfolio-card-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.portfolio-card-link {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.portfolio-card-link .arrow {
  font-size: 1em;
  transition: transform .2s;
}
.portfolio-card:hover .portfolio-card-link {
  gap: 10px;
}
.portfolio-card:hover .portfolio-card-link .arrow {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .mega-menu {
    min-width: 800px;
    padding: 28px 32px;
  }
  .mega-grid {
    gap: 24px;
  }
}

@media (max-width: 1100px) {
  .mega-menu {
    min-width: 700px;
    left: 0;
    transform: translateX(-30%);
  }
  .has-mega:hover .mega-menu {
    transform: translateX(-30%) translateY(8px);
  }
}

/* ============================================================
   HERO — full-bleed campaign image
   ============================================================ */
.hero {
  position: relative;
  height: calc(100svh - 96px);
  min-height: 560px;
  max-height: 1000px;
  width: 100%;
  overflow: hidden;
  color: var(--white);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background-color: var(--blue-deep);
}
.hero__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* overlay for text legibility */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(16,19,28,0.55) 0%, rgba(16,19,28,0) 42%),
    linear-gradient(to bottom, rgba(16,19,28,0.35) 0%, rgba(16,19,28,0) 30%);
  z-index: 2;
  pointer-events: none;
}

/* small header, lower-left */
.hero__header {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: clamp(34px, 6vw, 72px);
  max-width: 30ch;
}
.hero__eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; opacity: .92;
}
.hero__head {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  margin-top: 14px;
}
.hero__head em { color: var(--white); }
.hero__cta {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1.5px solid currentColor;
}
.hero__cta .arrow { transition: transform .35s; }
.hero__cta:hover .arrow { transform: translateX(5px); }

/* tiny corner caption, upper-right */
.hero__caption {
  position: absolute; z-index: 3;
  top: clamp(22px, 4vw, 38px); right: var(--gutter);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .82; text-align: right;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--blue);
  color: var(--white);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.marquee__track {
  display: flex; gap: 0; width: max-content;
  animation: scroll-x calc(34s / var(--motion, 1)) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
  white-space: nowrap;
  filter: brightness(0) invert(1);
}
.marquee__item img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Reel Center-Scale Marquee ---------- */
.reel-carousel {
  background: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
  overflow: hidden;
  position: relative;
}
.reel-carousel__stage {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: center;
  height: 540px;
}
.reel-carousel__item {
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  transition: height 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;
}
.reel-carousel__item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section { padding: clamp(64px, 9vw, 132px) 0; }
.section--tight { padding: clamp(48px, 6vw, 92px) 0; }

.field { color: var(--white); }
.field--cobalt  { background: var(--blue); }
.field--clay    { background: var(--blue); }
.field--emerald { background: var(--white); color: var(--ink); }
.field--ochre   { background: var(--blue); color: var(--white); }
.field--ink     { background: var(--blue-deep); }
.field em       { color: inherit; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 56px); }
.sec-head h2, .sec-head__h { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.sec-head p { max-width: 36ch; line-height: 1.5; opacity: .82; }

/* ---------- We Brand the Brands ---------- */
/* ---------- We Brand the Brands (full-bleed split) ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.about__text {
  padding: clamp(64px, 9vw, 132px) var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__text > * { max-width: 36rem; }
.about__media { position: relative; min-height: 560px; }
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* ---------- Full-bleed split sections (Pillow / ACA / Giving / Book) ---------- */
.fsplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}
.fsplit__text {
  padding: clamp(64px, 9vw, 132px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fsplit__text > * { max-width: 36rem; }
.fsplit__text h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.fsplit__text .lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; margin-top: 1.3rem; max-width: 38ch; opacity: .92; }
.fsplit__text .ctas { margin-top: 2rem; display: flex; gap: 14px; flex-wrap: wrap; }
.fsplit__media { position: relative; min-height: 560px; }
.fsplit__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.brand-state { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: .98; }
.brand-copy { margin-top: 1.4rem; max-width: 40ch; line-height: 1.6; opacity: .9; font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.6rem; }
.stat__n { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; }
.stat__l { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: .5rem; }
.brand-media .ph { aspect-ratio: 4 / 5; }

/* ---------- Process ---------- */
.process { position: relative; overflow: hidden; }
.process-head { max-width: 60rem; margin-bottom: clamp(40px, 5vw, 72px); }
.process-head .kicker { display: inline-flex; }
.process-head p { margin-top: 1.2rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; opacity: .82; max-width: 46ch; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 0.8vw, 14px);
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
}
.step {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  isolation: isolate;
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,.22);
}
.step__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.step:hover .step__img { transform: scale(1.05); }
.step__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .4s ease;
}
.step:hover .step__overlay {
  background: rgba(255,255,255,0);
}
/* default: small label bar at bottom */
.step__content {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 0 0 12px 12px;
  padding: 10px 14px;
  color: var(--ink);
  transition: inset .4s cubic-bezier(.2,.8,.2,1), padding .4s ease, border-radius .4s ease, background .4s ease;
  overflow: hidden;
}
/* hover: grow from bottom, image still visible above */
.step:hover .step__content {
  inset: auto 0 0 0;
  border-radius: 0 0 12px 12px;
  padding: 18px 18px 20px;
  background: rgba(255,255,255,.95);
}
.step__label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
  color: var(--blue);
  font-weight: 700;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* only show on hover */
.step__desc {
  margin-top: 10px;
  font-size: clamp(.88rem, 1vw, .98rem);
  line-height: 1.6;
  color: var(--ink);
  opacity: 0;
  max-height: 0;
  transform: translateY(6px);
  transition: opacity .35s ease .1s, transform .35s ease .1s, max-height .35s ease;
  overflow: hidden;
}
.step:hover .step__desc {
  opacity: .85;
  max-height: 120px;
  transform: translateY(0);
}
.step:hover .step-num { font-size: clamp(1.8rem, 2.4vw, 2.4rem); }
.step:hover h3 { font-size: clamp(1.3rem, 1.6vw, 1.6rem); margin-top: 8px; white-space: normal; }
.process-blob {
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(27,43,214,.12), rgba(27,43,214,0) 70%);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1040px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Services cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 26px); }
.card { position: relative; cursor: pointer; }
.card__img { aspect-ratio: 3 / 4; border-radius: 5px; transition: transform .6s cubic-bezier(.2,.8,.2,1); object-fit: cover; width: 100%; display: block; }
.card:hover .card__img { transform: scale(1.025); }
.card__body { padding-top: 18px; }
.card__num { font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .1em; opacity: .55; }
.card__title { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin-top: 6px; }
.card__desc { margin-top: 8px; line-height: 1.5; opacity: .8; max-width: 32ch; font-size: .98rem; }
.card__more { margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: .5em; }
.card:hover .card__more { color: var(--cobalt); }

/* ---------- Video ---------- */
.video { position: relative; }
.video__frame { aspect-ratio: 16 / 9; border-radius: 6px; position: relative; object-fit: cover; width: 100%; display: block; }
.video__play {
  position: absolute; inset: 0; margin: auto;
  width: clamp(80px, 9vw, 124px); height: clamp(80px, 9vw, 124px);
  border-radius: 50%;
  background: var(--cream); color: var(--ink);
  border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transition: transform .35s;
}
.video__play:hover { transform: scale(1.06); }
.video__play::before { content: ""; border-left: 22px solid currentColor; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: .6em;
  align-self: flex-start;
  background: rgba(244,238,227,.12); border: 1px solid rgba(244,238,227,.3);
  color: var(--cream); padding: .55em 1em; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--white); animation: pulse calc(1.6s / var(--motion,1)) ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

/* ---------- Portfolio ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 22px); }
.pcard .ph { aspect-ratio: 1 / 1; border-radius: 5px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .ph { transform: scale(1.03); }
.pcard__t { font-size: 1.05rem; margin-top: 14px; line-height: 1.25; font-family: var(--display); }
.pcard__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-top: 5px; }

/* ---------- Split color blocks (Pillow / ACA / Giving / Book) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.split--video { grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 4vw, 60px); }
.split--rev .split__media { order: -1; }
.split__img { aspect-ratio: 5 / 4; border-radius: 6px; object-fit: cover; width: 100%; display: block; }
.split__video { width: 100%; display: block; border-radius: 6px; background: #000; max-height: 80vh; }

/* ---------- Giving Back video split (edge-to-edge) ---------- */
.giving-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0 !important;
  gap: 0;
}
.giving-split__video {
  background: #000;
  position: relative;
  min-height: 560px;
}
.giving-split__video .split__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.giving-split__text {
  padding: clamp(48px, 7vw, 100px) clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.giving-split__text h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.giving-split__text .lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; margin-top: 1.3rem; max-width: 38ch; opacity: .92; }
.giving-split__text .ctas { margin-top: 2rem; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 1040px) {
  .giving-split { grid-template-columns: 1fr; }
  .giving-split__video { order: -1; }
  .giving-split__text { padding: clamp(48px, 7vw, 80px) var(--gutter); }
}
.split h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.split .lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; margin-top: 1.3rem; max-width: 38ch; opacity: .92; }
.split .ctas { margin-top: 2rem; display: flex; gap: 14px; flex-wrap: wrap; }
.tag-pill { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }

/* ---------- Testimonial (full-bleed blue carousel) ---------- */
.tst {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}
.tst__media { position: relative; min-height: 620px; }
.tst__mstage { position: absolute; inset: 0; }
.tst__mslide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1);
}
.tst__mslide.is-active { opacity: 1; }
/* pre-JS fallback: first portrait visible; once JS runs, only the active one shows */
.tst__mslide:first-child { opacity: 1; }
.tst__mstage.js-ready .tst__mslide { opacity: 0; }
.tst__mstage.js-ready .tst__mslide.is-active { opacity: 1; }

.tst__panel {
  padding: clamp(56px, 7vw, 110px) clamp(36px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
/* oversized decorative quote glyph */
.tst__panel::before {
  content: "\201C";
  position: absolute;
  top: clamp(20px, 4vw, 48px);
  right: clamp(28px, 5vw, 72px);
  font-family: var(--display);
  font-size: clamp(7rem, 14vw, 13rem);
  line-height: 1;
  color: rgba(255,255,255,0.14);
  pointer-events: none;
}
.tst__stage { display: grid; margin-top: clamp(22px, 3vw, 34px); }
.tst__slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.tst__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
/* pre-JS fallback: first quote visible; once JS runs, only the active one shows */
.tst__slide:first-child { opacity: 1; transform: none; }
.tst__stage.js-ready .tst__slide { opacity: 0; transform: translateY(16px); pointer-events: none; }
.tst__stage.js-ready .tst__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tst__q {
  font-family: var(--display);
  font-weight: var(--display-weight, 700);
  font-size: clamp(1.7rem, 2.9vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}
.tst__q em { font-style: italic; color: inherit; }
.tst__by { margin-top: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 5px; }
.tst__by b { font-size: 1.1rem; letter-spacing: .01em; }
.tst__by span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.tst__nav { display: flex; align-items: center; gap: 18px; margin-top: clamp(36px, 4.5vw, 60px); }
.tst__arrow {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.25);
  background: transparent; color: var(--ink);
  cursor: pointer; font-size: 1.15rem;
  display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.tst__arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.tst__count {
  margin-left: 6px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .82rem; letter-spacing: .12em; opacity: .85;
}
.tst__count b { font-size: 1rem; }

/* ---------- Blog grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.blog-card { display: flex; flex-direction: column; }
.blog-card__img-wrap { display: block; overflow: hidden; border-radius: 8px; }
.blog-card__img {
  width: 100%; display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.blog-card__img-wrap:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body { padding-top: 16px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.blog-card__title { margin-top: 8px; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.35; font-weight: 700; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__excerpt { margin-top: 8px; font-size: .9rem; line-height: 1.55; opacity: .75; flex: 1; }
.blog-card__more { margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); display: inline-flex; gap: .4em; text-decoration: none; }
.blog-card__more:hover { color: var(--blue-deep); }
@media (max-width: 1040px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Store CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.8rem, 6vw, 6rem); }
.cta-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 60px); }
.cta-col { border: 1.5px solid rgba(244,238,227,.4); border-radius: 8px; padding: 30px 26px; text-align: left; will-change: transform; transition: background .4s ease, transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease; }
.cta-col:hover { background: #fff; transform: translateY(-12px); border-color: #fff; box-shadow: 0 24px 48px rgba(0,0,0,0.2); color: var(--ink); }
.cta-col:hover h3, .cta-col:hover p { color: var(--ink); opacity: 1; }
.cta-col:hover .link { color: var(--blue); }
.cta-col h3 { font-size: 1.6rem; }
.cta-col p { margin-top: 8px; opacity: .8; line-height: 1.5; font-size: .95rem; transition: opacity .35s; }
.cta-col .link { margin-top: 16px; display: inline-flex; gap: .5em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; transition: color .35s; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: var(--white); padding: clamp(64px, 8vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__logo { display: block; margin-bottom: 20px; }
.footer__logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.footer__contact a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  opacity: 1;
  transition: opacity .2s;
}
.footer__contact a:hover {
  opacity: .8;
}
.footer__brand p { margin-top: 0; max-width: 32ch; opacity: .7; line-height: 1.6; font-size: .95rem; }
.fcol h4 { font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .55; margin-bottom: 18px; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.fcol a { opacity: .85; font-size: .96rem; }
.fcol a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid rgba(244,238,227,.16); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; opacity: .65; }
.footer__cities { letter-spacing: .12em; text-transform: uppercase; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* When GSAP drives the page it owns every .reveal; kill the CSS transition
   so the two animation systems never fight over the same inline styles. */
.js-gsap .reveal { transition: none !important; }

/* parallax: let inner media drift without revealing edges */
.about__media, .split__media, .fsplit__media, .blog-card__img-wrap, .hero__video { overflow: hidden; }
.about__img, .split__img, .fsplit__img, .blog-card__img, .hero__bg-img { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__header > *, .hero__caption { opacity: 1; transform: none; animation: none; }
  .marquee__track { animation: none; }
}

/* hero load-in — pure CSS, auto-plays on load (no JS gate, safe in hidden tabs) */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__header > *, .hero__caption {
  opacity: 0;
  animation: heroIn 1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__caption { animation-delay: .15s; }
.hero__eyebrow { animation-delay: .12s; }
.hero__head { animation-delay: .26s; }
.hero__cta { animation-delay: .42s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .mega-menu { display: none; }
  .nav__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { margin-top: 30px; max-width: 520px; }
  .brand-grid, .split { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 70vw; order: -1; }
  .fsplit { grid-template-columns: 1fr; }
  .fsplit__media { min-height: 70vw; order: -1; }
  .tst { grid-template-columns: 1fr; }
  .tst__media { min-height: 64vw; }
  .split--rev .split__media { order: 0; }
  .cards-3 { grid-template-columns: 1fr; max-width: 480px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-cols, .mini-row, .stats { grid-template-columns: 1fr; }
  .stats { max-width: 420px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 560px) {
  .announce__msg .hide-sm { display: none; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .nav__cta .btn--ghost { display: none; }
  .portfolio-card {
    flex: 0 0 300px;
  }
  .portfolio-card-title {
    font-size: 1rem;
  }
}
