/* ═══════════════════════════════════════════════════════════
   JCI PERLAS PASAY — Heritage of Excellence
   style.css
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --rose-dark:    #6e1033;
  --rose-mid:     #d83772;
  --rose-light:   #f28db2;
  --rose-pale:    #ffd0e1;
  --beige:        #f5ede0;
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --white:        #ffffff;
  --text-dark:    #2a0a18;
  --text-body:    #4a2030;

  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-hero-sans: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-hero-script: 'Amantea Script', 'Italianno', 'Segoe Script', 'Brush Script MT', cursive;

  --header-h:     72px;
  --section-pad:  clamp(60px, 8vw, 120px);
  --radius:       16px;
  --radius-sm:    10px;
  --shadow-rose:  0 8px 40px rgba(110, 16, 51, 0.18);
  --shadow-gold:  0 4px 20px rgba(201, 168, 76, 0.25);

  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero title — Amantea Script */
@font-face {
  font-family: 'Amantea Script';
  src: url('../fonts/AmanteaScript.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--text-body);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.65;
}

/* Simple inner pages (no scroll-wrapper) — clear fixed header */
.subpage-main {
  padding: calc(var(--header-h) + var(--section-pad)) clamp(20px, 5vw, 80px)
    var(--section-pad);
  max-width: 720px;
  margin: 0 auto;
}

.subpage-main h1 {
  font-family: var(--font-head);
  color: var(--rose-dark);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.subpage-main p {
  margin-bottom: 1rem;
}

/* Hall of Past Presidents */
.hall-pps-page {
  position: relative;
  padding: 0;
  max-width: none;
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(180deg, #f7efe4 0%, #f4eadf 38%, #f8f2ea 100%);
}

/* Same geometry + grain treatment as Who We Are (overlays only; base colors unchanged) */
.hall-pps-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='none' stroke='%236e1033' stroke-width='0.35' opacity='0.22' d='M36 4 68 36 36 68 4 36 36 4'/%3E%3Cpath fill='none' stroke='%23c9a84c' stroke-width='0.28' opacity='0.35' d='M36 18v36M18 36h36'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hall-pps-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.62;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hall-pps-page > * {
  position: relative;
  z-index: 1;
}

.hall-pps-banner {
  position: relative;
  min-height: clamp(320px, 42vw, 460px);
  display: flex;
  align-items: flex-end;
  padding:
    calc(var(--header-h) + clamp(3.5rem, 7vw, 5.75rem))
    clamp(20px, 5vw, 80px)
    clamp(2.75rem, 6vw, 4.75rem);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hall-pps-banner::before,
.hall-pps-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hall-pps-banner::before {
  background:
    linear-gradient(rgba(24, 8, 18, 0.16), rgba(24, 8, 18, 0.16)),
    url("../images/projects/(5.1) Crossroads.webp") center 35% / cover no-repeat;
  transform: scale(1.04);
}

.hall-pps-banner::after {
  background:
    linear-gradient(
      110deg,
      rgba(73, 14, 40, 0.9) 0%,
      rgba(100, 17, 53, 0.8) 38%,
      rgba(136, 33, 74, 0.56) 72%,
      rgba(32, 8, 22, 0.72) 100%
    );
}

.hall-pps-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.hall-pps-banner__eyebrow {
  font-family: var(--font-hero-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 234, 243, 0.82);
  margin-bottom: 1rem;
}

.hall-pps-banner h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4.7vw, 4.2rem);
  line-height: 1.08;
  color: var(--white);
}

.hall-pps-banner__subtitle {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
  color: rgba(255, 242, 247, 0.88);
}

.hall-pps-timeline-section {
  max-width: 1360px;
  margin: 0 auto;
  padding:
    clamp(3.75rem, 7vw, 6rem)
    clamp(20px, 5vw, 80px)
    clamp(5rem, 8vw, 7rem);
}

.hall-pps-timeline-intro {
  max-width: 48rem;
  margin: 0 auto clamp(3.5rem, 7vw, 5rem);
  text-align: center;
}

.hall-pps-timeline-intro p:last-child {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: rgba(74, 32, 48, 0.82);
}

@media (min-width: 1180px) {
  .hall-pps-timeline-intro {
    max-width: min(94vw, 76rem);
  }

  .hall-pps-timeline-intro p:last-child {
    max-width: none;
    white-space: nowrap;
  }
}

.hall-pps-timeline {
  position: relative;
  margin: 0;
  padding: 0;
}

.hall-pps-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(
      180deg,
      rgba(201, 168, 76, 0) 0%,
      rgba(201, 168, 76, 0.72) 10%,
      rgba(161, 88, 121, 0.44) 52%,
      rgba(201, 168, 76, 0.72) 90%,
      rgba(201, 168, 76, 0) 100%
    );
}

.hall-pps-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hall-pps-entry:last-child {
  margin-bottom: 0;
}

.hall-pps-entry__year {
  position: relative;
  z-index: 2;
  grid-column: 2;
  justify-self: center;
}

.hall-pps-entry__year::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(245, 237, 224, 0.95);
}

.hall-pps-entry__year span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.65rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 999px;
  background: rgba(252, 247, 240, 0.96);
  box-shadow: 0 8px 22px rgba(110, 16, 51, 0.08);
  font-family: var(--font-hero-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-dark);
}

.hall-pps-entry__body {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: min(100%, 35rem);
}

.hall-pps-entry__body::before {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(2.1rem, 4vw, 4rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.72));
}

.hall-pps-entry--left .hall-pps-entry__body {
  grid-column: 1;
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) clamp(175px, 17vw, 230px);
  text-align: right;
}

.hall-pps-entry--left .hall-pps-entry__body::before {
  right: calc(clamp(2.1rem, 4vw, 4rem) * -1);
}

.hall-pps-entry--left .hall-pps-entry__copy {
  align-items: flex-end;
}

.hall-pps-entry--right .hall-pps-entry__body {
  grid-column: 3;
  justify-self: start;
  grid-template-columns: clamp(175px, 17vw, 230px) minmax(0, 1fr);
  text-align: left;
}

.hall-pps-entry--right .hall-pps-entry__body::before {
  left: calc(clamp(2.1rem, 4vw, 4rem) * -1);
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.72), rgba(201, 168, 76, 0.1));
}

.hall-pps-entry__copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hall-pps-entry__copy h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.14;
  color: var(--rose-dark);
}

.hall-pps-entry__copy p {
  margin: 0;
  font-family: var(--font-hero-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(145, 96, 38, 0.88);
}

.hall-pps-portrait {
  margin: 0;
}

.hall-pps-portrait__frame {
  position: relative;
  padding: 0.85rem;
  background:
    linear-gradient(145deg, rgba(255, 252, 248, 0.96), rgba(243, 233, 220, 0.94));
  border: 1px solid rgba(177, 136, 65, 0.22);
  box-shadow:
    0 18px 44px rgba(110, 16, 51, 0.13),
    0 6px 16px rgba(201, 168, 76, 0.08);
}

.hall-pps-portrait__frame::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(201, 168, 76, 0.42);
  pointer-events: none;
}

.hall-pps-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.97) contrast(1.02);
}

.hall-pps-entry:nth-child(6n + 2) .hall-pps-portrait__frame,
.hall-pps-entry:nth-child(6n + 5) .hall-pps-portrait__frame {
  transform: translateY(10px);
}

.hall-pps-entry:nth-child(6n + 3) .hall-pps-portrait__frame,
.hall-pps-entry:nth-child(6n + 6) .hall-pps-portrait__frame {
  transform: translateY(-8px);
}

@media (max-width: 980px) {
  .hall-pps-timeline::before {
    left: 2.25rem;
    transform: none;
  }

  .hall-pps-entry {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
  }

  .hall-pps-entry__year {
    grid-column: 1;
    justify-self: start;
    padding-top: 0.5rem;
  }

  .hall-pps-entry__body,
  .hall-pps-entry--left .hall-pps-entry__body,
  .hall-pps-entry--right .hall-pps-entry__body {
    grid-column: 2;
    justify-self: stretch;
    max-width: none;
    text-align: left;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  }

  .hall-pps-entry__body::before,
  .hall-pps-entry--left .hall-pps-entry__body::before,
  .hall-pps-entry--right .hall-pps-entry__body::before {
    left: calc(clamp(2.1rem, 4vw, 4rem) * -1);
    right: auto;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.72), rgba(201, 168, 76, 0.1));
  }

  .hall-pps-entry--left .hall-pps-entry__copy,
  .hall-pps-entry--right .hall-pps-entry__copy {
    align-items: flex-start;
  }

  .hall-pps-entry:nth-child(6n + 2) .hall-pps-portrait__frame,
  .hall-pps-entry:nth-child(6n + 3) .hall-pps-portrait__frame,
  .hall-pps-entry:nth-child(6n + 5) .hall-pps-portrait__frame,
  .hall-pps-entry:nth-child(6n + 6) .hall-pps-portrait__frame {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hall-pps-banner {
    min-height: 280px;
    padding:
      calc(var(--header-h) + 3rem)
      20px
      2.5rem;
  }

  .hall-pps-banner h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.65rem);
  }

  .hall-pps-timeline-section {
    padding: 3.5rem 20px 4.5rem;
  }

  .hall-pps-entry,
  .hall-pps-entry--left,
  .hall-pps-entry--right {
    margin-bottom: 2.4rem;
  }

  .hall-pps-entry__body,
  .hall-pps-entry--left .hall-pps-entry__body,
  .hall-pps-entry--right .hall-pps-entry__body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hall-pps-entry__body::before,
  .hall-pps-entry--left .hall-pps-entry__body::before,
  .hall-pps-entry--right .hall-pps-entry__body::before {
    top: 1.15rem;
  }

  .hall-pps-entry__copy h3 {
    font-size: 1.25rem;
  }

  .hall-pps-entry__copy p {
    letter-spacing: 0.14em;
  }
}

/* Who We Are — header bar always visible + gold rule */
.page-who-we-are .site-header {
  pointer-events: auto;
}

.page-who-we-are .site-header .site-header__bar {
  transform: translateY(0);
  background: rgba(110, 16, 51, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.55);
  box-shadow:
    0 8px 28px rgba(46, 10, 28, 0.18),
    inset 0 1px 0 rgba(255, 248, 240, 0.06);
}

.page-who-we-are {
  background-color: #ebe4d7;
}

.subpage-main.leadership-page p {
  margin-bottom: 0;
}

