:root {
  color-scheme: light;
  --bg: #F3F3F3;
  --bg-rgb: 243, 243, 243;
  --surface: #FFFFFF;
  --surface-rgb: 255, 255, 255;
  --text: #0C0C0C;
  --text-rgb: 12, 12, 12;
  --accent: #7267C2;
  --accent-rgb: 114, 103, 194;
  --muted: rgba(12, 12, 12, .58);
  --muted-strong: rgba(12, 12, 12, .72);
  --line: rgba(12, 12, 12, .13);
  --line-soft: rgba(12, 12, 12, .08);
  --accent-soft: rgba(114, 103, 194, .13);
  --accent-cloud: rgba(114, 103, 194, .18);
  --hero-filter: saturate(.86) contrast(.97) brightness(1.02);
  --hero-overlay: rgba(243, 243, 243, .36);
  --shadow-card: 0 22px 70px rgba(12, 12, 12, .07);
  --shadow-soft: 0 18px 60px rgba(12, 12, 12, .06);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-gutter: clamp(20px, 5vw, 80px);
  --wrap: min(calc(100vw - (var(--page-gutter) * 2)), 1680px);
  --header-h: 92px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --speed: 240ms;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C0C0C;
  --bg-rgb: 12, 12, 12;
  --surface: #161622;
  --surface-rgb: 22, 22, 34;
  --text: #F3F3F3;
  --text-rgb: 243, 243, 243;
  --muted: rgba(243, 243, 243, .58);
  --muted-strong: rgba(243, 243, 243, .76);
  --line: rgba(243, 243, 243, .14);
  --line-soft: rgba(243, 243, 243, .08);
  --accent-soft: rgba(114, 103, 194, .25);
  --accent-cloud: rgba(114, 103, 194, .30);
  --hero-filter: saturate(.9) contrast(.95) brightness(.72);
  --hero-overlay: rgba(12, 12, 12, .28);
  --shadow-card: 0 24px 86px rgba(0, 0, 0, .30);
  --shadow-soft: 0 18px 70px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
img, video { max-width: 100%; display: block; }
strong { color: var(--accent); font-weight: 800; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--accent);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  transition: transform var(--speed) var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--text);
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

.site-header__inner {
  width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3.5vw, 58px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.075em;
}
.brand__mark {
  display: block;
  color: var(--text);
  font-size: clamp(29px, 2vw, 36px);
  line-height: .92;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: color var(--speed) var(--ease);
}
.brand img,
.brand .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: calc(var(--header-h) - 28px);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-pill,
.hero-pill,
.read-link {
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: -.028em;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(var(--text-rgb), .20);
  border-radius: 999px;
  color: var(--text);
  background: rgba(var(--surface-rgb), .18);
  backdrop-filter: blur(10px);
  font-size: 15px;
  line-height: 1;
  box-shadow: none;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease), background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.nav-pill:hover,
.nav-pill:focus-visible {
  color: #FFFFFF;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-1px);
}
.theme-switch { gap: 7px; }
.theme-switch::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.theme-switch:hover::before,
.theme-switch:focus-visible::before { background: #FFFFFF; box-shadow: none; }
.theme-switch--mobile { display: none; }
.icon-link { font-size: 19px; letter-spacing: -.08em; min-width: 38px; padding-inline: 0; }
.talk-link { padding-inline: 17px; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  background: var(--bg);
}
.hero__media,
.hero__poster,
.hero__video,
.hero__veil,
.hero__fade {
  position: absolute;
  inset: 0;
}
.hero__media { z-index: -4; overflow: hidden; }
.hero__poster,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: var(--hero-filter);
  transform: scale(1.02);
}
.hero__poster { opacity: 1; }
.hero__video { opacity: .98; }
.hero__veil {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), .74) 0%, rgba(var(--bg-rgb), .42) 36%, rgba(var(--bg-rgb), .10) 72%),
    linear-gradient(0deg, var(--hero-overlay), var(--hero-overlay));
}
.hero__fade {
  z-index: -2;
  top: auto;
  height: 42vh;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), .78) 58%, var(--bg) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: calc(var(--header-h) + 4vh) 0 clamp(70px, 10vh, 120px);
}
.hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(11px, .76vw, 13px);
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.hero__title {
  margin: 0;
  max-width: min(1010px, 92vw);
  font-family: var(--font-display);
  font-size: clamp(46px, 7.2vw, 116px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.072em;
  text-transform: uppercase;
}
.hero__title-line {
  display: block;
  text-align: left;
}
.hero__title-line--accent {
  color: var(--accent);
  min-height: 1em;
}
.type-cursor {
  display: inline-block;
  width: .055em;
  height: .78em;
  margin-left: .04em;
  transform: translateY(.08em);
  background: currentColor;
  animation: blink 900ms steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3.4vw, 38px);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(var(--text-rgb), .22);
  border-radius: 999px;
  background: rgba(var(--surface-rgb), .23);
  color: var(--text);
  backdrop-filter: blur(10px);
  font-size: 15px;
  transition: transform var(--speed) var(--ease), color var(--speed) var(--ease), background-color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.hero-pill--primary,
.hero-pill:hover,
.hero-pill:focus-visible {
  color: #FFFFFF;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.section { position: relative; background: var(--bg); }
.intro {
  padding: clamp(104px, 12vw, 190px) 0 clamp(98px, 12vw, 180px);
  min-height: 132svh;
  background:
    radial-gradient(circle at 13% 19%, var(--accent-cloud) 0, transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(190px, 330px) minmax(0, 790px);
  gap: clamp(54px, 7vw, 130px);
  align-items: start;
  justify-content: space-between;
}
.section-label {
  position: relative;
  min-height: 430px;
  padding-left: clamp(28px, 3.8vw, 54px);
  color: var(--text);
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), .10));
}
.section-label--sticky {
  position: sticky;
  top: clamp(112px, 13vh, 160px);
  align-self: start;
}
.section-number {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(76px, 7vw, 126px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
}
.section-kicker {
  margin: clamp(130px, 19vh, 230px) 0 0;
  color: rgba(var(--text-rgb), .68);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.16vw, 19px);
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-kicker--inline {
  margin: 0 0 18px;
  color: rgba(var(--text-rgb), .58);
  letter-spacing: .11em;
}
.section-kicker--inline span { color: var(--accent); }
.statement {
  max-width: 790px;
  overflow-wrap: normal;
}
.statement p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.75vw, 46px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.056em;
  text-wrap: pretty;
}
.statement p + p { margin-top: clamp(38px, 6vw, 74px); }

