/* =========================================================
   GIVEN & RECEIVED — Manuel · Sri Lanka
   ========================================================= */

:root {
  --sand:        #F5E8D4;
  --sand-2:      #EFDFC6;
  --sand-deep:   #E4CEA8;
  --terra:       #C18749;
  --terra-deep:  #A56B2F;
  --terra-soft:  #D9A574;
  --brown:       #4A321F;
  --ink:         #1A1410;
  --cream:       #FBF5EB;
  --white:       #FFFFFF;

  --font-serif:  "Cormorant Garamond", "Times New Roman", serif;
  --font-script: "Dancing Script", cursive;
  --font-sans:   "Inter", system-ui, sans-serif;

  --container:   1240px;
  --radius:      14px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
picture { display: block; }

/* Fixed-size media containers — picture must fill so img height:100% works */
.hero-photo picture,
.about-photo picture,
.session-img picture,
.event-row-media picture,
.transformation-bg picture {
  width: 100%;
  height: 100%;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--brown);
  margin: 0 0 .4em;
}
h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.95; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.08; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }

.script { font-family: var(--font-script); font-weight: 600; }
.amp    { font-family: var(--font-serif); font-style: italic; }

/* Eyebrows */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin: 0 0 1.25em;
}
.eyebrow.light { color: var(--terra-soft); }
.eyebrow.centered { text-align: center; }

.container-sm { width: min(860px, 90%); margin: 0 auto; }
.container    { width: min(var(--container), 92%); margin: 0 auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.6em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm { padding: .65em 1.2em; font-size: .78rem; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.75rem;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  color: var(--cream);
}
.nav.scrolled {
  background: rgba(251, 245, 235, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .65rem 1.75rem;
  color: var(--brown);
  box-shadow: 0 1px 0 rgba(74,50,31,.08);
}
.nav-brand { display: inline-flex; align-items: center; gap: .75rem; line-height: 1; }
.nav-mark {
  position: relative;
  width: 38px; height: 38px;
  display: inline-block; flex-shrink: 0;
}
.nav-mark img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  transition: opacity .3s var(--ease);
}
.nav-mark-light { opacity: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.nav-mark-dark  { opacity: 0; }
.nav.scrolled .nav-mark-light { opacity: 0; }
.nav.scrolled .nav-mark-dark  { opacity: 1; }
.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.nav-wordmark .amp {
  display: inline-block;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: .88em;
  color: var(--terra-soft);
  line-height: 1;
  margin: 0 .05em;
  transform: translateY(-0.15em); /* lift to optical match cursive x-height */
}
.nav.scrolled .nav-wordmark .amp { color: var(--terra-deep); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  font-size: .83rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  opacity: .85; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid currentColor; opacity: 1 !important;
}
.nav.scrolled .nav-cta { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.nav-burger { display: none; background: transparent; border: 0; cursor: pointer; width: 34px; height: 34px; padding: 6px; }
.nav-burger span { display: block; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; transition: transform .3s; }

/* Nav tools (language toggle + burger) */
.nav-tools { display: inline-flex; align-items: center; gap: .9rem; }
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid currentColor; border-radius: 999px;
  overflow: hidden; opacity: .9;
}
.lang-toggle button {
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  padding: .4em .7em; background: transparent; color: currentColor;
  border: 0; cursor: pointer; line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-toggle button.is-active { background: currentColor; }
.lang-toggle button.is-active { color: var(--brown); }
.nav:not(.scrolled) .lang-toggle button.is-active { color: var(--ink); }

@media (max-width: 880px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; padding: 5rem 2rem 2rem;
    background: var(--cream); color: var(--brown); flex-direction: column; align-items: flex-start;
    transform: translateY(-100%); transition: transform .4s var(--ease);
    gap: 1.2rem;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-burger { display: block; z-index: 60; position: relative; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
}
.hero-layer { position: absolute; inset: 0; will-change: transform; }

.hero-photo img {
  width: 100%; height: 115%; object-fit: cover;
  object-position: center center;
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 55%, rgba(26,20,16,.15) 0%, rgba(26,20,16,.55) 75%, rgba(26,20,16,.85) 100%),
    linear-gradient(180deg, rgba(26,20,16,.45) 0%, rgba(26,20,16,.2) 35%, rgba(26,20,16,.75) 100%);
}

.hero-icon {
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .22;
  will-change: transform;
}
.hero-icon img {
  width: min(72vmin, 820px); height: auto;
  filter: drop-shadow(0 0 60px rgba(255,220,180,.35));
}

.hero-front { display: flex; align-items: center; justify-content: center; }
.hero-inner {
  text-align: center; color: var(--cream);
  padding: 0 1.5rem;
  max-width: 980px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terra-soft); margin: 0 0 1.6rem;
  opacity: .95;
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
}
.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 1.06;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(0,0,0,.85), 0 0 90px rgba(0,0,0,.55);
}
.hero-script {
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(0,0,0,.85), 0 0 90px rgba(0,0,0,.55);
}
.hero-amp {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--terra-soft);
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin: 0 .1em;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
  align-self: center;
}
.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--terra-soft);
  margin: .4rem 0 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.hero-sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--cream);
  opacity: .95;
  margin: 1.5rem 0 2.3rem;
  letter-spacing: .02em;
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.hero-ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
/* Hero buttons override for dark photo background */
.hero .btn-primary { background: var(--terra); color: var(--cream); }
.hero .btn-primary:hover { background: var(--terra-deep); color: var(--cream); }
.hero .btn-ghost { border-color: rgba(251,245,235,.7); color: var(--cream); }
.hero .btn-ghost:hover { background: var(--cream); color: var(--brown); border-color: var(--cream); }