.leadership-page {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding:
    calc(var(--header-h) + clamp(3rem, 6vw, 5rem))
    clamp(20px, 5vw, 72px)
    clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse 85% 45% at 100% -5%, rgba(201, 168, 76, 0.11), transparent 58%),
    radial-gradient(ellipse 75% 50% at -5% 105%, rgba(110, 16, 51, 0.06), transparent 55%),
    radial-gradient(ellipse 120% 80% at 50% -15%, rgba(255, 252, 248, 0.55), transparent 52%),
    radial-gradient(circle at 88% 22%, rgba(201, 168, 76, 0.1), transparent 38%),
    radial-gradient(circle at 10% 48%, rgba(216, 55, 114, 0.055), transparent 36%),
    repeating-linear-gradient(
      105deg,
      transparent,
      transparent 64px,
      rgba(201, 168, 76, 0.035) 64px,
      rgba(201, 168, 76, 0.035) 65px
    ),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 48px,
      rgba(110, 16, 51, 0.02) 48px,
      rgba(110, 16, 51, 0.02) 49px
    ),
    linear-gradient(178deg, #f2ebe0 0%, #e8dfd2 38%, #efe8dc 72%, #e6ded1 100%);
}

/* Subtle diamond lattice (under paper grain) */
.leadership-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='none' stroke='%236e1033' stroke-width='0.35' opacity='0.22' d='M36 4 68 36 36 68 4 36 36 4'/%3E%3Cpath fill='none' stroke='%23c9a84c' stroke-width='0.28' opacity='0.35' d='M36 18v36M18 36h36'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.leadership-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.62;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.leadership-page > * {
  position: relative;
  z-index: 1;
}

.leadership-intro {
  max-width: 46rem;
  margin: 0 auto clamp(3rem, 6vw, 4.75rem);
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.leadership-intro .section-label {
  margin-bottom: 0.85rem;
  color: rgba(145, 96, 38, 0.92);
  letter-spacing: 0.32em;
}

.leadership-intro h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  text-shadow: 0 1px 1px rgba(255, 252, 248, 0.35);
}

.leadership-intro__ornament {
  margin: 1rem auto 0;
  display: flex;
  justify-content: center;
}

.leadership-intro__ornament span {
  display: block;
  width: min(12rem, 55vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.2) 12%,
    rgba(201, 168, 76, 0.85) 50%,
    rgba(201, 168, 76, 0.2) 88%,
    transparent
  );
  position: relative;
}

.leadership-intro__ornament span::before,
.leadership-intro__ornament span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  border-radius: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(235, 228, 215, 0.35);
}

.leadership-intro__ornament span::before {
  left: 0;
}

.leadership-intro__ornament span::after {
  right: 0;
}

.leadership-intro__tagline {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.8;
  color: rgba(74, 32, 48, 0.82);
  font-weight: 400;
}

@media (min-width: 1220px) {
  .leadership-intro {
    max-width: min(94vw, 76rem);
  }

  .leadership-intro__tagline {
    max-width: none;
    white-space: nowrap;
  }
}

.leadership-grid-section {
  width: 100%;
  padding-top: 0.25rem;
}

.leadership-grid-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  font-family: var(--font-hero-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(110, 16, 51, 0.72);
}

.leadership-grid-eyebrow__line {
  flex: 1;
  max-width: 5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.55)
  );
}

.leadership-grid-eyebrow__line:last-child {
  background: linear-gradient(
    90deg,
    rgba(201, 168, 76, 0.55),
    transparent
  );
}

.leadership-grid {
  --lg-cols: 4;
  --lg-gap: clamp(1.5rem, 2.2vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--lg-gap);
}

.leadership-card {
  perspective: 1600px;
  flex: 0 1 calc((100% - (var(--lg-cols) - 1) * var(--lg-gap)) / var(--lg-cols));
  max-width: calc((100% - (var(--lg-cols) - 1) * var(--lg-gap)) / var(--lg-cols));
}

.leadership-card__inner {
  position: relative;
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition:
    transform 0.72s cubic-bezier(0.22, 0.9, 0.28, 1),
    box-shadow 0.72s cubic-bezier(0.22, 0.9, 0.28, 1);
  box-shadow:
    0 14px 32px rgba(110, 16, 51, 0.1),
    0 6px 16px rgba(24, 8, 18, 0.06);
}

.leadership-card:hover .leadership-card__inner,
.leadership-card:focus-within .leadership-card__inner {
  transform: rotateY(180deg) translateY(-6px) scale(1.015);
  box-shadow:
    0 24px 48px rgba(110, 16, 51, 0.14),
    0 10px 26px rgba(24, 8, 18, 0.1);
}

.leadership-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 233, 220, 0.96));
  border: 1px solid rgba(201, 168, 76, 0.24);
}

.leadership-card__face::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
  pointer-events: none;
}

.leadership-card__face--back {
  transform: rotateY(180deg);
}

.leadership-card__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.72s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.leadership-card:hover .leadership-card__face img,
.leadership-card:focus-within .leadership-card__face img {
  transform: scale(1.04);
}

.leadership-card__meta {
  --leadership-role-color: rgba(161, 116, 37, 0.92);
  position: relative;
  padding: 1.15rem 0.35rem 0.35rem;
  text-align: center;
}

.leadership-card__meta::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.65),
    transparent
  );
}

.leadership-card__meta h2 {
  margin: 0;
  font-family: var(--font-hero-sans);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-dark);
}

.leadership-card__meta p {
  margin: 0.45rem 0 0;
  font-family: var(--font-hero-sans);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leadership-role-color);
}

.leadership-card__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.leadership-card__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  border-radius: 8px;
  opacity: 0.85;
  transition:
    opacity var(--transition),
    transform var(--transition),
    background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.leadership-card__social-link:hover,
.leadership-card__social-link:focus-visible {
  opacity: 1;
  background: rgba(161, 116, 37, 0.1);
  transform: translateY(-1px);
}

.leadership-card__social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  /* Match .leadership-card__meta role label (~rgb(161, 116, 37) at 0.92 alpha) */
  filter: brightness(0) saturate(100%) invert(46%) sepia(72%) saturate(380%)
    hue-rotate(16deg) brightness(91%) contrast(90%);
  opacity: 0.92;
  transition: filter var(--transition), opacity var(--transition);
}

.leadership-card__social-link:hover img,
.leadership-card__social-link:focus-visible img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(70%) saturate(400%)
    hue-rotate(14deg) brightness(94%) contrast(89%);
  opacity: 1;
}

@media (max-width: 1180px) {
  .leadership-grid {
    --lg-cols: 3;
  }
}

@media (max-width: 900px) {
  .leadership-grid {
    --lg-cols: 2;
  }
}

@media (max-width: 560px) {
  .leadership-page {
    padding:
      calc(var(--header-h) + 2.5rem)
      20px
      3.5rem;
  }

  .leadership-grid {
    --lg-cols: 1;
    --lg-gap: 1.75rem;
  }

  .leadership-card__meta {
    padding-top: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leadership-card__inner,
  .leadership-card__face img {
    transition: none;
  }
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Scroll Wrapper (Desktop Snap) ──────────────────────── */
.scroll-wrapper {
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100vh;
  height: 100dvh;
  max-width: 100%;
  scroll-padding-top: 0;
}

.section {
  scroll-snap-align: start;
  scroll-margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.section-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(20px, 5vw, 80px);
}

/* ── Typography Helpers ──────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.gold-label  { color: var(--gold); }

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.rose-heading { color: var(--rose-dark); }

/* ── Reveal Animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
/* No transform on .site-header: it would create a fixed-position containing block and
   trap the full-screen .mobile-overlay to the header bar height. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

/* Bar carries fill + blur so they slide away with the logo/nav (header shell stays
   transparent for full-viewport mobile overlay positioning). */
.site-header__bar {
  height: var(--header-h);
  transform: translateY(-100%);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: none;
  transition:
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    background var(--transition),
    box-shadow var(--transition),
    backdrop-filter var(--transition);
}

.site-header.scrolled .site-header__bar {
  background: rgba(110, 16, 51, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
}

/* Shown via JS when pointer nears top, or always on small screens / reduced motion */
.site-header.header-visible .site-header__bar,
.site-header:focus-within .site-header__bar {
  transform: translateY(0);
}

.site-header.header-visible,
.site-header:focus-within {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__bar {
    transform: translateY(0);
  }

  .site-header {
    pointer-events: auto;
  }
}

.header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(clamp(12px, 1.5vw, 28px), env(safe-area-inset-left));
  /* Extra right inset so the last nav label (e.g. Hall of PPs) clears the viewport edge */
  padding-right: max(clamp(16px, 2.25vw, 48px), env(safe-area-inset-right));
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-shrink: 0;
  min-width: 0;
}

.header-logo img {
  height:40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header-heritage-mark {
  display: block;
  height: clamp(100px, 3.2vw, 34px);
  width: auto;
  max-width: min(140px, 28vw);
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.05vw, 1.06rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition), text-shadow var(--transition);
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold-light);
  outline: none;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  position: relative;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  transition: var(--transition);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Compact nav: full horizontal links need ~1000px+; below that use hamburger */
@media (max-width: 1000px) {
  .site-header {
    pointer-events: auto;
  }

  .site-header .site-header__bar {
    transform: translateY(0);
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile overlay sits under .header-inner so the bar + hamburger stay tappable */
.mobile-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--rose-dark);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.overlay-close {
  position: absolute;
  top: max(22px, env(safe-area-inset-top));
  right: max(28px, env(safe-area-inset-right));
  z-index: 2;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--rose-pale);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.overlay-close:hover { color: var(--gold); }

.mobile-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.overlay-link {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--rose-pale);
  transition: color var(--transition);
}

.overlay-link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION — editorial / luxury treatment
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Slideshow — full-bleed cover, slow drift, long crossfades */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  will-change: opacity;
  transition: opacity 3.2s cubic-bezier(0.45, 0, 0.15, 1);
  background-color: #1a0a12;
}

.slide-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
  animation: heroKenburns 12s ease-out forwards;
  animation-play-state: paused;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide.active .slide-media {
  animation-play-state: running;
}

/* Landscape hero where the subject sits on the right: keep image right-aligned under
   `cover`, and zoom from the right so the photo’s right edge stays at the viewport’s right. */
.slide-media--anchor-right {
  background-position: 100% 50%;
  transform-origin: 100% 50%;
}

@keyframes heroKenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.25); }
}

