/*
Theme Name: Earth Timekeepers 2026
Theme URI: https://earthtimekeepers.org/
Author: Earth Timekeepers
Description: Tema oficial de Earth Timekeepers con convertidores Maya, Otomí y Mexica.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: earth-timekeepers
*/

:root {
  --ink: #181512;
  --muted: #6c6257;
  --paper: #f5efe2;
  --paper-warm: #ecdfca;
  --white: #fffaf0;
  --rust: #9f3e2b;
  --rust-deep: #6f271f;
  --red-brown: #57221e;
  --sun: #e6aa35;
  --sand: #d5ad72;
  --blue: #23576b;
  --blue-deep: #103647;
  --line: rgba(24, 21, 18, 0.16);
  --radius: 34px;
  --shell: min(1240px, calc(100% - 48px));
  --display: "Marcellus", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--rust-deep);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--rust);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
}

.section-shell {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
}

.paper-section {
  position: relative;
  z-index: 2;
  background: var(--paper);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-rust {
  color: var(--rust);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-light {
  color: var(--rust-deep);
  background: var(--white);
}

.button-rust {
  color: var(--white);
  background: var(--rust);
}

.button-sun {
  color: var(--ink);
  background: var(--sun);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link-light {
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 3.5vw;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  transition: min-height 200ms ease, color 200ms ease, background 200ms ease, border 200ms ease;
}

.site-header.scrolled {
  min-height: 72px;
  color: var(--ink);
  background: rgba(245, 239, 226, 0.92);
  border-color: rgba(24, 21, 18, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 42px);
}

.site-nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 10px 17px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 999px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switcher button {
  padding: 2px;
  border: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
}

.language-switcher button[aria-pressed="true"] {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.legacy-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(24px, 4vw);
  color: var(--ink);
  background: rgba(245, 239, 226, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.legacy-site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.legacy-site-header nav > a {
  color: var(--rust-deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.legacy-main {
  min-height: 70vh;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-content: center;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(55, 18, 16, 0.98) 0%, rgba(111, 39, 31, 0.96) 47%, rgba(111, 39, 31, 0.18) 78%),
    var(--rust-deep);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  z-index: 3;
  height: clamp(32px, 5vw, 72px);
  background: var(--paper);
  border-radius: 52% 52% 0 0 / 100% 100% 0 0;
  content: "";
  transform: translateY(55%);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 44%;
  z-index: 0;
  overflow: hidden;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 12, 9, 0.48), transparent 22%), linear-gradient(90deg, var(--rust-deep), rgba(111, 39, 31, 0.1) 46%), linear-gradient(0deg, rgba(26, 10, 9, 0.35), transparent 60%);
  content: "";
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
  filter: saturate(0.75) sepia(0.1) contrast(1.05);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(720px, 55vw);
  margin-left: max(5vw, calc((100vw - 1240px) / 2));
  padding-top: 70px;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(4.2rem, 8.6vw, 8.7rem);
}

.hero h1 em,
.damixi-copy h2 em {
  color: var(--sun);
  font-style: normal;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 40px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-foot {
  position: absolute;
  right: 5vw;
  bottom: 5.5vw;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(22px, 3vw, 54px);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.32);
}

.hero-foot div {
  display: grid;
  gap: 2px;
}

.hero-foot strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
}

.hero-foot span {
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-rings {
  position: absolute;
  top: 28%;
  left: -13vw;
  z-index: 1;
  width: 42vw;
  aspect-ratio: 1;
}

.hero-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 170, 53, 0.18);
  border-radius: 50%;
}

.hero-rings span:nth-child(2) {
  inset: 15%;
}

.hero-rings span:nth-child(3) {
  inset: 30%;
}

/* Story */
.story-section {
  padding: 150px 0 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.75fr);
  column-gap: 8vw;
  align-items: end;
  margin-bottom: 80px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 470px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.04rem;
}

.story-image {
  position: relative;
  height: clamp(600px, 58vw, 720px);
  overflow: hidden;
  border-radius: var(--radius);
}

.story-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 13, 10, 0.94) 0%, rgba(24, 17, 13, 0.72) 35%, rgba(24, 17, 13, 0.16) 64%, transparent 80%);
  content: "";
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.story-pillars {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 34%;
  gap: 0;
  color: var(--white);
  border-top: 1px solid rgba(255, 250, 240, 0.24);
}

