﻿:root {
  --obsidian: #17181c;
  --orange: #e46f44;
  --rose: #d9a0a0;
  --slate: #64748b;
  --peach: #f6ded0;
  --ivory: #faf7f2;
  --white: #ffffff;
  --text: #262830;
  --muted: #70747c;
  --border: #ddd7d0;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(23, 24, 28, 0.13);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--ivory);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1.65;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 830px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 6.4vw, 6.6rem);
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
}

h3 {
  font-size: 1.3rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--obsidian);
  background: var(--white);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 82px;
  background: rgba(250, 247, 242, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 25px rgba(23, 24, 28, 0.06);
}

.navigation {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.75rem;
}

.brand {
  width: 235px;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 100%;
}

nav {
  display: flex;
  gap: 1.4rem;
}

nav a {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.4rem;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.button:hover {
  background: var(--obsidian);
  border-color: var(--obsidian);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
}

.menu-lines i {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px;
  background: var(--obsidian);
  transition: 180ms ease;
}

.hero {
  position: relative;
  padding: 6.7rem 0 7.2rem;
  overflow: hidden;
  background: var(--peach);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(100, 116, 139, 0.22) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(to right, transparent 30%, #000);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-top: 2.2rem;
}

.text-link {
  color: var(--obsidian);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-graphic {
  position: relative;
  min-width: 400px;
  aspect-ratio: 1;
}

.hero-graphic img {
  position: absolute;
  z-index: 3;
  width: 155px;
  inset: 50% auto auto 50%;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.path {
  position: absolute;
  border: 1px solid rgba(23, 24, 28, 0.25);
  border-radius: 50%;
}

.path-one {
  inset: 8%;
}

.path-two {
  inset: 25%;
  border-color: var(--orange);
  border-style: dashed;
}

.floating-label {
  position: absolute;
  z-index: 4;
  padding: 0.5rem 0.75rem;
  color: var(--white);
  background: var(--obsidian);
  border-radius: 0.45rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-observe {
  top: 2%;
  left: 36%;
}

.label-connect {
  top: 42%;
  right: -2%;
  background: var(--slate);
}

.label-interpret {
  bottom: 2%;
  left: 36%;
  background: var(--orange);
}

.label-build {
  top: 42%;
  left: -3%;
  color: var(--obsidian);
  background: var(--rose);
}

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

.principles-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.4rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.principles-row i {
  color: var(--orange);
  font-style: normal;
}

.section {
  padding: 6.6rem 0;
}

.section-heading,
.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3.75rem;
  margin-bottom: 3rem;
}

.section-heading > div,
.library-heading > div {
  max-width: 800px;
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

.fields {
  background: var(--ivory);
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.field-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: 200ms ease;
}

.field-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.field-number {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
}

.field-symbol {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 2.3rem 0 1.4rem;
  color: var(--obsidian);
  background: var(--peach);
  border-radius: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.field-card:nth-child(2) .field-symbol {
  background: var(--rose);
}

.field-card:nth-child(3) .field-symbol {
  color: var(--white);
  background: var(--slate);
}

.field-card:nth-child(4) .field-symbol {
  color: var(--white);
  background: var(--orange);
}

.field-card h3 {
  min-height: 55px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.field-card > p {
  min-height: 130px;
  color: var(--muted);
  font-size: 0.82rem;
}

.field-card ul {
  padding: 1rem 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.field-card li {
  margin-block: 0.4rem;
  font-size: 0.71rem;
}

.field-card li::before {
  margin-right: 0.45rem;
  color: var(--orange);
  content: "—";
}

.framework {
  color: #d7d7da;
  background: var(--obsidian);
}

.inverse h2,
.framework h3 {
  color: var(--white);
}

.inverse .eyebrow {
  color: var(--rose);
}

.inverse > p {
  color: #a8a9ae;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.framework-step {
  min-height: 330px;
  padding: 1.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.framework-step:last-child {
  border-right: 0;
}

.framework-step span {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
}

.framework-step h3 {
  margin: 5rem 0 1rem;
  font:
    500 1.55rem Georgia,
    "Times New Roman",
    serif;
}

.framework-step p {
  margin: 0;
  color: #aaaab0;
  font-size: 0.82rem;
}

.perspectives {
  background: #f2eee8;
}

.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.profile {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.2rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.5;
  color: var(--peach);
  background: var(--obsidian);
  border-radius: 14px;
  font:
    italic 500 4rem Georgia,
    "Times New Roman",
    serif;
  overflow: hidden;
}

.avatar::before,
.avatar::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(228, 111, 68, 0.7);
  border-radius: 50%;
  content: "";
}

.avatar::before {
  transform: translateX(-34%);
}

.avatar::after {
  border-style: dashed;
  transform: translateX(34%);
}

.reference .avatar {
  color: var(--rose);
}

.avatar span {
  position: absolute;
  z-index: 2;
  right: 0.85rem;
  bottom: 0.65rem;
  font:
    900 0.63rem system-ui,
    sans-serif;
  letter-spacing: 0.12em;
}

.area {
  margin: 1.5rem 0 0.6rem;
  color: var(--orange);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile h3 {
  margin-bottom: 0.75rem;
  font:
    500 1.55rem Georgia,
    "Times New Roman",
    serif;
}

.profile > p:not(.area, .institution) {
  min-height: 85px;
  color: var(--muted);
  font-size: 0.8rem;
}

.profile .institution {
  margin: -0.25rem 0 0.7rem;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 800;
}

.profile dl {
  padding-top: 0.9rem;
  margin: auto 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}

.profile dt {
  color: var(--muted);
}

.profile dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.profile a {
  color: var(--obsidian);
}

.independence-note {
  padding: 1.5rem;
  margin-top: 1.5rem;
  background: var(--peach);
  border-left: 5px solid var(--orange);
}

.independence-note h3 {
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.independence-note p {
  margin: 0.35rem 0;
  color: #5f5a59;
  font-size: 0.78rem;
}

.library {
  background: var(--white);
}

.search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 390px);
  padding-inline: 1rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.search input {
  width: 100%;
  padding-block: 0.88rem;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

.resource-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.resource-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
}

.resource-list summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.resource-list summary b {
  color: var(--orange);
}

.resource-list summary i {
  margin-left: auto;
  font-size: 1.25rem;
  font-style: normal;
  transition: 180ms ease;
}

.resource-list details[open] i {
  transform: rotate(45deg);
}

.resource-list details p {
  padding: 0 1.3rem 1.3rem 3.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.empty-state {
  padding: 1.25rem;
  text-align: center;
  background: var(--peach);
}

.about {
  background: var(--rose);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: center;
  gap: 6rem;
}

.about-mark img {
  width: 100%;
  max-width: 320px;
  border-radius: 48px;
  box-shadow: var(--shadow);
}

.about .eyebrow {
  color: var(--obsidian);
}

.about p {
  color: #4c4143;
}

.final-cta {
  color: var(--white);
  background: var(--orange);
}

.cta-grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4rem;
}

.cta-grid > div {
  max-width: 820px;
}

.final-cta .eyebrow {
  color: var(--obsidian);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 650px;
  margin-top: 1.3rem;
  color: #fff1ea;
}

.light-button {
  flex: 0 0 auto;
  color: var(--obsidian);
  background: var(--white);
  border-color: var(--white);
}

footer {
  padding: 4rem 0 1.2rem;
  color: #bcbcc1;
  background: var(--obsidian);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.75rem;
}

.footer-grid img {
  width: 245px;
  padding: 0.35rem;
  background: var(--white);
  border-radius: 10px;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.76rem;
}

.footer-grid h3 {
  color: var(--rose);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin-block: 0.5rem;
}

.copyright {
  padding-top: 1.2rem;
  margin-top: 2.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.68rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 600ms ease;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 950px) {
  nav {
    gap: 0.75rem;
  }

  .header-action {
    display: none;
  }

  .fields-grid,
  .perspectives-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .framework-step:nth-child(2) {
    border-right: 0;
  }

  .framework-step:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 1.75rem), var(--max-width));
  }

  .site-header {
    height: 70px;
  }

  .brand {
    width: 195px;
  }

  .menu-button {
    display: flex;
  }

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

  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(2) {
    opacity: 0;
  }

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

  nav {
    position: fixed;
    z-index: -1;
    top: 70px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: 220ms ease;
  }

  nav.open {
    transform: translateY(0);
  }

  nav a {
    padding: 0.45rem;
  }

  .hero,
  .section {
    padding: 4.5rem 0;
  }

  .hero-grid,
  .fields-grid,
  .perspectives-grid,
  .resource-list,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-graphic {
    min-width: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .principles-row span:nth-of-type(n + 3),
  .principles-row i:nth-of-type(n + 3) {
    display: none;
  }

  .section-heading,
  .library-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 1.2rem;
  }

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

  .framework-step,
  .framework-step:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .framework-step h3 {
    margin-top: 2.5rem;
  }

  .field-card h3,
  .field-card > p,
  .profile > p:not(.area, .institution) {
    min-height: 0;
  }

  .search {
    margin-top: 1.5rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .about-mark img {
    max-width: 220px;
  }

  .cta-grid {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

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

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