@font-face {
  font-family: "Playfair";
  src: url("fonts/PlayfairDisplay-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair";
  src: url("fonts/PlayfairDisplay-Italic-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("fonts/CormorantGaramond-Italic-Variable.ttf") format("truetype");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --clay: #ffb038;
  --cream: #f4ede2;
  --cream-soft: #e8dece;
  --stone: #1c1815;
  --stone-soft: #2a241f;
  --muted: #a89c8e;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--stone);
  color: var(--cream);
  font-family: "Montserrat", "Avenir Next", sans-serif;
  overflow: hidden;
}

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

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 50;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--clay);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: linear-gradient(to bottom, rgba(20, 16, 14, 0.7), transparent);
}

.nav-brand {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a,
.nav-index {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-index:hover { color: var(--clay); }

#deck {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  background: var(--stone) var(--bg) center / cover no-repeat;
  isolation: isolate;
}

.veil {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 21, 0.48);
  z-index: 0;
}

.veil-left {
  background: linear-gradient(90deg, rgba(28, 24, 21, 0.86) 0%, rgba(28, 24, 21, 0.4) 50%, transparent 100%);
}

.veil-up {
  background: linear-gradient(to top, rgba(28, 24, 21, 0.78) 0%, rgba(28, 24, 21, 0.2) 55%, transparent 100%);
}

.slide-body,
.split-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: calc(var(--nav-h) + 48px) 72px 100px;
}

.slide-body.align-center {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.slide-body.wide { max-width: 1180px; }
.slide-body.bottom { align-self: flex-end; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: "Playfair", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  line-height: 1.08;
}

h1 { font-size: clamp(42px, 5.6vw, 84px); }
h2 { font-size: clamp(34px, 4.2vw, 62px); margin-bottom: 20px; }
h3 { font-size: 28px; }

h2 em, h1 em { color: var(--clay); font-style: italic; }

.lede {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

.deck {
  margin-top: 20px;
  font-size: 20px;
  color: var(--cream-soft);
}

.slide-body p + p { margin-top: 16px; color: var(--cream-soft); font-size: 17px; }

.pillars-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
}

.pillars-line a {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-image: none;
}

.split-copy {
  background: var(--stone-soft);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy p { color: var(--muted); }

.split-photo {
  min-height: 100vh;
  background: var(--bg) center / cover no-repeat;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.closing {
  margin-top: 28px;
  font-family: "Playfair", Georgia, serif;
  font-style: italic;
  font-size: 32px;
  color: var(--clay);
}

.quote {
  margin-top: 48px;
  font-family: "Cormorant", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
}

.people-grid {
  position: absolute;
  inset: 0;
  display: grid;
}

.grid-6 { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }

.people-grid figure {
  background: var(--bg) center / cover no-repeat;
}

.week {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
  padding: calc(var(--nav-h) + 40px) 48px 80px;
  height: 100vh;
}

.week article {
  position: relative;
  overflow: hidden;
}

.week figure {
  position: absolute;
  inset: 0;
  background: var(--bg) center / cover no-repeat;
}

.week div {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(28, 24, 21, 0.88), transparent);
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.cards-3 { grid-template-columns: 1fr 1fr 1fr; }

.cards article {
  padding: 22px 18px;
  background: rgba(28, 24, 21, 0.4);
  border: 1px solid rgba(255, 176, 56, 0.28);
}

.cards strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.cards span {
  font-family: "Playfair", Georgia, serif;
  font-style: italic;
  font-size: 20px;
}

.next {
  position: absolute;
  right: 36px;
  bottom: 32px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}

.index {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(20, 16, 14, 0.96);
  overflow: auto;
  padding: 110px 72px 72px;
}

.index-inner { max-width: 720px; }
.index h2 { margin-bottom: 32px; }

.index-list { list-style: none; display: grid; gap: 10px; }

.index-list a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 22px;
  font-family: "Playfair", Georgia, serif;
  font-style: italic;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 176, 56, 0.18);
}

.index-list em {
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--clay);
  min-width: 32px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .slide-body, .split-copy { padding: calc(var(--nav-h) + 28px) 24px 88px; }
  .split { grid-template-columns: 1fr; }
  .split-photo { min-height: 46vh; }
  .split-copy { min-height: auto; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
  .week, .cards-3 { grid-template-columns: 1fr; }
  .week { height: auto; padding: calc(var(--nav-h) + 24px) 16px 80px; }
  .week article { min-height: 42vh; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
}