.story-pillars article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 34px 34px;
}

.story-pillars article + article {
  border-left: 1px solid rgba(255, 250, 240, 0.2);
}

.story-pillars span {
  display: block;
  margin-bottom: 12px;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 700;
}

.story-pillars h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

.story-pillars p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.quote-band {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: 8vw;
  align-items: end;
  margin-top: 110px;
}

.quote-band blockquote {
  margin-bottom: 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(3rem, 6.3vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.quote-band p {
  margin-bottom: 12px;
  color: var(--muted);
}

/* Who we are */
.who-section {
  padding: 20px 0 170px;
}

.who-intro {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 8vw;
  align-items: start;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.who-intro .eyebrow {
  margin-top: 18px;
}

.who-intro h2 {
  margin-bottom: 30px;
}

.who-intro h2 + p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.who-intro h2 + p em {
  color: var(--rust);
  font-style: normal;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 90px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.person-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  min-height: 540px;
  background: #f8f2e7;
  transition: background 220ms ease;
}

.person-card:nth-child(4n + 2),
.person-card:nth-child(4n + 3) {
  background: var(--paper-warm);
}

.person-card:hover {
  background: #fff8ec;
}

.person-portrait {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  margin: 0;
  background: #b79975;
}

.person-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(35, 20, 14, 0.16));
  content: "";
  pointer-events: none;
}

.person-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.person-body {
  padding: 34px 36px 40px;
}

.person-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 46px;
  padding-bottom: 16px;
  color: var(--rust);
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.person-meta p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.person-card h3 {
  margin-bottom: 20px;
  color: var(--rust-deep);
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.person-role {
  margin-bottom: 24px;
  color: var(--rust);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person-body > p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
}

.person-card.person-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  min-height: 560px;
  color: var(--white);
  background: var(--blue-deep);
}

.who-founders-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: 64px;
  padding: 42px 46px;
  color: #fff;
  background: var(--rust-deep);
  border-radius: 24px;
}

.who-founders-note p {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.3;
}

.who-founders-note .text-link {
  color: #fff;
  font-family: var(--display);
  white-space: nowrap;
}

.person-card.person-card-featured:hover {
  background: #0c2f3e;
}

.person-card-featured .person-meta {
  margin-bottom: 64px;
  color: var(--sun);
  border-color: rgba(255, 250, 240, 0.18);
}

.person-card-featured .person-meta p,
.person-card-featured .person-body > p:last-child {
  color: rgba(255, 250, 240, 0.7);
}

.person-card-featured h3 {
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5.1rem);
}

.person-card-featured .person-role {
  color: var(--sun);
}

.person-card-featured .person-body {
  padding: 46px 56px 52px;
}

/* History */
.history-section {
  position: relative;
  z-index: 1;
  margin-top: -36px;
  padding: 160px 0 180px;
  color: var(--white);
  background: var(--rust);
  border-radius: 42px 42px 0 0;
}

.history-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 9vw;
}

.history-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.history-intro h2 {
  margin-bottom: 34px;
  font-size: clamp(3.2rem, 5.6vw, 5.4rem);
}

.history-intro > p:last-child {
  max-width: 430px;
  color: rgba(255, 250, 240, 0.7);
}

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

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  min-height: 210px;
  padding-bottom: 56px;
}

.timeline li::before {
  position: absolute;
  top: 7px;
  bottom: 0;
  left: 145px;
  width: 1px;
  background: rgba(255, 250, 240, 0.25);
  content: "";
}

.timeline li::after {
  position: absolute;
  top: 4px;
  left: 140px;
  width: 11px;
  height: 11px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(230, 170, 53, 0.14);
  content: "";
}

.timeline li:last-child::before {
  display: none;
}

.timeline time {
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline div {
  padding-left: 25px;
}

.timeline h3 {
  margin-bottom: 16px;
  font-size: 2.3rem;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.7);
}

/* Study */
.study-section {
  overflow: hidden;
  padding: 150px 0 160px;
  border-radius: 42px 42px 0 0;
}

