:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --surface-2: #eee7dc;
  --ink: #171717;
  --muted: #686158;
  --line: #d7cdbf;
  --track: #7a4c2c;
  --green: #0f4d3c;
  --green-2: #17392f;
  --gold: #c79739;
  --red: #9e3d35;
  --shadow: 0 18px 50px rgba(31, 24, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 77, 60, 0.08), transparent 360px),
    var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 70px;
  content: "";
  background: rgba(18, 21, 20, 0.88);
  backdrop-filter: blur(16px);
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 13px;
}

.brand {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  box-shadow: 0 0 0 4px rgba(199, 151, 57, 0.2);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

main {
  margin-top: -70px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 32px;
  min-height: 560px;
  overflow: hidden;
  padding: 150px max(16px, calc((100% - 1180px) / 2)) 70px;
  color: #fff;
  isolation: isolate;
}

.hero.compact {
  min-height: 430px;
  padding-bottom: 56px;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(8, 12, 12, 0.96) 0%, rgba(9, 18, 16, 0.88) 34%, rgba(9, 18, 16, 0.34) 67%, rgba(8, 12, 12, 0.62) 100%),
    linear-gradient(0deg, rgba(7, 8, 8, 0.92), transparent 46%);
}

.hero::after {
  background:
    linear-gradient(135deg, rgba(199, 151, 57, 0.2), transparent 32%),
    linear-gradient(0deg, rgba(122, 76, 44, 0.44), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.04);
}

.hero > div {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px !important;
  color: #f4cf82;
  font-size: 12px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.primary-link {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  min-width: 190px;
  border: 1px solid rgba(244, 207, 130, 0.72);
  border-radius: 999px;
  padding: 13px 18px;
  background: rgba(23, 57, 47, 0.78);
  color: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.primary-link:hover {
  background: rgba(15, 77, 60, 0.95);
  text-decoration: none;
}

.metric-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.metric-strip span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.metric-strip span {
  border-color: rgba(244, 207, 130, 0.3);
  background: rgba(255, 253, 248, 0.93);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.breadcrumbs + .hero {
  margin-top: -118px;
  padding-top: 190px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.content-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.seo-intro {
  padding-bottom: 12px;
}

.seo-intro h2 {
  max-width: 780px;
}

.seo-intro p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 24px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: 0;
}

.list,
.stack {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-row,
.pick-row,
.race-card,
.recommendation {
  border: 1px solid rgba(46, 39, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.98)),
    var(--surface);
  box-shadow: var(--shadow);
}

.list-row,
.pick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px;
}

.pick-row {
  display: block;
  border-left: 4px solid var(--gold);
}

.row-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.list-row p,
.pick-row p,
.race-card p,
.recommendation p {
  margin: 5px 0 0;
  color: var(--muted);
}

.race-grid,
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.race-card,
.recommendation {
  padding: 19px;
}

.race-card {
  position: relative;
  overflow: hidden;
}

.race-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green), var(--gold), var(--red));
  content: "";
}

.race-card-head,
.recommendation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.race-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(215, 205, 191, 0.72);
  padding-top: 8px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 39, 31, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #24211d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

td small {
  display: block;
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .hero,
  .hero.compact {
    grid-template-columns: 1fr;
    min-height: 560px;
    padding-top: 140px;
  }

  .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 58% center;
  }

  .primary-link,
  .metric-strip {
    justify-self: start;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header {
    min-height: 104px;
    padding: 14px 0;
  }

  .site-header::before {
    height: 104px;
  }

  main {
    margin-top: -104px;
  }

  .hero,
  .hero.compact {
    min-height: 620px;
    padding-top: 172px;
    padding-bottom: 42px;
  }

  .hero-photo {
    object-fit: cover;
    object-position: 62% center;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .breadcrumbs {
    padding-top: 118px;
  }

  .breadcrumbs + .hero {
    margin-top: -156px;
    padding-top: 212px;
  }

  .list-row {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