.articles {
  padding: clamp(92px, 11vw, 170px) 0 clamp(90px, 11vw, 160px);
  background: var(--bg);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: clamp(34px, 5vw, 64px);
}
.section-head h2 {
  margin: 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(39px, 5.4vw, 86px);
  line-height: .9;
  letter-spacing: -.064em;
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--text);
  font-size: clamp(16px, 1.1vw, 19px);
  white-space: nowrap;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.read-link:hover { color: var(--accent); transform: translateX(4px); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
}
.article-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: clamp(24px, 2.4vw, 34px);
  background: rgba(var(--surface-rgb), .70);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .35);
  box-shadow: var(--shadow-card);
}
.article-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(var(--accent-rgb), .08);
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 720ms var(--ease), opacity var(--speed) var(--ease);
}
.article-card:hover img { transform: scale(1.045); opacity: .94; }
.article-card__body {
  padding: clamp(20px, 2.2vw, 30px);
}
.article-card__body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.article-card__body a:hover { color: var(--accent); }

.responsible {
  padding: clamp(70px, 9vw, 135px) 0 clamp(96px, 12vw, 176px);
  background: var(--bg);
}
.responsible__shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid var(--line-soft);
  border-radius: clamp(32px, 4vw, 54px);
  background:
    radial-gradient(circle at 12% 16%, var(--accent-soft), transparent 34%),
    rgba(var(--surface-rgb), .76);
  box-shadow: var(--shadow-soft);
}
.responsible__copy h2 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 78px);
  line-height: .94;
  letter-spacing: -.064em;
}
.responsible__copy h2 em {
  color: var(--accent);
  font-style: normal;
}
.responsible__copy > p:last-child {
  max-width: 690px;
  margin: clamp(22px, 3.5vw, 38px) 0 0;
  color: var(--muted-strong);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.48;
}
.principle-grid { display: grid; gap: 14px; }
.principle-card {
  position: relative;
  padding: clamp(22px, 2.3vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: clamp(22px, 2.2vw, 30px);
  background: rgba(var(--bg-rgb), .62);
  overflow: hidden;
}
.principle-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), .2));
}
.principle-card span {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.principle-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1;
  letter-spacing: -.052em;
}
.principle-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.site-footer {
  padding: clamp(90px, 11vw, 160px) 0 26px;
  background:
    radial-gradient(circle at 72% 10%, var(--accent-soft), transparent 28%),
    var(--bg);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, .66fr) minmax(300px, .95fr) minmax(170px, .36fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 116px);
}
.footer-contact p {
  margin: 0 0 26px;
  max-width: 360px;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 31px);
  line-height: .96;
  letter-spacing: -.047em;
  font-weight: 700;
}
.footer-contact address {
  font-style: normal;
  color: var(--text);
  font-weight: 750;
  line-height: 1.45;
}
.footer-contact address a { display: inline-block; margin-top: 16px; }
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.06em;
}
.footer-socials a:hover,
.footer-nav a:hover,
.footer-bottom a:hover { color: var(--accent); }
.footer-wisdom {
  margin: 0;
  justify-self: center;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.7vw, 82px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 600;
}
.footer-wisdom strong { font-size: 1.12em; }
.footer-nav {
  justify-self: end;
  display: grid;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -.03em;
  text-align: right;
}
.footer-wordmark {
  display: block;
  max-width: var(--wrap);
  margin-inline: auto;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(54px, 10.8vw, 188px);
  line-height: .78;
  letter-spacing: -.082em;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-.018em);
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: clamp(42px, 5vw, 72px);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.02em;
  text-align: center;
}
.footer-bottom div {
  display: flex;
  gap: 26px;
}
.footer-bottom p { width: 100%; margin: 10px 0 0; }
.footer-bottom span { color: var(--accent); font-weight: 800; }

