/* ============================================================
   NOW Matters — Careers, Talent & Workplace Solutions
   Shares design language with CE App; brand accent is teal,
   with each sub-brand owning its own color.
   ============================================================ */

:root {
  --pink:   #FF0066;
  --orange: #ED7D31;
  --teal:   #33CCCC;
  --gold:   #FFC000;

  --ink:        #1A1A1A;
  --ink-soft:   #3A3A3A;
  --ink-muted:  #6B6B6B;
  --ink-faint:  #9C9890;
  --rule:       #E8E5DD;
  --rule-soft:  #F0EDE5;
  --paper:      #FAFAF7;
  --paper-warm: #F4F1E8;
  --paper-deep: #1F1B17;

  /* NOW Matters master accent — teal */
  --brand: var(--teal);

  /* Sub-brand families */
  --pathways:  var(--pink);
  --talent:    var(--orange);
  --workplace: var(--teal);
  --homework:  var(--gold);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Arimo', Arial, -apple-system, BlinkMacSystemFont, sans-serif;  /* brand law: body Arimo platform-wide */

  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease-out-soft); }
button { font-family: inherit; cursor: pointer; }

/* Type */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}
.eyebrow-accent { color: var(--brand); }
.eyebrow-pink { color: var(--pink); }
.eyebrow-orange { color: var(--orange); }
.eyebrow-gold { color: var(--gold); }

/* "01 ── Eyebrow" treatment — matches CE App ecosystem section labels */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}
.section-label .num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-label .rule {
  flex: 0 0 2rem;
  height: 1px;
  background: var(--rule);
}
.section-label .label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section-label .label-pink   { color: var(--pink); }
.section-label .label-orange { color: var(--orange); }
.section-label .label-teal   { color: var(--teal); }
.section-label .label-gold   { color: var(--gold); }

/* Chip pill — replaces hero eyebrow with a bordered pill + brand dot */
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.42rem 0.85rem 0.4rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.chip--pink::before   { background: var(--pink); }
.chip--orange::before { background: var(--orange); }
.chip--teal::before   { background: var(--teal); }
.chip--gold::before   { background: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 350; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 450; }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; }

p { margin: 0 0 1em; }
p.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
em.italic { font-family: var(--font-display); font-style: italic; font-weight: 350; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

/* Header */
.site-header {
  padding: 1.5rem 0;
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand-lockup {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem;
  letter-spacing: -0.025em; color: var(--ink);
}
.brand-lockup .nm-mark-host {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center;
  flex-shrink: 0;
}
.brand-lockup .nm-mark-host svg { width: 100%; height: auto; }
.footer-brand-mark .nm-mark-host { flex-shrink: 0; }

.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 0.3rem 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--brand);
}
.site-nav a.nav-cta {
  font-size: 0.88rem;
  padding: 0.6rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-weight: 500;
  transition: background 200ms ease;
}
.site-nav a.nav-cta:hover { background: var(--brand); color: #fff; }
.site-nav a.nav-cta.active::after { display: none; }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: all 250ms ease; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--paper); flex-direction: column;
    gap: 1.5rem; padding: 2rem var(--gutter);
    align-items: flex-start;
    transform: translateY(-110%);
    transition: transform 300ms var(--ease-out-soft);
    border-top: 1px solid var(--rule);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { font-size: 1.2rem; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero-eyebrow { display: block; margin-bottom: 1.2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--brand); font-style: italic; font-weight: 350; }
.hero h1 .accent-pink { color: var(--pink); font-style: italic; font-weight: 350; }
.hero h1 .accent-orange { color: var(--orange); font-style: italic; font-weight: 350; }
.hero h1 .accent-gold { color: var(--gold); font-style: italic; font-weight: 350; }

