/* Helix Studio landing page
   1. Tokens
   2. Header
   3. Layout
   4. Content
   5. Packages and modal
   6. Bottom rail
   7. Responsive
*/

/* 1. Tokens */
body.landing-page {
  --landing-bg: #fffdf8;
  --landing-ink: #2d2925;
  --landing-text: rgba(45, 41, 37, 0.88);
  --landing-muted: rgba(45, 41, 37, 0.66);
  --landing-soft: rgba(45, 41, 37, 0.48);
  --landing-line: rgba(62, 53, 43, 0.14);
  --landing-panel: rgba(255, 253, 248, 0.72);
  --landing-panel-strong: rgba(255, 253, 248, 0.94);
  --landing-green: #1af42c;
  --landing-gold: #c59159;
  --landing-orange: #ff4202;
  --landing-edge: clamp(18px, 4vw, 72px);
  --landing-topbar-height: 86px;
  --landing-rail-height: 76px;
  color: var(--landing-ink);
  background: var(--landing-bg);
}

body.landing-page *,
body.landing-page *::before,
body.landing-page *::after {
  box-sizing: border-box;
}

html:has(body.landing-page) {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body.landing-page a,
body.landing-page button {
  color: inherit;
  font: inherit;
}

body.landing-page button {
  cursor: pointer;
}

body.landing-page .chip,
body.landing-page .bevel-button,
body.landing-page .menu-link,
body.landing-page .package-tab,
body.landing-page .booking-date-button,
body.landing-page .booking-slot-button,
body.landing-page .booking-time-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  color: var(--landing-ink);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

body.landing-page .bevel-button {
  padding: 0 24px;
}

body.landing-page .landing-primary-button {
  position: relative;
  isolation: isolate;
  min-height: clamp(54px, 4.2vw, 66px);
  padding: 0 clamp(28px, 3vw, 46px);
  overflow: hidden;
  border-color: rgba(146, 39, 143, 0.82);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.24), transparent 24%),
    radial-gradient(circle at 84% 100%, rgba(255, 210, 253, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(180deg, #b03aad 0%, #92278f 46%, #5f185d 100%);
  color: #fffdf8 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -10px 22px rgba(37, 10, 36, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(146, 39, 143, 0.25),
    0 6px 14px rgba(50, 39, 47, 0.18);
  font-size: clamp(0.84rem, 0.9vw, 1rem);
  letter-spacing: 0.13em;
  text-shadow: 0 1px 2px rgba(31, 12, 30, 0.58);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

body.landing-page .landing-primary-button::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 42%, rgba(0, 0, 0, 0.1));
  opacity: 0.78;
  pointer-events: none;
}

body.landing-page .landing-primary-button::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  z-index: -1;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
  pointer-events: none;
}

body.landing-page .landing-primary-button:hover,
body.landing-page .landing-primary-button:focus-visible {
  border-color: rgba(146, 39, 143, 1);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), transparent 24%),
    radial-gradient(circle at 84% 100%, rgba(255, 210, 253, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, #c549c1 0%, #92278f 44%, #541252 100%);
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 24px rgba(37, 10, 36, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.11),
    0 26px 62px rgba(146, 39, 143, 0.34),
    0 8px 18px rgba(50, 39, 47, 0.22);
  outline: none;
  transform: translateY(-2px);
}

body.landing-page .landing-primary-button:hover::after,
body.landing-page .landing-primary-button:focus-visible::after {
  left: 115%;
}

body.landing-page .landing-primary-button:disabled,
body.landing-page .landing-primary-button[aria-disabled="true"] {
  filter: saturate(0.55);
  transform: none;
}

body.landing-page .lead-tag,
body.landing-page .caption,
body.landing-page .package-note,
body.landing-page .panel-card small,
body.landing-page .meta-block,
body.landing-page .booking-slot-head p {
  color: var(--landing-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 2. Header */
body.landing-page .topbar {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.68) 72%, transparent);
}

body.landing-page .topbar-inner {
  min-height: var(--landing-topbar-height);
}

body.landing-page .brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--landing-ink);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

