/* =============================================================================
   VERENA RIZG — Homepage-specific styles
   First-pass structural layout for the 12 approved sections. Tuned per the
   visual-equity annotation — warmth, editorial gravitas, dark/cream alternation.
   ============================================================================= */

/* ---------- 1 · Hero (photo overlay) ---------- */
.home-hero {
  position: relative;
  min-height: 80vh;
  background: var(--color-dark);
  overflow: hidden;
  color: var(--color-white);
  display: flex;
  align-items: stretch; /* content column fills the full hero height */
}
.home-hero__bg,
.home-hero__bg img /* parallax */ {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* headroom above her head — head sits mid-frame like the live hero */
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  /* Charcoal wash darker on the LEFT so the left-aligned white text stays legible. */
  background:
    linear-gradient(90deg, rgba(18,18,18,0.80) 0%, rgba(18,18,18,0.55) 38%, rgba(18,18,18,0.15) 72%, rgba(18,18,18,0.05) 100%),
    linear-gradient(180deg, rgba(18,18,18,0.30) 0%, rgba(18,18,18,0.30) 60%, rgba(18,18,18,0.55) 100%);
  z-index: 1;
}
.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 100px 24px 64px;
  width: 100%;
  /* Split layout: heading group pinned top-left, CTAs pinned bottom-left. */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
/* Heading group — top-left. */
.home-hero__head {
  max-width: 100%;
}
/* Accent rule above the name. */
.home-hero__accent {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 0 16px 0;
}
/* Name — big white Cormorant display, uppercase. */
.home-hero__name {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 8px 0;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}
/* Credentials line — small muted uppercase. */
.home-hero__credentials-line {
  color: rgba(247,244,239,0.6);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}
/* Role line — gold uppercase. */
.home-hero__role {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px 0;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}
/* Tagline — white italic Cormorant, two lines. */
.home-hero__tagline {
  color: var(--color-white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-subhead);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  max-width: 640px;
  margin: 0;
  text-shadow: 0 1px 14px rgba(0,0,0,0.7);
}
.home-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.home-hero__ctas .btn--secondary {
  background-color: transparent !important;
  color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
}
.home-hero__ctas .btn--secondary:hover {
  background: var(--color-gold) !important;
  color: var(--color-dark) !important;
  border-color: var(--color-gold) !important;
}
@media (max-width: 767.98px) {
  /* Hero is the primary launch view (Instagram-story traffic, 375–430px).
     Keep Verena's face in frame, darken behind the text, scale type to fit,
     and stack the CTAs full-width. */
  .home-hero {
    min-height: 86vh;
    align-items: stretch; /* content column still fills the hero height on portrait */
  }
  .home-hero__bg,
  .home-hero__bg img {
    object-position: center 28%; /* keep her face in frame with headroom on a portrait viewport */
  }
  .home-hero__overlay {
    /* Stronger charcoal gradient so white text stays legible over the photo. */
    background: linear-gradient(180deg, rgba(18,18,18,0.50) 0%, rgba(18,18,18,0.60) 50%, rgba(18,18,18,0.82) 100%);
  }
  /* Heading group top-left, CTAs pinned toward the bottom. */
  .home-hero__content { padding: 88px 20px 48px 20px; }
  .home-hero__role {
    /* Allow a graceful wrap to two lines; never break mid-word. */
    font-size: clamp(11px, 3.2vw, 14px);
    letter-spacing: 0.10em;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: normal;
    max-width: 100%;
  }
  .home-hero__tagline {
    margin: 0;
    max-width: 100%;
  }
  /* Stack the CTAs full-width: The Book on top, Speaking below. */
  .home-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .home-hero__ctas .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Small-phone pass (375–430px) — the 767.98px block already stacks the CTAs
   full-width (The Book on top) and pins heading top / CTAs bottom. This only
   guards against horizontal overflow and keeps the name/tagline from running
   past the edge on the narrowest viewports. Added 2026-06-28. */
@media (max-width: 430px) {
  .home-hero { overflow-x: hidden; }
  .home-hero__content { padding-left: 20px; padding-right: 20px; max-width: 100%; }
  .home-hero__name,
  .home-hero__tagline,
  .home-hero__role,
  .home-hero__credentials-line { overflow-wrap: anywhere; max-width: 100%; }
}

/* ---------- 2 · Reach bar (carry-forward from current site) ---------- */
.reach-bar {
  background: var(--color-dark);
  padding: 56px 0;
  color: var(--color-cream);
}
.reach-bar__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.reach-bar__stat {
  flex: 1;
  text-align: center;
}
.reach-bar__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.1;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.reach-bar__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 239, 0.75);
}
.reach-bar__divider {
  width: 0.5px;
  height: 64px;
  background: rgba(196, 150, 90, 0.35);
  flex-shrink: 0;
}
.reach-bar__credential {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-cream);
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 24px;
}
@media (max-width: 767.98px) {
  .reach-bar__stats { flex-direction: column; gap: 28px; }
  .reach-bar__divider { display: none; }
  .reach-bar__number { font-size: 40px; }
  .reach-bar__credential { font-size: 17px; }
}

