/* Native home hero. Copy, CTAs and the first cabin view work before scripts. */
.pesa-flow-hero {
  --fh-ink: #0a3040;
  --fh-accent: #075974;
  --fh-soft: #304e5b;
  --fh-icon: #126e66;
  --fh-line: rgb(10 48 64 / 24%);
  --fh-ground: #e6f1f6;
  --fh-veil: 244 249 251;
  --fh-pill: #f0f6fa;
  --fh-end: var(--m-mist, #eef6f4);
  --fh-direction: 90deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--fh-ground);
  color: var(--fh-ink);
}
[dir="rtl"] .pesa-flow-hero { --fh-direction: 270deg; }
[data-theme="dark"] .pesa-flow-hero {
  --fh-ink: #f6fbfc;
  --fh-accent: #a7d4ff;
  --fh-soft: #d4e4eb;
  --fh-icon: #97d7e8;
  --fh-line: rgb(185 214 230 / 35%);
  --fh-ground: #071e29;
  --fh-veil: 5 23 34;
  --fh-pill: #113341;
  --fh-end: var(--m-mist, #0a2a35);
}
.pesa-flow-hero::before, .pesa-flow-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}
.pesa-flow-hero::before {
  background: center / cover no-repeat url("../img/hero/hero-light-1600.webp");
}
[dir="rtl"] .pesa-flow-hero::before { transform: scaleX(-1); }
[data-theme="dark"] .pesa-flow-hero::before { background-image: url("../img/hero/hero-dark-1600.webp"); }
@media (max-aspect-ratio: 4/5) {
  .pesa-flow-hero::before { background-image: url("../img/hero/hero-light-900.webp"); }
  [data-theme="dark"] .pesa-flow-hero::before { background-image: url("../img/hero/hero-dark-900.webp"); }
}
.pesa-flow-hero::after {
  background: linear-gradient(to top, var(--fh-end), transparent 20%),
    linear-gradient(to bottom, rgb(var(--fh-veil) / .36), rgb(var(--fh-veil) / .84) 43%, rgb(var(--fh-veil) / .94));
}
.pesa-flow-hero__inner {
  box-sizing: border-box;
  display: grid;
  align-items: center;
  gap: .6rem;
  inline-size: 100%;
  max-inline-size: var(--container, 1200px);
  margin-inline: auto;
  padding: 1rem clamp(1.25rem, 4vw, 2rem) 2.75rem;
}
.pesa-flow-hero__copy { min-inline-size: 0; }
.pesa-flow-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .32rem .85rem;
  border: 1px solid var(--fh-line);
  border-radius: 99rem;
  background: var(--fh-pill);
  color: var(--fh-accent);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.4;
}
.pesa-flow-hero__eyebrow::before {
  content: "";
  flex: none;
  inline-size: .42rem;
  block-size: .42rem;
  border-radius: 50%;
  background: #d29627;
}
.pesa-flow-hero__title {
  margin: .85rem 0 0;
  color: var(--fh-ink);
  font-size: clamp(1.85rem, 1.25rem + 2.65vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.pesa-flow-hero__title span {
  display: block;
  margin-block-start: .22em;
  color: var(--fh-accent);
  font-size: .70em;
  line-height: 1.35;
}
.pesa-flow-hero__actions, .pesa-flow-hero__more {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .55rem;
}
.pesa-flow-hero__actions { margin-block-start: 1.25rem; }
.pesa-flow-hero__more { margin-block-start: .55rem; }
.pesa-flow-hero__button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  max-inline-size: 100%;
  min-block-size: 2.875rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  padding: .58rem 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.pesa-flow-hero__button--gold { background: #f3bc4b; color: #0a3040; }
.pesa-flow-hero__button--gold:hover { background: #f9cb70; color: #0a3040; }
.pesa-flow-hero__button--outline { border-color: var(--fh-accent); color: var(--fh-accent); background: var(--fh-pill); }
.pesa-flow-hero__button--outline:hover { color: var(--fh-ink); border-color: currentColor; }
.pesa-flow-hero__button--sky {
  min-block-size: 2.75rem;
  padding-inline: .95rem;
  background: #b7d8fb;
  color: #0a3040;
  font-size: .9rem;
}
.pesa-flow-hero__button--sky:hover { background: #cbe5ff; color: #0a3040; }
.pesa-flow-hero__button:focus-visible { outline: 3px solid var(--fh-accent); outline-offset: 3px; }
.pesa-flow-hero__arrow { flex: none; width: 1.12em; height: 1.12em; }
[dir="rtl"] .pesa-flow-hero__arrow { transform: scaleX(-1); }
.pesa-flow-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: .95rem 0 0;
  border-block-start: 1px solid var(--fh-line);
  color: var(--fh-soft);
  list-style: none;
  font-size: .9rem;
  line-height: 1.5;
}
.pesa-flow-hero__trust li { display: flex; align-items: center; gap: .4rem; }
.pesa-flow-hero__trust svg { flex: none; width: 1.05rem; height: 1.05rem; color: var(--fh-icon); }

/* Original cabin geometry from ee142c9, scoped so the removed deck and
   historical Tailwind utilities cannot affect the native homepage. */
.pesa-flow-hero__window {
  display: grid;
  justify-items: center;
  min-inline-size: 0;
  inline-size: 100%;
}
@media (max-width: 639.98px) { .pesa-flow-hero__window { order: -1; } }
.pesa-cw {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  inline-size: min(58vw, 300px, 100%);
}
@media (max-width: 639.98px) { .pesa-cw { inline-size: min(168px, 100%); } }
@media (min-width: 1024px) { .pesa-cw { inline-size: min(360px, 100%); } }
.pesa-cw-frame {
  position: relative;
  box-sizing: border-box;
  aspect-ratio: 7 / 10;
  inline-size: 100%;
  padding: 13px;
}
.pesa-cw-glass {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
  overflow: hidden;
  touch-action: pan-y;
}
.pesa-cw-hole {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: var(--r-full);
}
.pesa-cw-pane, .pesa-cw-sky, .pesa-cw-sheen {
  position: absolute;
  inset: 0;
}
.pesa-cw-sheen {
  pointer-events: none;
  background: linear-gradient(115deg, rgb(255 255 255 / .35) 0%, rgb(255 255 255 / .06) 26%, transparent 46%),
    radial-gradient(120% 100% at 50% 50%, transparent 58%, rgb(3 20 28 / .42) 100%);
}
.pesa-cw-image {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.pesa-cw-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin-block-start: .75rem;
  padding: .25rem;
  border-radius: var(--r-full);
  visibility: hidden;
}
.pesa-cw.is-ready .pesa-cw-controls { visibility: visible; }
.pesa-cw-counter {
  min-inline-size: 3rem;
  text-align: center;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.pesa-cw-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid;
  border-radius: var(--r-full);
  cursor: pointer;
  background: transparent;
}
.pesa-cw-btn:focus-visible { outline: 2px solid; outline-offset: 2px; }
.pesa-cw-btn svg { inline-size: 1rem; block-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .pesa-cw-btn[data-hero-toggle] { display: none; }
}
@keyframes pesa-cw-float {
  50% { transform: translate3d(0, -9px, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .pesa-cw.is-ready .pesa-cw-pane { transition: opacity 900ms linear; }
  .pesa-cw.is-ready .pesa-cw-frame { animation: pesa-cw-float 7s ease-in-out infinite; }
  .pesa-cw.is-ready .pesa-cw-image.is-drifting { animation: ken-burns 18s ease-out forwards; }
  .pesa-cw.is-still .pesa-cw-frame, .pesa-cw.is-still .pesa-cw-image.is-drifting { animation-play-state: paused; }
}
/* ---- cabin window, themed --------------------------------------------------
   Day: the white-silver wall of a cabin, lit from the top left. Night: the
   original translucent frame, exactly. */
.pesa-cw-frame {
  border-radius: 46% / 34%;
  background: linear-gradient(160deg, #ffffff 0%, #f2f6f8 30%, #dce4e9 68%, #c6d1d8 100%);
  box-shadow:
    0 0 0 1px rgba(10, 48, 64, 0.07),
    0 30px 60px -22px rgba(10, 48, 64, 0.45),
    0 4px 12px -4px rgba(10, 48, 64, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -3px 8px rgba(10, 48, 64, 0.12);
}
.pesa-cw-glass {
  border-radius: 44% / 32%;
  box-shadow:
    inset 0 2px 10px rgba(10, 48, 64, 0.45),
    inset 0 -2px 8px rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(10, 48, 64, 0.12);
}
.pesa-cw-hole {
  background: #a3b3bc;
  box-shadow: inset 0 1px 2px rgba(10, 48, 64, 0.55);
}
[data-theme="dark"] .pesa-cw-frame {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 38%, rgba(0, 0, 0, 0.35));
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] .pesa-cw-glass {
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.55), inset 0 -2px 8px rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .pesa-cw-hole {
  background: rgba(4, 18, 26, 0.75);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* The window's sky when no slide has been chosen: day, or night in dark mode. */
.pesa-cw-sky {
  background: linear-gradient(180deg, #7fb6f0 0%, #a9d2f4 42%, #d9ecfa 72%, #eaf4f7 100%);
}
[data-theme="dark"] .pesa-cw-sky {
  background: linear-gradient(180deg, #061a24 0%, #0a3040 50%, #12455c 100%);
}

/* The controls sit on the open part of the photo, so they get a small
   frosted backing: they stay readable whatever the photograph does there. */
.pesa-cw-controls {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(10, 48, 64, 0.1), 0 2px 8px -2px rgba(10, 48, 64, 0.15);
}
.pesa-cw-counter { color: #22404d; }
/* Rings at 3:1 or more against the pill (measured on the rendered 1px ring,
   which antialiasing lightens: 0.55 gave 2.9), so each round button reads as
   a button, not only its glyph. */
.pesa-cw-btn {
  color: #22404d;
  border-color: rgba(10, 48, 64, 0.62);
}
.pesa-cw-btn:hover {
  color: #0a3040;
  border-color: rgba(10, 48, 64, 0.8);
  background-color: rgba(255, 255, 255, 0.7);
}
.pesa-cw-btn:focus-visible { outline-color: #0a3040; }

[data-theme="dark"] .pesa-cw-controls {
  background-color: rgba(6, 26, 36, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .pesa-cw-counter { color: rgba(255, 255, 255, 0.85); }
[data-theme="dark"] .pesa-cw-btn {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.45);
}
[data-theme="dark"] .pesa-cw-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  background-color: transparent;
}
[data-theme="dark"] .pesa-cw-btn:focus-visible { outline-color: #ffffff; }
@media (max-width: 480px) {
  .pesa-flow-hero__actions { display: grid; }
  .pesa-flow-hero__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pesa-flow-hero__button--sky { padding-inline: .42rem; }
}
@media (min-width: 768px) {
  .pesa-flow-hero::after {
    background: linear-gradient(to top, var(--fh-end), transparent 22%),
      linear-gradient(var(--fh-direction), rgb(var(--fh-veil) / .95), rgb(var(--fh-veil) / .80) 48%, rgb(var(--fh-veil) / .18) 83%);
  }
  .pesa-flow-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 4rem);
    padding-block: clamp(2rem, 4vw, 3.25rem);
  }
  .pesa-flow-hero__title { margin-block-start: 1.25rem; }
  .pesa-flow-hero__actions { margin-block-start: 1.65rem; }
  .pesa-flow-hero__trust { margin-block-start: 1.55rem; }
}