/* Overlay — deep veil for legibility (dark-pink wordmark + type) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(28, 6, 18, 0.88) 0%,
      rgba(28, 6, 18, 0.55) 38%,
      rgba(60, 14, 32, 0.42) 62%,
      rgba(18, 6, 14, 0.72) 100%
    );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 65% at 30% 45%,
    transparent 0%,
    rgba(10, 4, 8, 0.55) 100%
  );
}

/* Gold “fireflies”: slow drift + glow flashes — above vignette, below copy */
.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 252, 244, 0.1) 0%,
    rgba(236, 210, 145, 0.7) 38%,
    transparent 70%
  );
  box-shadow:
    0 0 5px rgba(236, 210, 145, 0.5),
    0 0 14px rgba(201, 168, 76, 0.22);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.55);
  will-change: opacity, transform;
  animation: var(--fly-name, heroFireflyA) var(--fly-dur, 21s)
    cubic-bezier(0.42, 0, 0.58, 1) var(--fly-delay, 0s) infinite;
}

/* Slow wandering loops (vw/vh from each spark’s anchor) + soft “lantern” flashes */
@keyframes heroFireflyA {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.55);
  }
  8% {
    opacity: 0.25;
    transform: translate3d(1.2vw, -1.8vh, 0) scale(0.75);
  }
  15% {
    opacity: 0.85;
    transform: translate3d(4vw, -4.5vh, 0) scale(1.05);
  }
  26% {
    opacity: 0.35;
    transform: translate3d(8.5vw, -3vh, 0) scale(0.78);
  }
  38% {
    opacity: 0.7;
    transform: translate3d(10vw, 2.5vh, 0) scale(1);
  }
  50% {
    opacity: 0.15;
    transform: translate3d(6vw, 6vh, 0) scale(0.65);
  }
  62% {
    opacity: 0.75;
    transform: translate3d(1vw, 7vh, 0) scale(1.02);
  }
  74% {
    opacity: 0.28;
    transform: translate3d(-5vw, 4vh, 0) scale(0.72);
  }
  86% {
    opacity: 0.55;
    transform: translate3d(-6vw, -1.5vh, 0) scale(0.92);
  }
  94% {
    opacity: 0.12;
    transform: translate3d(-2vw, -2.5vh, 0) scale(0.62);
  }
}

@keyframes heroFireflyB {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.52);
  }
  10% {
    opacity: 0.72;
    transform: translate3d(-3.5vw, -2vh, 0) scale(1.02);
  }
  22% {
    opacity: 0.22;
    transform: translate3d(-8vw, -5vh, 0) scale(0.68);
  }
  34% {
    opacity: 0.68;
    transform: translate3d(-9vw, 1vh, 0) scale(0.98);
  }
  46% {
    opacity: 0.18;
    transform: translate3d(-5vw, 5.5vh, 0) scale(0.62);
  }
  58% {
    opacity: 0.78;
    transform: translate3d(2vw, 6.5vh, 0) scale(1.05);
  }
  70% {
    opacity: 0.3;
    transform: translate3d(8vw, 3.5vh, 0) scale(0.75);
  }
  82% {
    opacity: 0.62;
    transform: translate3d(8.5vw, -3vh, 0) scale(0.95);
  }
  92% {
    opacity: 0.2;
    transform: translate3d(3vw, -4vh, 0) scale(0.7);
  }
}

@keyframes heroFireflyC {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.58);
  }
  11% {
    opacity: 0.32;
    transform: translate3d(2vw, 2vh, 0) scale(0.82);
  }
  22% {
    opacity: 0.8;
    transform: translate3d(7vw, 5vh, 0) scale(1.08);
  }
  35% {
    opacity: 0.25;
    transform: translate3d(10vw, 1vh, 0) scale(0.7);
  }
  47% {
    opacity: 0.65;
    transform: translate3d(5vw, -5vh, 0) scale(0.96);
  }
  59% {
    opacity: 0.18;
    transform: translate3d(-2vw, -6vh, 0) scale(0.64);
  }
  71% {
    opacity: 0.72;
    transform: translate3d(-7vw, -3.5vh, 0) scale(1);
  }
  83% {
    opacity: 0.28;
    transform: translate3d(-8vw, 2vh, 0) scale(0.74);
  }
  93% {
    opacity: 0.5;
    transform: translate3d(-3vw, 3.5vh, 0) scale(0.88);
  }
}

@keyframes heroFireflyD {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.53);
  }
  9% {
    opacity: 0.65;
    transform: translate3d(5vw, 1.5vh, 0) scale(1);
  }
  21% {
    opacity: 0.2;
    transform: translate3d(9vw, -2.5vh, 0) scale(0.66);
  }
  33% {
    opacity: 0.58;
    transform: translate3d(4vw, -7vh, 0) scale(0.94);
  }
  45% {
    opacity: 0.15;
    transform: translate3d(-4vw, -6vh, 0) scale(0.6);
  }
  57% {
    opacity: 0.82;
    transform: translate3d(-9vw, -2vh, 0) scale(1.06);
  }
  69% {
    opacity: 0.26;
    transform: translate3d(-8vw, 3vh, 0) scale(0.72);
  }
  81% {
    opacity: 0.68;
    transform: translate3d(-2vw, 6vh, 0) scale(0.98);
  }
  91% {
    opacity: 0.22;
    transform: translate3d(4vw, 5vh, 0) scale(0.68);
  }
}

.hero-spark:nth-child(1) {
  top: 30%;
  left: 16%;
  --fly-name: heroFireflyA;
  --fly-dur: 23s;
  --fly-delay: 0s;
}
.hero-spark:nth-child(2) {
  top: 24%;
  left: 48%;
  --fly-name: heroFireflyB;
  --fly-dur: 19.5s;
  --fly-delay: -3.2s;
}
.hero-spark:nth-child(3) {
  top: 36%;
  right: 18%;
  left: auto;
  --fly-name: heroFireflyC;
  --fly-dur: 25s;
  --fly-delay: -6s;
}
.hero-spark:nth-child(4) {
  top: 52%;
  left: 10%;
  --fly-name: heroFireflyD;
  --fly-dur: 21s;
  --fly-delay: -2.5s;
}
.hero-spark:nth-child(5) {
  top: 48%;
  right: 12%;
  left: auto;
  --fly-name: heroFireflyA;
  --fly-dur: 20s;
  --fly-delay: -9s;
}
.hero-spark:nth-child(6) {
  top: 66%;
  left: 22%;
  --fly-name: heroFireflyB;
  --fly-dur: 24s;
  --fly-delay: -4.8s;
}
.hero-spark:nth-child(7) {
  top: 40%;
  left: 38%;
  --fly-name: heroFireflyC;
  --fly-dur: 22s;
  --fly-delay: -11s;
}
.hero-spark:nth-child(8) {
  top: 44%;
  right: 26%;
  left: auto;
  --fly-name: heroFireflyD;
  --fly-dur: 18s;
  --fly-delay: -1.2s;
}
.hero-spark:nth-child(9) {
  top: 16%;
  right: 32%;
  left: auto;
  --fly-name: heroFireflyA;
  --fly-dur: 26s;
  --fly-delay: -7.5s;
}
.hero-spark:nth-child(10) {
  top: 58%;
  left: 46%;
  --fly-name: heroFireflyB;
  --fly-dur: 20.5s;
  --fly-delay: -13s;
}
.hero-spark:nth-child(11) {
  top: 72%;
  right: 34%;
  left: auto;
  --fly-name: heroFireflyC;
  --fly-dur: 23s;
  --fly-delay: -5.5s;
}
.hero-spark:nth-child(12) {
  top: 32%;
  left: 56%;
  --fly-name: heroFireflyD;
  --fly-dur: 19s;
  --fly-delay: -8.2s;
}
.hero-spark:nth-child(13) {
  top: 60%;
  left: 18%;
  --fly-name: heroFireflyB;
  --fly-dur: 24.5s;
  --fly-delay: -14s;
}
.hero-spark:nth-child(14) {
  top: 22%;
  right: 10%;
  left: auto;
  --fly-name: heroFireflyC;
  --fly-dur: 21.5s;
  --fly-delay: -10.5s;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-editorial {
  max-width: min(58rem, 96vw);
  margin: 0 auto;
  padding: 0;
  opacity: 1;
  transform: none;
}

.hero-kicker {
  font-family: var(--font-hero-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 242, 248, 0.72);
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
  opacity: 0;
  animation: fadeUp 0.75s ease-out 0.15s both;
}

.hero-title-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  padding: 0.1em 0 0.35em;
}

.hero-title {
  margin: 0;
  max-width: none;
  font-family: var(--font-hero-script);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3.5rem, 15vw, 9.5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: rgba(217, 185, 95, 0.65);
  white-space: nowrap;
  /* Legibility while writing; glow eases in after write-on, then slow pulse */
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
  will-change: clip-path, text-shadow;
  clip-path: inset(0 100% 0 0);
  /* `both`: during delay, keep 0% keyframe (fully clipped) — avoids a one-frame
     pop if `forwards` left unknown state; pairs with explicit `from` in keyframes. */
  animation:
    heroTitleWriteOn 6s cubic-bezier(0.33, 0.06, 0.18, 1) 0.45s both,
    heroTitleGlowFadeIn 1.35s cubic-bezier(0.22, 0.94, 0.32, 1) 6.5s forwards,
    heroTitleGlowPulse 8s ease-in-out 7.35s infinite;
}

@keyframes heroTitleWriteOn {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* One-shot ramp from base shadow to idle glow (avoids a sharp glow pop at 6.5s) */
@keyframes heroTitleGlowFadeIn {
  from {
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
  }
  to {
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.28),
      0 0 16px rgba(236, 210, 145, 0.26),
      0 0 36px rgba(201, 168, 76, 0.18),
      0 0 56px rgba(201, 168, 76, 0.08);
  }
}

/* Slow pulse between idle and peak; begins after heroTitleGlowFadeIn (6.5s + 1.35s) */
@keyframes heroTitleGlowPulse {
  0%, 100% {
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.28),
      0 0 16px rgba(236, 210, 145, 0.26),
      0 0 36px rgba(201, 168, 76, 0.18),
      0 0 56px rgba(201, 168, 76, 0.08);
  }
  50% {
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.28),
      0 0 26px rgba(236, 210, 145, 0.48),
      0 0 52px rgba(201, 168, 76, 0.32),
      0 0 84px rgba(201, 168, 76, 0.14);
  }
}

