/* PinPonder public site — one stylesheet for index, how-to-play, about, privacy and 404.
 *
 * Design: "dark expedition launcher". Deep teal ground, soft panels, warm off-white text,
 * an orange call to action and a lime accent for progress and reward.
 *
 * Layout rules that matter:
 *   - The hero reserves its image space with an aspect ratio, so the page never jumps while
 *     expedition-hero.webp loads.
 *   - Nothing is hidden by default. The one interactive behaviour that can hide or move
 *     content (the mobile nav) is gated behind `.has-js`, a class that only site.js adds. With
 *     CSS alone — or if the script fails — everything stays readable.
 *   - Body copy is at least 16px, interactive targets are at least 44px, and no rule relies on
 *     hover to reveal an operation.
 */

/* ------------------------------------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------------------------------------- */

:root {
  --pp-bg: #071c1d;
  --pp-panel: #0d2829;
  --pp-panel-raised: #113233;
  --pp-text: #f6f3e9;
  --pp-muted: #a5b9b5;
  --pp-orange: #ff8656;
  --pp-lime: #d2f17a;
  --pp-line: #1d4445;
  --pp-line-strong: #2a5a5b;
  --pp-focus: #d2f17a;
  --pp-ink: #071c1d;
  --pp-max: 1520px;
  --pp-radius: 16px;
  --pp-radius-sm: 10px;
  --pp-shadow: 0 18px 40px rgb(0 0 0 / 28%);
  --pp-font:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', roboto, 'Helvetica Neue', arial, sans-serif;
}

/* ------------------------------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--pp-bg);
  background-image:
    radial-gradient(60rem 30rem at 12% -8%, rgb(255 134 86 / 12%), transparent 60%),
    radial-gradient(50rem 26rem at 88% 4%, rgb(210 241 122 / 9%), transparent 62%);
  background-repeat: no-repeat;
  color: var(--pp-text);
  font-family: var(--pp-font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.45em;
}

a {
  color: var(--pp-lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e4ffa4;
}

img {
  max-width: 100%;
  height: auto;
}

strong,
b {
  font-weight: 700;
  color: #fffdf4;
}

:focus-visible {
  outline: 3px solid var(--pp-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--pp-orange);
  color: var(--pp-ink);
}

[hidden] {
  display: none !important;
}

/* Keyboard users can jump straight past the navigation. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.7rem 1rem;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-lime);
  color: var(--pp-ink);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--pp-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--pp-max));
  margin-inline: auto;
}

/* ------------------------------------------------------------------------------------------------
 * Header and navigation
 * ---------------------------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(7 28 29 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pp-line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  min-height: 74px;
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  min-height: 44px;
  color: var(--pp-text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  color: var(--pp-text);
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--pp-panel-raised);
  box-shadow: inset 0 0 0 1px var(--pp-line-strong);
  animation: pp-float 7s ease-in-out infinite;
}

@keyframes pp-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-panel);
  color: var(--pp-text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--pp-lime);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentcolor;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  border-radius: var(--pp-radius-sm);
  color: var(--pp-text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav__link:hover {
  background: var(--pp-panel);
  color: var(--pp-lime);
}

.site-nav__link[aria-current='page'] {
  color: var(--pp-lime);
  box-shadow: inset 0 -2px 0 var(--pp-lime);
  border-radius: 0;
}

/* ------------------------------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.btn--primary {
  background: var(--pp-orange);
  color: var(--pp-ink);
  box-shadow: 0 8px 20px rgb(255 134 86 / 18%);
}

.btn--primary:hover {
  background: #ff9a70;
  color: var(--pp-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgb(255 134 86 / 30%);
}

.btn--ghost {
  background: transparent;
  border-color: var(--pp-line-strong);
  color: var(--pp-text);
}

.btn--ghost:hover {
  border-color: var(--pp-lime);
  color: var(--pp-lime);
  transform: translateY(-2px);
}

.btn--large {
  min-height: 54px;
  padding-inline: 1.7rem;
  font-size: 1.0625rem;
}

.btn:active {
  transform: translateY(0);
}

/* ------------------------------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------------------------------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--pp-line);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: center;
  min-height: 660px;
}

.hero__copy {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  padding-left: max(1.25rem, calc((100% - var(--pp-max)) / 2));
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
}

.hero__eyebrow {
  margin: 0 0 1rem;
  color: var(--pp-orange);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* The heading runs to 48px on a phone and 80px on a large desktop, with the three lines
 * deliberately broken so the phrase never reflows into an accidental shape. */
