:root {
  --ink: #0d1514;
  --ink-soft: #21312f;
  --ivory: #f6f2e9;
  --paper: #fbfaf5;
  --mist: #e5ebe4;
  --teal: #1f6c64;
  --teal-dark: #123c39;
  --copper: #bd7650;
  --sage: #aebd9b;
  --line: rgba(13, 21, 20, 0.13);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(12, 21, 20, 0.18);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 32px;
  color: #fff;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 245, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.mark-frame,
.mark-spine,
.mark-signal {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.mark-frame {
  stroke: currentColor;
  stroke-width: 3.3;
}

.mark-spine {
  stroke: currentColor;
  stroke-width: 4.4;
}

.mark-signal {
  stroke: var(--copper);
  stroke-width: 3.4;
}

.mark-node {
  fill: var(--sage);
  stroke: currentColor;
  stroke-width: 2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 650;
  color: inherit;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: rgba(31, 108, 100, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

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

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 84svh;
  padding: 132px 0 74px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  inset: -10px 0;
  height: calc(100% + 20px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 21, 20, 0.9) 0%, rgba(13, 21, 20, 0.72) 34%, rgba(13, 21, 20, 0.22) 68%, rgba(13, 21, 20, 0.54) 100%),
    linear-gradient(0deg, rgba(13, 21, 20, 0.54), rgba(13, 21, 20, 0.05) 45%);
}

.hero-content {
  position: relative;
  max-width: var(--shell);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.05rem;
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 1.24rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.84);
}

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

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

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

.button-primary {
  color: var(--ink);
  background: #f6f2e9;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}

.intro-band {
  padding: 28px 0;
  color: var(--ivory);
  background: var(--ink);
  border-top: 1px solid var(--white-line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.intro-grid p {
  max-width: 760px;
  margin: 0;
  color: rgba(246, 242, 233, 0.84);
  font-size: 1.06rem;
  line-height: 1.7;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.signal-list div {
  padding: 16px 14px;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.signal-list dt {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 850;
}

.signal-list dd {
  margin: 6px 0 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 720;
}

.section {
  padding: 104px 0;
}

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

.section-warm {
  background: #efe6d9;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(189, 118, 80, 0.24), transparent 32%),
    linear-gradient(135deg, #0d1514 0%, #123c39 100%);
}

.section-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 76px;
}

.section-kicker {
  color: var(--teal);
}

.section-dark .section-kicker {
  color: var(--sage);
}

h2 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.section-lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(13, 21, 20, 0.68);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-dark p,
.section-dark .section-lede {
  color: rgba(255, 255, 255, 0.72);
}

.thesis-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.thesis-cards article,
.model-step,
.focus-list article {
  border-radius: 8px;
}

.thesis-cards article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 54px rgba(13, 21, 20, 0.06);
}

.thesis-cards span,
.model-step span,
.contact-card span {
  display: block;
  margin-bottom: 48px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.thesis-cards p,
.model-step p,
.focus-list p {
  margin: 16px 0 0;
  color: rgba(13, 21, 20, 0.66);
  font-size: 0.97rem;
  line-height: 1.62;
}

.model-heading {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 76px;
  align-items: start;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.model-step {
  min-height: 284px;
  padding: 28px;
  border: 1px solid var(--white-line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.model-step span {
  color: var(--sage);
}

.model-step p {
  color: rgba(255, 255, 255, 0.68);
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
  gap: 70px;
  align-items: start;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.focus-list article {
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(13, 21, 20, 0.14);
  background: rgba(251, 250, 245, 0.55);
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 72px;
  align-items: start;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(174, 189, 155, 0.22), transparent 42%),
    #fff;
  box-shadow: var(--shadow);
}

.proof-copy p {
  margin: 0;
  color: rgba(13, 21, 20, 0.68);
  font-size: 1.04rem;
  line-height: 1.72;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.metric-row div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--teal-dark);
  font-size: 1rem;
}

.metric-row span {
  margin-top: 8px;
  color: rgba(13, 21, 20, 0.62);
  font-size: 0.9rem;
  line-height: 1.48;
}

.contact-section {
  padding: 96px 0;
  color: #fff;
  background: var(--teal-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: 64px;
  align-items: center;
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
  line-height: 1.7;
}

.contact-section .eyebrow {
  color: var(--sage);
}

.contact-card {
  display: block;
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.46);
  outline: none;
}

.contact-card span {
  color: var(--sage);
}

.contact-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.34rem;
  line-height: 1.25;
}

.site-footer {
  padding: 28px 0;
  color: rgba(246, 242, 233, 0.72);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-inner a {
  text-decoration: none;
  color: #fff;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--sage);
  outline: none;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 18px 24px 24px;
    color: var(--ink);
    background: rgba(251, 250, 245, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(13, 21, 20, 0.16);
    transform: translateY(calc(-100% - 80px));
    transition: transform 200ms ease;
  }

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

  .site-nav a {
    min-height: 52px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.06rem;
  }

  .hero {
    min-height: 82svh;
    padding: 118px 0 58px;
  }

  .hero h1 {
    max-width: 590px;
    font-size: 3.8rem;
  }

  .hero-copy {
    max-width: 560px;
    font-size: 1.12rem;
  }

  .intro-grid,
  .section-grid,
  .model-heading,
  .focus-layout,
  .proof-panel,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 82px 0;
  }

  h2 {
    font-size: 2.45rem;
  }

  .thesis-cards,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .thesis-cards article,
  .model-step {
    min-height: auto;
  }

  .thesis-cards span,
  .model-step span,
  .contact-card span {
    margin-bottom: 34px;
  }

  .proof-panel {
    padding: 38px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .hero {
    min-height: 78svh;
    padding: 108px 0 44px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 21, 20, 0.93) 0%, rgba(13, 21, 20, 0.76) 58%, rgba(13, 21, 20, 0.3) 100%),
      linear-gradient(0deg, rgba(13, 21, 20, 0.65), rgba(13, 21, 20, 0.08) 50%);
  }

  .hero h1 {
    font-size: 2.95rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .signal-list,
  .focus-list,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  h2 {
    font-size: 2.1rem;
  }

  .section-lede,
  .contact-section p {
    font-size: 1rem;
  }

  .thesis-cards {
    margin-top: 30px;
  }

  .thesis-cards article,
  .model-step,
  .focus-list article {
    padding: 22px;
  }

  .proof-panel {
    padding: 26px;
  }

  .contact-section {
    padding: 72px 0;
  }

  .contact-card {
    min-height: 176px;
    padding: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