@media (max-width: 1180px) {
  :root { --wrap: min(calc(100vw - 46px), 980px); }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    max-width: none;
    margin: 0;
    justify-self: stretch;
    z-index: 96;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    background: rgba(var(--bg-rgb), .93);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed) var(--ease);
  }
  .site-header__inner { position: relative; z-index: 100; }
  .brand, .header-actions { position: relative; z-index: 102; }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-nav .nav-pill {
    min-height: auto;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    font-size: clamp(34px, 8vw, 76px);
    letter-spacing: -.065em;
  }
  .site-nav .nav-pill:hover,
  .site-nav .nav-pill:active,
  .site-nav .nav-pill:focus-visible {
    color: var(--accent);
    background: transparent;
    border-color: transparent;
    transform: none;
  }
  .theme-switch--mobile {
    display: inline-flex;
    font-size: clamp(18px, 4vw, 30px) !important;
    margin-top: 8px;
  }
  .theme-switch--mobile::before { display: none; }
  .header-actions .theme-switch,
  .icon-link,
  .talk-link { display: none; }
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
    padding: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -.035em;
    background: transparent;
    border: 0;
  }
  .hero__title { max-width: min(930px, 92vw); }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .intro { min-height: auto; }
  .section-label,
  .section-label--sticky {
    position: relative;
    top: auto;
    min-height: 220px;
  }
  .section-kicker { margin-top: 62px; }
  .statement { max-width: 920px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { display: grid; grid-template-columns: minmax(220px, 330px) 1fr; align-items: stretch; }
  .article-card__image { height: 100%; min-height: 260px; }
  .responsible__shell { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; align-items: start; }
  .footer-wisdom { justify-self: start; }
  .footer-nav { justify-self: start; text-align: left; grid-auto-flow: column; grid-template-columns: repeat(2, max-content); gap: 14px 26px; }
}

@media (max-width: 760px) {
  :root { --page-gutter: 16px; --wrap: min(calc(100vw - 32px), 680px); --header-h: 76px; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .brand__mark { font-size: 29px; }
  .hero__media .hero__poster,
  .hero__media .hero__video { object-position: 58% 50%; }
  .hero__veil {
    background:
      linear-gradient(90deg, rgba(var(--bg-rgb), .84) 0%, rgba(var(--bg-rgb), .50) 56%, rgba(var(--bg-rgb), .12) 100%),
      linear-gradient(0deg, var(--hero-overlay), var(--hero-overlay));
  }
  .hero__inner { padding-bottom: clamp(58px, 12vh, 94px); }
  .hero__title {
    font-size: clamp(43px, 14vw, 80px);
    line-height: .9;
    letter-spacing: -.068em;
  }
  .hero__title-line { white-space: normal; }
  .hero-actions { width: 100%; gap: 8px; }
  .hero-pill { min-height: 40px; padding-inline: 14px; font-size: 14px; }
  .intro { padding-block: 80px 88px; }
  .section-label { min-height: 184px; padding-left: 28px; }
  .section-label::before { width: 4px; }
  .section-number { font-size: clamp(70px, 22vw, 110px); }
  .section-kicker { margin-top: 50px; font-size: 13px; }
  .statement p {
    font-size: clamp(25px, 8.4vw, 42px);
    line-height: 1.04;
    letter-spacing: -.055em;
  }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head h2 { font-size: clamp(40px, 13vw, 70px); }
  .article-card { display: block; }
  .article-card__image { min-height: 0; height: auto; }
  .responsible__shell { padding: 24px; border-radius: 32px; }
  .responsible__copy h2 { font-size: clamp(35px, 11vw, 64px); }
  .footer-top { margin-bottom: 56px; }
  .footer-nav { grid-auto-flow: row; grid-template-columns: 1fr; }
  .footer-wordmark { font-size: clamp(44px, 13.5vw, 88px); letter-spacing: -.075em; white-space: normal; word-break: break-word; }
  .footer-bottom { justify-content: flex-start; text-align: left; }
  .footer-bottom div { gap: 18px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(38px, 13vw, 56px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-pill { width: auto; }
  .statement p { font-size: clamp(23px, 7.8vw, 33px); }
  .footer-wisdom { font-size: clamp(36px, 14vw, 60px); }
  .footer-wordmark { font-size: clamp(40px, 13vw, 58px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* WordPress integration --------------------------------------------------- */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-nav ul,
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul,
.site-nav li { display: contents; }
.footer-nav ul { display: grid; gap: 20px; }
.footer-nav li { margin: 0; }
.site-content,
.entry-shell,
.archive-shell,
.error-shell { background: var(--bg); color: var(--text); }
.entry-shell,
.archive-shell,
.error-shell {
  width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(52px, 8vw, 100px)) 0 clamp(88px, 11vw, 150px);
}
.entry-header,
.archive-header { margin-bottom: clamp(32px, 5vw, 70px); }
.entry-title,
.archive-title,
.error-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 7.2vw, 116px);
  line-height: .9;
  letter-spacing: -.072em;
  text-transform: uppercase;
}
.entry-meta,
.entry-footer,
.post-navigation,
.pagination,
.page-links { color: var(--muted); font-weight: 700; }
.entry-content {
  color: var(--text);
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.68;
}
.entry-content > * { max-width: 790px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: min(1120px, var(--wrap)); }
.entry-content > .alignfull,
.site-content--front .entry-content > .alignfull,
.site-content--front .entry-content > .hero,
.site-content--front .entry-content > .section { max-width: none; width: 100%; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-top: 0; margin-bottom: 1.4em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 1.35em auto .55em;
}
.entry-content h2 { font-size: clamp(34px, 4.8vw, 72px); }
.entry-content h3 { font-size: clamp(27px, 3vw, 42px); }
.entry-content img { border-radius: clamp(18px, 2vw, 30px); }
.entry-featured-image { margin: 0 0 clamp(30px, 5vw, 66px); }
.entry-featured-image img { width: 100%; border-radius: clamp(24px, 3vw, 44px); box-shadow: var(--shadow-soft); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 34px); }
.pagination { margin-top: 46px; }
.pagination .nav-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pagination a,
.pagination span,
.post-navigation a,
.page-links a,
.page-links span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 760;
}
.pagination .current,
.pagination a:hover,
.post-navigation a:hover,
.page-links a:hover { color: #FFFFFF; background: var(--accent); border-color: var(--accent); }
.wp-page-content { padding-top: var(--header-h); }
.wp-page-content .entry-content { max-width: none; }
.wp-page-content .entry-content > :not(.alignfull):not(.hero):not(.section) { width: var(--wrap); max-width: 790px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
}
.post-card-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), .08);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 800;
}
@media (max-width: 1180px) { .archive-grid { grid-template-columns: 1fr; } }

