/* ============================================================
   Dr. Elara Voss — Riicogami-inspired Minimal Editorial
   Palette: Warm Parchment · Deep Ink · Sage · Terracotta
   Fonts: Cormorant (display) + Jost (body)
   ============================================================ */

:root {
  --parchment:     #F7F3EC;
  --parchment-mid: #EFE9DE;
  --parchment-dk:  #E5DDD0;
  --ink:           #1C1A17;
  --ink-mid:       #3A3630;
  --ink-light:     #6B6560;
  --ink-faint:     #9A9490;
  --sage:          #5C7A52;
  --sage-light:    #8FAB84;
  --sage-pale:     #D4E2CF;
  --terra:         #A85A42;
  --terra-light:   #C98068;
  --gold:          #B8965A;

  --font-display:  'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --font-body:     'Jost', sans-serif;

  --max-w:         760px;
  --max-w-wide:    1100px;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-gentle:   cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

.reveal--d1 { transition-delay: 0.15s; }
.reveal--d2 { transition-delay: 0.3s; }
.reveal--d3 { transition-delay: 0.45s; }

/* Hero fade-up (CSS animation, no JS needed) */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s var(--ease-out) forwards;
}

.fade-up--delay-1 { animation-delay: 0.3s; }
.fade-up--delay-2 { animation-delay: 0.6s; }
.fade-up--delay-3 { animation-delay: 0.9s; }
.fade-up--delay-4 { animation-delay: 1.2s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 3rem;
  transition: background 0.5s, padding 0.4s;
}

.site-header.scrolled {
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.2rem 3rem;
  border-bottom: 1px solid rgba(28,26,23,0.06);
}

.site-header__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--parchment);
  transition: color 0.4s;
}

.site-header.scrolled .site-header__logo {
  color: var(--ink);
}

.site-header__cta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  border-bottom: 1px solid rgba(247,243,236,0.4);
  padding-bottom: 2px;
  transition: color 0.4s, border-color 0.4s;
}

.site-header.scrolled .site-header__cta {
  color: var(--ink);
  border-color: rgba(28,26,23,0.3);
}

.site-header__cta:hover {
  border-color: currentColor;
}

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

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,26,23,0.35) 0%,
    rgba(28,26,23,0.5) 50%,
    rgba(28,26,23,0.65) 100%
  );
}

.hero__geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 2s 0.5s var(--ease-out) forwards;
}

.geometry-svg {
  width: 320px;
  height: 320px;
  color: rgba(247,243,236,0.6);
}

.geometry-svg--sm {
  width: 200px;
  height: 200px;
  color: var(--ink-light);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 2rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--parchment);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
}

.hero__roles {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.65);
  margin-bottom: 2rem;
}

.hero__intro {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(247,243,236,0.85);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.hero__location {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(247,243,236,0.5);
  letter-spacing: 0.06em;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.45);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(247,243,236,0.4), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.7); }
}

/* ============================================================
   INVITATION
   ============================================================ */
.invitation {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.invitation__geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.6;
}

.invitation__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.invitation__welcome {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.invitation__body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.9;
}

/* ============================================================
   CHAPTER (Section 01)
   ============================================================ */
.chapter {
  padding: 0 0 8rem;
}

.chapter__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  padding: 0 2rem 3rem;
}

.chapter__image-wrap {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  margin-bottom: 6rem;
}

.chapter__image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.8s var(--ease-out);
}

.chapter__image-wrap:hover .chapter__image {
  transform: scale(1.02);
}

.chapter__text {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.chapter__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.chapter__heading em {
  font-style: italic;
  color: var(--sage);
}

.chapter__body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.chapter__body p:last-child { margin-bottom: 0; }

/* ============================================================
   METHOD (Section 02)
   ============================================================ */
.method {
  background: var(--parchment-mid);
  padding: 8rem 0;
}

.method__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

.method__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2rem;
}

.method__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 4rem;
}

.method__heading em {
  font-style: italic;
  color: var(--sage);
}

.method__image-full {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 5rem;
}

.method__image {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-out);
}

.method__image-full:hover .method__image {
  transform: scale(1.02);
}

