/* The home page in the new design: big photography, a real video, very large type and one strong
   orange. Loaded after styles.css. Logical properties only, so Hebrew (RTL) and English (LTR) share it. */
:root {
  --h-navy: #0b3954;     /* the logo */
  --h-night: #062438;    /* dark sections */
  --h-orange: #f26b3a;   /* the logo's dot: every action you can take */
  --h-orange-d: #d9541f;
  --h-fog: #eef2f4;
  --h-ink-2: #4c6577;
  --h-display: "Karantina", "IBM Plex Sans Hebrew", "Arial Narrow", sans-serif;
  --h-text: "IBM Plex Sans Hebrew", "Segoe UI", Arial, sans-serif;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.home { font-family: var(--h-text); color: var(--h-navy); background: #fff; }
.home h1, .home h2, .home h3 { font-family: var(--h-display); font-weight: 700; line-height: 0.84; }
.home :focus-visible { outline: 3px solid var(--h-orange); outline-offset: 3px; }
.home .btn.primary { background: var(--h-orange); color: #fff; box-shadow: none; }
.home .btn.primary:hover { background: var(--h-orange-d); }
.home .btn.big { font-size: 1.25rem; padding: 18px 36px; border-radius: 14px; }

/* ---------- the header over the video ---------- */
body.on-home .site-header { position: fixed; inset-inline: 0; background: transparent; border-block-end-color: transparent; transition: background 0.3s ease; }
body.on-home:not(.scrolled) .site-header .brand,
body.on-home:not(.scrolled) .site-header .nav a { color: #fff; }
body.on-home:not(.scrolled) .site-header .brand svg { filter: brightness(0) invert(1); }
body.on-home:not(.scrolled) .site-header .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.8); }
body.on-home:not(.scrolled) .site-header .btn.ghost:hover { background: rgb(255 255 255 / 0.15); }
body.on-home:not(.scrolled) .site-header .lang { border-color: rgb(255 255 255 / 0.4); }
body.on-home:not(.scrolled) .site-header .user-chip { color: #fff; }
body.on-home .site-header .btn.primary { background: var(--h-orange); color: #fff; box-shadow: none; }
body.on-home.scrolled .site-header { background: #fff; border-block-end-color: #dbe3e8; }

/* ---------- 1. hero ---------- */
.home-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; background: #3a2a24; }
.home-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgb(6 36 56 / 0.6) 0%, rgb(6 36 56 / 0) 20%),
    linear-gradient(to top, rgb(6 36 56 / 0.85) 0%, rgb(6 36 56 / 0.3) 45%, rgb(6 36 56 / 0) 70%);
}
.home-hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: clamp(24px, 4vw, 64px); align-items: end;
  width: 100%; max-width: 1500px; margin-inline: auto; padding: 110px var(--gutter) clamp(76px, 10vh, 110px);
}
.home-kicker { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; margin-block-end: 6px; text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }
.home-hero h1 { font-size: clamp(110px, 16vw, 300px); line-height: 0.78; letter-spacing: -0.01em; text-shadow: 0 2px 40px rgb(6 36 56 / 0.35); }
.home-hero .ticket { color: var(--h-navy); border-radius: 18px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.75); -webkit-mask: none; mask: none; max-height: calc(100svh - 150px); overflow: auto; }
.home-hero .ticket-head { border-block-end: 1px solid #dbe3e8; }
.home-hero .ticket-head .badge { background: var(--h-orange); color: #fff; }
.home-hero .ticket-head h2 { font-family: var(--h-display); font-size: 2.4rem; line-height: 0.9; }
.home-hero .ticket .btn.primary, .home-hero .ticket button[type="submit"] { background: var(--h-orange); color: #fff; box-shadow: none; }
.home-hero .ticket .btn.primary:hover, .home-hero .ticket button[type="submit"]:hover { background: var(--h-orange-d); }
.home-hero-foot { position: absolute; inset-inline: var(--gutter); inset-block-end: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; pointer-events: none; }
.home-hero-foot > * { pointer-events: auto; }
.home-credit, .last-credit, .money-credit { font-size: 0.75rem; opacity: 0.85; }
.home-credit a, .last-credit a, .money-credit a, .story-photo-credit a { color: inherit; }
.video-pause { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.7); background: rgb(6 36 56 / 0.35); cursor: pointer; display: grid; place-items: center; }
.video-pause::before { content: ""; width: 12px; height: 14px; border-inline: 4px solid #fff; box-sizing: border-box; }
.video-pause.is-paused::before { width: 0; height: 0; border: 0; border-block: 8px solid transparent; border-inline-start: 13px solid #fff; margin-inline-start: 4px; }
[dir="rtl"] .video-pause.is-paused::before { border-inline-start: 0; border-inline-end: 13px solid #fff; margin-inline: 0 4px; }

/* ---------- 2. one day, as you scroll ---------- */
.home-story { position: relative; background: var(--h-night); }
.story-stage { position: sticky; inset-block-start: 0; height: 100svh; overflow: hidden; }
.story-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.9s ease, transform 6s ease; }
.story-photos img.is-on { opacity: 1; transform: scale(1); }
.story-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(6 36 56 / 0.7), rgb(6 36 56 / 0) 50%); }
.story-clock { position: absolute; z-index: 1; inset-inline-end: var(--gutter); inset-block-end: clamp(24px, 6vh, 64px); color: #fff; display: grid; justify-items: end; gap: 10px; }
.story-time { font-family: var(--h-display); font-weight: 700; font-size: clamp(120px, 22vw, 380px); line-height: 0.75; font-variant-numeric: tabular-nums; direction: ltr; }
.story-bar { width: clamp(200px, 24vw, 380px); height: 8px; background: rgb(255 255 255 / 0.25); border-radius: 4px; overflow: hidden; }
.story-bar i { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); background: var(--h-orange); transition: width 0.6s ease; }
.story-used { font-size: 0.95rem; font-weight: 500; }
.story-steps { position: relative; z-index: 2; margin-block-start: -100svh; padding-inline: var(--gutter); }
.story-steps ol { list-style: none; margin: 0; padding: 0; }
.story-head, .story-step { min-height: 100svh; display: flex; align-items: center; }
.story-head { flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; max-width: 760px; gap: 18px; }
.story-head h2 { font-size: clamp(88px, 12vw, 200px); text-shadow: 0 2px 30px rgb(0 0 0 / 0.35); }
.story-head p { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 34ch; text-shadow: 0 1px 12px rgb(0 0 0 / 0.55); }
.story-card { background: #fff; color: var(--h-navy); padding: 26px 28px 22px; width: min(440px, 100%); border-radius: 6px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.story-card time { display: block; font-weight: 700; color: var(--h-orange-d); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.story-card h3 { font-size: clamp(48px, 5vw, 72px); line-height: 0.9; margin-block: 4px 12px; }
.story-meta { display: flex; justify-content: space-between; gap: 12px; margin-block-start: 14px; padding-block-start: 12px; border-block-start: 1px solid #dbe3e8; font-size: 0.875rem; color: var(--h-ink-2); }
.story-photo-credit { font-size: 0.75rem; opacity: 0.85; }

/* ---------- 3. paces ---------- */
.home-pace { background: var(--h-night); color: #fff; padding: clamp(96px, 14vw, 180px) var(--gutter); }
.home-pace .pace-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: end; margin-block-end: clamp(40px, 6vw, 80px); }
.home-pace h2 { font-size: clamp(72px, 9vw, 150px); }
.home-pace .pace-head p { font-size: 1.2rem; color: #c5d4de; max-width: 32ch; }
.pace-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.pace-opt { display: grid; justify-items: start; text-align: start; gap: 4px; background: transparent; border: 0; border-block-start: 3px solid rgb(255 255 255 / 0.2); padding: 18px 0 0; cursor: pointer; color: rgb(255 255 255 / 0.55); transition: color 0.25s ease, border-color 0.25s ease; }
.pace-opt:hover { color: #fff; }
.pace-opt[aria-checked="true"] { color: #fff; border-color: var(--h-orange); }
.pace-num { font-family: var(--h-display); font-weight: 700; font-size: clamp(140px, 20vw, 320px); line-height: 0.78; }
.pace-opt[aria-checked="true"] .pace-num { color: var(--h-orange); }
.pace-name { font-size: 1.25rem; font-weight: 600; }
.pace-desc { font-size: 1rem; opacity: 0.85; }
.pace-hours { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-block-start: clamp(40px, 6vw, 72px); }
.hour { height: 54px; border-radius: 4px; background: rgb(255 255 255 / 0.1); position: relative; transition: background 0.3s ease; transition-delay: calc(var(--i) * 30ms); }
.hour small { position: absolute; inset-block-start: 6px; inset-inline-start: 8px; font-size: 0.75rem; opacity: 0.6; }
.hour.full { background: var(--h-orange); }
.hour.stretch { background: repeating-linear-gradient(135deg, var(--h-orange) 0 6px, transparent 6px 12px); }
.pace-note { margin-block-start: 22px; font-family: "Playpen Sans Hebrew", "Segoe Print", cursive; font-size: 1.1rem; color: #f5c8b5; max-width: 52ch; }

/* ---------- 4. destinations ---------- */
.home-rail { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-inline: var(--gutter); margin-block-end: 36px; }
.rail-head h2 { font-size: clamp(72px, 10vw, 160px); }
.rail-head p { margin-block-start: 12px; color: var(--h-ink-2); font-size: 1.1rem; }
.rail-nav { display: flex; gap: 10px; flex: none; }
.round { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--h-navy); background: transparent; cursor: pointer; display: grid; place-items: center; }
.round:hover { background: var(--h-navy); }
.round::before { content: ""; width: 12px; height: 12px; border-block-start: 2.5px solid var(--h-navy); border-inline-start: 2.5px solid var(--h-navy); transform: rotate(-45deg); margin-inline-start: 4px; }
.round.next::before { transform: rotate(135deg); margin-inline: 0 4px; }
[dir="rtl"] .round::before { transform: rotate(45deg); margin-inline: 0 4px; }
[dir="rtl"] .round.next::before { transform: rotate(-135deg); margin-inline: 4px 0; }
.round:hover::before { border-color: #fff; }
.rail-list { list-style: none; margin: 0; padding: 0 var(--gutter) 12px; display: flex; gap: 20px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail-list::-webkit-scrollbar { display: none; }
.rail-card { flex: none; width: clamp(280px, 34vw, 520px); scroll-snap-align: start; }
.home .dest { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; overflow: hidden; border-radius: 8px; cursor: pointer; color: #fff; background: var(--h-navy); }
.home .dest:focus-visible { outline: 3px solid var(--h-orange); outline-offset: 3px; }
.home .dest img { width: 100%; height: 70vh; max-height: 720px; min-height: 420px; object-fit: cover; transition: transform 0.8s ease; }
.rail-card.r1 { margin-block-start: 8vh; }
.rail-card.r1 .dest img { height: 58vh; min-height: 360px; }
.rail-card.r2 .dest img { height: 64vh; }
.home .dest:hover img { transform: scale(1.04); }
.dest-text { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 70px 26px 22px; background: linear-gradient(to top, rgb(6 36 56 / 0.82), transparent); display: grid; text-align: start; }
.home .dest-text strong { font-family: var(--h-display); font-weight: 700; font-size: clamp(56px, 6vw, 96px); line-height: 0.85; }
.dest-text span { font-size: 1rem; font-weight: 500; }

/* ---------- 5. what it costs ---------- */
.home-money { position: relative; min-height: 100svh; display: grid; align-items: center; justify-items: end; padding: 90px var(--gutter); overflow: hidden; isolation: isolate; }
.money-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.receipt {
  width: min(420px, 100%); background: #fff; color: var(--h-navy); padding: 30px 30px 44px; box-shadow: 0 40px 70px -30px rgb(0 0 0 / 0.7);
  /* a torn bottom edge, like a real receipt */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 95% 100%, 90% calc(100% - 12px), 85% 100%, 80% calc(100% - 12px), 75% 100%, 70% calc(100% - 12px), 65% 100%, 60% calc(100% - 12px), 55% 100%, 50% calc(100% - 12px), 45% 100%, 40% calc(100% - 12px), 35% 100%, 30% calc(100% - 12px), 25% 100%, 20% calc(100% - 12px), 15% 100%, 10% calc(100% - 12px), 5% 100%, 0 calc(100% - 12px));
}
.receipt h2 { font-size: 72px; line-height: 0.85; }
.receipt-sub { color: var(--h-ink-2); font-size: 0.95rem; margin-block: 6px 20px; }
.receipt .r { display: flex; align-items: baseline; gap: 8px; padding-block: 7px; font-variant-numeric: tabular-nums; }
.receipt .r i { flex: 1; border-block-end: 2px dotted #c7d2d9; transform: translateY(-4px); }
.receipt .r.total { border-block-start: 2px solid var(--h-navy); margin-block-start: 8px; padding-block-start: 12px; font-weight: 700; font-size: 1.2rem; }
.receipt .r.left b { color: var(--h-orange-d); }
.receipt-note { margin-block-start: 16px; font-size: 0.875rem; color: var(--h-ink-2); }
.money-credit { position: absolute; inset-inline-start: var(--gutter); inset-block-end: 16px; color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }

/* ---------- 6. questions, and the way in ---------- */
.home-faq { padding: clamp(96px, 12vw, 160px) var(--gutter); max-width: 1100px; margin-inline: auto; }
.home-faq h2 { font-size: clamp(72px, 9vw, 140px); margin-block-end: 36px; }
.home-faq details { border-block-start: 2px solid var(--h-navy); padding-block: 18px; }
.home-faq details:last-child { border-block-end: 2px solid var(--h-navy); }
.home-faq summary { cursor: pointer; font-size: 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; font-family: var(--h-display); font-size: 2.4rem; line-height: 0.6; color: var(--h-orange); }
.home-faq details[open] summary::after { content: "−"; }
.home-faq details p { margin-block-start: 10px; font-size: 1.05rem; color: var(--h-ink-2); max-width: 70ch; }
.home-last { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; }
.last-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-last::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 36 56 / 0.92) 0%, rgb(6 36 56 / 0.7) 32%, rgb(6 36 56 / 0) 68%); }
.last-in { padding: 0 var(--gutter) clamp(64px, 10vh, 120px); display: grid; justify-items: start; gap: 28px; }
.home-last h2 { font-size: clamp(120px, 21vw, 380px); line-height: 0.76; text-shadow: 0 2px 40px rgb(6 36 56 / 0.35); }
.last-credit { position: absolute; inset-inline-end: var(--gutter); inset-block-end: 16px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .home-hero-in { grid-template-columns: 1fr; padding-block-start: 120px; }
  .home-hero .ticket { max-height: none; max-width: 640px; }
  .home-pace .pace-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-hero h1 { font-size: clamp(88px, 26vw, 140px); }
  .home-hero-foot { inset-block-end: 12px; }
  .story-clock { inset-block-end: auto; inset-block-start: 84px; }
  .story-card { padding: 20px; }
  .pace-pick { grid-template-columns: 1fr; gap: 10px; }
  .pace-opt { grid-template-columns: auto 1fr; column-gap: 18px; align-items: end; }
  .pace-num { grid-row: span 2; font-size: 120px; }
  .hour { height: 40px; }
  .hour small { display: none; }
  .rail-head { flex-wrap: wrap; }
  .rail-card { width: 82vw; }
  .rail-card.r1 { margin-block-start: 0; }
  .home .dest img, .rail-card.r1 .dest img, .rail-card.r2 .dest img { height: 60vh; min-height: 0; }
  .home-money { justify-items: stretch; align-items: end; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .story-photos img { transform: none; }
}

/* the old design's tile and card styles, switched off inside the new home page */
.home .dest::before, .home .dest::after { content: none; display: none; }
.home-faq .faq { display: block; }
.home-faq details { background: none; box-shadow: none; border-radius: 0; padding-inline: 0; margin: 0; }
.home-faq details[open] { background: none; }
