:root {
  --ink: #151411;
  --charcoal: #24221e;
  --paper: #f4f0e8;
  --paper-strong: #fbf8f1;
  --paper-soft: #ebe4d8;
  --teal: #176b61;
  --teal-dark: #0d403b;
  --gold: #a5752a;
  --gold-soft: #d8b66a;
  --wine: #6f171b;
  --line: #d2c5b2;
  --muted: #71685d;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(21, 20, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 20, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 46px;
  color: var(--white);
  background: rgba(21, 20, 17, 0.84);
  border-bottom: 1px solid rgba(216, 182, 106, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: 140px 40px 86px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 20, 17, 0.7) 0%, rgba(21, 20, 17, 0.45) 42%, rgba(21, 20, 17, 0.12) 100%),
    linear-gradient(0deg, rgba(21, 20, 17, 0.48) 0%, rgba(21, 20, 17, 0.08) 44%, rgba(21, 20, 17, 0.42) 100%);
}

.hero-content {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto 0 0;
  padding-right: min(42vw, 520px);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.94;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.6;
}

.credentials-line {
  margin: 18px 0 0;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal-dark);
  border: 1px solid rgba(216, 182, 106, 0.42);
}

.button.secondary {
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.intro-band {
  width: 100%;
  padding: 64px 46px;
  background: var(--paper-strong);
  border-top: 1px solid rgba(165, 117, 42, 0.34);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.section h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
}

.section-grid p {
  margin: 0;
  color: #393631;
  font-size: 18px;
  line-height: 1.7;
}

.credential-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1180px, 100%);
  margin: 34px auto 0;
}

.credential-strip span {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.focus-item {
  min-height: 310px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
}

.focus-item:last-child {
  border-right: 0;
}

.item-index {
  display: block;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 34px;
  letter-spacing: 0.1em;
}

.focus-item h3,
.feature-essay h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.18;
}

.focus-item p,
.feature-essay p {
  color: #475569;
  line-height: 1.6;
}

.focus-item p,
.feature-essay p {
  color: #514b43;
}

.focus-item a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--teal-dark);
}

.topic-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: end;
  padding: 140px 40px 76px;
  overflow: hidden;
  color: var(--white);
  background: #07111f;
}

.topic-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.78) 46%, rgba(7, 17, 31, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.56) 0%, rgba(7, 17, 31, 0.12) 54%, rgba(7, 17, 31, 0.45) 100%);
}

.topic-hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.topic-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.topic-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.6;
}

.topic-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
}

.topic-panel,
.topic-article-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topic-panel,
.topic-article-copy {
  padding: 34px;
}

.topic-panel h2,
.topic-article-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.08;
}

.topic-panel p,
.topic-panel li,
.topic-article-card p {
  color: #514b43;
  font-size: 17px;
  line-height: 1.68;
}

.topic-panel ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.topic-article-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
}

.topic-article-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #07111f;
}

.topic-article-copy a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--teal-dark);
}

.topic-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.topic-principles div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.topic-principles div:last-child {
  border-right: 0;
}

.topic-principles span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.topic-principles strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.12;
}

.topic-principles p {
  color: #514b43;
  line-height: 1.56;
}

.thinking-section {
  border-top: 1px solid var(--line);
}

.ethics-section {
  border-top: 1px solid var(--line);
}

.ethics-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 28px;
  align-items: stretch;
}

.ethics-statement {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  min-height: 360px;
  padding: 34px;
  color: var(--paper-strong);
  background:
    linear-gradient(145deg, rgba(21, 20, 17, 0.96), rgba(36, 34, 30, 0.92)),
    var(--ink);
  border: 1px solid rgba(216, 182, 106, 0.3);
  box-shadow: var(--shadow);
}

.ethics-statement p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.35;
}

.standard-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(216, 182, 106, 0.7);
}

.standard-page {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 134px 0 92px;
}

