/* ================================================================
   PRUDENCE — client mockup v02 (from PPT mockup 2026-07)
   ================================================================ */

:root {
  --navy: #0a0e28;
  --navy-2: #121838;
  --orange: #f4501e;
  --orange-deep: #e04212;
  --cream: #f5f1ea;
  --cream-2: #ece6dc;
  --ink: #10163a;
  --ink-soft: rgba(16, 22, 58, 0.72);
  --white-soft: rgba(245, 241, 234, 0.78);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Emil: custom curves — built-in easings are too weak */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --reveal-dur: 0.9s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container { width: min(1200px, 92vw); margin-inline: auto; }
.accent { color: var(--orange); }
.accent-strong { color: var(--orange); font-weight: 600; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: var(--orange);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  color: var(--cream);
  transition: background-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out), padding 250ms var(--ease-out);
}
.nav--scrolled, .nav--solid {
  background: rgba(10, 14, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(245, 241, 234, 0.08);
  padding-block: 0.8rem;
}
.nav__logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: 0.14em; color: var(--cream);
}
.nav__logo span { color: var(--orange); }
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white-soft); position: relative; padding-block: 0.3rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }
  .nav__links a:hover { color: var(--cream); }
}
.nav__links a[aria-current="page"] { color: var(--cream); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.95rem 1.8rem; border-radius: 999px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn__arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(4px); }
}
.btn--outline { border: 1.5px solid var(--orange); color: var(--orange); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--orange); color: var(--cream); }
}
.btn--outline-cream { border: 1.5px solid var(--cream); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline-cream:hover { background: var(--cream); color: var(--orange); }
}
.btn--dark { border: 1.5px solid var(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: var(--ink); color: var(--cream); }
}
.btn--solid { background: var(--orange); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--orange-deep); }
}
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.78rem; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 2.5rem;
}
.eyebrow--light { color: var(--white-soft); }
.eyebrow__tick { width: 34px; height: 2px; background: var(--orange); flex: none; }
.eyebrow__tick--cream { background: var(--cream); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  background: var(--navy); color: var(--cream);
  padding: clamp(6rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem) 4rem;
  position: relative;
}
.hero__inner {
  width: min(1280px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 7.2vw, 6.2rem); line-height: 1.02; letter-spacing: -0.02em;
  margin-block: 1.5rem 2rem;
}
/* line mask reveal */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__inner {
  display: block; transform: translateY(112%);
  transition: transform 1s var(--ease-out);
}
body.is-loaded .line:nth-child(1) .line__inner { transform: translateY(0); transition-delay: 120ms; }
body.is-loaded .line:nth-child(2) .line__inner { transform: translateY(0); transition-delay: 240ms; }
[data-hero-fade] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
body.is-loaded [data-hero-fade] { opacity: 1; transform: translateY(0); }
body.is-loaded [data-hero-fade]:nth-of-type(1) { transition-delay: 450ms; }
body.is-loaded p[data-hero-fade] { transition-delay: 450ms; }
body.is-loaded div[data-hero-fade] { transition-delay: 600ms; }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--white-soft);
  max-width: 34rem; margin-bottom: 2.5rem;
}

/* dynamic panel */
.hero__panel {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-in-out);
  transition-delay: 350ms;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