body.landing-page .brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 4px;
  flex: 0 0 auto;
}

body.landing-page .brand-mark span {
  display: block;
  background: var(--landing-gold);
}

body.landing-page .brand-mark span:nth-child(2) {
  background: var(--landing-green);
}

body.landing-page .topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.landing-page .language-switcher {
  position: relative;
}

body.landing-page .language-trigger {
  min-width: 184px;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
}

body.landing-page .language-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.landing-page .language-current::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

body.landing-page .language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  min-width: 184px;
  padding: 8px;
  border: 1px solid var(--landing-line);
  border-radius: 14px;
  background: var(--landing-panel-strong);
  box-shadow: 0 20px 60px rgba(43, 36, 28, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

body.landing-page .language-switcher.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.landing-page .language-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--landing-ink);
  text-align: left;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

body.landing-page .language-option small {
  color: var(--landing-muted);
}

body.landing-page .language-option:hover,
body.landing-page .language-option:focus-visible,
body.landing-page .language-option.is-active {
  background: rgba(45, 41, 37, 0.06);
  outline: none;
}

/* 3. Layout */
body.landing-page .page-shell,
body.landing-page .viewport {
  position: relative;
  z-index: 1;
}

body.landing-page .step {
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  scroll-snap-align: start;
}

body.landing-page .step-stage,
body.landing-page .stage-shell {
  width: 100%;
  min-height: 100svh;
}

body.landing-page .stage-shell {
  width: min(1500px, calc(100vw - (var(--landing-edge) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(140px, 12vw, 190px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 52px);
  padding: calc(var(--landing-topbar-height) + 30px) 0 calc(var(--landing-rail-height) + 38px);
}

body.landing-page .main-stage {
  display: grid;
  align-items: center;
  min-width: 0;
}

body.landing-page .meta-rail {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 34px;
}

body.landing-page .meta-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
}

body.landing-page .meta-square {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--landing-soft);
}

body.landing-page .section-nav {
  position: fixed;
  left: var(--landing-edge);
  top: 50%;
  bottom: auto;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: min(190px, calc(100vw - 32px));
  transform: translateY(-50%);
}

html[dir="rtl"] body.landing-page .section-nav {
  left: auto;
  right: var(--landing-edge);
  align-items: flex-end;
}

body.landing-page .section-nav-item {
  display: inline-flex;
  gap: 8px;
  width: max-content;
  padding: 9px 11px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--landing-muted);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

body.landing-page .section-nav-item.is-active {
  color: var(--landing-ink);
  border-color: rgba(62, 53, 43, 0.28);
}

/* 4. Content */
body.landing-page .hero-copy,
body.landing-page .story-copy,
body.landing-page .menu-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 820px;
}

body.landing-page .hero-body {
  display: grid;
  justify-items: start;
  gap: 22px;
}

body.landing-page .hero-actions {
  display: flex;
  align-items: center;
}

body.landing-page .story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.82fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

body.landing-page .hero-title,
body.landing-page .story-title,
body.landing-page .menu-headline,
body.landing-page .booking-summary h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

body.landing-page .hero-title {
  max-width: 13.5ch;
  font-size: clamp(3rem, 4.8vw, 5.5rem);
  line-height: 1.02;
}

body.landing-page .story-title,
body.landing-page .menu-headline {
  max-width: 18ch;
  font-size: clamp(2.15rem, 3.35vw, 3.8rem);
  line-height: 1.04;
}

body.landing-page .hero-title .line,
body.landing-page .menu-headline .line {
  display: block;
}

body.landing-page .story-title .line {
  display: inline;
}

body.landing-page .hero-body p,
body.landing-page .story-copy p,
body.landing-page #menu #menuDescription,
body.landing-page .booking-summary p,
body.landing-page .panel-card p,
body.landing-page .menu-tile p {
  margin: 0;
  max-width: 62ch;
  color: var(--landing-text);
  font-size: clamp(0.98rem, 1.06vw, 1.14rem);
  line-height: 1.48;
}