/* ---------- 3 · Proof strip (carry-forward) ---------- */
/* Visually separate from reach bar above with a thin gold rule + spacing. */
.proof-strip {
  background: var(--color-dark);
  padding: 48px 0 64px 0;
  color: var(--color-cream);
  position: relative;
}
.proof-strip::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 40px auto;
}
.proof-strip__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--color-cream);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
  line-height: 1.55;
}
.proof-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof-strip__list li {
  padding-left: 30px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247, 244, 239, 0.88);
}
.proof-strip__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-family: var(--font-body);
}

/* ---------- 4 · Icon bar (carry-forward: 17 institutions) ---------- */
/* Rhythm: cream so it transitions from the dark proof strip into the cream practice section.
   No white-default sections per April 25, 2026 rhythm directive. */
.logo-bar-section {
  background: var(--color-cream);
  padding: 56px 0;
  text-align: center;
}
.logo-bar__label {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin: 0 0 40px 0;
}
/* Marquee — production behaviour: continuous horizontal scroll, paused on hover.
   Track holds two identical sets of logos and translates 0 → -50%, so the loop
   is seamless. Honours prefers-reduced-motion. */
.logo-bar {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
  /* Edge fade so logos fade into the cream bg, not hard-clip. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-bar__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logo-bar-scroll 60s linear infinite;
}
.logo-bar:hover .logo-bar__track {
  animation-play-state: paused;
}
@keyframes logo-bar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-bar__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    gap: 28px 48px;
  }
}

.logo-bar img,
.logo-bar span {
  max-width: 120px;
  max-height: 48px;
  flex: 0 0 auto;
  opacity: 0.72;
  filter: grayscale(100%);
  transition: opacity var(--duration-medium) var(--ease-standard),
              filter var(--duration-medium) var(--ease-standard);
}
.logo-bar img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.logo-bar__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  background: var(--color-cream);
  border: 0.5px dashed var(--color-gold);
  color: var(--color-gold-dark);
  font-family: var(--font-body);
  font-size: 11px;
  text-align: center;
  padding: 4px 10px;
  filter: none;
  opacity: 0.85;
}
.logo-bar__coming-soon-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.logo-bar__coming-soon-label {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

/* Pending-state placeholder shown in the render while real institutional
   logos are being sourced. Removed once logos are wired. */
.logo-bar-pending {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 32px;
  background: var(--color-cream);
  border: 1px dashed var(--color-gold);
  border-radius: var(--radius-card);
  text-align: center;
}
.logo-bar-pending p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-muted);
  font-size: 18px;
  margin: 0 0 12px 0;
}
.logo-bar-pending__list {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-dark);
}