.hero-aside {
  border-left: 1px solid var(--rule);
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* THE MOSAIC BAND at the foot of the hero. Full-bleed, because a rule that stops short of
   the edge reads as a panel that failed rather than as punctuation. It is aria-hidden and
   pointer-events:none: it is decoration, and it must never intercept a click meant for the
   button above it. */
.hero-band { position: relative; margin-top: clamp(2rem, 4vw, 3.2rem); margin-bottom: calc(-1 * clamp(3rem, 6vw, 5rem)); width: 100%; }
.hero-band canvas { display: block; width: 100%; height: 132px; pointer-events: none; }
@media (max-width: 820px) { .hero-band canvas { height: 76px; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 250ms var(--ease-out-soft),
              background 250ms ease, color 250ms ease, border-color 250ms ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform 250ms var(--ease-out-soft); }
.btn:hover .arrow { transform: translateX(4px); }

/* Sections */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.section--warm { background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 1rem; } }
.section-head .eyebrow { display: block; margin-bottom: 0.6rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-soft), border-color 300ms ease, box-shadow 300ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--card-accent, var(--brand));
  box-shadow: 0 24px 60px -34px rgba(0,0,0,0.18);
}
.card .card-mark {
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: flex-start;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.card p { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; }
.card .arrow {
  color: var(--card-accent, var(--brand));
  font-family: var(--font-display); font-size: 1.4rem; line-height: 1;
  position: absolute; top: 1.75rem; right: 1.75rem;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.card:hover .arrow { opacity: 1; transform: translateX(0); }
.card-link { position: absolute; inset: 0; z-index: 2; }
.card.card--pathways  { --card-accent: var(--pathways); }
.card.card--talent    { --card-accent: var(--talent); }
.card.card--workplace { --card-accent: var(--workplace); }
.card.card--homework  { --card-accent: var(--homework); }

.card.card--soon { opacity: 0.7; }
.card.card--soon:hover { transform: none; box-shadow: none; }
.card.card--soon .badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--card-accent, var(--brand));
  border: 1px dashed var(--card-accent, var(--brand));
  padding: 0.25rem 0.6rem; border-radius: 100px;
  margin-bottom: 1rem;
}

/* Sub-brand color tile (used on landing — big block) */
.sub-brand-tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2rem;
  min-height: 220px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-soft), border-color 300ms ease, box-shadow 300ms ease;
}
.sub-brand-tile:hover {
  transform: translateY(-3px);
  border-color: var(--tile-accent);
  box-shadow: 0 24px 60px -34px rgba(0,0,0,0.18);
}
.sub-brand-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tile-accent);
}
.sub-brand-tile h3 .sub-name { color: var(--tile-accent); font-weight: 600; }
.sub-brand-tile .sub-tag {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
}
.sub-brand-tile p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.6rem; margin-bottom: 1.4rem; }
.sub-brand-tile .tile-link { position: absolute; inset: 0; z-index: 2; }
.sub-brand-tile .tile-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.sub-brand-tile .tile-cta::after {
  content: '→'; color: var(--tile-accent);
  font-family: var(--font-display); font-size: 1.2rem;
  transition: transform 250ms var(--ease-out-soft);
}
.sub-brand-tile:hover .tile-cta::after { transform: translateX(4px); }

.sub-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 32ch;
  border-left: 3px solid var(--brand);
  padding-left: 1.5rem;
  margin: 0;
}
.pull-quote cite {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 0.14em; margin-top: 1rem;
}

/* Fact list */
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li {
  padding: 1rem 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--brand); border-radius: 50%; margin-top: 0.5em;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.4rem;
}
.process-step {
  padding: 1.5rem;
  border-top: 1px solid var(--rule);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-style: italic; font-weight: 350;
  font-size: 2.5rem; color: var(--brand);
  line-height: 1; margin-bottom: 0.6rem;
}
.process-step h4 { margin-bottom: 0.4rem; }
.process-step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* Split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split-visual {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
  position: relative; overflow: hidden;
}