.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px; display: flex; justify-content: center;
}
.hero-scroll span {
  width: 2px; height: 8px; background: var(--cream); margin-top: 8px;
  border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%{ transform: translateY(0); opacity: 0; }
  40%{ opacity: 1; }
  80%{ transform: translateY(14px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 0; }
}

/* =========================================================
   INTENTION
   ========================================================= */
.intention {
  position: relative;
  padding: clamp(6rem, 14vw, 11rem) 0;
  background: var(--sand);
  text-align: center;
  overflow: hidden;
}
.intention-watermark {
  position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
  width: 70vmin; max-width: 720px; opacity: .08; pointer-events: none;
}
.intention-kicker {
  font-family: var(--font-sans);
  font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--terra-deep); margin: 0 0 2.5rem;
}
.intention-text {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.25;
  color: var(--brown);
  margin: 0;
  letter-spacing: -.005em;
}
.intention-text em { font-style: italic; color: var(--terra-deep); }
.intention-text .script { display: inline-block; color: var(--terra-deep); font-size: 1.15em; }
.intention-signature {
  margin-top: 3rem;
  font-family: var(--font-script);
  font-size: 1.6rem; color: var(--terra-deep);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--cream);
}
.about-grid {
  width: min(var(--container), 92%);
  margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about-media { position: relative; aspect-ratio: 1 / 1.05; }
.about-photo { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 22px 60px -20px rgba(74,50,31,.4); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-1 { left: 0;  top: 0;    width: 62%; aspect-ratio: 3/4; z-index: 2; }
.about-photo-2 { right: 0; bottom: 0; width: 54%; aspect-ratio: 3/4; z-index: 3; border: 6px solid var(--cream); }

.about-copy p { margin: 0 0 1.1em; color: #2C2218; }
.about-copy strong { color: var(--terra-deep); font-weight: 600; }
.about-quote { margin-top: 1.6rem !important; font-size: 1.45rem; font-family: var(--font-serif); font-style: italic; color: var(--terra-deep); }
.about-creed {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0 0 0 1.3rem;
  border-left: 2px solid var(--terra);
}
.about-creed li {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.35rem; line-height: 1.5;
  color: var(--brown);
}
.about-creed li + li { margin-top: .25rem; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 1 / 1.15; margin: 0 auto; max-width: 520px; }
}

/* =========================================================
   TRANSFORMATION (dark)
   ========================================================= */
.transformation {
  position: relative;
  color: var(--cream);
  padding: clamp(7rem, 14vw, 12rem) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.transformation-bg { position: absolute; inset: -30% 0; z-index: -1; will-change: transform; }
.transformation-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.transformation-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,20,16,.85) 0%, rgba(26,20,16,.65) 40%, rgba(26,20,16,.88) 100%),
    linear-gradient(90deg, rgba(165,107,47,.25), rgba(26,20,16,.3));
}
.transformation-copy h2 { color: var(--cream); }
.transformation-copy .lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: rgba(251,245,235,.9); margin-bottom: 1.2em; }
.transformation-copy p { color: rgba(251,245,235,.8); }
.transformation-copy .btn { margin-top: 1.5rem; }

