:root {
  --bg: #FAF7F2;
  --bg-warm: #F3EDE4;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --fg-faint: #A8A29E;
  --accent: #C9A96E;
  --accent-dark: #A8843F;
  --line: rgba(28, 25, 23, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --max-w: 1200px;
  --pad: clamp(1.5rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────── */
.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.75rem var(--pad);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.nav__left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.nav__right {
  display: flex;
  align-items: center;
}

.nav__course-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}

.nav__course-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── HERO ────────────────────────────────── */
.hero {
  padding: var(--space-xl) var(--pad) var(--space-lg);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.hero__headline em {
  font-style: italic;
  color: var(--fg-muted);
}

.hero__sub {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 36ch;
}

.hero__sub em {
  font-style: italic;
  color: var(--fg);
}

.hero__rule {
  width: 3rem;
  height: 1px;
  background: var(--accent);
  margin: var(--space-md) 0;
}

.hero__note {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
  text-transform: uppercase;
}

/* ── Hero Visual ── */
.hero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-warm);
  overflow: hidden;
}

.hero__stilllife {
  position: relative;
  width: 100%;
  height: 100%;
}

.stilllife__layer {
  position: absolute;
  border-radius: 2px;
}

.stilllife__layer-1 {
  top: 8%;
  left: 6%;
  width: 60%;
  height: 70%;
  background: linear-gradient(145deg, #EDE5D8 0%, #DDD4C5 100%);
}

.stilllife__layer-2 {
  bottom: 12%;
  right: 8%;
  width: 45%;
  height: 35%;
  background: linear-gradient(160deg, #D6CDBF 0%, #C9C0B0 100%);
}

.stilllife__layer-3 {
  top: 15%;
  right: 18%;
  width: 22%;
  height: 38%;
  background: linear-gradient(135deg, #F5EFE7 0%, #E8E0D3 100%);
}

.stilllife__accent {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
}

.stilllife__dot-1 {
  top: 12%;
  right: 14%;
  width: 10px;
  height: 10px;
}

.stilllife__dot-2 {
  bottom: 22%;
  left: 10%;
  width: 6px;
  height: 6px;
}

.stilllife__line-1 {
  top: 50%;
  left: 5%;
  width: 55%;
  height: 1px;
  border-radius: 0;
  transform: rotate(-20deg);
  background: var(--accent);
  opacity: 0.4;
}

.stilllife__line-2 {
  top: 35%;
  right: 5%;
  width: 35%;
  height: 1px;
  border-radius: 0;
  transform: rotate(15deg);
  background: var(--fg-faint);
  opacity: 0.3;
}

.stilllife__pill {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.4);
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  white-space: nowrap;
}

/* ─── MANIFESTO ────────────────────────────── */
.manifesto {
  padding: var(--space-xl) var(--pad);
  border-bottom: 1px solid var(--line);
}

.manifesto__inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.manifesto__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

.manifesto__text em {
  font-style: italic;
  color: var(--fg);
}

.manifesto__text--spaced { margin-top: 2rem; }

.manifesto__rule {
  width: 3rem;
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

/* ─── VAULT ────────────────────────────────── */
.vault {
  padding: var(--space-xl) var(--pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
}

.vault__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.vault__header {
  margin-bottom: var(--space-lg);
}

.vault__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.vault__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.vault__desc {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 50ch;
  line-height: 1.7;
}

.vault__modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: var(--space-lg);
}

.module {
  padding: 2.5rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.module:nth-child(2n) { border-right: none; }
.module:nth-last-child(-n+2) { border-bottom: none; }

.module__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(201, 169, 110, 0.35);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.module__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.85rem;
}

.module__desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

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

.vault__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
}

.vault__stat:first-child { padding-left: 0; }

.vault__stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.vault__stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.vault__divider {
  width: 1px;
  height: 3rem;
  background: var(--line);
}

/* ─── FEATURES ────────────────────────────── */
.features {
  padding: var(--space-xl) var(--pad);
  border-bottom: 1px solid var(--line);
}

.features__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.feature {
  padding: 2rem;
  border: 1px solid var(--line);
}

.feature__icon {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  position: relative;
}

.feature__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
  border-radius: 50%;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.feature__desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

/* ─── CLOSING ─────────────────────────────── */
.closing {
  padding: var(--space-xl) var(--pad);
  background: var(--fg);
  color: var(--bg);
}

.closing__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing__text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.closing__text em {
  font-style: italic;
  opacity: 0.7;
}

.closing__sub {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.5);
  max-width: 45ch;
  margin: 0 auto 3rem;
}

.closing__from {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.closing__from-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.3);
}

.closing__from-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ─── FOOTER ──────────────────────────────── */
.footer {
  padding: 3rem var(--pad);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer__mark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg);
}

.footer__sub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.footer__copy {
  font-size: 0.65rem;
  color: var(--fg-faint);
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero__frame {
    aspect-ratio: 3/2;
    order: -1;
  }

  .hero__headline {
    font-size: 2.4rem;
  }

  .vault__modules {
    grid-template-columns: 1fr;
  }

  .module {
    border-right: none;
  }

  .module:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .module:last-child {
    border-bottom: none;
  }

  .features__inner {
    grid-template-columns: 1fr;
  }

  .vault__meta {
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
  }

  .vault__stat {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2rem;
  }

  .module {
    padding: 1.75rem;
  }
}