/* =============================================================================
   VERENA RIZG — Page-level styles
   Shared patterns used across multiple pages. Phase 5 will refine the nav/footer
   into canonical components. For now these are the shared page scaffolding.
   ============================================================================= */

/* ---------- Page header / navigation ----------
   Per Cowork_Addendum_Nav_Bar_Fix:
   • DEFAULT — solid dark (#1A1A1A) on internal pages with cream/light heroes.
   • OVERLAY — body[data-header-mode="overlay"]: header is transparent over
     the dark photo hero, then transitions to solid dark on scroll past
     ~80px (the .is-scrolled class is added by the inline header script).
   • Logo: single horizontal white wordmark, height 32–36px, left-aligned.
   • Nav links: cream/white, Jost ~14px, weight 400, all caps, ~0.1em tracking.
   • Hover: gold 1px underline appears 4px below; text color stays cream.
   • "Book a keynote" reads as a text link, not a filled button.
   • No drop shadow, no bottom border, no gradient — production has none. */

.site-header {
  background: var(--color-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--duration-medium) var(--ease-standard),
              backdrop-filter var(--duration-medium) var(--ease-standard);
}

/* Overlay mode — header sits transparently over a dark hero until scroll. */
body[data-header-mode="overlay"] .site-header {
  background: transparent;
}
body[data-header-mode="overlay"] .site-header.is-scrolled {
  background: var(--color-dark);
}

/* Solid-mode pages: body content sits below the fixed header.
   Overlay-mode pages let the hero rise behind the header so the photo
   reaches the very top of the viewport. */
body {
  padding-top: 80px;
}
body[data-header-mode="overlay"] {
  padding-top: 0;
}

.site-header__inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 32px;
}

.site-header__wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo {
  display: block;
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  body { padding-top: 64px; }
  .site-header { padding: 14px 0; }
  .site-header__logo { height: 28px; }
  .site-header__inner { padding: 0 20px; }
}

/* Footer wordmark (monogram, bigger) */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.site-footer__brand img {
  height: 56px;
  width: auto;
}

.site-footer__brand-caption {
  font-size: var(--fs-meta);
  color: rgba(247, 244, 239, 0.6);
  margin: 0;
}

.site-header__nav {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body); /* Jost */
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header__nav > li {
  position: relative;
}

/* Top-level nav items — text stays cream/white in every state.
   Production uses a 1px gold underline 4px below the text for hover and
   current-page indication. Color does NOT change. */
.site-header__nav a,
.site-header__nav button.nav-trigger {
  color: rgba(247, 244, 239, 0.92);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* Gold underline — 1px line, 4px below the text, animates on hover. */
.site-header__nav a::after,
.site-header__nav button.nav-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px; /* 4px below the cap-line of UPPERCASE 14px text */
  height: 1px;
  background: var(--color-gold);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;
  transition: opacity var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}

.site-header__nav a:hover::after,
.site-header__nav button.nav-trigger:hover::after,
.site-header__nav button.nav-trigger[aria-expanded="true"]::after,
.site-header__nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__nav .nav-trigger__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--duration-fast) var(--ease-standard);
  display: inline-block;
}

.site-header__nav button.nav-trigger[aria-expanded="true"] .nav-trigger__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

/* Dropdown menu — solid #1A1A1A panel, cream text, sharp corners, no shadow.
   Reads as a continuation of the post-scroll dark nav, not as a floating
   light panel. 150–200ms ease open/close. Per Cowork preserve-then-enhance brief. */
.site-header__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--color-dark);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 240px;
  z-index: 60;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms var(--ease-standard),
              transform 180ms var(--ease-standard);
}

.site-header__dropdown li {
  list-style: none;
}

.site-header__dropdown a {
  display: block;
  padding: 12px 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(247, 244, 239, 0.92);
  position: relative;
}

/* Gold underline hover for dropdown items — same treatment as top-level nav.
   Inline so it sits under just the text, not the full padded row. */
.site-header__dropdown a::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 8px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left;
  transition: opacity var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}

