/* =====================================================
   BECKY HIRST · beckyhirst.world
   styles.css — Complete Design System
   ===================================================== */

/* ===================== CSS VARIABLES ===================== */
:root {
  /* Palette */
  --cream:        #F5F0E8;
  --cream-deep:   #EDE6D6;
  --charcoal:     #1C1C1E;
  --charcoal-mid: #2C2C2E;
  --charcoal-soft:#3A3A3C;
  --bronze:       #B5714A;
  --bronze-light: #C98A62;
  --bronze-pale:  #E8C9B0;
  --sage:         #7A8C7A;
  --sage-light:   #9BAA9B;
  --warm-white:   #FDFAF5;
  --mid-tone:     #8A8680;
  --text-primary: #1C1C1E;
  --text-secondary:#5A5652;
  --text-muted:   #8A8680;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', 'Manrope', system-ui, sans-serif;
  --font-ui:      'Manrope', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  clamp(80px, 10vw, 140px);
  --container:    1280px;
  --gutter:       clamp(24px, 5vw, 80px);

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:     200ms;
  --dur-med:      400ms;
  --dur-slow:     700ms;
  --dur-xslow:    1000ms;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--warm-white);
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) { body { cursor: auto; } }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); }
ul { list-style: none; }

/* ===================== CUSTOM CURSOR ===================== */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--bronze);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--dur-fast), height var(--dur-fast), background var(--dur-fast);
}

.cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--bronze);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width var(--dur-med), height var(--dur-med), opacity var(--dur-fast);
  opacity: 0.6;
}

body.cursor-hover .cursor { width: 12px; height: 12px; background: var(--charcoal); }
body.cursor-hover .cursor-follower { width: 56px; height: 56px; opacity: 0.3; }

@media (hover: none) { .cursor, .cursor-follower { display: none; } }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

.section-title { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; color: var(--charcoal); }
.section-title--light { color: var(--cream); }

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.8rem;
  display: block;
}
.section-eyebrow--light { color: var(--bronze-pale); }

.section-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.section-header .section-title { margin-bottom: 1rem; }

/* ===================== LAYOUT ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-out);
  white-space: nowrap;
  cursor: none;
}

.btn-primary {
  background: var(--bronze);
  color: var(--warm-white);
  border: 2px solid var(--bronze);
}
.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(245,240,232,0.4);
}
.btn-ghost-light:hover {
  background: rgba(245,240,232,0.1);
  border-color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--charcoal);
  border: 2px solid var(--cream);
}
.btn-light:hover {
  background: transparent;
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

.btn--full { width: 100%; justify-content: center; }

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px var(--gutter);
  transition: background var(--dur-med), padding var(--dur-med), backdrop-filter var(--dur-med);
}

.nav.scrolled {
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px var(--gutter);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav-logo-dot { color: var(--bronze); margin: 0 2px; }
.nav-logo-world { font-style: italic; font-weight: 300; color: var(--bronze-pale); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.8);
  transition: color var(--dur-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width var(--dur-med) var(--ease-out);
}
.nav-link:hover { color: var(--warm-white); }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
  background: var(--bronze);
  color: var(--warm-white);
  padding: 10px 22px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  cursor: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--warm-white);
  transition: all var(--dur-med);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; max-width: 340px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 48px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; color: var(--cream); }
  .nav-link--cta { margin-top: 16px; }
  .nav.nav-open .nav-toggle span:first-child { transform: rotate(45deg) translate(5px, 5px); }
  .nav.nav-open .nav-toggle span:last-child { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-image-wrap {
  position: absolute; inset: 0;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}
.hero-image-wrap.loaded { transform: scale(1); }

.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-image-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.55) 50%, rgba(20,18,16,0.15) 100%),
    linear-gradient(to top, rgba(20,18,16,0.6) 0%, transparent 40%);
}

.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Two-column hero layout: content left, space for portrait right */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 120px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100%;
}

.hero-content-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 1 / -1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-pale);
  margin-bottom: 32px;
  opacity: 0.85;
}
.eyebrow-line {
  display: block;
  width: 36px; height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--warm-white);
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  max-width: 640px;
}
.hero-headline em {
  font-style: italic;
  color: var(--bronze-pale);
  font-weight: 300;
}

.hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: rgba(253,250,245,0.55);
  letter-spacing: 0.1em;
  margin-bottom: 52px;
  font-weight: 300;
  text-transform: uppercase;
}

