html,
body {
  width: 100%;
}

:root {
  --et-ivory-soft: #f2ede7;
  --et-ink: #282220;
  --et-ink-soft: #4a403b;
  --et-surface-warm: #f4f0ea;
  --et-surface-soft: #f3eee8;
  --et-surface-cream: #eee7df;
  --et-surface-card: #fbf8f4;
  --et-surface-card-strong: #f7f2ec;
  --et-surface-card-glass: rgba(251, 248, 244, 0.9);
}

body,
p,
li,
a,
button,
input,
textarea,
select,
label,
small,
nav {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3,
h4,
.section-title,
.editorial-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

body {
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.002em;
  color: var(--et-ivory);
  background:
    radial-gradient(circle at 12% -14%, rgba(227, 74, 134, 0.14), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(140, 48, 96, 0.1), transparent 30%),
    radial-gradient(circle at 15% -10%, #3a232f 0%, #231a1d 36%, var(--et-charcoal) 74%);
  overflow-x: clip;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.surface-light {
  background: var(--et-surface-warm);
  color: var(--et-ink);
}

.surface-soft {
  background: var(--et-surface-soft);
  color: var(--et-ink);
}

.surface-cream {
  background: var(--et-surface-cream);
  color: var(--et-ink);
}

.surface-dark {
  background:
    radial-gradient(circle at 12% 12%, rgba(227, 74, 134, 0.15), transparent 38%),
    linear-gradient(160deg, rgba(27, 21, 23, 0.96), rgba(18, 14, 16, 0.96));
  color: var(--et-ivory);
}

.surface-ink {
  background:
    radial-gradient(circle at 16% 14%, rgba(227, 74, 134, 0.14), transparent 42%),
    linear-gradient(160deg, rgba(31, 24, 27, 0.97), rgba(18, 14, 16, 0.97));
  color: var(--et-ivory);
}

.surface-dark,
.surface-ink,
.card-dark {
  color: var(--et-ivory);
}

.surface-dark h1,
.surface-dark h2,
.surface-dark h3,
.surface-dark h4,
.surface-dark p,
.surface-dark li,
.surface-dark label,
.surface-dark small,
.surface-dark .section-title,
.surface-dark .section-copy,
.surface-dark .text-muted,
.surface-dark .eyebrow,
.surface-dark .hero-meta,
.surface-dark .editorial-meta,
.surface-dark .signal-text,
.surface-ink h1,
.surface-ink h2,
.surface-ink h3,
.surface-ink h4,
.surface-ink p,
.surface-ink li,
.surface-ink label,
.surface-ink small,
.surface-ink .section-title,
.surface-ink .section-copy,
.surface-ink .text-muted,
.surface-ink .eyebrow,
.surface-ink .hero-meta,
.surface-ink .editorial-meta,
.surface-ink .signal-text,
.card-dark h1,
.card-dark h2,
.card-dark h3,
.card-dark h4,
.card-dark p,
.card-dark li,
.card-dark label,
.card-dark small,
.card-dark .section-title,
.card-dark .section-copy,
.card-dark .text-muted,
.card-dark .eyebrow,
.card-dark .hero-meta,
.card-dark .editorial-meta,
.card-dark .signal-text {
  color: color-mix(in srgb, var(--et-ivory) 90%, #f0e8e0 10%);
}

.surface-dark a:not(.btn),
.surface-ink a:not(.btn),
.card-dark a:not(.btn) {
  color: color-mix(in srgb, var(--et-rose-light) 78%, var(--et-ivory) 22%);
}

.surface-dark a:not(.btn):hover,
.surface-dark a:not(.btn):focus-visible,
.surface-ink a:not(.btn):hover,
.surface-ink a:not(.btn):focus-visible,
.card-dark a:not(.btn):hover,
.card-dark a:not(.btn):focus-visible {
  color: var(--et-ivory);
}

.surface-dark .text-muted,
.surface-ink .text-muted,
.card-dark .text-muted {
  color: color-mix(in srgb, var(--et-ivory) 74%, var(--et-stone) 26%);
}

.surface-dark label,
.surface-ink label,
.card-dark label {
  color: color-mix(in srgb, var(--et-ivory) 72%, var(--et-stone) 28%);
}

.surface-dark input::placeholder,
.surface-dark textarea::placeholder,
.surface-ink input::placeholder,
.surface-ink textarea::placeholder,
.card-dark input::placeholder,
.card-dark textarea::placeholder {
  color: color-mix(in srgb, var(--et-stone) 56%, var(--et-ivory) 44%);
}

a {
  color: var(--et-rose-light);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--et-fuchsia);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(235, 101, 148, 0.58);
  outline-offset: 2px;
}

p {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.72;
}

p + p {
  margin-top: 0.85rem;
}

h1,
h2,
h3,
h4,
.section-title,
.editorial-title {
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.016em;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
  margin-top: 0.7rem;
}

label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--et-stone);
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--et-ivory);
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--et-stone) 80%, var(--et-ivory) 20%);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: rgba(235, 101, 148, 0.55);
  box-shadow: 0 0 0 3px rgba(227, 74, 134, 0.18);
}

