/**
 * Presentation website — full-bleed, equal gutters, fills the viewport.
 */

.pw-page {
  --pw-pad-y: clamp(2.1rem, 4vw, 3.25rem);
  --pw-gutter: clamp(1.1rem, 3.5vw, 3rem);
  --pw-content: 100%;
  color: var(--hn-text, #e8f3ff);
  background: var(--hn-navy, #061428);
  text-align: left;
  width: 100%;
  overflow-x: clip;
}

/* Fluid page rail: spans almost the full viewport, equal L/R space */
.pw-page .pw-wrap {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--pw-gutter);
  padding-right: var(--pw-gutter);
  box-sizing: border-box;
}

.pw-page a:hover,
.pw-page a:focus {
  text-decoration: none;
}

/* —— Reading progress —— */
.pw-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}

.pw-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hn-gold, #f0c43c), #5eb3ff);
  transform-origin: left center;
}

/*
 * Site chrome: semi-transparent navy, always clickable above page layers.
 * Trap .pw-page in a low stacking context so sticky/transform content
 * cannot sit on top of the menu and steal clicks.
 */
body.home-navy:has(.pw-page) {
  --pw-chrome-bg: rgba(6, 20, 40, 0.78);
  --pw-chrome-h: 7.5rem;
  --pw-header-h: 5.75rem;
}

body.home-navy:has(.pw-page) .pw-page {
  position: relative;
  z-index: 1;
}

body.home-navy:has(.pw-page) header.stick,
body.home-navy:has(.pw-page) header.stick.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  transform: none !important;
  z-index: 100000 !important;
  background: var(--pw-chrome-bg) !important;
  background-color: var(--pw-chrome-bg) !important;
  background-image: none !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
  padding: 20px 0;
  pointer-events: auto !important;
}

body.home-navy:has(.pw-page) header.stick a,
body.home-navy:has(.pw-page) header.stick button,
body.home-navy:has(.pw-page) header.stick .nav-wrap,
body.home-navy:has(.pw-page) header.stick .main-menu,
body.home-navy:has(.pw-page) header.stick .main-menu > li,
body.home-navy:has(.pw-page) header.stick .main-menu > li > a {
  color: #e8f3ff;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

body.home-navy:has(.pw-page) header.stick .locale-switch-link {
  color: rgba(232, 243, 255, 0.72) !important;
  background: transparent !important;
}

body.home-navy:has(.pw-page) header.stick .locale-switch-link.is-active,
body.home-navy:has(.pw-page) header.stick .locale-switch-link.active {
  color: var(--hn-gold-text, #1f1408) !important;
  background: transparent !important;
}

/* Menu item hover — clear gold cue (theme style1 keeps white-on-white otherwise) */
body.home-navy:has(.pw-page) header.stick .main-menu > li > a {
  display: inline-block;
  padding-block: 0.35rem;
  color: #e8f3ff !important;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease,
    transform 0.2s ease;
}

body.home-navy:has(.pw-page) header.stick .main-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--hn-gold, #f0c43c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
  pointer-events: none;
}

body.home-navy:has(.pw-page) header.stick .main-menu > li > a:hover,
body.home-navy:has(.pw-page) header.stick .main-menu > li > a:focus-visible,
body.home-navy:has(.pw-page) header.stick .main-menu > li:hover > a {
  color: var(--hn-gold, #f0c43c) !important;
  text-shadow: 0 0 18px rgba(240, 196, 60, 0.35);
  transform: translateY(-1px);
  outline: none;
}

body.home-navy:has(.pw-page) header.stick .main-menu > li.locale-switch:hover > a,
body.home-navy:has(.pw-page) header.stick .main-menu > li.locale-switch > a:hover,
body.home-navy:has(.pw-page) header.stick .main-menu > li.locale-switch > a:focus-visible {
  color: inherit !important;
  text-shadow: none !important;
  transform: none !important;
}

body.home-navy:has(.pw-page) header.stick .main-menu > li > a:hover::after,
body.home-navy:has(.pw-page) header.stick .main-menu > li > a:focus-visible::after,
body.home-navy:has(.pw-page) header.stick .main-menu > li:hover > a::after {
  transform: scaleX(1);
}

body.home-navy:has(.pw-page) header.stick .main-menu > li > a:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(240, 196, 60, 0.55);
}

body.home-navy:has(.pw-page) .responsive-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000 !important;
  background: var(--pw-chrome-bg) !important;
  background-color: var(--pw-chrome-bg) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  opacity: 1 !important;
  box-shadow: none;
  border-bottom: none;
  pointer-events: auto !important;
}