.site-header__dropdown a:hover::after,
.site-header__dropdown a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__nav > li[data-open="true"] .site-header__dropdown,
.site-header__nav > li:hover .site-header__dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Buffer zone above dropdown so hover doesn't drop on cursor jump */
.site-header__nav > li:hover::after,
.site-header__nav > li[data-open="true"]::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 16px;
}

/* "Book Verena" — gold CTA button, top-right of the nav.
   Gold fill (#C4965A), charcoal text (#1A1A1A), sharp corners,
   gold-outline on hover. */
.site-header__cta {
  flex-shrink: 0;
  background: var(--color-gold) !important;
  color: var(--color-dark) !important;
  border: 1px solid var(--color-gold) !important;
  border-radius: var(--radius-button);
  padding: 10px 20px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none;
  transition: background-color var(--duration-medium) var(--ease-standard),
              color var(--duration-medium) var(--ease-standard),
              border-color var(--duration-medium) var(--ease-standard);
}
.site-header__cta:hover,
.site-header__cta:focus-visible {
  background: transparent !important;
  color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
}
/* Suppress any arrow-icon span that would be inside a button-styled CTA */
.site-header__cta .arrow {
  display: none !important;
}

/* The in-drawer Newsletter CTA is hidden by default (desktop). It becomes
   visible only inside the mobile drawer via the mobile media query. */
.site-header__nav .mobile-cta {
  display: none;
}

/* Hamburger button — hidden on desktop, shown on mobile */
.site-header__hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--duration-medium) var(--ease-standard),
              opacity var(--duration-fast) var(--ease-standard);
  transform-origin: center;
}

.site-header[data-open="true"] .site-header__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header[data-open="true"] .site-header__hamburger span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open="true"] .site-header__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer — full-screen DARK overlay below 768px, per addendum.
   Background #1A1A1A. Nav links centred and stacked in Cormorant Garamond
   italic ~28px, cream. Dropdowns become accordions inside the same overlay
   (not floating panels). Close × in the top-right corner of the overlay
   (the hamburger animates to an × — same element, different state). */
@media (max-width: 767.98px) {
  .site-header__inner {
    flex-wrap: nowrap;
    padding: 16px 20px;
  }

  .site-header__hamburger {
    display: flex !important;
    z-index: 1100; /* sits above the open drawer so it can be tapped to close */
  }

  /* When the drawer is open, the hamburger reads as an × (animated below)
     and we ensure the surrounding header is solid dark for legibility. */
  .site-header[data-open="true"] {
    background: var(--color-dark) !important;
  }
  body[data-header-mode="overlay"] .site-header[data-open="true"] {
    background: var(--color-dark) !important;
  }

  .site-header__cta {
    display: none !important;
  }

  .site-header__nav {
    display: none !important;  /* closed by default; opens via JS data-open */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 24px 64px 24px; /* clear the close × at top-right */
    z-index: 1000;
    overflow-y: auto;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
  }

  .site-header[data-open="true"] .site-header__nav {
    display: flex !important;
    animation: drawer-fade-in 200ms var(--ease-standard);
  }

  @keyframes drawer-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .site-header__nav > li {
    border-bottom: 0;
    width: 100%;
  }

  .site-header__nav a,
  .site-header__nav button.nav-trigger {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: var(--weight-subhead, 500);
    font-size: 28px;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--color-cream);
    text-align: center;
  }

  /* Mobile drawer hover/active: gold underline, no color change */
  .site-header__nav a::after,
  .site-header__nav button.nav-trigger::after {
    bottom: 12px;
    left: 50%;
    right: auto;
    width: 48px;
    transform: translateX(-50%) scaleX(0.6);
  }
  .site-header__nav a:hover::after,
  .site-header__nav a[aria-current="page"]::after,
  .site-header__nav button.nav-trigger[aria-expanded="true"]::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* Mobile dropdown: accordion under trigger, centred, smaller scale */
  .site-header__dropdown {
    display: none;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 12px 0;
    min-width: 0;
    opacity: 1;
    transform: none;
    text-align: center;
  }
  .site-header__nav > li[data-open="true"] > .site-header__dropdown {
    display: block;
  }
  .site-header__nav > li:hover .site-header__dropdown {
    display: none; /* desktop hover-to-open does not apply on touch */
  }
  .site-header__nav > li[data-open="true"] .site-header__dropdown {
    display: block;
  }
  .site-header__dropdown a {
    display: inline-block;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 244, 239, 0.85);
    text-align: center;
  }
  .site-header__dropdown a::after {
    left: 50%;
    right: auto;
    width: 28px;
    transform: translateX(-50%) scaleX(0.6);
  }
  .site-header__dropdown a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
  .site-header__nav > li:hover::after,
  .site-header__nav > li[data-open="true"]::after {
    display: none;
  }

  /* The Book-a-keynote mobile-cta line at the top of the drawer becomes
     a centred italic link in the same family as the rest of the drawer
     items — not a filled button. */
  .site-header__nav .mobile-cta {
    display: block !important;
    margin-bottom: 8px;
    border-bottom: 0;
    order: -1;
  }
  .site-header__nav .mobile-cta a.btn {
    display: inline-block;
    padding: 16px 0;
    background: transparent !important;
    color: var(--color-cream) !important;
    border: 0 !important;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: var(--weight-subhead, 500);
    font-size: 28px;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: none !important;
  }
  .site-header__nav .mobile-cta a.btn .arrow {
    display: none !important;
  }
}