.hero-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  z-index: 3;
  opacity: 0.45;
}
.hero-scroll-hint:hover { opacity: 0.7; }
.hero-scroll-line {
  width: 48px; height: 1px;
  background: var(--warm-white);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-white);
}

@keyframes scrollPulse {
  0%, 100% { width: 48px; opacity: 1; }
  50% { width: 64px; opacity: 0.6; }
}

@media (max-width: 860px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 110px var(--gutter) 80px;
    align-items: flex-end;
  }
  .hero-headline { font-size: clamp(2.6rem, 7vw, 4rem); }
  .hero-image { object-position: 60% 20%; }
  .hero-stats { display: none; }
  .hero-bottom-row { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .hero-content { padding-bottom: 60px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.5);
}

.hero-stat-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
  .hero-stats { display: none; }
  .hero-content { padding-bottom: 100px; }
}

/* ===================== SECTION 2: WORLD ===================== */
.world {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.world-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  cursor: none;
}

.world-card-inner {
  position: relative;
  width: 100%; height: 100%;
}

.world-card-front,
.world-card-back {
  position: absolute;
  inset: 0;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.world-card-front {
  background: linear-gradient(160deg, var(--cream-deep), var(--cream));
  border: 1px solid rgba(181,113,74,0.15);
}

.world-card:nth-child(2) .world-card-front { background: linear-gradient(160deg, #2C2C2E, #1C1C1E); }
.world-card:nth-child(2) .world-card-title { color: var(--warm-white); }
.world-card:nth-child(2) .world-card-teaser { color: rgba(253,250,245,0.5); }
.world-card:nth-child(2) .world-card-icon { color: var(--bronze); }

.world-card:nth-child(4) .world-card-front { background: linear-gradient(160deg, #4A3728, #3A2A1E); }
.world-card:nth-child(4) .world-card-title { color: var(--warm-white); }
.world-card:nth-child(4) .world-card-teaser { color: rgba(253,250,245,0.5); }
.world-card:nth-child(4) .world-card-icon { color: var(--bronze-pale); }

.world-card:nth-child(6) .world-card-front { background: linear-gradient(160deg, #3A4A3A, #2A3A2A); }
.world-card:nth-child(6) .world-card-title { color: var(--warm-white); }
.world-card:nth-child(6) .world-card-teaser { color: rgba(253,250,245,0.5); }
.world-card:nth-child(6) .world-card-icon { color: var(--sage-light); }

.world-card-icon {
  font-size: 1.8rem;
  color: var(--bronze);
  margin-bottom: 12px;
  line-height: 1;
  display: block;
}

.world-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.world-card-teaser {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.world-card-back {
  background: var(--bronze);
  color: var(--warm-white);
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
}

.world-card-back h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--warm-white);
}

.world-card-back p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(253,250,245,0.85);
  margin-bottom: 20px;
}

.world-card-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
  width: fit-content;
  transition: border-color var(--dur-fast);
}
.world-card-link:hover { border-color: var(--warm-white); }

.world-card:hover .world-card-front { opacity: 0; transform: translateY(-8px); }
.world-card:hover .world-card-back { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) { .world-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .world-grid { grid-template-columns: 1fr; gap: 12px; }
  .world-card { aspect-ratio: 16/9; } }

/* ===================== SECTION 3: SERVICES ===================== */
.services {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.services-bg-text {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 15vw, 200px);
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.services-left .section-title { color: var(--cream); margin-bottom: 20px; }
.services-left .section-eyebrow { color: var(--bronze-pale); }

.services-intro {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(245,240,232,0.65);
  line-height: 1.75;
  margin-bottom: 36px;
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--dur-med);
  align-items: start;
}
.service-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.service-item:hover { padding-left: 8px; }

.service-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--bronze);
  letter-spacing: 0.05em;
  padding-top: 4px;
  font-style: italic;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}

.service-body p {
  font-size: 0.92rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ===================== SECTION 4: SPEAKING ===================== */
.speaking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.speaking-image-col {
  position: relative;
  overflow: hidden;
}

.speaking-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.1s linear;
}

.speaking-quote-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(28,28,30,0.9), transparent);
}

.speaking-quote-overlay blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--warm-white);
  line-height: 1.5;
  margin-bottom: 8px;
}

.speaking-quote-overlay cite {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--bronze-pale);
  letter-spacing: 0.06em;
}