body.home-navy:has(.pw-page) .responsive-header a,
body.home-navy:has(.pw-page) .responsive-header button {
  pointer-events: auto !important;
}

body.home-navy:has(.pw-page) .responsive-menu a {
  transition: color 0.2s ease, background-color 0.2s ease;
}

body.home-navy:has(.pw-page) .responsive-menu a:hover,
body.home-navy:has(.pw-page) .responsive-menu a:focus-visible {
  color: var(--hn-gold, #f0c43c) !important;
}

/* —— Sticky hero runway (scrollytelling) —— */
.pw-hero-stage {
  position: relative;
  height: 112vh;
  width: 100%;
}

.pw-hero-stage__pin {
  position: sticky;
  /* Stick below menu + breadcrumbs so content never covers chrome */
  top: var(--pw-chrome-h, 7.5rem);
  height: calc(100vh - var(--pw-chrome-h, 7.5rem));
  height: calc(100svh - var(--pw-chrome-h, 7.5rem));
  overflow: hidden;
  z-index: 1;
}

/* —— Hero —— */
.pw-hero {
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  padding: clamp(1.45rem, 3vh, 2.1rem) 0 clamp(2.25rem, 4.5vh, 3.25rem);
  overflow: hidden;
  will-change: opacity, filter, transform;
  transition: opacity 0.12s linear, filter 0.12s linear, transform 0.12s linear;
}

/* Breadcrumbs — same chrome fill; z-index only above page content (trapped in .pw-page) */
.pw-page > .pw-breadcrumbs {
  --pw-header-h: 5.75rem;
  position: sticky;
  top: var(--pw-header-h);
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  margin-top: var(--pw-header-h);
  padding-block: 0.45rem;
  background: var(--pw-chrome-bg, rgba(6, 20, 40, 0.78));
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto;
}

.pw-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Rubik, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pw-breadcrumbs__list > li {
  display: inline-flex;
  align-items: center;
  color: rgba(232, 243, 255, 0.88);
}

.pw-breadcrumbs__list > li:not(:first-child)::before {
  content: "/";
  margin-inline: 0.55rem 0.65rem;
  color: rgba(240, 196, 60, 0.7);
  font-weight: 400;
}

.pw-breadcrumbs__list a {
  color: #e8f3ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pw-breadcrumbs__list a:hover,
.pw-breadcrumbs__list a:focus-visible {
  color: var(--hn-gold, #f0c43c);
  text-decoration: none;
  outline: none;
}

.pw-breadcrumbs__list .is-current {
  color: var(--hn-gold, #f0c43c);
  font-weight: 600;
}

.pw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1000px 560px at 85% 30%, rgba(31, 90, 188, 0.4), transparent 58%),
    radial-gradient(700px 420px at 10% 85%, rgba(240, 196, 60, 0.09), transparent 55%),
    linear-gradient(165deg, #061428 0%, #0b1f4d 48%, #071530 100%);
  pointer-events: none;
}

.pw-hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(6, 20, 40, 0.95), transparent);
}

.pw-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: pw-orb 12s ease-in-out infinite alternate;
}

.pw-hero__orb--a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  right: 8%;
  top: 18%;
  background: rgba(94, 179, 255, 0.35);
}

.pw-hero__orb--b {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  left: 12%;
  bottom: 16%;
  background: rgba(240, 196, 60, 0.18);
  animation-delay: -4s;
}

@keyframes pw-orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, -18px, 0) scale(1.08); }
}

.pw-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  gap: clamp(2.75rem, 5.5vw, 5rem) clamp(2.5rem, 5.5vw, 5rem);
  align-items: start;
  flex: 1 1 auto;
  align-content: start;
  min-height: 0;
}