body.landing-page .story-panel,
body.landing-page .menu-list,
body.landing-page .menu-tile,
body.landing-page .panel-card,
body.landing-page .booking-dialog,
body.landing-page .booking-form label,
body.landing-page .booking-slots {
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background: var(--landing-panel);
}

body.landing-page .story-panel {
  padding: clamp(14px, 1.6vw, 20px);
}

body.landing-page .panel-content,
body.landing-page .panel-grid {
  display: grid;
  gap: 12px;
}

body.landing-page .panel-card {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 1.6vw, 22px);
}

body.landing-page .panel-card h3 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.75vw, 1.9rem);
  line-height: 1.08;
}

html[dir="rtl"] body.landing-page .hero-title {
  max-width: 11.5ch;
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  line-height: 1.02;
}

html[dir="rtl"] body.landing-page .story-title,
html[dir="rtl"] body.landing-page .menu-headline {
  max-width: 15ch;
  font-size: clamp(2.05rem, 3.25vw, 3.7rem);
  line-height: 1.06;
}

html[dir="rtl"] body.landing-page .lead-tag,
html[dir="rtl"] body.landing-page .caption,
html[dir="rtl"] body.landing-page .package-note,
html[dir="rtl"] body.landing-page .panel-card small,
html[dir="rtl"] body.landing-page .meta-block,
html[dir="rtl"] body.landing-page .booking-slot-head p {
  letter-spacing: 0;
}

html[dir="rtl"] body.landing-page .panel-card h3 {
  font-size: clamp(1.16rem, 1.65vw, 1.75rem);
  line-height: 1.14;
}

html[dir="rtl"] body.landing-page .hero-body {
  justify-items: end;
}

/* 5. Packages and modal */
body.landing-page #menu .menu-layer {
  display: grid;
  grid-template-columns: minmax(280px, 0.3fr) minmax(0, 1fr);
  grid-template-areas:
    "tabs tabs"
    "list copy";
  gap: clamp(24px, 3.4vw, 48px);
  align-items: center;
}

body.landing-page #menu .menu-layer.is-service-intro {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "tabs"
    "copy";
}

body.landing-page .package-tabs {
  grid-area: tabs;
}

body.landing-page .menu-list {
  grid-area: list;
}

body.landing-page #menu .menu-copy {
  grid-area: copy;
  max-width: none;
  width: 100%;
}

body.landing-page #menu .menu-headline {
  max-width: min(100%, 28ch);
  font-size: clamp(2.35rem, 4.25vw, 4.9rem);
  line-height: 1.02;
}

body.landing-page #menu #menuDescription {
  max-width: min(100%, 82ch);
  font-size: clamp(1.06rem, 1.35vw, 1.45rem);
  line-height: 1.48;
}

body.landing-page #menu .menu-layer.is-service-intro .menu-copy {
  max-width: min(100%, 1180px);
}

body.landing-page #menu .menu-layer.is-service-intro .menu-headline {
  max-width: min(100%, 24ch);
}

html[dir="rtl"] body.landing-page #menu .menu-headline {
  max-width: min(100%, 24ch);
  line-height: 1.16;
  text-align: right;
}

html[dir="rtl"] body.landing-page #menu #menuDescription {
  max-width: min(100%, 78ch);
  text-align: right;
}

html[dir="rtl"] body.landing-page #menu .menu-copy {
  gap: 24px;
}

body.landing-page .menu-list,
body.landing-page .menu-preview-grid,
body.landing-page .package-actions {
  display: grid;
  gap: 12px;
}

body.landing-page .menu-list {
  position: sticky;
  top: calc(var(--landing-topbar-height) + 38px);
  align-self: center;
  gap: 7px;
  padding: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 60px rgba(43, 36, 28, 0.08);
  opacity: 1;
  transform: translateX(0);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

body.landing-page .menu-list.is-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-18px);
}

body.landing-page .menu-link {
  width: 100%;
  min-height: 50px;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  line-height: 1.08;
  text-align: left;
  white-space: normal;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
}