.speaking-content-col {
  padding: clamp(48px, 7vw, 100px) clamp(40px, 5vw, 80px);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.speaking-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

.speaking-talks { display: flex; flex-direction: column; gap: 0; }

.talk-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(28,28,30,0.1);
}
.talk-item:first-child { border-top: 1px solid rgba(28,28,30,0.1); }

.talk-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 6px;
}

.talk-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.talk-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.speaking-stats {
  display: flex;
  gap: 32px;
}

.spk-stat {
  display: flex;
  flex-direction: column;
}

.spk-stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
}

.spk-stat span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .speaking { grid-template-columns: 1fr; }
  .speaking-image-col { height: 55vw; }
}

/* ===================== SECTION 5: HEYENGAGE ===================== */
.heyengage {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.heyengage::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(181,113,74,0.12), transparent 70%);
  pointer-events: none;
}

.heyengage-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.heyengage-text .section-title { margin-bottom: 20px; }

.heyengage-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(245,240,232,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
}

.heyengage-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.heyengage-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.5;
}

.he-icon {
  color: var(--bronze);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.heyengage-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.he-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 22px 24px;
  transition: background var(--dur-med), border-color var(--dur-med), transform var(--dur-med);
  backdrop-filter: blur(4px);
}
.he-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(181,113,74,0.3);
  transform: translateX(6px);
}

.he-card-tag {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}

.he-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}

.he-card p {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.45);
  margin-bottom: 12px;
}

.he-card-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.he-card-progress {
  height: 100%;
  background: linear-gradient(to right, var(--bronze), var(--bronze-light));
  border-radius: 2px;
  transition: width 1.5s var(--ease-out);
}

@media (max-width: 900px) {
  .heyengage-inner { grid-template-columns: 1fr; }
}

/* ===================== SECTION 6: MEDIA ===================== */
.media {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.media-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.media-filter {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid rgba(28,28,30,0.15);
  border-radius: 2px;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--dur-fast);
  cursor: none;
}

.media-filter.active,
.media-filter:hover {
  border-color: var(--bronze);
  color: var(--bronze);
  background: rgba(181,113,74,0.05);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 48px;
}

.media-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
  cursor: none;
}
.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(28,28,30,0.12);
}

.media-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.media-card-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.media-card-image--short { height: 180px; }
.media-card--large .media-card-image { height: 340px; }

.media-card-overlay {
  position: absolute; inset: 0;
  background: rgba(28,28,30,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-med);
}
.media-card:hover .media-card-overlay { opacity: 1; }

.media-play {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(253,250,245,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--charcoal);
  padding-left: 4px;
}

.media-card-body { padding: 20px 22px 24px; }

.media-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 8px;
}

.media-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 10px;
}

.media-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.media-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.media-card.hidden {
  display: none;
}

.media-cta { text-align: center; }

@media (max-width: 900px) {
  .media-grid { grid-template-columns: 1fr 1fr; }
  .media-card--large { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 540px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-card--large { grid-column: 1; }
}

/* ===================== SECTION 7: IMPACT ===================== */
.impact {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* Vertical line through the centre dot column */
.timeline::before {
  content: '';
  position: absolute;
  left: calc(120px + 12px);
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--bronze) 8%, var(--bronze) 92%, transparent);
}

/* 3-column: year | dot | content */
.timeline-item {
  display: grid;
  grid-template-columns: 120px 24px 1fr;
  column-gap: 16px;
  padding-bottom: 48px;
  align-items: start;
}

.timeline-year {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--bronze);
  letter-spacing: 0.05em;
  text-align: right;
  padding-top: 2px;
  display: block;
}
.timeline-year--now {
  color: var(--charcoal);
  font-weight: 600;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-marker {
  grid-column: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bronze);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--bronze);
  margin-top: 4px;
  justify-self: center;
}
.timeline-marker--now {
  background: var(--charcoal);
  box-shadow: 0 0 0 2px var(--charcoal);
}

.timeline-content { grid-column: 3; }

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.2;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.impact-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.credential {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--warm-white);
  border: 1px solid rgba(181,113,74,0.15);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: border-color var(--dur-med), transform var(--dur-med);
}
.credential:hover { border-color: var(--bronze); transform: translateY(-2px); }

.credential-icon { color: var(--bronze); font-size: 1rem; flex-shrink: 0; }