/* =========================================================
   SESSIONS
   ========================================================= */
.sessions { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--sand); }
.section-head { width: min(760px, 92%); margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.section-sub { font-size: 1.1rem; color: #5A4630; margin: 0; }

.session-grid {
  width: min(1100px, 94%); margin: 0 auto;
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .session-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .session-grid { grid-template-columns: 1fr; } }
.session-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 40px -18px rgba(74,50,31,.25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.session-card:hover { transform: translateY(-4px); box-shadow: 0 22px 55px -18px rgba(74,50,31,.4); }
.session-img { aspect-ratio: 4 / 5; overflow: hidden; }
.session-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.session-card:hover .session-img img { transform: scale(1.05); }
.session-body { padding: 1.6rem 1.7rem 1.9rem; }
.session-num { display: block; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--terra-deep); margin-bottom: .3rem; }
.session-body h3 { margin-bottom: .5em; }
.session-body p { margin: 0; color: #4A3A28; }
.session-card-note { background: var(--terra); color: var(--cream); justify-content: center; align-items: flex-start; padding: 2.5rem; }
.session-card-note .session-num { color: rgba(251,245,235,.7); font-size: 2rem; }
.session-card-note h3 { color: var(--cream); }
.session-card-note p { color: rgba(251,245,235,.9); margin-bottom: 1.4rem; }
.session-card-note .btn-ghost { border-color: var(--cream); color: var(--cream); }
.session-card-note .btn-ghost:hover { background: var(--cream); color: var(--brown); }

/* =========================================================
   EVENTS
   ========================================================= */
.events { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--cream); overflow: hidden; }

/* ---- Events list ---- */
.event-list {
  width: min(var(--container), 94%);
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.event-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  box-shadow: 0 18px 60px -30px rgba(74,50,31,.3);
}
.event-row-reverse { direction: rtl; }
.event-row-reverse > * { direction: ltr; }

.event-row-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  position: relative;
}
.event-row-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.1s var(--ease);
}
.event-row:hover .event-row-media img { transform: scale(1.04); }

.event-row-body {
  padding: clamp(1rem, 2vw, 2rem) clamp(.5rem, 2vw, 1.5rem);
}
.event-tag {
  display: inline-block;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra-deep);
  background: rgba(193,135,73,.15);
  padding: .45em .95em; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.event-row-body h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: .5em;
}
.event-lede { font-size: 1.08rem; color: var(--brown); margin: 0 0 1.4rem; }
.event-meta { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.event-meta li {
  padding: .65rem 0;
  border-top: 1px solid rgba(74,50,31,.14);
  font-size: .95rem;
  color: #4A3A28;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.event-meta li:last-child { border-bottom: 1px solid rgba(74,50,31,.14); }
.event-meta strong {
  font-weight: 500; color: var(--terra-deep);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}

@media (max-width: 820px) {
  .event-row, .event-row-reverse { grid-template-columns: 1fr; }
  .event-row-media { aspect-ratio: 16/10; }
}
.event-tag {
  display: inline-block;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra-deep);
  background: rgba(193,135,73,.15);
  padding: .4em .85em; border-radius: 999px;
  margin-bottom: 1rem;
}
.event-body h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: .4em; }
.event-lede { font-size: 1.08rem; color: var(--brown); margin: 0 0 1.3rem; }
.event-meta { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.event-meta li {
  padding: .55rem 0;
  border-top: 1px solid rgba(74,50,31,.12);
  font-size: .95rem;
  color: #4A3A28;
  display: flex; gap: .9rem;
}
.event-meta li:last-child { border-bottom: 1px solid rgba(74,50,31,.12); }
.event-meta strong {
  min-width: 110px; font-weight: 500; color: var(--terra-deep);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding-top: 3px;
}

@media (max-width: 900px) { .event-grid { grid-template-columns: 1fr; } }

/* =========================================================
   POEM
   ========================================================= */
.poem {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--terra);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.poem-mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 70vmin; max-width: 700px; opacity: .09; pointer-events: none;
  filter: brightness(0) invert(1);
}
.poem-title {
  color: var(--cream);
  font-family: var(--font-script); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 2.5rem;
}
.poem-body { position: relative; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.4; }
.poem-body p { margin: .18em 0; }
.poem-emphasis { font-family: var(--font-script) !important; font-style: normal !important; font-size: 1.9em !important; color: var(--cream); margin-top: .55em !important; line-height: 1; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--sand); }
.gallery-grid {
  width: min(var(--container), 94%); margin: 0 auto;
  column-count: 3;
  column-gap: 4px;
}
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 520px)  { .gallery-grid { column-count: 1; } }
.gallery-item {
  break-inside: avoid;
  margin: 0 0 4px;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  transition: transform .6s var(--ease), box-shadow .4s var(--ease);
  cursor: zoom-in;
  line-height: 0;
}
.gallery-item picture, .gallery-item img {
  display: block; width: 100%;
  border-radius: var(--radius);
}
.gallery-item.is-collapsed { display: none; }
.gallery-more-wrap {
  width: min(var(--container), 94%); margin: 2.5rem auto 0;
  display: flex; justify-content: center;
}
.gallery-more-wrap .btn.is-hidden { display: none; }
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -15px rgba(74,50,31,.35); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,20,16,.94);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 6px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { padding: clamp(5rem, 10vw, 8rem) 0 clamp(5rem, 10vw, 7rem); background: var(--cream); overflow: hidden; }