body.is-loaded .hero__panel { clip-path: inset(0 0 0 0); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.4s ease, transform 0s 1.4s;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.1);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 241, 234, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 234, 0.07) 1px, transparent 1px);
  background-size: 25% 20%;
  mix-blend-mode: screen;
}
.hero__grid::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(244, 80, 30, 0.55);
  border-radius: 8px;
  mask: linear-gradient(#000 0 0) top left / 28px 28px no-repeat,
        linear-gradient(#000 0 0) top right / 28px 28px no-repeat,
        linear-gradient(#000 0 0) bottom left / 28px 28px no-repeat,
        linear-gradient(#000 0 0) bottom right / 28px 28px no-repeat;
}
.hero__panel-caption {
  position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white-soft);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.hero__panel-caption span { display: inline-block; }
.hero__panel-caption span.is-swapping { opacity: 0; filter: blur(2px); }
.hero__panel-caption span { transition: opacity 300ms ease, filter 300ms ease; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 34px; height: 54px; border: 1.5px solid rgba(245, 241, 234, 0.35); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 10px;
}
.hero__scroll span {
  width: 4px; height: 10px; border-radius: 2px; background: var(--orange);
  animation: scroll-hint 1.8s var(--ease-in-out) infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(16px); opacity: 0; }
  56% { transform: translateY(-6px); opacity: 0; }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) clamp(1.2rem, 4vw, 3rem); }
.section--tight { padding-top: 0; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--orange { background: var(--orange); color: var(--cream); }
.section--page { padding-top: clamp(8rem, 16vh, 11rem); min-height: 80vh; }

/* ---------- reveal system (CSS does the animating; JS only flags) ---------- */
[data-reveal], [data-reveal-child] {
  opacity: 0; transform: translateY(48px);
  transition: opacity var(--reveal-dur) var(--ease-out), transform var(--reveal-dur) var(--ease-out);
}
.is-inview[data-reveal], .is-inview [data-reveal-child] { opacity: 1; transform: translateY(0); }
/* stagger children 80ms apart */
.is-inview [data-reveal-child]:nth-child(1) { transition-delay: 0ms; }
.is-inview [data-reveal-child]:nth-child(2) { transition-delay: 80ms; }
.is-inview [data-reveal-child]:nth-child(3) { transition-delay: 160ms; }
.is-inview [data-reveal-child]:nth-child(4) { transition-delay: 240ms; }
.is-inview [data-reveal-child]:nth-child(5) { transition-delay: 320ms; }
.is-inview [data-reveal-child]:nth-child(6) { transition-delay: 400ms; }
/* big image panels reveal with clip, not slide */
[data-clip-reveal] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.is-inview[data-clip-reveal] { clip-path: inset(0 0 0 0); }

/* ---------- believe ---------- */
.believe { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.believe__copy p {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.55; margin-bottom: 1.4em;
  max-width: 36rem;
}
.believe__copy strong { color: var(--ink); }
.believe__kicker {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  color: var(--orange); font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important;
  margin-bottom: 1.2em !important;
}
.believe__panel { position: relative; border-radius: 16px; overflow: hidden; align-self: stretch; min-height: 480px; }
.believe__img {
  position: absolute; inset: -12% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.believe__panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 40, 0.88) 0%, rgba(10, 14, 40, 0.1) 55%);
}
.believe__stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding: 1.8rem;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; color: var(--cream); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--orange); }
.stat__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-soft); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.card {
  background: #fdfbf7; border: 1px solid var(--cream-2); border-radius: 16px;
  padding: 2.2rem 1.9rem 2.6rem;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(16, 22, 58, 0.25); }
}
.card__index {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--orange); letter-spacing: 0.15em;
  display: inline-block; border-bottom: 2px solid var(--orange); padding-bottom: 0.5rem; margin-bottom: 1.6rem;
}
.card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin-bottom: 0.9rem; }
.card p { line-height: 1.65; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- companies teaser ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.teaser__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 2.4rem;
}
.teaser__logos { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.marquee {
  overflow: hidden; position: relative;
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(2.5rem, 4vw, 4rem); width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 38s; }
.marquee img { height: 30px; width: auto; opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.founders__intro p { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.5; max-width: 26rem; }
.founders__nav { display: flex; gap: 0.9rem; margin-top: 2.4rem; }
.circle-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.circle-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .circle-btn:hover { background: var(--ink); color: var(--cream); }
}
.founders__card {
  position: relative; background: #fdfbf7; border: 1px solid var(--cream-2);
  border-radius: 18px; min-height: 460px;
}
.quote {
  position: absolute; inset: 0; padding: 2.6rem 2.6rem 2.2rem;
  display: none; flex-direction: column;
  opacity: 0; filter: blur(4px); transform: translateY(10px);
}
.quote.is-active { display: flex; animation: quote-in 450ms var(--ease-out) forwards; }
@keyframes quote-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.quote blockquote { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34rem; }
.quote blockquote strong { color: var(--ink); }
.quote__who { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.quote__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.quote__role { color: var(--ink-soft); font-size: 0.95rem; }
.quote__photo {
  position: absolute; right: 0; bottom: 0; width: 200px; height: 250px;
  border-radius: 14px 0 18px 0; overflow: hidden;
}
.quote__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); }
.quote__photo--mono {
  display: grid; place-items: center; background: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--orange);
}

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.team__cell {
  position: relative; border-radius: 16px; overflow: hidden; background: var(--navy-2);
  aspect-ratio: 5 / 6;
}
.team__cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .team__cell:hover img { transform: scale(1.045); }
}
.team__cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.3rem;
  background: linear-gradient(to top, rgba(10, 14, 40, 0.9), transparent);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.team__cell figcaption strong { font-family: var(--font-display); font-size: 1.05rem; }
.team__cell figcaption span { font-size: 0.82rem; color: var(--white-soft); }
.team__cell--wide img { object-position: center; }
.team__cell--cta {
  background: var(--orange); display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.6rem;
  transition: background-color 250ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .team__cell--cta:hover { background: var(--orange-deep); }
  .team__cell--cta:hover .team__cta-arrow { transform: translateX(6px); }
}
.team__cta-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; max-width: 8em;
}
.team__cta-arrow { font-size: 2rem; align-self: flex-end; transition: transform 220ms var(--ease-out); }