.hero-line {
  font-family: var(--font-head);
  color: rgba(255, 253, 255, 0.95);
  line-height: 1.35;
  margin: 0;
}

.hero-line--lead {
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  margin: 0 auto 1rem;
  max-width: 22em;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 3.35s both;
}

.hero-line__break {
  display: block;
}

.hero-line--muted {
  font-family: var(--font-hero-sans);
  font-size: clamp(0.85rem, 1.35vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.75;
  color: rgba(255, 232, 242, 0.66);
  max-width: 28em;
  margin: 0 auto 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 3.55s both;
}

.hero-meta {
  font-family: var(--font-hero-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.65);
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 3.75s both;
}

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .slide-media {
    animation: none !important;
  }

  .hero-editorial {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-kicker,
  .hero-line--lead,
  .hero-line--muted,
  .hero-meta {
    opacity: 1;
    animation: none;
  }

  .hero-title {
    animation: none !important;
    clip-path: inset(0 0 0 0) !important;
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.28),
      0 0 20px rgba(236, 210, 145, 0.32),
      0 0 44px rgba(201, 168, 76, 0.22),
      0 0 64px rgba(201, 168, 76, 0.1);
  }

  .hero-sparks {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about-section {
  background: var(--beige);
  align-items: flex-start;
  min-height: auto;
}

/* Subtle parchment texture via CSS */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 5% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 80%, rgba(110, 16, 51, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 8vw, 5rem);
}

/* Full content width; less dead space on sides than global section-inner.
   Extra top padding clears the fixed header when it’s revealed; bottom stays lighter
   so vertical space isn’t wasted under the fold. */
.section-inner.about-inner {
  padding-left: clamp(16px, 2.8vw, 44px);
  padding-right: clamp(16px, 2.8vw, 44px);
  padding-top: calc(var(--header-h) + clamp(1.1rem, 3.5vw, 2.35rem));
  padding-bottom: clamp(1.35rem, 3.5vw, 2.5rem);
}

/* JCI — 3 columns: About JCI | Mission & Vision (stacked) | Creed (bulleted) */
.jci-editorial {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 2.8vw, 2.35rem) clamp(0.5rem, 1vw, 1rem);
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(245, 237, 224, 0.25) 42%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 85% 60% at 12% 0%,
      rgba(201, 168, 76, 0.07) 0%,
      transparent 58%
    );
  border-radius: 2px;
}

.jci-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(0.85rem, 1.75vw, 1.75rem);
  align-items: stretch;
  min-height: 0;
}

.jci-editorial__intro {
  display: flex;
  flex-direction: column;
  padding-right: clamp(0.85rem, 1.75vw, 1.5rem);
  border-right: 1px solid rgba(110, 16, 51, 0.09);
  min-width: 0;
  min-height: 0;
}

.jci-editorial__label {
  font-family: var(--font-hero-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(74, 32, 48, 0.55);
  margin: 0 0 1.1rem;
}

.jci-editorial__label::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 1rem;
  background: linear-gradient(
    90deg,
    rgba(201, 168, 76, 0.65),
    rgba(201, 168, 76, 0.08)
  );
}

.jci-editorial__headline {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--rose-dark);
  margin: 0 0 1.35rem;
  max-width: none;
}

.jci-editorial__lede {
  font-family: var(--font-hero-sans);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(42, 10, 24, 0.86);
  max-width: none;
  margin: 0;
  padding-top: 0.15rem;
}

.jci-editorial__lede::first-letter {
  font-family: var(--font-head);
  float: left;
  font-size: 3.1em;
  line-height: 0.82;
  padding-right: 0.12em;
  margin-top: 0.04em;
  font-weight: 500;
  color: rgba(110, 16, 51, 0.88);
}

.jci-editorial__mv {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.35rem, 2.4vw, 2rem);
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-right: clamp(0.85rem, 1.75vw, 1.5rem);
  border-right: 1px solid rgba(110, 16, 51, 0.09);
  min-width: 0;
  min-height: 0;
}

/* 3-column desktop: Mission + Vision as one cluster, vertically centered with head/foot room */
@media (min-width: 1025px) {
  .jci-editorial__mv {
    justify-content: center;
    gap: clamp(1.25rem, 2vh, 1.85rem);
    padding-top: clamp(0.85rem, 2.5vh, 1.65rem);
    padding-bottom: clamp(0.85rem, 2.5vh, 1.65rem);
  }
}

.jci-mv__title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(110, 16, 51, 0.78);
  margin: 0 0 0.95rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  width: fit-content;
  max-width: 100%;
}

.jci-mv__text {
  font-family: var(--font-hero-sans);
  font-size: clamp(0.98rem, 1.28vw, 1.12rem);
  font-weight: 300;
  line-height: 1.82;
  color: rgba(74, 32, 48, 0.9);
  margin: 0;
  max-width: none;
}

.jci-editorial__creed {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.jci-creed__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: none;
  margin: 0;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.65rem) clamp(0.35rem, 0.85vw, 0.85rem);
  background: linear-gradient(
    180deg,
    rgba(110, 16, 51, 0.04) 0%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(201, 168, 76, 0.05) 100%
  );
}

.jci-creed__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(110, 16, 51, 0.78);
  margin: 0 0 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  width: fit-content;
  max-width: 100%;
}

.jci-creed__belief {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--rose-dark);
  margin: 0 0 1.2rem;
  line-height: 1.32;
}

.jci-creed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.1vw, 0.85rem);
  flex: 1 1 auto;
  min-height: 0;
}

.jci-creed__list li {
  font-family: var(--font-head);
  font-size: clamp(0.88rem, 1.05vw, 1.06rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: 0.01em;
  color: var(--text-dark);
  margin: 0;
  padding-left: 1.1em;
  position: relative;
}

.jci-creed__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.88;
}

/* Desktop: JCI block fits one viewport; Who We Are begins below the fold */
@media (min-width: 1025px) and (min-height: 720px) {
  .about-section {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .about-inner {
    gap: clamp(0.6rem, 1.1vh, 1rem);
  }

  .section-inner.about-inner {
    padding-top: calc(var(--header-h) + clamp(0.75rem, 2vh, 1.35rem));
    padding-bottom: clamp(0.85rem, 1.65vh, 1.35rem);
  }

  .jci-editorial {
    padding: clamp(0.75rem, 1.5vh, 1.35rem) clamp(0.35rem, 0.85vw, 0.85rem);
  }

  .jci-editorial__grid {
    gap: clamp(0.75rem, 1.25vw, 1.35rem);
  }

  .jci-editorial__intro {
    padding-right: clamp(0.65rem, 1.35vw, 1.25rem);
  }

  .jci-editorial__mv {
    padding-right: clamp(0.65rem, 1.35vw, 1.25rem);
    gap: clamp(1rem, 1.75vh, 1.55rem);
    padding-top: clamp(0.65rem, 1.75vh, 1.35rem);
    padding-bottom: clamp(0.65rem, 1.75vh, 1.35rem);
    justify-content: center;
  }

  .jci-editorial__label {
    margin-bottom: 0.55rem;
  }

  .jci-editorial__label::after {
    margin-top: 0.55rem;
  }

  .jci-editorial__headline {
    font-size: clamp(1.38rem, 2.35vw, 1.9rem);
    margin-bottom: 0.65rem;
  }

  .jci-editorial__lede {
    font-size: clamp(0.95rem, 1.12vw, 1.06rem);
    line-height: 1.62;
  }

  .jci-editorial__lede::first-letter {
    font-size: 2.35em;
    line-height: 0.85;
  }

  .jci-mv__title {
    margin-bottom: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .jci-mv__text {
    font-size: clamp(0.82rem, 0.95vw, 0.94rem);
    line-height: 1.58;
  }

  .jci-creed__inner {
    padding: clamp(0.55rem, 1.1vh, 1rem) clamp(0.35rem, 0.75vw, 0.65rem);
  }

  .jci-creed__label {
    margin-bottom: 0.55rem;
    padding-bottom: 0.35rem;
  }

  .jci-creed__belief {
    font-size: clamp(1rem, 1.75vw, 1.35rem);
    margin-bottom: 0.65rem;
  }

  .jci-creed__list {
    gap: 0.35rem 0;
  }

  .jci-creed__list li {
    font-size: clamp(0.8rem, 0.95vw, 0.92rem);
    line-height: 1.38;
  }

  .about-perlas {
    margin-top: clamp(0.25rem, 0.8vh, 0.65rem);
    padding-top: clamp(0.35rem, 1vh, 0.85rem);
  }
}

/* About Perlas — text column leads; image is a smaller accent, not matched height */
.about-perlas {
  display: grid;
  grid-template-columns: 1fr minmax(0, auto);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
  justify-items: start;
}

.about-perlas-text {
  min-width: 0;
}

.about-perlas-image {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  max-width: 100%;
}

.about-perlas-image .image-frame {
  max-width: 460px;
  max-height: 340px;
  width: 100%;
  margin-left: auto;
  aspect-ratio: 4 / 3;
}

.about-perlas-image .image-frame img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
}

.gold-border-text {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 1.2rem 0 2rem;
}

.gold-border-text p {
  font-size: clamp(1.05rem, 1.15vw, 1.15rem);
  line-height: 1.82;
  color: var(--text-body);
}

/* About block: larger kicker + chapter title for readability */
.about-section .section-label {
  font-size: clamp(0.8rem, 1.05vw, 0.9rem);
}

.about-section .section-heading {
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
}

.about-stats {
  display: flex;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-mid);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-body);
  opacity: 0.7;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-rose);
  position: relative;
  aspect-ratio: 4/3;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: -8px -8px auto auto;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 60%);
  opacity: 0.25;
  border-radius: 0 var(--radius) 0 0;
  z-index: 1;
  pointer-events: none;
}

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

.image-frame:hover img { transform: scale(1.04); }

.watermark-text {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  margin: 0;
  max-width: 11rem;
  font-family: var(--font-head);
  font-size: clamp(0.65rem, 1.4vw, 0.8rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: var(--rose-dark);
  opacity: 0.14;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   TOPP SECTION
   ═══════════════════════════════════════════════════════════ */
.topp-section {
  align-items: center;
}

.topp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.topp-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px) brightness(0.6) saturate(0.8);
  transform: scale(1.04);
}

.topp-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(110, 16, 51, 0.80) 0%,
    rgba(216, 55, 114, 0.55) 50%,
    rgba(40, 5, 20, 0.80) 100%
  );
}