/* Infinite marquee */
.marquee {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  overflow-x: hidden;
  overflow-y: visible;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 85s linear infinite;
  padding: 1rem 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testi {
  flex: 0 0 auto;
  width: min(420px, 82vw);
  background: var(--sand);
  padding: 2.5rem 2.2rem 1.9rem;
  border-radius: var(--radius);
  margin: 2.5rem 0 1rem; /* room for overflowing quote */
  position: relative;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 12px 40px -20px rgba(74,50,31,.3);
}
/* Alternate vertical position → quinconce (staggered) feel */
.marquee-track > .testi:nth-child(odd)  { margin-top: 0;      margin-bottom: 3.5rem; }
.marquee-track > .testi:nth-child(even) { margin-top: 3.5rem; margin-bottom: 0; }

.testi::before {
  content: '“';
  position: absolute;
  top: -.55em; left: -0.05em;
  font-family: var(--font-serif); font-weight: 600;
  font-size: 11rem; line-height: 1;
  color: var(--terra);
  opacity: .95;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 6px 30px rgba(193,135,73,.35);
}
.testi blockquote { margin: 0 0 1.2rem; padding: 0; position: relative; z-index: 1; }
.testi blockquote p { margin: 0 0 .9em; font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.55; color: var(--brown); font-style: italic; }
.testi figcaption { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terra-deep); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  padding: clamp(7rem, 14vw, 12rem) 0;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.contact-photo {
  position: absolute; inset: -20% 0; z-index: -2;
  will-change: transform;
}
.contact-photo picture,
.contact-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.contact-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(26,20,16,.55) 0%, rgba(26,20,16,.8) 70%, rgba(26,20,16,.95) 100%),
    linear-gradient(180deg, rgba(26,20,16,.45) 0%, rgba(74,50,31,.5) 50%, rgba(26,20,16,.85) 100%);
}
.contact-inner h2 { color: var(--cream); font-size: clamp(2.5rem, 5vw, 4rem); }
.contact-lede { font-size: 1.2rem; color: rgba(251,245,235,.88); margin: 0 0 1.4rem; }
.contact-notice {
  display: inline-block; margin: 0 0 2.2rem;
  padding: .7em 1.3em; border-radius: 999px;
  border: 1px solid rgba(217,165,116,.5);
  background: rgba(193,135,73,.14);
  color: var(--terra-soft); font-size: .92rem; line-height: 1.5;
}
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.contact-loc { font-family: var(--font-serif); font-style: italic; color: rgba(251,245,235,.7); font-size: 1rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 2.5rem 1.75rem;
  background: var(--ink);
  color: rgba(251,245,235,.65);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 32px; }
