:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-strong: #fffaf0;
  --ink: #171717;
  --muted: #5f5a52;
  --line: rgba(23, 23, 23, 0.14);
  --red: #b84032;
  --teal: #0b756f;
  --green: #5e7d32;
  --yellow: #d9a441;
  --white: #ffffff;
  --shadow: 0 20px 70px rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(244, 240, 232, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.82rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(23, 23, 23, 0.08);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e7e1d6;
}

#identity-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(244, 240, 232, 0.96) 0%, rgba(244, 240, 232, 0.8) 42%, rgba(244, 240, 232, 0.2) 100%),
    linear-gradient(0deg, rgba(244, 240, 232, 0.82) 0%, rgba(244, 240, 232, 0) 34%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 86svh;
  margin: 0 auto;
  padding: 112px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 5.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: #34302a;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--paper-strong);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.44);
}

.verification-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(900px, 100%);
  margin: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.22);
  border-bottom: 1px solid rgba(23, 23, 23, 0.22);
}

.verification-strip div {
  min-height: 92px;
  padding: 18px 20px;
  border-right: 1px solid rgba(23, 23, 23, 0.16);
}

.verification-strip div:last-child {
  border-right: 0;
}

.verification-strip dt {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.verification-strip dd {
  margin: 8px 0 0;
  color: #2e2a25;
  font-size: 0.95rem;
}

.section {
  padding: 96px 40px;
}

.section-heading,
.section-grid,
.profile-layout,
.principle-grid,
.contact-band,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.section h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.section h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.intro-band {
  background: var(--ink);
  color: var(--paper-strong);
}

.intro-band .section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-band .section-kicker {
  color: var(--yellow);
}

.intro-band p:last-child {
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.16rem;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.source-card,
.principle-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: var(--shadow);
}

.source-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
}

.source-status {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.source-status.neutral {
  background: rgba(11, 117, 111, 0.12);
  color: var(--teal);
}

.source-status.caution {
  background: rgba(217, 164, 65, 0.22);
  color: #76510b;
}

.source-card p,
.principle-grid p,
.profile-list p,
.contact-copy p {
  color: var(--muted);
}

.source-card a {
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.profile-band {
  background: #e5eadc;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 64px;
  align-items: start;
}

.profile-layout > div:first-child p:last-child {
  margin-bottom: 0;
  color: #4c5144;
  font-size: 1.14rem;
}

.profile-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: rgba(23, 23, 23, 0.16);
}

.profile-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 18px;
  min-height: 124px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.76);
}

.profile-list span {
  grid-row: span 2;
  color: var(--green);
  font-weight: 900;
}

.profile-list strong {
  font-size: 1.1rem;
}

.profile-list p {
  margin: 0;
}

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

.principle-grid article {
  min-height: 210px;
  padding: 28px;
}

.principle-grid h3 {
  margin-bottom: 42px;
  color: var(--teal);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
  gap: 44px;
  align-items: start;
  padding-top: 90px;
  border-top: 1px solid var(--line);
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-panel {
  padding: 28px;
  background: var(--paper-strong);
}

.contact-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  position: relative;
  min-height: 34px;
  padding-left: 36px;
  font-weight: 700;
}

.contact-panel li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--red);
  content: "✓";
  font-size: 0.84rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 40px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 24px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-inner {
    width: min(100% - 32px, 720px);
    padding-top: 98px;
  }

  h1 {
    font-size: 3.7rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .verification-strip,
  .intro-band .section-grid,
  .source-grid,
  .profile-layout,
  .principle-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .verification-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.16);
  }

  .verification-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 24px;
  }

  .section h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    min-height: 64px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-inner {
    min-height: 82svh;
    padding-top: 86px;
    padding-bottom: 28px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 2.55rem;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: 0;
  }

  .button {
    width: 100%;
    min-height: 44px;
  }

  .verification-strip {
    display: none;
  }

  .section h2 {
    font-size: 2rem;
  }

  .source-card,
  .principle-grid article,
  .contact-panel {
    padding: 22px;
  }

  .profile-list div {
    grid-template-columns: 42px 1fr;
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 24px 34px;
  }
}

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

  .button {
    transition: none;
  }
}
