:root {
  --forest-950: #071b16;
  --forest-900: #0b2d23;
  --forest-800: #154638;
  --forest-700: #205847;
  --ink: #14211d;
  --cream: #f5efe2;
  --paper: #fffdf7;
  --gold: #cda657;
  --gold-light: #ead49b;
  --mist: #dce7e1;
  --line: rgba(20, 70, 56, 0.18);
  --shadow: 0 22px 60px rgba(7, 27, 22, 0.16);
  --radius-lg: 30px;
  --radius-md: 19px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(205, 166, 87, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 58%, rgba(32, 88, 71, 0.11), transparent 32rem);
}

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

a { color: inherit; }

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

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  color: var(--forest-950);
  background: var(--paper);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--cream);
  background: rgba(7, 27, 22, 0.94);
  border-bottom: 1px solid rgba(234, 212, 155, 0.22);
  backdrop-filter: blur(15px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(234, 212, 155, 0.55);
  border-radius: 50%;
}

.brand-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  letter-spacing: 0.025em;
}

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

.site-nav a {
  padding: 0.55rem 0.75rem;
  color: rgba(245, 239, 226, 0.78);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--cream);
  background: rgba(234, 212, 155, 0.14);
  outline: none;
}

main { min-height: calc(100vh - 170px); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 { font-size: clamp(2.65rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }

.home-hero {
  color: var(--ink);
  background: var(--cream);
}

.hero-grid {
  display: flex;
  flex-direction: column;
}

.hero-copy {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.hero-copy h1 {
  max-width: 850px;
  margin-bottom: 1.4rem;
  color: var(--ink);
}

.hero-copy h1 em {
  color: #a86f2e;
  font-weight: 400;
}

.hero-copy h1 span { display: inline-block; }

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #4f5e58;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-definition strong { color: var(--forest-800); font-weight: 650; }

.hero-image {
  width: 100%;
  background: #f7f2e8;
}

.hero-image::after { content: none; }

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
  object-position: center;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--forest-950);
  background: var(--gold-light);
}

.button-secondary {
  color: var(--cream);
  background: transparent;
  border-color: rgba(245, 239, 226, 0.38);
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

.section-soft { background: rgba(255, 253, 247, 0.72); }

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-heading .eyebrow { color: var(--forest-700); }

.section-heading p {
  margin-bottom: 0;
  color: #4f5e58;
  font-size: 1.1rem;
}

.naming-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.naming-statement {
  position: sticky;
  top: 120px;
  margin: 0;
  padding-left: 1.5rem;
  color: var(--forest-800);
  border-left: 4px solid var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.25;
}

.naming-copy p:first-child { margin-top: 0; }

.naming-copy p { font-size: 1.09rem; }

.naming-copy strong { color: var(--forest-800); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  overflow: hidden;
  color: var(--cream);
  background: var(--forest-900);
  border: 1px solid rgba(234, 212, 155, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) { background: #172d39; }

.feature-number {
  display: inline-grid;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 3.8rem;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(234, 212, 155, 0.48);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.feature-card p { color: rgba(245, 239, 226, 0.72); }

.text-link {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after { content: "  →"; }

.research-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--cream);
  background: linear-gradient(125deg, var(--forest-800), var(--forest-950));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.research-callout p { color: rgba(245, 239, 226, 0.76); }
.research-callout .button { justify-self: end; }

.page-hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  color: var(--cream);
  background: linear-gradient(120deg, var(--forest-950), var(--forest-800));
}

.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { max-width: 920px; margin-bottom: 1.25rem; }
.page-hero > .wrap > p:not(.eyebrow) {
  max-width: 730px;
  margin-bottom: 0;
  color: rgba(245, 239, 226, 0.76);
  font-size: 1.18rem;
}

.app-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.app-panel {
  padding: clamp(1.7rem, 4vw, 2.8rem);
  color: var(--cream);
  background: var(--forest-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.app-panel .large-letter {
  display: grid;
  width: 84px;
  height: 84px;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
}

.app-panel p { color: rgba(245, 239, 226, 0.73); }

.step-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--forest-800);
}

.app-placeholder {
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
  background: rgba(255, 253, 247, 0.7);
  border: 1px dashed rgba(20, 70, 56, 0.35);
  border-radius: var(--radius-lg);
}

.app-placeholder p { max-width: 650px; margin-inline: auto; }

.research-list {
  display: grid;
  gap: 1rem;
}

.research-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.research-code {
  color: var(--forest-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  text-align: center;
}

.research-title {
  display: block;
  width: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

.research-title strong { display: block; font-weight: 500; }

.research-title small {
  display: block;
  margin-top: 0.32rem;
  color: #64716c;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
}

.research-title:hover strong,
.research-title:focus-visible strong { color: var(--forest-700); }

.research-title:focus-visible { outline: 2px solid var(--gold); outline-offset: 7px; border-radius: 4px; }

.status {
  padding: 0.35rem 0.65rem;
  color: var(--forest-800);
  background: var(--mist);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.status.pending { color: #67552e; background: #f4e7c8; }

.research-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  color: #4f5e58;
  background: rgba(205, 166, 87, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 18%, rgba(205, 166, 87, 0.2), transparent 24rem),
    linear-gradient(120deg, var(--forest-950), #183c34);
}

.article-hero-inner { max-width: 940px; }
.article-hero h1 { margin-bottom: 1rem; font-size: clamp(2.7rem, 7vw, 5.6rem); }
.article-hero-inner > p:not(.eyebrow) { max-width: 650px; color: rgba(245, 239, 226, 0.77); font-size: 1.12rem; }

.article-jumps { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.article-jumps a {
  padding: 0.66rem 0.95rem;
  border: 1px solid rgba(234, 212, 155, 0.38);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}
.article-jumps a:first-child { color: var(--forest-950); background: var(--gold-light); border-color: var(--gold-light); }

.article-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.wild-reading { color: #f7f0e6; background: #241b22; }
.origin-reading { background: var(--paper); }

.article-copy { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.article-copy .reading-label {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.article-copy > h2 { margin-bottom: 2.4rem; font-size: clamp(2.25rem, 5vw, 4rem); }
.article-copy h2:not(:first-of-type) { margin-top: 3.4rem; font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
.article-copy h3 { margin-top: 2.5rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.article-copy p, .article-copy li { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.04rem, 1.8vw, 1.16rem); line-height: 1.82; }
.article-copy p { margin: 0 0 1.35rem; }
.article-copy ul, .article-copy ol { padding-left: 1.4rem; }
.article-copy a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-copy blockquote {
  margin: 2.4rem 0;
  padding: 1.45rem 1.6rem;
  border-left: 3px solid var(--gold);
  background: rgba(205, 166, 87, 0.1);
}
.article-copy blockquote p:last-child { margin-bottom: 0; }
.article-copy table { width: 100%; margin: 2.2rem 0; border-collapse: collapse; }
.article-copy th, .article-copy td { padding: 1rem; border: 1px solid currentColor; border-color: rgba(205, 166, 87, 0.3); vertical-align: top; }
.article-copy table p { margin-bottom: 0.5rem; font-size: 0.98rem; }
.article-copy table p:last-child { margin-bottom: 0; }
.article-copy img { height: auto; margin: 2rem auto; border-radius: var(--radius-md); }

.wild-reading .article-copy > h2 { color: var(--gold-light); }
.wild-reading .article-copy h2:not(:first-of-type), .wild-reading .article-copy h3 { color: #ead49b; }
.wild-reading .article-copy p, .wild-reading .article-copy li { color: rgba(247, 240, 230, 0.9); }
.wild-reading .article-copy strong { color: #f0c978; }
.wild-reading .voci, .wild-reading .box-medium, .wild-reading .box-corpo, .wild-reading .ancora {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.055);
}
.wild-reading .box-label { display: block; margin-bottom: 0.55rem; color: var(--gold); font-family: Inter, sans-serif; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.wild-reading .voci p:last-child, .wild-reading .box-medium p:last-child, .wild-reading .box-corpo p:last-child, .wild-reading .ancora p:last-child { margin-bottom: 0; }

.origin-reading .article-copy > h2 { color: var(--forest-800); font-size: clamp(2rem, 4vw, 3.25rem); }
.origin-reading .article-copy h2:not(:first-of-type), .origin-reading .article-copy h3 { color: var(--forest-800); }
.origin-reading .article-copy p, .origin-reading .article-copy li { color: #26342f; }
.origin-reading .footnotes { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.origin-reading .biblio-box {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(205, 166, 87, 0.1);
  border: 1px solid rgba(122, 91, 37, 0.22);
  border-radius: var(--radius-md);
}
.origin-reading .biblio-box .label {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--forest-800);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.origin-reading .biblio-box p { font-size: 1rem; line-height: 1.68; }
.origin-reading .biblio-box p:last-child { margin-bottom: 0; }

.evidence-bridge { padding: 1rem 0; color: var(--forest-950); background: var(--gold-light); text-align: center; }
.evidence-bridge span { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; font-style: italic; }
.back-to-index { margin-top: 4rem !important; padding-top: 2rem; border-top: 1px solid var(--line); }
.back-to-index .button { font-family: Inter, sans-serif; font-size: 0.94rem; }

.version-heading {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  color: rgba(247, 240, 230, 0.78);
}

.version-heading .reading-label {
  margin: 0 0 0.45rem;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.version-heading p:last-child { margin: 0; }

.cogito-embed {
  color: #f4efe7;
  background: #0d091d;
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

.cogito-embed + .cogito-embed { border-top: 4px solid #d9b45d; }
.cogito-embed * { box-sizing: border-box; }
.cogito-embed .document { width: min(920px, 100%); margin: auto; padding: 32px 22px 70px; }
.cogito-embed .hero { padding: 52px 0 34px; border-bottom: 1px solid #675135; }
.cogito-embed .label { margin: 0 0 8px; color: #d9b45d; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.cogito-embed .hero h1,
.cogito-embed .cycle h2,
.cogito-embed .cycle h3 { font-family: Georgia, serif; font-weight: 400; }
.cogito-embed .hero h1 { margin: 0 0 18px; font-size: clamp(42px, 8vw, 78px); line-height: 1; }
.cogito-embed .hero > p:not(.label) { color: #cfc5db; font-size: 18px; }
.cogito-embed .meta { color: #a99db7; font-size: 12px; }
.cogito-embed .nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.cogito-embed .nav a { padding: 7px 11px; color: #f0d38d; border: 1px solid #6d573d; border-radius: 20px; font-size: 12px; text-decoration: none; }
.cogito-embed .cycle { padding: 54px 0 24px; border-bottom: 1px solid #4a3b2c; }
.cogito-embed .cycle-head h2 { margin: 0 0 16px; font-size: clamp(34px, 6vw, 58px); line-height: 1.05; }
.cogito-embed .cycle-head > p:last-child { color: #d2c8dc; font-size: 18px; }
.cogito-embed .hook,
.cogito-embed .content-card,
.cogito-embed .pause,
.cogito-embed .surprise,
.cogito-embed .anchors,
.cogito-embed .quiz { margin-top: 22px; padding: 22px; border-radius: 14px; }
.cogito-embed .hook { background: #20153b; border-left: 3px solid #b79be7; }
.cogito-embed .hook h3,
.cogito-embed .surprise h3 { margin: 6px 0; font-size: 28px; }
.cogito-embed .content-card { background: #151029; border: 1px solid #493c67; }
.cogito-embed .content-card > h3 { margin: 6px 0 16px; font-size: 26px; }
.cogito-embed .boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cogito-embed .box { padding: 17px; border-radius: 10px; }
.cogito-embed .box strong { display: block; color: #e1bd6f; font-size: 11px; letter-spacing: .08em; }
.cogito-embed .box p { margin: 9px 0 0; }
.cogito-embed .box.dark { background: #221942; border: 1px solid #d1a94e; }
.cogito-embed .box.light { color: #1b1430; background: #ede7fa; }
.cogito-embed .box.analogia { background: #17113a; border: 1px solid #a894d4; }
.cogito-embed .pause { color: #233a28; background: #dcebd4; }
.cogito-embed .surprise { background: #4b2010; }
.cogito-embed .anchors { background: #281522; }
.cogito-embed .anchors ol { display: grid; gap: 9px; padding: 0; list-style: none; }
.cogito-embed .anchors li { display: flex; align-items: center; gap: 12px; }
.cogito-embed .anchors li span { width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border-radius: 50%; background: #d05b78; font-weight: 800; }
.cogito-embed .quiz { background: #100c20; }
.cogito-embed .quiz > h2 { font-size: 32px; }
.cogito-embed .question { padding: 20px 0; border-top: 1px solid #40344e; }
.cogito-embed .question h3 { margin: 5px 0 12px; font-size: 23px; }
.cogito-embed .question li { padding: 4px 0; }
.cogito-embed .question details { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #211833; }
.cogito-embed .question summary { color: #efcf81; font-weight: 800; cursor: pointer; }
.cogito-embed .cave { margin: 54px 0 0; }
.cogito-embed .cave h2 { font: 400 38px Georgia, serif; }
.cogito-embed .cave img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 70px #000; }
.cogito-embed .cave p { color: #c9bdab; }
.cogito-embed .footer { margin-top: 38px; color: #8e829d; font-size: 11px; text-align: center; }

@media (max-width: 650px) {
  .cogito-embed .document { padding: 22px 16px 55px; }
  .cogito-embed .boxes { grid-template-columns: 1fr; }
  .cogito-embed .hook,
  .cogito-embed .content-card,
  .cogito-embed .pause,
  .cogito-embed .surprise,
  .cogito-embed .anchors,
  .cogito-embed .quiz { padding: 17px; }
  .cogito-embed .hero { padding-top: 30px; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-card p:last-child { margin-bottom: 0; }

.embedded-app-page { background: var(--forest-950); }
.embedded-app-heading { padding: 1.25rem 0; color: var(--cream); }
.embedded-app-heading .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.embedded-app-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.embedded-app-heading .eyebrow { margin-bottom: 0.25rem; }
.embedded-app-frame { display: block; width: 100%; height: max(720px, calc(100vh - 210px)); border: 0; background: var(--paper); }

.site-footer {
  padding: 2rem 0;
  color: rgba(245, 239, 226, 0.68);
  background: var(--forest-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p { margin: 0; }

.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-nav a { color: var(--gold-light); text-decoration: none; }

@media (max-width: 850px) {
  .site-header { position: static; }
  .header-inner { padding: 0.75rem 0; align-items: flex-start; }
  .site-nav { max-width: 65%; }
  .hero-copy { padding: 4.5rem 0 5.5rem; }
  .naming-grid, .app-intro-grid { grid-template-columns: 1fr; }
  .naming-statement { position: static; }
  .research-callout { grid-template-columns: 1fr; align-items: start; }
  .research-callout .button { justify-self: start; }
}

@media (max-width: 650px) {
  .header-inner { width: min(100% - 1.2rem, 1120px); display: block; }
  .brand { margin-bottom: 0.65rem; }
  .brand img { width: 42px; height: 42px; }
  .site-nav { max-width: none; justify-content: flex-start; gap: 0; }
  .site-nav a { padding: 0.42rem 0.55rem; font-size: 0.82rem; }
  .hero-copy { width: min(100% - 2rem, 1120px); padding: 3.6rem 0 4.8rem; }
  .hero-copy h1 { font-size: clamp(3.05rem, 16vw, 4.5rem); }
  .card-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; }
  .research-item { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .research-item .status { grid-column: 2; justify-self: start; }
  .article-copy table { display: block; max-width: 100%; overflow-x: auto; }
  .article-copy th, .article-copy td { min-width: 180px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .embedded-app-heading .wrap { align-items: flex-start; flex-direction: column; }
}

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