:root {
  --font-he: "Rubik", Arial, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ink: #171717;
  --muted: #6d706f;
  --paper: #f2f1ef;
  --white: #ffffff;
  --line: rgba(23, 23, 23, 0.14);
  --dark: #080909;
  --orange: #ff6a13;
  --orange-dark: #d94f00;
  --green: #b8d04a;
  --steel: #6f858b;
  --red: #b13f32;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-he);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select {
  font: inherit;
}

.en {
  direction: ltr;
  display: inline-block;
  font-family: var(--font-en);
}

.topbar {
  align-items: center;
  background: rgba(241, 240, 238, 0.94);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  height: 52px;
  inset: 0 0 auto;
  padding: 0 10px 0 18px;
  position: fixed;
  z-index: 50;
}

.brand-lockup {
  align-items: center;
  display: flex;
  direction: ltr;
  min-width: 0;
}

.recycles-logo-horizontal {
  display: block;
  height: 32px;
  object-fit: contain;
  width: 126px;
}

.anchor-nav {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.anchor-nav a,
.nav-current {
  color: #6c6f6e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.anchor-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-current {
  color: var(--ink);
  font-weight: 800;
}

.topbar-cta,
.primary-cta {
  align-items: center;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 28px;
  padding: 0 22px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.topbar-cta:hover,
.primary-cta:hover {
  background: var(--orange-dark);
  box-shadow: 0 12px 28px rgba(255, 106, 19, 0.34);
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 96px 24px 72px;
  place-items: center;
  position: relative;
}

.hero-media,
.hero-shade,
.hero-video {
  inset: 0;
  position: absolute;
}

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

.hero-shade {
  background:
    linear-gradient(110deg, rgba(8, 9, 9, 0.72), rgba(8, 9, 9, 0.18) 42%, rgba(8, 9, 9, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46));
}

.hero-content {
  color: var(--white);
  max-width: min(1180px, calc(100vw - 36px));
  position: relative;
  text-align: center;
  z-index: 1;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(132px, 28vw, 430px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.72;
  margin: 0;
  text-wrap: balance;
}

.hero h2 {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(42px, 7.8vw, 124px);
  font-weight: 800;
  line-height: 0.95;
  margin: 16px auto 0;
  max-width: 1040px;
  text-wrap: balance;
}

.hero-orbea-logo {
  display: block;
  height: clamp(24px, 3.8vw, 58px);
  margin: 0 auto 18px;
  object-fit: contain;
  opacity: 0.95;
  width: clamp(160px, 24vw, 360px);
}

.hero p {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
  margin: 22px auto 28px;
  max-width: 720px;
}

.primary-cta {
  min-height: 46px;
  padding: 0 34px;
}

.section {
  padding: 78px 28px;
}

.section-heading,
.ride-copy,
.models-copy {
  margin: 0 auto 42px;
  max-width: 920px;
  text-align: center;
}

.compact-heading {
  margin-bottom: 22px;
}

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

h2 {
  font-size: clamp(34px, 5.4vw, 78px);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}

.section-heading p:last-child,
.ride-copy p:last-child,
.models-copy p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 22px auto 0;
  max-width: 720px;
}

.model-tabs {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.story-section,
.feature-system {
  background: var(--white);
}

.story-section {
  background: var(--white);
  padding: 52px 0 34px;
}

.narrow-copy {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 24px;
  text-align: center;
}

.narrow-copy h2 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
}

.narrow-copy p {
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.68;
  margin: 24px auto 0;
  max-width: 980px;
}

.narrow-copy p br {
  display: block;
}

.feature-system {
  background: var(--white);
  display: grid;
  gap: 20px;
  padding: 0 0 18px;
}

.feature-block {
  display: grid;
  gap: 18px;
}

.weight-block {
  gap: 0;
}

.weight-block .accordion-grid {
  margin-top: 8px;
}

.feature-hero-card {
  color: var(--white);
  display: grid;
  min-height: clamp(500px, 70svh, 760px);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.feature-hero-card img,
.inline-feature-video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-hero-card img {
  inset: 0;
  position: absolute;
}

#performance .feature-hero-card img {
  object-position: center 38%;
}

.feature-hero-card::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));
  content: "";
  inset: 0;
  position: absolute;
}

