/* ============================================================
   marketing-system.css — Legacy Journal marketing pages
   Editorial-print design language pulled from the live landing
   at legacyjournalapp.com/. Cream-and-charcoal inverted hero +
   black-on-white editorial body, generous whitespace, big serif.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Type scale — mirrors the landing */
  --t-display:  clamp(72px, 14vw, 200px);
  --t-h1:       clamp(56px, 10vw, 144px);
  --t-h2:       clamp(40px, 6vw, 80px);
  --t-h3:       clamp(28px, 4vw, 48px);
  --t-h4:       clamp(20px, 2.4vw, 24px);
  --t-lede:     clamp(18px, 1.6vw, 22px);
  --t-body:     19px;
  --t-small:    16px;
  --t-caps:     13px;
  --t-nav:      12px;

  /* Color */
  --c-paper:    #FFFFFF;
  --c-ink:      #0a0908;
  --c-ink-soft: #2c2825;
  --c-rule:     rgba(10, 9, 8, 0.12);
  --c-mute:     rgba(10, 9, 8, 0.55);

  --c-dark:     #1A1612;
  --c-dark-2:   #100d0a;
  --c-cream:    #F4ECD8;
  --c-cream-92: rgba(244, 236, 216, 0.92);
  --c-cream-72: rgba(244, 236, 216, 0.72);
  --c-cream-55: rgba(244, 236, 216, 0.55);
  --c-cream-14: rgba(244, 236, 216, 0.14);
  --c-cream-08: rgba(244, 236, 216, 0.08);

  --c-gold:     #C9A876;

  /* Geometry */
  --content-w:    920px;
  --content-wide: 1180px;
  --pad-x:        clamp(20px, 4vw, 64px);
  --section-y:    clamp(72px, 10vw, 160px);

  /* Motion */
  --ease-soft:  cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }

/* ---------- top nav (mirrors live landing) ---------- */
.lj-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad-x);
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--c-rule);
}
.lj-nav-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
}
.lj-nav-mark b { font-style: normal; font-weight: 500; display: block; }
.lj-nav-mark span {
  display: inline-block;
  margin-left: 12px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-mute);
  text-transform: lowercase;
  vertical-align: middle;
}
.lj-nav-links {
  display: flex; gap: clamp(16px, 3vw, 36px);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-nav);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lj-nav-links a { color: var(--c-ink-soft); transition: color 200ms; }
.lj-nav-links a:hover { color: var(--c-ink); }
.lj-nav-links a.is-active { color: var(--c-ink); border-bottom: 1px solid var(--c-ink); padding-bottom: 2px; }
.lj-nav-cta {
  justify-self: end;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-nav);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--c-rule);
  border-radius: 4px;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.lj-nav-cta:hover { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
@media (max-width: 760px) {
  .lj-nav { grid-template-columns: auto 1fr; gap: 12px; }
  .lj-nav-links { display: none; }
}

/* ---------- shared section wrapper ---------- */
.lj-section {
  position: relative;
  padding: var(--section-y) var(--pad-x);
}
.lj-section-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}
.lj-section-inner.is-wide { max-width: var(--content-wide); }

/* eyebrow: "01 / promise" */
.lj-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin: 0 0 24px;
  font-weight: 400;
}
.lj-eyebrow b { font-weight: 500; color: var(--c-ink); margin-right: 10px; }

/* display + headings */
.lj-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
}
.lj-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: var(--t-h1);
  line-height: 0.95;
  letter-spacing: -0.012em;
  margin: 0 0 0.4em;
}
.lj-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
.lj-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: 1.1;
  margin: 0 0 0.4em;
}
.lj-h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: var(--t-h4);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* lede + body */
.lj-lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-lede);
  line-height: 1.45;
  color: var(--c-ink-soft);
  max-width: 30em;
  margin: 0 0 1.5em;
}
.lj-body p {
  font-size: var(--t-body);
  line-height: 1.55;
  margin: 0 0 1.2em;
  color: var(--c-ink-soft);
  max-width: 32em;
}
.lj-body p strong { color: var(--c-ink); font-weight: 500; }
.lj-body em { font-style: italic; }

/* hero (light) */
.lj-hero {
  padding: clamp(80px, 12vw, 200px) var(--pad-x) clamp(48px, 6vw, 100px);
  background: var(--c-paper);
}
.lj-hero-inner { max-width: var(--content-w); margin: 0 auto; }
.lj-hero .lj-display { margin-bottom: 0.4em; }