body.landing-page .menu-link .label {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.landing-page .menu-link .square {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(45, 41, 37, 0.26);
}

body.landing-page .menu-link .name {
  min-width: 0;
  overflow-wrap: normal;
}

body.landing-page .menu-link .number {
  flex: 0 0 auto;
  color: var(--landing-muted);
}

html[dir="rtl"] body.landing-page .menu-list {
  direction: rtl;
}

html[dir="rtl"] body.landing-page .package-tabs {
  direction: rtl;
}

html[dir="rtl"] body.landing-page .menu-link {
  direction: ltr;
  text-align: right;
  flex-direction: row;
}

html[dir="rtl"] body.landing-page .menu-link .label {
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  direction: rtl;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

html[dir="rtl"] body.landing-page .menu-link .square {
  flex: 0 0 auto;
  order: 2;
}

html[dir="rtl"] body.landing-page .menu-link .name {
  min-width: 0;
  order: 1;
  flex: 0 1 auto;
  direction: rtl;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

html[dir="rtl"] body.landing-page .menu-link .number {
  flex: 0 0 auto;
  direction: ltr;
  text-align: left;
  order: 1;
}

html[dir="rtl"] body.landing-page .menu-link .label {
  order: 1;
}

html[dir="rtl"] body.landing-page .package-tab + .package-tab {
  border-left: 0;
  border-right: 1px solid var(--landing-line);
}

body.landing-page .menu-link.is-active {
  background: rgba(222, 242, 69, 0.18);
  border-color: rgba(62, 53, 43, 0.28);
}

body.landing-page .menu-link.is-active .square {
  background: var(--landing-gold);
}

body.landing-page .package-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 253, 248, 0.74);
}

body.landing-page .package-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: clamp(62px, 5vw, 78px);
  border: 0;
  border-radius: 0;
  background: transparent;
  justify-content: center;
  padding: 12px clamp(14px, 1.8vw, 28px);
  line-height: 1.18;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: clip;
  font-size: clamp(0.82rem, 0.82vw, 1.02rem);
  letter-spacing: 0.075em;
}

body.landing-page .package-tab + .package-tab {
  border-left: 1px solid var(--landing-line);
}

body.landing-page .package-tab[aria-selected="true"] {
  background: rgba(222, 242, 69, 0.22);
  box-shadow: inset 0 0 0 1px rgba(62, 53, 43, 0.12);
}

body.landing-page .menu-preview-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
}

body.landing-page .menu-preview-grid.is-empty {
  display: none;
}

body.landing-page .package-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: clamp(14px, 2vw, 28px);
}

body.landing-page .package-actions .bevel-button[hidden] {
  display: none;
}

body.landing-page .package-book-button {
  width: 100%;
  min-height: clamp(64px, 5vw, 82px);
  justify-content: center;
  font-size: clamp(0.94rem, 1.05vw, 1.18rem);
}

body.landing-page .menu-tile {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 8px;
  min-height: 0;
  padding: 15px 18px;
  background: rgba(255, 253, 248, 0.84);
}

body.landing-page .menu-tile::before {
  content: "";
  grid-row: 1 / span 2;
  width: 9px;
  height: 9px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--landing-gold);
  box-shadow: 0 0 0 5px rgba(197, 145, 89, 0.12);
}

body.landing-page .menu-tile small {
  grid-column: 2;
  color: var(--landing-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.landing-page .menu-tile strong,
body.landing-page .package-pinpoint {
  grid-column: 2;
  display: block;
  color: var(--landing-ink);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 0.92vw, 1rem);
  font-weight: 700;
  line-height: 1.34;
  overflow-wrap: normal;
}

body.landing-page .package-point-list {
  grid-column: 2;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.landing-page .package-point-list li {
  position: relative;
  margin: 0;
  padding-inline-start: 16px;
  color: var(--landing-text);
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 0.86vw, 0.96rem);
  font-weight: 600;
  line-height: 1.35;
}

body.landing-page .package-point-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--landing-gold);
}

