@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111108;
  --ink-soft: #292914;
  --moss-dark: #3e4518;
  --moss: #667224;
  --olive: #87952b;
  --lime: #d4e640;
  --lime-soft: #eef4a7;
  --paper: #fbf8ea;
  --paper-deep: #efe7c8;
  --white: #ffffff;
  --teal: #008a70;
  --navy: #17244a;
  --gold: #d5a23a;
  --error: #9f2f22;
  --shadow: 0 24px 70px rgba(17, 17, 8, 0.18);
  --shadow-soft: 0 12px 35px rgba(17, 17, 8, 0.12);
  --radius: 1.35rem;
  --radius-sm: 0.8rem;
  --max: 1120px;
  --font-sans: "Avenir Next", "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Avenir Next", "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-condensed: "Avenir Next", "IBM Plex Sans", system-ui, sans-serif;
  --font-serif: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "DM Serif Display", serif;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

iframe {
  border: 0;
}

a {
  color: var(--moss-dark);
  text-decoration-color: rgba(102, 114, 36, 0.38);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--ink);
  text-decoration-color: var(--lime);
}

p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.55rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

h4 {
  font-size: 1.2rem;
  letter-spacing: 0;
}

h5,
h6,
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.03em;
}

strong,
b {
  font-weight: 500;
}

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

.narrow {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 234, 0.92);
  border-bottom: 1px solid rgba(17, 17, 8, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 172px;
  max-height: 58px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.06em;
}

.brand-text-main {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-text-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.8rem;
  letter-spacing: -0.025em;
  color: var(--moss-dark);
}

.site-footer .brand-text-main {
  color: rgba(251, 248, 234, 0.92);
}

.site-footer .brand-text-script {
  color: var(--lime);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  font-size: 1.05rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(212, 230, 64, 0.45);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(17, 17, 8, 0.18);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font: 500 0.95rem/1 var(--font-heading);
  letter-spacing: 0;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero {
  color: var(--white);
  background: linear-gradient(118deg, #d4e640 0%, #87952b 30%, #3e4518 58%, #1d2409 100%);
}

.page-hero {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 248, 234, 0) 0%, var(--paper) 100%),
    linear-gradient(122deg, rgba(212, 230, 64, 0.58) 0%, rgba(238, 244, 167, 0.5) 34%, rgba(239, 231, 200, 0.72) 68%, var(--paper) 100%);
}