@media (max-width: 680px) {
  .impact-credentials { grid-template-columns: 1fr; }
  .timeline::before { left: calc(72px + 12px); }
  .timeline-item { grid-template-columns: 72px 24px 1fr; column-gap: 10px; }
  .timeline-year { font-size: 0.75rem; }
}

/* ===================== SECTION 8: COMMUNITY ===================== */
.community {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 80vh;
}

.community-visual {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.community-img { width: 100%; height: 100%; object-fit: cover; }
.community-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(28,28,30,0.3), rgba(28,28,30,0.65));
}

.community-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(8px);
  padding: 28px 36px;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(28,28,30,0.25);
}

.badge-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.community-badge strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  display: block;
  line-height: 1.3;
  margin-bottom: 4px;
}
.community-badge span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.community-content {
  background: var(--charcoal-mid);
  padding: clamp(48px, 7vw, 100px) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(245,240,232,0.65);
  line-height: 1.8;
  margin-bottom: 40px;
}

.community-options { display: flex; flex-direction: column; gap: 32px; }

.community-option h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
}
.community-option p {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.5);
  margin-bottom: 14px;
  line-height: 1.6;
}

.newsletter-form { display: flex; gap: 8px; }
.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  color: var(--cream);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--dur-fast);
}
.newsletter-input::placeholder { color: rgba(245,240,232,0.35); }
.newsletter-input:focus { border-color: var(--bronze); }

@media (max-width: 900px) {
  .community { grid-template-columns: 1fr; }
  .community-visual { height: 55vw; min-height: 300px; }
}

/* ===================== SECTION 9: TESTIMONIALS ===================== */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--cream-deep);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 clamp(24px, 8vw, 140px);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--bronze);
  margin-bottom: 32px;
  opacity: 0.4;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto 36px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--bronze-pale);
}

.testimonial-author strong {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
}
.testimonial-author span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 52px;
}

.testi-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(28,28,30,0.2);
  background: transparent;
  font-size: 1.1rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-med);
  cursor: none;
}
.testi-btn:hover {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(28,28,30,0.2);
  transition: background var(--dur-med), width var(--dur-med);
  cursor: none;
  border: none;
  padding: 0;
}
.testi-dot.active { background: var(--bronze); width: 20px; border-radius: 3px; }

/* ===================== SECTION 10: INSIGHTS ===================== */
.insights {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(40px, 6vw, 70px);
  gap: 24px;
  flex-wrap: wrap;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.insight-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
  cursor: none;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(28,28,30,0.1);
}

.insight-card--feature {
  grid-row: 1 / 3;
}

.insight-image {
  overflow: hidden;
  height: 280px;
}
.insight-image--sm { height: 160px; }
.insight-card--feature .insight-image { height: 380px; }

.insight-body { padding: 24px 26px 28px; }

.insight-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 10px;
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 12px;
}

.insight-card--feature h3 { font-size: 1.6rem; }

.insight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.insight-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid var(--bronze-pale);
  padding-bottom: 2px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.insight-link:hover { border-color: var(--bronze); }

@media (max-width: 860px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card--feature { grid-row: auto; }
}

/* ===================== SECTION 11: CONTACT ===================== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.contact-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-ways { display: flex; flex-direction: column; gap: 20px; }

.contact-way {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(28,28,30,0.08);
}

.contact-way-icon {
  font-size: 1rem;
  color: var(--bronze);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-way strong {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
  margin-bottom: 3px;
}
.contact-way p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: var(--warm-white);
  border: 1.5px solid rgba(28,28,30,0.12);
  border-radius: 2px;
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--dur-fast);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--bronze); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--charcoal);
  padding: 80px 0 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 12px; }

.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(245,240,232,0.5);
  transition: all var(--dur-med);
}
.social-link:hover {
  border-color: var(--bronze);
  color: var(--bronze);
  background: rgba(181,113,74,0.1);
}

.footer-nav { display: flex; gap: clamp(24px, 4vw, 60px); }

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col h5 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-pale);
  margin-bottom: 6px;
}

.footer-nav-col a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.45);
  transition: color var(--dur-fast);
}
.footer-nav-col a:hover { color: var(--cream); }

.footer-newsletter h5 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-pale);
  margin-bottom: 8px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.45);
  margin-bottom: 16px;
}

.footer-form { display: flex; flex-direction: column; gap: 10px; }

.footer-form input {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  color: var(--cream);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--dur-fast);
}
.footer-form input:focus { border-color: var(--bronze); }
.footer-form input::placeholder { color: rgba(245,240,232,0.3); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.25);
  font-family: var(--font-ui);
}

.footer-bottom a {
  color: var(--bronze-pale);
  transition: color var(--dur-fast);
}
.footer-bottom a:hover { color: var(--bronze); }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / 3; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-newsletter { grid-column: auto; }
  .footer-nav { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal-up { opacity: 1; transform: none; }
  .hero-image-wrap { transform: none !important; }
}

/* ===================== WORLD CARDS — PHOTO BACKGROUNDS ===================== */