body.landing-page .booking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(45, 41, 37, 0.3);
}

body.landing-page .booking-modal.is-open {
  display: flex;
}

body.landing-page .booking-dialog {
  width: min(980px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  background: var(--landing-panel-strong);
}

body.landing-page .booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.landing-page .booking-form label,
body.landing-page .booking-slots {
  display: grid;
  gap: 8px;
  padding: 14px;
}

body.landing-page .booking-wide,
body.landing-page .booking-actions {
  grid-column: 1 / -1;
}

body.landing-page .booking-form input,
body.landing-page .booking-form textarea {
  width: 100%;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--landing-ink);
  padding: 12px 14px;
}

/* 6. Bottom rail */
body.landing-page .rail-wrap {
  position: fixed;
  left: 0;
  bottom: calc(54px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 100%;
  padding: 0 var(--landing-edge) 0;
  pointer-events: none;
}

body.landing-page .rail {
  position: relative;
  width: min(1720px, 100%);
  min-height: var(--landing-rail-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 56px rgba(43, 36, 28, 0.1);
  pointer-events: auto;
}

body.landing-page .rail-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--step-progress, 0%);
  background: linear-gradient(90deg, rgba(255, 66, 2, 0.18), rgba(222, 242, 69, 0.16));
  pointer-events: none;
}