.footer-wordmark { font-family: var(--font-serif); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--cream); font-size: .95rem; }
.footer-wordmark em { font-family: var(--font-serif); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; font-style: normal; margin-left: .3rem; color: var(--terra-soft); }
.footer-tag { font-family: var(--font-serif); font-style: italic; font-size: .9rem; margin-left: .6rem; }
.footer-meta { display: inline-flex; gap: 1.6rem; font-size: .8rem; letter-spacing: .05em; }
.footer-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { color: var(--cream); }
@media (max-width: 640px) { .footer { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero-layer { transform: none !important; }
}

/* =========================================================
   RESPONSIVE — tablet & mobile polish
   ========================================================= */
@media (max-width: 960px) {
  .nav { padding: .85rem 1.1rem; }
  .nav.scrolled { padding: .55rem 1.1rem; }
  .nav-mark { width: 34px; height: 34px; }
  .nav-wordmark { font-size: 1rem; letter-spacing: .14em; }

  .hero-eyebrow { font-size: .68rem; letter-spacing: .22em; margin-bottom: 1.2rem; }
}

@media (max-width: 720px) {
  /* Hero */
  .hero-inner { padding: 0 1.25rem; }
  .hero-title { letter-spacing: .13em; }
  .hero-tagline { font-size: 1.35rem; }
  .hero-sub { font-size: 1rem; margin: 1rem 0 1.8rem; }
  .hero-ctas { gap: .7rem; }
  .hero-ctas .btn { padding: .85em 1.3em; font-size: .82rem; }

  /* Intention */
  .intention { padding: 4.5rem 0; }
  .intention-text { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.3; }
  .intention-watermark { width: 95vmin; right: -25%; opacity: .07; }

  /* About: relax the absolute composition, go simpler stacked */
  .about { padding: 4rem 0; }
  .about-grid { gap: 2.2rem; }
  .about-media {
    aspect-ratio: auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 100%;
    height: auto;
  }
  .about-media > .about-photo {
    position: static;
    inset: auto;
    width: auto;
    aspect-ratio: 3/4;
    border: 0;
  }

  /* Transformation */
  .transformation { padding: 5rem 0; }

  /* Events row padding */
  .event-row, .event-row-reverse { padding: .8rem; gap: 1.2rem; }
  .event-row-body { padding: 1rem .6rem 1.2rem; }
  .event-row-body h3 { font-size: 1.5rem; }
  .event-meta li { grid-template-columns: 90px 1fr; gap: .6rem; padding: .55rem 0; }
  .event-meta strong { font-size: .65rem; }

  /* Poem */
  .poem { padding: 4rem 0; }
  .poem-title { font-size: clamp(2rem, 10vw, 3rem); margin-bottom: 1.6rem; }
  .poem-body { font-size: clamp(1.1rem, 4vw, 1.4rem); line-height: 1.45; }
  .poem-mark { width: 100vmin; opacity: .08; }

  /* Testimonials: less stagger on mobile */
  .marquee { padding: 1rem 0; }
  .marquee-track { gap: 1.25rem; padding: .5rem 0; }
  .marquee-track > .testi:nth-child(odd),
  .marquee-track > .testi:nth-child(even) {
    margin-top: .5rem; margin-bottom: .5rem;
  }
  .testi { width: min(300px, 78vw); padding: 2rem 1.6rem 1.5rem; }
  .testi::before { font-size: 7rem; top: -.4em; left: 0; }
  .testi blockquote p { font-size: .98rem; }

  /* Gallery: already responsive via column-count */
  .gallery { padding: 4rem 0; }

  /* Contact */
  .contact { padding: 5rem 0; }
  .contact-inner h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .contact-lede { font-size: 1.05rem; }
  .contact-actions { gap: .7rem; }

  /* Sections heads */
  .section-head { margin-bottom: 2.5rem; }
  .section-sub { font-size: 1rem; }

  /* Buttons a touch smaller */
  .btn { padding: .85em 1.35em; font-size: .85rem; }

  /* Footer */
  .footer { padding: 2rem 1.25rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-meta { flex-direction: column; gap: .3rem; }
}

@media (max-width: 420px) {
  .nav { padding: .7rem .9rem; }
  .nav-wordmark { font-size: .85rem; letter-spacing: .12em; }
  .nav-mark { width: 30px; height: 30px; }

  .hero-title { letter-spacing: .12em; }

  .event-meta li { grid-template-columns: 1fr; gap: .15rem; }
  .event-meta strong { padding-top: .2rem; }

  .testi::before { font-size: 6rem; }
}

/* =========================================================
   OFFERING (Sessions) + SHOP  — featured product cards
   ========================================================= */
.offering { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--sand); }
.shop     { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--cream); }