input[type="checkbox"] {
  width: auto;
  accent-color: var(--et-fuchsia);
}

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

.container {
  width: min(100% - 2.4rem, var(--container-max));
  margin-inline: auto;
}

.section {
  padding: 6.9rem 0;
}

.page-shell.has-dark-hero > .section:first-child {
  position: relative;
  z-index: 1;
}

.page-shell.has-dark-hero > .section:not(:first-child) {
  background: var(--et-surface-soft);
  color: var(--et-ink);
}

.page-shell.has-dark-hero > .section:nth-child(even):not(:first-child) {
  background: var(--et-surface-warm);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--et-stone);
}

.section-title {
  font-size: clamp(1.82rem, 2.78vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--et-white);
  text-wrap: balance;
}

.page-shell.has-dark-hero > .section:not(:first-child) .section-title,
.page-shell.has-dark-hero > .section:not(:first-child) h2,
.page-shell.has-dark-hero > .section:not(:first-child) h3,
.page-shell.has-dark-hero > .section:not(:first-child) h4 {
  color: var(--et-ink);
}

.section-copy {
  font-size: 1.04rem;
  line-height: 1.68;
  color: color-mix(in srgb, var(--et-ivory) 86%, var(--et-stone) 14%);
  max-width: 64ch;
}

.page-shell.has-dark-hero > .section:not(:first-child) .section-copy,
.page-shell.has-dark-hero > .section:not(:first-child) p,
.page-shell.has-dark-hero > .section:not(:first-child) li {
  color: color-mix(in srgb, var(--et-ink) 88%, #544943 12%);
}

.surface-copy {
  color: color-mix(in srgb, var(--et-ivory) 80%, var(--et-stone) 20%);
}

.section-intro {
  max-width: 74ch;
}

.meta-line {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-shell.has-dark-hero > .section:not(:first-child) .section-intro {
  max-width: 74ch;
}

.section-intro {
  max-width: 76ch;
}

.chapter-focus .eyebrow,
.special-track-card .eyebrow,
.editorial-lens-card .eyebrow {
  color: color-mix(in srgb, var(--et-wine) 54%, #6b5b60 46%);
}

.chapter-focus-copy {
  line-height: 1.72;
}

.editorial-lens-index,
.special-track-tag {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

.editorial-lens-emphasis {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

.city-card-index,
.city-card-status {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

.city-card-focus {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

.city-card-role,
.city-card-thesis,
.city-card-support,
.chapter-arc-role {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

.text-muted {
  line-height: 1.66;
  color: color-mix(in srgb, var(--et-ivory) 65%, var(--et-stone) 35%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .text-muted,
.page-shell.has-dark-hero > .section:not(:first-child) .surface-meta {
  color: color-mix(in srgb, var(--et-ink-soft) 68%, #6b5b60 32%);
}

.page-shell.has-dark-hero > .section:not(:first-child) a:not(.btn) {
  color: var(--et-wine);
}

.page-shell.has-dark-hero > .section:not(:first-child) a:not(.btn):hover,
.page-shell.has-dark-hero > .section:not(:first-child) a:not(.btn):focus-visible {
  color: var(--et-fuchsia);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--et-fuchsia), var(--et-wine));
  color: var(--et-white);
  box-shadow: 0 10px 24px rgba(227, 74, 134, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(120deg, var(--et-rose-light), var(--et-fuchsia));
  color: var(--et-white);
}

.btn-secondary {
  border-color: rgba(243, 236, 230, 0.34);
  background: rgba(255, 255, 255, 0.02);
  color: var(--et-ivory);
}

.page-shell.has-dark-hero > .section:not(:first-child) .btn-secondary {
  border-color: rgba(35, 27, 30, 0.25);
  background: rgba(255, 255, 255, 0.62);
  color: var(--et-ink);
}

.page-shell.has-dark-hero > .section:not(:first-child) .btn-secondary:hover,
.page-shell.has-dark-hero > .section:not(:first-child) .btn-secondary:focus-visible {
  border-color: rgba(140, 48, 96, 0.5);
  color: var(--et-wine);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(227, 74, 134, 0.45);
  color: var(--et-white);
}

.hero-meta {
  margin-bottom: 0.28rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--et-stone);
}

.page-shell.has-dark-hero > .section:not(:first-child) .hero-meta,
.page-shell.has-dark-hero > .section:not(:first-child) .eyebrow,
.page-shell.has-dark-hero > .section:not(:first-child) .signal-text,
.page-shell.has-dark-hero > .section:not(:first-child) .editorial-meta {
  color: color-mix(in srgb, var(--et-wine) 52%, #7a666c 48%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .eyebrow {
  color: color-mix(in srgb, var(--et-wine) 58%, #7a666c 42%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .journey-card .journey-label {
  color: color-mix(in srgb, var(--et-rose-light) 88%, var(--et-ivory) 12%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .journey-card .journey-title {
  color: color-mix(in srgb, var(--et-ivory) 96%, var(--et-white) 4%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .journey-card .journey-meta {
  color: color-mix(in srgb, var(--et-rose-light) 60%, var(--et-ivory) 40%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .journey-card .journey-copy {
  color: color-mix(in srgb, var(--et-ivory) 92%, var(--et-stone) 8%);
}

.page-shell.has-dark-hero > .section:not(:first-child) .journey-card .journey-link {
  color: color-mix(in srgb, var(--et-rose-light) 80%, var(--et-ivory) 20%);
}

.city-subheading {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--et-white);
}

.signal-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--et-stone);
}

.strategic-copy {
  max-width: 68ch;
  color: color-mix(in srgb, var(--et-ivory) 85%, var(--et-stone) 15%);
}

.editorial-meta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--et-stone);
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer li,
.footer-title,
.footer-meta {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

/* Cookie consent — Equus Talks */

.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 11, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  z-index: 9999;
}

.cookie-consent[hidden],
.cookie-consent-backdrop[hidden] {
  display: none !important;
}

.cookie-consent-card {
  width: min(560px, 100%);
  padding: 2rem 2.1rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 14% 16%, rgba(227, 74, 134, 0.12), transparent 34%),
    linear-gradient(160deg, rgba(25, 20, 23, 0.97), rgba(15, 12, 14, 0.98));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
  text-align: left;
}

.cookie-consent-eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 241, 235, 0.58);
}

.cookie-consent-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f7f1eb;
}

.cookie-consent-copy {
  margin: 0;
  max-width: 35ch;
  font-size: 0.98rem;
  line-height: 1.68;
  color: rgba(247, 241, 235, 0.82);
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.cookie-consent-actions .btn {
  min-width: 128px;
}

.cookie-consent-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(247, 241, 235, 0.62);
  text-decoration: none;
  transition: color 180ms ease;
}

.cookie-consent-link:hover,
.cookie-consent-link:focus-visible {
  color: rgba(247, 241, 235, 0.9);
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 1rem;
    align-items: end;
  }

  .cookie-consent-card {
    padding: 1.45rem 1.25rem 1.2rem;
    border-radius: 18px;
  }

  .cookie-consent-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
    line-height: 1.02;
  }

  .cookie-consent-copy {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }
}
