@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap");

:root {
  --paper: #f5f0e6;
  --stock: #e9e2d3;
  --bone: #fffaf1;
  --ink: #090909;
  --muted: #5e594f;
  --red: #e2281a;
  --blue: #1544d8;
  --green: #c8f043;
  --white: #ffffff;
  --rule: 2px solid var(--ink);
  --gutter: clamp(1rem, 3vw, 2rem);
  --max: 1280px;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--ink);
}

.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;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--green);
  color: var(--ink);
  border: var(--rule);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

.concept-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem var(--gutter);
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.concept-bar a {
  color: var(--green);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  background: rgba(245, 240, 230, 0.96);
  border-bottom: var(--rule);
  backdrop-filter: blur(10px);
}

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

.brand img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--ink);
  background: var(--white);
}

.site-nav .nav-cta {
  border-color: var(--ink);
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: var(--rule);
  background: var(--bone);
  padding: 0.55rem;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100vh - 6.4rem));
  display: grid;
  align-items: end;
  border-bottom: var(--rule);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) var(--gutter) clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.hero-copy {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.feature h2,
.story h2,
.owner-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 10vw, 7.6rem);
  text-wrap: balance;
}

.hero-lede {
  max-width: 760px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.82rem 1.1rem;
  border: var(--rule);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

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

.button-secondary {
  background: var(--bone);
  color: var(--ink);
}

.race-card {
  background: var(--bone);
  border: var(--rule);
  box-shadow: 8px 8px 0 var(--red);
}

.race-card .eyebrow {
  padding: 1rem;
  margin: 0;
  background: var(--green);
  border-bottom: var(--rule);
}

.race-card a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  text-decoration: none;
  border-bottom: var(--rule);
}

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

.race-card strong {
  font-size: 1.05rem;
}

.race-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: var(--rule);
  background: var(--bone);
}

.trust-strip div {
  padding: clamp(1rem, 3vw, 1.6rem);
  border-right: var(--rule);
}

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

.trust-strip span,
.path-card span,
.race-board span {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.trust-strip p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.section,
.feature,
.story,
.owner-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}

.section-header {
  max-width: 860px;
  margin-bottom: 1.5rem;
}

.section-header.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 1.5rem;
  align-items: end;
}

.section h2,
.feature h2,
.story h2,
.owner-cta h2 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
}

.section-header p:last-child,
.feature-copy > p,
.story-copy p,
.owner-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--rule);
}

.path-card {
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-right: var(--rule);
  text-decoration: none;
  background: var(--bone);
}

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

.path-card:hover {
  background: var(--white);
}

.path-card h3 {
  margin: auto 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.path-card p {
  margin: 0;
  color: var(--muted);
}

.path-card.red span { color: var(--red); }
.path-card.blue span { color: var(--blue); }
.path-card.green span { color: #4f7400; }
.path-card.black {
  background: var(--ink);
  color: var(--bone);
}

.path-card.black p {
  color: #ddd5c7;
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: stretch;
  border-top: var(--rule);
  border-bottom: var(--rule);
  max-width: none;
  background: var(--stock);
}

.feature > * {
  max-width: 640px;
}

.feature-image {
  justify-self: end;
  width: 100%;
  border: var(--rule);
  background: var(--ink);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem;
  background: var(--bone);
  border: var(--rule);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-weight: 800;
  color: var(--red);
}

.steps strong,
.steps span {
  grid-column: 2;
}

.steps span {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.board-section {
  max-width: none;
}

.board-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.race-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--rule);
  background: var(--bone);
}

.race-board a {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
  text-decoration: none;
}

.race-board a:nth-child(4n) {
  border-right: 0;
}

.race-board a:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.race-board a:hover {
  background: var(--green);
}

.race-board strong {
  display: block;
  font-size: 1.08rem;
}

.race-board em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.story-copy {
  display: grid;
  gap: 1rem;
}

.story-photos {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 16rem 16rem;
  gap: 0.8rem;
}

.story-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--rule);
  background: var(--stock);
}

.story-photos img:first-child {
  grid-row: 1 / 3;
}

.info-panel {
  border-top: var(--rule);
  border-bottom: var(--rule);
  max-width: none;
  background: var(--ink);
  color: var(--bone);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.info-panel > * {
  max-width: 640px;
}

.info-panel .eyebrow,
.info-panel h2 {
  color: var(--bone);
}

.info-list {
  display: grid;
  gap: 0.8rem;
}

.info-list article {
  padding: 1rem;
  border: 2px solid var(--bone);
}

.info-list h3 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
}

.info-list p {
  margin: 0.55rem 0;
  color: #e5dccd;
}

.info-list a {
  color: var(--green);
  font-weight: 900;
}

.owner-cta {
  max-width: 980px;
  text-align: center;
}

.owner-cta .button {
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--gutter);
  background: var(--bone);
  border-top: var(--rule);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
}

.site-footer img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  gap: 0.8rem 1rem;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 1060px) {
  .site-nav {
    position: fixed;
    inset: calc(5rem + 28px) 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: var(--bone);
    border-bottom: var(--rule);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 3.5rem;
    padding: 0.9rem var(--gutter);
    border-top: var(--rule);
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .feature,
  .story,
  .info-panel,
  .section-header.split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .race-card {
    max-width: 520px;
  }

  .trust-strip,
  .path-grid,
  .race-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div:nth-child(2n),
  .path-card:nth-child(2n),
  .race-board a:nth-child(2n) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n + 2),
  .path-card:nth-child(-n + 2) {
    border-bottom: var(--rule);
  }

  .race-board a:nth-child(4n) {
    border-right: var(--rule);
  }

  .race-board a:nth-last-child(-n + 4) {
    border-bottom: var(--rule);
  }

  .race-board a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .feature > *,
  .info-panel > * {
    max-width: none;
  }

  .feature-image {
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  .concept-bar {
    display: block;
    font-size: 0.64rem;
  }

  .concept-bar a {
    display: inline-block;
    margin-top: 0.25rem;
  }

  .brand small {
    display: none;
  }

  .hero-grid {
    padding-top: 4rem;
  }

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

  .hero-actions,
  .inline-actions,
  .button {
    width: 100%;
  }

  .trust-strip,
  .path-grid,
  .race-board {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .path-card,
  .race-board a,
  .race-board a:nth-child(4n),
  .race-board a:nth-child(2n) {
    border-right: 0;
  }

  .trust-strip div,
  .path-card,
  .race-board a,
  .race-board a:nth-last-child(-n + 2) {
    border-bottom: var(--rule);
  }

  .trust-strip div:last-child,
  .path-card:last-child,
  .race-board a:last-child {
    border-bottom: 0;
  }

  .path-card {
    min-height: 16rem;
  }

  .feature-image img {
    min-height: 18rem;
  }

  .story-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .story-photos img,
  .story-photos img:first-child {
    grid-row: auto;
    height: 16rem;
  }

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

  .steps strong,
  .steps span {
    grid-column: auto;
  }

  .site-footer,
  .site-footer > div {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