.topp-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.flagship-label {
  font-size: 0.7rem;
}

.topp-heading {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin: 0.5rem 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.topp-acronym {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.15em;
  opacity: 0.9;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.topp-body {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.cta-ghost {
  display: inline-block;
  padding: 0.75rem 2.2rem;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.cta-ghost:hover,
.cta-ghost:focus {
  background: var(--gold);
  color: var(--rose-dark);
  outline: none;
}

/* TOPP Gallery — side stack uses a wide column so landscape photos read as landscape */
.topp-gallery {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 40%);
  grid-template-rows: 1fr;
  gap: 1rem;
  height: 450px;
}

.topp-main-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  grid-row: 1;
}

.topp-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topp-side-imgs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  align-self: stretch;
}

.topp-side-imgs img {
  width: 100%;
  height: calc(50% - 0.5rem);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform var(--transition);
}

.topp-side-imgs img:hover { transform: scale(1.03); }

/* Cue: scroll to Our Projects (#projects) — subtle bounce on chevron */
.topp-scroll-next {
  position: absolute;
  bottom: clamp(0.65rem, 2vh, 1.6rem);
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1rem 0.3rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(255, 248, 242, 0.9);
  font-family: var(--font-hero-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
  transition: color var(--transition), opacity var(--transition);
}

.topp-scroll-next:hover,
.topp-scroll-next:focus-visible {
  color: var(--gold-light);
  outline: none;
}

.topp-scroll-next:focus-visible {
  box-shadow: 0 0 0 2px rgba(232, 201, 106, 0.65);
  border-radius: 6px;
}

.topp-scroll-next__icon {
  display: block;
  width: 1.35rem;
  height: 1rem;
  position: relative;
}

.topp-scroll-next__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  /* translate before rotate so vertical bounce stays screen-straight */
  transform: translateY(0) rotate(45deg);
  opacity: 0.92;
  animation: toppScrollCueBounce 2.2s ease-in-out infinite;
}

@keyframes toppScrollCueBounce {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(7px) rotate(45deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topp-scroll-next__icon::after {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS — PREMIUM SHOWCASE CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.projects-section {
  background: linear-gradient(160deg, var(--white) 0%, var(--rose-pale) 100%);
  align-items: flex-start;
}

.projects-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  width: 100%;
}

.projects-header {
  text-align: center;
}

.projects-showcase {
  position: relative;
  width: 100%;
  max-width: min(1320px, 100%);
  margin-inline: auto;
  padding: 0;
}

.projects-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.75rem) 0;
  container-type: inline-size;
  container-name: projects-view;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 1.5%,
    black 98.5%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 1.5%,
    black 98.5%,
    transparent 100%
  );
}

.projects-track {
  display: flex;
  align-items: stretch;
  gap: clamp(0.22rem, 0.65vw, 0.48rem);
  will-change: transform;
  transition: transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-track.is-no-trans {
  transition: none;
}

/* Wide center card + closer side peeks (mask + gap tuned) */
.project-slide {
  flex: 0 0 min(78vw, 80rem);
  width: min(78vw, 80rem);
  max-width: 100%;
  transform: scale(0.94);
  opacity: 0.7;
  filter: saturate(0.88);
  transition:
    transform 0.68s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.55s ease,
    filter 0.55s ease;
}

@supports (width: 1cqw) {
  .project-slide {
    flex: 0 0 min(77cqw, 80rem);
    width: min(77cqw, 80rem);
  }
}

.project-slide.is-active {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1);
}

/* Card shell — inner body keeps margins + split media / text */
.project-slide__card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 241, 0.96) 48%, rgba(255, 240, 248, 0.35) 100%);
  border: 1px solid rgba(110, 16, 51, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 36px rgba(110, 16, 51, 0.06);
  overflow: hidden;
}

.project-slide__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0.4rem 0.45rem 0.3rem;
  overflow: hidden;
  border-radius: 4px;
}

.project-slide__media {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  contain: layout;
  border: 1px solid rgba(110, 16, 51, 0.14);
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.42);
}

.project-slide__grid {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  box-sizing: border-box;
  gap: 0.38rem;
  padding: 0.38rem;
  margin: 0;
}

.project-slide__fig {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(110, 16, 51, 0.06);
  min-height: 0;
}

.project-slide__fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-slide__grid--lingap .project-slide__fig {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92), rgba(245, 237, 224, 0.72)),
    rgba(255, 252, 248, 0.86);
}

.project-slide__grid--lingap .project-slide__fig img {
  object-fit: contain;
}

/* Layout 1 — wide top, pair below */
.project-slide__grid--1 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.project-slide__grid--1 .project-slide__fig--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.project-slide__grid--1 .project-slide__fig:not(.project-slide__fig--wide) {
  aspect-ratio: 4 / 3;
}

/* Layout 2 — two stacked left, tall portrait right */
.project-slide__grid--2 {
  grid-template-columns: 1.12fr 0.78fr;
  grid-template-rows: 1fr 1fr;
}

.project-slide__grid--2 .project-slide__fig:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4 / 3;
}

.project-slide__grid--2 .project-slide__fig:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  aspect-ratio: 4 / 3;
}

.project-slide__grid--2 .project-slide__fig--tall {
  grid-column: 2;
  grid-row: 1 / -1;
  aspect-ratio: 3 / 4;
  align-self: stretch;
}

.project-slide__grid--2 .project-slide__fig--tall img {
  min-height: 100%;
}

/* Layout 3 — tall left column, two landscapes right */
.project-slide__grid--3 {
  grid-template-columns: 1.12fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.project-slide__grid--3 .project-slide__fig--hero {
  grid-column: 1;
  grid-row: 1 / -1;
  aspect-ratio: 3 / 4;
}

.project-slide__grid--3 .project-slide__fig:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 16 / 10;
}

.project-slide__grid--3 .project-slide__fig:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 16 / 10;
}

/* Layout 4 — pair top, wide bottom */
.project-slide__grid--4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.project-slide__grid--4 .project-slide__fig:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4 / 3;
}

.project-slide__grid--4 .project-slide__fig:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 4 / 3;
}

.project-slide__grid--4 .project-slide__fig--wide {
  grid-column: 1 / -1;
  grid-row: 2;
  aspect-ratio: 21 / 9;
}

.project-slide__text {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 46%;
  padding: clamp(0.75rem, 1.8vw, 1.05rem) clamp(0.85rem, 1.8vw, 1.2rem) clamp(0.85rem, 1.8vw, 1.1rem);
  border: 1px solid rgba(110, 16, 51, 0.14);
  border-top: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 0 0 3px 3px;
  background: rgba(255, 255, 255, 0.72);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.project-slide__title {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  font-weight: 600;
  font-style: normal;
  color: var(--rose-dark);
  margin: 0 0 0.55rem;
  padding-bottom: 0.55rem;
  letter-spacing: 0.02em;
  line-height: 1.22;
  border-bottom: 1px solid rgba(110, 16, 51, 0.08);
}

.project-slide__title:has(+ .project-slide__subtitle) {
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
}

.project-slide__paren {
  font-family: var(--font-hero-sans);
  font-weight: 500;
  font-size: 0.82em;
  color: rgba(110, 16, 51, 0.72);
  letter-spacing: 0.04em;
}

.project-slide__subtitle {
  font-family: var(--font-hero-sans);
  font-size: clamp(0.66rem, 0.92vw, 0.76rem);
  font-weight: 400;
  color: rgba(74, 32, 48, 0.78);
  margin: 0 0 0.5rem;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.project-slide__lede {
  font-family: var(--font-hero-sans);
  font-size: clamp(0.8rem, 1.05vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  max-width: none;
}

.project-slide__lede + .project-slide__lede,
.project-slide__hashtags {
  margin-top: 0.6rem;
}

.project-slide__hashtags {
  font-family: var(--font-hero-sans);
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(110, 16, 51, 0.76);
}

/* Desktop: one viewport tall, horizontal focus — tight chrome + compact image row */
@media (min-width: 769px) {
  .scroll-wrapper .projects-section.section {
    min-height: 100dvh;
    max-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
    align-items: stretch;
    box-sizing: border-box;
  }

  .projects-section .projects-inner {
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px) + 14px);
    gap: 0.35rem;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    flex: 1 1 auto;
  }

  .projects-header {
    flex: 0 0 auto;
  }

  .projects-header .section-label {
    margin-bottom: 0.28rem;
    font-size: 0.82rem;
  }

  .projects-header .section-heading {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  }

  .projects-showcase {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .projects-viewport {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.08rem 0 10px;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
  }

  .projects-track {
    align-self: stretch;
    height: 100%;
    min-height: 0;
  }

  .project-slide {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    justify-content: stretch;
  }

  .projects-dots {
    flex: 0 0 auto;
    margin-top: 0;
    margin-bottom: 0.45rem;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .project-slide__card {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    width: 100%;
  }

  .project-slide__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    margin: 0.32rem 0.38rem 0.18rem;
  }

  .project-slide__media {
    min-height: clamp(180px, 36dvh, 100%);
  }

  .project-slide__grid {
    min-height: 0;
    padding: 0.3rem;
    gap: 0.22rem;
  }

  .project-slide__grid--1,
  .project-slide__grid--2,
  .project-slide__grid--3,
  .project-slide__grid--4 {
    grid-template-rows: 1fr 1fr;
  }

  .project-slide__grid .project-slide__fig {
    aspect-ratio: unset;
    min-height: 0;
  }

  .project-slide__text {
    flex: 0 1 auto;
    max-height: min(38dvh, 42%);
    padding: clamp(0.45rem, 1vh, 0.6rem) clamp(0.6rem, 1.1vw, 0.85rem) 0.5rem;
    min-height: 0;
    scrollbar-gutter: stable;
  }

  .project-slide__text::-webkit-scrollbar {
    width: 4px;
  }

  .project-slide__text::-webkit-scrollbar-thumb {
    background: rgba(110, 16, 51, 0.22);
    border-radius: 4px;
  }

  .project-slide__title {
    font-size: clamp(0.92rem, 1.35vw, 1.18rem);
    margin-bottom: 0.35rem;
    padding-bottom: 0.35rem;
    line-height: 1.18;
  }

  .project-slide__subtitle {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
    line-height: 1.32;
  }

  .project-slide__lede {
    font-size: 0.72rem;
    line-height: 1.45;
    letter-spacing: 0.028em;
  }
}

.projects-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 3rem;
  height: 3rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(110, 16, 51, 0.22);
  border-radius: 50%;
  background: rgba(255, 253, 252, 0.94);
  color: var(--rose-dark);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-head);
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow:
    0 2px 16px rgba(110, 16, 51, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform 0.25s ease, box-shadow var(--transition);
}

.projects-arrow:hover {
  color: var(--rose-dark);
  border-color: rgba(201, 168, 76, 0.75);
  background: var(--white);
  box-shadow:
    0 4px 22px rgba(110, 16, 51, 0.12),
    0 0 0 1px rgba(201, 168, 76, 0.35) inset;
}

.projects-arrow:focus {
  outline: none;
}

.projects-arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  opacity: 1;
}