/* ---------- Page hero (About, Cost of Capable, Speaking, etc.) ---------- */

.page-hero {
  background: var(--color-cream);
  padding: 96px 0 80px 0;
}

.page-hero--photo {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
}

.page-hero--photo .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero--photo .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* /about hero — carries forward exact treatment from current verenarizg.com:
   tight top-positioned crop with 1.75x scale to center on Verena's face. */
.about-page .page-hero__bg img {
  object-position: center 8%;
  transform: scale(1.75);
  transform-origin: top center;
}

@media (max-width: 767.98px) {
  .about-page .page-hero__bg img {
    transform: scale(1.4);
    object-position: center 12%;
  }
}

.page-hero--photo .page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(26, 26, 26, 0.75) 0%, rgba(26, 26, 26, 0.15) 40%, transparent 100%);
}

.page-hero--photo .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 64px;
}

.page-hero--photo h1,
.page-hero--photo .lead,
.page-hero--photo .role-line {
  color: var(--color-white);
}

.page-hero--photo .lead {
  color: var(--color-cream);
}

.page-hero--photo .role-line {
  color: rgba(247, 244, 239, 0.75);
}

.page-hero__role {
  display: block;
  margin-bottom: 16px;
}

.page-hero__title {
  max-width: 820px;
  margin-bottom: 24px;
}

.page-hero__lead {
  max-width: var(--max-prose-width);
}

/* Credentials inline on desktop, wrapped to own line on mobile.
   Non-breaking hyphen in NP-PHC keeps the credential intact. */
.page-hero__credentials {
  font-style: normal;
  white-space: nowrap;
}

.credentials-break {
  display: none;
}

@media (max-width: 767.98px) {
  .credentials-break {
    display: inline;
  }
  .page-hero__credentials {
    font-size: 0.72em;
    color: var(--color-muted);
    letter-spacing: 0.02em;
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    text-transform: uppercase;
  }
}

/* ---------- Prose page body ---------- */

.prose-page {
  padding: 80px 0;
}

.prose-page .prose {
  max-width: var(--max-prose-width);
  margin: 0 auto;
}

.prose-page h2 {
  margin-top: 64px;
  margin-bottom: 24px;
}

.prose-page h2:first-child {
  margin-top: 0;
}

.prose-page p {
  margin-bottom: 1.2em;
  font-size: var(--fs-body-desktop);
  line-height: var(--lh-body);
  color: var(--color-dark);
}

.prose-page ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 2em 0;
}

.prose-page ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  position: relative;
  padding-left: 24px;
}

.prose-page ul li:last-child {
  border-bottom: 0;
}

.prose-page ul li::before {
  /* Bullet — em-dash list markers were an AI tell. Per surgical brief 2026-05-03,
     replaced with a bullet point. Inline `--list-marker` CSS variable on the <ul>
     can override per-list (e.g. recognition list explicitly uses '•'). */
  content: var(--list-marker, '•');
  color: var(--color-gold);
  position: absolute;
  left: 0;
  top: 10px;
}