.study-orbit {
  position: absolute;
  top: -24vw;
  right: -20vw;
  width: 60vw;
  aspect-ratio: 1;
  border: 1px solid rgba(159, 62, 43, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8vw var(--paper), inset 0 0 0 calc(8vw + 1px) rgba(159, 62, 43, 0.1), inset 0 0 0 16vw var(--paper);
}

.study-converter-prompt {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(360px, 1.35fr) auto;
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  margin-bottom: 125px;
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
  background: #ead39c;
  border: 1px solid rgba(111, 39, 31, 0.16);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(83, 48, 26, 0.09);
}

.study-converter-prompt::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 50%, rgba(159, 62, 43, 0.12), transparent 28%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.converter-prompt-mark {
  position: relative;
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  background: rgba(245, 239, 226, 0.72);
  border-radius: 18px;
}

.converter-prompt-mark span {
  display: grid;
  width: 39px;
  height: 50px;
  place-items: center;
  color: var(--rust-deep);
  font-family: var(--display);
  font-size: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(111, 39, 31, 0.16);
  border-radius: 9px;
  box-shadow: 0 6px 0 rgba(111, 39, 31, 0.08);
}

.converter-prompt-mark i {
  width: 3px;
  height: 3px;
  background: var(--rust);
  border-radius: 50%;
}

.converter-prompt-copy {
  position: relative;
}

.converter-prompt-copy .eyebrow {
  margin-bottom: 12px;
}

.converter-prompt-copy h3 {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.converter-prompt-copy > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: #655848;
  font-size: 0.9rem;
}

.study-converter-prompt > .button {
  position: relative;
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
}

.study-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: end;
}

.study-hero .section-heading {
  display: block;
  margin-bottom: 0;
}

.study-hero h2 {
  margin-bottom: 0;
}

.study-lede {
  padding-bottom: 12px;
}

.study-lede p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.study-circle-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 70px 0 0;
  background: #a96f46;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(82, 45, 29, 0.16);
}

.study-circle-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(39, 22, 15, 0.18));
  content: "";
  pointer-events: none;
}

.study-circle-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.learning-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 130px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.learning-path > div {
  display: grid;
  min-height: 175px;
  align-content: space-between;
  padding: 24px 26px;
}

.learning-path > div + div {
  border-left: 1px solid var(--line);
}

.learning-path span {
  color: var(--rust);
  font-size: 0.7rem;
  font-weight: 700;
}

.learning-path strong {
  align-self: end;
  margin-top: auto;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
}

.learning-path small {
  color: var(--muted);
}

.resources-head,
.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.resources-head h3 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.resources-head > p,
.news-heading > p {
  max-width: 370px;
  margin-bottom: 10px;
  color: var(--muted);
}

.resources-head .eyebrow {
  margin-bottom: 16px;
}

.resource-list {
  border-top: 1px solid var(--line);
}

.resource-card {
  display: grid;
  grid-template-columns: 64px 1fr 130px;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 25px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 180ms ease, color 180ms ease, background 180ms ease;
}

.resource-card:hover {
  padding-right: 28px;
  padding-left: 28px;
  color: var(--white);
  background: var(--rust);
}

.resource-number {
  align-self: start;
  padding-top: 8px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 700;
}

.resource-card:hover .resource-number,
.resource-card:hover .resource-card p {
  color: rgba(255, 250, 240, 0.75);
}

.resource-card h4 {
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.25;
}

.resource-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.resource-card:hover p {
  color: rgba(255, 250, 240, 0.7);
}

.resource-type {
  justify-self: end;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.resource-type b {
  margin-left: 14px;
  font-size: 1rem;
}

/* Healers */
.healers-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 145px 0;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 42px 42px 0 0;
}

.healers-section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 50px;
  background: #171411;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  content: "";
  transform: translateY(55%);
}

.healers-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 10vw;
  align-items: center;
}

.healers-mark {
  width: min(460px, 100%);
  margin: 0;
  overflow: hidden;
  background: #f7e4c7;
  border: 1px solid rgba(230, 170, 53, 0.42);
  border-radius: 26px;
  box-shadow: 0 34px 80px rgba(3, 16, 24, 0.34);
}

