/* =========================================================================
   The EIT Project — site revamp
   Static HTML/CSS/JS design system
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  --cream:      #faf7f0;
  --cream-2:    #f3ede1;
  --ink:        #1f1b15;
  --ink-soft:   #4a453c;
  --muted:      #7c7568;
  --gold:       #9c7945;
  --gold-dark:  #7c5f32;
  --gold-light: #c9a869;
  --line:       rgba(31, 27, 21, 0.10);
  --line-soft:  rgba(31, 27, 21, 0.07);
  --white:      #ffffff;
  --shadow-sm:  0 1px 2px rgba(31,27,21,.06), 0 2px 8px rgba(31,27,21,.05);
  --shadow-md:  0 12px 30px -12px rgba(31,27,21,.22), 0 4px 12px rgba(31,27,21,.08);
  --shadow-lg:  0 30px 60px -24px rgba(31,27,21,.28);
  --radius:     16px;
  --radius-sm:  10px;
  --maxw:       1180px;
  --nav-h:      76px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease:       cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset & base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p  { color: var(--ink-soft); }
::selection { background: var(--gold-light); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* Decorative label / eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: var(--shadow-lg); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--cream); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover { background: transparent; color: var(--cream); }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(250, 247, 240, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header .nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 247, 240, .97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(31, 27, 21, .08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .02em;
  font-weight: 600;
}
.logo img { height: 44px; width: auto; border-radius: 8px; }
.logo span { color: var(--gold-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
}
.header-actions .btn { padding: 10px 15px; font-size: .8rem; white-space: nowrap; }
.header-actions .btn-light { border-color: rgba(124,95,50,.24); }
.header-actions .btn-light:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.nav-mobile-actions { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  z-index: 110;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; }
.hero--light .hero__bg::after { background: linear-gradient(120deg, rgba(31,27,21,.62) 0%, rgba(31,27,21,.35) 45%, rgba(31,27,21,.15) 100%); }
.hero--cream .hero__bg::after { background: linear-gradient(110deg, rgba(250,247,240,.92) 0%, rgba(250,247,240,.72) 45%, rgba(250,247,240,.35) 100%); }

.hero__content {
  max-width: 720px;
  padding: 80px 0;
}
.hero--light .hero__content { color: var(--cream); }
.hero--light h1, .hero--light h2, .hero--light .eyebrow { color: var(--cream); }
.hero--light .eyebrow { color: var(--gold-light); }
.hero--light p { color: rgba(250,247,240,.9); }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 14px 0 4px;
}
.hero__support {
  font-size: clamp(.9rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--gold);
  margin: 0 0 8px;
}
.hero--light .hero__tagline { color: var(--gold-light); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Homepage carousel ------------------------------------------------ */
.hero--carousel {
  display: block;
  min-height: 0;
  padding: calc(var(--nav-h) + 22px) clamp(16px, 3vw, 40px) 24px;
  background: var(--cream);
  overflow: visible;
}
.carousel-shell { width: min(100%, 1320px); margin-inline: auto; }
.hero--carousel .hero-carousel {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 7;
  z-index: 0;
  border: 1px solid rgba(156,121,69,.32);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
}
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31,27,21,.1);
  z-index: 2;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .8s var(--ease), transform 5.5s ease-out;
  overflow: hidden;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: -28px;
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
  filter: blur(20px) brightness(.62);
  transform: scale(1.06);
}
.hero-slide__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 10%;
  color: rgba(250,247,240,.62);
}
.hero-placeholder span {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 1;
}
.hero-placeholder small {
  margin-top: 12px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-placeholder--one { background: linear-gradient(125deg, #6f604e 0%, #b39a78 54%, #d9c9ae 100%); }
.hero-placeholder--two { background: linear-gradient(125deg, #343b36 0%, #71806e 54%, #bdad87 100%); }
.hero-placeholder--three { background: linear-gradient(125deg, #4a3a36 0%, #8d6655 54%, #c79f72 100%); }
.carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero--carousel .carousel-controls {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 16px;
}
.hero--carousel .carousel-arrow {
  border-color: rgba(124,95,50,.4);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero--carousel .carousel-dot { background: rgba(124,95,50,.25); }
.hero--carousel .carousel-dot.is-active { background: var(--gold); }
.carousel-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250,247,240,.65);
  border-radius: 50%;
  background: rgba(31,27,21,.38);
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.carousel-arrow:hover { background: var(--gold-dark); border-color: var(--gold-light); transform: translateY(-1px); }
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250,247,240,.45);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.carousel-dot.is-active { background: var(--gold-light); transform: scale(1.25); }

/* ---- Member journey --------------------------------------------------- */
.journey-section {
  background: var(--white);
  padding-block: clamp(64px, 9vw, 104px);
  border-bottom: 1px solid var(--line-soft);
}
.journey-inner { max-width: 780px; text-align: center; }
.journey-inner .eyebrow { justify-content: center; }
.journey-inner h2 { margin: 16px 0 14px; }
.journey-inner p { max-width: 650px; margin: 0 auto 28px; font-size: 1.06rem; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  opacity: .7;
}
.scroll-cue .rail { width: 1px; height: 42px; background: currentColor; transform-origin: top; position: relative; overflow: hidden; }
.scroll-cue .rail::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(300%)} }

/* ---- Sections --------------------------------------------------------- */
.pad-y { padding-block: clamp(72px, 11vw, 132px); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.08rem; }
.gold-word { color: var(--gold-dark); }

/* ---- Mission cards ---------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.pillar .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  font-style: italic;
  display: block;
  margin-bottom: 12px;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pillar p { font-size: .98rem; }

/* ---- Vision ----------------------------------------------------------- */
.vision-section { background: var(--cream-2); }
.vision-grid {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 2.2fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.vision-intro h2 { margin: 18px 0 16px; }
.vision-intro p { font-size: 1.05rem; }
.vision-points { display: grid; grid-template-columns: repeat(3, 1fr); }
.vision-point { padding: 14px 30px 20px; border-left: 1px solid rgba(124,95,50,.35); }
.vision-point > span {
  display: block;
  color: var(--gold-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.vision-point h3 { font-size: 1.35rem; margin-bottom: 10px; }
.vision-point p { font-size: .96rem; }
.vision-point > .impact-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: none;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

/* ---- EIT stories ------------------------------------------------------ */
.stories-section { background: var(--white); }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.story-placeholder {
  min-height: 210px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--cream-2), #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold-dark);
}
.story-placeholder span { font-family: var(--font-display); font-size: 1.45rem; }
.story-placeholder small { margin-top: 6px; color: var(--text-muted); }

/* ---- Gallery / initiative cards -------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.media-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.media-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.media-card:hover img { transform: scale(1.07); }
.media-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,27,21,0) 40%, rgba(31,27,21,.82) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 26px;
  color: var(--cream);
}
.media-card__counter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 6px;
  letter-spacing: .05em;
}
.media-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
}
.media-card__desc {
  font-size: .92rem;
  color: rgba(250,247,240,.86);
  margin-top: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease);
}
.media-card:hover .media-card__desc { max-height: 120px; opacity: 1; }

/* ---- About story layout ---------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.split__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius);
  z-index: -1;
}
.split__body h2 { margin-bottom: 20px; }
.split__body p { margin-bottom: 18px; font-size: 1.05rem; }
.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0;
}

/* ---- Value tiles ------------------------------------------------------ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.value-tile { background: var(--cream); padding: 44px 32px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.value-tile .kicker { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; }
.value-tile h3 { font-size: 1.5rem; margin-bottom: 10px; }
.value-tile p { font-size: .98rem; }

/* ---- Founder card ----------------------------------------------------- */
.founder {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 84px);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.founder img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--radius-sm); filter: grayscale(8%); }
.founder .eyebrow { color: var(--gold-light); }
.founder h2 { color: var(--cream); margin-bottom: 18px; }
.founder p { color: rgba(250,247,240,.82); margin-bottom: 16px; font-size: 1.02rem; }
.founder .role { display: block; font-family: var(--font-body); letter-spacing: .24em; text-transform: uppercase; font-size: .78rem; color: var(--gold-light); margin-top: 22px; font-weight: 600; }
.follow { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--cream); font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .3s var(--ease), color .3s var(--ease); }
.follow:hover { border-color: var(--gold-light); color: var(--gold-light); }
.follow svg { width: 18px; height: 18px; }
.founder-social { display: flex; flex-wrap: wrap; gap: 24px 36px; margin-top: 14px; }

/* ---- Event list (initiatives page) ----------------------------------- */
.event-list { display: flex; flex-direction: column; gap: 22px; }
.event-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.event-card__date {
  text-align: center;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 16px 12px 18px;
  font-family: var(--font-display);
  align-self: start;
}
.event-card__date .dow { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.event-card__date .when { display: block; font-size: 1.15rem; margin-top: 6px; color: var(--ink); line-height: 1.2; }
.event-card__body { min-width: 0; }
.event-card__body h3 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); margin-bottom: 12px; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.event-card__meta .item { display: inline-flex; align-items: center; gap: 9px; }
.event-card__meta svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.event-card__desc { font-size: 1rem; margin-bottom: 18px; }
.event-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .96rem; color: var(--ink);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 2px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.event-card__link:hover { gap: 13px; color: var(--gold-dark); }
.event-card__link svg { width: 16px; height: 16px; }

/* ---- Event detail page ----------------------------------------------- */
.event-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 56px);
  padding-block: clamp(72px, 12vw, 150px);
  background: var(--cream-2);
  overflow: hidden;
}
.event-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(250,247,240,.94) 0%, rgba(250,247,240,.7) 50%, rgba(250,247,240,.4) 100%); z-index: 0; }
.event-hero > .container { position: relative; z-index: 1; }
.event-hero .eyebrow { margin-bottom: 18px; }
.event-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 22px; }
.event-hero__meta { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 28px; }
.event-hero__meta .item { display: inline-flex; align-items: center; gap: 11px; font-size: 1rem; color: var(--ink-soft); }
.event-hero__meta svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.event-page { padding-block: clamp(60px, 10vw, 108px); }
.event-page__inner { max-width: 780px; margin: 0 auto; }
.event-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 600; color: var(--ink-soft); font-size: .94rem; }
.event-back:hover { color: var(--gold-dark); }
.event-back svg { width: 16px; height: 16px; }
.event-page__inner h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 18px; }
.event-page__inner p { font-size: 1.06rem; margin-bottom: 20px; }
.event-page__inner ul { margin: 0 0 24px 20px; padding: 0; }
.event-page__inner li { margin-bottom: 12px; font-size: 1.05rem; color: var(--ink-soft); }
.event-page__inner a.strong { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.event-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---- Banner (full-width quote) --------------------------------------- */
.banner {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 14vw, 170px) 0;
  color: var(--cream);
  text-align: center;
}
.banner__bg { position: absolute; inset: 0; z-index: -2; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,27,21,.7), rgba(31,27,21,.72)); }
.banner .eyebrow { color: var(--gold-light); justify-content: center; }
.banner h2 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.banner .tagline-words { font-family: var(--font-display); font-style: italic; color: var(--gold-light); }