.method__body {
  max-width: var(--max-w);
  margin-bottom: 5rem;
}

.method__body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.method__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(28,26,23,0.1);
}

.method__pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.method__pillar h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.method__pillar p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.8;
}

/* ============================================================
   VOICES (Section 03)
   ============================================================ */
.voices {
  padding: 8rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.voices__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2rem;
}

.voices__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1rem;
}

.voices__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 5rem;
  line-height: 1.7;
}

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

.voice {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(28,26,23,0.1);
}

.voice:last-child {
  border-bottom: 1px solid rgba(28,26,23,0.1);
}

.voice__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--sage-pale);
  line-height: 0.8;
  margin-bottom: 1rem;
}

.voice__quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.voice__cite {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-style: normal;
}

/* ============================================================
   PROGRAMME (Section 04)
   ============================================================ */
.programme {
  background: var(--ink);
  padding: 8rem 0;
  overflow: hidden;
}

.programme__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

.programme__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.3);
  margin-bottom: 2rem;
}

.programme__image-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 5rem;
}

.programme__image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  transition: transform 0.8s var(--ease-out), opacity 0.4s;
}

.programme__image-wrap:hover .programme__image {
  transform: scale(1.02);
  opacity: 0.85;
}

.programme__content {
  max-width: var(--max-w);
}

.programme__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}

.programme__heading em {
  font-style: italic;
  color: var(--sage-light);
}

.programme__body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(247,243,236,0.6);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.programme__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 3.5rem;
  border-top: 1px solid rgba(247,243,236,0.1);
}

.programme__detail {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(247,243,236,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.programme__detail:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid rgba(247,243,236,0.08);
}

.programme__detail:nth-child(even) {
  padding-left: 2rem;
}

.programme__detail-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.3);
}

.programme__detail-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--parchment);
}

.programme__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  border-bottom: 1px solid rgba(247,243,236,0.4);
  padding-bottom: 3px;
  transition: border-color 0.3s, color 0.3s;
}

.programme__cta:hover {
  border-color: var(--parchment);
  color: var(--parchment);
}

/* ============================================================
   BEGIN (Section 05 / Contact)
   ============================================================ */
.begin {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.begin__geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.begin__geometry .geometry-svg {
  width: 500px;
  height: 500px;
  color: var(--ink);
  opacity: 0.06;
}

.begin__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.begin__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.begin__body {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.begin__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.begin__link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-mid);
  border-bottom: 1px solid rgba(28,26,23,0.25);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.begin__link:hover {
  color: var(--sage);
  border-color: var(--sage);
}

.begin__divider {
  color: var(--ink-faint);
  font-size: 1.2rem;
}

.begin__note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--parchment-dk);
  padding: 2.5rem 3rem;
  border-top: 1px solid rgba(28,26,23,0.08);
}

.site-footer__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-mid);
}

.site-footer__copy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.site-footer__links a:hover {
  color: var(--ink-mid);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 1.4rem 1.5rem;
  }

  .site-header.scrolled {
    padding: 1rem 1.5rem;
  }

  .hero__headline { font-size: clamp(2.4rem, 9vw, 3.5rem); }

  .geometry-svg { width: 220px; height: 220px; }

  .invitation { padding: 5rem 1.5rem; }

  .chapter__image { height: 50vh; }
  .chapter__text { padding: 0 1.5rem; }

  .method { padding: 5rem 0; }
  .method__inner { padding: 0 1.5rem; }
  .method__image { height: 40vh; }
  .method__pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .voices { padding: 5rem 1.5rem; }

  .programme { padding: 5rem 0; }
  .programme__inner { padding: 0 1.5rem; }
  .programme__image { height: 40vh; }
  .programme__details { grid-template-columns: 1fr; }
  .programme__detail:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .programme__detail:nth-child(even) {
    padding-left: 0;
  }

  .begin { padding: 6rem 1.5rem; }
  .begin__geometry .geometry-svg { width: 300px; height: 300px; }

  .site-footer { padding: 2rem 1.5rem; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .hero__roles { font-size: 0.68rem; letter-spacing: 0.1em; }
  .begin__actions { flex-direction: column; gap: 0.8rem; }
  .begin__divider { display: none; }
}