.projects-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.projects-arrow--prev {
  left: max(0.2rem, env(safe-area-inset-left, 0px));
}

.projects-arrow--next {
  right: max(0.2rem, env(safe-area-inset-right, 0px));
}

.projects-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding: 0 1rem;
}

.projects-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(216, 55, 114, 0.35);
  transition: background var(--transition), transform 0.35s ease, box-shadow 0.35s ease;
}

.projects-dot:hover {
  background: rgba(110, 16, 51, 0.45);
  transform: scale(1.15);
}

.projects-dot.active {
  background: var(--rose-dark);
  transform: scale(1.35);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.45);
}

.projects-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .projects-track {
    transition: none !important;
  }

  .project-slide {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PARTNERS SECTION
   ═══════════════════════════════════════════════════════════ */
.partners-section {
  background: var(--beige);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  min-height: auto;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-dark), var(--gold), var(--rose-dark));
}

/* One continuous cream block: intro + major tier (single gradient, no seam) */
.partners-major-surface {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #f5efe4;
  background-image: linear-gradient(
    180deg,
    #faf6ef 0%,
    #f3ebe0 42%,
    #ebe4d6 100%
  );
}

.partners-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding-bottom: clamp(1rem, 2.5vw, 1.65rem);
}

.partners-header { text-align: center; }

.partners-sub {
  max-width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 24px);
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
  color: var(--text-body);
  opacity: 0.92;
  text-align: center;
  line-height: 1.55;
}

/* Full viewport–width tier strips; content centered inside */
.partners-tier {
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.partners-tier__contain {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  /* Slightly tighter sides so logo grids use ~1160px+ on 1920px displays */
  padding: 0 clamp(16px, 4vw, 56px);
  box-sizing: border-box;
}

.partners-major-surface .partners-tier--major {
  background: none;
  background-color: transparent;
  padding-top: clamp(1.1rem, 2.8vw, 2rem);
}

.partners-tier--minor {
  background: linear-gradient(
    180deg,
    #ddd0c0 0%,
    #d0c2b2 42%,
    #c4b5a4 100%
  );
}

.tier-heading {
  text-align: center;
  margin: 0 auto clamp(1.85rem, 3.2vw, 2.6rem);
  width: 100%;
  max-width: none;
  line-height: 1.35;
}

.tier-heading--gold {
  font-family: var(--font-hero-sans);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.35vw, 1.55rem);
  /* Warm jewelry gold — lighter than bronze; no #fff stops */
  background: linear-gradient(
    105deg,
    #9a7b2e 0%,
    #b8942e 16%,
    var(--gold) 34%,
    #dcb863 44%,
    var(--gold-light) 52%,
    #d4af37 60%,
    var(--gold) 72%,
    #a67c1e 88%,
    #8a6e22 100%
  );
  background-size: 100% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0.5px 0 rgba(138, 110, 34, 0.35))
    drop-shadow(0 1px 2px rgba(74, 48, 10, 0.12));
}

.tier-heading--silver {
  font-family: var(--font-hero-sans);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.1vw, 1.42rem);
  /* Soft platinum / brushed silver — not gunmetal */
  background: linear-gradient(
    102deg,
    #6d7178 0%,
    #80858d 20%,
    #9ea3ad 38%,
    #aeb4bf 48%,
    #b8bec8 52%,
    #9ea3ad 60%,
    #8b9099 78%,
    #727882 100%
  );
  background-size: 100% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: #9ea3ad;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0.5px 0 rgba(80, 86, 96, 0.35))
    drop-shadow(0 1px 2px rgba(24, 26, 30, 0.1));
}

@media (prefers-reduced-motion: reduce) {
  .tier-heading--gold,
  .tier-heading--silver {
    animation: none;
    background-size: 100% auto;
  }
}

@supports not (background-clip: text) {
  .tier-heading--gold,
  .tier-heading--silver {
    background: none;
    -webkit-text-fill-color: unset;
    filter: none;
  }

  .tier-heading--gold { color: var(--gold); }

  .tier-heading--silver { color: #8b9099; }
}

/* Major: always 3 columns; logos scale to full tier width (~1980×1080 ref) */
.partners-grid--major {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(0.85rem, 1.8vw, 1.5rem);
  row-gap: clamp(1.2rem, 2.5vw, 2.1rem);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-items: stretch;
  align-items: center;
}

/*
 * Minor: fluid columns — min track tuned so ~1920×1080 viewports land near ~4 across
 * (not a fixed column count; wraps with width). DOM order = row-major.
 */
.partners-grid--minor {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(10.5rem, 24vw, 17rem), 1fr)
  );
  gap: clamp(0.95rem, 2vw, 1.65rem);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-items: stretch;
  align-items: center;
}

.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), opacity var(--transition);
}

.partner-tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 2px;
}

.partner-tile img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform var(--transition), opacity var(--transition);
}

.partners-grid--major .partner-tile {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.partners-grid--major .partner-tile img {
  max-height: clamp(140px, min(19vw, 26vh), 320px);
  max-width: 100%;
  width: auto;
}

.partners-grid--minor .partner-tile--minor {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.partners-grid--minor .partner-tile img {
  max-height: clamp(96px, min(12vw, 17vh), 150px);
  max-width: 100%;
  width: auto;
}

.partner-tile:hover,
.partner-tile:focus-visible {
  transform: scale(1.06);
  background: transparent;
  box-shadow: none;
  border: none;
}

.partner-tile:hover img,
.partner-tile:focus-visible img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .partners-tier__contain {
    padding: 0 clamp(14px, 4vw, 24px);
  }

  .partners-grid--major {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
    row-gap: 1.1rem;
    max-width: 100%;
  }

  .partners-grid--major .partner-tile img {
    max-height: clamp(90px, 24vw, 160px);
  }

  .partners-grid--minor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.65rem;
    max-width: 100%;
  }

  .partners-grid--minor .partner-tile img {
    max-height: clamp(64px, 18vw, 108px);
  }

  .tier-heading--gold,
  .tier-heading--silver {
    letter-spacing: 0.12em;
  }
}

/* ──────────────────────────────────────────────────────────
   PUBLICATIONS
   ────────────────────────────────────────────────────────── */
.publications-page,
.publication-article-page {
  position: relative;
  padding: 0;
  max-width: none;
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.74), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(242, 141, 178, 0.16), transparent 28%),
    linear-gradient(180deg, #f8f1e8 0%, #f4eadf 44%, #f9f3ec 100%);
}

.publications-page::before,
.publication-article-page::before,
.publications-page::after,
.publication-article-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.publications-page::before,
.publication-article-page::before {
  opacity: 0.52;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='none' stroke='%236e1033' stroke-width='0.35' opacity='0.22' d='M36 4 68 36 36 68 4 36 36 4'/%3E%3Cpath fill='none' stroke='%23c9a84c' stroke-width='0.28' opacity='0.35' d='M36 18v36M18 36h36'/%3E%3C/svg%3E");
}

