/* ════════════════════════════════════════════════════════════════
   "Why OVERCROSS" — the reasons-to-book page.

   Read as a roadbook: one route line runs down the middle of the
   page and the five reasons hang off it, alternating sides. Milk
   paper, ink type, photographs as the only colour — orange is
   reserved for the eyebrow rule and the primary CTA.
   ════════════════════════════════════════════════════════════════ */

/* The layout paints html/body from --main-bg-color. */
:root { --main-bg-color: #ede3d5; }

.ocr {
  --ocr-paper:   #ede3d5;
  --ocr-paper-2: #e2d5c2;
  --ocr-ink:     #111214;
  --ocr-ink-2:   rgba(17, 18, 20, 0.70);
  --ocr-ink-3:   rgba(17, 18, 20, 0.42);
  --ocr-rule:    rgba(17, 18, 20, 0.16);
  --ocr-orange:  #ff6a00;

  --ocr-disp:   'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --ocr-body:   'Roboto', Arial, sans-serif;

  --ocr-wrap:   1240px;
  --ocr-gutter: clamp(20px, 5vw, 48px);

  display: block;
  background: var(--ocr-paper);
  color: var(--ocr-ink);
  font-family: var(--ocr-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.ocr__wrap {
  max-width: var(--ocr-wrap);
  margin: 0 auto;
  padding: 0 var(--ocr-gutter);
}

/* ── Eyebrow ─────────────────────────────────────────────────── */
.ocr-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ocr-eyebrow::before {
  content: '';
  flex: 0 0 auto;
  width: 48px;
  height: 1px;
  background: var(--ocr-orange);
}
.ocr-eyebrow--center {
  justify-content: center;
}
.ocr-eyebrow--center::after {
  content: '';
  flex: 0 0 auto;
  width: 48px;
  height: 1px;
  background: var(--ocr-orange);
}
.ocr-eyebrow__text {
  font-family: var(--ocr-disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ocr-ink);
}
.ocr-eyebrow--onphoto .ocr-eyebrow__text {
  color: var(--ocr-paper);
}

/* ── Banner ──────────────────────────────────────────────────── */
.ocr-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 84vh, 900px);
  overflow: hidden;
  background: var(--ocr-paper-2);
}

.ocr-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Dark at the very top so the site's white logo holds, dark again at the
   bottom so the headline holds — the photograph itself stays open. */
.ocr-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 18, 20, 0.58) 0%,
    rgba(17, 18, 20, 0.14) 22%,
    rgba(17, 18, 20, 0.10) 46%,
    rgba(17, 18, 20, 0.74) 100%
  );
}

.ocr-banner__body {
  position: relative;
  width: 100%;
  padding-bottom: clamp(44px, 7vh, 96px);
  color: var(--ocr-paper);
}

.ocr-banner__title {
  margin: 24px 0 0;
  font-family: var(--ocr-disp);
  line-height: 0.9;
  color: var(--ocr-paper);
}
.ocr-banner__title-strong {
  display: block;
  font-size: clamp(44px, 8.4vw, 116px);
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.ocr-banner__title-light {
  display: block;
  margin-top: 0.08em;
  font-size: clamp(28px, 5.4vw, 76px);
  font-weight: 300;
  letter-spacing: 0.012em;
  color: rgba(237, 227, 213, 0.80);
}

/* ── Intro: the deck and the roadbook index, on paper ────────── */
.ocr-intro {
  padding: clamp(56px, 9vh, 108px) 0 0;
}

.ocr-intro__deck {
  margin: 0;
  max-width: 620px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.68;
  color: var(--ocr-ink-2);
}

/* ── Roadbook index ──────────────────────────────────────────── */
.ocr-index {
  margin-top: clamp(40px, 6vh, 76px);
  border-top: 1px solid var(--ocr-rule);
}

.ocr-index__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 280px) minmax(0, 1fr) 26px;
  align-items: center;
  gap: 0 clamp(12px, 2vw, 28px);
  padding: clamp(15px, 2.1vh, 22px) 6px;
  border-bottom: 1px solid var(--ocr-rule);
  color: inherit;
  text-decoration: none;
  transition: background 0.28s ease, padding-left 0.28s ease;
}
.ocr-index__row:hover,
.ocr-index__row:focus-visible {
  background: rgba(17, 18, 20, 0.05);
  padding-left: 16px;
  color: inherit;
  text-decoration: none;
}
.ocr-index__row:focus-visible {
  outline: 1px solid var(--ocr-ink-3);
  outline-offset: -1px;
}

.ocr-index__num {
  font-family: var(--ocr-disp);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ocr-ink-3);
}
.ocr-index__key {
  font-family: var(--ocr-disp);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ocr-index__lead {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ocr-ink-2);
}
.ocr-index__arrow {
  justify-self: end;
  font-size: 15px;
  color: var(--ocr-ink-3);
  transition: transform 0.28s ease, color 0.28s ease;
}
.ocr-index__row:hover .ocr-index__arrow,
.ocr-index__row:focus-visible .ocr-index__arrow {
  transform: translateY(3px);
  color: var(--ocr-ink);
}

/* ── Stages ──────────────────────────────────────────────────── */
.ocr-stages {
  position: relative;
  padding: clamp(12px, 3vh, 44px) 0 0;
}

/* The route: a hairline down the middle that fills as you travel it. */
.ocr-route {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: var(--ocr-rule);
  pointer-events: none;
  z-index: 1;
}
.ocr-route__fill {
  display: block;
  width: 100%;
  height: var(--ocr-progress, 0%);
  background: var(--ocr-ink);
  opacity: 0.55;
}

.ocr-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  scroll-margin-top: 84px;
}

