:root {
  color-scheme: dark;
  --bg: #0e0e0c;
  --bg-soft: #171511;
  --surface: #f4efe6;
  --surface-deep: #e4d7c5;
  --ink: #17130f;
  --muted: #786e62;
  --line: rgba(255, 255, 255, 0.16);
  --dark-line: rgba(23, 19, 15, 0.13);
  --accent: #c88438;
  --accent-dark: #935c24;
  --red: #e5261c;
  --blue: #1688d8;
  --yellow: #f1c232;
  --green: #2f6f5e;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.18);
  --cream: #fff7ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #0b0b09 0%, #11100d 42%, #0b0b09 100%);
  color: #fff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: overlay;
}

::selection {
  color: #fff;
  background: rgba(200, 132, 56, 0.78);
}

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

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(22px, 5vw, 76px);
  color: #fff;
  min-width: 0;
  transition:
    top 220ms ease,
    left 220ms ease,
    right 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    border-radius 220ms ease,
    padding 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  left: clamp(12px, 3vw, 42px);
  right: clamp(12px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(14, 14, 12, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(200, 132, 56, 0.52), rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name::after {
  content: "";
  display: inline-block;
  width: 86px;
  height: 10px;
  margin-left: 14px;
  background:
    radial-gradient(circle at 4px 4px, var(--red) 0 4px, transparent 4px),
    radial-gradient(circle at 27px 4px, var(--blue) 0 4px, transparent 4px),
    radial-gradient(circle at 50px 4px, var(--yellow) 0 4px, transparent 4px);
}

.nav {
  gap: clamp(16px, 2.6vw, 36px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 800;
}

.nav a:hover {
  color: #fff;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.social-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-whatsapp {
  background: rgba(37, 211, 102, 0.2);
}

.social-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.7);
  background: #25d366;
}

.social-telegram {
  background: rgba(34, 158, 217, 0.2);
}

.social-telegram:hover {
  border-color: rgba(34, 158, 217, 0.7);
  background: #229ed9;
}

.social-max {
  background: rgba(255, 255, 255, 0.12);
}

.social-max span {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.social-max:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background: linear-gradient(135deg, #ffffff, #d7e8ff);
  color: #111;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 46px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 132, 56, 0.8), transparent);
}

.hero-media,
.hero-media img,
.hero-media video,
.hero-overlay,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

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

.hero-fallback {
  z-index: 0;
}

.hero-video {
  z-index: 1;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 76% 18%, rgba(200, 132, 56, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.26) 42%, rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, rgba(14, 14, 12, 0.72), rgba(14, 14, 12, 0.02) 56%, rgba(14, 14, 12, 0.06));
}

.hero-noise {
  display: none;
}

.hero-content {
  width: min(790px, 100%);
  max-width: 100%;
  min-width: 0;
  position: relative;
  padding-left: clamp(18px, 2.4vw, 34px);
  border-left: 4px solid var(--accent);
  filter: drop-shadow(0 18px 52px rgba(0, 0, 0, 0.34));
}

.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -28px -34px -28px -30px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18) 68%, transparent);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.hero-brand-word {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 92px);
  top: clamp(130px, 18vh, 190px);
  width: min(40vw, 520px);
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b36d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 56px rgba(0, 0, 0, 0.58);
}

.hero-title-line {
  display: inline;
}

.hero-title-line-nowrap {
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d69445, #8d521d);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 36px rgba(200, 132, 56, 0.34);
  transform: translateY(-2px);
}

.button-small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 16px;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button-wide {
  width: 100%;
}

.hero-panel {
  width: min(860px, 100%);
  margin-top: 54px;
  will-change: transform;
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 102px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22));
}

.hero-panel dt {
  font-size: 30px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.section {
  position: relative;
  padding: 96px clamp(18px, 5vw, 72px);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(18px, 5vw, 72px);
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 19, 15, 0.18), transparent);
  pointer-events: none;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.light h2,
.section-heading.light p {
  color: #fff;
}

.intro-band {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0c0a;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 28px;
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.marquee span::after {
  content: "•";
  margin-left: 28px;
  color: var(--accent);
}

.services,
.safety,
.bikes,
.faq {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(228, 215, 197, 0.82)),
    var(--surface);
  color: var(--ink);
}

.feature-grid,
.gear-grid,
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.gear-card,
.route-card,
.certificate-card,
.modal-panel,
.faq details {
  border-radius: 8px;
}

.feature-card,
.gear-card {
  min-height: 270px;
  border: 1px solid var(--dark-line);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 236, 0.94)),
    #fffaf2;
  box-shadow: 0 18px 54px rgba(35, 31, 26, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.feature-card:hover,
.gear-card:hover {
  border-color: rgba(200, 132, 56, 0.36);
  box-shadow: 0 28px 72px rgba(35, 31, 26, 0.16);
  transform: translateY(-6px);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
}

.feature-card h3::after,
.gear-card h3::after,
.bike-row h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--yellow));
}