/* ---------- perspectives ---------- */
.section--orange .eyebrow { color: var(--cream); }
.persp { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.persp__events h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1.2rem; }
.persp__event-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.persp__event-sub { color: rgba(245, 241, 234, 0.85); line-height: 1.6; }
.persp__video { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.persp__video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.persp__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(245, 241, 234, 0.95); display: grid; place-items: center;
  transition: transform 200ms var(--ease-out);
}
.persp__play span {
  width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--orange); margin-left: 5px;
}
.persp__play::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px solid rgba(245, 241, 234, 0.6);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}
.persp__play:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .persp__play:hover { transform: scale(1.05); }
}
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.news__card {
  background: var(--cream); color: var(--ink); border-radius: 12px; padding: 1.7rem 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem; min-height: 220px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .news__card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.35); }
}
.news__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.news__card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.4; }
.news__cta { margin-top: auto; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.news__cta i { font-style: normal; color: var(--orange); font-size: 0.6rem; }
.persp__more { display: flex; justify-content: flex-end; margin-top: 2.6rem; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--cream); padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem) 2rem; border-top: 1px solid rgba(245, 241, 234, 0.08); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 0.6fr; gap: 2.5rem; }
.footer__addr { margin-top: 1.2rem; color: var(--white-soft); line-height: 1.7; font-size: 0.95rem; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links a, .footer__social a { color: var(--white-soft); font-size: 0.92rem; transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover, .footer__social a:hover { color: var(--orange); }
}
.footer__legal { margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(245, 241, 234, 0.08); font-size: 0.8rem; color: rgba(245, 241, 234, 0.45); }

/* ================================================================
   COMPANIES PAGE
   ================================================================ */
.page-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; margin-bottom: 2.4rem; }
.filter { position: relative; display: inline-block; margin-bottom: 3rem; }
.filter__caret { font-size: 0.75em; transition: transform 200ms var(--ease-out); display: inline-block; }
.filter__toggle[aria-expanded="true"] .filter__caret { transform: rotate(180deg); }
.filter__menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 240px;
  background: #fdfbf7; border: 1px solid var(--cream-2); border-radius: 12px;
  box-shadow: 0 24px 48px -20px rgba(16, 22, 58, 0.3);
  padding: 0.5rem; display: flex; flex-direction: column;
  transform-origin: top left;
  opacity: 0; transform: scale(0.95); pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.filter__menu.is-open { opacity: 1; transform: scale(1); pointer-events: auto; }
.filter__menu button {
  text-align: left; padding: 0.7rem 0.9rem; border-radius: 8px; font-size: 0.95rem;
  transition: background-color 150ms ease, color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .filter__menu button:hover { background: var(--cream); }
}
.filter__menu button.is-active { color: var(--orange); font-weight: 600; }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cream-2); border: 1px solid var(--cream-2); border-radius: 14px; overflow: hidden; }
.portfolio__cell {
  background: var(--cream); padding: 3rem 2rem 2.4rem; min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  transition: background-color 250ms ease, opacity 350ms var(--ease-out), transform 350ms var(--ease-out), filter 350ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .portfolio__cell:hover { background: #fdfbf7; }
  .portfolio__cell:hover img { transform: scale(1.06); }
}
.portfolio__cell img { height: 34px; width: auto; transition: transform 250ms var(--ease-out); filter: invert(0.85) sepia(0.1) saturate(0.4); }
.portfolio__cell.is-filtered { opacity: 0.12; filter: blur(1.5px) grayscale(1); transform: scale(0.96); pointer-events: none; }
.portfolio__meta { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-align: center; }
.portfolio__meta strong { font-family: var(--font-display); font-size: 1rem; }
.portfolio__meta span { font-size: 0.8rem; color: var(--ink-soft); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__inner, .believe, .teaser, .founders, .persp { grid-template-columns: 1fr; }
  .hero__panel { max-width: 480px; }
  .cards, .news, .team, .portfolio { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .quote__photo { width: 150px; height: 190px; }
}
@media (max-width: 600px) {
  .cards, .news, .team, .portfolio { grid-template-columns: 1fr; }
  .quote { padding: 1.8rem; }
  .quote__photo { position: relative; margin-top: 1.5rem; border-radius: 12px; }
}

/* ================================================================
   REDUCED MOTION — keep opacity, remove movement
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-child], [data-hero-fade] { transform: none; transition: opacity 0.3s ease; }
  [data-clip-reveal], .hero__panel { clip-path: none; transition: opacity 0.3s ease; }
  .line__inner { transform: none; }
  .hero__slide.is-active { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
  .hero__scroll span, .persp__play::after { animation: none; }
  .believe__img { inset: 0; }
}