/* ---------- 5 · The practice (brief §2, cream bg) ---------- */
.home-practice {
  background: var(--color-cream);
  padding: 72px 0;
}
.home-practice__inner {
  max-width: var(--max-prose-width);
  margin: 0 auto;
  padding: 0 24px;
}
.home-practice h2 {
  font-size: var(--fs-h2-desktop);
  font-weight: var(--weight-display-bold);
  color: var(--color-dark);
  margin: 0 0 32px 0;
}

/* ---------- 6 · The work (4 bodies-of-work cards, brief §3) ---------- */
.home-work {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 72px 0;
}
.home-work .section-heading__title { color: var(--color-white); }
.home-work .section-heading__subtitle { color: var(--color-gold); }
.home-work .section-heading__rule { background: var(--color-gold); }

/* Cards on dark background — flip the styling so cards remain readable.
   Subtle white-tinted bg, gold left-accent, white title, cream body. */
.home-work .card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--color-gold);
}
.home-work .card:hover,
.home-work .card:focus-within {
  /* Subtle bg shift only — no shadow per preserve-then-enhance brief. */
  background: rgba(255, 255, 255, 0.07);
}
.home-work .card--featured {
  background: rgba(196, 150, 90, 0.08);
  border: 0.5px solid var(--color-gold);
  border-left: 3px solid var(--color-gold);
}
.home-work .card__title {
  color: var(--color-white);
}
.home-work .card__subtitle {
  color: var(--color-gold);
}
.home-work .card__body {
  color: rgba(247, 244, 239, 0.85);
}
.home-work .btn--link {
  color: var(--color-cream);
}
.home-work .btn--link:hover {
  color: var(--color-gold);
}
.home-work__inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.home-work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 767.98px) {
  .home-work__grid { grid-template-columns: 1fr; }
}

/* ---------- 6 · Two-block module (Brief v2 §4) ----
   Cream section. Two equal-weight blocks side by side on desktop; stacked on
   mobile. Each block is a clickable cream card with a gold border. On hover
   the entire card flips to gold bg with cream type. 300ms ease — deliberate,
   not snappy. */
.home-twoblock {
  background: var(--color-cream);
  padding: 72px 0;
}
.home-twoblock__inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.home-twoblock__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.home-twoblock__card {
  /* Whole card is the link — no nested anchors. */
  display: block;
  background: var(--color-cream);
  border: 1px solid var(--color-gold);
  padding: 56px 48px;
  text-decoration: none;
  color: var(--color-dark);
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}
.home-twoblock__card:hover,
.home-twoblock__card:focus-visible {
  background: var(--color-gold);
  color: var(--color-cream);
}
.home-twoblock__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: 36px;
  line-height: 1.15;
  color: inherit;
  margin: 0 0 12px 0;
}
.home-twoblock__subhead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: inherit;
  margin: 0 0 24px 0;
  opacity: 0.85;
}
.home-twoblock__body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: inherit;
  margin: 0 0 32px 0;
}
.home-twoblock__cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 300ms ease;
}
.home-twoblock__card:hover .home-twoblock__cta,
.home-twoblock__card:focus-visible .home-twoblock__cta {
  color: var(--color-cream);
}
.home-twoblock__arrow {
  display: inline-block;
  font-size: 18px;
  margin-left: 4px;
}
@media (max-width: 767.98px) {
  .home-twoblock { padding: 64px 0; }
  .home-twoblock__grid { grid-template-columns: 1fr; }
  .home-twoblock__card { padding: 40px 28px; }
  .home-twoblock__heading { font-size: 28px; }
  .home-twoblock__subhead { font-size: 16px; }
  .home-twoblock__body { font-size: 16px; }
}

