:root {
  --navy: #172130;
  --navy-soft: #263449;
  --olive: #727646;
  --olive-dark: #50562f;
  --blue: #536d92;
  --paper: #f6f3eb;
  --paper-deep: #ece7dc;
  --ink: #20242a;
  --muted: #676b70;
  --line: rgba(23, 33, 48, 0.17);
  --white: #fffefb;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 90% 5%, rgba(147, 169, 200, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, #f8f6f0 52%, var(--paper-deep) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

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

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  min-height: 164px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  width: 176px;
  height: auto;
}

.descriptor {
  display: grid;
  gap: 7px;
  text-align: right;
  color: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.descriptor span:last-child {
  color: var(--olive-dark);
}

main { padding-bottom: 84px; }

.hero {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 850px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-line {
  margin: 22px 0 0;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.hero-copy {
  max-width: 690px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.not-found-action {
  margin: 28px 0 0;
}

.not-found-action a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.not-found-action a:hover {
  color: var(--olive-dark);
}

.framework,
.discipline,
.current-phase,
.contact {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  margin-bottom: 54px;
}

.section-number {
  margin: 2px 0 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

h2 {
  margin: 0;
  max-width: 760px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.framework-grid article {
  min-height: 280px;
  padding: 34px;
  background: rgba(255, 254, 251, 0.72);
}

h3 {
  margin: 0 0 42px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.framework-grid p,
.current-phase > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

blockquote {
  max-width: 900px;
  margin: 0 0 0 80px;
  padding: 6px 0 6px 32px;
  border-left: 3px solid var(--olive);
  color: var(--navy-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.42;
}

.current-phase > p {
  max-width: 790px;
  margin-left: 80px;
  font-size: 1.12rem;
}

.email-link {
  display: inline-block;
  margin-left: 80px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--olive);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  text-decoration: none;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--olive-dark);
  border-color: var(--blue);
}

.brand:focus-visible {
  border-radius: 2px;
}

footer {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .site-shell { width: min(calc(100% - 28px), var(--max-width)); }

  .site-header {
    min-height: 132px;
    align-items: center;
  }

  .brand img { width: 142px; }

  .descriptor { display: none; }

  .hero {
    min-height: 500px;
    padding: 54px 0;
  }

  .framework,
  .discipline,
  .current-phase,
  .contact { padding: 68px 0; }

  .section-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    margin-bottom: 38px;
  }

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

  .framework-grid article {
    min-height: auto;
    padding: 28px;
  }

  h3 { margin-bottom: 18px; }

  blockquote,
  .current-phase > p,
  .email-link { margin-left: 44px; }

  blockquote { padding-left: 20px; }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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