/* Photo layer sits behind everything via ::before */
.world-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.12; /* very subtle on front */
  transition: opacity var(--dur-slow) var(--ease-out);
}

/* Back face: photo shows more, behind a dark overlay */
.world-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

/* Ensure card content sits above photo layers */
.world-card-front,
.world-card-back {
  z-index: 1;
}

/* On hover: front photo fades, back photo reveals */
.world-card:hover::before { opacity: 0; }
.world-card:hover::after  { opacity: 1; }

/* Make front backgrounds semi-transparent so photo bleeds through */
.world-card-front {
  background: linear-gradient(160deg, rgba(242,237,228,0.88), rgba(249,245,238,0.88)) !important;
}
.world-card:nth-child(2) .world-card-front {
  background: linear-gradient(160deg, rgba(44,44,46,0.88), rgba(28,28,30,0.88)) !important;
}
.world-card:nth-child(4) .world-card-front {
  background: linear-gradient(160deg, rgba(74,55,40,0.88), rgba(58,42,30,0.88)) !important;
}
.world-card:nth-child(6) .world-card-front {
  background: linear-gradient(160deg, rgba(58,74,58,0.88), rgba(42,58,42,0.88)) !important;
}

/* Back face: keep bronze overlay but let photo show through */
.world-card-back {
  background: linear-gradient(160deg, rgba(181,113,74,0.82), rgba(140,80,45,0.88)) !important;
}

/* ===================== INITIALS AVATARS ===================== */
.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid var(--bronze-pale);
  background: hsl(var(--avatar-hue, 30), 28%, 88%);
  color: hsl(var(--avatar-hue, 30), 32%, 32%);
}

/* ===================== AVATAR REUSE — CREATIVE PLACEMENTS ===================== */

/* 1. Story section portrait aside (about.html) */
.story-portrait-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 24px auto;
  width: 52%;
}
.story-portrait-aside img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 3px;
  filter: grayscale(15%);
}
.story-portrait-aside span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: right;
  font-style: italic;
}

/* 2. Credentials section portrait (about.html) */
.creds-portrait {
  grid-column: span 4;
  overflow: hidden;
  aspect-ratio: 21/7;
}
.creds-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(10%);
  transition: filter 0.4s ease;
  display: block;
}
.creds-portrait:hover img { filter: grayscale(0%); }

@media (max-width: 1024px) { .creds-portrait { grid-column: span 2; aspect-ratio: 16/5; } }
@media (max-width: 540px) { .creds-portrait { grid-column: span 1; aspect-ratio: 4/3; } }

/* 3. Timeline photo snapshot (index.html) */
.timeline-photo {
  margin-top: 14px;
  border-radius: 3px;
  overflow: hidden;
  max-width: 260px;
}
.timeline-photo img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 20%;
  filter: sepia(20%) grayscale(10%);
  display: block;
}

/* 4. Contact portrait (index.html) */
.contact-portrait {
  margin: 24px 0;
  border-radius: 3px;
  overflow: hidden;
  max-width: 100%;
}
.contact-portrait img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(10%);
}

@media (max-width: 700px) {
  .story-portrait-aside { width: 100%; }
  .creds-portrait { grid-column: span 1; aspect-ratio: 4/3; }
  .timeline-photo { max-width: 100%; }
}

/* Fix 2: CE Day inline tag (replaces face-blocking badge) */
.community-ce-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(181,113,74,0.18);
  border: 1px solid rgba(181,113,74,0.35);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--bronze-pale);
  letter-spacing: 0.04em;
}

/* Fix 3: Transparent creds boxes so Becky's face shows through */
.creds-portrait {
  position: relative;
}
.cred-item {
  background: rgba(249,245,238,0.82) !important;
  backdrop-filter: blur(2px);
}