.pw-hero__copy {
  min-width: 0;
  max-width: none;
  padding-block-end: 0.25rem;
}

.pw-hero__eyebrow {
  margin: 0 0 1rem;
  font-family: Rubik, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hn-gold, #f0c43c);
}

.pw-hero__title {
  margin: 0 0 1.25rem;
  font-family: Nunito, Rubik, sans-serif;
  font-weight: 800;
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: none;
}

.pw-hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--hn-muted, rgba(232, 243, 255, 0.78));
  max-width: min(42rem, 100%);
  text-wrap: pretty;
}

.pw-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-block: 0 0.35rem;
}

/* Hero CTAs — custom, not theme-btn (avoids thick borders / uppercase clash) */
.pw-page .pw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.55rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-family: Rubik, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.pw-page .pw-btn:focus-visible {
  outline: 2px solid var(--hn-gold, #f0c43c);
  outline-offset: 3px;
}

.pw-page .pw-btn--primary {
  background: linear-gradient(180deg, #f5d265 0%, var(--hn-gold, #f0c43c) 100%);
  color: #0a1628;
  border-color: rgba(240, 196, 60, 0.9);
  box-shadow: 0 8px 22px rgba(240, 196, 60, 0.22);
}

.pw-page .pw-btn--primary:hover,
.pw-page .pw-btn--primary:focus {
  background: linear-gradient(180deg, #ffe08a 0%, #f0c43c 100%);
  color: #061018;
  box-shadow: 0 12px 28px rgba(240, 196, 60, 0.32);
  transform: translateY(-2px);
  text-decoration: none;
}

.pw-page .pw-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #e8f3ff;
  border-color: rgba(232, 243, 255, 0.35);
  box-shadow: none;
}

.pw-page .pw-btn--ghost:hover,
.pw-page .pw-btn--ghost:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 196, 60, 0.65);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.pw-hero__aside {
  min-width: 0;
  container-type: inline-size;
  container-name: pw-hero-aside;
  margin-block-start: clamp(0.5rem, 1.5vw, 1.25rem);
}

.pw-hero__keywords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pw-hero__keywords li {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.55rem;
  min-height: 7.25rem;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 55%),
    rgba(6, 20, 40, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: clip;
  color: #e8f3ff;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.pw-hero__keywords li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--pw-kw-accent, var(--hn-gold, #f0c43c));
}

.pw-hero__keywords li::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -30%;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pw-kw-accent, #f0c43c) 28%, transparent), transparent 70%);
  pointer-events: none;
  opacity: 0.85;
}