.feature-overlay {
  align-self: end;
  max-width: 720px;
  padding: clamp(32px, 7vw, 92px);
  position: relative;
  text-align: right;
  z-index: 1;
}

.feature-overlay h2 {
  font-size: clamp(42px, 6.6vw, 98px);
  line-height: 0.95;
  max-width: 780px;
  text-wrap: balance;
}

.feature-overlay p {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.58;
  margin: 20px 0 0;
  max-width: 640px;
}

.inline-feature-video {
  height: clamp(340px, 44vw, 560px);
  object-position: center;
}

.accordion-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 28px;
  width: 100%;
}

.accordion-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
}

.weight-copy-card {
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(28px, 3.4vw, 42px) 24px;
  text-align: center;
}

.weight-copy-card h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  text-wrap: balance;
}

.weight-copy-card p {
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.68;
  margin: 14px 0 0;
  max-width: 760px;
}

.keep-line {
  white-space: nowrap;
}

.expand-card {
  background: #111;
  border-radius: 6px;
  color: var(--white);
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.expand-toggle {
  align-items: end;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  height: 100%;
  min-height: 280px;
  padding: 26px;
  position: relative;
  text-align: right;
  width: 100%;
  z-index: 2;
}

.expand-toggle img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 500ms ease, opacity 240ms ease;
  width: 100%;
}

.expand-toggle::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.expand-toggle span {
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 800;
  line-height: 1.02;
  max-width: min(340px, calc(100% - 48px));
  position: relative;
  text-wrap: balance;
  z-index: 1;
}

.expand-toggle b {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  height: 34px;
  left: 18px;
  position: absolute;
  top: 18px;
  width: 34px;
  z-index: 2;
}

.expand-toggle b::before,
.expand-toggle b::after {
  background: var(--ink);
  content: "";
  height: 2px;
  left: 10px;
  position: absolute;
  top: 16px;
  transition: transform 220ms ease;
  width: 14px;
}

.expand-toggle b::after {
  transform: rotate(90deg);
}

.expand-content {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 0.94));
  bottom: 0;
  left: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  transition: max-height 320ms ease, opacity 220ms ease;
  z-index: 3;
}

.expand-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
  padding: 72px 26px 26px;
}

.expand-card.open .expand-content {
  max-height: 320px;
  opacity: 1;
}

.expand-card.open .expand-toggle span {
  opacity: 0;
  transform: translateY(10px);
}

.expand-card.open .expand-toggle img,
.expand-card:hover .expand-toggle img {
  transform: scale(1.045);
}

.expand-card.open .expand-toggle b::after {
  transform: rotate(0deg);
}

