/* v2 layer on top of ../assets/nectar.css: softer display faces, Chrysalis, mobile hero imagery. */

html[data-display="newsreader"] {
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif-scale: 1.04;
  --serif-weight: 400;
}
html[data-display="petrona"] {
  --serif: "Petrona", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif-scale: 1.02;
  --serif-weight: 400;
}
html[data-display="fraunces"] {
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif-scale: 1;
  --serif-weight: 360;
}
html[data-display="newsreader"] h1, html[data-display="newsreader"] .display { letter-spacing: -0.018em; }
html[data-display="petrona"] h1, html[data-display="petrona"] .display { letter-spacing: -0.012em; }
h1 em, .display em { font-weight: calc(var(--serif-weight) - 20); }

.font-chip { display: inline-flex; gap: 6px; align-items: baseline; padding: 1px 8px; border: 1px solid rgba(245,239,228,.45); border-radius: 2px; margin-left: 6px; }
.font-chip b { font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: 0; }

/* Chrysalis buttons are filled ink; oxblood stays reserved for Sovereign Pearl. */
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #4a362b; color: var(--ivory); }
.text-link--ink { text-decoration-color: var(--ink); }

/* Two journeys: Pearl (primary, wide) beside Chrysalis (secondary) */
.offers { display: grid; gap: 22px; }
@media (min-width: 900px) { .offers { grid-template-columns: 1.55fr 1fr; align-items: stretch; } }
.offer { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.offer__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.offer__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer__body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.offer--pearl { background: var(--oxblood); color: var(--ivory); }
.offer--pearl .eyebrow { color: rgba(251,248,241,.78); }
.offer--pearl h3 em { color: #F1D9CF; }
.offer--pearl p { color: rgba(251,248,241,.92); }
.offer--chrysalis { background: var(--ivory); border: 1px solid var(--line); }
.offer--chrysalis .offer__img { aspect-ratio: 4 / 3; }
.offer h3 { font-size: calc(clamp(1.9rem, 3vw, 2.5rem) * var(--serif-scale)); margin: 2px 0 12px; }
.offer .cta-row { margin-top: auto; padding-top: 22px; }
.offer .facts { margin: 18px 0 6px; }
.offer--chrysalis .mini-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 16px; }
.offer--chrysalis .mini-list li { display: flex; gap: 10px; align-items: baseline; }
.offer--chrysalis .mini-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.badge--new { background: var(--ink); color: var(--ivory); }
.badge--flag { background: var(--ivory); color: var(--oxblood); }

/* Journal as an editorial list (FAQ-style rows rather than cards) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row:hover { color: var(--oxblood); }
.row h3 { font-size: calc(1.4rem * var(--serif-scale)); line-height: 1.25; }
.row .meta { font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.row p { margin: 0; font-size: 16px; color: var(--ink-muted); }

/* Definition line (Chrysalis) */
.definition { font-family: var(--serif); font-style: italic; font-size: calc(1.2rem * var(--serif-scale)); color: var(--ink-muted); border-left: 2px solid var(--ink); padding: 2px 0 2px 16px; margin: 24px 0 0; max-width: 40ch; }
.definition b { font-style: normal; font-weight: 500; color: var(--ink); }

/* Chrysalis phases */
.phases { display: grid; gap: 22px; margin-top: 36px; }
@media (min-width: 900px) { .phases { grid-template-columns: 1fr 1.6fr 1fr; gap: 28px; } }
.phase { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; }
.phase .wk { font-size: 13.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.phase h3 { font-size: calc(1.55rem * var(--serif-scale)); margin: 6px 0 12px; }
.phase--mid { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.phase--mid .wk { color: rgba(245,239,228,.7); }
.phase--mid h3 em { color: #F1D9CF; }
.phase--mid .includes li::before { background: var(--bone); }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-weight: var(--serif-weight); font-size: calc(1.5rem * var(--serif-scale)); border-bottom: 2px solid var(--ink); }
.compare thead th.is-pearl { border-bottom-color: var(--oxblood); color: var(--oxblood); }
.compare tbody th { font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); width: 22%; }
.compare td.is-pearl { background: rgba(110,31,42,.045); }
.compare tfoot td { border-bottom: 0; padding-top: 22px; }
@media (max-width: 640px) {
  .compare, .compare tbody, .compare tr, .compare td, .compare th { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { padding: 0 0 6px; border: 0; width: 100%; }
  .compare td { padding: 4px 0; border: 0; }
  .compare td::before { content: attr(data-col) ": "; font-weight: 600; }
  .compare td.is-pearl { background: none; }
  .compare tfoot td::before { content: none; }
  .compare tfoot td:empty { display: none; }
  .compare tfoot tr { display: grid; gap: 12px; padding-top: 18px; }
  .compare tfoot td { padding: 0; }
}

.band-ink { background: var(--ink); color: var(--bone); }
.band-ink .eyebrow { color: rgba(245,239,228,.72); }
.band-ink h2 em { color: #F1D9CF; }
.field textarea { width: 100%; min-height: 110px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--ivory); border: 1px solid #BCAE98; border-radius: 2px; resize: vertical; }
.field textarea:focus { outline: 2px solid var(--pomegranate); outline-offset: 1px; }

.crosssell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 30px; border: 1px solid var(--oxblood); border-radius: var(--radius); background: var(--ivory); }
.crosssell p { margin: 0; }

/* ---------- Mobile hero image treatments (below 900px only) ---------- */
.hero__thumb { display: none; }
@media (max-width: 899px) {
  /* A: photo washed into the bone ground behind the hero */
  .hero--wash { position: relative; padding-top: 232px; margin-top: -86px; isolation: isolate; }
  .hero--wash::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 380px; z-index: -1;
    background:
      linear-gradient(180deg, rgba(245,239,228,0) 0, rgba(245,239,228,0) 175px, rgba(245,239,228,.9) 278px, var(--bone) 350px),
      var(--hero-bg) var(--hero-bg-pos, center) / var(--hero-bg-size, cover) no-repeat;
  }
  .hero--wash .hero__media { display: none; }
  .proto-ribbon .ribbon-extra { display: none; }

  /* B: small inset photo beside the eyebrow */
  .hero--inset .hero__thumb { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .hero--inset .hero__thumb img { width: 76px; height: 96px; object-fit: cover; border-radius: var(--radius); box-shadow: 6px 6px 0 -1px var(--bone), 6px 6px 0 0 var(--oxblood); }
  .hero--inset .hero__thumb span { font-size: 14.5px; font-style: italic; color: var(--ink-muted); line-height: 1.35; }
  .hero--inset .hero__thumb .eyebrow { margin: 0 0 4px; display: block; font-style: normal; }
  .hero--inset .hero__eyebrow-desk { display: none; }

  /* C: short photo band that opens the hero */
  .hero--band { padding-top: 0; }
  .hero--band .hero__grid { gap: 26px; }
  .hero--band .hero__media { order: -1; margin: 0 calc(-1 * var(--pad-x)); }
  .hero--band .hero__media .frame { aspect-ratio: auto; height: 210px; }
  .hero--band .hero__media .frame::before { display: none; }
  .hero--band .hero__media .frame img { border-radius: 0; object-position: center 22%; }
  .hero--band .hero__media figcaption { display: none; }
}

.ratio-169 { aspect-ratio: 16 / 9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.band-ink .enroll__card .btn--ink { background: var(--ink); }
