/* ==========================================================================
   IPAMORELIN MEDICINAL — GEOMETRIC AESTHETIC
   Design: Swiss-system modular grid, Space Grotesk headings, Inter body,
   Space Mono indices. Deep blue + cool near-white graph-paper ground.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  --primary:       #1E3A8F;
  --primary-50:    #E8ECF7;
  --primary-100:   #D2D9EF;
  --primary-900:   #0F1E4A;
  --secondary:     #2B3A42;
  --accent:        #0E8C6A;
  --accent-50:     #E2F2EC;
  --accent-900:    #0A5A44;
  --neutral-50:    #F4F6FA;
  --neutral-100:   #EAEEF4;
  --neutral-200:   #D8DEE8;
  --neutral-300:   #BDC6D4;
  --neutral-500:   #5C6675;
  --neutral-700:   #34404F;
  --neutral-900:   #161C26;
  --bg:            #F4F6FA;
  --surface:       #FFFFFF;
  --surface-grid:  #EAEEF4;
  --text:          #161C26;
  --text-muted:    #4E5868;
  --rule:          #161C26;
  --rule-muted:    #D8DEE8;
  --grid-line:     #D8DEE8;
  --max-width:     74rem;
  --container-px:  clamp(1rem, 3vw, 2rem);
  --font-heading:  'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:     'Space Mono', 'IBM Plex Mono', 'Courier New', monospace;
  --radius-btn:    2px;
  --radius-card:   2px;
  --transition:    160ms ease-out;
}

/* --------------------------------------------------------------------------
   RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover {
  color: var(--primary-900);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY SCALE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 52ch;
}

h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  max-width: 44rem;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.5;
  max-width: 44rem;
  color: var(--text-muted);
}

small, .small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.micro {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--neutral-500);
  display: block;
  margin-bottom: 0.75rem;
}

.mono-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

code, .code-inline {
  font-family: var(--font-mono);
  font-size: 0.9375em;
  background-color: var(--surface-grid);
  padding: 0.0625rem 0.25rem;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   LAYOUT — CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* --------------------------------------------------------------------------
   SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--primary);
  height: 64px;
  position: relative;
  z-index: 100;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-brand::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Site Navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--neutral-900);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color var(--transition);
}

.site-nav a .nav-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neutral-500);
  letter-spacing: 0.08em;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 1px;
  background-color: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
  flex-shrink: 0;
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background var(--transition);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text);
  left: 0;
  transition: transform var(--transition);
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after  { top:  6px; }

/* --------------------------------------------------------------------------
   HERO — INDEX PAGE (Two-zone grid)
   -------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0 3.5rem;
  position: relative;
}

.hero-content {
  max-width: 52ch;
}

.hero-accent-tick {
  display: block;
  width: 3rem;
  height: 2px;
  background-color: var(--accent);
  margin: 0.75rem 0 1.25rem;
  flex-shrink: 0;
}

.hero-grid h1 {
  margin-bottom: 0;
}

.hero-subheadline {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  max-width: 44rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-figure img {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--primary);
}

/* Section page hero (non-index) */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--rule-muted);
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  max-width: 60ch;
  margin-bottom: 0.75rem;
}

.page-hero .lede {
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   MAIN CONTENT
   -------------------------------------------------------------------------- */
main {
  padding-bottom: 4rem;
}

.content-article {
  padding-top: 2rem;
}

/* Content sections */
.content-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--primary);
  position: relative;
}

.content-section:first-child {
  border-top: none;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  display: block;
  margin-bottom: 0.5rem;
}

.content-section h2 {
  margin-bottom: 1.25rem;
}

.content-section p + p {
  margin-top: 1rem;
}

/* Reading column constraint */
.reading-col {
  max-width: 44rem;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.8125rem 1.5rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--neutral-50);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-900);
  border-color: var(--primary-900);
  color: var(--neutral-50);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--primary);
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.btn-ghost:hover {
  text-decoration-color: var(--accent);
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border-top: 2px solid var(--primary);
}

.card-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  display: block;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   CALLOUTS
   -------------------------------------------------------------------------- */
.callout {
  background-color: var(--surface);
  border: 1px solid var(--neutral-200);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  max-width: 44rem;
}

.callout-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--neutral-900);
  display: block;
  margin-bottom: 0.5rem;
}

.callout-selectivity {
  border-left-color: var(--accent);
}

.callout p {
  max-width: none;
}

/* --------------------------------------------------------------------------
   LISTS
   -------------------------------------------------------------------------- */
.prose-ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
}

.prose-ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.375rem;
  max-width: 44rem;
}

.prose-ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background-color: transparent;
  border: 1.5px solid var(--primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.prose-ol {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  counter-reset: prose-counter;
}

.prose-ol li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.375rem;
  max-width: 44rem;
  counter-increment: prose-counter;
}

.prose-ol li::before {
  content: counter(prose-counter);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 400;
}