.feature-card p,
.gear-card p,
.bike-row p,
.split-copy p,
.certificate-card p,
.faq p,
.contact-band p {
  color: var(--muted);
}

.contact-phone {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 900;
}

.contact-phone a {
  color: #fff;
  white-space: nowrap;
}

.routes {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(200, 132, 56, 0.12), transparent 34%, rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(14, 14, 12, 0.82), rgba(14, 14, 12, 0.98)),
    url("/images/hero-campfire-motorcycles.png") center / cover fixed;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  will-change: transform;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.route-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--yellow));
  opacity: 0.85;
}

.route-card:hover {
  border-color: rgba(200, 132, 56, 0.42);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-8px);
}

.route-card-accent {
  background: linear-gradient(180deg, rgba(200, 132, 56, 0.82), rgba(92, 52, 19, 0.72));
}

.route-level {
  display: inline-flex;
  margin-bottom: 30px;
  color: #f7c789;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.route-card p,
.route-card li {
  color: rgba(255, 255, 255, 0.76);
}

.route-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 24px;
  padding: 22px 0 0;
  list-style: none;
}

.route-card li {
  position: relative;
  padding-left: 18px;
}

.route-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background:
    linear-gradient(135deg, #11100d, #17130f 54%, #0c0c0a);
}

.parallax-photo {
  height: min(64vw, 620px);
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  will-change: transform;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.parallax-photo img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 60% center;
}

.split-copy {
  max-width: 560px;
}

.split-copy h2,
.certificate-card h2 {
  color: #fff;
}

.split-copy p,
.certificate-card p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.photo-ticker {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    linear-gradient(180deg, #090908, #15120e 52%, #090908);
}

.photo-ticker::before,
.photo-ticker::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(12vw, 150px);
  pointer-events: none;
}

.photo-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #0c0c0a, rgba(12, 12, 10, 0));
}

.photo-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #0c0c0a, rgba(12, 12, 10, 0));
}

.photo-ticker-heading {
  max-width: 780px;
  margin: 0 clamp(18px, 5vw, 72px) 34px;
}

.photo-ticker-heading h2 {
  color: #fff;
}

.photo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: photo-marquee 46s linear infinite;
  will-change: transform;
}

.photo-ticker:hover .photo-track {
  animation-play-state: paused;
}

.photo-track figure {
  position: relative;
  width: clamp(260px, 28vw, 450px);
  height: clamp(190px, 20vw, 320px);
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #211d17, #0f0e0c);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.photo-track figure::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(42%, 178px);
  aspect-ratio: 1110 / 128;
  background: url("/images/logo-druzya-wordmark.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.photo-track figure:hover {
  border-color: rgba(200, 132, 56, 0.46);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
}

.photo-track figure:nth-child(2n) {
  width: clamp(210px, 22vw, 340px);
  transform: translateY(22px);
}

.photo-track figure:nth-child(3n) {
  width: clamp(300px, 32vw, 520px);
  transform: translateY(-12px);
}

.photo-track .photo-card-portrait {
  width: clamp(190px, 18vw, 260px) !important;
}

.photo-track .photo-card-two {
  width: clamp(230px, 21vw, 310px) !important;
}

.photo-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #11100d;
}

.photo-track img[src*="trip-10"] {
  object-position: center 54%;
}

.photo-track img[src*="trip-05"] {
  object-position: center 38%;
}

.gear-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gear-card {
  min-height: 230px;
}

.bikes {
  background: var(--surface-deep);
}

.bike-list {
  display: grid;
  gap: 12px;
}

.bike-row {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 250, 242, 0.72);
  overflow: hidden;
  transition:
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.bike-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--blue), var(--yellow));
}

.bike-row:hover {
  background: #fffaf2;
  box-shadow: 0 20px 60px rgba(35, 31, 26, 0.13);
  transform: translateX(8px);
}

.bike-row span {
  color: var(--accent-dark);
  font-size: 32px;
  font-weight: 950;
}

.bike-row h3,
.bike-row p {
  margin-bottom: 0;
}

.certificate {
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(14, 14, 12, 0.96), rgba(14, 14, 12, 0.46)),
    radial-gradient(circle at 20% 50%, rgba(200, 132, 56, 0.2), transparent 30%),
    url("/images/hero-campfire-motorcycles.png") center / cover fixed;
}

.certificate-card {
  width: min(640px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0.38));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  will-change: transform;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--dark-line);
  background: #fffaf2;
  box-shadow: 0 14px 44px rgba(35, 31, 26, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.faq details[open] {
  border-color: rgba(200, 132, 56, 0.38);
  box-shadow: 0 22px 60px rgba(35, 31, 26, 0.14);
}

.faq summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 20px;
  font-weight: 900;
}

.faq p {
  margin: -6px 24px 24px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(200, 132, 56, 0.18), transparent 35%),
    #11100d;
}

.contact-band div {
  max-width: 760px;
}