/* Variants — alternate the section rhythm without changing markup */
.prose-page--cream { background: var(--color-cream); }
.prose-page--dark {
  background: var(--color-dark);
  color: var(--color-cream);
}
.prose-page--dark p { color: var(--color-cream); }
.prose-page--dark h2 { color: var(--color-white); }
.prose-page--dark .role-line,
.prose-page--dark .h6--meta { color: var(--color-gold); }
.prose-page--dark ul li {
  border-bottom-color: rgba(247, 244, 239, 0.12);
}
.prose-page--dark ul li::before { color: var(--color-gold); }
.prose-page--dark a:not(.btn) {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ----------
   Per Cowork preserve-then-enhance brief: dark footer carries the gold
   icon-only logo at the top-left, beside the address line. The horizontal
   wordmark belongs in the header only; the icon-only mark belongs here only. */

.site-footer {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 80px 0 40px 0;
}

/* Gold icon row at the top of the footer, above the column grid. */
.site-footer__brand-row {
  max-width: var(--max-content-width);
  margin: 0 auto 56px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer__brand-row img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}
.site-footer__brand-row .site-footer__brand-caption {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  letter-spacing: 0.06em;
  color: rgba(247, 244, 239, 0.65);
  line-height: 1.5;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer__col h4 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: var(--weight-display-bold);
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__col li {
  margin-bottom: 10px;
  font-size: var(--fs-meta);
}

.site-footer__col a {
  color: rgba(247, 244, 239, 0.7);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.site-footer__col a:hover {
  color: var(--color-gold);
}

.site-footer__bottom {
  max-width: var(--max-content-width);
  margin: 48px auto 0;
  padding: 32px 24px 0;
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  text-align: center;
  font-size: var(--fs-meta);
  color: rgba(247, 244, 239, 0.5);
}

.site-footer__bottom a {
  color: rgba(247, 244, 239, 0.7);
  margin: 0 8px;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Writing listing page ---------- */

.writing-list {
  padding: 64px 0 80px 0;
  /* Rhythm: cream extension of page-hero, no white-default sections */
  background: var(--color-cream);
}

.writing-list__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h3-desktop);
  color: var(--color-gold);
  margin-bottom: 64px;
  max-width: var(--max-prose-width);
}

.writing-list__items {
  max-width: var(--max-prose-width);
  list-style: none;
  padding: 0;
  margin: 0 0 80px 0;
}

.writing-list__item {
  padding: 36px 0;
  border-bottom: 0.5px solid rgba(26, 26, 26, 0.1);
}

.writing-list__item:first-child {
  border-top: 0.5px solid rgba(26, 26, 26, 0.1);
}

.writing-list__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: var(--fs-meta);
  color: var(--color-muted);
  letter-spacing: var(--tracking-cta);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.writing-list__tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 0;
  letter-spacing: 0.08em;
}

.writing-list__tag--free {
  background: rgba(196, 150, 90, 0.12);
  color: var(--color-gold-dark);
}

.writing-list__tag--paid {
  background: var(--color-gold);
  color: var(--color-white);
}

.writing-list__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: var(--weight-display-bold);
  color: var(--color-dark);
  margin: 0 0 12px 0;
  line-height: var(--lh-display);
}

.writing-list__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.writing-list__title a:hover {
  color: var(--color-gold);
}

.writing-list__excerpt {
  color: var(--color-dark);
  font-size: var(--fs-body-desktop);
  line-height: var(--lh-body);
  margin-bottom: 16px;
}

.writing-list__empty {
  padding: 64px 0;
  text-align: center;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
}

/* ---------- Newsletter block (inline + footer) ---------- */

.newsletter-block {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 80px 24px;
}

.newsletter-block__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-block h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.newsletter-block p {
  color: rgba(247, 244, 239, 0.8);
  margin-bottom: 32px;
}

.newsletter-block .newsletter-form input[type="email"] {
  background: var(--color-white);
  color: var(--color-dark);
  /* 2px gold border so the input reads as a proper form field against the
     dark newsletter-block background. Matches the Subscribe button's visual
     weight — they're now the same horizontal height + the same gold anchor. */
  border: 2px solid var(--color-gold);
}