.publications-page::after,
.publication-article-page::after {
  opacity: 0.54;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.publications-page > *,
.publication-article-page > * {
  position: relative;
  z-index: 1;
}

.publications-banner {
  position: relative;
  min-height: clamp(340px, 44vw, 500px);
  display: flex;
  align-items: flex-end;
  padding:
    calc(var(--header-h) + clamp(3.5rem, 7vw, 5.75rem))
    clamp(20px, 5vw, 80px)
    clamp(2.75rem, 6vw, 4.75rem);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.publications-banner::before,
.publications-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.publications-banner::before {
  background:
    linear-gradient(rgba(24, 8, 18, 0.12), rgba(24, 8, 18, 0.12)),
    url("../new assets/publications banner.webp") center 45% / cover no-repeat;
  transform: scale(1.04);
}

.publications-banner::after {
  background:
    linear-gradient(
      110deg,
      rgba(73, 14, 40, 0.92) 0%,
      rgba(110, 16, 51, 0.78) 38%,
      rgba(216, 55, 114, 0.44) 72%,
      rgba(32, 8, 22, 0.68) 100%
    );
}

.publications-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.publications-banner__eyebrow,
.publication-meta {
  font-family: var(--font-hero-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.publications-banner__eyebrow {
  color: rgba(255, 234, 243, 0.84);
  margin-bottom: 1rem;
}

.publications-banner h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  line-height: 1.06;
  color: var(--white);
}

.publications-banner__subtitle {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
  color: rgba(255, 242, 247, 0.9);
}

.publications-files-section,
.publications-articles-section,
.publication-article-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding:
    clamp(3.75rem, 7vw, 6rem)
    clamp(20px, 5vw, 80px);
}

.publications-section-intro {
  max-width: 48rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.publications-section-intro > p:last-child {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: rgba(74, 32, 48, 0.82);
}

.publications-section-intro--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  max-width: 1160px;
  text-align: left;
}

.publication-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 252, 248, 0.9);
  box-shadow: 0 14px 32px rgba(110, 16, 51, 0.08);
  color: var(--text-dark);
  font: 500 0.95rem/1.4 var(--font-hero-sans);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.publication-search input:focus {
  border-color: var(--gold);
  box-shadow:
    0 0 0 4px rgba(201, 168, 76, 0.16),
    0 16px 34px rgba(110, 16, 51, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.publication-file-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 239, 0.94)),
    linear-gradient(135deg, rgba(201, 168, 76, 0.12), transparent);
  box-shadow:
    0 28px 70px rgba(110, 16, 51, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.publication-file-card__cover {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 26px 56px rgba(74, 14, 38, 0.18),
    0 0 0 1px rgba(201, 168, 76, 0.26);
  transition: transform var(--transition), box-shadow var(--transition);
}

.publication-file-card__cover:hover,
.publication-file-card__cover:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 34px 70px rgba(74, 14, 38, 0.22),
    0 0 0 2px rgba(201, 168, 76, 0.42);
}

.publication-file-card__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.publication-file-card__type {
  margin: 0 0 0.8rem;
  font-family: var(--font-hero-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.publication-file-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.12;
  color: var(--rose-dark);
}

.publication-file-card__copy > p:not(.publication-file-card__type) {
  margin: 0;
  color: rgba(74, 32, 48, 0.84);
  line-height: 1.75;
}

.publication-file-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

/* Publications books carousel */
.publication-books-carousel {
  position: relative;
  max-width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.publication-books-viewport {
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.75rem) 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}

.publication-books-track {
  display: flex;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.publication-books-track.is-no-trans {
  transition: none;
}

.publication-book-slide {
  flex: 0 0 min(88vw, 920px);
  width: min(88vw, 920px);
  max-width: 100%;
  transform: scale(0.94);
  opacity: 0.72;
  filter: saturate(0.9);
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
}

.publication-book-slide.is-active {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1);
}

.publication-books-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(110, 16, 51, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(110, 16, 51, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.publication-books-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.05);
}

.publication-books-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.publication-books-arrow--prev { left: 0; }
.publication-books-arrow--next { right: 0; }

.publication-books-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.publication-books-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(110, 16, 51, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.publication-books-dot.active {
  background: var(--rose-dark);
  transform: scale(1.15);
}

.publication-button,
.publication-load-more,
.project-slide__article-link,
.publication-read-link,
.publication-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--font-hero-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.publication-button,
.publication-load-more,
.project-slide__article-link {
  padding: 0.85rem 1.15rem;
}

.publication-button--primary,
.publication-load-more,
.project-slide__article-link {
  border: 1px solid rgba(201, 168, 76, 0.72);
  background: linear-gradient(135deg, var(--rose-dark), #9d214e);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(110, 16, 51, 0.18);
}

.publication-button--ghost {
  border: 1px solid rgba(201, 168, 76, 0.55);
  background: rgba(255, 255, 255, 0.56);
  color: var(--rose-dark);
}

.publication-button:hover,
.publication-button:focus-visible,
.publication-load-more:hover,
.publication-load-more:focus-visible,
.project-slide__article-link:hover,
.project-slide__article-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.publication-button--primary:hover,
.publication-button--primary:focus-visible,
.publication-load-more:hover,
.publication-load-more:focus-visible,
.project-slide__article-link:hover,
.project-slide__article-link:focus-visible {
  background: linear-gradient(135deg, #7c173e, var(--rose-mid));
  box-shadow: 0 18px 38px rgba(110, 16, 51, 0.22);
}

.publication-button--ghost:hover,
.publication-button--ghost:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.86);
}

.project-slide__article-link {
  align-self: flex-start;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  padding: 0.72rem 0.98rem;
}

.publication-articles-status {
  max-width: 1160px;
  min-height: 1.5rem;
  margin: 0 auto 1rem;
  font-family: var(--font-hero-sans);
  font-size: 0.86rem;
  color: rgba(74, 32, 48, 0.72);
}

.publication-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
  max-width: 1160px;
  margin: 0 auto;
}

.publication-article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 252, 248, 0.88);
  box-shadow: 0 18px 44px rgba(110, 16, 51, 0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.publication-article-card:hover,
.publication-article-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 76, 0.48);
  box-shadow: 0 26px 60px rgba(110, 16, 51, 0.16);
}

.publication-article-card[hidden],
.publication-load-more[hidden] {
  display: none;
}

.publication-article-card__media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.publication-article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.publication-article-card:hover .publication-article-card__media img,
.publication-article-card:focus-within .publication-article-card__media img {
  transform: scale(1.045);
}

.publication-article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.1rem, 2vw, 1.35rem);
}

.publication-meta {
  margin: 0 0 0.6rem;
  color: var(--gold);
}

.publication-article-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.publication-article-card h3 a {
  color: var(--rose-dark);
  text-decoration: none;
}

.publication-article-card p:not(.publication-meta) {
  margin: 0.85rem 0 0;
  color: rgba(74, 32, 48, 0.82);
  line-height: 1.65;
}

.publication-read-link {
  justify-content: flex-start;
  min-height: 0;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--rose-dark);
}

.publication-read-link:hover,
.publication-read-link:focus-visible,
.publication-back-link:hover,
.publication-back-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.publication-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.publication-article-detail {
  max-width: 1120px;
}

.publication-article-hero {
  max-width: 820px;
  margin: 0 auto clamp(2rem, 5vw, 3.25rem);
  padding-top: calc(var(--header-h) + clamp(2.75rem, 6vw, 4.5rem));
  text-align: center;
}

.publication-back-link {
  min-height: 0;
  margin-bottom: 1.25rem;
  color: var(--rose-dark);
}

.publication-article-hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  line-height: 1.08;
  color: var(--rose-dark);
}

.publication-article-subtitle {
  max-width: 44rem;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.75;
  color: rgba(74, 32, 48, 0.82);
}

.publication-article-featured-media {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.25rem);
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.publication-article-featured-media img,
.publication-inline-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(110, 16, 51, 0.12);
}

.publication-article-featured-media img:first-child {
  grid-row: 1 / span 2;
}

.publication-article-featured-media--lingap {
  grid-template-columns: 1fr 0.75fr;
}

.publication-article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 26px;
  background: rgba(255, 252, 248, 0.86);
  box-shadow: 0 18px 48px rgba(110, 16, 51, 0.1);
}

.publication-article-body p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.85;
  color: rgba(74, 32, 48, 0.86);
}

.publication-article-body p + p {
  margin-top: 1rem;
}

.publication-inline-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.1rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}

.publication-article-footer {
  max-width: 760px;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  text-align: center;
}