.hero__title {
  margin: 0 0 1.15rem;
  font-size: clamp(3.25rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__title span {
  display: block;
}

.hero__title em {
  font-style: normal;
  color: var(--pp-lime);
}

.hero__lede {
  max-width: 34ch;
  margin: 0 0 1.75rem;
  color: var(--pp-muted);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  color: var(--pp-muted);
  font-size: 1rem;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--pp-line-strong);
  border-radius: 999px;
  color: var(--pp-lime);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 320px;
  background: var(--pp-panel);
  border-left: 1px solid var(--pp-line);
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 62% 50%;
}

/* ------------------------------------------------------------------------------------------------
 * Sections
 * ---------------------------------------------------------------------------------------------- */

.section {
  padding-block: clamp(1.75rem, 3.2vw, 2.75rem);
  border-bottom: 1px solid var(--pp-line);
}

.section--panel {
  background: linear-gradient(180deg, rgb(13 40 41 / 65%), rgb(7 28 29 / 0%));
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(1.35rem, 2.4vw, 2rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--pp-orange);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section__lede {
  margin: 0;
  color: var(--pp-muted);
  font-size: 1.0625rem;
}

/* ------------------------------------------------------------------------------------------------
 * Exploration — three short, static notes on how one round is played. The game has a single play
 * mode, so nothing here is a control and nothing has to be switched.
 * ---------------------------------------------------------------------------------------------- */

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

.explore__card {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--pp-line);
  border-left: 3px solid var(--pp-lime);
  border-radius: var(--pp-radius);
  background: var(--pp-panel);
}

.explore__card h3 {
  margin-bottom: 0.4rem;
}

.explore__card p {
  margin: 0;
  color: var(--pp-muted);
}

/* ------------------------------------------------------------------------------------------------
 * Steps
 * ---------------------------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  min-width: 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-panel);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.step:hover {
  border-color: var(--pp-line-strong);
  transform: translateY(-3px);
}

.step__number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--pp-orange);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.step__title {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.step p:last-child {
  margin-bottom: 0;
  color: var(--pp-muted);
}

/* ------------------------------------------------------------------------------------------------
 * Facts grid — six short facts. Three columns on a desktop, two on a tablet, one on a phone, so
 * the sixth box is never left alone on a row.
 * ---------------------------------------------------------------------------------------------- */

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

.fact {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-sm);
  background: rgb(13 40 41 / 60%);
}

.fact h3 {
  margin-bottom: 0.35rem;
  color: var(--pp-lime);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.fact p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 1rem;
}

/* ------------------------------------------------------------------------------------------------
 * Journey / passport panel
 * ---------------------------------------------------------------------------------------------- */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: linear-gradient(160deg, var(--pp-panel), rgb(7 28 29 / 85%));
  box-shadow: var(--pp-shadow);
}

.journey__media {
  margin: 0;
}

.journey__media img {
  display: block;
  width: 100%;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-bg);
}

.journey__body h2 {
  margin-bottom: 0.75rem;
}

.journey__body > p {
  color: var(--pp-muted);
}

.journey__cta {
  margin: 1.5rem 0 0;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.badge-list li {
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--pp-line-strong);
  border-radius: 999px;
  color: var(--pp-lime);
  font-size: 1rem;
  font-weight: 600;
}

.badge-list span {
  color: var(--pp-muted);
  font-weight: 400;
}

/* ------------------------------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 60rem;
}

.faq__item {
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-sm);
  background: rgb(13 40 41 / 55%);
}

.faq__item[open] {
  border-color: var(--pp-line-strong);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.8rem 1.15rem;
  color: var(--pp-text);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  flex: none;
  color: var(--pp-orange);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__question:hover {
  color: var(--pp-lime);
}

.faq__answer {
  padding: 0 1.15rem 1.1rem;
  color: var(--pp-muted);
}

.faq__answer p:last-child,
.faq__answer ul:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------------------------------------
 * Call to action band
 * ---------------------------------------------------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius);
  background:
    radial-gradient(28rem 16rem at 8% 20%, rgb(255 134 86 / 16%), transparent 65%),
    linear-gradient(140deg, var(--pp-panel-raised), var(--pp-panel));
}

.cta-band p {
  margin: 0.35rem 0 0;
  color: var(--pp-muted);
}

.cta-band h2 {
  margin: 0;
}

/* ------------------------------------------------------------------------------------------------
 * Breadcrumbs and prose pages
 * ---------------------------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(1.75rem, 3.4vw, 2.75rem) clamp(1.1rem, 2.2vw, 1.5rem);
  border-bottom: 1px solid var(--pp-line);
  background: linear-gradient(180deg, rgb(13 40 41 / 70%), rgb(7 28 29 / 0%));
}

.breadcrumbs {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  margin: 0;
  color: var(--pp-muted);
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--pp-line-strong);
}

.breadcrumbs a {
  color: var(--pp-muted);
}

.breadcrumbs a:hover {
  color: var(--pp-lime);
}

.page-head h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
}

.page-head__lede {
  max-width: 62ch;
  margin: 0;
  color: var(--pp-muted);
  font-size: 1.125rem;
}

/* Prose pages keep their own vertical rhythm from the section padding alone, so a page of stacked
 * sections stays dense instead of doubling every gap. */