.ocr-stage__figure {
  display: flex;
  margin: 0;
  min-height: clamp(400px, 66vh, 720px);
}
.ocr-stage--flip .ocr-stage__figure { order: 2; }

.ocr-stage__body {
  max-width: 640px;
  margin-right: auto;
  padding: clamp(40px, 6vh, 80px) clamp(36px, 5vw, 88px);
}
.ocr-stage--flip .ocr-stage__body {
  margin-right: 0;
  margin-left: auto;
}

.ocr-stage__meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.ocr-stage__num {
  font-family: var(--ocr-disp);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ocr-ink-3);
}
.ocr-stage__key {
  font-family: var(--ocr-disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ocr-ink-3);
}

.ocr-stage__title {
  margin: 0 0 20px;
  font-family: var(--ocr-disp);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ocr-ink);
}

.ocr-stage__text {
  margin: 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ocr-ink-2);
}

/* Waypoint: sits exactly on the route line, fills once you pass it. */
.ocr-stage__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 11px;
  height: 11px;
  margin: -6px 0 0 -6px;
  background: var(--ocr-paper);
  border: 1px solid var(--ocr-ink-3);
  transform: rotate(45deg);
  transition: background 0.45s ease, border-color 0.45s ease;
}
.ocr-stage.is-on .ocr-stage__mark {
  background: var(--ocr-ink);
  border-color: var(--ocr-ink);
}

/* ── Photo ───────────────────────────────────────────────────── */
.ocr-photo {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  background: var(--ocr-paper-2);
  overflow: hidden;
}
/* Absolute so the photo fills a cell whose height comes from min-height. */
.ocr-photo__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Before you book: the objections ─────────────────────────── */
.ocr-doubts {
  margin-top: clamp(40px, 7vh, 90px);
  padding: clamp(76px, 12vh, 148px) 0 clamp(80px, 12vh, 152px);
  border-top: 1px solid var(--ocr-rule);
}

.ocr-doubts__head {
  margin-bottom: clamp(44px, 6vh, 76px);
}
.ocr-doubts__title {
  margin: 22px 0 0;
  max-width: 16ch;
  font-family: var(--ocr-disp);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ocr-doubts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 3.6vw, 54px) clamp(40px, 5vw, 88px);
}

.ocr-doubt {
  padding-top: clamp(18px, 2.4vh, 26px);
  border-top: 1px solid var(--ocr-rule);
}
.ocr-doubt__q {
  margin: 0 0 12px;
  font-family: var(--ocr-disp);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ocr-ink);
}
.ocr-doubt__a {
  margin: 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ocr-ink-2);
}

/* ── Closing ─────────────────────────────────────────────────── */
.ocr-close {
  padding: clamp(84px, 13vh, 164px) 0 clamp(92px, 14vh, 176px);
  border-top: 1px solid var(--ocr-rule);
}

/* The closing photo band. Full-bleed, its own proportion, sitting above the
   section's own top padding — the rule that separates the objections from the
   close stays where it was. */
.ocr-close__band {
  margin: calc(-1 * clamp(84px, 13vh, 164px)) 0 clamp(64px, 9vh, 116px);
  overflow: hidden;
  background: var(--ocr-paper-2);
}
.ocr-close__band-img {
  display: block;
  width: 100%;
  height: clamp(150px, 21vw, 320px);
  object-fit: cover;
  object-position: center 46%;
}

.ocr-close__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ocr-close__title {
  margin: 24px 0 20px;
  font-family: var(--ocr-disp);
  font-size: clamp(28px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.ocr-close__text {
  margin: 0 auto 38px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ocr-ink-2);
}
.ocr-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.ocr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border: 1px solid transparent;
  font-family: var(--ocr-disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.ocr-btn--primary {
  background: var(--ocr-orange);
  color: #fff;
}
.ocr-btn--primary:hover,
.ocr-btn--primary:focus {
  background: #e05d00;
  color: #fff;
}
.ocr-btn--ghost {
  background: transparent;
  border-color: var(--ocr-rule);
  color: var(--ocr-ink);
}
.ocr-btn--ghost:hover,
.ocr-btn--ghost:focus {
  border-color: var(--ocr-ink);
  color: var(--ocr-ink);
  text-decoration: none;
}
.ocr-btn__arrow {
  transition: transform 0.22s ease;
}
.ocr-btn:hover .ocr-btn__arrow {
  transform: translateX(4px);
}

/* ── Scroll reveal (only armed once the script is running) ───── */
.ocr-js .ocr-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.ocr-js .ocr-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── Tablet and below: the route line gives way to a stack ───── */
@media (max-width: 1024px) {
  .ocr-banner {
    min-height: clamp(440px, 68vh, 640px);
  }

  .ocr-route,
  .ocr-stage__mark {
    display: none;
  }

  .ocr-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .ocr-stage--flip .ocr-stage__figure { order: 0; }

  .ocr-stage__figure {
    min-height: clamp(300px, 46vh, 460px);
  }
  .ocr-stage__body {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(34px, 5vh, 56px) var(--ocr-gutter) clamp(52px, 8vh, 84px);
  }
}

@media (max-width: 760px) {
  .ocr-index__row {
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .ocr-index__lead {
    display: none;
  }
  .ocr-banner {
    min-height: clamp(400px, 62vh, 520px);
  }
  .ocr-intro__deck {
    font-size: 17px;
  }
  .ocr-doubts__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ocr-stage__text,
  .ocr-close__text {
    font-size: 16px;
  }
  .ocr-close__actions .ocr-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ocr *,
  .ocr *::before,
  .ocr *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .ocr-js .ocr-reveal {
    opacity: 1;
    transform: none;
  }
}