.hero::after,
.page-hero::after {
  content: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.page-hero .eyebrow {
  display: none;
}

.hero h1,
.hero p {
  color: var(--white);
}

.page-hero h1,
.page-hero p {
  color: var(--ink);
}

.hero-title-script {
  display: block;
  margin-top: 0.25rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.hero-lede {
  max-width: 640px;
  margin-top: 1.35rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border: 1.5px solid rgba(17, 17, 8, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink) !important;
  padding: 0.78rem 1.15rem;
  font: 500 1rem/1.15 var(--font-heading);
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--lime);
  color: var(--ink) !important;
  border-color: transparent;
}

.button.button-light {
  background: var(--white);
  color: var(--ink) !important;
}

.button.button-ghost {
  background: rgba(0, 0, 0, 0.28);
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.button.button-ghost:hover,
.button.button-ghost:focus-visible {
  background: var(--white);
  color: var(--ink) !important;
}

.hero-card,
.callout-card,
.card {
  border: 1px solid rgba(17, 17, 8, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  z-index: 2;
  padding: clamp(1.35rem, 3vw, 2rem);
  backdrop-filter: blur(10px);
}

.hero-card h2,
.hero-card h3,
.hero-card p {
  color: var(--ink);
}

.hero-card .date {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero-card dl,
.fact-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.4rem 0 0;
}

.hero-card dt,
.fact-list dt {
  color: var(--moss-dark);
  font: 500 0.92rem/1.15 var(--font-heading);
  letter-spacing: 0.01em;
}

.hero-card dd,
.fact-list dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page-hero .hero-art,
.hero .hero-art {
  display: none;
}

.hero-art .orb {
  position: absolute;
  width: clamp(17rem, 40vw, 31rem);
  aspect-ratio: 1;
  right: 10%;
  top: 18%;
  border-radius: 50%;
  background: rgba(212, 230, 64, 0.34);
  mix-blend-mode: screen;
}

.hero-art .sweep {
  position: absolute;
  width: 88vw;
  height: 10rem;
  left: -18vw;
  bottom: 14%;
  border-radius: 50%;
  border: 2.8rem solid rgba(255, 255, 255, 0.48);
  transform: rotate(-15deg);
}

.hero-art .slash {
  position: absolute;
  top: -10%;
  bottom: -12%;
  width: 1.2rem;
  background: rgba(255, 255, 255, 0.76);
  transform: rotate(-13deg);
  transform-origin: top;
}

.hero-art .slash-one {
  right: 20%;
}

.hero-art .slash-two {
  right: 7%;
  width: 0.45rem;
  opacity: 0.75;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(0.5rem, 1vw, 1rem);
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section,
.content-section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.page-hero + .content-section,
.page-hero + .section {
  padding-block-start: clamp(1.5rem, 3vw, 2.5rem);
}

.section-muted {
  background: linear-gradient(180deg, rgba(239, 231, 200, 0.54), rgba(251, 248, 234, 0));
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark a {
  color: var(--paper);
}

.section-header {
  display: grid;
  gap: 0.8rem;
  max-width: 780px;
  margin-bottom: 2rem;
}

.kicker {
  color: var(--moss-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.grid,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.grid.two,
.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card .hero-title-script,
.section-header .hero-title-script,
.callout-card .hero-title-script {
  display: inline;
  color: var(--ink);
  font-size: inherit;
  font-style: italic;
  font-weight: 400;
  letter-spacing: inherit;
  line-height: inherit;
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.card h3,
.card h4 {
  margin-bottom: 0.75rem;
}

.card p + .button,
.card p + p {
  margin-top: 1rem;
}

.card > p:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

.callout-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 230, 64, 0.32), transparent 18rem),
    var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.prose {
  font-size: clamp(1.12rem, 0.45vw + 1rem, 1.24rem);
  line-height: 1.76;
}

.prose > * + *,
.flow > * + * {
  margin-top: 1.35rem;
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2.8rem;
}

.prose h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  letter-spacing: -0.015em;
}

.prose h4 {
  font-size: 1.16rem;
  letter-spacing: 0;
}

.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child {
  margin-top: 0;
}

.prose p,
.prose li,
.prose dd {
  color: rgba(17, 17, 8, 0.88);
}

.prose ul,
.prose ol {
  padding-left: 1.55rem;
}

.prose li + li {
  margin-top: 0.7rem;
}

.prose strong {
  color: var(--ink);
}

.prose blockquote {
  border-left: 0.35rem solid var(--lime);
  padding: 1rem 0 1rem 1.3rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
}

.prose hr,
.separator {
  height: 1px;
  border: 0;
  margin: clamp(2rem, 5vw, 4rem) 0;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 8, 0.22), transparent);
}

.privacy-changelog {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.privacy-changelog td {
  padding: 0.55rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 17, 8, 0.1);
}

.privacy-changelog td:first-child {
  white-space: nowrap;
  color: var(--moss-dark);
  font-weight: 500;
  padding-left: 0;
}

.privacy-last-updated {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(17, 17, 8, 0.55);
}

.prose figure {
  margin: clamp(1.5rem, 4vw, 3rem) 0;
}

.prose figure img,
.prose > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.prose figcaption {
  margin-top: 0.7rem;
  color: rgba(17, 17, 8, 0.62);
  font-size: 1rem;
  text-align: center;
}

.lead {
  color: var(--ink) !important;
  font-size: clamp(1.26rem, 0.9vw + 1.05rem, 1.55rem);
  line-height: 1.55;
}

.intro-card,
.key-points,
.content-card,
.next-step,
.medical-note {
  border: 1px solid rgba(17, 17, 8, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.intro-card,
.content-card,
.next-step,
.medical-note {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.key-points {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 230, 64, 0.32), transparent 14rem),
    rgba(255, 255, 255, 0.9);
}

.key-points h2,
.key-points h3,
.content-card h2,
.content-card h3,
.next-step h2,
.next-step h3,
.medical-note h2,
.medical-note h3 {
  margin-top: 0;
}

.key-points ul,
.content-card ul,
.medical-note ul {
  margin-top: 0.85rem;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.reading-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-card,
.definition-card {
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid rgba(17, 17, 8, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.list-card h3,
.definition-card h3,
.list-card h4,
.definition-card h4 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.symptom-groups {
  display: grid;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(17, 17, 8, 0.16);
}

.symptom-group {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.1rem, 4vw, 2.4rem);
  padding: clamp(1.4rem, 4vw, 2.2rem) 0;
  border-bottom: 1px solid rgba(17, 17, 8, 0.16);
}

.symptom-group h3 {
  margin: 0;
}

.symptom-group-intro p {
  margin-top: 0.55rem;
  color: rgba(17, 17, 8, 0.72);
  line-height: 1.6;
}

.symptom-list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.symptom-list li {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
}

.symptom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--moss);
}

.next-step {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.next-step::after {
  content: "";
  position: absolute;
  left: -4rem;
  bottom: -5rem;
  width: min(24rem, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 230, 64, 0.68) 0%, rgba(212, 230, 64, 0.38) 38%, rgba(212, 230, 64, 0) 70%);
  pointer-events: none;
}

.next-step > * {
  position: relative;
  z-index: 1;
}

.next-step h2,
.next-step h3,
.next-step p,
.next-step a {
  color: var(--ink) !important;
}

.next-step .button-light {
  background: var(--ink);
  color: var(--white) !important;
}

.medical-note {
  border-left: 0.45rem solid var(--lime);
  background: rgba(238, 244, 167, 0.38);
  box-shadow: none;
}

.text-center {
  text-align: center;
}

.bg-dark {
  background: var(--ink) !important;
}

.text-light {
  color: var(--paper) !important;
}

.text-accent {
  color: var(--teal) !important;
}

.alignwide {
  width: min(100%, 1040px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100%;
  margin-left: 0;
  transform: none;
}

.centered-image {
  width: min(100%, 860px);
  margin-inline: auto;
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}

.media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.media-text h2,
.media-text h3,
.media-text p,
.media-text a {
  color: inherit;
}

.media-text__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  padding: 0;
}

.gallery.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery .image-block {
  margin: 0;
}

.gallery .image-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.content-column {
  min-width: 0;
}

.content-column:not(:has(figure)) {
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(17, 17, 8, 0.08);
}

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

.is-content-justification-center {
  justify-content: center;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spacer,
style[id^="core-block"] {
  display: none !important;
}

.schedule {
  display: grid;
  gap: 1.2rem;
}

.schedule-day {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 8, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.schedule-day > h3 {
  padding: 1.15rem 1.25rem;
  background: var(--ink);
  color: var(--white);
}

.schedule-list {
  display: grid;
}

.schedule-item {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(17, 17, 8, 0.1);
}

.schedule-time {
  color: var(--moss-dark);
  font: 500 0.98rem/1.25 var(--font-heading);
  letter-spacing: 0;
}

.schedule-title {
  color: var(--ink);
  font-weight: 500;
}

.schedule-meta {
  margin-top: 0.18rem;
  color: rgba(17, 17, 8, 0.68);
  font-size: 0.96rem;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.speaker-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 8, 0.1);
}

.speaker-card strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}

.speaker-card span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(17, 17, 8, 0.66);
  font-size: 0.94rem;
  line-height: 1.35;
}

.programme-cover {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--ink);
}

.palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.swatch {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 17, 8, 0.12);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.swatch-chip {
  min-height: 105px;
}

.swatch-body {
  padding: 0.8rem;
  font-size: 0.95rem;
}

.swatch-body strong {
  display: block;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  flex: 1 1 260px;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 8, 0.1);
  background: var(--white);
}

.logo-tile.dark {
  background: var(--ink);
}

.logo-tile img {
  max-width: 260px;
}

.notice {
  border-left: 0.35rem solid var(--lime);
  border-radius: var(--radius-sm);
  background: rgba(212, 230, 64, 0.18);
  padding: 1rem 1.15rem;
}

.details-card {
  border: 1px solid rgba(17, 17, 8, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.details-card summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
}

.details-card[open] summary {
  border-bottom: 1px solid rgba(17, 17, 8, 0.1);
}

.details-card .details-body {
  padding: 1.25rem;
}

/* Facebook community cards */
.fb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.fb-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(17, 17, 8, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.fb-card-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1877F2;
}

.fb-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #fff;
}

.fb-card-body {
  min-width: 0;
}

.fb-card-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

.fb-card-body p {
  margin: 0 0 0.85rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(17, 17, 8, 0.7);
}

/* Hero group photo variant */
.hero-photo {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Team grid — 3 per row */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-block: 1.5rem;
}

.team-member {
  min-width: 0;
  text-align: center;
}

.team-member figure {
  margin: 0 0 0.6rem;
}

.team-member figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  display: block;
}