/* hero (inverted dark — matches the landing's "voices that made you" big block) */
.lj-hero-dark {
  background: var(--c-dark);
  color: var(--c-cream-92);
}
.lj-hero-dark .lj-eyebrow { color: var(--c-cream-55); }
.lj-hero-dark .lj-eyebrow b { color: var(--c-cream); }
.lj-hero-dark .lj-lede { color: var(--c-cream-72); }

/* dark section variant */
.lj-section.is-dark {
  background: var(--c-dark);
  color: var(--c-cream-92);
}
.lj-section.is-dark .lj-body p { color: var(--c-cream-72); }
.lj-section.is-dark .lj-body p strong { color: var(--c-cream); }
.lj-section.is-dark .lj-eyebrow { color: var(--c-cream-55); }
.lj-section.is-dark .lj-eyebrow b { color: var(--c-cream); }

/* divider rule */
.lj-rule {
  border: 0; border-top: 1px solid var(--c-rule);
  margin: clamp(48px, 6vw, 96px) auto;
  max-width: var(--content-w);
}
.lj-section.is-dark .lj-rule { border-top-color: var(--c-cream-14); }

/* pull-quote */
.lj-pull {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  max-width: 24em;
  margin: clamp(40px, 6vw, 80px) auto;
  color: var(--c-ink-soft);
}
.lj-section.is-dark .lj-pull { color: var(--c-cream-72); }

/* ---------- column grids ---------- */
.lj-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin: clamp(40px, 6vw, 80px) 0;
}
@media (max-width: 760px) { .lj-grid-3 { grid-template-columns: 1fr; gap: 40px; } }
.lj-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin: clamp(40px, 6vw, 96px) 0;
}
@media (max-width: 760px) { .lj-grid-2 { grid-template-columns: 1fr; gap: 40px; } }

.lj-card {
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--c-rule);
}
.lj-card .lj-card-num {
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.18em;
  color: var(--c-mute);
  margin-bottom: 16px;
}
.lj-section.is-dark .lj-card { border-top-color: var(--c-cream-14); }
.lj-section.is-dark .lj-card .lj-card-num { color: var(--c-cream-55); }

/* ---------- parchment + video carry-over ---------- */
.lj-parchment-section {
  position: relative;
  padding: clamp(96px, 12vw, 200px) var(--pad-x);
  background: var(--c-dark);
  color: var(--c-cream-92);
  overflow: hidden;
  isolation: isolate;
}
.lj-parchment-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.lj-parchment-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* Parchment as subtle texture, NOT a wash. The previous values
     (opacity 0.18 + mix-blend-mode: screen) were turning the dark
     section into a light-gray rectangle (2026-05-05 user report:
     "I do not see the parchment video info cards"). Dropping
     screen-blend and darkening the image first via filter keeps
     the section unambiguously dark while still reading as paper-
     in-the-shadows behind the text. */
  opacity: 0.22;
  filter: sepia(0.45) hue-rotate(-15deg) brightness(0.32) contrast(1.1);
}
.lj-parchment-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  /* While the video data hasn't loaded, browsers paint the element WHITE.
     Combined with mix-blend-mode: screen over the dark section that
     produced a light-gray rectangle until the first frame arrived
     (2026-05-05 bug: "I don't see the parchment video info cards"
     was actually "the section is gray, not dark"). Two fixes:
     (1) match the section's dark color so the unloaded state composites
         to dark + 0.22 × dark = dark.
     (2) fade in via .is-ready once 'loadeddata' fires, so we never show
         a flash of the wrong shade. */
  background: var(--c-dark);
  opacity: 0;
  transition: opacity 600ms ease;
}
.lj-parchment-bg video.is-ready { opacity: 0.22; }
.lj-parchment-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, var(--c-dark) 80%),
    linear-gradient(180deg, var(--c-dark-2) 0%, transparent 20%, transparent 80%, var(--c-dark-2) 100%);
}
.lj-parchment-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-w);
  margin: 0 auto;
  text-align: center;
}
.lj-parchment-inner .lj-eyebrow { color: var(--c-cream-55); margin-bottom: 32px; }
.lj-parchment-inner .lj-eyebrow b { color: var(--c-cream); }
.lj-parchment-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 32px;
  color: var(--c-cream);
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}
.lj-parchment-inner p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--c-cream-72);
  max-width: 32em;
  margin: 0 auto 1.2em;
}

/* ---------- CTA blocks ---------- */
.lj-cta-block {
  text-align: center;
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
}
.lj-cta-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.012em;
  margin: 0 0 32px;
}
.lj-cta-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid var(--c-ink);
  border-radius: 2px;
  color: var(--c-ink);
  background: transparent;
  transition: background 220ms, color 220ms;
}
.lj-cta-btn:hover { background: var(--c-ink); color: var(--c-paper); }

