@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap");

:root {
  --ink: #102824;
  --ink-2: #163a34;
  --ink-3: #245047;
  --ivory: #f2f6f4;
  --paper: #ffffff;
  --muted: #5c716a;
  --muted-light: #aebdb6;
  --line: rgba(16, 40, 36, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --red: #c63e34;
  --red-dark: #8f2c26;
  --gold: #bd8d2d;
  --teal: #0d6e63;
  --page: clamp(22px, 5vw, 78px);
  --content: 1440px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-font: "Outfit", "DM Sans", system-ui, sans-serif;
}

.scanner-launch-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #23665e;
  background: #23665e;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.payment-proof-open { margin-top: 12px; }

.upi-scanner-dialog,
.payment-proof-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 28px);
  transform: translate(-50%, -50%);
  border: 1px solid #d5dfd9;
  padding: 24px;
  background: #fff;
  color: #182320;
  box-shadow: 0 20px 70px rgb(15 35 30 / 22%);
}

.upi-scanner-dialog[open],
.payment-proof-dialog[open] { display: block; }

.upi-scanner-dialog::backdrop,
.payment-proof-dialog::backdrop { background: rgb(17 31 28 / 58%); }

.upi-scanner-dialog img {
  display: block;
  width: min(72vw, 480px);
  max-height: calc(100vh - 100px);
  object-fit: contain;
}

.scanner-close-button {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d5dfd9;
  background: #fff;
  color: #263b35;
  font-size: 23px;
  cursor: pointer;
}