.team-member p {
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Treatment sections — flowing layout */
.treatment-section {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(17, 17, 8, 0.12);
}

.treatment-section:first-of-type {
  padding-top: 0;
}

.treatment-section:last-of-type {
  border-bottom: none;
}

.treatment-section h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.treatment-intro {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(17, 17, 8, 0.78);
  margin-bottom: 1.2rem;
  max-width: 680px;
}

.treatment-drugs {
  display: grid;
  gap: 0.75rem;
}

.treatment-drug {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(17, 17, 8, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
}

.treatment-drug-name {
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.treatment-drug-name em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(17, 17, 8, 0.62);
  margin-top: 0.12rem;
}

.treatment-drug-desc {
  color: rgba(17, 17, 8, 0.8);
  font-size: 0.97rem;
  line-height: 1.55;
}

/* Speaker cards for 2022 conference */
.talk-list {
  display: grid;
  gap: 0;
}

.talk-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: clamp(1rem, 3vw, 1.5rem) 0;
  border-bottom: 1px solid rgba(17, 17, 8, 0.12);
}

.talk-item:last-child {
  border-bottom: none;
}

.talk-speaker {
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.talk-speaker em {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 0.93rem;
  color: rgba(17, 17, 8, 0.65);
  margin-top: 0.1rem;
}

.talk-title {
  margin-top: 0.35rem;
  font-size: 0.96rem;
  color: rgba(17, 17, 8, 0.75);
  font-style: italic;
}

.talk-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(17, 17, 8, 0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.8);
}

.talk-link:hover,
.talk-link:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.talk-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: #FF0000;
}

