@charset "UTF-8";

:root {
  --ivory: #f8f4ec;
  --paper: #fffdf8;
  --stone: #e7dfd2;
  --stone-dark: #c9bda9;
  --charcoal: #1f2224;
  --charcoal-soft: #44484b;
  --burgundy: #6b1f2b;
  --burgundy-dark: #49131d;
  --gold: #b99257;
  --white: #ffffff;
  --line: rgba(31, 34, 36, 0.16);
  --shadow: 0 24px 70px rgba(28, 24, 20, 0.12);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
}

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

p {
  margin-bottom: 1.25em;
}

ul,
ol {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--burgundy);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--charcoal);
  border-bottom-color: var(--line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 8px 30px rgba(22, 20, 18, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(1320px, calc(100% - 48px));
  min-height: 82px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  width: 31px;
  height: 38px;
  align-items: flex-end;
  justify-content: space-between;
}

.brand-column {
  position: relative;
  width: 11px;
  height: 34px;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.brand-column::before,
.brand-column::after {
  position: absolute;
  right: -4px;
  left: -4px;
  height: 3px;
  content: "";
  background: currentColor;
}

.brand-column::before {
  top: 0;
}

.brand-column::after {
  bottom: 0;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.primary-navigation > a {
  position: relative;
  padding-block: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation > a:hover::after,
.primary-navigation > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-navigation .nav-accent {
  padding: 10px 15px;
  border: 1px solid currentColor;
}

.primary-navigation .nav-accent::after {
  display: none;
}

.reference-technologies {
  position: relative;
  z-index: 250;
  flex: 0 0 auto;
}

.reference-technologies summary {
  list-style: none;
}

.reference-technologies summary::-webkit-details-marker {
  display: none;
}

.primary-navigation .reference-technologies-toggle {
  display: inline-flex;
  min-height: 40px;
  padding: 10px 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: inherit;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.reference-technologies-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.reference-technologies[open] .reference-technologies-chevron {
  transform: translateY(2px) rotate(225deg);
}

.site-header .reference-technologies-menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 12px);
  right: 0;
  display: block;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 108px);
  padding: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #1f2224;
  border: 1px solid rgba(31, 34, 36, 0.18);
  background: #fffdf8;
  box-shadow: 0 24px 70px rgba(28, 24, 20, 0.22);
  text-align: left;
  isolation: isolate;
}

.site-header .reference-technologies-menu::before {
  position: absolute;
  z-index: -1;
  top: -7px;
  right: 24px;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 1px solid rgba(31, 34, 36, 0.18);
  border-left: 1px solid rgba(31, 34, 36, 0.18);
  background: #fffdf8;
  transform: rotate(45deg);
}

.site-header .reference-technologies-group {
  position: relative;
  padding: 10px 9px;
}

.site-header .reference-technologies-group + .reference-technologies-group {
  border-top: 1px solid rgba(31, 34, 36, 0.14);
}

.site-header .reference-technologies-label {
  margin: 0 0 5px;
  color: #6b1f2b;
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header .primary-navigation .reference-technologies-menu a {
  position: static;
  display: flex;
  min-height: 32px;
  padding: 6px 7px;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: #1f2224;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

.site-header .primary-navigation .reference-technologies-menu a::after {
  display: none;
}

.site-header .primary-navigation .reference-technologies-menu a:hover,
.site-header .primary-navigation .reference-technologies-menu a:focus-visible {
  color: #6b1f2b;
  background: #f8f4ec;
}

.site-header .primary-navigation .reference-technologies-menu a span:first-child {
  min-width: 0;
}

.site-header .primary-navigation .reference-technologies-menu a span:last-child {
  flex: 0 0 auto;
  color: #b99257;
  font-size: 0.76rem;
}

.site-header .reference-technologies-note {
  margin: 3px 9px 7px;
  padding-top: 10px;
  color: #44484b;
  border-top: 1px solid rgba(31, 34, 36, 0.14);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}

.nav-toggle {
  display: none;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  place-items: center;
}

.hero-image {
  position: absolute;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 20, 18, 0.73) 0%, rgba(35, 25, 21, 0.42) 36%, rgba(35, 25, 21, 0.2) 64%, rgba(28, 20, 18, 0.58) 100%),
    linear-gradient(180deg, rgba(18, 16, 15, 0.36) 0%, rgba(18, 16, 15, 0.08) 48%, rgba(18, 16, 15, 0.62) 100%);
}

.hero-content {
  padding-top: 110px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 22px;
  color: var(--burgundy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(4.1rem, 11vw, 9.6rem);
  letter-spacing: -0.065em;
  text-shadow: 0 5px 32px rgba(0, 0, 0, 0.2);
}

.hero-declaration {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  line-height: 1.25;
}

.hero-summary {
  max-width: 790px;
  margin-right: auto;
  margin-bottom: 36px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--burgundy-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--charcoal);
  border-color: var(--white);
  background: var(--white);
}

.hero-principles {
  margin-top: 28px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-principles span {
  margin-inline: 7px;
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: grid;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  place-items: center;
}

.hero-scroll-line {
  width: 1px;
  height: 31px;
  margin-top: 8px;
  background: currentColor;
}

.section {
  padding-block: clamp(88px, 11vw, 150px);
}

.section-introduction {
  background: var(--paper);
}

.introduction-grid,
.vision-grid,
.relationship-grid,
.stewardship-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.section-heading {
  max-width: 570px;
}

.section-heading-centered {
  max-width: 860px;
  margin-right: auto;
  margin-bottom: 64px;
  margin-left: auto;
  text-align: center;
}

.section-heading-centered p:last-child {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--charcoal-soft);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.introduction-copy {
  max-width: 730px;
  font-size: 1.08rem;
}

.section-contrast {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(73, 19, 29, 0.96), rgba(107, 31, 43, 0.91)),
    var(--burgundy);
}

.section-kicker-light {
  color: #e2c7a1;
}

.vision-statement {
  margin: 0;
  padding-left: clamp(26px, 4vw, 54px);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.vision-statement p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 3.35rem);
  line-height: 1.35;
}

.importance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.importance-card {
  min-height: 330px;
  padding: 32px 26px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.importance-card:hover {
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.importance-number {
  display: inline-block;
  margin-bottom: 76px;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.importance-card h3 {
  margin-bottom: 18px;
}

.importance-card p {
  margin-bottom: 0;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.section-stone {
  background: var(--ivory);
}

.lifecycle {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.lifecycle li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 26px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.lifecycle-marker {
  color: var(--burgundy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.lifecycle h3 {
  margin-bottom: 8px;
}

.lifecycle p {
  max-width: 770px;
  margin-bottom: 0;
  color: var(--charcoal-soft);
}

.domains-intro {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.domains-intro > p {
  margin-bottom: 0;
  color: var(--charcoal-soft);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.domain-grid span,
.domain-grid > a {
  min-height: 92px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.3;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.domain-grid > a {
  color: inherit;
  text-decoration: none;
}

.domain-grid span:hover,
.domain-grid > a:hover,
.domain-grid > a:focus-visible {
  color: var(--white);
  background: var(--burgundy);
}

.section-principles {
  color: var(--white);
  background: var(--charcoal);
}

.section-principles h2 {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.principles-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 1020px;
  margin-inline: auto;
  justify-content: center;
  gap: 12px;
}

.principles-list span {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.relationship-grid {
  grid-template-areas:
    "heading cards"
    "rule cards";
}

.relationship-grid > .section-heading {
  grid-area: heading;
}

.relationship-cards {
  display: grid;
  grid-area: cards;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.relationship-card {
  min-height: 360px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.relationship-card-primary {
  color: var(--white);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.relationship-label {
  margin-bottom: 58px;
  color: var(--burgundy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.relationship-card-primary .relationship-label {
  color: #e2c7a1;
}

.relationship-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.relationship-card p:not(.relationship-label) {
  color: var(--charcoal-soft);
}

.relationship-card-primary p:not(.relationship-label) {
  color: rgba(255, 255, 255, 0.76);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.relationship-rule {
  max-width: 470px;
  margin: 12px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
  grid-area: rule;
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.curriculum-panel {
  padding: clamp(34px, 5vw, 62px);
  color: var(--white);
  background: var(--burgundy);
  box-shadow: var(--shadow);
}

.curriculum-panel h3 {
  margin-bottom: 36px;
  color: #f5e8d6;
  font-size: 1.35rem;
}

.curriculum-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.curriculum-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.curriculum-list li:nth-child(odd) {
  padding-right: 22px;
}

.curriculum-list li:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stewardship-content {
  max-width: 760px;
}

.stewardship-columns {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
}

.stewardship-columns h3 {
  margin-bottom: 22px;
}

.stewardship-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stewardship-columns li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
}

.stewardship-columns li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--burgundy);
  transform: rotate(45deg);
}

.closing {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  place-items: center;
}

.closing-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    url("/assets/rules-integrity-hero.png")
    center 58% / cover no-repeat;
  transform: scale(1.04);
}

.closing-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 20, 18, 0.86), rgba(73, 19, 29, 0.58)),
    rgba(31, 34, 36, 0.42);
}

.closing-content {
  max-width: 920px;
  text-align: center;
}

.closing-content h2 {
  margin-bottom: 24px;
}

.closing-content > p:not(.section-kicker) {
  max-width: 730px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.site-footer {
  padding-block: 58px;
  color: rgba(255, 255, 255, 0.76);
  background: #17191b;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: 54px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.45rem;
  text-decoration: none;
}

.footer-grid p {
  margin-bottom: 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a {
  font-size: 0.82rem;
  text-decoration: none;
}

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

.footer-meta {
  text-align: right;
}

.footer-meta p + p {
  margin-top: 8px;
}

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

@media (max-width: 1080px) {
  .primary-navigation {
    gap: 18px;
  }

  .importance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .importance-card {
    min-height: 300px;
  }

  .relationship-grid {
    display: block;
  }

  .relationship-cards {
    margin-top: 48px;
  }

  .relationship-rule {
    margin-top: 38px;
  }
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 34px, 720px);
  }

  .header-inner {
    width: min(100% - 34px, 720px);
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 0;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .nav-toggle-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-toggle-lines {
    display: grid;
    width: 25px;
    gap: 5px;
  }

  .nav-toggle-lines span {
    width: 100%;
    height: 1px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.nav-open .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .primary-navigation {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: 36px 22px;
    align-content: start;
    gap: 0;
    color: var(--charcoal);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .primary-navigation a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
  }

  .reference-technologies {
    width: 100%;
  }

  .primary-navigation .reference-technologies-toggle {
    width: 100%;
    margin-top: 18px;
    padding: 16px;
    justify-content: center;
    text-align: center;
  }

  .site-header .reference-technologies-menu {
    position: static;
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 250px);
    margin-top: 10px;
    box-shadow: none;
  }

  .site-header .reference-technologies-menu::before {
    display: none;
  }

  .site-header .primary-navigation .reference-technologies-menu a {
    padding: 9px 7px;
    border-bottom: 0;
  }

  .introduction-grid,
  .vision-grid,
  .education-grid,
  .stewardship-grid,
  .domains-intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .vision-statement {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }

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

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

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  .hero-declaration {
    font-size: 1.42rem;
  }

  .hero-actions {
    display: grid;
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-principles {
    line-height: 1.8;
  }

  .hero-principles span {
    display: none;
  }

  .importance-grid,
  .relationship-cards,
  .domain-grid,
  .curriculum-list,
  .stewardship-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .importance-card {
    min-height: 0;
  }

  .importance-number {
    margin-bottom: 36px;
  }

  .lifecycle li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .curriculum-list li:nth-child(odd),
  .curriculum-list li:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .relationship-card {
    min-height: 0;
  }

  .footer-nav {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@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;
  }
}

/* Rules Integrity Version 0.2 content expansion */

.section-definition {
  background:
    linear-gradient(180deg, rgba(248, 244, 236, 0.5), rgba(255, 253, 248, 0)),
    var(--paper);
}

.definition-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.definition-content {
  max-width: 790px;
}

.definition-statement {
  margin-bottom: 34px;
  color: var(--burgundy-dark);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.75rem);
  line-height: 1.35;
}

.definition-factors {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.definition-factors article {
  min-height: 245px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.definition-factors span,
.engineering-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.definition-factors h3 {
  margin-bottom: 12px;
}

.definition-factors p {
  margin-bottom: 0;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.section-engineering {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(185, 146, 87, 0.16), transparent 26%),
    linear-gradient(135deg, #1b1d1f, #272a2c 62%, #35171d);
}

.engineering-intro {
  display: grid;
  margin-bottom: 66px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: end;
}

.engineering-intro-copy {
  color: rgba(255, 255, 255, 0.76);
}

.engineering-intro-copy .lead {
  color: var(--white);
}

.engineering-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.engineering-grid li {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.engineering-grid .engineering-number {
  color: #e2c7a1;
}

.engineering-grid h3 {
  margin-bottom: 18px;
}

.engineering-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.section-audiences {
  background:
    linear-gradient(90deg, rgba(107, 31, 43, 0.035), transparent 35%),
    var(--paper);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-card {
  min-height: 340px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.84);
}

.audience-label,
.research-label,
.working-paper-label {
  margin-bottom: 64px;
  color: var(--burgundy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audience-card h3 {
  margin-bottom: 18px;
}

.audience-card p:last-child {
  margin-bottom: 0;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
}

.audience-card-link {
  position: relative;
  display: flex;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.audience-card-link p:last-of-type {
  margin-bottom: 0;
  color: var(--charcoal-soft);
  font-size: 0.92rem;
}

.audience-card-link .audience-card-action {
  display: block;
  margin-top: auto;
  padding-top: 28px;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience-card-link:hover,
.audience-card-link:focus-visible {
  color: var(--white);
  background: var(--burgundy);
}

.audience-card-link:hover .audience-label,
.audience-card-link:focus-visible .audience-label,
.audience-card-link:hover .audience-card-action,
.audience-card-link:focus-visible .audience-card-action {
  color: #e2c7a1;
}

.audience-card-link:hover p:last-of-type,
.audience-card-link:focus-visible p:last-of-type {
  color: rgba(255, 255, 255, 0.78);
}

.research-intro {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 72px;
  align-items: end;
}

.research-intro > p {
  margin-bottom: 0;
  color: var(--charcoal-soft);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-card {
  min-height: 430px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.research-card-featured {
  color: var(--white);
  border-color: var(--burgundy);
  background: var(--burgundy);
  box-shadow: var(--shadow);
}

.research-card-featured .research-label {
  color: #e2c7a1;
}

.research-card h3 {
  margin-bottom: 36px;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
}

.research-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal-soft);
  font-size: 0.94rem;
}

.research-card-featured li {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.working-paper {
  display: grid;
  margin-top: 26px;
  padding: 34px 38px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  border-top: 3px solid var(--burgundy);
  background: var(--ivory);
  align-items: center;
}

.working-paper-label {
  margin-bottom: 12px;
}

.working-paper h3,
.working-paper p {
  margin-bottom: 0;
}

.working-paper p {
  color: var(--charcoal-soft);
}

.section-growth {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(73, 19, 29, 0.98), rgba(107, 31, 43, 0.92)),
    var(--burgundy);
}

.growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.growth-content {
  color: rgba(255, 255, 255, 0.78);
}

.growth-content .lead {
  color: var(--white);
}

.growth-paths {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.growth-paths > div {
  min-height: 245px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.growth-paths h3 {
  margin-bottom: 16px;
}

.growth-paths p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.growth-principle {
  margin-top: 34px;
  margin-bottom: 0;
  padding: 26px 30px;
  border-left: 3px solid #e2c7a1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .research-card {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .definition-grid,
  .engineering-intro,
  .research-intro,
  .growth-grid,
  .working-paper {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .definition-factors,
  .growth-paths {
    grid-template-columns: 1fr;
  }

  .definition-factors article,
  .growth-paths > div {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .audience-grid,
  .engineering-grid {
    grid-template-columns: 1fr;
  }

  .audience-card,
  .engineering-grid li {
    min-height: 0;
  }

  .audience-label {
    margin-bottom: 36px;
  }

  .working-paper {
    padding: 28px 24px;
  }
}

/* Published educational chapter links */

.chapter-link {
  display: flex;
  margin: 42px 0 34px;
  padding: 24px 26px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--burgundy);
  color: var(--charcoal);
  background: rgba(107, 31, 43, 0.035);
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.chapter-link:hover,
.chapter-link:focus-visible {
  color: var(--white);
  background: var(--burgundy);
  transform: translateY(-2px);
}

.chapter-link > span:first-child {
  display: grid;
  gap: 4px;
}

.chapter-link-kicker {
  color: var(--burgundy);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chapter-link:hover .chapter-link-kicker,
.chapter-link:focus-visible .chapter-link-kicker {
  color: #e2c7a1;
}

.chapter-link strong {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
}

.chapter-link-arrow {
  flex: 0 0 auto;
  font-size: 1.7rem;
}

.curriculum-list a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 4px;
}

.curriculum-list a:hover,
.curriculum-list a:focus-visible {
  color: #f5e8d6;
}

@media (max-width: 620px) {
  .chapter-link {
    padding: 20px;
  }
}

/* Rules Integrity Version 0.26 discipline entry */

.discipline-entry-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 14px 0 12px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.discipline-entry-arrow {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 160ms ease;
}

.discipline-entry-link:hover,
.discipline-entry-link:focus-visible {
  color: var(--burgundy-dark);
  border-bottom-color: var(--burgundy-dark);
}

.discipline-entry-link:hover .discipline-entry-arrow,
.discipline-entry-link:focus-visible .discipline-entry-arrow {
  transform: translateX(4px);
}



/* Rules Integrity Version 0.28 scope-stage links */
.lifecycle-link {
  display: inline-flex;
  margin-top: 15px;
  align-items: center;
  gap: 7px;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.lifecycle-link span {
  transition: transform 160ms ease;
}

.lifecycle-link:hover,
.lifecycle-link:focus-visible {
  color: var(--burgundy-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lifecycle-link:hover span,
.lifecycle-link:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 620px) {
  .article-page.domain-page .article-hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }
}