.prose {
  max-width: 74ch;
}

.prose h2 {
  margin-top: 2rem;
  scroll-margin-top: 6rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.85rem;
  scroll-margin-top: 6rem;
}

.prose ul,
.prose ol {
  color: var(--pp-muted);
}

.prose > p,
.prose li {
  color: var(--pp-muted);
}

.prose strong {
  color: var(--pp-text);
}

.callout {
  margin: 1.75rem 0;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--pp-line-strong);
  border-left: 3px solid var(--pp-orange);
  border-radius: var(--pp-radius-sm);
  background: rgb(13 40 41 / 70%);
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout h2,
.callout h3 {
  margin-top: 0;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.callout p,
.callout li {
  color: var(--pp-muted);
}

/* ------------------------------------------------------------------------------------------------
 * 404
 * ---------------------------------------------------------------------------------------------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: min(70vh, 40rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.error-page__inner {
  width: min(100% - 2.5rem, 46rem);
}

.error-page__code {
  margin: 0;
  color: var(--pp-orange);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.error-page h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.error-page p {
  color: var(--pp-muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.75rem 0 2.25rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-page__links li {
  margin: 0;
}

/* ------------------------------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(2rem, 4vw, 2.75rem) 1.75rem;
  background: rgb(4 18 19 / 70%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer p {
  margin: 0 0 0.6rem;
  color: var(--pp-muted);
  font-size: 1rem;
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pp-lime);
}

.site-footer__nav ul {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li {
  margin: 0;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pp-text);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--pp-lime);
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--pp-line);
  color: var(--pp-muted);
  font-size: 1rem;
}

.site-footer__legal p:last-child {
  margin-bottom: 0;
}

/* Publisher colophon, sitting below the photo credit. The mark is the official Park Tech Systems
 * favicon taken from their site, and is decorative (alt=""): the visible company name labels the
 * link, so the logo must not repeat it. Sized as a 28px badge, but the whole link keeps a 44px
 * minimum target and wraps naturally rather than overflowing on narrow screens. */
.site-footer__publisher a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--pp-muted);
  text-decoration: none;
}

.site-footer__publisher img {
  flex: none;
  width: 28px;
  height: 28px;
}

.site-footer__publisher a:hover {
  color: var(--pp-lime);
  text-decoration: underline;
}

/* ------------------------------------------------------------------------------------------------
 * Motion — reveal on scroll, plus the few hover flourishes above
 * ---------------------------------------------------------------------------------------------- */

/* Content is visible unless site.js has confirmed it is running (it adds `.has-js`), and a
 * safety timer in the page head removes that class again if the script never initialises. */
.has-js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn--primary:hover,
  .btn--ghost:hover,
  .step:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .journey {
    grid-template-columns: minmax(0, 1fr);
  }

  .journey__media {
    max-width: 30rem;
  }

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

@media (max-width: 960px) {
  body {
    font-size: 16px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero__copy {
    padding-inline: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .hero__title {
    font-size: clamp(3rem, 7vw, 3.5rem);
  }

  .hero__lede {
    max-width: 44ch;
  }

  .hero__media {
    border-left: 0;
    border-top: 1px solid var(--pp-line);
  }

  .hero__media img {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

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

  .explore {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .has-js .nav-toggle {
    display: inline-flex;
  }

  .has-js .site-nav {
    order: 1;
    flex-basis: 100%;
  }

  .has-js .site-nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.5rem;
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius-sm);
    background: var(--pp-panel);
  }

  .has-js .site-nav__list.is-open {
    display: flex;
  }

  .has-js .site-nav__link {
    min-height: 48px;
    padding-inline: 0.85rem;
  }

  .has-js .site-nav__link[aria-current='page'] {
    box-shadow: none;
    border-radius: var(--pp-radius-sm);
    background: rgb(210 241 122 / 12%);
  }

  .site-header__cta {
    padding-inline: 1.05rem;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 1.75rem, var(--pp-max));
  }

  .site-header__inner {
    gap: 0.5rem;
  }

  .brand {
    font-size: 1.125rem;
    gap: 0.5rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .cta-band {
    text-align: left;
  }

  .cta-band .btn {
    flex: 1 1 100%;
  }
}