/* ---- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 34px; font-size: 1.06rem; }
.info-block { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.info-block .ic {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
}
.info-block .ic svg { width: 20px; height: 20px; }
.info-block h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info-block p, .info-block a { font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.info-block a:hover { color: var(--gold-dark); }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.chip .kicker { color: var(--gold-dark); font-style: italic; font-family: var(--font-display); font-size: 1rem; }
.chip h3 { margin: 6px 0 8px; font-size: 1.25rem; }
.chip p { font-size: .94rem; }

form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
form legend { font-family: var(--font-display); font-size: 1.5rem; padding: 0 12px; color: var(--ink); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(156,121,69,.15); }
.field input.invalid, .field textarea.invalid { border-color: #b42828; box-shadow: 0 0 0 4px rgba(180,40,40,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 16px; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(156,121,69,.12); border: 1px solid var(--gold-light); color: var(--gold-dark); font-weight: 500; font-size: .94rem; }
.form-status.show { display: block; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(250,247,240,.7); padding: clamp(56px, 8vw, 90px) 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo { color: var(--cream); margin-bottom: 16px; }
.footer-brand .logo img { height: 40px; }
.footer-brand p { color: rgba(250,247,240,.65); max-width: 320px; font-size: .96rem; }
.footer-brand .tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-light); margin-top: 18px; }
.footer-col h4 { color: var(--cream); font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(250,247,240,.65); padding: 6px 0; font-size: .96rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(250,247,240,.25);
  color: rgba(250,247,240,.8);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,240,.12);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .86rem;
  color: rgba(250,247,240,.5);
}
.footer-bottom a { color: rgba(250,247,240,.5); transition: color .3s var(--ease); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Reveal animation ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .pillars, .card-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder img { max-width: 280px; margin: 0 auto; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__date { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 12px 16px; align-self: auto; }
  .event-card__date .when { display: inline; }
  .info-block { text-align: left; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .vision-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .site-header .logo span { display: none; }
  .site-header .nav-links a { padding-inline: 10px; font-size: .86rem; }
  .header-actions { gap: 4px; margin-left: 5px; }
  .header-actions .btn { padding: 9px 11px; font-size: .74rem; }
}

@media (max-width: 760px) {
  :root { --nav-h: 72px; }
  .site-header,
  .site-header.scrolled {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .hamburger {
    display: flex;
    width: 46px;
    height: 46px;
    padding: 13px 9px;
    border-radius: 50%;
    background: rgba(250, 247, 240, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }
  .site-header .header-actions { display: none; }
  .site-header .nav-inner { padding-inline: 16px; }
  .logo {
    padding: 4px;
    border-radius: 999px;
    background: rgba(250, 247, 240, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }
  .logo img { height: 42px; }
  .logo span { font-size: 1.05rem; }
  .nav-links {
    position: fixed;
    inset: 0;
    height: 100dvh;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(250,247,240,.97);
    backdrop-filter: blur(14px);
    padding: 100px 32px 40px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.25rem; padding: 14px 16px; width: 100%; }
  .nav-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 360px);
    gap: 8px;
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
  }
  .nav-links .nav-mobile-actions .btn {
    min-height: 44px;
    padding: 9px 5px;
    justify-content: center;
    text-align: center;
    font-size: .76rem;
    line-height: 1.15;
    box-shadow: none;
  }
  .nav-links .nav-mobile-actions .btn-light {
    background: transparent;
    border-color: rgba(124,95,50,.42);
    color: var(--ink);
  }
  .nav-links .nav-mobile-actions .btn-gold { color: var(--ink); }
  .nav-links .nav-mobile-actions .btn-primary { color: var(--cream); }
  .nav-links .nav-mobile-actions .btn-light:hover { color: var(--cream); }
  .split, .pillars, .card-grid, .values, .chips, .form-row, .stories-grid { grid-template-columns: 1fr; }
  .split__media::before { inset: 12px; }
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .section-head { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-placeholder { align-items: center; padding-right: 0; }
  .hero-placeholder span, .hero-placeholder small { opacity: .34; }
  .hero-slide--photo .hero-slide__image { object-position: center; }
  .hero--carousel {
    padding: calc(var(--nav-h) + 12px) 12px 18px;
  }
  .hero--carousel .hero-carousel {
    aspect-ratio: 16 / 7;
    border-radius: 10px;
  }
  .hero--carousel .carousel-controls { margin-top: 12px; }
  .vision-intro { text-align: center; }
  .vision-intro .eyebrow { justify-content: center; }
  .vision-points { grid-template-columns: 1fr; }
  .vision-point { border-left: 0; border-top: 1px solid rgba(124,95,50,.28); padding: 26px 8px; text-align: center; }
}

@media (max-width: 520px) {
  .container { padding-inline: 20px; }
  .logo span { display: none; }
  .hero__content { padding: 64px 0 76px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; padding: 14px 22px; }
  .carousel-controls { bottom: 16px; }
  .carousel-arrow { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
