/* Sections (pa-): hero + ridge, screen, pilot, close. */

/* --- Hero: centered claim over the gradient-descent ridge line --- */
.pa-hero {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; padding-top: 72px;
}
.pa-hero__inner { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.pa-hero__tag { display: block; margin-bottom: 22px; }
.pa-hero__sub { margin: 26px auto 0; max-width: 56ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.55; }
.pa-hero__cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pa-hero__micro { color: var(--muted); text-shadow: 0 1px 10px rgba(22, 21, 19, 0.9); }

/* Inspiration painting as the hero horizon: darkened, desaturated, masked into
   the ground so the copy zone stays clear; slow settle-in scale under JS. */
.pa-heroimg { position: absolute; left: 0; right: 0; bottom: 0; height: min(44vh, 400px); z-index: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 62%); mask-image: linear-gradient(180deg, transparent, #000 62%); }
.pa-heroimg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; display: block;
  filter: grayscale(0.85) brightness(0.5) contrast(1.06); }
.pa-heroimg__wash { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(22, 21, 19, 0.55), rgba(22, 21, 19, 0.12) 55%, rgba(22, 21, 19, 0.55)),
  linear-gradient(180deg, rgba(61, 123, 255, 0.10), rgba(61, 123, 255, 0) 60%); }
html.js .pa-heroimg img { transform: scale(1.06); transition: transform 3.2s var(--ease-out3); }
html.js .pa-heroimg.is-in img { transform: scale(1); }

/* --- Shared section rhythm --- */
.pa-sec { padding-block: clamp(84px, 11vw, 160px); }
.pa-sec__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.pa-sec__head p { margin-top: 16px; color: var(--muted); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.6; max-width: 58ch; }

/* --- Screen section --- */
.pa-sec--screen .pa-sec__head { margin-bottom: clamp(28px, 4vw, 48px); }
.pa-sec--screen .pa-ticker { margin-bottom: clamp(36px, 5vw, 64px); }

/* --- Pilot steps + fit --- */
.pa-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px);
  padding: 0; margin: 0 0 clamp(56px, 7vw, 96px); list-style: none; counter-reset: none;
}
.pa-steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.pa-steps .mono { color: var(--blue); }
.pa-steps h3 { margin: 10px 0 10px; }
.pa-steps p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.pa-fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.pa-fit > div { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: clamp(20px, 2.6vw, 34px); }
.pa-fit li { padding-block: 10px; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--text); }
.pa-fit li:last-child { border-bottom: 0; }
.pa-fit .mono--caps { display: block; margin-bottom: 12px; }
.pa-fit--out li { color: var(--muted); }

/* --- Close --- */
.pa-close { padding-block: clamp(90px, 12vw, 170px) 0; text-align: center; border-top: 1px solid var(--line-soft); }
.pa-close h2 { max-width: 16ch; margin-inline: auto; }
.pa-close .pa-btn--lg { margin-top: 34px; }
.pa-close .pa-hero__micro { display: block; margin-top: 14px; color: var(--dim); }
.pa-close__foot {
  margin-top: clamp(70px, 9vw, 120px); padding-block: 26px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--dim);
}
.pa-close__foot nav { display: flex; gap: 18px; }
.pa-close__foot a { color: var(--muted); }
.pa-close__foot a:hover { color: var(--text); }

@media (max-width: 900px) {
  .pa-steps { grid-template-columns: 1fr; }
  .pa-fit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .pa-heroimg img { transform: none; transition: none; }
}