.lj-cta-block.is-dark { background: var(--c-dark); color: var(--c-cream-92); }
.lj-cta-block.is-dark .lj-cta-btn {
  border-color: var(--c-cream-14);
  background: var(--c-cream-08);
  color: var(--c-cream);
}
.lj-cta-block.is-dark .lj-cta-btn:hover { background: var(--c-cream); color: var(--c-dark); }

/* ---------- forms ---------- */
.lj-form { max-width: 560px; margin: 0 auto; }
.lj-form label {
  display: block;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.06em;
  color: var(--c-mute);
  text-transform: uppercase;
}
.lj-form input,
.lj-form textarea,
.lj-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--c-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-rule);
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}
.lj-form input:focus, .lj-form textarea:focus { border-bottom-color: var(--c-ink); }
.lj-form textarea { resize: vertical; min-height: 120px; }
.lj-form button {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid var(--c-ink);
  border-radius: 2px;
  background: transparent;
  color: var(--c-ink);
  cursor: pointer;
  transition: background 220ms, color 220ms;
}
.lj-form button:hover { background: var(--c-ink); color: var(--c-paper); }
.lj-form-status {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--c-mute);
  min-height: 24px;
  text-align: center;
}

/* ---------- accordion (FAQ) ---------- */
.lj-acc { border-top: 1px solid var(--c-rule); }
.lj-acc-item { border-bottom: 1px solid var(--c-rule); }
.lj-acc-q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: var(--c-ink);
}
.lj-acc-q::-webkit-details-marker { display: none; }
.lj-acc-q::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: var(--c-mute);
  transition: transform 220ms;
}
details[open] .lj-acc-q::after { content: '−'; }
.lj-acc-a {
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--c-ink-soft);
  padding: 0 0 28px;
  max-width: 36em;
}

/* ---------- footer ---------- */
.lj-foot {
  background: var(--c-dark-2);
  color: var(--c-cream-72);
  padding: clamp(56px, 7vw, 100px) var(--pad-x);
}
.lj-foot-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
@media (max-width: 760px) { .lj-foot-inner { grid-template-columns: 1fr; } }
.lj-foot-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--c-cream);
  line-height: 1.1;
  margin: 0 0 16px;
}
.lj-foot-mark b { font-style: normal; font-weight: 500; }
.lj-foot-tag {
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.06em;
  color: var(--c-cream-55);
  margin: 0 0 24px;
}
.lj-foot-links {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 2.5vw, 28px);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-nav);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lj-foot-links a { color: var(--c-cream-72); transition: color 200ms; }
.lj-foot-links a:hover { color: var(--c-cream); }
.lj-foot-mail {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--c-cream-72);
  text-align: right;
  line-height: 1.7;
}
@media (max-width: 760px) { .lj-foot-mail { text-align: left; } }
.lj-foot-mail a { color: var(--c-cream); border-bottom: 1px solid var(--c-cream-14); }
.lj-foot-c {
  margin-top: clamp(32px, 4vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--c-cream-14);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-cream-55);
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- pricing cards ---------- */
.lj-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin: clamp(48px, 6vw, 80px) 0;
}
@media (max-width: 880px) { .lj-price-grid { grid-template-columns: 1fr; } }
.lj-price {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 40px);
  border: 1px solid var(--c-rule);
  border-radius: 6px;
  background: var(--c-paper);
  display: flex; flex-direction: column;
}
.lj-price.is-feature {
  background: var(--c-dark);
  color: var(--c-cream-92);
  border-color: var(--c-dark);
}
.lj-price-name {
  font-family: 'Inter', sans-serif;
  font-size: var(--t-caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 16px;
}
.lj-price.is-feature .lj-price-name { color: var(--c-cream-55); }
.lj-price-amt {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 8px;
}
.lj-price-amt small {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-mute);
  margin-left: 8px;
}
.lj-price.is-feature .lj-price-amt small { color: var(--c-cream-55); }
.lj-price-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--c-ink-soft);
  margin: 16px 0 24px;
}
.lj-price.is-feature .lj-price-desc { color: var(--c-cream-72); }
.lj-price ul {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  flex: 1;
}
.lj-price li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  padding: 12px 0;
  border-top: 1px solid var(--c-rule);
  color: var(--c-ink-soft);
}
.lj-price.is-feature li { border-top-color: var(--c-cream-14); color: var(--c-cream-72); }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