.pw-hero__keywords li:nth-child(1) { --pw-kw-accent: #f0c43c; }
.pw-hero__keywords li:nth-child(2) { --pw-kw-accent: #5eb3ff; }
.pw-hero__keywords li:nth-child(3) { --pw-kw-accent: #7ee0c3; }
.pw-hero__keywords li:nth-child(4) { --pw-kw-accent: #f0a06a; }

.pw-hero__keywords li:hover,
.pw-hero__keywords li:focus-within {
  border-color: color-mix(in srgb, var(--pw-kw-accent, #f0c43c) 55%, rgba(255, 255, 255, 0.2));
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 55%),
    rgba(6, 20, 40, 0.55);
}

.pw-hero__kw-num {
  position: relative;
  z-index: 1;
  font-family: Rubik, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--pw-kw-accent, var(--hn-gold, #f0c43c));
}

.pw-hero__kw-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  align-content: end;
}

.pw-hero__kw-body strong {
  display: block;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-wrap: balance;
}

.pw-hero__kw-body span {
  display: block;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--hn-muted, rgba(232, 243, 255, 0.72));
}

@container pw-hero-aside (max-width: 280px) {
  .pw-hero__keywords {
    grid-template-columns: 1fr;
  }
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .pw-hero__keywords li:hover,
  .pw-hero__keywords li:focus-within {
    border-color: rgba(240, 196, 60, 0.45);
  }
}

/* Scroll cue — invites further reading */
.pw-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: rgba(232, 243, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem;
}

.pw-scroll-cue__line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, var(--hn-gold, #f0c43c), transparent);
  animation: pw-cue 1.6s ease-in-out infinite;
}

@keyframes pw-cue {
  0%, 100% { transform: scaleY(0.55); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

.pw-scroll-cue.is-gone {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* —— Strip / Scroll Stack (React Bits port) ——
   https://reactbits.dev/components/scroll-stack */
.pw-strip.pw-scroll-stack {
  position: relative;
  z-index: 1;
  margin-top: -0.75rem;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(900px 420px at 50% 10%, rgba(31, 90, 188, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(11, 31, 77, 0.7), rgba(6, 20, 40, 0.95));
  padding: 0;
  width: 100%;
}

.pw-scroll-stack .scroll-stack-inner {
  padding: clamp(2.5rem, 8vh, 5rem) var(--pw-gutter) clamp(4rem, 12vh, 7rem);
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.pw-scroll-stack .scroll-stack-card,
.pw-strip__card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0.45rem;
  align-content: center;
  width: min(100%, 52rem);
  margin-inline: auto;
  margin-block: 0;
  min-height: clamp(9.5rem, 22vh, 13rem);
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  /* Fully opaque so stacked cards don't show through */
  background-color: #0a1a36;
  background-image:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--pw-strip-accent, #f0c43c) 14%, #0d2248) 0%,
      #071428 55%,
      #061224 100%
    );
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  color: #e8f3ff;
  overflow: hidden;
  transform-origin: top center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.pw-strip__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #061224;
  pointer-events: none;
}

.pw-strip__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--pw-strip-accent, #f0c43c), transparent 80%);
}

.pw-strip__card:nth-child(1) { --pw-strip-accent: #f0c43c; }
.pw-strip__card:nth-child(2) { --pw-strip-accent: #5eb3ff; }
.pw-strip__card:nth-child(3) { --pw-strip-accent: #7ee0c3; }
.pw-strip__card:nth-child(4) { --pw-strip-accent: #f0a06a; }

.pw-strip__mark {
  font-family: Rubik, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--pw-strip-accent, var(--hn-gold, #f0c43c));
}

.pw-strip__card strong {
  display: block;
  color: #fff;
  font-weight: 800;
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  text-wrap: balance;
}

.pw-strip__desc {
  display: block;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: var(--hn-muted);
  line-height: 1.5;
}

.pw-scroll-stack .scroll-stack-end {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/* —— Sections —— */
.pw-section {
  padding: var(--pw-pad-y) 0;
  width: 100%;
}

.pw-section--alt {
  background:
    radial-gradient(900px 520px at 15% 40%, rgba(31, 90, 188, 0.18), transparent 55%),
    linear-gradient(165deg, #071530 0%, #061428 45%, #0b1f4d 100%);
}

.pw-section__head {
  width: 100%;
  margin: 0 0 clamp(1.15rem, 2vw, 1.75rem);
  text-align: left;
}

.pw-section__head h2 {
  margin: 0 0 0.55rem;
  font-family: Nunito, Rubik, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  color: #fff;
  line-height: 1.18;
  text-wrap: balance;
}

.pw-section__head p {
  margin: 0;
  color: var(--hn-muted);
  line-height: 1.55;
  font-size: 1.02rem;
  max-width: 46rem;
  text-wrap: pretty;
}

/* Varied section titles — not the same treatment twice */

/* 1) Centered gold frame (features) */
.pw-head--frame {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-inline: auto;
  margin-block-end: clamp(1.35rem, 2.4vw, 2rem);
}

.pw-head--frame h2 {
  display: inline-block;
  max-width: min(36rem, 100%);
  margin: 0;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(240, 196, 60, 0.55);
  background:
    linear-gradient(180deg, rgba(240, 196, 60, 0.08), transparent 70%),
    rgba(6, 20, 40, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-wrap: wrap;
}

.pw-head--frame p {
  margin-block-start: 0.85rem;
  max-width: 40rem;
}

/* 2) Full-width rail: title + lead side by side (examples) */
.pw-head--rail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem 2rem;
  align-items: end;
  padding-block: 0.35rem 0.15rem;
  border-left: 3px solid var(--hn-gold, #f0c43c);
  padding-left: 1.15rem;
}

.pw-head--rail h2 {
  margin: 0;
}

.pw-head--rail p {
  margin: 0;
  max-width: none;
  padding-bottom: 0.15rem;
}

/* 3) Centered with side rules (process) */
.pw-head--rule {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
}

.pw-head--rule h2 {
  position: relative;
  display: inline-block;
  max-width: min(36rem, 92%);
  margin: 0;
  padding-inline: 0.35rem;
}

.pw-head--rule h2::before,
.pw-head--rule h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(1.75rem, 6vw, 4.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 196, 60, 0.7), transparent);
  pointer-events: none;
}

.pw-head--rule h2::before {
  right: calc(100% + 0.65rem);
}

.pw-head--rule h2::after {
  left: calc(100% + 0.65rem);
}

.pw-head--rule p {
  max-width: 34rem;
}

/* 4) Wide slab band (SEO) */
.pw-head--slab {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 1.25rem 1.05rem;
  background:
    linear-gradient(105deg, rgba(31, 90, 188, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.04);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  border-inline-start: 4px solid var(--hn-gold, #f0c43c);
}

.pw-head--slab h2 {
  margin: 0;
  max-width: none;
}

.pw-head--slab p {
  max-width: 48rem;
}

/* 5) Ticket / stamp (FAQ) */
.pw-head--ticket {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  width: fit-content;
  max-width: min(100%, 40rem);
  margin-inline: auto;
  margin-block-end: clamp(1.25rem, 2.2vw, 1.85rem);
  padding: 1rem 1.5rem 1.1rem;
  border: 1px dashed rgba(240, 196, 60, 0.55);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  /* No clip-path — it was cutting the dashed gold border at the corners */
}

.pw-head--ticket::before,
.pw-head--ticket::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hn-navy, #061428);
  border: 1px dashed rgba(240, 196, 60, 0.55);
  pointer-events: none;
}

.pw-head--ticket::before {
  left: -0.3rem;
  top: 50%;
  transform: translateY(-50%);
}

.pw-head--ticket::after {
  right: -0.3rem;
  top: 50%;
  transform: translateY(-50%);
}

.pw-head--ticket h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  text-wrap: wrap;
}

.pw-head--ticket p {
  margin-block-start: 0.45rem;
  max-width: 32rem;
}

/* —— Intro —— */
.pw-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  width: 100%;
}

.pw-intro__title {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.85rem 0.55rem 0.95rem;
  font-family: Nunito, Rubik, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: #fff;
  line-height: 1.2;
  border-left: 3px solid var(--hn-gold, #f0c43c);
  border-bottom: 1px solid rgba(240, 196, 60, 0.35);
  background: linear-gradient(90deg, rgba(240, 196, 60, 0.1), transparent 70%);
  text-wrap: balance;
}

.pw-intro__copy h2 {
  margin: 0 0 0.85rem;
  font-family: Nunito, Rubik, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: #fff;
}

.pw-intro__copy p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: var(--hn-muted);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.pw-intro__copy p:last-child {
  margin-bottom: 0;
}

.pw-intro__copy strong,
.pw-seo-block em {
  color: var(--hn-gold, #f0c43c);
  font-style: normal;
  font-weight: 600;
}

.pw-intro__visual {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  min-height: 240px;
  aspect-ratio: 4 / 3;
}

.pw-intro__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Cards —— */
.pw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  width: 100%;
}

.pw-card {
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  min-height: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pw-card:hover {
  border-color: rgba(240, 196, 60, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.pw-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: #fff;
}

.pw-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--hn-muted);
}

/* —— Slider —— */
.pw-slider {
  margin-top: 0.35rem;
  width: 100%;
}

.pw-slider__viewport {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Align with page gutters — no negative margin (that clipped Speed Park) */
  padding: 0.85rem var(--pw-gutter) 1.25rem;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  scroll-padding-inline: var(--pw-gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pw-slide {
  flex: 0 0 min(70vw, 460px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  transform-origin: center center;
}

.pw-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pw-slide:hover img,
.pw-slide:focus-visible img {
  transform: scale(1.04);
}

.pw-slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(6, 20, 40, 0.92), transparent);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.pw-slider__nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.pw-slider__btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(240, 196, 60, 0.4);
  background: rgba(6, 20, 40, 0.55);
  color: var(--hn-gold, #f0c43c);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pw-slider__btn:hover,
.pw-slider__btn:focus-visible {
  background: rgba(240, 196, 60, 0.16);
  outline: none;
}

.pw-slider__all {
  margin-left: auto;
  color: var(--hn-gold, #f0c43c);
  font-weight: 600;
  font-size: 0.98rem;
}

/* —— Steps —— */
.pw-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.pw-steps li {
  padding: clamp(1.25rem, 2vw, 1.6rem);
  border-top: 2px solid var(--hn-gold, #f0c43c);
  background: rgba(255, 255, 255, 0.035);
}

.pw-steps__num {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--hn-gold, #f0c43c);
  font-weight: 600;
}

.pw-steps h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: #fff;
}

.pw-steps p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--hn-muted);
}

/* —— SEO blocks —— */
.pw-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  width: 100%;
}

.pw-seo-block {
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(480px 240px at 100% 0%, rgba(31, 90, 188, 0.22), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.pw-seo-block h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  color: #fff;
}

.pw-seo-block p {
  margin: 0;
  line-height: 1.65;
  color: var(--hn-muted);
  font-size: 1rem;
}

/* —— Mid banner —— */
.pw-banner {
  padding: clamp(1.85rem, 3.5vw, 2.75rem) 0;
  width: 100%;
  background:
    linear-gradient(105deg, rgba(240, 196, 60, 0.14), transparent 42%),
    linear-gradient(165deg, #0b1f4d, #061428);
  border-block: 1px solid rgba(240, 196, 60, 0.22);
}

.pw-banner__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
}

.pw-banner h2 {
  margin: 0;
  font-family: Nunito, Rubik, sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  color: #fff;
  max-width: min(44rem, 100%);
  text-wrap: balance;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(240, 196, 60, 0.4);
  background: rgba(6, 20, 40, 0.35);
}

.pw-banner p {
  margin: 0 0 0.35rem;
  color: var(--hn-muted);
  line-height: 1.55;
  max-width: min(42rem, 100%);
  font-size: 1.02rem;
  text-wrap: pretty;
}

/* —— FAQ —— */
.pw-faq {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  align-items: start;
}

.pw-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 1.05rem;
  height: fit-content;
  align-self: start;
}

.pw-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 0;
  font-weight: 600;
  color: #fff;
  font-size: 1.02rem;
}

.pw-faq__item summary::-webkit-details-marker {
  display: none;
}

.pw-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--hn-gold, #f0c43c);
  font-weight: 400;
}

.pw-faq__item[open] summary::after {
  content: "–";
}

.pw-faq__item p {
  margin: 0 0 0.9rem;
  color: var(--hn-muted);
  line-height: 1.6;
}

/* —— Final —— */
.pw-section--final {
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

.pw-final {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
  width: 100%;
}

.pw-final h2 {
  margin: 0;
  font-family: Nunito, Rubik, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  color: #fff;
  max-width: min(40rem, 100%);
  text-wrap: balance;
  position: relative;
  padding-bottom: 0.65rem;
}

.pw-final h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 0.7rem auto 0;
  background: var(--hn-gold, #f0c43c);
}

.pw-final p {
  margin: 0 0 0.5rem;
  color: var(--hn-muted);
  line-height: 1.55;
  max-width: min(42rem, 100%);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.pw-final__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.pw-final__ctas .theme-btn,
.pw-banner .theme-btn {
  display: inline-block;
  padding: 1.05rem 2rem;
  font-weight: 600;
  line-height: 1.2;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .pw-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .pw-hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(3.25rem, 7vw, 4.5rem);
    align-items: stretch;
  }

  .pw-hero__ctas {
    margin-block-end: 0.25rem;
  }

  .pw-hero__aside {
    margin-block-start: 0;
    padding-block-start: 0.75rem;
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pw-hero__keywords {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
  }

  .pw-intro {
    grid-template-columns: 1fr;
  }

  .pw-head--rail {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .pw-head--rule h2::before,
  .pw-head--rule h2::after {
    width: clamp(1.1rem, 5vw, 2.5rem);
  }

  .pw-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .pw-hero-stage { height: auto; }
  .pw-hero-stage__pin { position: relative; height: auto; }
  .pw-hero { min-height: min(88vh, 760px); height: auto; }

  .pw-hero__inner {
    gap: 3.5rem;
  }

  .pw-hero__keywords {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .pw-hero__keywords li {
    min-height: 6.5rem;
    padding: 0.85rem 0.9rem;
  }

  .pw-scroll-stack .scroll-stack-card {
    min-height: 8.25rem;
    border-radius: 1.1rem;
  }

  .pw-cards,
  .pw-seo-grid,
  .pw-steps {
    grid-template-columns: 1fr;
  }

  .pw-page .pw-hero__ctas .pw-btn {
    width: 100%;
    text-align: center;
  }

  .pw-final__ctas .theme-btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-slider__viewport {
    scroll-behavior: auto;
  }

  .pw-slide img {
    transition: none;
  }

  .pw-hero__keywords li {
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .pw-hero__keywords li:hover,
  .pw-hero__keywords li:focus-within {
    transform: none;
    box-shadow: none;
  }

  .pw-page .pw-btn:hover,
  .pw-page .pw-btn:focus {
    transform: none;
  }
}

/* —— Spotlight cards (React Bits SpotlightCard port) —— */
.pw-page .card-spotlight {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  overflow: hidden;
}

.pw-page .card-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    220px circle at var(--mouse-x) var(--mouse-y),
    rgba(240, 196, 60, 0.18),
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
}

.pw-page .card-spotlight:hover::before,
.pw-page .card-spotlight:focus-within::before {
  opacity: 1;
}

.pw-page .card-spotlight > * {
  position: relative;
  z-index: 1;
}

/* —— Blur Text (React Bits Blur Text inspired) —— */
.pw-page .pw-blur-word {
  display: inline-block;
  filter: blur(10px);
  opacity: 0.15;
  transform: translate3d(0, 0.35em, 0);
  transition:
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, opacity, transform;
}

.pw-page .pw-blur-word.is-in {
  filter: blur(0);
  opacity: 1;
  transform: none;
}

.pw-page .pw-blur-space {
  white-space: pre;
}

/* —— Scroll reveals —— */
.pw-page [data-pw-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.pw-page [data-pw-reveal].is-in {
  opacity: 1;
  transform: none;
}

.pw-page .pw-cards [data-pw-reveal]:nth-child(1) { transition-delay: 0.02s; }
.pw-page .pw-cards [data-pw-reveal]:nth-child(2) { transition-delay: 0.08s; }
.pw-page .pw-cards [data-pw-reveal]:nth-child(3) { transition-delay: 0.14s; }
.pw-page .pw-cards [data-pw-reveal]:nth-child(4) { transition-delay: 0.2s; }
.pw-page .pw-cards [data-pw-reveal]:nth-child(5) { transition-delay: 0.26s; }
.pw-page .pw-cards [data-pw-reveal]:nth-child(6) { transition-delay: 0.32s; }

.pw-page .pw-steps [data-pw-reveal]:nth-child(1) { transition-delay: 0.04s; }
.pw-page .pw-steps [data-pw-reveal]:nth-child(2) { transition-delay: 0.12s; }
.pw-page .pw-steps [data-pw-reveal]:nth-child(3) { transition-delay: 0.2s; }
.pw-page .pw-steps [data-pw-reveal]:nth-child(4) { transition-delay: 0.28s; }

/* Slider snap scale feedback */
.pw-page .pw-slide {
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0.72;
  transform: scale(0.94);
}

.pw-page .pw-slide.is-snap {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .pw-hero-stage { height: auto; }
  .pw-hero-stage__pin { position: relative; height: auto; }
  .pw-hero { min-height: min(78vh, 720px); height: auto; }
  .pw-hero__orb,
  .pw-scroll-cue__line { animation: none; }
  .pw-page .pw-blur-word,
  .pw-page [data-pw-reveal],
  .pw-page .pw-slide {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pw-scroll-cue { display: none; }
  .pw-progress { display: none; }
}