body.landing-page .rail-segment,
body.landing-page .rail-center {
  position: relative;
  z-index: 1;
  min-height: var(--landing-rail-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  color: var(--landing-ink);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}

body.landing-page .rail-segment {
  border: 0;
  background: transparent;
}

body.landing-page .rail-segment:first-child {
  border-right: 1px solid var(--landing-line);
}

body.landing-page .rail-segment:last-child {
  border-left: 1px solid var(--landing-line);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.landing-page .rail-icon {
  width: 12px;
  height: 18px;
  display: inline-grid;
  gap: 2px;
  flex: 0 0 auto;
}

body.landing-page .rail-icon span {
  display: block;
  background: currentColor;
}

/* 7. Responsive */
@media (max-width: 1100px) {
  body.landing-page .stage-shell,
  body.landing-page #menu .menu-layer,
  body.landing-page .story-layout {
    grid-template-columns: 1fr;
  }

  body.landing-page #menu .menu-layer {
    align-items: stretch;
    grid-template-areas:
      "tabs"
      "list"
      "copy";
  }

  body.landing-page .package-tabs {
    order: 1;
  }

  body.landing-page .package-tab {
    min-height: 64px;
    padding: 12px 16px;
    font-size: clamp(0.78rem, 1.45vw, 0.94rem);
    letter-spacing: 0.055em;
  }

  body.landing-page .menu-list {
    order: 2;
  }

  body.landing-page #packageEyebrow {
    order: 3;
  }

  body.landing-page .menu-headline {
    order: 4;
  }

  body.landing-page #menuDescription {
    order: 5;
  }

  body.landing-page .menu-preview-grid {
    order: 6;
  }

  body.landing-page .package-actions {
    order: 7;
  }

  body.landing-page .menu-list {
    position: relative;
    top: auto;
  }

  body.landing-page .meta-rail {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  body.landing-page {
    --landing-edge: 14px;
    --landing-topbar-height: 70px;
    --landing-rail-height: 56px;
  }

  html:has(body.landing-page) {
    scroll-snap-type: none;
  }

  body.landing-page .topbar {
    padding: 12px var(--landing-edge) 0 !important;
  }

  body.landing-page .topbar-inner {
    width: calc(100vw - (var(--landing-edge) * 2)) !important;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  body.landing-page .brand-lockup {
    flex: 0 0 auto;
    min-width: 0;
    gap: 0;
  }

  body.landing-page .brand-mark {
    flex: 0 0 auto;
  }

  body.landing-page .brand-mark img {
    width: 36px;
    height: 36px;
  }

  body.landing-page .topbar-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
  }

  body.landing-page .language-trigger {
    min-width: 96px;
    max-width: none;
    min-height: 40px;
    padding: 0 14px;
    gap: 8px;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  body.landing-page .stage-shell {
    width: calc(100vw - 28px);
    gap: 18px;
    padding: 104px 0 148px;
  }

  body.landing-page .section-nav {
    display: none;
  }

  body.landing-page .hero-copy,
  body.landing-page .story-copy,
  body.landing-page .menu-copy {
    gap: 18px;
  }

  body.landing-page .hero-title {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  body.landing-page .story-title,
  body.landing-page .menu-headline {
    max-width: 13ch;
    font-size: clamp(2.05rem, 9vw, 3.4rem);
  }

  body.landing-page #menu .menu-headline {
    max-width: min(100%, 18ch);
    font-size: clamp(2.2rem, 8.5vw, 3.45rem);
  }

  body.landing-page #menu #menuDescription {
    max-width: 100%;
    font-size: 1.08rem;
  }

  body.landing-page .hero-body p,
  body.landing-page .story-copy p,
  body.landing-page #menu #menuDescription,
  body.landing-page .panel-card p,
  body.landing-page .menu-tile p {
    font-size: 1rem;
    line-height: 1.55;
  }

  body.landing-page .story-panel {
    padding: 12px;
  }

  body.landing-page .panel-card,
  body.landing-page .menu-tile {
    padding: 16px;
  }

  body.landing-page .menu-list {
    gap: 7px;
    padding: 7px;
  }

  body.landing-page .menu-link {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  body.landing-page .package-tabs {
    border-radius: 22px;
    overflow: hidden;
    order: 1;
  }

  body.landing-page .package-tab {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    min-height: 58px;
    padding: 12px 10px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
    font-size: clamp(0.72rem, 2.65vw, 0.88rem);
    letter-spacing: 0.035em;
    line-height: 1.2;
  }

  body.landing-page .package-tab + .package-tab {
    border-left: 1px solid var(--landing-line);
    border-top: 0;
  }

  body.landing-page .rail-wrap {
    bottom: calc(86px + env(safe-area-inset-bottom));
    padding: 0 10px;
  }

  body.landing-page .rail {
    width: calc(100vw - 20px);
    min-height: var(--landing-rail-height);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1fr);
  }

  body.landing-page .rail-segment,
  body.landing-page .rail-center {
    min-height: var(--landing-rail-height);
    min-width: 0;
    padding: 0 8px;
    gap: 7px;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }

  body.landing-page .rail-icon {
    width: 10px;
    height: 16px;
  }

  body.landing-page .booking-dialog,
  body.landing-page .booking-form {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] body.landing-page .hero-title,
  html[dir="rtl"] body.landing-page .story-title,
  html[dir="rtl"] body.landing-page .menu-headline {
    max-width: 11.5ch;
  }

  html[dir="rtl"] body.landing-page .hero-title {
    font-size: clamp(2.7rem, 11vw, 4.2rem);
  }

  html[dir="rtl"] body.landing-page .story-title,
  html[dir="rtl"] body.landing-page .menu-headline {
    font-size: clamp(2rem, 8.2vw, 3.2rem);
  }

  html[dir="rtl"] body.landing-page #menu .menu-headline {
    max-width: min(100%, 18ch);
    font-size: clamp(2.05rem, 8vw, 3.25rem);
    line-height: 1.18;
  }
}

@media (max-width: 420px) {
  body.landing-page .topbar-inner {
    gap: 8px;
  }

  body.landing-page .brand-mark img {
    width: 32px;
    height: 32px;
  }

  body.landing-page .language-trigger {
    min-width: 88px;
    padding: 0 10px;
  }

  body.landing-page .language-trigger > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.landing-page .package-tabs {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  body.landing-page .package-tab {
    min-height: 54px;
    padding: 12px 16px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  body.landing-page .package-tab + .package-tab {
    border-left: 0;
    border-top: 1px solid var(--landing-line);
  }

  html[dir="rtl"] body.landing-page .package-tab + .package-tab {
    border-right: 0;
    border-top: 1px solid var(--landing-line);
  }
}