.contact-band h2 {
  color: #fff;
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  overscroll-behavior: contain;
  max-height: calc(100vh - 44px);
  overflow: auto;
  background:
    linear-gradient(180deg, #fffaf2, #f1e5d2);
  color: var(--ink);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
}

.icon-button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-form,
.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form {
  gap: 16px;
}

.lead-form label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 132, 56, 0.14);
}

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

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message.is-success {
  color: var(--green);
}

.form-message.is-error {
  color: var(--accent-dark);
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes photo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (max-width: 1100px) {
  .site-header {
    gap: 16px;
    padding-inline: clamp(16px, 3vw, 34px);
  }

  .nav {
    gap: 18px;
    font-size: 14px;
  }

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

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

@media (max-width: 860px) {
  body::before {
    display: none;
  }

  .site-header {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px;
    background: rgba(12, 12, 10, 0.72);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
  }

  .site-header.is-scrolled {
    top: 8px;
    right: 8px;
    left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(12, 12, 10, 0.84);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
    padding: 10px 12px;
  }

  .nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
    flex: 0 0 auto;
  }

  .social-links {
    gap: 6px;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .brand-name::after {
    display: none;
  }

  .brand-name {
    max-width: 132px;
  }

  .brand-name-extra {
    display: none;
  }

  .hero-brand-word {
    left: 50%;
    right: auto;
    top: 70px;
    width: min(64vw, 340px);
    opacity: 0.76;
    transform: translateX(-50%);
  }

  .hero {
    min-height: 760px;
    padding-top: 148px;
    align-items: end;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    padding-left: 18px;
    border-left-width: 3px;
  }

  .hero-content > * {
    max-width: calc(100vw - 78px);
  }

  .hero-panel {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-top: 30px;
  }

  .hero-panel dl,
  .route-grid,
  .gear-grid,
  .split-section,
  .bike-row {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: auto;
  }

  .split-copy {
    max-width: none;
  }

  .parallax-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .parallax-photo img {
    height: 100%;
  }

  .routes,
  .certificate {
    background-attachment: scroll;
  }

  .bike-row {
    gap: 12px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    right: 8px;
    left: 8px;
    padding: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    max-width: 112px;
  }

  .header-actions .button-small {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 128px 18px 34px;
  }

  .hero-media img,
  .hero-media video {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 72% 16%, rgba(200, 132, 56, 0.08), transparent 28%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.08)),
      linear-gradient(0deg, rgba(14, 14, 12, 0.76), rgba(14, 14, 12, 0.06) 62%, rgba(14, 14, 12, 0.08));
  }

  .hero-brand-word {
    top: 68px;
    left: 50%;
    right: auto;
    width: min(70vw, 270px);
    opacity: 0.7;
    transform: translateX(-50%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(29px, 7.7vw, 34px);
    line-height: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-title-line {
    display: block;
  }

  .hero-title-line-nowrap {
    font-size: 0.95em;
  }

  h2 {
    font-size: clamp(30px, 10vw, 46px);
    line-height: 1.02;
  }

  h3 {
    font-size: 22px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 17px;
  }

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

  .section {
    padding: 64px 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .hero-panel dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel div {
    min-height: 86px;
    padding: 12px 10px;
  }

  .hero-panel dt {
    font-size: 21px;
  }

  .hero-panel dd {
    font-size: 12px;
    line-height: 1.25;
  }

  .marquee {
    animation-duration: 18s;
  }

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

  .photo-ticker {
    padding: 62px 0 74px;
  }

  .photo-ticker::before,
  .photo-ticker::after {
    width: 48px;
  }

  .photo-ticker-heading {
    margin-bottom: 22px;
  }

  .photo-track {
    gap: 12px;
    animation-duration: 34s;
  }

  .photo-track figure {
    width: 210px;
    height: 300px;
  }

  .photo-track figure:nth-child(2n),
  .photo-track figure:nth-child(3n),
  .photo-track .photo-card-portrait,
  .photo-track .photo-card-two {
    width: 210px !important;
    transform: none;
  }

  .photo-track .photo-card-landscape {
    width: 286px !important;
    height: 210px;
  }

  .photo-track img {
    object-position: center 30%;
  }

  .photo-track .photo-card-landscape img {
    object-position: center center;
  }

  .photo-track img[src*="trip-10"] {
    object-position: center 42%;
  }

  .photo-track figure::after {
    right: 10px;
    bottom: 10px;
    width: 118px;
  }

  .contact-phone {
    font-size: 18px;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100svh - 20px);
    border-radius: 8px 8px 0 0;
    padding: 24px 18px 20px;
  }

  .icon-button {
    top: 12px;
    right: 12px;
  }

  .route-card,
  .feature-card,
  .gear-card,
  .bike-row {
    padding: 22px;
  }
}

@media (max-width: 390px) {
  .brand {
    gap: 8px;
    font-size: 13px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    max-width: 104px;
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 700px;
    padding-inline: 14px;
  }

  .hero-content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-left: 14px;
  }

  .hero-content > * {
    max-width: calc(100vw - 58px);
  }

  .hero-panel dl {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: auto;
  }

  .button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .section {
    padding-inline: 14px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