.offering-card,
.shop-card {
  width: min(1000px, 92%); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px -30px rgba(74,50,31,.45);
}
.shop-card { background: var(--sand); }

.offering-media { position: relative; min-height: 340px; overflow: hidden; }
.offering-media img { width: 100%; height: 100%; object-fit: cover; }

/* Blue Lotus product photo */
.shop-media { position: relative; min-height: 340px; overflow: hidden; }
.shop-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(26,20,16,.5));
  pointer-events: none;
}
.shop-latin {
  position: absolute; left: 1.1rem; bottom: .9rem; z-index: 2;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; letter-spacing: .04em;
  color: var(--cream); opacity: .95;
  text-shadow: 0 1px 10px rgba(0,0,0,.65);
}

.offering-body,
.shop-body {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center;
}
.offering-kicker {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra-deep);
  background: rgba(193,135,73,.14);
  padding: .45em .95em; border-radius: 999px;
  margin-bottom: 1rem;
}
.offering-body h3,
.shop-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.offering-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem 1rem; margin: 0 0 1.1rem; }
.offering-price .price {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 2rem; color: var(--terra-deep); line-height: 1;
}
.offering-price .price-unit { font-size: .92rem; color: #5A4630; }
.offering-desc { color: #3A2C1C; margin: 0 0 1.6rem; }
.offering-desc strong { color: var(--terra-deep); font-weight: 600; }
.offering-body .btn,
.shop-body .btn { align-self: flex-start; }
.offering-note {
  margin: 1.3rem 0 0; font-size: .92rem; line-height: 1.55;
  color: #5A4630;
  border-left: 2px solid var(--terra); padding-left: 1rem;
}
.offering-note a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 820px) {
  .offering-card, .shop-card { grid-template-columns: 1fr; width: min(560px, 92%); }
  .offering-media, .shop-media { min-height: 240px; aspect-ratio: 16/10; }
}

/* Testimonial role label */
.testi-role {
  display: block; margin-top: .35rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: .82rem; letter-spacing: .02em; text-transform: none;
  color: var(--brown); opacity: .7;
}

/* =========================================================
   NEWSLETTER / OFFER POPUP
   ========================================================= */
.popup-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(26,20,16,.72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.popup-overlay.open { display: flex; opacity: 1; }
.popup {
  position: relative;
  width: min(460px, 100%);
  background: var(--cream);
  border-radius: 18px;
  padding: 3.4rem clamp(2rem, 4vw, 2.8rem) clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  box-shadow: 0 40px 90px -30px rgba(26,20,16,.7);
  transform: translateY(16px) scale(.98);
  transition: transform .4s var(--ease);
  overflow: hidden;
}
.popup-overlay.open .popup { transform: none; }
.popup-mark {
  position: absolute; right: -30px; top: -30px;
  width: 150px; opacity: .07; pointer-events: none;
}
.popup .eyebrow { margin-bottom: .8rem; }
.popup h3 {
  font-family: var(--font-script); font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--brown);
  margin: 0 0 .8rem;
}
.popup-body { font-size: 1rem; color: #3A2C1C; margin: 0 0 1.4rem; }
.popup-body strong { color: var(--terra-deep); }

.popup-code {
  display: flex; align-items: stretch; justify-content: center;
  gap: .5rem; margin: 0 0 1.2rem;
}
.popup-code-value {
  font-family: var(--font-sans); font-weight: 600;
  letter-spacing: .18em; font-size: 1.05rem;
  color: var(--terra-deep);
  background: rgba(193,135,73,.13);
  border: 1px dashed var(--terra);
  border-radius: 10px;
  padding: .7em 1.1em; line-height: 1;
  display: flex; align-items: center;
}
.popup-copy {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  border: 0; border-radius: 10px; padding: 0 1.1em; cursor: pointer;
  transition: background .25s var(--ease);
}
.popup-copy:hover, .popup-copy.copied { background: var(--terra-deep); }

.popup-cta { width: 100%; justify-content: center; margin-bottom: 1.3rem; }

.popup-form { margin: 0 0 1rem; text-align: left; }
.popup-form-label { display: block; font-size: .82rem; color: #5A4630; margin-bottom: .5rem; }
.popup-form-hint { margin: .6rem 0 0; font-size: .74rem; line-height: 1.45; color: #8A7355; }
.popup-form-row { display: flex; gap: .5rem; }
.popup-form-row input {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--font-sans); font-size: .92rem;
  padding: .7em .9em; border: 1px solid rgba(74,50,31,.28);
  border-radius: 999px; background: var(--white); color: var(--ink);
}
.popup-form-row input:focus { outline: none; border-color: var(--terra); }
.popup-form-row .btn { white-space: nowrap; }

.popup-dismiss {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: .82rem;
  color: #8A7355; text-decoration: underline; text-underline-offset: 2px;
}
.popup-dismiss:hover { color: var(--brown); }
.popup-close {
  position: absolute; top: .6rem; right: .9rem;
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: #8A7355;
}
.popup-close:hover { color: var(--brown); }

/* Language toggle inside the popup */
.popup-lang {
  position: absolute; top: .85rem; left: 1rem; z-index: 3;
  border-color: rgba(74,50,31,.35) !important; opacity: .95;
}
.popup-lang button { color: var(--brown); padding: .3em .6em; font-size: .68rem; }
.popup-lang button.is-active { background: var(--brown); color: var(--cream); }

@media (max-width: 420px) {
  .popup-form-row { flex-direction: column; }
  .popup-form-row .btn { width: 100%; justify-content: center; }
}

/* --- MailerLite embedded form, blended into the popup --- */
.popup .ml-form-embedContent { display: none !important; }        /* hide MailerLite's own heading */
.popup .ml-form-embedContainer,
.popup .ml-form-embedWrapper,
.popup .ml-form-embedBody,
.popup .ml-form-align-center {
  background: transparent !important; border: 0 !important;
  padding: 0 !important; margin: 0 !important; width: 100% !important;
  max-width: 100% !important; box-shadow: none !important;
}
.popup .ml-form-embedBody { font-family: var(--font-sans) !important; }
.popup .ml-form-fieldRow { margin: 0 0 .6rem !important; padding: 0 !important; }
.popup .ml-form-embedBody input.form-control {
  width: 100% !important; box-sizing: border-box !important; height: auto !important;
  font-family: var(--font-sans) !important; font-size: .92rem !important;
  padding: .7em .9em !important; margin: 0 !important;
  border: 1px solid rgba(74,50,31,.28) !important; border-radius: 999px !important;
  background: var(--white) !important; color: var(--ink) !important; box-shadow: none !important;
}
.popup .ml-form-embedBody input.form-control:focus { border-color: var(--terra) !important; outline: none !important; }
.popup .ml-form-embedSubmit { margin: 0 !important; }
.popup .ml-form-embedSubmit button.primary {
  width: 100% !important; height: auto !important;
  font-family: var(--font-sans) !important; font-weight: 500 !important;
  font-size: .85rem !important; letter-spacing: .06em !important; text-transform: uppercase !important;
  background: var(--ink) !important; color: var(--cream) !important;
  border: 0 !important; border-radius: 999px !important; padding: .85em 1.4em !important;
  cursor: pointer !important; box-shadow: none !important; transition: background .3s ease !important;
}
.popup .ml-form-embedSubmit button.primary:hover { background: var(--terra-deep) !important; }
.popup .ml-form-embedSubmit button.loading {
  width: 100% !important; background: var(--terra-deep) !important; border-radius: 999px !important; border: 0 !important;
}
.popup .ml-form-successBody { padding: 0 !important; font-family: var(--font-serif) !important; }
.popup .ml-form-successContent h4 { color: var(--terra-deep) !important; font-family: var(--font-serif) !important; }
.popup .ml-form-successContent p { color: #3A2C1C !important; }
.popup .ml-form-embedPermissions,
.popup .ml-form-embedMailerLite-GDPR { font-size: .72rem !important; }
