:root {
  --charcoal: #111314;
  --charcoal-2: #1a1b1b;
  --paper: #f4efe6;
  --off-white: #fff8ec;
  --sand: #d6b389;
  --copper: #b86a38;
  --copper-dark: #87451f;
  --ink: #17191a;
  --muted: #6b6259;
  --line: rgba(184, 106, 56, 0.35);
  --display: "DIN Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(17, 19, 20, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 20, 0.014) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
}

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

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 34px;
  padding: 34px 58px;
  color: var(--off-white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.brand-name span,
.hero h1 span {
  color: var(--copper);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1;
  text-transform: uppercase;
}

.primary-nav a {
  opacity: 0.9;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--sand);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 15px 27px 14px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #c77a43, var(--copper));
  color: #101111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.button-secondary,
.button-ghost {
  border-color: var(--copper);
  color: var(--off-white);
  background: rgba(17, 19, 20, 0.22);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(184, 106, 56, 0.18);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--off-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  /* Australia rides left; flip only the decorative photo layer, not the UI. */
  transform: scaleX(-1);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.94) 0%, rgba(12, 13, 14, 0.74) 35%, rgba(12, 13, 14, 0.12) 74%),
    linear-gradient(180deg, rgba(12, 13, 14, 0.2) 0%, rgba(12, 13, 14, 0) 45%, rgba(12, 13, 14, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 80px));
  margin: 192px 0 72px;
  padding-left: 58px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 8.4rem;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  position: relative;
  display: block;
  width: max-content;
  margin: 18px 0 clamp(16px, 0.72em, 34px);
  padding-bottom: 0.08em;
  font-size: 0.38em;
  line-height: 0.8;
}

.hero h1 span::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.08em;
  content: "";
  background: var(--copper);
}

.hero-line {
  max-width: 500px;
  margin: 30px 0 28px;
  color: var(--off-white);
  font-size: 1.55rem;
  line-height: 1.35;
}