/* CTA Banner — matches CE App ecosystem treatment */
.cta-banner {
  position: relative;
  background: var(--paper-deep);
  color: #F5F1E6;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--rule);
}
.cta-banner .container { position: relative; }
.cta-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
@media (max-width: 720px) { .cta-banner-grid { grid-template-columns: 1fr; } }
.cta-banner .eyebrow { color: rgba(245, 241, 230, 0.5); }
.cta-banner h2 { color: #fff; max-width: 22ch; }
.cta-banner p { color: #C9C5BD; margin: 1rem 0 0; max-width: 36rem; }
.cta-banner .cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cta-banner .cta-ring-host {
  position: absolute;
  right: -6rem; bottom: -6rem;
  width: 26rem; height: 26rem;
  pointer-events: none;
  opacity: 0.9;
}
.cta-banner .cta-ring-host svg { width: 100%; height: 100%; }
.cta-banner .btn--invert { background: var(--paper); color: var(--ink); border: 0; }
.cta-banner .btn--invert:hover { background: #fff; color: var(--ink); }
.cta-banner .btn--invert-ghost { color: var(--paper); border-color: rgba(250,250,247,0.3); background: transparent; }
.cta-banner .btn--invert-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--paper); color: #fff; }

/* Legacy gradient CTA — kept for backward-compat if used anywhere */
.cta-banner-legacy {
  background: linear-gradient(135deg, var(--paper-deep) 0%, #2A2520 100%);
  color: #F5F1E6;
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 720px) { .cta-banner-legacy { grid-template-columns: 1fr; } }
.cta-banner-legacy h2 { color: #fff; }
.cta-banner-legacy p { color: #C9C5BD; margin: 0.8rem 0 0; }
.cta-banner-legacy .btn--primary { background: #fff; color: var(--ink); }
.cta-banner-legacy .btn--primary:hover { background: var(--brand); color: #fff; }

/* Footer */
.site-footer { background: var(--paper-deep); color: #C9C5BD; padding: clamp(3rem, 5vw, 4rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: #fff; margin: 0 0 1rem; }
.site-footer p, .site-footer li { font-size: 0.9rem; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #C9C5BD; }
.site-footer a:hover { color: #fff; }
.site-footer .colophon {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 0.78rem; color: #7F7B72;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.footer-brandline { font-family: var(--font-display); font-style: italic; color: #E8E2D2; font-size: 1.1rem; line-height: 1.4; margin-bottom: 1rem; }
.footer-brand-mark { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.footer-brand-mark .nm-mark-host { width: 36px; height: 36px; }

/* NOW Matters mark — static composition (matches official brand logo) */
.nm-mark { display: block; overflow: visible; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility */
.text-muted { color: var(--ink-muted); }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }
.mt-3 { margin-top: 2rem; }
.center { text-align: center; }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-size: 0.78rem; padding: 0.35rem 0.8rem; background: var(--paper-warm); color: var(--ink-soft); border-radius: 100px; }
.tag--brand { background: var(--brand); color: #fff; }
.tag--pink { background: var(--pink); color: #fff; }
.tag--orange { background: var(--orange); color: #fff; }
.tag--gold { background: var(--gold); color: var(--ink); }
.tag--soon {
  background: transparent; border: 1px dashed #D6D2C7;
  color: var(--ink-muted); font-style: italic;
}

/* ═══ 307 phase 1 — module accent nav hovers · auth dropdown · job-seeker path ═══ */
.site-nav a.nav-pathways:hover  { color: var(--pathways); }
.site-nav a.nav-talent:hover    { color: var(--talent); }
.site-nav a.nav-homework:hover  { color: var(--homework); }
.site-nav a.nav-workplace:hover { color: var(--workplace); }

.nav-auth { position: relative; display: inline-block; }
.nav-auth-btn {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  background: none; border: 1px solid var(--line, #E7E2D6); border-radius: 6px;
  padding: 7px 13px; color: var(--ink-soft, #4A463E); cursor: pointer; transition: all 0.15s;
}
.nav-auth-btn:hover { border-color: var(--ink); color: var(--ink); }
.nav-auth-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px;
  background: #fff; border: 1px solid var(--line, #E7E2D6); border-radius: 10px;
  box-shadow: 0 14px 40px rgba(35,32,27,0.14); padding: 6px; z-index: 200;
}
.nav-auth.open .nav-auth-menu { display: block; }
.nav-auth-menu a {
  display: block; padding: 9px 12px; border-radius: 7px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink-soft, #4A463E); text-decoration: none;
}
.nav-auth-menu a:hover { background: rgba(51,204,204,0.10); color: var(--ink); }

.btn--jobs {
  background: transparent; border: 1.5px solid var(--talent); color: var(--talent);
}
.btn--jobs:hover { background: var(--talent); color: #fff; }
.hero-jobseeker { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-muted); }
.hero-jobseeker a { color: var(--talent); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--talent); }

.btn--ghost-invert {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
}
.btn--ghost-invert:hover { border-color: #fff; }

/* 307 fix — pre-existing mobile-nav bug: backdrop-filter on .site-header makes it the
   containing block for the fixed .site-nav, so top:70/bottom:0 collapsed to the header's
   own height and translateY(-110%) no longer hid the panel. Size it explicitly + harden. */
@media (max-width: 900px) {
  .site-nav { height: calc(100vh - 70px); bottom: auto; overflow-y: auto; }
  .site-nav:not(.open) { visibility: hidden; }
  .site-nav.open { visibility: visible; }
  .nav-auth { width: 100%; }
  .nav-auth-menu { position: static; box-shadow: none; min-width: 0; margin-top: 6px; }
}

/* website phase 2 (imagery) — Corné's module imagery: full-bleed banner at the top of each family tile */
.tile-media {
  display: block;
  width: calc(100% + 4rem);
  margin: -2rem -2rem 1.3rem;
  height: 158px;
  object-fit: cover;
  border-bottom: 3px solid var(--tile-accent, var(--rule));
}
@media (max-width: 560px){ .tile-media { height: 140px; } }

/* website phase 2 (imagery) — module-page hero imagery (rounded banner in the hero aside) */
.hero-media {
  display: block; width: 100%; height: auto; border-radius: 10px;
  margin-bottom: 1.1rem; box-shadow: 0 10px 34px rgba(35,32,27,0.14);
}

/* launch §0 — public_features "coming soon" inline note */
.feature-soon{ display:inline-block; font-size:0.86rem; font-style:italic; color:var(--ink-muted, #767066); }
[data-feature].feature-disabled.tile-soon{ opacity:0.72; }

/* single-entry auth (Xneelo bundle) — one Sign in / Register nav link */
.site-nav a.nav-signin{ font-weight:700; border:1.5px solid var(--rule,#E9E3D7); border-radius:999px; padding:0.35rem 0.95rem; }
.site-nav a.nav-signin:hover{ border-color:var(--teal,#33CCCC); color:var(--teal-d,#1fa8a8); }

/* launch §1.4 — live self-pay pricing (painted by pricing.js from get_effective_price) */
.card-price{
  margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--rule, #E9E3D7);
  font-size: 1.05rem; color: var(--ink, #23201B); letter-spacing: -0.01em;
}
.card-price .price-prefix{ font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted, #767066); font-weight: 600; }
.card-price .price-now{ font-family: var(--font-display, Fraunces), serif; font-weight: 500; font-size: 1.35rem; color: var(--price-accent, var(--ink, #23201B)); }
/* module accents for price figures — AA-safe darkened variants of the module colours */
.price-accent-pink{ --price-accent: var(--pink-text, #CC0052); }
.price-accent-orange{ --price-accent: #B65510; }
.price-accent-teal{ --price-accent: #0E7C7C; }
.price-accent-gold{ --price-accent: #8A6400; }
.card-price .price-was{ color: var(--ink-muted, #767066); margin-right: 0.35rem; }
.card-price .price-promo{ font-size: 0.82rem; font-weight: 700; color: var(--pink-text, #CC0052); }
.card-price .price-suffix,
.card-price .price-vat{ font-size: 0.85rem; color: var(--ink-muted, #767066); }
/* inline price spans (outside .card-price) — compact styling */
span[data-price-key].price-ready{ white-space: nowrap; }
span[data-price-key].price-ready .price-now{ font-weight: 700; color: var(--ink, #23201B); }
span[data-price-key].price-ready .price-suffix{ font-size: 0.85em; color: var(--ink-muted, #767066); }
span[data-price-key].price-ready .price-was{ color: var(--ink-muted, #767066); }
