:root {
  --paper: #f3efe6;
  --paper-light: #fbf9f4;
  --ink: #12242c;
  --ink-soft: #48585f;
  --line: rgba(18, 36, 44, 0.18);
  --blue: #215caf;
  --blue-deep: #163e75;
  --orange: #df5b2a;
  --sage: #b9d3c5;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  --max-width: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(185, 211, 197, 0.48), transparent 28rem),
    linear-gradient(90deg, rgba(18, 36, 44, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(18, 36, 44, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 42px 42px, 42px 42px, auto;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.58;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-mark span {
  display: block;
  background: var(--orange);
  border-radius: 3px 3px 0 0;
}

.brand-mark span:nth-child(1) {
  height: 42%;
}

.brand-mark span:nth-child(2) {
  height: 82%;
}

.brand-mark span:nth-child(3) {
  height: 58%;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.8rem);
}

.site-header nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: min(780px, calc(100vh - 92px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8.5rem) 0 clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: clamp(3.55rem, 6.7vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

h1 em {
  color: var(--orange);
  font-weight: 400;
}

.hero-intro {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.36rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 50px;
  padding: 0.82rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  border: 1px solid var(--ink);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-deep);
}

.button-secondary {
  background: rgba(251, 249, 244, 0.55);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: white;
  background: var(--blue);
}

.traffic-figure {
  position: relative;
  margin: 0;
  padding: 1.1rem 1.1rem 1.4rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: rgba(251, 249, 244, 0.72);
  box-shadow: 20px 20px 0 rgba(33, 92, 175, 0.09);
}

.traffic-figure::before {
  position: absolute;
  width: 230px;
  height: 230px;
  top: -120px;
  right: -90px;
  content: "";
  border: 1px solid rgba(223, 91, 42, 0.38);
  border-radius: 50%;
}

.figure-kicker {
  padding: 0 0.35rem 0.7rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.traffic-figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.grid path {
  fill: none;
  stroke: rgba(18, 36, 44, 0.095);
  stroke-width: 1;
}

.region-labels,
.figure-axis {
  fill: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.figure-axis path {
  stroke: var(--ink);
  stroke-width: 1.5;
}

.trace {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-trace 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.trace-2 {
  animation-delay: 160ms;
}

.trace-3 {
  animation-delay: 320ms;
}

.trace-4 {
  animation-delay: 480ms;
}

.signal-points circle:first-child {
  fill: rgba(223, 91, 42, 0.35);
}

.signal-dot {
  fill: var(--orange);
  stroke: var(--paper-light);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: signal-pulse 2.8s ease-in-out infinite;
}

.signal-dot-2 {
  animation-delay: 380ms;
}

.signal-dot-3 {
  animation-delay: 760ms;
}

.signal-dot-4 {
  animation-delay: 1140ms;
}

.traffic-figure figcaption {
  max-width: 540px;
  padding: 0.2rem 0.35rem 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.45;
}

.study-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  color: var(--paper-light);
  background: var(--ink);
}

.study-strip > div {
  min-height: 185px;
  padding: clamp(1.6rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.study-strip > div:last-child {
  border-right: 0;
}

.study-label {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.study-label strong {
  color: white;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stat strong {
  color: white;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat span {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 11rem) 0;
}

.section-heading {
  max-width: 790px;
}

.section-heading h2,
.scope-note h2 {
  margin-bottom: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.1vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.observation-list {
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--ink);
}

.observation {
  min-height: 220px;
  padding: 2.4rem 0;
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) 1.65fr;
  align-items: start;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.observation-number {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.observation > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(280px, 1.35fr);
  gap: clamp(2rem, 6vw, 8rem);
}

.observation h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.observation p {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.scope-note {
  padding: clamp(4rem, 7vw, 7.5rem) max(1.5rem, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 10rem);
  color: white;
  background:
    linear-gradient(115deg, rgba(33, 92, 175, 0.98), rgba(22, 62, 117, 0.98)),
    var(--blue);
}

.scope-note .eyebrow {
  color: var(--sage);
}

.scope-note h2 {
  margin-bottom: 0;
}

.scope-note > p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.method-steps {
  margin: clamp(4rem, 7vw, 7rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.method-steps li {
  min-height: 310px;
  padding: 2rem clamp(1.3rem, 2.5vw, 2.8rem) 2.4rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.method-steps li:last-child {
  border-right: 0;
}

.method-steps li > span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.method-steps h3 {
  margin: auto 0 1rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.method-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.access {
  padding-top: 4rem;
}

.access-grid {
  margin-top: clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  background: rgba(251, 249, 244, 0.62);
}

.access-card {
  min-height: 390px;
  padding: clamp(1.8rem, 3vw, 3.2rem);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease;
}

.access-card:last-child {
  border-right: 0;
}

.access-card:hover,
.access-card:focus-visible {
  color: white;
  background: var(--ink);
}

.access-type {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.access-card:hover .access-type,
.access-card:focus-visible .access-type {
  color: var(--sage);
}

.access-card h3 {
  margin: 3.5rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.access-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.access-card:hover p,
.access-card:focus-visible p {
  color: rgba(255, 255, 255, 0.72);
}

.access-link {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(3rem, 5vw, 5rem) max(1.5rem, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 3rem;
  color: var(--paper-light);
  background: var(--ink);
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.site-footer p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-links a {
  width: fit-content;
  font-size: 0.76rem;
  font-weight: 700;
  text-underline-offset: 0.22rem;
}

.footer-note {
  max-width: 360px;
}

.reveal {
  animation: reveal-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-delay-1 {
  animation-delay: 100ms;
}

.reveal-delay-2 {
  animation-delay: 200ms;
}

.reveal-delay-3 {
  animation-delay: 300ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-trace {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

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

  .traffic-figure {
    width: min(100%, 760px);
  }

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

  .study-strip > div:nth-child(2) {
    border-right: 0;
  }

  .study-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .method-steps li:nth-child(2) {
    border-right: 0;
  }

  .method-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .access-card {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .access-card:last-child {
    border-bottom: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    background-size: auto, 32px 32px, 32px 32px, auto;
  }

  .site-header {
    width: min(calc(100% - 2rem), var(--max-width));
    min-height: 78px;
  }

  .brand-copy small {
    display: none;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .section {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .hero {
    padding-top: 4.5rem;
    gap: 3.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .traffic-figure {
    padding: 0.8rem;
    box-shadow: 10px 10px 0 rgba(33, 92, 175, 0.09);
  }

  .study-strip {
    grid-template-columns: 1fr;
  }

  .study-strip > div {
    min-height: 145px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .study-strip > div:last-child {
    border-bottom: 0;
  }

  .observation {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
  }

  .observation > div {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .scope-note {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li {
    min-height: 235px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-steps li:last-child {
    border-bottom: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-note {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