/* v1.0.1 responsive refinements ---------------------------------------- */
@media (min-width: 1181px) and (max-width: 1320px) {
  .site-header__inner { gap: clamp(12px, 2vw, 34px); }
  .site-nav { gap: 6px; }
  .nav-pill { padding-inline: 12px; font-size: 14px; }
  .talk-link { padding-inline: 13px; }
}

.site-footer {
  font-family: var(--font-display);
}

.site-footer a {
  transition: color var(--speed) var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.footer-wisdom {
  width: 100%;
  max-width: min(640px, 100%);
  justify-self: center;
  text-align: center;
}

.footer-nav,
.footer-nav ul {
  max-width: 100%;
}

.footer-nav a {
  display: inline-block;
  transition: color var(--speed) var(--ease);
}

.footer-wordmark {
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(12px, 3vw, 48px);
  text-align: center;
  font-size: clamp(30px, 10vw, 168px);
  transform: none;
}

.footer-bottom {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-display);
  text-align: center;
}

.footer-legal {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(18px, 3vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal li {
  margin: 0;
}

.footer-legal > a,
.footer-legal li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-credit {
  width: 100%;
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.footer-bottom .footer-credit span {
  color: var(--text);
}

.footer-credit__copy,
.footer-credit__build {
  display: block;
}

.footer-credit s {
  color: var(--muted-strong);
  text-decoration-color: var(--accent);
  text-decoration-thickness: .12em;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: 60px 1fr auto; }
  .header-actions { gap: 12px; }
  .site-nav {
    justify-content: center;
    padding: calc(var(--header-h) + 34px) max(24px, 5vw) 48px;
    overflow-y: auto;
  }
  .site-nav .nav-pill {
    max-width: min(84vw, 640px);
    padding: 8px 0;
    font-size: clamp(25px, 5.8vw, 48px);
    line-height: .96;
    letter-spacing: -.055em;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
  .theme-switch--mobile {
    display: none !important;
  }
  .header-actions .theme-switch {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
  }
  .header-actions .theme-switch span {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }
  .header-actions .theme-switch::before {
    width: 9px;
    height: 9px;
  }
  .icon-link,
  .talk-link {
    display: none;
  }
  .menu-button {
    min-width: 52px;
    justify-content: flex-end;
  }
  .footer-top {
    align-items: center;
  }
  .footer-wisdom {
    justify-self: center;
    text-align: center;
  }
  .footer-nav {
    justify-self: center;
    text-align: center;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 14px 28px;
  }
  .footer-nav ul {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    justify-items: center;
    gap: 14px 28px;
  }
}

@media (max-width: 760px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-nav {
    gap: 12px;
    padding-inline: 24px;
  }
  .site-nav .nav-pill {
    max-width: 78vw;
    font-size: clamp(23px, 7vw, 38px);
  }
  .footer-top {
    align-items: center;
    text-align: center;
  }
  .footer-contact p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-nav {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-nav ul {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-nav a {
    max-width: 9.5ch;
    line-height: 1.05;
    white-space: normal;
  }
  .footer-wordmark {
    padding-inline: 0;
    font-size: clamp(29px, 9.6vw, 72px);
  }
  .footer-bottom {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-legal ul {
    gap: 10px 22px;
  }
}

@media (max-width: 420px) {
  .header-actions { gap: 10px; }
  .header-actions .theme-switch {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
  .menu-button {
    min-width: 48px;
    font-size: 17px;
  }
  .site-nav .nav-pill {
    max-width: 76vw;
    font-size: clamp(22px, 7.8vw, 32px);
  }
  .footer-wordmark {
    font-size: clamp(28px, 9.4vw, 42px);
  }
  .footer-legal ul {
    flex-direction: column;
    align-items: center;
  }
}

/* v1.0.2 responsive refinements ---------------------------------------- */
a,
button,
.nav-pill,
.hero-pill,
.read-link,
.mobile-action-pill {
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease), background-color var(--speed) var(--ease), transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

a:hover,
a:focus-visible,
.read-link:hover,
.read-link:focus-visible,
.article-card__body a:hover,
.article-card__body a:focus-visible,
.footer-contact address a:hover,
.footer-contact address a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible,
.entry-content a:hover,
.entry-content a:focus-visible {
  color: var(--accent);
}

.nav-pill:hover,
.nav-pill:focus-visible,
.hero-pill:hover,
.hero-pill:focus-visible,
.mobile-action-pill:hover,
.mobile-action-pill:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), .08);
  transform: translateY(-1px);
}

.theme-switch:hover::before,
.theme-switch:focus-visible::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.mobile-nav-actions {
  display: none;
}

.site-footer,
.site-footer * {
  font-family: var(--font-display);
}

.footer-contact address,
.footer-contact address a {
  overflow-wrap: anywhere;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(var(--text-rgb), .20);
  border-radius: 999px;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), .08);
}

.footer-wisdom {
  width: min(100%, 12ch);
  max-width: 100%;
  justify-self: center;
  text-align: center;
  font-size: clamp(38px, 4.6vw, 76px);
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance;
  overflow-wrap: normal;
}

.footer-wisdom strong {
  display: block;
  font-size: 1.06em;
}

.footer-wordmark {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  text-align: center;
  font-size: clamp(34px, 10.2vw, 164px);
  line-height: .82;
  letter-spacing: -.08em;
  white-space: nowrap;
  transform: none;
}

.footer-legal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px clamp(24px, 4vw, 46px);
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px clamp(24px, 4vw, 46px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal > a,
.footer-legal li a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  white-space: nowrap;
}

.footer-credit {
  gap: 7px;
}

.footer-credit__copy,
.footer-credit__build {
  color: var(--text) !important;
}

.footer-credit s {
  color: var(--text);
  text-decoration-color: var(--text);
  text-decoration-thickness: .11em;
}

.footer-credit__accent {
  color: var(--accent) !important;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 9px;
    padding: calc(var(--header-h) + 28px) max(18px, 5vw) 48px;
    overflow-y: auto;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .site-nav li {
    display: block;
    max-width: 100%;
  }

  .site-nav > .nav-pill,
  .site-nav li .nav-pill {
    min-height: 40px;
    max-width: min(78vw, 430px);
    width: auto;
    padding: 8px 18px 9px;
    border: 1px solid rgba(var(--text-rgb), .20);
    border-radius: 999px;
    background: rgba(var(--surface-rgb), .16);
    backdrop-filter: blur(10px);
    font-size: clamp(19px, 4.6vw, 30px);
    line-height: 1.02;
    letter-spacing: -.052em;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-nav > .nav-pill:hover,
  .site-nav > .nav-pill:focus-visible,
  .site-nav li .nav-pill:hover,
  .site-nav li .nav-pill:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), .08);
  }

  .mobile-nav-actions {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
  }

  .mobile-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(var(--text-rgb), .20);
    border-radius: 999px;
    background: rgba(var(--surface-rgb), .16);
    color: var(--text);
    backdrop-filter: blur(10px);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 760;
    letter-spacing: -.028em;
  }

  .mobile-action-pill--icon {
    width: 40px;
    padding: 0;
    font-size: 19px;
    letter-spacing: -.08em;
  }

  .mobile-action-pill--talk {
    min-width: 132px;
  }

  .header-actions .theme-switch {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .menu-button {
    min-width: 48px;
    font-size: 17px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: clamp(38px, 7vw, 70px);
  }

  .footer-contact p {
    margin-inline: auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-nav,
  .footer-nav ul {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    justify-items: center;
    text-align: center;
    gap: 14px clamp(20px, 5vw, 36px);
  }

  .footer-nav a {
    max-width: 12ch;
    line-height: 1.08;
    white-space: normal;
    text-align: center;
  }

  .footer-wisdom {
    width: min(100%, 11ch);
    font-size: clamp(36px, 7.6vw, 66px);
  }

  .footer-wordmark {
    font-size: clamp(34px, 10vw, 112px);
  }
}

@media (max-width: 760px) {
  .header-actions {
    gap: 8px;
  }

  .header-actions .theme-switch {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .site-nav {
    gap: 8px;
    padding-inline: 18px;
    padding-bottom: 38px;
  }

  .site-nav > .nav-pill,
  .site-nav li .nav-pill {
    max-width: min(84vw, 350px);
    min-height: 38px;
    padding: 8px 17px;
    font-size: clamp(18px, 5.4vw, 25px);
  }

  .footer-wisdom {
    width: min(100%, 10.5ch);
    font-size: clamp(34px, 10vw, 54px);
  }

  .footer-wordmark {
    font-size: clamp(28px, 9vw, 68px);
  }

  .footer-nav,
  .footer-nav ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-nav a {
    max-width: 10.5ch;
  }

  .footer-bottom {
    gap: 18px;
  }

  .footer-legal,
  .footer-legal ul {
    gap: 10px 22px;
  }
}

@media (max-width: 420px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand__mark {
    font-size: 27px;
  }

  .header-actions .theme-switch {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .menu-button {
    min-width: 44px;
    font-size: 16px;
  }

  .site-nav > .nav-pill,
  .site-nav li .nav-pill {
    max-width: calc(100vw - 38px);
    font-size: clamp(17px, 5.7vw, 22px);
    padding-inline: 15px;
  }

  .footer-contact address a {
    font-size: clamp(13px, 3.8vw, 16px);
    word-break: break-all;
  }

  .footer-wisdom {
    width: min(100%, 10ch);
    font-size: clamp(31px, 10.2vw, 42px);
  }

  .footer-wordmark {
    font-size: clamp(27px, 8.6vw, 38px);
    white-space: normal;
    word-break: break-word;
  }

  .footer-legal,
  .footer-legal ul {
    flex-direction: column;
    gap: 9px;
  }

  .footer-credit {
    font-size: 12px;
  }
}


/* v1.0.2 final hover tune ---------------------------------------------- */
button:hover,
button:focus-visible,
.menu-button:hover,
.menu-button:focus-visible {
  color: var(--accent);
}


/* v1.0.3 conflict fixes -------------------------------------------------- */
.site-header a,
.hero-actions a.hero-pill,
.entry-content .hero-actions a.hero-pill,
.wp-page-content .entry-content .hero-actions a.hero-pill {
  text-decoration: none !important;
}

.hero-actions a.hero-pill--primary,
.hero-actions a.hero-pill--primary:visited,
.hero-actions a.hero-pill--primary:hover,
.hero-actions a.hero-pill--primary:focus-visible {
  color: #FFFFFF !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.hero-actions a.hero-pill:hover,
.hero-actions a.hero-pill:focus-visible {
  text-decoration: none !important;
}

.hero__title {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.hero__title-line,
.hero__title-line--accent,
.hero__title-line--accent > span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content > .alignfull,
.entry-content > .wp-block-digitalhumanist-hero,
.entry-content > .wp-block-digitalhumanist-article-hero,
.entry-content > .wp-block-digitalhumanist-editorial-section,
.entry-content > .wp-block-digitalhumanist-media-section,
.entry-content > .wp-block-digitalhumanist-latest-articles,
.entry-content > .wp-block-digitalhumanist-articles-archive,
.entry-content > .wp-block-digitalhumanist-principles-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.entry-shell--has-article-hero {
  width: 100%;
  padding-top: 0;
}

.entry-shell--has-article-hero .entry-content > .wp-block-digitalhumanist-article-hero:first-child {
  margin-top: 0;
}

.entry-shell--has-article-hero .entry-footer,
.entry-shell--has-article-hero .post-navigation {
  width: var(--wrap);
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}

@supports (width: 100dvw) {
  .entry-content > .alignfull,
  .entry-content > .wp-block-digitalhumanist-hero,
  .entry-content > .wp-block-digitalhumanist-article-hero,
  .entry-content > .wp-block-digitalhumanist-editorial-section,
  .entry-content > .wp-block-digitalhumanist-media-section,
  .entry-content > .wp-block-digitalhumanist-latest-articles,
  .entry-content > .wp-block-digitalhumanist-articles-archive,
  .entry-content > .wp-block-digitalhumanist-principles-section {
    width: 100dvw;
    max-width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}


/* v1.0.4 mobile menu cleanup ---------------------------------------------- */
@media (max-width: 1180px) {
  .site-nav > .nav-pill,
  .site-nav li .nav-pill {
    min-height: auto;
    width: auto;
    max-width: min(84vw, 430px);
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-nav > .nav-pill:hover,
  .site-nav > .nav-pill:focus-visible,
  .site-nav li .nav-pill:hover,
  .site-nav li .nav-pill:focus-visible {
    color: var(--accent);
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .mobile-nav-actions {
    margin-top: 16px;
  }

  .mobile-action-pill--talk {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(var(--text-rgb), .20);
    border-radius: 999px;
    background: rgba(var(--surface-rgb), .16);
    backdrop-filter: blur(10px);
  }
}


/* v1.0.5 Hero Homepage compatibility ------------------------------------- */
.wp-page-content.site-content--starts-with-hero-homepage {
  padding-top: 0 !important;
}

.site-content--starts-with-hero-homepage .entry-content,
.front-page-starts-with-hero-homepage .entry-content {
  margin-top: 0 !important;
}

.site-content--starts-with-hero-homepage .entry-content > .wp-block-digitalhumanist-hero-homepage:first-child {
  margin-top: 0 !important;
}

.entry-content > .wp-block-digitalhumanist-hero-homepage,
.site-content--front .entry-content > .wp-block-digitalhumanist-hero-homepage,
.wp-page-content .entry-content > .wp-block-digitalhumanist-hero-homepage {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

@supports (width: 100dvw) {
  .entry-content > .wp-block-digitalhumanist-hero-homepage,
  .site-content--front .entry-content > .wp-block-digitalhumanist-hero-homepage,
  .wp-page-content .entry-content > .wp-block-digitalhumanist-hero-homepage {
    width: 100dvw;
    max-width: 100dvw;
    margin-left: calc(50% - 50dvw) !important;
    margin-right: calc(50% - 50dvw) !important;
  }
}

.entry-content .dhh-hero img,
.entry-content .dhh-hero video {
  max-width: none !important;
  border-radius: 0 !important;
}

.entry-content .dhh-hero a,
.entry-content .dhh-hero a:hover,
.entry-content .dhh-hero a:focus-visible,
.entry-content .dhh-hero a:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.nav-pill:hover,
.nav-pill:focus-visible,
.nav-pill:active,
.nav-pill.is-active,
.nav-pill[aria-current="page"],
.current-menu-item > .nav-pill,
.current-menu-item > a.nav-pill,
.current_page_item > .nav-pill,
.current_page_item > a.nav-pill {
  color: #FFFFFF !important;
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  text-decoration: none !important;
}

.nav-pill:hover *,
.nav-pill:focus-visible *,
.nav-pill:active *,
.nav-pill.is-active *,
.nav-pill[aria-current="page"] * {
  color: #FFFFFF !important;
}

.theme-switch:hover::before,
.theme-switch:focus-visible::before,
.theme-switch:active::before,
.nav-pill.is-active.theme-switch::before,
.nav-pill[aria-current="page"].theme-switch::before {
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.hero-actions a.hero-pill:hover,
.hero-actions a.hero-pill:focus-visible,
.hero-actions a.hero-pill:active,
.dhh-hero .dhh-hero-pill:hover,
.dhh-hero .dhh-hero-pill:focus-visible,
.dhh-hero .dhh-hero-pill:active,
.dhh-hero .dhh-hero-pill--primary,
.dhh-hero .dhh-hero-pill--primary:visited,
.dhh-hero .dhh-hero-pill--primary:hover,
.dhh-hero .dhh-hero-pill--primary:focus-visible,
.dhh-hero .dhh-hero-pill--primary:active {
  color: #FFFFFF !important;
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  text-decoration: none !important;
}


/* v1.0.6 gap fix + button hover parity ------------------------------------ */

/* Strengthen the hero-homepage spacing fix: clear any WP layout margin-block-start
   and any residual padding-top that WordPress global styles may inject. */
.site-content--starts-with-hero-homepage .entry-content {
  padding-top: 0 !important;
  padding-block-start: 0 !important;
}

.site-content--starts-with-hero-homepage .entry-content > .wp-block-digitalhumanist-hero-homepage:first-child {
  margin-block-start: 0 !important;
}

/* Mobile "want to talk?" pill — will be overridden by v1.0.7 below. */
.mobile-action-pill:hover,
.mobile-action-pill:focus-visible,
.mobile-action-pill:active {
  color: #FFFFFF !important;
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  text-decoration: none !important;
}


/* v1.0.7 — nav-pill hover = footer-social style; gap :has() fallback ---------- */

/* All pill buttons in the header/nav use the same style as .footer-socials a:hover:
   accent-coloured text, accent border, barely-there purple background.
   Overrides the white-on-purple set in v1.0.5. */
.nav-pill:hover,
.nav-pill:focus-visible,
.nav-pill:active,
.nav-pill.is-active,
.nav-pill[aria-current="page"],
.current-menu-item > .nav-pill,
.current-menu-item > a.nav-pill,
.current_page_item > .nav-pill,
.current_page_item > a.nav-pill,
.talk-link:hover,
.talk-link:focus-visible,
.talk-link:active,
.mobile-action-pill:hover,
.mobile-action-pill:focus-visible,
.mobile-action-pill:active {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  background: rgba(var(--accent-rgb), .08) !important;
  text-decoration: none !important;
}

/* Theme-switch dot remains accent-coloured (not white) on the soft background. */
.theme-switch:hover::before,
.theme-switch:focus-visible::before,
.theme-switch:active::before {
  background: var(--accent) !important;
  box-shadow: 0 0 0 5px var(--accent-soft) !important;
}

/* CSS-only gap fallback using :has() — catches cases where the PHP detection
   does not run (cached page, edge case). Supported in all modern browsers. */
@supports selector(:has(*)) {
  .site-content--front:has(> article > .entry-content > .wp-block-digitalhumanist-hero-homepage:first-child) {
    padding-top: 0 !important;
    padding-block-start: 0 !important;
  }
}


/* v1.0.8 — nuclear hero gap kill ------------------------------------------- */
/* WordPress can inject padding/margin from many places (theme.json layout,
   block-gap, root padding). Zero out every possible parent chain of the hero
   on the homepage so no residual space can appear above the video. */

body.home main#main,
body.home main.site-content,
body.home main.site-content--front,
body.home main.site-content--starts-with-hero-homepage,
body.home main.site-content--front > article,
body.home main.site-content--starts-with-hero-homepage > article,
body.home main.site-content--front > article > .entry-content,
body.home main.site-content--starts-with-hero-homepage > article > .entry-content,
body.home .wp-site-blocks,
body.home .wp-block-post-content {
  padding-top: 0 !important;
  padding-block-start: 0 !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  border-top-width: 0 !important;
}

/* The hero block itself: no top space, ever, on the homepage. */
body.home .wp-block-digitalhumanist-hero-homepage,
body.home .entry-content > .wp-block-digitalhumanist-hero-homepage,
body.home .entry-content > .wp-block-digitalhumanist-hero-homepage:first-child,
body.home .entry-content > .wp-block-digitalhumanist-hero-homepage:first-of-type {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  padding-top: 0 !important;
  padding-block-start: 0 !important;
}

/* Any wpautop-injected empty <p> before the hero collapses to zero height. */
body.home .entry-content > p:empty,
body.home .entry-content > br {
  display: none !important;
}

/* The hero's media layer must always start at the very top of the hero,
   even if legacy saved data still has a non-zero mediaTopOffset. */
.dhh-hero .dhh-hero__media,
.dhh-hero .dhh-hero__veil {
  inset: 0 !important;
}


/* v1.0.9 — tablet header polish, hover text colour, menu spacing ----------- */

/* 1) Header inner width: on tablet the wrap cap (980px) leaves ~100px of
   empty space between the menu button and the viewport edge at 1180px.
   Break out of the wrap and hug the viewport edges instead. */
@media (max-width: 1180px) {
  .site-header__inner {
    width: calc(100vw - clamp(24px, 4vw, 44px)) !important;
    max-width: none;
  }
}

/* 2) Text inside a hovered pill: v1.0.5 forced children to white, but the
   v1.0.7 hover style is accent-on-soft-purple, so the text should also be
   accent. This targets the theme-switch "light/dark" label. */
.nav-pill:hover *,
.nav-pill:focus-visible *,
.nav-pill:active *,
.talk-link:hover *,
.talk-link:focus-visible *,
.talk-link:active *,
.mobile-action-pill:hover *,
.mobile-action-pill:focus-visible *,
.mobile-action-pill:active * {
  color: var(--accent) !important;
}

/* 3) Vertical distribution of menu items on tablet/mobile overlay. The
   previous 9px gap plus 6px pill padding felt cramped — bump both. */
@media (max-width: 1180px) {
  .site-nav {
    gap: clamp(18px, 3.4vh, 30px) !important;
  }
  .site-nav ul {
    gap: clamp(18px, 3.4vh, 30px) !important;
  }
  .site-nav > .nav-pill,
  .site-nav li .nav-pill {
    padding: 10px 0 !important;
  }
  .mobile-nav-actions {
    margin-top: clamp(20px, 4vh, 36px) !important;
  }
}

/* v1.1.0 — after-hero-homepage: kill any WP-injected block gap above the first
   bh- editorial block so it doesn't visually overlap with the hero section. */
.site-content--after-hero-homepage .entry-content > *:first-child,
.site-content--after-hero-homepage .entry-content > .wp-block-digitalhumanist-intro:first-child,
.site-content--after-hero-homepage .entry-content > .wp-block-digitalhumanist-articles:first-child,
.site-content--after-hero-homepage .entry-content > .wp-block-digitalhumanist-principles:first-child {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

@media (max-width: 760px) {
  .site-nav {
    gap: clamp(16px, 3vh, 26px) !important;
  }
  .site-nav ul {
    gap: clamp(16px, 3vh, 26px) !important;
  }
}