.healers-mark img {
  width: 100%;
  height: auto;
}

.healers-section h2 {
  margin-bottom: 32px;
}

.healers-copy {
  max-width: 650px;
  margin-bottom: 36px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 1.06rem;
}

.healers-sky i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(230, 170, 53, 0.8);
}

.healers-sky i:nth-child(1) { top: 16%; left: 8%; }
.healers-sky i:nth-child(2) { top: 30%; left: 44%; }
.healers-sky i:nth-child(3) { top: 12%; right: 13%; }
.healers-sky i:nth-child(4) { bottom: 18%; left: 48%; }
.healers-sky i:nth-child(5) { right: 6%; bottom: 28%; }
.healers-sky i:nth-child(6) { bottom: 12%; left: 16%; }

/* Watch */
.watch-section {
  position: relative;
  z-index: 1;
  padding: 160px 0 180px;
  color: var(--white);
  background: #171411;
}

.watch-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 72px;
}

.watch-heading h2 {
  margin-bottom: 0;
}

.watch-heading > p {
  margin-bottom: 12px;
  color: rgba(255, 250, 240, 0.55);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 24px;
}

.video-card {
  display: grid;
  padding: 0;
  color: var(--white);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.video-feature {
  grid-column: 1 / -1;
}

.video-feature .video-card {
  width: 100%;
}

.video-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #27221d;
  border-radius: 24px;
}

.video-feature .video-image {
  aspect-ratio: 2.1 / 1;
}

.video-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24, 21, 18, 0.42), transparent 55%);
  content: "";
}

.video-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.05);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.video-card:hover img {
  filter: saturate(1);
  transform: scale(1.035);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  padding-left: 4px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 200ms ease;
}

.video-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-meta {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.video-meta small {
  color: var(--sun);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-meta strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.2;
}

.video-feature .video-meta strong {
  max-width: 850px;
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
}

.transcript-trigger {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 11px 16px;
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.transcript-trigger span:first-child {
  font-weight: 700;
}

.transcript-trigger small {
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.72rem;
}

.transcript-trigger:hover,
.transcript-trigger:focus-visible {
  color: var(--ink);
  background: var(--sun);
  border-color: var(--sun);
}

.transcript-trigger:hover small,
.transcript-trigger:focus-visible small {
  color: rgba(24, 21, 18, 0.68);
}

.watch-more {
  margin-top: 70px;
  text-align: right;
}

/* Damixi */
.damixi-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 160px 0 110px;
  color: var(--white);
  background: var(--rust-deep);
  border-radius: 42px 42px 0 0;
}

.damixi-glow {
  position: absolute;
  top: -16vw;
  right: -8vw;
  width: 56vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230, 170, 53, 0.3), transparent 67%);
}

.damixi-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  gap: 10vw;
  align-items: center;
}

.damixi-copy h2 {
  margin-bottom: 34px;
}

.damixi-lede {
  max-width: 630px;
  margin-bottom: 44px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 1.14rem;
}

.damixi-features {
  margin-bottom: 44px;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
}

.damixi-features > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.2);
}

.damixi-features span {
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 700;
}

.damixi-features p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.7);
}

.damixi-features strong {
  color: var(--white);
}

.converter-card {
  position: relative;
  padding: 12px 12px 20px;
  color: var(--ink);
  background: #d8cbbb;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(32, 7, 5, 0.34);
  transform: rotate(2deg);
}

.converter-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}

.converter-bar i {
  width: 8px;
  height: 8px;
  background: var(--rust);
  border-radius: 50%;
}

.converter-bar i:nth-child(2) { background: var(--sun); }
.converter-bar i:nth-child(3) { background: var(--blue); }

.converter-bar span {
  margin-left: auto;
  color: #6a5e52;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.converter-screen {
  height: min(580px, 58vw);
  overflow: hidden;
  background: #c5c653;
  border-radius: 15px;
}

.converter-screen img {
  width: 100%;
  height: auto;
}

.converter-card > p {
  margin: 16px 6px 0;
  color: #554a40;
  font-size: 0.72rem;
  text-align: center;
}

.damixi-note {
  margin-top: 110px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
}

.damixi-note p {
  max-width: 940px;
  margin: 0;
  color: var(--sand);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.3;
}