.standard-page h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.standard-page .lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: #393631;
  font-size: 20px;
  line-height: 1.7;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.standard-card {
  min-height: 260px;
  padding: 30px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.standard-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.standard-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
}

.standard-card p {
  color: #514b43;
  font-size: 17px;
  line-height: 1.65;
}

.standard-callout {
  margin-top: 28px;
  padding: 30px;
  color: var(--paper-strong);
  background:
    linear-gradient(145deg, rgba(21, 20, 17, 0.96), rgba(36, 34, 30, 0.92)),
    var(--ink);
  border: 1px solid rgba(216, 182, 106, 0.3);
  box-shadow: var(--shadow);
}

.standard-callout p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.ethics-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.ethics-rules div {
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ethics-rules div:nth-child(2n) {
  border-right: 0;
}

.ethics-rules div:nth-child(3),
.ethics-rules div:nth-child(4) {
  border-bottom: 0;
}

.ethics-rules span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.ethics-rules strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
}

.ethics-rules p {
  margin: 12px 0 0;
  color: #514b43;
  line-height: 1.55;
}

.thinking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.feature-essay {
  padding: 36px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  position: relative;
}

.feature-essay::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(165, 117, 42, 0.24);
  pointer-events: none;
}

.status-pill {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: rgba(23, 107, 97, 0.08);
  border: 1px solid rgba(23, 107, 97, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-essay a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--teal-dark);
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list div {
  padding: 26px;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid rgba(216, 182, 106, 0.22);
  border-radius: 2px;
}

.signal-list span {
  display: block;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 40px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 22px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 118px 24px 60px;
  }

  .hero-content {
    padding-right: 38vw;
  }

  .section {
    width: min(100% - 32px, 720px);
    padding: 66px 0;
  }

  .intro-band {
    padding: 42px 24px;
  }

  .section-grid,
  .thinking-layout,
  .ethics-layout,
  .topic-layout,
  .topic-article-card,
  .topic-principles,
  .standard-grid {
    grid-template-columns: 1fr;
  }

  .topic-principles div,
  .topic-principles div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topic-principles div:last-child {
    border-bottom: 0;
  }

  .ethics-statement {
    min-height: 260px;
  }

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

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

  .focus-item:nth-child(2) {
    border-right: 0;
  }

  .focus-item:nth-child(1),
  .focus-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 92vh;
    padding-bottom: 34px;
    align-items: end;
  }

  .topic-hero {
    min-height: 82vh;
    padding: 120px 24px 44px;
  }

  .topic-hero h1 {
    font-size: 38px;
  }

  .topic-hero p {
    font-size: 17px;
  }

  .hero-photo {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 13, 23, 0.92) 0%, rgba(8, 13, 23, 0.72) 42%, rgba(8, 13, 23, 0.22) 100%),
      linear-gradient(0deg, rgba(8, 13, 23, 0.7) 0%, rgba(8, 13, 23, 0.2) 46%, rgba(8, 13, 23, 0.45) 100%);
  }

  .hero-content {
    width: min(calc(100vw - 48px), 340px);
    padding-right: 0;
    padding: 18px;
    background: rgba(8, 13, 23, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    backdrop-filter: blur(6px);
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.02;
  }

  .eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-copy,
  .section-grid p {
    font-size: 16px;
  }

  .hero-copy {
    margin-top: 12px;
    line-height: 1.5;
  }

  .credentials-line {
    font-size: 12px;
  }

  .focus-grid,
  .ethics-rules {
    grid-template-columns: 1fr;
  }

  .ethics-rules div,
  .ethics-rules div:nth-child(2n),
  .ethics-rules div:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ethics-rules div:last-child {
    border-bottom: 0;
  }

  .ethics-statement {
    min-height: auto;
    padding: 26px;
  }

  .ethics-statement p {
    font-size: 22px;
  }

  .focus-item {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-item:last-child {
    border-bottom: 0;
  }

  .contact-section,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    padding: 24px;
  }

  .standard-page {
    width: min(100% - 32px, 720px);
    padding-top: 116px;
  }
}