@media (max-width: 1380px) {
  .hero-line {
    max-width: 360px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--off-white);
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.hero-date svg {
  width: 25px;
  height: 25px;
  color: var(--copper);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hero-brief {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 46px;
  margin-top: auto;
  padding: 62px 58px 54px;
  clip-path: polygon(0 16%, 100% 0, 100% 100%, 0% 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent),
    var(--paper);
  color: var(--ink);
}

.hero-brief h2,
.ride-section h2,
.support-updates h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 3.15rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-brief h2::after,
.section-copy h2::after,
.updates-panel h2::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  content: "";
  background: var(--copper);
}

.hero-brief p,
.lead,
.timeline p,
.support-panel p,
.closing p,
.update-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.ride-section {
  position: relative;
  padding: 96px 58px 112px;
  background:
    radial-gradient(circle at 18% 14%, rgba(184, 106, 56, 0.1), transparent 26%),
    linear-gradient(180deg, var(--paper), #efe3d4);
}

.route-anchor {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: -1px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(420px, 1.38fr);
  gap: 54px;
  width: min(1320px, 100%);
  margin: 0 auto;
  align-items: center;
}

.section-copy h2 {
  font-size: 5.3rem;
}

.lead {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.28rem;
}

.route-note {
  max-width: 410px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.fact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.fact-list li {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 14px;
  font-family: var(--display);
  font-size: 1.38rem;
  text-transform: uppercase;
}

.fact-list li::before {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  content: "";
}

.route-panel {
  position: relative;
  padding: 4px 0 0;
}

.map-art {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  color: var(--copper);
}

.australia-outline {
  fill: rgba(132, 103, 75, 0.09);
  stroke: rgba(23, 25, 26, 0.22);
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.tasmania-outline {
  fill: rgba(132, 103, 75, 0.08);
  stroke: rgba(23, 25, 26, 0.18);
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.route-shadow {
  fill: none;
  stroke: rgba(135, 69, 31, 0.16);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 20;
}

.route-line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.route-dot {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 8;
}

.map-art text {
  fill: var(--ink);
  font-family: var(--display);
  text-transform: uppercase;
}

.map-art .route-city {
  font-size: 30px;
}

.route-endpoints {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px;
  width: min(100%, 760px);
  margin: -8px auto 0;
}

.route-endpoint {
  display: grid;
  gap: 4px;
  padding: 18px 20px 16px;
  border-top: 1px solid var(--line);
}

.route-endpoint span {
  color: var(--copper-dark);
  font-family: var(--display);
  font-size: 1rem;
  text-transform: uppercase;
}

.route-endpoint strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.route-endpoint p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.route-start {
  text-align: right;
}

.road-strip {
  width: min(1320px, 100%);
  aspect-ratio: 2033 / 774;
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(30, 22, 14, 0.18);
}

.road-strip img {
  width: 100%;
  height: auto;
  filter: saturate(0.95) contrast(0.95);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(1120px, 100%);
  margin: 52px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline article {
  min-height: 178px;
  padding: 34px 36px;
}

.timeline article + article {
  border-left: 1px solid var(--line);
}

.timeline span {
  display: inline-block;
  margin-right: 16px;
  color: var(--copper);
  font-family: var(--display);
  font-size: 2rem;
  vertical-align: top;
}

.timeline h3 {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.support-updates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  min-height: 760px;
  background:
    linear-gradient(102deg, var(--paper) 0%, var(--paper) 49%, var(--charcoal) 49.2%, var(--charcoal) 100%);
}

#ride,
#support,
#updates,
#sponsor {
  scroll-margin-top: 24px;
}

#route {
  scroll-margin-top: 0;
}

.updates-panel {
  position: relative;
  z-index: 1;
  padding: 96px 58px 110px;
  background: var(--paper);
}

.updates-panel h2 {
  max-width: 630px;
  color: var(--ink);
  font-size: 5rem;
}

.updates-panel .lead {
  max-width: 630px;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 54px;
}

.social-link {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper-dark);
  background: transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--copper-dark);
  background: rgba(184, 106, 56, 0.12);
  color: var(--ink);
  transform: translateY(-2px);
}

.social-link svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social-link path {
  fill: currentColor;
  stroke: none;
}

.update-list {
  display: grid;
  width: min(720px, 100%);
  border-top: 1px solid rgba(23, 25, 26, 0.14);
}

.update-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(23, 25, 26, 0.14);
}

.update-list span {
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.update-list strong {
  color: var(--copper-dark);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
  text-transform: uppercase;
}

.support-panel {
  display: flex;
  width: min(560px, calc(100% - 72px));
  align-self: center;
  justify-self: center;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px;
  border: 2px solid var(--copper);
  border-radius: 8px;
  color: var(--off-white);
  text-align: center;
}

.support-panel img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
}

.support-panel h2 {
  color: var(--off-white);
  font-size: clamp(3.35rem, 4.4vw, 4rem);
}

.support-kicker {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.support-panel p {
  max-width: 390px;
  color: rgba(255, 248, 236, 0.82);
  font-size: 1.14rem;
}

.support-panel .support-note {
  margin-top: -8px;
  color: rgba(255, 248, 236, 0.68);
  font-size: 1rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.support-actions .button {
  min-width: 178px;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 78px 58px 48px;
  background:
    radial-gradient(circle at 12% 16%, rgba(184, 106, 56, 0.14), transparent 30%),
    linear-gradient(135deg, #111314 0%, #17191a 58%, #101112 100%);
  color: var(--off-white);
}

.closing-inner {
  display: grid;
  grid-template-columns: 190px minmax(320px, 1fr) minmax(260px, 0.65fr);
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: center;
}

.closing-inner img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
}

.closing h2 {
  max-width: 690px;
  font-size: 4.3rem;
}

.closing p {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 248, 236, 0.84);
  font-size: 1.12rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 16px 22px;
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.footer-links a,
.link-button {
  position: relative;
  padding-bottom: 8px;
  color: var(--off-white);
}

.footer-links a::after,
.link-button::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  content: "";
  background: var(--copper);
}

.link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.footer-mark {
  width: min(1180px, 100%);
  margin: 56px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 248, 236, 0.22);
  color: rgba(255, 248, 236, 0.72);
  font-family: var(--display);
  font-size: 1.15rem;
  text-align: center;
  text-transform: uppercase;
}

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

  .button {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
    gap: 22px;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-left: 92px;
  }

  .hero-content {
    margin-top: 226px;
  }

  .hero h1 {
    font-size: 6.4rem;
  }

  .section-grid,
  .support-updates,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .support-updates {
    background: var(--charcoal);
  }

  .updates-panel {
    background: var(--paper);
  }

  .support-panel {
    margin: 70px 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 22px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 1.65rem;
  }

  .primary-nav {
    gap: 16px;
    margin-left: 0;
    font-size: 1rem;
  }

  .header-action {
    display: none;
  }

  .hero-media {
    object-position: 70% center;
  }

  .hero-content {
    width: calc(100% - 44px);
    margin-top: 184px;
    padding-left: 22px;
  }

  .hero h1 {
    font-size: 4.15rem;
  }

  .hero-line {
    font-size: 1.16rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: min(100%, 340px);
  }

  .hero-brief,
  .timeline,
  .update-list article {
    grid-template-columns: 1fr;
  }

  .hero-brief {
    gap: 22px;
    padding: 58px 22px 36px;
  }

  .hero-brief h2,
  .ride-section h2,
  .support-updates h2,
  .closing h2 {
    font-size: 3.1rem;
  }

  .ride-section,
  .updates-panel,
  .closing {
    padding-right: 22px;
    padding-left: 22px;
  }

  .section-copy h2,
  .updates-panel h2 {
    font-size: 4.1rem;
  }

  .map-art .route-city {
    font-size: 42px;
  }

  .route-endpoints {
    grid-template-columns: 1fr;
    margin-top: 4px;
  }

  .route-start {
    text-align: left;
  }

  .timeline article {
    min-height: 0;
  }

  .timeline article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .support-panel {
    width: calc(100% - 44px);
    padding: 32px 22px;
  }

  .support-panel h2 {
    font-size: 3.35rem;
  }

  .support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .support-actions .button {
    min-width: 0;
    width: 100%;
  }

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

@media (max-width: 430px) {
  .primary-nav {
    display: none;
  }

  .hero-content {
    margin-top: 126px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }
}