/* News */
.news-section {
  z-index: 3;
  padding: 150px 0 160px;
  color: #fff;
  background: var(--rust-deep);
  font-family: var(--display);
  border-radius: 42px 42px 0 0;
}

.news-section * {
  font-family: var(--display);
}

.news-section .eyebrow,
.news-heading > p {
  color: #fff;
}

.news-heading h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  line-height: 1.02;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}

.news-card {
  display: grid;
  overflow: hidden;
  color: #fff;
  background: var(--red-brown);
  border-radius: 28px;
}

.news-card-feature {
  grid-template-rows: minmax(340px, 1fr) auto;
}

.news-image {
  display: block;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.news-image:hover img {
  transform: scale(1.025);
}

.news-copy {
  padding: 34px;
}

.news-card-feature .news-copy {
  background: #873b2f;
}

.news-meta {
  display: flex;
  gap: 18px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-meta span::before {
  margin-right: 18px;
  content: "·";
}

.news-copy h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
  line-height: 1.12;
}

.news-copy > p:not(.news-meta) {
  color: #fff;
  font-size: 1rem;
  line-height: 1.65;
}

.news-copy .text-link {
  color: #fff;
  font-size: 0.82rem;
}

.news-card-book {
  grid-template-rows: minmax(340px, 1fr) auto;
  background: #e1b751;
}

.book-art {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  place-items: center;
  background: var(--blue);
}

.book-art > i {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(230, 170, 53, 0.32);
  border-radius: 50%;
}

.book-art > i:nth-of-type(2) { width: 310px; height: 310px; }
.book-art > i:nth-of-type(3) { width: 540px; height: 540px; }

.book-cover {
  position: relative;
  z-index: 1;
  width: min(300px, 58%);
  overflow: hidden;
  background: var(--paper);
  border-radius: 3px 9px 9px 3px;
  box-shadow: -10px 12px 0 #c78d2f, 0 30px 50px rgba(0, 0, 0, 0.28);
  transform: rotate(-6deg);
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.news-card-book .news-copy {
  background: var(--blue-deep);
}

/* Contact + footer */
.contact-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 150px 0;
  color: var(--white);
  text-align: center;
  background: var(--blue-deep);
}

.contact-inner {
  display: grid;
  place-items: center;
}

.contact-inner > img {
  margin-bottom: 34px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.contact-inner h2 {
  margin-bottom: 28px;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 36px;
  color: rgba(255, 250, 240, 0.68);
}

.contact-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(75vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 170, 53, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(230, 170, 53, 0.025), 0 0 0 200px rgba(230, 170, 53, 0.025);
  transform: translate(-50%, -50%);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 46px 4vw;
  color: rgba(255, 250, 240, 0.7);
  background: #0c2936;
  border-top: 1px solid rgba(255, 250, 240, 0.1);
}

.footer-brand {
  color: var(--white);
}

.site-footer > p,
.site-footer > small {
  margin: 0;
  font-size: 0.72rem;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.site-footer > div a {
  font-size: 0.72rem;
  text-decoration: none;
}

.site-footer > div a:hover {
  color: var(--white);
}

/* Video dialog */
.video-dialog {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  color: var(--white);
  background: #171411;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.video-dialog::backdrop {
  background: rgba(9, 7, 6, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-bar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px 12px 24px;
}

.dialog-bar h2 {
  overflow: hidden;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog-bar button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  place-items: center;
  color: var(--white);
  font-size: 1.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.dialog-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.dialog-frame iframe,
.dialog-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.dialog-frame video {
  display: block;
  object-fit: contain;
  background: #000;
}

/* Bilingual video transcript */
.transcript-dialog {
  width: min(1180px, calc(100% - 28px));
  max-width: none;
  height: min(860px, calc(100dvh - 28px));
  max-height: none;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.transcript-dialog[open] {
  display: grid;
  grid-template-rows: auto 1fr;
}

.transcript-dialog::backdrop {
  background: rgba(9, 7, 6, 0.84);
  backdrop-filter: blur(8px);
}

.transcript-dialog-bar {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 14px 28px;
  color: var(--white);
  background: var(--rust-deep);
}

.transcript-dialog-bar p {
  margin: 0 0 3px;
  color: var(--sun);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transcript-dialog-bar h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 650;
  letter-spacing: 0;
}

.transcript-dialog-bar button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0 0 4px;
  place-items: center;
  color: var(--white);
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.transcript-dialog-body {
  overflow-y: auto;
  padding: 28px clamp(20px, 4vw, 48px) 50px;
}

.transcript-note {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 0.82rem;
}

.transcript-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 76px);
}

.transcript-language-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.transcript-language-heading span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--blue);
  border-radius: 50%;
}

.transcript-language-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 400;
}

.transcript-block {
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}

.transcript-block > p:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 7px;
}