/* ── Souvenir Program / Flipbook page ─────────────────────────── */
.souvenir-program-page .souvenir-flipbook-section {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.souvenir-flipbook-wrap {
  width: 100%;
  /* DearFlip is landscape — let width drive, height follows aspect ratio */
  aspect-ratio: 16 / 9;
  min-height: 480px;
}

/* Force DearFlip to be full width — width is what matters for landscape flipbooks */
.souvenir-flipbook-wrap > div,
.souvenir-flipbook-wrap .df-container,
.souvenir-flipbook-wrap ._df_book {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

.souvenir-flipbook-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.souvenir-pdf-fallback {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted, #888);
}

/* ── Article single post ───────────────────────────────────────── */
.publication-article-page {
  background: var(--cream, #faf7f2);
}

.publication-article-header {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2rem) clamp(2rem, 4vw, 3rem);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.publication-breadcrumb {
  font-family: var(--font-hero-sans, sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74,32,48,0.55);
  margin-bottom: 1.25rem;
}

.publication-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.publication-breadcrumb a:hover {
  color: var(--rose-dark, #7a1c34);
}

.publication-article-kicker {
  font-family: var(--font-hero-sans, sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #b8973a);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.publication-article-title {
  font-family: var(--font-display, serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--rose-dark, #7a1c34);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.publication-article-deck {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(40,20,30,0.7);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.publication-article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  font-family: var(--font-hero-sans, sans-serif);
  font-size: 0.82rem;
  color: rgba(40,20,30,0.55);
}

.publication-article-byline__author {
  font-weight: 600;
  color: rgba(40,20,30,0.75);
}

.publication-article-byline__sep {
  color: rgba(40,20,30,0.3);
}

.publication-article-hero-img {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  max-height: 520px;
  overflow: hidden;
}

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

.publication-article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem) clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: rgba(20,10,15,0.82);
}

.publication-article-body p {
  margin: 0 0 1.4em;
}

.publication-article-body h2,
.publication-article-body h3 {
  font-family: var(--font-display, serif);
  color: var(--rose-dark, #7a1c34);
  margin: 2em 0 0.6em;
}

.publication-article-body img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5em 0;
}

.publication-article-footer {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem) clamp(3rem, 8vw, 5rem);
}

.publication-article-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.publication-article-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(74,32,48,0.2);
  border-radius: 999px;
  font-family: var(--font-hero-sans, sans-serif);
  font-size: 0.78rem;
  color: var(--rose-dark, #7a1c34);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.publication-article-tag:hover {
  background: var(--rose-dark, #7a1c34);
  color: #fff;
  border-color: var(--rose-dark, #7a1c34);
}

.publication-article-divider {
  height: 1px;
  background: rgba(74,32,48,0.12);
  margin: 1.5rem 0;
}

.publication-article-attribution {
  margin-bottom: 2rem;
}

.publication-article-attribution__org {
  font-family: var(--font-hero-sans, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(40,20,30,0.6);
  margin: 0 0 0.3rem;
}

.publication-article-attribution__note {
  font-size: 0.8rem;
  color: rgba(40,20,30,0.45);
  margin: 0;
}

.publication-article-tags {
  margin: 0;
  font-family: var(--font-hero-sans);
  font-size: 0.84rem;
  color: rgba(74, 32, 48, 0.72);
}

.publication-article-tags a {
  color: var(--rose-dark);
  text-decoration: none;
  font-weight: 600;
}

.publication-article-tags a:hover,
.publication-article-tags a:focus-visible {
  color: var(--gold);
  outline: none;
}

@media (max-width: 1180px) {
  .main-nav ul {
    gap: clamp(0.65rem, 1.2vw, 1.1rem);
  }

  .nav-link {
    font-size: clamp(0.78rem, 0.98vw, 0.94rem);
    letter-spacing: 0.045em;
  }

  .publication-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .publications-section-intro--split,
  .publication-file-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .publication-book-slide {
    flex: 0 0 min(92vw, 920px);
    width: min(92vw, 920px);
  }

  .publication-books-arrow {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.25rem;
  }

  .publication-file-card__actions {
    justify-content: center;
  }

  .publication-article-featured-media {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .publication-article-featured-media img:first-child {
    grid-row: auto;
  }

  .publication-inline-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .publication-articles-grid,
  .publication-inline-gallery {
    grid-template-columns: 1fr;
  }

  .publications-files-section,
  .publications-articles-section,
  .publication-article-detail {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.contact-section {
  background: linear-gradient(145deg, var(--rose-dark) 0%, var(--rose-mid) 100%);
  align-items: center;
  justify-content: center;
}

/* Decorative circles */
.contact-bg-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 208, 225, 0.1);
}

.c1 { width: 500px; height: 500px; top: -200px; right: -150px; }
.c2 { width: 300px; height: 300px; bottom: -100px; left: -80px; border-color: rgba(201, 168, 76, 0.12); }
.c3 { width: 200px; height: 200px; top: 30%; left: 5%; border-color: rgba(255, 208, 225, 0.06); }

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.contact-heading {
  font-family: var(--font-head);
  font-size: clamp(2.65rem, 5.8vw, 4.15rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.contact-section .section-label {
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
}

.contact-sub {
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  color: rgba(255, 208, 225, 0.88);
  max-width: 560px;
  line-height: 1.78;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 640px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.75rem;
  border: 1.5px solid rgba(255, 208, 225, 0.25);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-align: left;
}

.contact-pill:hover,
.contact-pill:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--rose-dark);
  transform: translateY(-4px);
  outline: none;
}

.contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
}

.contact-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.98;
  transition: filter var(--transition), opacity var(--transition);
}

.contact-pill:hover .contact-icon-img,
.contact-pill:focus .contact-icon-img {
  filter: brightness(0);
  opacity: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-label {
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--rose-dark);
  scroll-snap-align: start;
  position: relative;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem clamp(20px, 5vw, 80px) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "links brand contact"
    "strap strap strap";
  gap: 2.5rem 2rem;
  align-items: start;
}

.footer-col.footer-links {
  grid-area: links;
  justify-self: start;
}

.footer-col.footer-brand {
  grid-area: brand;
  justify-self: center;
  align-self: center;
}

.footer-col.footer-contact {
  grid-area: contact;
  justify-self: start;
  text-align: left;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.footer-brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
}

.footer-logo {
  width: auto;
  display: block;
}

.footer-logo--jci {
  height: clamp(5.25rem, 16vw, 10.5rem);
  filter: brightness(0) invert(1);
}

.footer-logo--heritage {
  height: clamp(3.25rem, 10vw, 6.75rem);
  max-width: min(100%, min(420px, 38vw));
  object-fit: contain;
}

.footer-strapline {
  grid-area: strap;
  margin: 0;
  padding-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid rgba(255, 208, 225, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: clamp(1rem, 2.75vh, 1.65rem);
  column-gap: clamp(1.75rem, 4.5vw, 3.5rem);
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 252, 254, 0.92);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.85;
}

.footer-strapline__phrase {
  letter-spacing: 0.12em;
}

.footer-strapline__dot {
  color: var(--gold);
  font-size: 0.92em;
  font-style: normal;
  font-weight: 400;
  vertical-align: middle;
  opacity: 0.88;
  user-select: none;
  line-height: 1;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col.footer-contact ul {
  align-items: flex-start;
}

.footer-links a,
.footer-contact a {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
}

.footer-contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) invert(1);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 208, 225, 0.1);
}

.footer-copyright p {
  font-size: 0.78rem;
  color: var(--rose-pale);
  letter-spacing: 0.04em;
}

.footer-powered-by {
  margin-top: 0.5rem;
  line-height: 1.55;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

a.footer-credit-name,
.footer-credit-name {
  color: var(--gold);
  font-weight: 600;
}

a.footer-credit-name:hover,
a.footer-credit-name:focus-visible {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  outline: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .jci-editorial__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .jci-editorial__intro {
    border-right: none;
    padding-right: 0;
  }

  .jci-editorial__mv {
    flex-direction: column;
    justify-content: flex-start;
    border-right: none;
    padding-right: 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(110, 16, 51, 0.085);
    gap: 2rem;
  }

  .jci-editorial__creed {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(110, 16, 51, 0.085);
  }

  .jci-creed__inner {
    flex: 0 1 auto;
  }

  .jci-creed__list {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .about-perlas {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: stretch;
  }

  .about-perlas-image {
    justify-self: center;
    width: min(100%, 480px);
  }

  .about-perlas-image .image-frame {
    max-width: 100%;
    max-height: 320px;
    margin-left: 0;
  }

  .about-perlas-image .image-frame img {
    max-height: 320px;
  }

  .topp-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .topp-gallery {
    grid-template-columns: 1fr minmax(260px, 42%);
    height: 320px;
  }

  .project-slide {
    flex: 0 0 min(76vw, 70rem);
    width: min(76vw, 70rem);
  }

  @supports (width: 1cqw) {
    .project-slide {
      flex: 0 0 min(75cqw, 70rem);
      width: min(75cqw, 70rem);
    }
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "links contact"
      "strap strap";
    gap: 2rem 2.5rem;
  }

  .footer-col.footer-links {
    justify-self: start;
  }

  .footer-col.footer-brand {
    justify-self: center;
  }

  .footer-col.footer-contact {
    justify-self: start;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Disable scroll snap */
  .scroll-wrapper {
    scroll-snap-type: none;
    height: auto;
    overflow-y: visible;
  }

  .section {
    scroll-snap-align: none;
    min-height: auto;
    width: 100%;
    padding-top: 0;
  }

  /* Hero */
  .hero-section {
    min-height: 100svh;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    padding-top: calc(var(--header-h) + 10px);
  }

  .hero-editorial {
    max-width: min(100%, 100vw - 1.25rem);
    padding: 0 0.5rem;
  }

  .hero-kicker {
    letter-spacing: 0.32em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 10.5vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: 0.02em;
  }

  .hero-title-wrap {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  .hero-line--lead {
    animation-delay: 3.25s;
  }

  .hero-line--muted {
    animation-delay: 3.45s;
  }

  .hero-meta {
    animation-delay: 3.6s;
  }

  /* Closer to JCI mark height (logo img ~40px) so the pair feels balanced */
  .header-heritage-mark {
    max-width: min(158px, 52vw);
    height: clamp(30px, 8.25vw, 38px);
  }

  .hero-line--lead .hero-line__break {
    display: inline;
  }

  .hero-line--lead {
    max-width: none;
  }

  /* About */
  .jci-editorial {
    padding: 1.65rem 1.1rem 2rem;
  }

  .jci-editorial__grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .jci-editorial__intro {
    border-right: none;
    padding-right: 0;
  }

  .jci-editorial__mv {
    gap: 2.5rem;
    padding-top: 1.75rem;
  }

  .jci-editorial__lede::first-letter {
    font-size: 2.45em;
    line-height: 0.88;
  }

  .jci-editorial__creed {
    max-width: none;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(110, 16, 51, 0.085);
  }

  .jci-creed__inner {
    padding: 1.5rem 1rem 1.75rem;
  }

  .about-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-num { font-size: 1.5rem; }

  /* TOPP */
  .topp-inner { padding-top: calc(var(--header-h) + 2rem); }

  .topp-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(200px, 42vw) auto;
    height: auto;
  }

  .topp-side-imgs {
    flex-direction: row;
  }

  .topp-side-imgs img {
    height: auto;
    min-height: 100px;
    aspect-ratio: 3 / 2;
    width: calc(50% - 0.5rem);
  }

  /* Projects showcase */
  .projects-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    padding: 0.6rem 0 1rem;
  }

  .project-slide {
    flex: 0 0 min(92vw, 26.5rem);
    width: min(92vw, 26.5rem);
    max-width: 100%;
    transform: scale(0.92);
    opacity: 0.58;
  }

  .project-slide.is-active {
    transform: scale(1);
    opacity: 1;
  }

  .project-slide__card {
    max-height: none;
  }

  .project-slide__body {
    margin: 0.35rem 0.4rem 0.4rem;
    flex: 0 1 auto;
  }

  .project-slide__media {
    flex: 0 0 auto;
    min-height: 0;
  }

  .project-slide__text {
    max-height: none;
    flex: 0 0 auto;
  }

  .projects-showcase {
    padding: 0;
  }

  .project-slide__grid,
  .project-slide__grid--1,
  .project-slide__grid--2,
  .project-slide__grid--3,
  .project-slide__grid--4 {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .project-slide__grid--1 .project-slide__fig--wide,
  .project-slide__grid--1 .project-slide__fig,
  .project-slide__grid--2 .project-slide__fig,
  .project-slide__grid--3 .project-slide__fig--hero,
  .project-slide__grid--3 .project-slide__fig,
  .project-slide__grid--4 .project-slide__fig,
  .project-slide__grid--4 .project-slide__fig--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 10 !important;
    align-self: stretch;
  }

  .project-slide__grid--2 .project-slide__fig--tall {
    aspect-ratio: 16 / 10 !important;
  }

  .project-slide__grid--lingap .project-slide__fig {
    background: rgba(255, 255, 255, 0.42);
  }

  .project-slide__grid--lingap .project-slide__fig img {
    object-fit: cover;
  }

  .projects-arrow {
    font-size: 1.35rem;
    width: 2.65rem;
    height: 2.65rem;
  }

  .projects-arrow--prev {
    left: 0.12rem;
  }

  .projects-arrow--next {
    right: 0.12rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-pill {
    border-radius: var(--radius);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "contact"
      "strap";
    gap: 2rem;
  }

  .footer-col.footer-links,
  .footer-col.footer-brand {
    justify-self: center;
    text-align: center;
  }

  .footer-col.footer-contact {
    justify-self: stretch;
    text-align: left;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .footer-col.footer-contact ul {
    align-items: flex-start;
  }

  .footer-contact a {
    justify-content: flex-start;
  }

  .footer-strapline {
    flex-direction: column;
    row-gap: clamp(1.1rem, 3.5vh, 1.75rem);
    column-gap: 0;
  }

  .footer-strapline__dot {
    font-size: 0.85em;
  }
}

/* ═══════════════════════════════════════════════════════════
   Heritage mark easter egg (any fine pointer — see script.js)
   ═══════════════════════════════════════════════════════════ */
@media (any-pointer: fine) {
  .header-heritage-mark {
    cursor: pointer;
  }
}

/* Custom cursor URL is injected by script.js (absolute URL + * selector) so it
   survives child cursor:pointer rules and different hosting paths. */

.heritage-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  background: radial-gradient(
    circle,
    rgba(232, 201, 106, 0.65) 0%,
    rgba(201, 168, 76, 0.4) 28%,
    rgba(216, 55, 114, 0.12) 55%,
    transparent 72%
  );
  box-shadow: 0 0 28px rgba(201, 168, 76, 0.35);
  animation: heritage-cursor-glow 0.6s ease-out forwards;
}

@keyframes heritage-cursor-glow {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heritage-cursor-glow {
    animation-duration: 0.15s;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOCUS STATES (Accessibility)
   ═══════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