/* ---------- 7 · Testimonials (carry-forward: 3 cards) ---------- */
.home-testimonials {
  background: var(--color-dark);
  padding: 72px 0;
  color: var(--color-cream);
}
.home-testimonials__inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.home-testimonials h2 {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-white);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px auto;
  font-size: var(--fs-h2-desktop);
  line-height: 1.3;
}
.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.home-testimonials__card {
  border-left: 3px solid var(--color-gold);
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.03);
  transition: background var(--duration-medium) var(--ease-standard),
              transform var(--duration-medium) var(--ease-standard);
}

.home-testimonials__card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.home-testimonials__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-cream);
  margin: 0 0 20px 0;
}
.home-testimonials__name {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-cream);
  font-size: 14px;
  margin: 0;
}
.home-testimonials__title {
  color: var(--color-gold);
  font-size: 13px;
  margin: 2px 0 0 0;
}
@media (max-width: 767.98px) {
  .home-testimonials__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 8 · Featured keynote spotlight (carry-forward) ---------- */
.home-featured-keynote {
  background: var(--color-cream);
  padding: 72px 0;
}
.home-featured-keynote__inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.home-featured-keynote__label {
  font-size: var(--fs-meta);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 16px 0;
}
.home-featured-keynote h2 {
  font-size: var(--fs-h2-desktop);
  font-weight: var(--weight-display-bold);
  color: var(--color-dark);
  margin: 0 0 12px 0;
}
.home-featured-keynote__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--color-gold);
  margin: 0 0 24px 0;
}
.home-featured-keynote p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 0.8em;
}
.home-featured-keynote__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
}
@media (max-width: 767.98px) {
  .home-featured-keynote__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 9 · Positioning statement (carry-forward) ---------- */
.home-positioning {
  background: var(--color-dark);
  padding: 84px 0;
  color: var(--color-white);
}
.home-positioning__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.home-positioning__lead {
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 8px 0;
}
.home-positioning__lead--continuation {
  margin: 0 0 32px 0;
}
.home-positioning__follow p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 8px 0;
}
@media (max-width: 767.98px) {
  .home-positioning__lead { font-size: 28px; }
  .home-positioning { padding: 80px 0; }
}

/* ---------- 10 · From the writing ---------- */
.home-writing {
  background: var(--color-cream);
  padding: 72px 0;
}
.home-writing__inner {
  max-width: var(--max-prose-width);
  margin: 0 auto;
  padding: 0 24px;
}
.home-writing__item {
  padding: 28px 0;
  border-bottom: 0.5px solid rgba(26, 26, 26, 0.15);
}
.home-writing__item:last-of-type {
  border-bottom: 0;
}
.home-writing__item-meta {
  font-size: var(--fs-meta);
  color: var(--color-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.home-writing__item-title {
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: 24px;
  color: var(--color-dark);
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.home-writing__item-excerpt {
  color: var(--color-dark);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.home-writing__item-placeholder {
  padding: 48px 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-muted);
  font-size: 20px;
}

/* ---------- 11 · Final CTA ---------- */
.home-final-cta {
  background: var(--color-dark);
  padding: 84px 0;
  color: var(--color-white);
  text-align: center;
}
.home-final-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.home-final-cta__headline {
  font-family: var(--font-display);
  font-weight: var(--weight-display-bold);
  font-size: 36px;
  line-height: 1.25;
  color: var(--color-white);
  margin: 0 0 24px 0;
}
.home-final-cta__subhead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-subhead);
  font-size: 24px;
  color: var(--color-gold);
  margin: 0 0 40px 0;
}
.home-final-cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-final-cta__buttons .btn--secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}
.home-final-cta__buttons .btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ---------- 12 · Newsletter (reuses .newsletter-block from pages.css) ----
   Final-CTA section above is also dark; same gold-rule divider treatment
   so the newsletter block reads as its own moment, not a continuation. */
.home-final-cta + .newsletter-block::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 48px auto;
}
.home-final-cta + .newsletter-block {
  padding-top: 56px;
}


/* Homepage: align the nav wordmark + right cluster with the hero name (both use the 1200px container; match the hero 24px gutter, not the nav 56px). */