.transcript-block time {
  color: var(--rust);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.transcript-block strong {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transcript-block > p:last-child {
  margin: 0;
  color: #4f473e;
  font-size: 0.94rem;
  line-height: 1.72;
}

/* Embedded Damixi converter */
.converter-dialog {
  width: min(1380px, calc(100% - 28px));
  max-width: none;
  height: min(900px, calc(100dvh - 28px));
  max-height: none;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.converter-dialog[open] {
  display: grid;
  grid-template-rows: auto 1fr;
}

.converter-dialog::backdrop {
  background: rgba(18, 12, 9, 0.82);
  backdrop-filter: blur(8px);
}

.converter-dialog-bar {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 19px;
  color: var(--white);
  background: var(--rust-deep);
}

.converter-dialog-bar p {
  margin: 0 0 2px;
  color: var(--sun);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.converter-dialog-bar h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.86rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0;
}

.converter-dialog-bar button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0 0 4px;
  place-items: center;
  color: var(--white);
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.converter-dialog-body {
  display: grid;
  min-height: 0;
  grid-template-rows: 1fr auto;
  padding: 8px;
  background: #d8c7a4;
}

.converter-embed {
  min-height: 0;
  overflow: auto;
  background: #e8d9b5;
  border-radius: 12px;
  overscroll-behavior: contain;
}

.converter-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  background: #e8d9b5;
  border: 0;
}

.parallel-converter-dialog {
  width: min(1480px, calc(100% - 20px));
  height: min(940px, calc(100dvh - 20px));
}

.converter-fallback {
  margin: 0;
  padding: 10px 8px 0;
  color: #5f5449;
  font-size: 0.68rem;
  text-align: center;
}

.converter-fallback a {
  color: var(--rust-deep);
  font-weight: 700;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .site-header {
    min-height: 74px;
    padding-inline: 20px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 90px 24px 40px;
    color: var(--white);
    background: var(--rust-deep);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: clamp(2.2rem, 9vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
  }

  .site-nav .nav-contact {
    justify-self: start;
    margin-top: 16px;
    padding: 12px 22px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .site-nav .language-switcher {
    justify-self: start;
    margin-top: 10px;
    padding: 10px 14px;
    font-family: var(--sans);
    font-size: 0.82rem;
  }

  .site-header.scrolled .menu-toggle[aria-expanded="true"] {
    color: var(--white);
  }

  .hero {
    min-height: 900px;
    align-content: end;
    padding-bottom: 215px;
    background: linear-gradient(0deg, var(--rust-deep) 24%, rgba(111, 39, 31, 0.25) 78%);
  }

  .hero-image {
    inset: 0 0 35%;
  }

  .hero-image::after {
    background: linear-gradient(180deg, rgba(35, 12, 9, 0.56), transparent 24%), linear-gradient(0deg, var(--rust-deep), transparent 65%);
  }

  .hero-content {
    width: var(--shell);
    margin-inline: auto;
    padding-top: 0;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(4rem, 13vw, 7rem);
  }

  .hero-foot {
    right: auto;
    bottom: 65px;
    left: 50%;
    width: var(--shell);
    transform: translateX(-50%);
  }

  .hero-foot.reveal.is-visible {
    transform: translateX(-50%);
  }

  .section-heading,
  .quote-band,
  .who-intro,
  .history-layout,
  .study-hero,
  .healers-layout,
  .watch-heading,
  .damixi-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 32px;
  }

  .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: -8px;
  }

  .quote-band {
    gap: 38px;
  }

  .who-intro {
    gap: 38px;
  }

  .who-intro .eyebrow {
    margin-top: 0;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .person-card,
  .person-card.person-card-featured {
    grid-template-columns: minmax(250px, 0.64fr) minmax(0, 1.36fr);
  }

  .history-layout {
    gap: 80px;
  }

  .history-intro {
    position: static;
  }

  .study-hero,
  .healers-layout,
  .damixi-layout {
    gap: 70px;
  }

  .study-converter-prompt {
    grid-template-columns: 1fr 1.4fr;
    margin-bottom: 95px;
  }

  .study-converter-prompt > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .learning-path > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .learning-path > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .healers-mark {
    width: min(520px, 90%);
    margin: 20px auto;
  }

  .converter-card {
    width: min(520px, 90%);
    margin-inline: auto;
  }

  .converter-screen {
    height: 640px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .transcript-columns {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .legacy-site-header {
    padding-inline: 18px;
  }

  .legacy-site-header nav {
    gap: 12px;
  }

  .legacy-site-header .brand span {
    display: none;
  }

  :root {
    --shell: calc(100% - 28px);
    --radius: 22px;
  }

  body {
    font-size: 15px;
  }

  h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 780px;
    padding-bottom: 200px;
  }

  .hero-image {
    bottom: 48%;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(3.65rem, 17vw, 5.5rem);
  }

  .hero-intro {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  .button-row {
    gap: 20px;
  }

  .hero-foot {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-foot strong {
    overflow-wrap: anywhere;
    font-size: 0.8rem;
  }

  .hero-foot span {
    font-size: 0.55rem;
    line-height: 1.25;
  }

  .hero-foot div {
    min-width: 0;
  }

  .story-section,
  .who-section,
  .study-section,
  .watch-section,
  .damixi-section,
  .news-section,
  .contact-section {
    padding-top: 100px;
    padding-bottom: 105px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .story-image {
    height: 800px;
  }

  .story-image img {
    object-position: 50% 45%;
  }

  .story-pillars {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-pillars article,
  .story-pillars article + article {
    padding: 22px 20px 24px;
    border-left: 0;
  }

  .story-pillars article + article {
    border-top: 1px solid rgba(255, 250, 240, 0.2);
  }

  .story-pillars span {
    margin-bottom: 7px;
  }

  .story-pillars h3 {
    margin-bottom: 5px;
    font-size: 1.7rem;
  }

  .story-pillars p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .quote-band {
    margin-top: 78px;
  }

  .who-section {
    padding-top: 0;
  }

  .who-intro {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .people-grid {
    grid-template-columns: 1fr;
    margin-top: 60px;
    border-radius: 22px;
  }

  .person-card,
  .person-card.person-card-featured {
    display: block;
    grid-column: auto;
    min-height: 0;
    padding: 0;
  }

  .person-portrait {
    height: 330px;
    min-height: 0;
  }

  .person-body,
  .person-card-featured .person-body {
    padding: 28px 24px 34px;
  }

  .person-meta,
  .person-card-featured .person-meta {
    margin-bottom: 42px;
  }

  .person-card h3 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .person-card-featured .person-role {
    margin-top: 0;
  }

  .history-section {
    padding: 110px 0 120px;
    border-radius: 28px 28px 0 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 0 0 64px 30px;
  }

  .timeline li::before {
    top: 7px;
    left: 4px;
  }

  .timeline li::after {
    left: -1px;
  }

  .timeline div {
    padding-left: 0;
  }

  .timeline h3 {
    font-size: 1.9rem;
  }

  .learning-path {
    grid-template-columns: 1fr;
    margin: 70px 0 95px;
  }

  .study-circle-image {
    aspect-ratio: 4 / 3;
    margin-top: 46px;
    border-radius: 20px;
  }

  .study-converter-prompt {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 80px;
    padding: 20px;
  }

  .converter-prompt-mark {
    min-height: 100px;
  }

  .converter-prompt-copy h3 {
    font-size: 2rem;
  }

  .study-converter-prompt > .button {
    width: 100%;
  }

  .converter-dialog {
    width: calc(100% - 14px);
    height: calc(100dvh - 14px);
    border-radius: 16px;
  }

  .converter-dialog-bar {
    min-height: 82px;
    padding: 12px 10px 12px 16px;
  }

  .converter-dialog-bar > div {
    min-width: 0;
    overflow: hidden;
  }

  .converter-dialog-bar p,
  .converter-dialog-bar h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .converter-dialog-body {
    padding: 7px;
  }

  .converter-fallback {
    padding-bottom: 3px;
  }

  .learning-path > div {
    grid-template-columns: 40px 1fr;
    min-height: 110px;
    align-items: center;
  }

  .learning-path > div + div,
  .learning-path > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .learning-path strong {
    align-self: auto;
    margin-top: 0;
  }

  .learning-path small {
    grid-column: 2;
  }

  .resources-head,
  .news-heading {
    display: block;
  }

  .resources-head > p,
  .news-heading > p {
    margin-top: 20px;
  }

  .resource-card {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 24px 6px;
  }

  .resource-type {
    grid-column: 2;
    justify-self: start;
  }

  .healers-section {
    padding: 100px 0 120px;
    border-radius: 28px 28px 0 0;
  }

  .healers-mark {
    width: 100%;
    border-radius: 18px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .video-feature {
    grid-column: auto;
  }

  .video-feature .video-image {
    aspect-ratio: 16 / 9;
  }

  .transcript-trigger {
    width: 100%;
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    text-align: left;
  }

  .transcript-trigger span:last-child {
    justify-self: end;
  }

  .transcript-dialog {
    width: calc(100% - 14px);
    height: calc(100dvh - 14px);
    border-radius: 16px;
  }

  .transcript-dialog-bar {
    min-height: 78px;
    padding: 12px 10px 12px 16px;
  }

  .transcript-dialog-body {
    padding: 22px 16px 40px;
  }

  .transcript-note {
    margin-bottom: 22px;
  }

  .transcript-block > p:last-child {
    font-size: 0.92rem;
  }

  .play-icon {
    width: 58px;
    height: 58px;
  }

  .watch-more {
    text-align: left;
  }

  .converter-card {
    width: 96%;
  }

  .converter-screen {
    height: 510px;
  }

  .damixi-note {
    margin-top: 80px;
  }

  .news-card-feature,
  .news-card-book {
    grid-template-rows: 280px auto;
  }

  .book-art {
    min-height: 280px;
  }

  .book-cover {
    width: min(230px, 70%);
  }

  .news-copy {
    padding: 26px 22px;
  }

  .contact-inner .button {
    width: 100%;
    padding-inline: 12px;
    font-size: 0.77rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Legacy video archive: keep the page readable on the site's dark field. */
.page-id-605 #main,
.page-id-605 #main * {
  color: #fff !important;
}

.page-id-605 #main {
  font-family: var(--display);
}

.page-id-605 #main * {
  font-family: var(--display) !important;
}

.page-id-605 #main article > h1:first-child,
.page-id-605 #main article > h1:first-child * {
  font-size: clamp(2.8rem, 6vw, 4.8rem) !important;
  line-height: 1.08 !important;
}

.page-id-605 #main article h1:not(:first-child),
.page-id-605 #main article h1:not(:first-child) *,
.page-id-605 #main article :is(h2, h3),
.page-id-605 #main article :is(h2, h3) *,
.page-id-605 #main .archive-bilingual-title,
.page-id-605 #main .archive-bilingual-title * {
  font-size: 1.35rem !important;
  line-height: 1.35 !important;
}

.page-id-605 #main article :is(h4, h5, h6, p, a),
.page-id-605 #main article :is(h4, h5, h6, p, a) * {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.page-id-605 #main .archive-bilingual-title {
  margin-bottom: 24px;
}

.page-id-605 #main .archive-bilingual-title__primary,
.page-id-605 #main .archive-bilingual-title__translation {
  display: block;
}

.page-id-605 #main .archive-bilingual-title__primary {
  white-space: nowrap;
}

.page-id-605 .video-archive-embed {
  width: 100%;
  margin: 28px 0 48px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #120c09;
  border-radius: 18px;
}

.page-id-605 .video-archive-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .who-founders-note {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .page-id-605 #main .archive-bilingual-title__primary {
    white-space: normal;
  }
}