.payment-proof-dialog { width: min(520px, calc(100vw - 28px)); padding: 30px; }
.payment-proof-form { display: grid; gap: 14px; }
.payment-proof-form h3 { margin: 0; color: #183c36; font-size: 25px; line-height: 1.2; }
.payment-proof-form > p:not(.eyebrow):not(.form-status) { margin: -5px 0 2px; color: #61716b; font-size: 13px; line-height: 1.6; }
.payment-proof-form .eyebrow { margin: 0; color: #28756e; font-size: 10px; font-weight: 800; }
.payment-proof-form label { display: grid; gap: 7px; color: #263b35; font-size: 11px; font-weight: 800; }
.payment-proof-form input { min-width: 0; min-height: 45px; padding: 0 12px; border: 1px solid #cbd8d1; border-radius: 2px; background: #fff; color: #182320; font: inherit; }
.payment-proof-form input[readonly] { background: #f2f6f3; }
.proof-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.proof-actions .button { min-height: 44px; cursor: pointer; }
.proof-actions .button-secondary { border: 1px solid #cbd8d1; background: #fff; color: #263b35; }
#paymentProofStatus[data-tone="error"] { color: #a43732; }

@media (max-width: 560px) {
  .payment-proof-dialog { padding: 24px 18px; }
  .upi-scanner-dialog { padding: 15px; }
  .upi-scanner-dialog img { width: min(78vw, 420px); }
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
summary,
a {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--gold);
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--font);
  font-weight: 800;
  line-height: 0.98;
}

h1 {
  font-size: 88px;
}

h2 {
  font-size: 58px;
}

h3 {
  font-size: 38px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 20px;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  z-index: 35;
  top: 0;
  display: grid;
  min-height: 83px;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 0 var(--page);
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: 122px;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 3px 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.brand.is-india-rises {
  width: 230px;
  border-color: transparent;
  padding: 0;
  background: transparent;
}

.brand.is-india-rises img {
  width: 220px;
  height: 58px;
  object-fit: cover;
  object-position: center;
}

.main-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 2px;
  align-self: stretch;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.nav-group > button,
.nav-result {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0 14px;
  background: transparent;
  color: #171819;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.nav-group > button::after {
  content: "";
  width: 5px;
  height: 5px;
  margin: -3px 0 0 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.nav-group > button:hover,
.nav-group > button:focus-visible,
.nav-group.open > button,
.nav-group:hover > button,
.nav-result:hover,
.nav-result:focus-visible {
  color: var(--teal);
}

.nav-group.open > button::after,
.nav-group:hover > button::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-group > button::before,
.nav-result::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.nav-group.open > button::before,
.nav-group:hover > button::before,
.nav-group > button:focus-visible::before,
.nav-result:hover::before,
.nav-result:focus-visible::before {
  transform: scaleX(1);
}

.nav-dropdown {
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 0;
  display: grid;
  width: 320px;
  border-top: 4px solid var(--red);
  padding: 22px 24px 24px;
  background: rgba(12, 14, 15, 0.97);
  box-shadow: 0 22px 42px rgba(17, 18, 20, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  pointer-events: none;
}

.nav-dropdown-right {
  right: 0;
  left: auto;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown > small {
  margin-bottom: 13px;
  color: #8d908e;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-dropdown > a {
  display: grid;
  min-height: 50px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #f2f0eb;
  font-size: 12px;
  font-weight: 700;
}

.nav-dropdown > a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.nav-dropdown > a:hover,
.nav-dropdown > a:focus-visible {
  padding-left: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-login,
.header-register {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 18, 20, 0.24);
  border-radius: 4px;
  padding: 9px 15px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-login:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.header-register {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.header-register:hover {
  border-color: #b9362a;
  background: #b9362a;
}

.mobile-account-actions {
  display: none;
}

.mobile-account-actions[hidden],
.account-summary[hidden],
.account-menu[hidden] {
  display: none;
}

.account-summary {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.account-trigger > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.account-trigger > strong {
  max-width: 96px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 260px;
  border-top: 4px solid var(--teal);
  padding: 20px;
  background: #eaf3ee;
  color: var(--ink);
  box-shadow: 0 20px 42px rgba(17, 18, 20, 0.24);
}

.account-menu small {
  color: #999b98;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-menu > strong {
  margin: 4px 0 16px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.account-menu a,
.account-menu button {
  min-height: 42px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  background: transparent;
  color: #f4f1eb;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-menu a {
  display: flex;
  align-items: center;
}

.account-menu a:hover,
.account-menu button:hover {
  color: #e9bd56;
}

.account-dialog {
  width: min(920px, calc(100% - 40px));
  max-width: none;
  max-height: min(760px, calc(100svh - 40px));
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.account-dialog::backdrop {
  background: rgba(8, 10, 11, 0.76);
  backdrop-filter: blur(5px);
}

.account-dialog-shell {
  position: relative;
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
}

.account-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(17, 18, 20, 0.18);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.account-dialog-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 38px;
  background: #17191a;
  color: #fff;
}

.account-dialog-intro img {
  width: 100%;
  max-width: 330px;
  height: auto;
  margin: auto 0 42px;
}

.account-dialog-intro > p {
  max-width: 300px;
  margin-bottom: 24px;
  color: #d0cec8;
  font-size: 16px;
  line-height: 1.65;
}

.account-security {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b5b4af;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.account-security span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52a884;
  box-shadow: 0 0 0 4px rgba(82, 168, 132, 0.15);
}

.account-dialog-content {
  min-width: 0;
  padding: 54px 52px 46px;
  overflow-y: auto;
}

.account-dialog-heading small {
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.account-dialog-heading h2 {
  margin-top: 7px;
  font-size: 37px;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0 26px;
  border-bottom: 1px solid var(--line);
}

.account-tabs button {
  position: relative;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.account-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.account-tabs button.active {
  color: var(--ink);
}

.account-tabs button.active::after {
  transform: scaleX(1);
}

.account-form {
  display: grid;
  gap: 17px;
}

.account-form[hidden] {
  display: none;
}

.account-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: #2c2d2e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-form label > small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
  line-height: 1.45;
  text-transform: none;
}

.account-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(17, 18, 20, 0.2);
  border-radius: 3px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.account-form input:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(30, 119, 114, 0.13);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 64px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  border: 0;
  padding: 6px;
  background: transparent;
  color: var(--teal);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
  transform: translateY(-50%);
}

.account-form .account-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}

.account-check input {
  width: 16px;
  min-height: 16px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.account-submit {
  min-height: 50px;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.account-submit:hover {
  border-color: #b9362a;
  background: #b9362a;
}

.account-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.account-status {
  min-height: 22px;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.account-status[data-tone="error"] {
  color: #b83228;
}

.account-status[data-tone="success"] {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(17, 18, 20, 0.22);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  height: calc(100svh - 140px);
  min-height: 700px;
  max-height: 830px;
  grid-template-columns: 57% 43%;
  overflow: hidden;
  background: #f8faf9;
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 116px;
  left: 57%;
  display: block;
  width: 6px;
  background: var(--red);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 760px;
  padding: 30px 20px 150px var(--page);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--red-dark);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  color: #d4a23a;
  text-wrap: balance;
}

.hero h1::after {
  content: ".";
  color: var(--red);
}

.hero-intro {
  max-width: 550px;
  margin-bottom: 32px;
  color: #456158;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  border-color: #ed5d4d;
  background: #ed5d4d;
}

.button-quiet {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  background: var(--ink);
  color: #fff;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: #5c716a;
  font-size: 12px;
}

.availability > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59a777;
  box-shadow: 0 0 0 5px rgba(89, 167, 119, 0.13);
}

.availability strong {
  color: var(--ink);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 43%;
  overflow: hidden;
  background: #102824;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  background: var(--red);
  opacity: 1;
}

.hero-visual img {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 0;
  display: block;
  width: 78%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.92) contrast(1.04);
}

.hero-year {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -38px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 118px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(90deg) translateY(-50%);
}

.hero-facts {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 116px;
  grid-template-columns: repeat(4, minmax(110px, 0.8fr)) minmax(320px, 1.4fr);
  border-top: 3px solid var(--red);
  background: #0d2925;
  backdrop-filter: blur(14px);
}

.hero-facts > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts span,
.countdown small {
  color: #9c9993;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-facts strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.hero-facts .countdown-wrap {
  border-right: 0;
}

.countdown {
  display: flex;
  gap: 22px;
}

.countdown b {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 5px;
  font-weight: 700;
}

.countdown b strong {
  color: #fff;
  font-size: 25px;
}

.section {
  padding: 112px var(--page);
}

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

.section-label {
  display: flex;
  align-items: center;
  margin-bottom: 62px;
  color: #85817a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.light-label {
  color: #9f9c95;
}

.story {
  background: var(--ivory);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 90px;
  align-items: start;
}

.story-grid h2 {
  max-width: 760px;
}

.story-copy {
  padding-top: 31px;
}

.story-copy .lead {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.55;
}

.story-copy p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics > div {
  display: grid;
  min-height: 148px;
  align-content: center;
  gap: 4px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metrics > div:first-child {
  padding-left: 0;
}

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

.metrics strong {
  color: var(--red-dark);
  font-size: 43px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.sponsors {
  width: 100%;
  min-width: 0;
  background: #fff;
}

.sponsors[hidden] {
  display: none;
}

.sponsor-main {
  display: grid;
  min-height: 82svh;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
}

.sponsor-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 90px var(--page);
  background: #101415;
  color: #fff;
}

.sponsor-heading .section-label {
  margin-bottom: auto;
}

.sponsor-heading h2 {
  margin: 28px 0 0;
  font-size: 54px;
}

.sponsor-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 44px;
  padding: 80px var(--page);
  border-top: 5px solid #ad272b;
  background: #fff;
  color: #101d2c;
}

.sponsor-lockup img {
  display: block;
  width: min(580px, 82%);
  max-height: 360px;
  object-fit: contain;
}

.sponsor-lockup span {
  padding-bottom: 7px;
  border-bottom: 1px solid #ad272b;
  font-size: 18px;
  font-weight: 800;
}

.sponsor-lockup:hover span,
.sponsor-lockup:focus-visible span {
  color: #ad272b;
}

.sponsor-reserve {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  gap: 58px;
  padding: 112px var(--page);
  border-top: 1px solid var(--line);
  background: #edf0ed;
}

.sponsor-reserve-heading {
  display: flex;
  width: min(100%, var(--content));
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.sponsor-reserve-heading .section-label {
  margin: 0;
}

.sponsor-reserve-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sponsor-reserve-grid {
  display: grid;
  width: min(100%, var(--content));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid #c8cfca;
  border-left: 1px solid #c8cfca;
}

.future-sponsor-slot {
  display: grid;
  min-height: 190px;
  place-items: center;
  border-right: 1px solid #c8cfca;
  border-bottom: 1px solid #c8cfca;
  color: #8b928e;
}

.future-sponsor-slot span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.contests {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 80px;
  align-items: end;
}

.section-heading .section-label {
  margin-bottom: 54px;
}

.section-heading > p {
  max-width: 500px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.light-heading > p {
  color: #aaa69e;
}

.contest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
}

.contest-card {
  position: relative;
  display: flex;
  min-height: 550px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 6px;
  padding: 28px;
  background: #193f38;
  transition: transform 200ms ease, border-color 200ms ease;
}

.contest-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--gold);
}

.contest-card.genz::before {
  background: var(--red);
}

.contest-card.millennial::before {
  background: #2b928b;
}

.contest-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.42);
}

.contest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 76px;
}

.contest-top > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #d0ccc4;
  font-size: 11px;
}

.contest-top small {
  color: #aaa69e;
  font-size: 10px;
  font-weight: 800;
}

.contest-card h3 {
  margin-bottom: 24px;
}

.contest-card > p {
  max-width: 390px;
  margin-bottom: 30px;
  color: #aaa69e;
  font-size: 14px;
  line-height: 1.7;
}

.prizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.prizes span {
  display: grid;
  gap: 6px;
  padding: 18px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: #8f8c87;
  font-size: 10px;
  text-transform: uppercase;
}

.prizes span:first-child {
  padding-left: 0;
}

.prizes span:last-child {
  border-right: 0;
}

.prizes strong {
  color: #fff;
  font-size: 14px;
}

.contest-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.contest-card > a span {
  color: var(--gold);
  font-size: 20px;
}

.genz > a span {
  color: #ef6658;
}

.millennial > a span {
  color: #52b2aa;
}

.route {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(380px, 0.72fr) minmax(0, 1.28fr);
  gap: 65px;
  background: #163a34;
  color: #fff;
}

.route > * {
  max-width: none;
  margin: 0;
}

.route-copy {
  align-self: center;
  max-width: 520px;
}

.route-copy .section-label {
  margin-bottom: 70px;
}

.route-copy h2 {
  margin-bottom: 24px;
}

.route-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 40px;
  color: #b9c2bf;
  font-size: 15px;
  line-height: 1.75;
}

.route-data {
  margin: 0 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.route-data > div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.route-data dt {
  color: #8fa29e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-data dd {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.pune-route-switch {
  display: grid;
  width: min(100%, 520px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
}

.pune-route-switch[hidden] {
  display: none;
}

.pune-route-switch button {
  min-width: 0;
  border: 0;
  padding: 11px 10px;
  background: transparent;
  color: #cdc9c1;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.pune-route-switch button + button {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pune-route-switch button span {
  display: block;
  margin-top: 2px;
  color: #e1b856;
  font-size: 10px;
}

.pune-route-switch button.active {
  background: var(--paper);
  color: var(--ink);
}

.pune-route-switch button.active span {
  color: var(--red-dark);
}

.route-map {
  align-self: center;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: #fff;
}

.route-map img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #fff;
}

.route-map figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 19px;
  border-top: 1px solid #e2e2df;
  background: var(--paper);
  color: var(--ink);
}

.route-map figcaption span {
  font-size: 12px;
  font-weight: 800;
}

.route-map figcaption small {
  color: var(--muted);
  font-size: 10px;
}

.runner-hub {
  background: #edf0ed;
}

.runner-hub-heading {
  margin-bottom: 68px;
}

.runner-hub-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  border-top: 5px solid var(--red-dark);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(17, 18, 20, 0.08);
}

.hub-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

.hub-tabs button {
  min-height: 78px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 18px 22px;
  background: transparent;
  color: #c9c5bd;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.hub-tabs button:hover,
.hub-tabs button:focus-visible {
  color: #fff;
}

.hub-tabs button.active {
  background: var(--paper);
  color: var(--ink);
}

.hub-panel-wrap {
  min-width: 0;
  min-height: 610px;
}

.hub-panel {
  padding: 42px;
}

.hub-panel[hidden] {
  display: none;
}

.hub-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.hub-panel-heading small,
.confirmation-title small,
.guide-summary small,
.checklist-heading small,
.pace-primary small,
.pace-splits > small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hub-panel-heading h3 {
  font-size: 32px;
  line-height: 1;
}

.hub-panel-heading > span {
  flex: 0 0 auto;
  padding: 8px 10px;
  background: #e8ece8;
  color: #2f4f4b;
  font-size: 10px;
  font-weight: 850;
}

.status-lookup,
.pace-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding: 28px 0 22px;
}

.status-lookup label,
.pace-form label {
  display: grid;
  gap: 8px;
  color: #353737;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-lookup input,
.pace-form input,
.pace-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #c9cdca;
  border-radius: 3px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.status-lookup input:focus,
.pace-form input:focus,
.pace-form select:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(30, 119, 114, 0.16);
  outline-offset: 0;
}

.status-lookup button,
.pace-form button,
.print-confirmation {
  min-height: 50px;
  border: 1px solid var(--red);
  border-radius: 3px;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.status-lookup button:hover,
.pace-form button:hover,
.print-confirmation:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.status-lookup button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hub-status {
  min-height: 22px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hub-status[data-tone="error"] {
  color: #b83228;
}

.hub-status[data-tone="success"] {
  color: #16705c;
}

.confirmation-card {
  border: 1px solid #d7d6d0;
  border-top: 4px solid var(--teal);
  padding: 28px;
  background: #fffdf8;
}

.confirmation-card[hidden] {
  display: none;
}

.confirmation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.confirmation-top img {
  display: block;
  width: min(260px, 58%);
  height: auto;
}

.confirmation-top span {
  padding: 8px 11px;
  background: #dff0ea;
  color: #17644f;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.confirmation-title {
  padding: 25px 0;
}

.confirmation-title h3 {
  margin-bottom: 8px;
  font-size: 29px;
}

.confirmation-title p {
  margin-bottom: 0;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
}

.confirmation-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.confirmation-data div {
  min-width: 0;
  padding: 17px 14px;
  border-right: 1px solid var(--line);
}

.confirmation-data div:first-child {
  padding-left: 0;
}

.confirmation-data div:last-child {
  border-right: 0;
}

.confirmation-data dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.confirmation-data dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.confirmation-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 20px 0;
}

.confirmation-readiness span {
  padding: 8px 10px;
  border: 1px solid #cad8d2;
  color: #315a50;
  font-size: 10px;
  font-weight: 800;
}

.payment-invoice {
  margin: 2px 0 20px;
  border: 1px solid #d7d6d0;
  padding: 20px;
  background: #ffffff;
}

.invoice-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.invoice-heading small,
.invoice-meta small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.invoice-heading h4 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}

.invoice-heading > span {
  border: 1px solid #d8c69c;
  padding: 7px 9px;
  background: #fff8e5;
  color: #7b5a18;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-invoice.is-paid .invoice-heading > span {
  border-color: #b9d8cb;
  background: #e8f4ef;
  color: #17644f;
}

.invoice-pending {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.invoice-content[hidden],
.invoice-pending[hidden],
.print-invoice[hidden] {
  display: none;
}

.invoice-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.invoice-meta > div:last-child {
  text-align: right;
}

.invoice-meta strong {
  color: var(--ink);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.invoice-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.invoice-data > div {
  min-width: 0;
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--line);
}

.invoice-data > div:nth-child(even) {
  padding-right: 0;
  padding-left: 12px;
}

.invoice-data dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.invoice-data dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}

.invoice-data .invoice-total dd {
  color: var(--red-dark);
  font-size: 17px;
  font-weight: 900;
}

.invoice-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
}

.invoice-footer p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--ink);
  font-size: 10px;
}

.invoice-footer small {
  max-width: 250px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.print-confirmation {
  min-height: 44px;
  background: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 640px) {
  .payment-invoice {
    padding: 16px;
  }

  .invoice-heading,
  .invoice-meta,
  .invoice-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .invoice-meta > div:last-child,
  .invoice-footer small {
    text-align: left;
  }

  .invoice-data {
    grid-template-columns: 1fr;
  }

  .invoice-data > div:nth-child(even) {
    padding-left: 0;
  }

  .confirmation-actions,
  .confirmation-actions .print-confirmation {
    width: 100%;
  }
}

.guide-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
  border: 1px solid #cfd2cf;
  border-radius: 4px;
  overflow: hidden;
}

.guide-switch button {
  min-width: 0;
  min-height: 56px;
  border: 0;
  padding: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.guide-switch button + button {
  border-left: 1px solid #cfd2cf;
}

.guide-switch button span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.guide-switch button.active {
  background: var(--ink);
  color: #fff;
}

.guide-switch button.active span {
  color: var(--gold);
}

.guide-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-summary > div {
  padding: 19px 20px 19px 0;
}

.guide-summary > div + div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.guide-summary strong {
  display: block;
  font-size: 15px;
}

.race-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.checklist-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.checklist-heading strong {
  font-size: 17px;
}

.checklist-heading > span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
}

.race-checklist label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.race-checklist input {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
}

.time-input {
  position: relative;
  display: block;
}

.time-input input {
  padding-right: 74px;
}

.time-input small {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-size: 10px;
  transform: translateY(-50%);
}

.pace-result {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 0.62fr);
  margin-top: 12px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.pace-result[hidden] {
  display: none;
}

.pace-primary {
  display: flex;
  min-height: 230px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
  padding: 28px;
  background: #1e2928;
  color: #fff;
}

.pace-primary small {
  color: #aab8b5;
}

.pace-primary strong {
  margin: 12px 0 7px;
  color: var(--gold);
  font-size: 48px;
  line-height: 1;
}

.pace-primary span {
  color: #b9c2bf;
  font-size: 11px;
}

.pace-splits {
  padding: 28px;
}

.pace-splits ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pace-splits li {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.pace-splits li span {
  color: var(--muted);
  font-weight: 700;
}

.pace-splits li strong {
  font-size: 13px;
}

.guide-search {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  color: #454440;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-search input {
  min-height: 52px;
  border-color: #c9cdca;
  background: #fff;
}

.information-directory {
  display: grid;
  min-height: 420px;
  grid-template-columns: 260px minmax(0, 1fr);
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.information-menu {
  max-height: 520px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #f0f2ef;
  scrollbar-width: thin;
}

.information-menu button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  background: transparent;
  color: #5e625f;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.information-menu button:hover,
.information-menu button:focus-visible {
  background: #e5e9e5;
  color: var(--ink);
}

.information-menu button.active {
  border-left: 4px solid var(--red);
  padding-left: 12px;
  background: var(--ink);
  color: #fff;
}

.information-empty {
  padding: 20px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.information-article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 38px;
}

.information-article > small,
.service-form-title small,
.tool-heading small {
  margin-bottom: 10px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.information-article h4,
.service-form-title h4 {
  margin: 0;
  font-size: 27px;
  line-height: 1.12;
}

.information-article > p {
  max-width: 720px;
  margin: 19px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.information-article ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.information-article li {
  position: relative;
  padding-left: 19px;
  color: #3f4240;
  font-size: 13px;
  line-height: 1.55;
}

.information-article li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 2px;
  background: var(--teal);
}

.information-article > a {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 2px solid var(--red);
  padding: 8px 0 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.bib-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 40px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.bib-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.bib-intro dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.bib-intro dl div {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.bib-intro dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.bib-intro dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.service-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px 0 0;
  border: 1px solid var(--line);
}

.service-switch button {
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #edf0ed;
  color: #5d625e;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.service-switch button:last-child {
  border-right: 0;
}

.service-switch button.active {
  background: var(--ink);
  color: #fff;
}

.service-form {
  display: grid;
  gap: 17px;
  padding-top: 28px;
}

.service-form[hidden] {
  display: none;
}

.service-form-title {
  display: grid;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.service-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.service-form label,
.results-tool label {
  display: grid;
  gap: 7px;
  color: #454440;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-form input,
.service-form select,
.service-form textarea,
.results-tool input {
  min-height: 48px;
  border-color: #c8ccc8;
  border-radius: 3px;
}

.service-form > button,
.results-tool button {
  min-height: 50px;
  border: 0;
  border-radius: 3px;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.service-form > button:hover,
.results-tool button:hover {
  background: #ed5d4d;
}

.service-form > button:disabled,
.results-tool button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.service-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  text-transform: none !important;
}

.service-consent input,
.pledge-list input {
  width: 17px;
  min-height: 17px;
  padding: 0;
  accent-color: var(--teal);
}

.service-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.service-status[data-tone="error"] {
  color: #b8322a;
}

.service-status[data-tone="success"] {
  color: #24705f;
  font-weight: 700;
}

.event-updates {
  background: #12342f;
  color: #fff;
}

.updates-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: 80px;
  align-items: end;
}

.updates-heading .section-label {
  margin-bottom: 54px;
}

.update-feed {
  border-top: 1px solid var(--line-light);
}

.update-feed article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.update-feed time {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.update-feed strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.update-feed p {
  margin: 0;
  color: #a9aaa7;
  font-size: 12px;
  line-height: 1.55;
}

.outcome-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.results-tool,
.initiative-tool {
  min-width: 0;
  padding: 36px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.tool-heading small {
  display: block;
  color: #d6ad51;
}

.tool-heading h3 {
  font-size: 30px;
  line-height: 1.08;
}

.results-tool > p,
.initiative-tool > p {
  margin: 19px 0 25px;
  color: #aaa9a5;
  font-size: 13px;
  line-height: 1.65;
}

.results-tool form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.results-tool label {
  color: #d0cdc6;
}

.results-tool button {
  grid-column: 1 / -1;
}

.pledge-list {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.pledge-list label {
  display: grid;
  min-height: 54px;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-light);
  color: #cfcec9;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
  text-transform: none;
}

.pledge-progress {
  margin-bottom: 0 !important;
  color: #70b6ad !important;
  font-weight: 750;
}

.race-day-utilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.race-day-utilities a {
  display: grid;
  min-height: 108px;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 20px 24px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.race-day-utilities small {
  grid-column: 1 / -1;
  color: #898b87;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.race-day-utilities strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.race-day-utilities span {
  color: var(--gold);
}

.race-day-utilities a:hover {
  background: #1a1d1f;
}

.schedule {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 76px;
  margin-bottom: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 260px;
  padding: 30px 24px 24px 0;
  border-right: 1px solid var(--line);
}

.timeline li:not(:first-child) {
  padding-left: 24px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.timeline li:not(:first-child)::before {
  left: 24px;
}

.timeline time {
  display: block;
  margin-bottom: 48px;
  font-size: 28px;
  font-weight: 850;
}

.timeline li > span {
  display: block;
  margin-bottom: 9px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 850;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.timeline p {
  max-width: 180px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.register {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(320px, 0.78fr) minmax(550px, 1.22fr);
  gap: 80px;
  background: #173c36;
  color: #fff;
}

.register > * {
  max-width: none;
  margin: 0;
}

.register-intro {
  align-self: start;
  max-width: 540px;
  padding-top: 12px;
}

.register-intro .section-label {
  margin-bottom: 70px;
}

.register-intro h2 {
  margin-bottom: 28px;
}

.register-intro > p:not(.eyebrow) {
  max-width: 480px;
  color: #c4b7b4;
  font-size: 15px;
  line-height: 1.75;
}

.register-notes {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.register-notes span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #d3c9c6;
  font-size: 13px;
}

.register-notes b {
  color: #f0c866;
  font-size: 10px;
}

.form-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 30px;
  border-bottom: 1px solid var(--line);
  background: #ece6db;
}

.form-title small {
  display: block;
  margin-bottom: 5px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.form-title h3 {
  font-size: 26px;
}

.form-title > span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

#registrationForm {
  display: grid;
  gap: 17px;
  padding: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #454440;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

label small {
  color: #8c8982;
  font-size: 10px;
  font-weight: 550;
  text-transform: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 49px;
  border: 1px solid #cbc7bf;
  border-radius: 4px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 82px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 68, 53, 0.11);
}

input::placeholder,
textarea::placeholder {
  color: #aaa69e;
}

.selection-summary {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: -7px;
  border-left: 3px solid #c9c5bc;
  padding: 10px 12px;
  background: #f0ece4;
  color: #716f6a;
  font-size: 11px;
}

.selection-summary.active {
  border-left-color: var(--teal);
  color: var(--ink);
}

.selection-summary strong {
  flex: 0 0 auto;
  color: var(--teal);
}

.terms {
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: start;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.55;
  text-transform: none;
}

.terms input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--red);
}

.submit-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 4px;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
  background: #ed5d4d;
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 22px;
  margin-bottom: -6px;
  color: var(--muted);
  font-size: 12px;
}

.form-status[data-tone="error"] {
  color: #b8322a;
}

.form-status[data-tone="success"] {
  color: #24705f;
  font-weight: 700;
}

.faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(480px, 1.3fr);
  gap: 100px;
  background: var(--ivory);
}

.faq > * {
  max-width: none;
  margin: 0;
}

.faq-intro .section-label {
  margin-bottom: 70px;
}

.faq-intro h2 {
  margin-bottom: 25px;
}

.faq-intro > p:last-child {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  align-self: center;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 750;
}

.faq-list summary span {
  color: var(--red-dark);
  font-size: 22px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 55px 24px 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.closing {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px var(--page);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.closing h2 {
  margin-bottom: 35px;
  font-size: 64px;
}

.site-footer {
  padding: 48px var(--page) 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: #091f1c;
  color: #fff;
}

.footer-main,
.footer-bottom {
  max-width: var(--content);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 180px minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 45px;
}

.footer-brand {
  display: inline-flex;
  width: 170px;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 5px 8px;
  background: #fff;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: center;
}

.footer-brand.is-india-rises {
  padding: 0;
  background: transparent;
}

.footer-brand.is-india-rises img {
  width: 170px;
  object-fit: cover;
}

.footer-main > p {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.footer-main > p span {
  color: #8f8c87;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a,
.footer-phone {
  color: #b5b1a9;
  font-size: 12px;
  font-weight: 650;
}

.footer-links a:hover,
.footer-phone:hover {
  color: #fff;
}

.footer-phone {
  color: #f0c866;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #787570;
  font-size: 10px;
  text-transform: uppercase;
}

.footer-bottom a:hover {
  color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 50px;
  }

  .site-header {
    grid-template-columns: 122px minmax(0, 1fr) auto;
    gap: 20px;
  }

  .main-nav {
    gap: 0;
  }

  .nav-group > button,
  .nav-result {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 10px;
  }

  .hero-copy {
    padding-bottom: 145px;
  }

  .hero-facts {
    grid-template-columns: repeat(4, minmax(90px, 1fr)) minmax(260px, 1.3fr);
  }

  .hero-facts > div {
    padding: 18px;
  }

  .story-grid,
  .section-heading {
    gap: 55px;
  }

  .sponsor-main {
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  }

  .contest-card {
    min-height: 570px;
    padding: 24px;
  }

  .route,
  .register,
  .faq {
    gap: 55px;
  }

  .runner-hub-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .hub-panel {
    padding: 34px;
  }

  .information-directory {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .information-article {
    padding: 30px;
  }

  .confirmation-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .confirmation-data div:nth-child(2) {
    border-right: 0;
  }

  .confirmation-data div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-main {
    grid-template-columns: 170px 1fr auto;
  }

  .footer-links {
    display: none;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(17, 18, 20, 0.1);
}

@media (max-width: 940px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 46px;
  }

  .site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
    min-height: 76px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .main-nav {
    position: absolute;
    z-index: 40;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 0;
    padding: 0 var(--page);
    background: #111214;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease;
  }

  .main-nav.open {
    max-height: calc(100svh - 76px);
    padding-top: 8px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-light);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-group {
    display: block;
  }

  .nav-group > button,
  .nav-result {
    display: flex;
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 0;
    color: #f1eee8;
    font-size: 13px;
    text-align: left;
  }

  .nav-group > button::before,
  .nav-result::before {
    display: none;
  }

  .nav-group > button::after {
    margin-right: 5px;
  }

  .nav-dropdown,
  .nav-dropdown-right {
    position: static;
    display: none;
    width: 100%;
    border-top: 0;
    padding: 6px 0 14px 18px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-group.open .nav-dropdown {
    display: grid;
  }

  .nav-dropdown > small {
    margin: 10px 0 7px;
    color: #7e817e;
  }

  .nav-dropdown > a {
    min-height: 47px;
    padding: 0;
    font-size: 12px;
  }

  .nav-dropdown > a:hover,
  .nav-dropdown > a:focus-visible {
    padding-left: 6px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: calc(100svh - 140px);
    min-height: 740px;
  }

  .hero-copy {
    max-width: 680px;
    padding-bottom: 210px;
  }

  .hero-visual {
    width: 48%;
    opacity: 1;
  }

  .hero-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-facts .countdown-wrap {
    display: none;
  }

  .story-grid,
  .route,
  .register,
  .faq {
    grid-template-columns: 1fr;
  }

  .runner-hub-shell {
    grid-template-columns: 1fr;
  }

  .hub-tabs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    scrollbar-width: none;
  }

  .hub-tabs::-webkit-scrollbar {
    display: none;
  }

  .hub-tabs button {
    flex: 1 0 116px;
    min-height: 62px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    padding: 13px 16px;
    text-align: center;
  }

  .hub-tabs button:last-child {
    border-right: 0;
  }

  .status-lookup,
  .pace-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .updates-heading {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .outcome-tools {
    grid-template-columns: 1fr;
  }

  .status-lookup button,
  .pace-form button {
    grid-column: 1 / -1;
  }

  .sponsor-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-copy {
    max-width: 720px;
    padding-top: 0;
  }

  .sponsor-heading {
    min-height: 350px;
    padding: 70px var(--page);
  }

  .sponsor-lockup {
    min-height: 470px;
  }

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

  .contest-card {
    min-height: 440px;
  }

  .contest-top {
    margin-bottom: 48px;
  }

  .route-copy,
  .register-intro {
    max-width: 720px;
  }

  .route-map {
    width: 100%;
  }

  .timeline {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 2px solid var(--ink);
  }

  .timeline li,
  .timeline li:not(:first-child) {
    display: grid;
    min-height: 0;
    grid-template-columns: 100px 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    padding: 24px 0 24px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li::before,
  .timeline li:not(:first-child)::before {
    top: 31px;
    left: -7px;
  }

  .timeline time {
    grid-row: 1 / 3;
    margin-bottom: 0;
    font-size: 25px;
  }

  .timeline li > span {
    grid-column: 2;
    margin: 3px 0 0;
  }

  .timeline strong {
    grid-column: 3;
    margin-bottom: 4px;
  }

  .timeline p {
    grid-column: 3;
    max-width: none;
  }

  .faq-list {
    width: 100%;
  }
}

@media (max-width: 680px) {
  :root {
    --page: 20px;
  }

  h1 {
    font-size: 48px;
    line-height: 1;
  }

  h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  h3 {
    font-size: 31px;
  }

  .site-header {
    min-height: 72px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand {
    width: 108px;
    min-height: 58px;
    padding: 3px 6px;
  }

  .brand img {
    height: 50px;
  }

  .brand.is-india-rises {
    width: 170px;
  }

  .brand.is-india-rises img {
    width: 164px;
    height: 50px;
  }

  .header-login,
  .header-register {
    display: none;
  }

  .mobile-account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 20px;
  }

  .mobile-account-actions button {
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-account-actions button:last-child {
    border-color: var(--red);
    background: var(--red);
  }

  .account-trigger > strong {
    display: none;
  }

  .account-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }

  .account-dialog-shell {
    display: block;
    min-height: 0;
  }

  .account-dialog-intro {
    min-height: 138px;
    padding: 25px 58px 24px 24px;
  }

  .account-dialog-intro img {
    width: 235px;
    margin: 0 0 15px;
  }

  .account-dialog-intro > p {
    display: none;
  }

  .account-security {
    font-size: 9px;
  }

  .account-dialog-content {
    max-height: calc(100svh - 174px);
    padding: 28px 24px 32px;
  }

  .account-dialog-heading h2 {
    font-size: 31px;
  }

  .account-tabs {
    margin: 21px 0 23px;
  }

  .account-form-row {
    grid-template-columns: 1fr;
  }

  .main-nav {
    top: 100%;
  }

  .hero {
    height: calc(100svh - 120px);
    min-height: 700px;
    grid-template-columns: 1fr;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    align-self: start;
    padding-top: 66px;
    padding-right: 28px;
    padding-bottom: 210px;
  }

  .hero-intro {
    max-width: 440px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .hero-actions .button-quiet {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    right: -28%;
    width: 100%;
    opacity: 0.09;
  }

  .hero-visual img {
    right: 0;
    width: 88%;
  }

  .hero-year {
    display: none;
  }

  .hero-facts {
    min-height: 148px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts > div {
    gap: 4px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .hero-facts > div:nth-child(3),
  .hero-facts > div:nth-child(4) {
    border-bottom: 0;
  }

  .hero-facts > div:nth-child(4) {
    border-right: 0;
  }

  .hero-facts strong {
    font-size: 16px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-label,
  .story .section-label,
  .route-copy .section-label,
  .runner-hub-heading .section-label,
  .register-intro .section-label,
  .faq-intro .section-label {
    margin-bottom: 46px;
  }

  .story-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-copy .lead {
    font-size: 18px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 56px;
  }

  .metrics > div {
    min-height: 112px;
    padding: 18px;
  }

  .metrics > div:first-child {
    padding-left: 18px;
  }

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

  .metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metrics strong {
    font-size: 35px;
  }

  .sponsor-heading {
    min-height: 300px;
    padding: 70px 20px;
  }

  .sponsor-heading h2 {
    font-size: 38px;
  }

  .sponsor-lockup {
    min-height: 390px;
    gap: 32px;
    padding: 64px 20px;
  }

  .sponsor-lockup img {
    width: min(420px, 90%);
  }

  .sponsor-lockup span {
    font-size: 15px;
  }

  .sponsor-reserve {
    min-height: 100svh;
    gap: 40px;
    padding: 78px 20px;
  }

  .sponsor-reserve-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .sponsor-reserve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-sponsor-slot {
    min-height: 120px;
  }

  .section-heading > p {
    margin-top: 0;
  }

  .contest-grid {
    margin-top: 44px;
  }

  .contest-card {
    min-height: 475px;
    padding: 22px;
  }

  .contest-card:hover {
    transform: none;
  }

  .contest-top {
    margin-bottom: 42px;
  }

  .prizes strong {
    font-size: 12px;
  }

  .route {
    gap: 48px;
  }

  .pune-route-switch {
    width: 100%;
  }

  .pune-route-switch button {
    padding: 10px 6px;
    font-size: 11px;
  }

  .route-map figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .runner-hub-heading {
    margin-bottom: 44px;
  }

  .hub-panel-wrap {
    min-height: 0;
  }

  .hub-panel {
    padding: 24px 18px;
  }

  .hub-tabs button {
    flex-basis: 104px;
    min-height: 58px;
    padding: 11px 6px;
    font-size: 11px;
  }

  .hub-panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hub-panel-heading h3 {
    font-size: 25px;
  }

  .status-lookup,
  .pace-form {
    grid-template-columns: 1fr;
  }

  .status-lookup button,
  .pace-form button {
    grid-column: auto;
    width: 100%;
  }

  .confirmation-card {
    padding: 20px 16px;
  }

  .confirmation-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .confirmation-top img {
    width: min(260px, 100%);
  }

  .confirmation-title h3 {
    font-size: 23px;
  }

  .confirmation-data {
    grid-template-columns: 1fr;
  }

  .confirmation-data div,
  .confirmation-data div:first-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .confirmation-data div:last-child {
    border-bottom: 0;
  }

  .guide-switch button {
    min-height: 54px;
    padding: 8px 4px;
    font-size: 11px;
  }

  .guide-summary,
  .race-checklist,
  .pace-result {
    grid-template-columns: 1fr;
  }

  .guide-summary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .information-directory {
    grid-template-columns: 1fr;
  }

  .information-menu {
    display: grid;
    max-height: 220px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .information-menu button {
    min-height: 52px;
    border-right: 1px solid var(--line);
    padding: 9px 11px;
    font-size: 10px;
  }

  .information-menu button.active {
    border-left: 0;
    border-bottom-color: var(--red);
    padding-left: 11px;
  }

  .information-article {
    min-height: 410px;
    padding: 25px 18px;
  }

  .information-article h4,
  .service-form-title h4 {
    font-size: 23px;
  }

  .bib-intro,
  .service-form-grid,
  .results-tool form {
    grid-template-columns: 1fr;
  }

  .service-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-switch button:nth-child(2) {
    border-right: 0;
  }

  .service-switch button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .results-tool,
  .initiative-tool {
    padding: 28px 18px;
  }

  .tool-heading h3 {
    font-size: 25px;
  }

  .race-day-utilities {
    grid-template-columns: 1fr;
  }

  .race-checklist {
    gap: 0;
  }

  .checklist-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .pace-primary {
    min-height: 190px;
    border-right: 0;
  }

  .pace-primary strong {
    font-size: 42px;
  }

  .timeline {
    margin-top: 52px;
  }

  .timeline li,
  .timeline li:not(:first-child) {
    grid-template-columns: 72px 24px 1fr;
    padding-left: 20px;
  }

  .timeline time {
    font-size: 20px;
  }

  .register {
    gap: 50px;
  }

  .form-title,
  #registrationForm {
    padding: 22px 18px;
  }

  .form-title h3 {
    font-size: 23px;
  }

  .form-title > span {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .selection-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .faq {
    gap: 48px;
  }

  .faq-list summary {
    min-height: 72px;
    font-size: 15px;
  }

  .faq-list details p {
    padding-right: 28px;
  }

  .closing {
    min-height: 380px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .closing h2 {
    font-size: 42px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-main > p {
    margin-top: 5px;
  }

  .footer-phone {
    margin-top: 8px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* The route panel is the live map itself; never cover it with the poster fallback. */
.interactive-route-map-canvas {
  visibility: visible;
  opacity: 1;
  mix-blend-mode: normal;
}

.interactive-route-map-canvas.maplibregl-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.route-map-fallback-art,
.route-map-launch {
  display: none !important;
}

.interactive-route-map .route-map-reset,
.interactive-route-map.route-map-live .route-map-reset {
  display: block;
}

.interactive-route-map.route-map-live::before {
  content: "LIVE 3D ROUTE";
}

/* Header navigation glyphs. */
.nav-group > button,
.nav-result {
  gap: 8px;
}

@media (max-width: 940px) {
  .main-nav {
    background: #171b19;
  }

  .nav-group > button,
  .nav-result {
    gap: 10px;
  }

  .nav-group > button,
  .nav-result {
    justify-content: flex-start;
  }

  .nav-group > button::after {
    margin-left: auto;
  }
}

@media print {
  body.printing-confirmation,
  body.printing-invoice {
    background: #fff;
  }

  body.printing-confirmation .site-header,
  body.printing-confirmation main > section:not(#runner-hub),
  body.printing-confirmation .runner-hub-heading,
  body.printing-confirmation .hub-tabs,
  body.printing-confirmation .hub-panel-heading,
  body.printing-confirmation .status-lookup,
  body.printing-confirmation .hub-status,
  body.printing-confirmation .print-confirmation,
  body.printing-confirmation .site-footer,
  body.printing-invoice .site-header,
  body.printing-invoice main > section:not(#runner-hub),
  body.printing-invoice .runner-hub-heading,
  body.printing-invoice .hub-tabs,
  body.printing-invoice .hub-panel-heading,
  body.printing-invoice .status-lookup,
  body.printing-invoice .hub-status,
  body.printing-invoice .confirmation-title,
  body.printing-invoice .confirmation-data,
  body.printing-invoice .confirmation-readiness,
  body.printing-invoice .confirmation-actions,
  body.printing-invoice .site-footer {
    display: none !important;
  }

  body.printing-confirmation #runner-hub,
  body.printing-confirmation .runner-hub-shell,
  body.printing-confirmation .hub-panel-wrap,
  body.printing-confirmation #hub-entry,
  body.printing-confirmation #statusResult,
  body.printing-invoice #runner-hub,
  body.printing-invoice .runner-hub-shell,
  body.printing-invoice .hub-panel-wrap,
  body.printing-invoice #hub-entry,
  body.printing-invoice #statusResult,
  body.printing-invoice .payment-invoice,
  body.printing-invoice .invoice-content {
    display: block !important;
  }

  body.printing-confirmation #runner-hub,
  body.printing-invoice #runner-hub {
    max-width: none;
    padding: 0;
    background: #fff;
  }

  body.printing-confirmation .runner-hub-shell,
  body.printing-invoice .runner-hub-shell {
    border-top: 0;
    box-shadow: none;
  }

  body.printing-confirmation #hub-entry,
  body.printing-invoice #hub-entry {
    padding: 0;
  }

  body.printing-confirmation .confirmation-card {
    border: 2px solid #111214;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.printing-invoice .confirmation-card {
    border: 0;
    padding: 0;
  }

  body.printing-invoice .payment-invoice {
    margin: 0;
    border: 2px solid #111214;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Premium white identity: restrained black typography with gold actions. */
:root {
  --ink: #182320;
  --ink-2: #27322f;
  --ink-3: #53635d;
  --ivory: #f7f8f6;
  --paper: #ffffff;
  --muted: #68736e;
  --muted-light: #aab1ad;
  --line: rgba(24, 35, 32, 0.15);
  --line-light: rgba(24, 35, 32, 0.12);
  --red: #c19332;
  --red-dark: #896817;
  --gold: #c19332;
  --teal: #23665e;
}

body {
  background: #ffffff;
}

.site-header {
  border-bottom: 1px solid #dedbd2;
  background: rgba(255, 255, 255, 0.98);
}

.hero {
  background: #ffffff;
}

.hero::before {
  bottom: 116px;
  left: 58%;
  width: 3px;
  background: var(--gold);
}

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

.hero-intro {
  color: #52615b;
}

.hero-visual {
  top: 46px;
  right: var(--page);
  bottom: 146px;
  width: min(32%, 430px);
  border: 1px solid #d9cfb4;
  background: #1a1d1b;
  box-shadow: 0 18px 44px rgba(24, 35, 32, 0.16);
}

.hero-visual::before {
  width: 4px;
  background: var(--gold);
}

.hero-year {
  color: rgba(193, 147, 50, 0.38);
}

.hero-facts {
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid #dedbd2;
  background: rgba(255, 255, 255, 0.96);
}

.hero-facts > div {
  border-right-color: #e4e0d5;
}

.hero-facts span,
.countdown small {
  color: var(--muted);
}

.hero-facts strong,
.countdown b strong {
  color: var(--ink);
}

.button-primary,
.header-register,
.account-submit,
.submit-button,
.status-lookup button,
.pace-form button,
.print-confirmation,
.results-tool button,
.service-form button {
  border-color: var(--gold);
  background: var(--gold);
  color: #1d211d;
}

.button-primary:hover,
.header-register:hover,
.account-submit:hover,
.submit-button:hover:not(:disabled),
.status-lookup button:hover,
.pace-form button:hover,
.print-confirmation:hover,
.results-tool button:hover,
.service-form button:hover {
  border-color: #9d7419;
  background: #9d7419;
  color: #ffffff;
}

.button-quiet {
  border-color: var(--gold);
  color: #735613;
}

.button-quiet:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #1d211d;
}

.story,
.sponsors,
.sponsor-lockup,
.sponsor-reserve,
.contests,
.route,
.runner-hub,
.event-updates,
.schedule,
.register,
.faq,
.closing,
.site-footer {
  border-bottom: 1px solid #e6e2d8;
  background: #ffffff;
  color: var(--ink);
}

.sponsor-heading {
  border-right: 1px solid #e6e2d8;
  border-bottom: 0;
  background: #ffffff;
  color: var(--ink);
}

.sponsor-heading .section-label,
.light-label,
.eyebrow.light {
  color: var(--red-dark);
}

.sponsor-lockup,
.sponsor-reserve {
  border-top-color: var(--gold);
}

.contests .light-heading > p,
.route-copy > p:not(.eyebrow),
.register-intro > p:not(.eyebrow),
.update-feed p,
.results-tool > p,
.initiative-tool > p {
  color: var(--muted);
}

.contest-card {
  border-color: #dedbd2;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(24, 35, 32, 0.07);
}

.contest-card::before,
.contest-card.genz::before,
.contest-card.millennial::before {
  background: var(--gold);
}

.contest-card:hover {
  border-color: var(--gold);
}

.contest-top > span {
  border-color: #d9cfb4;
  color: #765813;
}

.contest-top small,
.contest-card > p,
.prizes span {
  color: var(--muted);
}

.prizes {
  border-color: #e6e2d8;
}

.prizes span {
  border-right-color: #e6e2d8;
}

.prizes strong,
.contest-card > a {
  color: var(--ink);
}

.contest-card > a span,
.genz > a span,
.millennial > a span {
  color: var(--gold);
}

.route-data,
.route-data > div {
  border-color: #e6e2d8;
}

.route-data dt,
.pune-route-switch button {
  color: var(--muted);
}

.pune-route-switch {
  border-color: #d9cfb4;
}

.pune-route-switch button + button {
  border-left-color: #e6e2d8;
}

.pune-route-switch button span,
.pune-route-switch button.active span {
  color: var(--red-dark);
}

.pune-route-switch button.active {
  background: #faf7ef;
  color: var(--ink);
}

.route-map {
  border-color: #dedbd2;
}

.runner-hub {
  background: #f7f8f6;
}

.runner-hub-shell {
  border-top-color: var(--gold);
  box-shadow: 0 12px 34px rgba(24, 35, 32, 0.08);
}

.event-updates .section-label,
.event-updates .eyebrow,
.event-updates .tool-heading small,
.event-updates .update-feed time,
.event-updates .race-day-utilities span {
  color: var(--red-dark);
}

.update-feed,
.update-feed article,
.outcome-tools,
.results-tool,
.initiative-tool,
.pledge-list,
.pledge-list label,
.race-day-utilities,
.race-day-utilities a {
  border-color: #e6e2d8;
}

.results-tool label,
.pledge-list label,
.race-day-utilities small {
  color: var(--muted);
}

.race-day-utilities a:hover {
  background: #faf7ef;
}

.register {
  background: #f8f9f8;
}

.register-intro {
  color: var(--ink);
}

.register-notes,
.register-notes span {
  border-color: #ddd9ce;
  color: var(--muted);
}

.register-notes b {
  color: var(--red-dark);
}

.form-panel {
  border-color: #d9cfb4;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(24, 35, 32, 0.1);
}

.form-title {
  border-bottom-color: #e1d7bb;
  background: #fbf4df;
}

.form-title small,
.form-title > span {
  color: var(--red-dark);
}

.form-title > span {
  border-color: #cfbc88;
}

.selection-summary {
  border-left-color: var(--gold);
  background: #fbf6e9;
  color: var(--muted);
}

.selection-summary.active,
.selection-summary strong {
  border-left-color: var(--gold);
  color: var(--ink);
}

.closing h2,
.closing .eyebrow {
  color: var(--ink);
}

.site-footer {
  color: var(--ink);
}

.site-footer,
.footer-bottom {
  border-color: #e6e2d8;
}

.footer-main > p span,
.footer-links a,
.footer-phone,
.footer-bottom {
  color: var(--muted);
}

.footer-links a:hover,
.footer-phone:hover,
.footer-bottom a:hover {
  color: var(--red-dark);
}

.account-menu {
  background: #ffffff;
}

.account-menu a,
.account-menu button {
  border-top-color: #e6e2d8;
  color: var(--ink);
}

.account-menu a:hover,
.account-menu button:hover {
  color: var(--red-dark);
}

.account-dialog {
  border: 1px solid #d9cfb4;
  background: #ffffff;
}

.account-dialog-intro {
  border-right: 1px solid #e6e2d8;
  background: #f4f7f6;
  color: var(--ink);
}

.account-dialog-intro > p,
.account-security {
  color: var(--muted);
}

.account-dialog-content {
  background: #ffffff;
}

#loginForm.active,
#createAccountForm.active {
  border-top: 4px solid transparent;
  padding: 20px;
}

#loginForm.active {
  border-top-color: var(--ink);
  background: #f3f7f5;
}

#createAccountForm.active {
  border-top-color: var(--gold);
  background: #fff8e7;
}

@media (max-width: 680px) {
  .hero::before,
  .hero-visual {
    display: none;
  }

  .hero {
    min-height: 650px;
  }
}

/* Pearl, graphite and antique-gold event identity. */
:root {
  --ink: #171b19;
  --ink-2: #282d2a;
  --ink-3: #48514d;
  --ivory: #eceeeb;
  --paper: #fbfbf9;
  --muted: #6e7672;
  --muted-light: #bac0bc;
  --line: rgba(23, 27, 25, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --red: #b33e35;
  --red-dark: #8c3029;
  --gold: #c3a04f;
  --teal: #5a756b;
}

body {
  background: var(--ivory);
}

.site-header {
  border-bottom: 2px solid var(--gold);
  background: rgba(251, 251, 249, 0.98);
}

.nav-dropdown {
  border-top-color: var(--gold);
  background: rgba(23, 27, 25, 0.98);
}

.hero {
  background: #171b19;
  color: #ffffff;
}

.hero::before {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 59%;
  background: #f1f2ef;
}

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

.eyebrow.light,
.hero .eyebrow.light {
  color: var(--red-dark);
}

.hero-intro {
  color: #59635f;
}

.button-quiet {
  border-color: var(--ink);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.availability {
  color: var(--muted);
}

.hero-visual {
  top: 0;
  right: 0;
  bottom: 0;
  width: 41%;
  border: 0;
  background: #151817;
  box-shadow: none;
}

.hero-visual::before {
  right: 8%;
  width: 28%;
  background: var(--red-dark);
  opacity: 0.72;
}

.hero-year {
  color: rgba(255, 255, 255, 0.12);
}

.hero-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
  background: rgba(18, 21, 20, 0.92);
}

.hero-facts > div {
  border-right-color: rgba(255, 255, 255, 0.13);
}

.hero-facts span,
.countdown small {
  color: #aeb5b1;
}

.hero-facts strong,
.countdown b strong {
  color: #ffffff;
}

.story,
.sponsors,
.sponsor-lockup,
.sponsor-reserve,
.route,
.runner-hub,
.schedule,
.faq {
  border-bottom-color: #d9ddda;
  background: #eceeeb;
  color: var(--ink);
}

.sponsor-heading {
  border-right-color: #d9ddda;
  background: #eceeeb;
  color: var(--ink);
}

.sponsor-lockup,
.sponsor-reserve {
  border-top-color: var(--gold);
}

.contests,
.event-updates,
.register,
.closing,
.site-footer {
  border-bottom-color: #343a37;
  background: #171b19;
  color: #ffffff;
}

.contests .section-label,
.event-updates .section-label,
.register .section-label,
.closing .eyebrow,
.contests .eyebrow.light,
.event-updates .eyebrow.light,
.register .eyebrow.light {
  color: var(--gold);
}

.contests .light-heading > p,
.route-copy > p:not(.eyebrow),
.register-intro > p:not(.eyebrow),
.update-feed p,
.results-tool > p,
.initiative-tool > p {
  color: #c0c6c2;
}

.contest-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: #252b28;
  color: #ffffff;
  box-shadow: none;
}

.contest-card:hover {
  border-color: var(--gold);
}

.contest-card::before,
.contest-card.genz::before,
.contest-card.millennial::before {
  background: var(--gold);
}

.contest-top > span {
  border-color: rgba(255, 255, 255, 0.25);
  color: #d6d9d6;
}

.contest-top small,
.contest-card > p,
.prizes span {
  color: #b6bdb9;
}

.prizes,
.prizes span {
  border-color: rgba(255, 255, 255, 0.15);
}

.prizes strong,
.contest-card > a {
  color: #ffffff;
}

.contest-card > a span,
.genz > a span,
.millennial > a span {
  color: var(--gold);
}

.route-data,
.route-data > div {
  border-color: #d2d7d3;
}

.route-data dt,
.pune-route-switch button {
  color: var(--muted);
}

.pune-route-switch {
  border-color: #cfc6ad;
}

.pune-route-switch button + button {
  border-left-color: #d2d7d3;
}

.pune-route-switch button.active {
  background: #fbfbf9;
  color: var(--ink);
}

.runner-hub {
  background: #e4e7e4;
}

.runner-hub-shell {
  border-top-color: var(--gold);
  box-shadow: 0 18px 42px rgba(23, 27, 25, 0.1);
}

.event-updates .tool-heading small,
.event-updates .update-feed time,
.event-updates .race-day-utilities span {
  color: var(--gold);
}

.update-feed,
.update-feed article,
.outcome-tools,
.results-tool,
.initiative-tool,
.pledge-list,
.pledge-list label,
.race-day-utilities,
.race-day-utilities a {
  border-color: rgba(255, 255, 255, 0.16);
}

.results-tool label,
.pledge-list label,
.race-day-utilities small {
  color: #c5cbc7;
}

.race-day-utilities a:hover {
  background: #252b28;
}

.register-notes,
.register-notes span {
  border-color: rgba(255, 255, 255, 0.16);
  color: #c7cdca;
}

.register-notes b {
  color: var(--gold);
}

.form-panel {
  border-color: #d6c594;
  background: #fbfaf5;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2);
}

.form-title {
  border-bottom-color: #ded4b9;
  background: #f3eddc;
}

.selection-summary {
  border-left-color: var(--gold);
  background: #f5efe0;
}

.closing h2 {
  color: #ffffff;
}

.site-footer,
.footer-bottom {
  border-color: rgba(255, 255, 255, 0.14);
}

.site-footer {
  color: #ffffff;
}

.footer-main > p span,
.footer-links a,
.footer-phone,
.footer-bottom {
  color: #b9c0bc;
}

.footer-links a:hover,
.footer-phone:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.account-menu {
  background: #fbfbf9;
}

.account-dialog {
  border-color: #d1c39b;
}

.account-dialog-intro {
  border-right-color: #d9ddda;
  background: #e8ebe8;
}

#loginForm.active {
  border-top-color: var(--ink);
  background: #edf2ef;
}

#createAccountForm.active {
  border-top-color: var(--gold);
  background: #f9f1df;
}

@media (max-width: 680px) {
  .hero {
    background: #f1f2ef;
    color: var(--ink);
  }

  .hero::before {
    display: block;
    width: 100%;
    background: #f1f2ef;
  }
}

/* Keep the runner as a focused right-side event visual. */
.hero-visual {
  background: linear-gradient(135deg, #101311 0%, #171b19 54%, #29160f 100%);
}

.hero-visual img {
  right: -8%;
  width: 70%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.02) contrast(1.08) brightness(1.03);
  transform: scale(1.025);
  transform-origin: right bottom;
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #151817 0%, rgba(21, 24, 23, 0.72) 12%, transparent 52%),
    linear-gradient(0deg, rgba(8, 10, 9, 0.22), transparent 30%);
}

.hero-year {
  z-index: 3;
  right: -26px;
}

/* Unified cool-mist canvas with clear event structure. */
:root {
  --site-canvas: #c9d9d1;
  --site-surface: #f7faf8;
  --site-edge: #a6b6ae;
  --site-edge-strong: #63796e;
}

body,
main {
  background: var(--site-canvas);
}

.site-header,
.hero,
.hero::before,
.story,
.sponsors,
.sponsor-lockup,
.sponsor-reserve,
.contests,
.route,
.runner-hub,
.schedule,
.event-updates,
.register,
.faq,
.closing,
.site-footer {
  background: var(--site-canvas);
  color: var(--ink);
}

.site-header,
.story,
.sponsors,
.contests,
.route,
.runner-hub,
.schedule,
.event-updates,
.register,
.faq,
.closing,
.site-footer {
  border-color: var(--site-edge);
}

.hero-visual::after {
  display: none;
}

.hero-visual {
  background: var(--site-canvas);
}

.hero-facts {
  border-top-color: var(--site-edge-strong);
  background: var(--site-canvas);
  color: var(--ink);
}

.hero-facts strong,
.hero-facts span,
.availability,
.closing h2,
.site-footer,
.footer-main > p span,
.footer-links a,
.footer-phone,
.footer-bottom,
.contests .light-heading > p,
.event-updates .eyebrow,
.event-updates .section-label,
.event-updates h2,
.closing .eyebrow,
.closing .section-label {
  color: var(--ink);
}

.light-label,
.eyebrow.light,
.sponsor-heading .section-label,
.sponsor-heading .eyebrow {
  color: #81671f;
}

.sponsor-heading {
  border-right-color: var(--site-edge);
  background: var(--site-canvas);
  color: var(--ink);
}

.sponsor-lockup,
.sponsor-reserve {
  border-top-color: var(--site-edge);
}

.sponsor-reserve-grid,
.future-sponsor-slot {
  border-color: var(--site-edge-strong);
}

.future-sponsor-slot {
  background: rgba(247, 250, 248, 0.68);
  color: #51675c;
}

.form-panel,
.form-title,
.selection-summary,
.results-tool,
.initiative-tool,
.race-day-utilities,
.account-dialog,
.account-dialog-intro {
  border-color: var(--site-edge);
}

.form-panel,
.results-tool,
.initiative-tool,
.account-dialog-content,
.account-dialog-intro {
  background: var(--site-surface);
}

input,
select,
textarea,
.form-panel,
.results-tool,
.initiative-tool,
.future-sponsor-slot {
  border-width: 1px;
  border-style: solid;
}

.button,
.header-login,
.header-register,
.account-submit,
.submit-button,
.status-lookup button,
.pace-form button,
.service-form button,
.results-tool button {
  border: 1px solid #886e29;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.button-primary,
.header-register,
.account-submit,
.submit-button,
.status-lookup button,
.pace-form button,
.service-form button,
.results-tool button {
  background: var(--gold);
  color: #172019;
}

.button-quiet,
.header-login {
  border-color: var(--site-edge-strong);
  background: transparent;
  color: var(--ink);
}

.button-primary:hover,
.header-register:hover,
.account-submit:hover,
.submit-button:hover:not(:disabled),
.status-lookup button:hover,
.pace-form button:hover,
.service-form button:hover,
.results-tool button:hover {
  border-color: #5a4720;
  background: #b18d37;
  color: #ffffff;
}

@media (max-width: 940px) {
  .sponsor-heading {
    border-right: 0;
    border-bottom: 1px solid var(--site-edge);
  }
}

/* Athletic editorial palette: ink, signal red, and restrained championship gold. */
:root {
  --premium-bg: #c9d9d1;
  --premium-surface: #ffffff;
  --premium-ink: #15241f;
  --premium-ink-soft: #31443d;
  --premium-muted: #66736e;
  --premium-line: #d2dad6;
  --premium-line-strong: #9dada5;
  --premium-red: #c73731;
  --premium-red-dark: #922b27;
  --premium-gold: #ba933b;
}

body,
main {
  background: var(--premium-bg);
  color: var(--premium-ink);
}

.site-header {
  border-bottom: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
}

.main-nav a,
.nav-group > button,
.nav-result,
.header-login {
  color: var(--premium-ink);
}

.nav-dropdown {
  border-top-color: var(--premium-red);
  background: #17231e;
}

.nav-dropdown a,
.nav-dropdown small {
  color: #ffffff;
}

.hero,
.hero::before {
  background: var(--premium-bg);
  color: var(--premium-ink);
}

.hero-visual {
  background: transparent;
}

.hero-visual::before {
  right: 0;
  width: 4px;
  background: var(--premium-red);
  opacity: 1;
}

.hero-year {
  color: rgba(21, 36, 31, 0.2);
}

.hero-intro,
.availability {
  color: var(--premium-muted);
}

.availability span {
  background: #5e9b70;
  box-shadow: 0 0 0 5px rgba(94, 155, 112, 0.12);
}

.hero-facts {
  border-top: 1px solid var(--premium-line-strong);
  border-bottom: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--premium-ink);
}

.hero-facts strong,
.hero-facts span {
  color: var(--premium-ink);
}

.story,
.sponsors,
.sponsor-lockup,
.sponsor-reserve,
.route,
.runner-hub,
.schedule,
.faq {
  border-color: var(--premium-line);
  background: var(--premium-bg);
  color: var(--premium-ink);
}

.section-label,
.eyebrow,
.light-label,
.eyebrow.light,
.sponsor-heading .section-label,
.sponsor-heading .eyebrow {
  color: var(--premium-red);
}

.story .lead,
.story-copy p,
.route-copy p,
.faq-intro p,
.schedule .section-heading > p {
  color: var(--premium-muted);
}

.metrics,
.metrics > div,
.route-data > div,
.timeline li,
.faq-list details {
  border-color: var(--premium-line);
}

.metrics strong,
.route-data dd,
.timeline time {
  color: var(--premium-ink);
}

.sponsor-heading {
  border-right-color: var(--premium-line);
  background: var(--premium-surface);
  color: var(--premium-ink);
}

.sponsor-lockup {
  border-left: 1px solid var(--premium-line);
  background: var(--premium-bg);
}

.sponsor-lockup span {
  border-bottom-color: var(--premium-gold);
  color: var(--premium-ink);
}

.sponsor-reserve {
  border-top-color: var(--premium-line);
}

.sponsor-reserve-grid {
  border-color: var(--premium-line-strong);
}

.future-sponsor-slot {
  border-color: var(--premium-line-strong);
  background: var(--premium-surface);
  color: var(--premium-muted);
}

.contest-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.contests,
.event-updates,
.register,
.closing,
.site-footer {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--premium-ink);
  color: #ffffff;
}

.contests .section-label,
.contests .eyebrow,
.event-updates .section-label,
.event-updates .eyebrow,
.register .section-label,
.register .eyebrow,
.closing .eyebrow {
  color: var(--premium-gold);
}

.contests h2,
.contests .light-heading > p,
.event-updates h2,
.event-updates .updates-heading > p,
.register h2,
.register-intro > p,
.closing h2,
.site-footer,
.footer-main > p span,
.footer-links a,
.footer-phone,
.footer-bottom {
  color: #ffffff;
}

.contests .contest-card strong,
.contest-card .contest-top > span,
.register-notes b {
  color: var(--premium-gold);
}

.route-map,
.runner-hub-shell,
.hub-panel,
.results-tool,
.initiative-tool,
.form-panel,
.account-dialog {
  border-color: var(--premium-line-strong);
  background: var(--premium-surface);
  box-shadow: none;
}

.hub-tabs,
.hub-panel-heading,
.form-title,
.selection-summary,
.race-day-utilities,
.pledge-list,
.account-dialog-intro {
  border-color: var(--premium-line);
  background: #f9fbfa;
}

.hub-tabs button.active,
.guide-switch button.active,
.service-switch button.active,
.pune-route-switch button.active {
  border-color: var(--premium-red);
  background: var(--premium-red);
  color: #ffffff;
}

input,
select,
textarea {
  border: 1px solid var(--premium-line-strong);
  background: #ffffff;
  color: var(--premium-ink);
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--premium-red);
  box-shadow: 0 0 0 3px rgba(199, 55, 49, 0.12);
}

.button,
.header-login,
.header-register,
.account-submit,
.submit-button,
.status-lookup button,
.pace-form button,
.service-form button,
.results-tool button {
  border: 1px solid var(--premium-ink);
  box-shadow: none;
}

.button-primary,
.account-submit,
.submit-button,
.status-lookup button,
.pace-form button,
.service-form button,
.results-tool button {
  border-color: var(--premium-ink);
  background: var(--premium-ink);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--premium-red);
}

.header-register {
  border-color: var(--premium-red);
  background: var(--premium-red);
  color: #ffffff;
}

.button-quiet,
.header-login {
  border-color: var(--premium-ink-soft);
  background: transparent;
  color: var(--premium-ink);
}

.button-primary:hover,
.account-submit:hover,
.submit-button:hover:not(:disabled),
.status-lookup button:hover,
.pace-form button:hover,
.service-form button:hover,
.results-tool button:hover,
.header-register:hover {
  border-color: var(--premium-red-dark);
  background: var(--premium-red-dark);
  color: #ffffff;
}

.button-quiet:hover,
.header-login:hover {
  border-color: var(--premium-ink);
  background: var(--premium-ink);
  color: #ffffff;
}

.update-feed article,
.race-day-utilities a,
.register-notes,
.register-notes span,
.site-footer,
.footer-bottom {
  border-color: rgba(255, 255, 255, 0.18);
}

.update-feed time,
.footer-links a:hover,
.footer-phone:hover,
.footer-bottom a:hover {
  color: var(--premium-gold);
}

@media (max-width: 940px) {
  .sponsor-lockup {
    border-left: 0;
  }
}

/* Dense service views: clear hierarchy without oversized empty panels. */
section[id] {
  scroll-margin-top: 96px;
}

.runner-hub {
  background: var(--premium-bg);
}

.runner-hub-heading {
  margin-bottom: 34px;
}

.runner-hub-shell {
  grid-template-columns: 224px minmax(0, 1fr);
  border: 1px solid var(--premium-line-strong);
  border-top: 4px solid var(--premium-red);
  background: var(--premium-surface);
  box-shadow: none;
}

.hub-tabs {
  align-content: start;
  gap: 6px;
  padding: 12px;
  border-right-color: var(--premium-line);
  background: #f2f5f3;
}

.hub-tabs button {
  min-height: 54px;
  border: 1px solid transparent;
  border-bottom: 0;
  padding: 13px 14px;
  color: var(--premium-ink-soft);
  font-size: 12px;
}

.hub-tabs button:hover,
.hub-tabs button:focus-visible {
  border-color: var(--premium-line-strong);
  background: #ffffff;
  color: var(--premium-ink);
}

.hub-tabs button.active {
  border-color: var(--premium-red);
  background: var(--premium-red);
  color: #ffffff;
}

.hub-panel-wrap {
  min-height: 0;
}

.hub-panel {
  padding: 30px 34px 34px;
  background: var(--premium-surface);
}

.hub-panel-heading {
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom-color: var(--premium-line);
}

.hub-panel-heading small {
  color: var(--premium-red);
}

.hub-panel-heading h3 {
  color: var(--premium-ink);
  font-size: 28px;
}

.hub-panel-heading > span {
  border: 1px solid var(--premium-line);
  background: #f4f6f5;
  color: var(--premium-ink-soft);
}

.status-lookup,
.pace-form {
  gap: 12px;
  padding: 22px 0 8px;
}

.status-lookup label,
.pace-form label,
.results-tool label,
.service-form label {
  color: var(--premium-ink-soft);
}

.status-lookup input,
.pace-form input,
.pace-form select,
.results-tool input,
.service-form input,
.service-form select,
.service-form textarea {
  border-color: var(--premium-line-strong);
  color: var(--premium-ink);
}

.event-updates {
  background: var(--premium-bg);
  color: var(--premium-ink);
}

.updates-heading {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 52px;
  align-items: start;
}

.updates-heading .section-label {
  margin-bottom: 24px;
  color: var(--premium-red);
}

.updates-heading h2,
.event-updates .eyebrow,
.event-updates .updates-heading > p {
  color: var(--premium-ink);
}

.update-feed {
  border-top-color: var(--premium-line);
}

.update-feed article {
  border-bottom-color: var(--premium-line);
}

.update-feed time {
  color: var(--premium-red);
}

.update-feed strong {
  color: var(--premium-ink);
}

.update-feed p {
  color: var(--premium-muted);
}

.outcome-tools {
  align-items: start;
  gap: 20px;
  margin-top: 42px;
  border: 0;
}

.results-tool,
.initiative-tool {
  align-self: start;
  padding: 30px;
  border: 1px solid var(--premium-line-strong);
  border-top: 4px solid var(--premium-gold);
  background: var(--premium-surface);
  color: var(--premium-ink);
}

.tool-heading small {
  color: var(--premium-red);
}

.tool-heading h3 {
  color: var(--premium-ink);
  font-size: 26px;
}

.results-tool > p,
.initiative-tool > p {
  color: var(--premium-muted);
}

.results-tool label {
  color: var(--premium-ink-soft);
}

.pledge-list {
  border-top-color: var(--premium-line);
  background: transparent;
}

.pledge-list label {
  border-bottom-color: var(--premium-line);
  color: var(--premium-ink-soft);
}

.pledge-list input,
.service-consent input {
  accent-color: var(--premium-red);
}

.pledge-progress {
  color: var(--premium-red) !important;
}

.race-day-utilities {
  border-color: var(--premium-line);
  background: #f8faf9;
}

.race-day-utilities a {
  border-color: var(--premium-line);
  color: var(--premium-ink);
}

.race-day-utilities small {
  color: var(--premium-muted);
}

.race-day-utilities span {
  color: var(--premium-red);
}

.race-day-utilities a:hover {
  background: #edf2ef;
}

@media (max-width: 940px) {
  section[id] {
    scroll-margin-top: 82px;
  }

  .runner-hub-shell {
    grid-template-columns: 1fr;
  }

  .hub-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--premium-line);
  }

  .hub-tabs button {
    flex: 1 0 118px;
    min-height: 48px;
    border: 1px solid var(--premium-line);
    text-align: center;
  }

  .hub-panel {
    padding: 26px 24px 30px;
  }

  .updates-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.sponsor-lockup.sponsor-available {
  gap: 18px;
  text-align: center;
}

.sponsor-available strong {
  display: inline-flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid var(--premium-gold);
  background: #fffdf8;
  color: var(--premium-red);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.sponsor-available span {
  border-bottom: 0;
  color: var(--premium-ink-soft);
  font-size: 13px;
  text-transform: uppercase;
}

.hero-facts .countdown-wrap {
  background: #fff8e3;
  border-left: 4px solid var(--premium-gold);
}

.hero-facts .countdown-wrap > span,
.hero-facts .countdown small {
  color: #765415;
}

.hero-facts .countdown b strong {
  color: #9c1e26;
}

@media (max-width: 940px) {
  .hero-copy {
    padding-bottom: 288px;
  }

  .hero-facts .countdown-wrap {
    display: flex;
    grid-column: 1 / -1;
    min-height: 74px;
    padding: 14px 20px;
    border-top: 1px solid var(--premium-line-strong);
  }

  .hero-facts .countdown {
    width: min(100%, 380px);
    justify-content: space-between;
    gap: 14px;
  }
}

/* Registration payment choices. */
.payment-section {
  min-width: 0;
  margin: 4px 0 2px;
  border: 1px solid var(--premium-line-strong);
  padding: 18px;
  background: #fffdf8;
}

.payment-section legend {
  padding: 0 8px;
  color: var(--premium-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.payment-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--premium-line);
}

.payment-summary span {
  color: var(--premium-ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.payment-summary strong {
  color: var(--premium-red);
  font-size: 22px;
  font-weight: 800;
}

.payment-section > p {
  margin: 12px 0 14px;
  color: var(--premium-muted);
  font-size: 12px;
  line-height: 1.55;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-method {
  position: relative;
  display: block;
  min-width: 0;
  color: var(--premium-ink);
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.payment-method input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.payment-method span {
  display: grid;
  min-height: 82px;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--premium-line-strong);
  padding: 13px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.payment-method b {
  color: var(--premium-ink);
  font-size: 13px;
  font-weight: 800;
}

.payment-method small {
  color: var(--premium-muted);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
}

.payment-method input:checked + span {
  border-color: var(--premium-gold);
  background: #fff8e4;
  box-shadow: inset 3px 0 0 var(--premium-red);
}

.payment-method input:focus-visible + span {
  outline: 3px solid rgba(171, 122, 27, 0.28);
  outline-offset: 2px;
}

.payment-option-panels {
  margin-top: 14px;
}

.payment-option-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 218px;
  border: 1px solid var(--premium-line-strong);
  padding: 18px;
  background: #ffffff;
}

.payment-option-panel[hidden] {
  display: none;
}

.payment-qr-frame {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--premium-line-strong);
  padding: 9px;
  background: #ffffff;
}

.payment-qr-frame canvas,
.payment-qr-frame img {
  display: block;
  width: 160px !important;
  height: 160px !important;
  object-fit: contain;
}

.payment-qr-frame span {
  max-width: 140px;
  color: var(--premium-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.payment-option-copy {
  min-width: 0;
}

.payment-option-copy-wide {
  grid-column: 1 / -1;
  max-width: 640px;
}

.payment-option-copy .payment-option-kicker {
  margin: 0 0 5px;
  color: var(--premium-red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-option-copy h4 {
  margin: 0;
  color: var(--premium-ink);
  font-size: 20px;
  line-height: 1.2;
}

.payment-option-copy > p:not(.payment-option-kicker) {
  margin: 9px 0 14px;
  color: var(--premium-muted);
  font-size: 12px;
  line-height: 1.55;
}

.payment-copy-button,
.payment-action-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--premium-ink);
  border-radius: 0;
  padding: 10px 16px;
  background: var(--premium-ink);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.payment-copy-button:disabled,
.payment-action-button[aria-disabled="true"] {
  border-color: var(--premium-line-strong);
  background: #e8e6df;
  color: var(--premium-muted);
  cursor: not-allowed;
}

#paypalButtonContainer {
  min-height: 45px;
  max-width: 440px;
}

@media (max-width: 640px) {
  .payment-section {
    padding: 15px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .payment-method span {
    min-height: 64px;
  }

  .payment-option-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
    padding: 15px;
  }

  .payment-qr-frame {
    justify-self: center;
  }

  .payment-option-copy-wide {
    grid-column: auto;
  }

  .payment-action-button,
  .payment-copy-button {
    width: 100%;
  }
}

/* India Rises Pune Run event identity and two-run layout. */
.brand-event {
  display: inline-flex;
  align-items: center;
  min-width: 174px;
  text-decoration: none;
}

.brand-event-wordmark,
.confirmation-brand,
.account-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.9;
}

.brand-event-wordmark b,
.confirmation-brand span,
.account-brand span {
  color: var(--premium-red);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-event-wordmark small,
.confirmation-brand strong,
.account-brand strong {
  margin-top: 5px;
  color: var(--premium-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.hero h1.hero-event-name {
  display: flex;
  width: auto;
  max-width: 620px;
  height: 184px;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 26px;
  background: none;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.9;
  overflow: hidden;
}

.hero h1.hero-event-name::after {
  content: none;
}

.hero-event-name span {
  color: var(--premium-red);
  font-weight: 900;
}

.hero-event-name strong {
  color: var(--premium-gold);
  font-size: 0.72em;
  font-weight: 900;
}

.hero-event-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-event-logo.hero-event-brand {
  display: inline-flex;
  width: auto;
  height: auto;
  flex-direction: column;
  gap: 8px;
  color: #b30f18;
  line-height: 0.85;
}

.hero-event-brand b {
  font-size: clamp(46px, 5vw, 84px);
  font-weight: 900;
}

.hero-event-brand small {
  color: var(--premium-gold);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 900;
  letter-spacing: 6px;
}

/* Editorial Pune background, kept light behind the event identity. */
.hero {
  height: calc(100svh - 83px);
  min-height: 720px;
  max-height: none;
  background-color: #f7f5ef;
  background-image: url("assets/running/user-run-10-sunset-runners.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  display: none;
}

.site-header {
  border-bottom-color: rgba(236, 225, 192, 0.76);
  background-color: rgba(21, 36, 31, 0.76);
  background-image: url("assets/running/user-run-10-sunset-runners.jpg");
  background-position: center 12%;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
  color: #ffffff;
  backdrop-filter: none;
}

.main-nav a,
.nav-group > button,
.nav-result,
.header-login,
.account-trigger,
.menu-toggle {
  color: #ffffff;
}

.nav-group > button:hover,
.nav-group > button:focus-visible,
.nav-group.open > button,
.nav-group:hover > button,
.nav-result:hover,
.nav-result:focus-visible {
  color: #f3cf76;
}

.header-login,
.menu-toggle {
  border-color: rgba(255, 255, 255, 0.72);
}

.header-login:hover {
  border-color: #f3cf76;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero .eyebrow.light {
  color: #f7d88d;
  text-shadow: 0 2px 12px rgba(21, 36, 31, 0.75);
}

.hero-intro,
.hero .availability {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(21, 36, 31, 0.85);
}

.hero .button-quiet {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(21, 36, 31, 0.78);
  color: #ffffff;
}

.hero .button-quiet:hover {
  border-color: #f3cf76;
  background: rgba(21, 36, 31, 0.92);
  color: #ffffff;
}

/* Deep forest navigation over a clear sage event canvas. */
.site-header {
  border-bottom: 3px solid var(--premium-gold);
  background: #102f29;
  background-image: none;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(16, 47, 41, 0.18);
}

.main-nav {
  gap: 8px;
}

.main-nav a,
.nav-group > button,
.nav-result,
.header-login,
.account-trigger,
.menu-toggle {
  color: #ffffff;
}

.nav-group > button,
.nav-result {
  min-height: 46px;
  border-radius: 4px;
  padding: 0 15px;
}

.nav-group > button:hover,
.nav-group > button:focus-visible,
.nav-group.open > button,
.nav-group:hover > button,
.nav-result:hover,
.nav-result:focus-visible {
  background: rgba(195, 160, 79, 0.18);
  color: #f7d88d;
}

.header-login,
.menu-toggle {
  border-color: rgba(255, 255, 255, 0.68);
}

.header-register {
  border-color: var(--premium-gold);
  background: var(--premium-gold);
  color: #102f29;
}

.header-register:hover {
  border-color: #e1c379;
  background: #e1c379;
  color: #102f29;
}

/* Main navigation: compact, modern pill layout. */
@media (min-width: 941px) {
  .main-nav {
    width: max-content;
    max-width: 100%;
    min-height: 52px;
    align-self: center;
    justify-self: center;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  }

  .nav-group > button,
  .nav-result {
    min-height: 40px;
    border-radius: 999px;
    padding: 0 17px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .nav-group > button::before,
  .nav-result::before {
    display: none;
  }

  .nav-group > button:hover,
  .nav-group > button:focus-visible,
  .nav-group.open > button,
  .nav-group:hover > button,
  .nav-result:hover,
  .nav-result:focus-visible {
    background: var(--premium-gold);
    color: #102f29;
  }

  .nav-group > button::after {
    margin-left: 7px;
  }
}

@media (max-width: 940px) {
  .main-nav {
    width: auto;
    min-height: 0;
    align-self: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

.story-poster {
  width: min(100%, 360px);
  margin: 56px auto 0;
}

.story-poster img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--premium-line);
  box-shadow: 0 20px 42px rgba(21, 36, 31, 0.18);
}

.contest-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pune-route-switch,
.guide-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.confirmation-brand {
  min-width: 148px;
}

.confirmation-brand span,
.account-brand span {
  font-size: 20px;
}

.confirmation-brand strong,
.account-brand strong {
  font-size: 10px;
}

@media (max-width: 860px) {
  .contest-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero {
    height: auto;
    min-height: 720px;
    background-position: 62% center;
  }

  .hero h1.hero-event-name {
    max-width: 340px;
    height: 120px;
    margin-bottom: 20px;
  }

  .brand-event {
    min-width: 132px;
  }

  .brand-event-wordmark b {
    font-size: 20px;
  }

  .brand-event-wordmark small {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
}

/* Signature event canvas: warm paper layers, deep charcoal moments, no flat white slabs. */
body {
  background-color: #e8e7e1;
  background-image:
    radial-gradient(circle at 8% 8%, rgba(186, 147, 59, 0.14), transparent 21rem),
    radial-gradient(circle at 92% 26%, rgba(179, 45, 42, 0.08), transparent 26rem),
    linear-gradient(135deg, #f1f0eb 0%, #e5e3dc 100%);
  color: #191a19;
}

main#mainContent {
  position: relative;
  overflow: clip;
  background: transparent;
}

main#mainContent > section:not(.hero) {
  position: relative;
  border-bottom: 1px solid rgba(27, 28, 27, 0.12);
}

main#mainContent .story,
main#mainContent .sponsors,
main#mainContent .route,
main#mainContent .runner-hub,
main#mainContent .schedule,
main#mainContent .faq {
  background:
    linear-gradient(90deg, rgba(179, 45, 42, 0.038) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(24, 25, 24, 0.028) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(135deg, #fbfaf6 0%, #efede6 100%) !important;
}

main#mainContent .story::before,
main#mainContent .route::before,
main#mainContent .runner-hub::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(20px, 4vw);
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, #b32d2a, #d6a852);
}

main#mainContent .sponsor-heading,
main#mainContent .sponsor-lockup,
main#mainContent .sponsor-reserve,
main#mainContent .story-poster,
main#mainContent .route-map,
main#mainContent .runner-hub-shell,
main#mainContent .hub-panel,
main#mainContent .results-tool,
main#mainContent .initiative-tool,
main#mainContent .form-panel,
main#mainContent .account-dialog {
  border-color: #cbc8be;
  background: linear-gradient(145deg, #f8f7f2, #eae8e0);
  box-shadow: 0 18px 44px rgba(20, 20, 18, 0.09);
}

main#mainContent .hub-tabs,
main#mainContent .hub-panel-heading,
main#mainContent .form-title,
main#mainContent .selection-summary,
main#mainContent .race-day-utilities,
main#mainContent .pledge-list,
main#mainContent .account-dialog-intro,
main#mainContent .payment-section {
  background: #e3e1da;
  border-color: #c7c4ba;
}

main#mainContent .form-panel input,
main#mainContent .form-panel select,
main#mainContent .form-panel textarea,
main#mainContent .results-tool input,
main#mainContent .service-form input,
main#mainContent .service-form select,
main#mainContent .service-form textarea,
main#mainContent .account-dialog input {
  background: #f5f4ef;
  border-color: #bdb9ae;
}

main#mainContent .contests,
main#mainContent .event-updates,
main#mainContent .register,
main#mainContent .closing,
body .site-footer {
  background:
    radial-gradient(circle at 90% 8%, rgba(179, 45, 42, 0.22), transparent 24rem),
    radial-gradient(circle at 8% 100%, rgba(214, 168, 82, 0.13), transparent 28rem),
    linear-gradient(135deg, #0b0b0c 0%, #1a1a1a 55%, #111112 100%) !important;
  border-color: #42413d !important;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 9, 0.92) 0%, rgba(12, 12, 12, 0.79) 40%, rgba(12, 12, 12, 0.14) 72%, rgba(12, 12, 12, 0.04) 100%),
    url("assets/running/user-run-10-sunset-runners.jpg") !important;
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(179, 45, 42, 0.82) 0 4px, transparent 4px),
    radial-gradient(circle at 52% 24%, rgba(214, 168, 82, 0.16), transparent 18rem);
  pointer-events: none;
}

.hero-copy { max-width: 790px; }
.hero .eyebrow.light { color: #e8c772; }
.hero .availability strong { color: #ffffff; }

.hero-facts {
  border-top-color: #b32d2a;
  background: rgba(12, 12, 13, 0.92);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
}

/* The summary strip sits on the dark hero overlay, so its facts need a light palette. */
.hero-facts > div > span {
  color: #d7d1c4;
}

.hero-facts > div > strong {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Give the primary registration flow a little more room and a stronger presence. */
@media (min-width: 1101px) {
  .register {
    grid-template-columns: minmax(300px, 0.68fr) minmax(660px, 1.32fr);
    gap: 64px;
  }
}

.register .form-title {
  padding: 30px 38px;
}

.register .form-title h3 {
  font-size: 30px;
}

.register #registrationForm {
  gap: 20px;
  padding: 38px;
}

.register #registrationForm .form-row {
  gap: 20px;
}

.register #registrationForm input,
.register #registrationForm select {
  min-height: 56px;
  padding: 13px 15px;
  font-size: 15px;
}

.register #registrationForm textarea {
  min-height: 104px;
  padding: 13px 15px;
  font-size: 15px;
}

@media (max-width: 680px) {
  .register .form-title { padding: 26px 24px; }
  .register #registrationForm { padding: 26px 24px; }
  .register #registrationForm .form-row { gap: 16px; }
}

/* Interactive 3D route map. */
.route-map {
  overflow: hidden;
}

.interactive-route-map {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  isolation: isolate;
  background: #d9d4c8;
}

.interactive-route-map[hidden] {
  display: none !important;
}

.interactive-route-map-canvas,
.interactive-route-map-canvas .maplibregl-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.interactive-route-map-canvas {
  z-index: 2;
  visibility: hidden;
}

.interactive-route-map.route-map-live .interactive-route-map-canvas {
  visibility: visible;
  opacity: 0.54;
  mix-blend-mode: multiply;
}

.route-map-fallback-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.interactive-route-map.route-map-live .route-map-fallback-art {
  display: block;
  filter: saturate(0.92) brightness(0.88);
  transform: perspective(1100px) rotateX(4deg) scale(1.03);
}

.interactive-route-map.route-map-live::before {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border: 1px solid #f3cf76;
  background: #b52b31;
  color: #ffffff;
  content: "LIVE 3D MODE";
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.interactive-route-map-canvas {
  background-color: #d9d4c8;
  background-image: url("assets/pune-route-kidditon-run-2km.png");
  background-position: center;
  background-size: cover;
}

.interactive-route-map-canvas .maplibregl-canvas {
  background: transparent !important;
}

.interactive-route-map-canvas .maplibregl-map {
  background: transparent !important;
}

.interactive-route-map::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 35, 29, 0.22), transparent 34%, transparent 72%, rgba(16, 35, 29, 0.26));
  content: "";
  pointer-events: none;
}

.route-map-overlay {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(16, 35, 29, 0.9);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(16, 35, 29, 0.18);
  backdrop-filter: blur(7px);
}

.route-map-branding {
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(390px, calc(100% - 36px));
  padding: 10px 14px 10px 10px;
}

.route-map-branding img {
  display: block;
  width: 114px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28));
}

.route-map-event-brand {
  display: inline-flex;
  min-width: 114px;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: #fff;
  line-height: 0.9;
}

.route-map-event-brand b {
  color: #b30f18;
  font-size: 16px;
  font-weight: 900;
}

.route-map-event-brand small {
  color: var(--premium-gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.route-map-branding div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.route-map-branding strong {
  color: #f3cf76;
  font-size: 14px;
  line-height: 1.2;
}

.route-map-branding span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1.35;
}

.route-map-key {
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
}

.route-map-key span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-map-key i {
  display: inline-block;
  width: 25px;
  height: 4px;
  border-radius: 99px;
}

.route-map-key i.outbound { background: #c99225; }
.route-map-key i.return { border-top: 3px dashed #e36b6e; }

.route-map-help {
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  max-width: min(330px, calc(100% - 180px));
  padding: 10px 13px;
}

.route-map-help strong {
  color: #f3cf76;
  font-size: 12px;
}

.route-map-help span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.35;
}

.route-map-reset {
  position: absolute;
  z-index: 4;
  top: 150px;
  right: 12px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(16, 35, 29, 0.9);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  display: none;
}

.interactive-route-map.route-map-live .route-map-reset {
  display: block;
}

.route-map-launch {
  position: absolute;
  z-index: 4;
  top: 150px;
  right: 12px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid #f3cf76;
  background: #c99225;
  color: #102f29;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.route-map-live .route-map-launch {
  display: none;
}

/* Keep the actual MapLibre canvas visible; the old poster background must never mask it. */
.interactive-route-map-canvas {
  visibility: visible !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-color: #d8d3c7 !important;
  background-image: none !important;
}

.interactive-route-map-canvas .maplibregl-map,
.interactive-route-map-canvas .maplibregl-canvas,
.interactive-route-map-canvas .maplibregl-canvas-container {
  visibility: visible !important;
}

.route-map-road-note {
  top: 18px;
  right: 18px;
  display: grid;
  gap: 4px;
  max-width: min(390px, calc(100% - 36px));
  padding: 11px 14px;
}

.route-map-road-note strong {
  color: #f3cf76;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-map-road-note span,
.route-map-road-note small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.35;
}

.route-map-road-note b {
  color: #f3cf76;
  padding: 0 3px;
}

.route-map-points {
  top: 18px;
  right: 18px;
  display: grid;
  gap: 5px;
  width: min(360px, calc(100% - 430px));
  min-width: 240px;
  max-width: 360px;
  padding: 10px 12px;
}

#routeMapPoints {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.route-map-points strong {
  color: #f3cf76;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-map-points span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.route-map-points b {
  color: #f3cf76;
}

@media (max-width: 680px) {
  .route-map-road-note {
    top: 112px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .route-map-points {
    top: 112px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    min-width: 0;
  }
}

.route-map-reset:hover,
.route-map-reset:focus-visible {
  border-color: #f3cf76;
  background: #c99225;
  color: #102f29;
}

.route-marker {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 4px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: #b52b31;
  box-shadow: 0 5px 14px rgba(16, 35, 29, 0.38);
  color: #ffffff;
  cursor: pointer;
  transform: rotate(-45deg);
}

.route-marker::after {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.route-marker span {
  position: relative;
  z-index: 1;
  display: none;
}

.route-marker.start-marker { background: #c99225; }
.route-marker.turn-marker { background: #b52b31; }

.route-marker.checkpoint-marker {
  width: 36px;
  height: 36px;
  border-width: 3px;
  background: #16483e;
}

.route-marker.checkpoint-marker::after {
  width: 9px;
  height: 9px;
}

.maplibregl-popup-content {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid #d9c28a;
  border-radius: 0;
  color: #17231f;
  font-family: var(--font);
}

.maplibregl-popup-content strong,
.maplibregl-popup-content small {
  display: block;
}

.maplibregl-popup-content strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.maplibregl-popup-content small {
  color: #607068;
  font-size: 11px;
}

.maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 29, 0.22) !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 18px rgba(16, 35, 29, 0.16) !important;
}

.maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
}

.route-map > img[hidden] {
  display: none;
}

@media (max-width: 680px) {
  .interactive-route-map {
    min-height: 470px;
  }

  .route-map-branding {
    top: 12px;
    left: 12px;
    gap: 8px;
    padding: 8px 10px 8px 8px;
  }

  .route-map-branding img {
    width: 90px;
    height: 32px;
  }

  .route-map-branding strong { font-size: 12px; }
  .route-map-branding span { font-size: 10px; }

  .route-map-help {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .route-map-key {
    top: 112px;
    right: 12px;
    bottom: auto;
  }

  .route-map-reset {
    top: 216px;
    right: 12px;
  }

  .route-map-launch {
    top: 216px;
    right: 12px;
  }
}

.race-routes.section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 84px max(5vw, calc((100vw - 1440px) / 2));
  background: #f2f5f2;
  color: #173a34;
}

.race-routes-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto 34px;
  max-width: 1440px;
}

.race-routes-heading .section-label {
  margin-bottom: 28px;
  color: #087e78;
}

.race-routes-heading .eyebrow {
  margin: 0 0 8px;
  color: #bc4337;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.race-routes-heading h2 {
  margin: 0;
  color: #173a34;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.race-routes-venue {
  margin: 0 0 4px;
  padding-left: 20px;
  border-left: 3px solid #90bd36;
  color: #64766f;
  font-size: 12px;
  line-height: 1.65;
}

.race-routes-venue strong {
  color: #173a34;
  font-size: 14px;
}

.race-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
}

.race-route-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e2dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 58, 52, 0.08);
}

.race-route-card-heading {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid #e6ebe7;
}

.race-route-kicker {
  color: #087e78;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.race-route-card h3 {
  margin: 7px 0 3px;
  color: #173a34;
  font-size: 30px;
  line-height: 1.15;
}

.race-route-card-heading p {
  margin: 0;
  color: #64766f;
  font-size: 13px;
}

.race-distance {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  place-content: center;
  border: 1px solid #d8e3dc;
  border-radius: 50%;
  background: #f4f7f3;
  color: #173a34;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.race-distance small {
  margin-top: 4px;
  color: #087e78;
  font-size: 9px;
  font-weight: 800;
}

.race-route-poster {
  display: block;
  height: 420px;
  margin: 22px 24px 0;
  overflow: hidden;
  border: 1px solid #e1e7e2;
  border-radius: 6px;
  background: #edf1ee;
}

.race-route-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.race-route-footer {
  min-height: 94px;
  padding: 18px 28px 22px;
}

.race-route-footer > span {
  color: #087e78;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.race-route-footer p {
  margin: 7px 0 0;
  color: #364b44;
  font-size: 12px;
  line-height: 1.6;
}

.race-route-footer b {
  padding: 0 4px;
  color: #bc4337;
}

.race-route-footer em {
  display: inline-block;
  margin-left: 4px;
  color: #66786f;
  font-style: normal;
  font-weight: 650;
}

.mega-route-visual {
  display: grid;
  min-height: 420px;
  align-content: center;
  gap: 28px;
  margin: 22px 24px 0;
  padding: 28px 22px 20px;
  border: 1px solid #e1e7e2;
  border-radius: 6px;
  background: #f6f8f5;
}

.mega-route-leg {
  display: grid;
  gap: 18px;
}

.leg-label {
  color: #728179;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.route-stops {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.route-stop {
  display: grid;
  min-width: 84px;
  min-height: 52px;
  place-content: center;
  padding: 7px 9px;
  border: 1px solid #dbe4dd;
  border-radius: 6px;
  background: #fff;
  color: #173a34;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.route-stop.start-stop,
.route-stop.finish-stop {
  border-color: #173a34;
  background: #173a34;
  color: #fff;
}

.route-stop.turn-stop {
  border-color: #cf9a3d;
}

.route-stops i {
  position: relative;
  height: 3px;
  min-width: 18px;
  flex: 1 1 auto;
  background: #95bb3e;
}

.route-stops i::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #668d27;
  border-right: 2px solid #668d27;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.return-leg .route-stops {
  flex-direction: row-reverse;
}

.return-leg .route-stops i {
  background: #bd4d42;
}

.return-leg .route-stops i::after {
  right: auto;
  left: -1px;
  border-color: #a64037;
  transform: translateY(-50%) rotate(-135deg);
}

.route-visual-note {
  margin: 0;
  color: #718078;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .race-routes.section {
    padding: 64px 5vw;
  }

  .race-route-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .race-route-poster,
  .mega-route-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.45;
  }
}

@media (max-width: 560px) {
  .race-routes.section {
    padding: 50px 18px;
  }

  .race-routes-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .race-routes-heading .section-label {
    margin-bottom: 22px;
  }

  .race-route-card-heading {
    min-height: 112px;
    padding: 20px;
  }

  .race-route-card h3 {
    font-size: 26px;
  }

  .race-distance {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    font-size: 22px;
  }

  .race-route-poster,
  .mega-route-visual {
    margin-right: 14px;
    margin-left: 14px;
  }

  .mega-route-visual {
    gap: 22px;
    padding: 18px 12px 14px;
  }

  .route-stops {
    gap: 6px;
  }

  .route-stop {
    min-width: 68px;
    min-height: 48px;
    padding: 5px;
    font-size: 9px;
  }

  .race-route-footer {
    padding: 16px 20px 20px;
  }
}
