/* ---------- Foundations ---------- */
:root {
  --cream: #f7f3ec;
  --cream-alt: #f1ebe0;
  --warm-white: #fbfaf7;
  --ink: #2b2723;
  --ink-soft: #55504a;
  --line: #e2d9c9;
  --accent: #a9764f;
  --accent-dark: #7f5638;
  --accent-blue: #7c8db3;
  --accent-blue-soft: #9aabce;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, blockquote {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
}

p { margin: 0; }

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

img { max-width: 100%; display: block; }

/* ---------- Header (removed; hero is the first element on the page) ---------- */
.site-header {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px 80px;
  margin-bottom: 24px;
  position: relative;
  top: 0;
  overflow: hidden;
  background-color: #464e36;
}

.hero-artwork {
  position: absolute;
  inset: 0;
  background-image: url('hero-artwork-no-border.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-panel {
  background: rgba(251, 250, 247, 0.82);
  padding: 68px 64px;
  border-radius: 3px;
  width: 56%;
  max-width: 760px;
  min-width: 460px;
  transform: translateY(60px);
}

.anthology {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 60px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 44px;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--accent) 70%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--warm-white);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--warm-white);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 24px;
}

.section-alt {
  background: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 640px;
  text-align: center;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-dark);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 28px;
}

.section-intro {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.08rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.sub-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  margin-top: 32px;
  color: var(--ink);
}

.sub-title.center { text-align: center; }

.sub-title:first-child { margin-top: 0; }

.placeholder-copy {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.placeholder-copy.center { text-align: center; max-width: 560px; margin: 0 auto; }

/* ---------- Her Story section ---------- */
.section#her-story {
  position: relative;
  padding-top: 38px;
  padding-bottom: 0;
}

.section#her-story .section-inner {
  position: relative;
  z-index: 1;
}

/* ---------- Story grid ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 60px;
}

.story-grid.reverse {
  grid-template-columns: 1fr minmax(240px, 360px);
}

.story-grid.reverse .portrait-frame { order: 2; }
.story-grid.reverse .story-text { order: 1; }

.portrait-frame {
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--warm-white);
}

.image-placeholder {
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(
    135deg,
    var(--cream-alt),
    var(--cream-alt) 12px,
    var(--warm-white) 12px,
    var(--warm-white) 24px
  );
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.image-placeholder span {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Chapter transition ---------- */
.chapter-intro {
  background: var(--warm-white);
  text-align: center;
  padding: 130px 24px 64px;
}

.chapter-intro::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: 0 auto 32px;
  background: var(--line);
}

.chapter-intro .kicker {
  margin-bottom: 18px;
}

.chapter-intro .section-title {
  margin-bottom: 0;
}

/* ---------- Quote ---------- */
.quote-block {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
  padding: 56px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-block blockquote {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.75;
}

.quote-block .quote-emphasis {
  font-variant: small-caps;
  letter-spacing: 0.04em;
}

.quote-attribution {
  display: block;
  margin-top: 24px;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--ink);
}

/* ---------- Card feature ---------- */
.card-feature {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 84px 24px 92px;
  background: var(--warm-white);
}

.card-feature-img {
  position: relative;
  flex: 0 0 auto;
  width: 702px;
  max-width: 90vw;
  height: auto;
  object-fit: contain;
}

/* ---------- Card feature side mandalas ---------- */
.card-mandala {
  position: absolute;
  top: 50%;
  width: 560px;
  height: 560px;
  background-color: #9fb2d1;
  -webkit-mask-image: url('story-mandala.png');
  mask-image: url('story-mandala.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0.1;
  pointer-events: none;
}

.card-mandala-left {
  left: 0;
  transform: translate(-62%, -50%) rotate(90deg);
}

.card-mandala-right {
  right: 0;
  transform: translate(62%, -50%) rotate(-90deg);
}

@media (max-width: 900px) {
  .card-mandala {
    width: 380px;
    height: 380px;
    opacity: 0.06;
  }

  .chapter-intro {
    padding: 90px 24px 48px;
  }

  .hero-panel {
    transform: translateY(35px);
  }
}

.section-cta {
  text-align: center;
}

/* ---------- Legacy section ---------- */
.section#legacy {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.section#legacy .section-inner {
  position: relative;
  z-index: 1;
}

.legacy-motif {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -200px;
  width: 520px;
  background-image: url('hero-artwork-no-border.png');
  background-size: cover;
  background-position: left center;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Contact ---------- */
.contact-form {
  text-align: left;
  margin-top: 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  width: 100%;
  border: none;
}

.form-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent-dark);
  text-align: center;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 24px 40px;
  text-align: center;
  background: var(--cream-alt);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}

.footer-symbol {
  display: inline-flex;
  color: var(--accent);
  opacity: 0.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .story-grid,
  .story-grid.reverse {
    grid-template-columns: 1fr;
  }

  .story-grid.reverse .portrait-frame,
  .story-grid.reverse .story-text {
    order: initial;
  }

  .portrait-frame {
    max-width: 340px;
    margin: 0 auto;
  }

  .legacy-motif {
    width: 360px;
    left: -140px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 80px 20px;
  }

  .section#her-story {
    padding-top: 28px;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .story-grid {
    margin-bottom: 56px;
  }

  .hero {
    padding: 0 20px 70px;
    margin-bottom: 8px;
  }

  .hero-panel {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 40px 28px;
    transform: translateY(15px);
  }

  .anthology {
    margin-bottom: 40px;
  }

  .card-mandala {
    width: 280px;
    height: 280px;
    opacity: 0.05;
  }

  .chapter-intro {
    padding: 64px 20px 40px;
  }

  .chapter-intro::before {
    width: 48px;
    margin-bottom: 24px;
  }

  .section#legacy {
    padding-top: 56px;
  }

  .card-feature {
    padding: 48px 20px 52px;
  }

  .legacy-motif {
    width: 220px;
    left: -100px;
  }

  .site-footer {
    padding: 44px 20px 32px;
  }

  .footer-links {
    gap: 10px 20px;
  }
}

@media (max-width: 480px) {
  .card-mandala {
    display: none;
  }

  .legacy-motif {
    display: none;
  }
}