/* FAQ list */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  border-top: 1px solid var(--rule-muted);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rule-muted);
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-q-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--neutral-500);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 0.2em;
}

.faq-answer {
  max-width: 44rem;
  padding-left: 2.5rem;
}

.faq-answer p {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   REFERENCES LIST
   -------------------------------------------------------------------------- */
.references-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ref-counter;
}

.references-list li {
  counter-increment: ref-counter;
  padding: 1rem 0 1rem 3.5rem;
  position: relative;
  border-top: 1px solid var(--rule-muted);
  max-width: 52rem;
}

.references-list li:last-child {
  border-bottom: 1px solid var(--rule-muted);
}

.references-list li::before {
  content: '[' counter(ref-counter) ']';
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 1rem;
}

.references-list .ref-title {
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.references-list .ref-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: block;
}

.references-list .ref-doi {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.references-list a {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   CITATION CHIPS (inline superscripts)
   -------------------------------------------------------------------------- */
sup a[data-citation] {
  font-family: var(--font-mono);
  font-size: 0.75em;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 1px;
  font-weight: 400;
  padding: 0 0.1em;
}

sup a[data-citation]:hover {
  color: var(--primary-900);
}

sup a[data-citation]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   FIGURES
   -------------------------------------------------------------------------- */
.content-figure {
  margin: 2rem 0;
  max-width: 44rem;
}

.content-figure img {
  width: 100%;
  border: 1px solid var(--primary);
}

.figure-coord {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neutral-500);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}

.figure-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
  max-width: none;
}

.figure-caption strong {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   TABLES
   -------------------------------------------------------------------------- */
.data-table {
  width: 100%;
  max-width: 44rem;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.data-table thead tr {
  border-bottom: 1.5px solid var(--primary);
}

.data-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 0.5rem 0.75rem 0.5rem 0;
  color: var(--text);
}

.data-table td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-top: 1px solid var(--rule-muted);
  vertical-align: top;
}

.data-table .td-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.data-table .td-num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.data-table .row-highlight td {
  background-color: var(--accent-50);
}

/* --------------------------------------------------------------------------
   GRID SCAFFOLDING (visible rails)
   -------------------------------------------------------------------------- */
.grid-rail-section {
  position: relative;
}

.grid-rail-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--grid-line);
}

/* --------------------------------------------------------------------------
   CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-form {
  max-width: 36rem;
  margin-top: 2rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-label span {
  color: var(--neutral-500);
  font-weight: 400;
  font-size: 0.875rem;
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-btn);
  padding: 0.625rem 0.875rem;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--secondary);
  color: var(--neutral-50);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

/* Hexagon watermark */
.site-footer::before {
  content: '';
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 240px;
  height: 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath d='M60 10 L100 10 L120 43 L100 76 L60 76 L40 43Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M100 10 L140 10 L160 43 L140 76 L100 76 L80 43Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M140 10 L180 10 L200 43 L180 76 L140 76 L120 43Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M40 76 L80 76 L100 109 L80 142 L40 142 L20 109Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M80 76 L120 76 L140 109 L120 142 L80 142 L60 109Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M120 76 L160 76 L180 109 L160 142 L120 142 L100 109Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M160 76 L200 76 L220 109 L200 142 L160 142 L140 109Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M60 142 L100 142 L120 175 L100 208 L60 208 L40 175Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M100 142 L140 142 L160 175 L140 208 L100 208 L80 175Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M140 142 L180 142 L200 175 L180 208 L140 208 L120 175Z' fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}

.footer-disclaimer {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--neutral-300);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  max-width: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--neutral-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.375rem;
}

.footer-links a {
  color: var(--neutral-300);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--neutral-50);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--neutral-500);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  max-width: none;
}

/* --------------------------------------------------------------------------
   404 PAGE
   -------------------------------------------------------------------------- */
.error-page {
  padding: 5rem 0;
  text-align: left;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

/* --------------------------------------------------------------------------
   BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 0.75rem 0;
  margin-bottom: 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--neutral-300);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   TIPPY OVERRIDES (citation popovers)
   -------------------------------------------------------------------------- */
.tippy-box[data-theme~='citation'] {
  background-color: var(--secondary);
  color: var(--neutral-50);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 24rem;
  border-radius: 2px;
}

.tippy-box[data-theme~='citation'] .tippy-arrow {
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   RESPONSIVE — 768px+
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
    align-items: center;
  }

  .hero-content {
    max-width: none;
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — 1024px+
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero-grid {
    padding: 5rem 0 4.5rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .hero-figure img {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   MOBILE — 767px and below
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--surface);
    border-bottom: 1px solid var(--primary);
    z-index: 99;
    padding: 0.5rem 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    padding: 0.75rem var(--container-px);
    border-radius: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .faq-answer {
    padding-left: 0;
    margin-top: 0.5rem;
  }

  .grid-rail-section::before {
    display: none;
  }
}