#talks .container {
  max-width: 860px;
}

.site-footer {
  padding-top: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(135deg, rgba(212, 230, 64, 0.2) 0%, rgba(102, 114, 36, 0.18) 28%, rgba(62, 69, 24, 0.22) 52%, rgba(17, 17, 8, 0) 78%),
    linear-gradient(180deg, #20240d 0%, #141407 48%, #0b0b05 100%);
  color: rgba(251, 248, 234, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(150px, 0.65fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand img {
  width: 190px;
  filter: brightness(0) invert(1);
}

.footer-brand .brand-text {
  margin-bottom: 0.2rem;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 1rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.6rem !important;
}

.footer-nav h2,
.footer-nav h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.footer-accordion-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: default;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-accordion-chevron {
  display: none;
}

.footer-nav ul {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 0.35rem;
}

.footer-nav a,
.site-footer a {
  color: rgba(251, 248, 234, 0.86);
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  grid-column: 1;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(251, 248, 234, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  white-space: nowrap;
}

.footer-social a:hover {
  color: var(--lime);
}

.footer-social-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: #1877F2;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(251, 248, 234, 0.14);
  font-size: 0.92rem;
}

@media (min-width: 1041px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }

  .hero h1 {
    font-size: clamp(1.55rem, 2.4vw, 2.6rem);
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 86px 1rem auto 1rem;
    display: grid;
    justify-content: stretch;
    gap: 0.25rem;
    padding: 0.8rem;
    border-radius: var(--radius);
    background: rgba(251, 248, 234, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: center;
    font-size: clamp(1.65rem, 5.5vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    min-height: 3rem;
    padding-block: 0.55rem;
  }

  .hero .container,
  .split {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two,
  .cards,
  .cards.two,
  .reading-grid.two,
  .footer-grid,
  .media-text,
  .symptom-group {
    grid-template-columns: 1fr;
  }

  .treatment-drug {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .talk-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .brand img {
    width: 142px;
  }

  .brand-text-main {
    font-size: 1.8rem;
  }

  .brand-text-script {
    font-size: 2.2rem;
  }

  .nav-shell {
    min-height: 92px;
  }

  .site-nav {
    inset: 92px 1rem auto 1rem;
  }

  .footer-nav {
    border-top: 1px solid rgba(251, 248, 234, 0.15);
    padding-top: 0.2rem;
  }

  .footer-nav li {
    margin-top: 0;
  }

  .footer-nav li + li {
    margin-top: 0.6rem;
  }

  .footer-nav h2,
  .footer-nav h3 {
    font-size: 1.35rem;
  }

  .footer-nav ul {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.25s ease;
  }

  .footer-nav.is-open ul {
    max-height: 500px;
    margin-top: 0.8rem;
  }

  .footer-accordion-toggle {
    cursor: pointer;
    padding-block: 0.6rem;
  }

  .footer-accordion-chevron {
    display: block;
    width: 0.55em;
    height: 0.55em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-right: 0.2rem;
  }

  .footer-nav.is-open .footer-accordion-chevron {
    transform: rotate(-135deg);
  }

  .footer-social {
    gap: 1rem;
    padding-block: 1.2rem;
  }

  .footer-social a {
    font-size: 1.1rem;
    gap: 0.55rem;
  }

  .footer-social-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .footer-nav a {
    display: inline-block;
    min-height: 44px;
    padding-block: 0.55rem;
    font-size: 1.15rem;
  }

  .button {
    width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    padding-block: 4rem;
  }

  .hero-art .slash-one {
    right: 14%;
  }

  .hero-art .slash-two {
    display: none;
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .alignwide {
    width: 100%;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .button-row,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero,
  .page-hero {
    background: white;
    color: black;
  }

  .hero h1,
  .hero p,
  .page-hero h1,
  .page-hero p {
    color: black;
  }
}
