:root {
  color-scheme: light;
  --ink: #191919;
  --muted: #65645f;
  --paper: #f4f1e9;
  --white: #fff;
  --line: #d7d2c6;
  --gold: #d49a16;
  --green: #23483b;
  --blue: #294c68;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  min-height: 70px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.96);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 118px);
  max-height: 940px;
  padding: clamp(48px, 8vh, 90px) 5vw;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: 0.92;
  font-weight: 600;
}

.lead {
  max-width: 700px;
  margin: 30px 0 0;
  color: #393834;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
}

.poster-preview {
  width: min(100%, 560px);
  margin: 0;
  justify-self: end;
}

.poster-preview a {
  display: block;
  border: 1px solid #bcb5a6;
  box-shadow: 0 26px 64px rgba(45, 40, 28, 0.18);
}

.poster-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.poster-preview figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.band,
.standards {
  padding: 92px 5vw;
}

.band {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr);
  gap: 7vw;
}

.definition {
  color: var(--white);
  background: var(--green);
}

.definition .eyebrow {
  color: #f2c866;
}

.section-heading h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.65;
}

.definition-copy {
  max-width: 800px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.5;
}

.definition-copy p:first-child {
  margin-top: 0;
}

.definition-copy p:last-child {
  color: #cbd8d2;
}

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

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

.standards-list article {
  min-height: 126px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.standards-list h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.standards-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.standards-list a {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.architecture {
  background: #e6e1d5;
}

.layers {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #bfb8aa;
}

.layers li {
  min-height: 74px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #bfb8aa;
  line-height: 1.45;
}

.layers span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.layers p {
  margin: 0;
}

.layers strong {
  min-width: 170px;
  display: inline-block;
}

footer {
  min-height: 100px;
  padding: 28px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #c9c7c0;
  background: var(--ink);
  font-size: 0.82rem;
}

footer a {
  color: var(--white);
}

@media (max-width: 820px) {
  .site-header {
    min-height: 62px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .poster-preview {
    width: min(84%, 520px);
    justify-self: center;
  }

  .band {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 540px) {
  .hero,
  .band,
  .standards {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .poster-preview {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .standards-list article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .layers li {
    padding: 18px 0;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .layers strong {
    min-width: 0;
    display: block;
  }

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