:root {
  --ink: #18130d;
  --muted: #655d50;
  --paper: #f3ead9;
  --paper-light: #fbf6eb;
  --line: #b9aa91;
  --line-soft: #d8ccb9;
  --navy: #12233d;
  --copper: #86451f;
  --page-width: 1060px;
  --page-gutter: clamp(1rem, 4vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 19, 13, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 34px;
  font-family: Baskerville, "Baskerville Old Face", "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  line-height: 1.58;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--navy);
  color: white;
  padding: 0.65rem 0.9rem;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 234, 217, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(var(--page-width), calc(100% - (2 * var(--page-gutter))));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.8rem;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--navy);
}

.brand span:last-child {
  font-size: 1.04rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  color: var(--copper);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 5.8vw, 5.15rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.eyebrow,
.section-kicker,
.step-label {
  margin: 0 0 0.85rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 740px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.hero-deck {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--navy);
  padding: 0.68rem 1rem;
  color: var(--navy);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  background: var(--navy);
  color: var(--paper-light);
}

.button:hover,
.button:focus {
  border-color: var(--copper);
  color: var(--copper);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--copper);
  color: white;
}

.hero,
.pillar-section,
.page-heading,
.content-grid,
.board-list,
.application-hero,
.application-timeline {
  width: min(var(--page-width), calc(100% - (2 * var(--page-gutter))));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(3rem, 6.5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 1060px;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3rem, 5.55vw, 5rem);
}

.text-block p,
.application-panel p,
.details-list {
  color: var(--muted);
}

.pillar-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-section {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.pillar-section article,
.application-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-left: 1px solid var(--line);
}

.pillar-section article:first-child,
.application-panel:first-child {
  border-left: 0;
}

.pillar-section span {
  display: block;
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pillar-section p,
.application-panel p {
  margin-bottom: 0;
}

.page-main {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-heading,
.application-hero {
  padding: clamp(3.8rem, 7vw, 6rem) 0 2rem;
}

.application-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: 1.6rem;
}

.application-timeline::before {
  content: "";
  position: absolute;
  left: calc((100% - (3 * clamp(1rem, 2.5vw, 2rem))) / 8);
  right: calc((100% - (3 * clamp(1rem, 2.5vw, 2rem))) / 8);
  top: 1.35rem;
  height: 1px;
  background: var(--line);
}

.application-timeline .application-panel {
  position: relative;
  padding-top: 3.2rem;
  border-left: 0;
  text-align: center;
}

.application-timeline .application-panel > * {
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

.application-timeline .application-panel::before {
  content: "";
  position: absolute;
  top: 0.92rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid var(--copper);
  background: var(--paper);
}

.application-timeline .application-panel:first-child::before {
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--paper);
}

.application-timeline h2 {
  white-space: nowrap;
}

.application-timeline .button {
  margin-top: 1.2rem;
}

.content-grid {
  display: block;
  border-top: 1px solid var(--line);
}

.text-block {
  max-width: 820px;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}

.resource-block {
  max-width: 820px;
  border-bottom: 0;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.winners-section {
  max-width: 1060px;
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--line);
}

.winners-section h2 {
  margin-bottom: 1.2rem;
}

.winner-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.winner-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.winner-table th,
.winner-table td {
  padding: 0.85rem 0.75rem 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.winner-table th:nth-child(1),
.winner-table td:nth-child(1) {
  width: 13%;
  white-space: nowrap;
}

.winner-table th:nth-child(2),
.winner-table td:nth-child(2) {
  width: 9%;
  white-space: nowrap;
}

.winner-table th:nth-child(3),
.winner-table td:nth-child(3) {
  width: 61%;
  white-space: nowrap;
}

.winner-table th:nth-child(4),
.winner-table td:nth-child(4) {
  width: 17%;
  white-space: nowrap;
}

.winner-table th {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.winner-table td {
  color: var(--muted);
  font-size: 0.92rem;
}

.winner-table td:nth-child(1),
.winner-table td:nth-child(2) {
  color: var(--navy);
  font-weight: 700;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.resource-links a {
  border-bottom: 1px solid var(--copper);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.board-list {
  border-top: 1px solid var(--line);
}

.board-list article {
  display: grid;
  grid-template-columns: minmax(160px, 0.23fr) minmax(0, 0.57fr) minmax(160px, 0.2fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.board-list h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.board-list p {
  margin: 0;
  color: var(--copper);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.board-list div {
  color: var(--muted);
  font-size: 0.96rem;
}

.details-list dt {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.details-list {
  margin: 0 0 1.4rem;
}

.details-list div {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.details-list dd {
  margin: 0;
}

.form-note {
  margin-top: 0.8rem !important;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--page-width), calc(100% - (2 * var(--page-gutter))));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (min-width: 1120px) {
  .hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1020px) {
  h1 {
    font-size: clamp(2.7rem, 7vw, 4.4rem);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 7.4vw, 4.6rem);
  }

  .application-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .application-timeline::before {
    display: none;
  }

  .application-timeline .application-panel {
    border-top: 1px solid var(--line-soft);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .brand span:last-child {
    max-width: min(48vw, 240px);
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--paper-light);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .pillar-section,
  .application-timeline,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .pillar-section article,
  .application-panel,
  .text-block {
    border-left: 0;
    border-right: 0;
  }

  .application-timeline {
    gap: 0;
  }

  .application-timeline .application-panel {
    padding-top: 1.15rem;
    padding-left: 2rem;
    text-align: left;
  }

  .application-timeline::before {
    display: block;
    left: 0.42rem;
    right: auto;
    top: 1.4rem;
    bottom: auto;
    width: 1px;
    height: calc(100% - 2.8rem);
  }

  .application-timeline .application-panel::before {
    top: 1.34rem;
    left: 0;
  }

  .application-timeline .application-panel > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .pillar-section article,
  .application-panel,
  .pillar-section article:first-child,
  .application-panel:first-child {
    border-top: 0;
  }

  .board-list article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .board-list p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16.5px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    line-height: 1.03;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .brand span:last-child {
    max-width: 150px;
    font-size: 0.9rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .lead {
    font-size: clamp(1.25rem, 6vw, 1.6rem);
  }

  .application-timeline h2 {
    white-space: normal;
  }

  .application-timeline .application-panel:first-child h2 {
    white-space: nowrap;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand span:last-child {
    display: none;
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    top: 66px;
  }
}