.expand-toggle span {
  transition: opacity 180ms ease, transform 180ms ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.model-tab {
  border: 0;
  cursor: pointer;
}

.models {
  background: var(--white);
  overflow: hidden;
  padding-bottom: 22px;
  padding-top: 34px;
}

.models-copy {
  margin-bottom: 0;
}

.models-copy h2 {
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.94;
}

.model-stage {
  align-items: center;
  background: var(--white);
  display: grid;
  margin: 0 auto;
  max-width: 1380px;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.model-image {
  display: block;
  height: min(440px, 41vw);
  margin: 0 auto;
  max-width: min(1220px, 92vw);
  object-fit: contain;
  transition: opacity 280ms ease, transform 320ms ease;
  width: 100%;
}

.model-meta {
  bottom: 8px;
  inset-inline: 0;
  position: absolute;
  text-align: center;
}

.model-name {
  color: var(--ink);
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  margin: 0;
}

.model-tabs {
  flex-wrap: nowrap;
  margin: 10px auto 0;
  max-width: min(1240px, calc(100vw - 40px));
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

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

.model-tab {
  background: transparent;
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-en);
  flex: 0 0 auto;
  font-size: clamp(9px, 0.72vw, 12px);
  font-weight: 700;
  min-height: 30px;
  padding: 0 clamp(8px, 0.9vw, 14px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.model-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.model-tab.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.models-cta {
  align-items: center;
  background: var(--orange);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  justify-content: center;
  margin: 28px auto 0;
  min-height: 52px;
  min-width: 220px;
  padding: 0 38px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.models-cta:hover {
  background: #f05f12;
  box-shadow: 0 16px 34px rgba(255, 106, 19, 0.24);
  transform: translateY(-2px);
}

.site-footer {
  align-items: center;
  background: #0b0b0b;
  color: var(--white);
  display: grid;
  gap: 28px;
  justify-content: center;
  padding: 38px 24px 46px;
  text-align: center;
}

.footer-logos {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-recycles,
.footer-orbea {
  display: block;
  height: 38px;
  object-fit: contain;
}

.footer-recycles {
  width: 188px;
}

.footer-orbea {
  width: 188px;
}

.footer-divider {
  display: none;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin: 0;
}

.asset-credit {
  direction: rtl;
}

.asset-credit a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .topbar {
    gap: 10px;
    grid-template-columns: auto 1fr auto;
    padding: 0 10px;
  }

  .recycles-logo-horizontal {
    height: 30px;
    width: 122px;
  }

  .anchor-nav {
    gap: 12px;
    justify-content: center;
    overflow: auto;
    scrollbar-width: none;
  }

  .anchor-nav::-webkit-scrollbar {
    display: none;
  }

  .anchor-nav a,
  .nav-current {
    font-size: 11px;
  }

  .topbar-cta {
    font-size: 12px;
    min-height: 26px;
    padding: 0 12px;
  }

  .hero h1 {
    font-size: clamp(120px, 30vw, 260px);
    line-height: 0.72;
  }

  .hero h2 {
    font-size: clamp(42px, 9vw, 86px);
  }

  .feature-system {
    gap: 34px;
    padding: 0 0 38px;
  }

  .accordion-grid,
  .accordion-grid.two-up {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .feature-hero-card {
    min-height: 520px;
  }

}

@media (max-width: 640px) {
  .topbar {
    height: 48px;
  }

  .recycles-logo-horizontal {
    height: 24px;
    width: 96px;
  }

  .anchor-nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(88px, 30vw, 136px);
  }

  .hero h2 {
    font-size: clamp(34px, 13vw, 58px);
  }

  .hero p {
    font-size: 15px;
  }

  .story-section {
    padding: 46px 0 34px;
  }

  .narrow-copy {
    margin-bottom: 0;
    text-align: center;
  }

  .narrow-copy h2 {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.04;
  }

  .narrow-copy p {
    font-size: 15px;
    line-height: 1.62;
    margin-top: 12px;
  }

  .narrow-copy p br {
    display: none;
  }

  .feature-system {
    gap: 30px;
    padding: 0 0 36px;
  }

  .feature-hero-card {
    min-height: 460px;
  }

  .feature-overlay {
    padding: 32px 20px;
  }

  .feature-overlay h2 {
    font-size: clamp(36px, 12vw, 58px);
    line-height: 1;
  }

  .feature-overlay p {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 16px;
  }

  .accordion-grid {
    gap: 14px;
    padding: 0 18px;
  }

  .expand-toggle,
  .expand-card {
    min-height: 250px;
  }

  .expand-toggle {
    padding: 22px;
  }

  .expand-toggle span {
    font-size: 26px;
    line-height: 1.04;
  }

  .expand-content p {
    font-size: 15px;
    line-height: 1.58;
    padding: 64px 22px 22px;
  }

  .expand-card.open .expand-content {
    max-height: 340px;
  }

  .section {
    padding: 82px 18px;
  }

  .weight-copy-card {
    margin-inline: auto;
  }

  .keep-line {
    white-space: normal;
  }

  .model-image {
    height: 240px;
  }

  .model-stage {
    min-height: 380px;
  }

}
