/* =========================================================================
   Planetary School — design system
   "Hangar negro, una sola brasa." See design.md for the rules behind this.
   Font sizes are in px on purpose (legacy theme sets html{font-size:10px}).
   ========================================================================= */

:root {
  /* color */
  --ps-glow: #FFA83A;
  --ps-glow-deep: #F08A16;
  --ps-glow-halo: rgba(255, 168, 58, 0.45);
  --ps-ink: #0E1530;
  --ps-navy: #1C2B5A;
  --ps-nave: #05070D;
  --ps-carbon: #141826;
  --ps-paper: #FFFFFF;
  --ps-concrete: #F0F1F3;
  --ps-mist: #D5D8DE;
  --ps-steel: #8A8F9C;
  --ps-graphite: #4F5566;
  --ps-on-dark: rgba(255, 255, 255, 0.92);
  --ps-on-dark-soft: rgba(255, 255, 255, 0.66);
  --ps-line-dark: rgba(255, 255, 255, 0.14);

  --house-starborne: #2F6FE4;
  --house-ryuken: #D8282F;
  --house-blackstone: #E3A92B;

  /* type */
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(40px, 6.2vw, 80px);
  --fs-h2: clamp(32px, 4vw, 48px);
  --fs-h3: clamp(24px, 2.4vw, 30px);
  --fs-h4: 20px;
  --fs-lead: clamp(18px, 1.5vw, 21px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-caption: 13px;
  --fs-signage: clamp(26px, 3.4vw, 44px);

  /* space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* shape */
  --r-sm: 6px;
  --r-md: 12px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 64px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ps-paper);
  color: var(--ps-ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ps-glow);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--ps-glow); color: var(--ps-ink); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ps-glow); color: var(--ps-ink); padding: 10px 16px; border-radius: var(--r-md);
  font-weight: 600; font-size: var(--fs-small); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- typography ---------- */
.display, .h2, .h3, .h4, h1, h2, h3, h4 { font-weight: 600; color: inherit; text-wrap: balance; }
p, li { text-wrap: pretty; }
.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2, .h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; font-weight: 300; letter-spacing: -0.01em; color: var(--ps-graphite); }
.muted { color: var(--ps-graphite); }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); line-height: 1.4; font-weight: 500; color: var(--ps-graphite); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 64ch; }
.prose a, .text-link { color: var(--ps-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .text-link:hover { text-decoration-color: var(--ps-glow); text-decoration-thickness: 2px; }
.tabular { font-variant-numeric: tabular-nums; }
.kicker { font-size: var(--fs-small); font-weight: 500; color: var(--ps-graphite); margin-bottom: var(--sp-4); }

/* ---------- layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sp-9); position: relative; }
.section--tight { padding-block: var(--sp-8); }
.section.section--flush-top { padding-top: 0; }
.section--concrete { background: var(--ps-concrete); }
.section--nave { background: var(--ps-nave); color: var(--ps-on-dark); }
.section--navy { background: var(--ps-navy); color: var(--ps-on-dark); }
.section--nave .lead, .section--navy .lead,
.section--nave .muted, .section--navy .muted,
.section--nave .caption, .section--navy .caption { color: var(--ps-on-dark-soft); }
@media (max-width: 767px) { .section { padding-block: var(--sp-8); } }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--sp-5) var(--sp-8);
  align-items: end;
  margin-bottom: var(--sp-7);
}
.section-head .lead { max-width: 52ch; }
.section-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--roomy { gap: var(--sp-7) var(--sp-8); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: center;
}
.split--media-wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split > .stack { max-width: 560px; }
@media (max-width: 900px) { .split, .split--media-wide { grid-template-columns: 1fr; gap: var(--sp-6); } }

.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-5); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-top: var(--sp-6); }
.actions--between { justify-content: space-between; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-md); border: 1px solid transparent;
  font-family: var(--font); font-size: var(--fs-small); font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn--glow { background: var(--ps-glow); color: var(--ps-ink); }
.btn--glow:hover { background: var(--ps-glow-deep); }
.btn--ghost { background: transparent; color: var(--ps-ink); border-color: var(--ps-mist); }
.btn--ghost:hover { background: var(--ps-concrete); border-color: var(--ps-steel); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }
.btn--sm { min-height: 40px; padding: 8px 16px; }
.btn .icon { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-small); font-weight: 600; text-decoration: none; color: inherit;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link-arrow:hover span { text-decoration-color: currentColor; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-sm);
  font-size: var(--fs-caption); font-weight: 500; line-height: 1.4;
  background: var(--ps-concrete); color: var(--ps-ink);
}
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ps-glow); box-shadow: 0 0 0 3px rgba(255, 168, 58, .25); }
.tag--dark { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--ps-carbon); color: #fff;
  font-size: var(--fs-caption); font-weight: 500; line-height: 1.4;
  text-align: center; padding: 10px var(--gutter);
  position: relative; z-index: 60;
}
.announce a { color: var(--ps-glow); text-decoration: none; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--ps-paper);
  border-bottom: 1px solid var(--ps-mist);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-6); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 40px; width: auto; }
.logo-light { display: none; }
@media (max-width: 767px) { .site-header__logo img { height: 34px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: inherit; border-radius: var(--r-md);
}
.nav__link:hover { background: var(--ps-concrete); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__link[aria-current="page"]::after,
.nav__item--current > .nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--ps-glow); box-shadow: 0 0 10px var(--ps-glow-halo);
}
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--ps-paper); color: var(--ps-ink);
  border: 1px solid var(--ps-mist); border-radius: var(--r-md);
  box-shadow: 0 18px 40px -18px rgba(14, 21, 48, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.nav__item--menu:hover > .nav__menu,
.nav__item--menu:focus-within > .nav__menu,
.nav__item--menu.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item--menu:hover > .nav__link .icon,
.nav__item--menu.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--ps-ink);
}
.nav__menu a small { display: block; font-size: var(--fs-caption); font-weight: 400; color: var(--ps-graphite); margin-top: 2px; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--ps-concrete); }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--ps-mist); border-radius: var(--r-md);
}
.lang .lang-option {
  min-width: 36px; padding: 5px 8px; border-radius: 8px; border: 0; background: none; cursor: pointer;
  font-size: var(--fs-caption); font-weight: 600; text-decoration: none; color: inherit; text-align: center; opacity: .6;
}
.lang .lang-option.active { background: var(--ps-ink); color: #fff; opacity: 1; }
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--ps-mist); border-radius: var(--r-md); background: none; cursor: pointer;
}
.burger .icon { width: 22px; height: 22px; }

/* overlay header (on top of dark heroes) */
.has-overlay .site-header:not(.is-scrolled) {
  background: transparent; border-color: transparent; color: #fff;
}
.has-overlay .site-header:not(.is-scrolled) .logo-dark { display: none; }
.has-overlay .site-header:not(.is-scrolled) .logo-light { display: block; }
.has-overlay .site-header:not(.is-scrolled) .nav__link:hover { background: rgba(255, 255, 255, 0.1); }
.has-overlay .site-header:not(.is-scrolled) .lang,
.has-overlay .site-header:not(.is-scrolled) .burger { border-color: rgba(255, 255, 255, 0.3); }
.has-overlay .site-header:not(.is-scrolled) .lang .lang-option.active { background: #fff; color: var(--ps-ink); }
.has-overlay .site-header.is-scrolled { box-shadow: none; }

@media (max-width: 1023px) {
  .nav, .site-header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
}

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ps-nave); color: #fff;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) var(--sp-6);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.drawer__top img { height: 34px; width: auto; }
.drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-md); background: none; color: #fff; cursor: pointer; }
.drawer__group { border-top: 1px solid var(--ps-line-dark); padding-block: var(--sp-4); }
.drawer__label { font-size: var(--fs-caption); color: var(--ps-on-dark-soft); margin-bottom: var(--sp-2); }
.drawer__links { list-style: none; margin: 0; padding: 0; }
.drawer__links a { display: block; padding: 10px 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.drawer__links a[aria-current="page"] { color: var(--ps-glow); }
.drawer__foot { margin-top: auto; padding-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.drawer__foot .btn { width: 100%; }
.drawer .lang { border-color: rgba(255, 255, 255, .3); justify-self: start; }
.drawer .lang .lang-option.active { background: #fff; color: var(--ps-ink); }
body.drawer-open { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  min-height: min(100svh, 900px);
  display: flex; align-items: flex-end;
  background: var(--ps-nave) var(--hero-poster, none) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; container-type: size; }
.hero__media iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); max-width: none; border: 0;
}
/* hero slideshow: slow crossfade + gentle zoom */
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ps-nave); }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  opacity: 0; transform: scale(1);
  transition: opacity 1.8s ease, transform 0s linear 1.8s;
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-zoom { transform: scale(1.07); transition: opacity 1.8s ease, transform 9s linear; }
.hero__slide.is-first { transition: none; }
.hero__player {
  margin-top: var(--sp-6); width: max-content;
  display: flex; align-items: center; gap: 12px;
  padding: 4px 16px 4px 4px; border-radius: 999px;
  background: rgba(5, 7, 13, 0.45); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__toggle {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; transition: background-color .2s;
}
.hero__toggle:hover { background: rgba(255, 255, 255, 0.22); }
.hero__toggle .icon { width: 16px; height: 16px; }
.hero__progress { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hero__progress li { position: relative; width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.hero__progress li::after { content: ""; position: absolute; inset: 0; background: var(--ps-glow); transform: scaleX(0); transform-origin: left; }
.hero__progress li.is-done::after { transform: scaleX(1); background: rgba(255, 255, 255, 0.7); }
.hero__progress li.is-current::after { animation: hero-progress var(--slide-ms, 7000ms) linear forwards; }
.hero__player.is-paused .hero__progress li.is-current::after { animation-play-state: paused; }
@keyframes hero-progress { to { transform: scaleX(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .86) 0%, rgba(5, 7, 13, .6) 48%, rgba(5, 7, 13, .2) 100%),
    linear-gradient(0deg, rgba(5, 7, 13, .75) 0%, rgba(5, 7, 13, 0) 45%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + var(--sp-9)); padding-bottom: clamp(120px, 14vw, 190px); }
.hero__place { font-size: var(--fs-small); font-weight: 400; color: var(--ps-on-dark-soft); margin-bottom: var(--sp-5); display: flex; align-items: center; gap: 8px; }
.hero__place .icon { width: 18px; height: 18px; color: var(--ps-glow); }
.hero h1 { max-width: 20ch; }
.hero .lead { color: var(--ps-on-dark); max-width: 46ch; margin-top: var(--sp-5); }
.hero .actions { margin-top: var(--sp-6); }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-7); padding: 0; list-style: none;
  font-size: var(--fs-small); color: var(--ps-on-dark-soft);
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .icon { width: 18px; height: 18px; color: var(--ps-on-dark); }
@media (max-width: 767px) {
  .hero { min-height: 92svh; }
  .hero::before { background: linear-gradient(0deg, rgba(5, 7, 13, .9) 0%, rgba(5, 7, 13, .55) 60%, rgba(5, 7, 13, .45) 100%); }
  .hero__content { padding-top: calc(var(--header-h) + var(--sp-8)); }
}

/* ---------- the ring (signature #1) ---------- */
.ring {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: clamp(56px, 8vw, 120px); pointer-events: none;
}
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring__floor { fill: var(--ring-floor, var(--ps-paper)); }
.ring__halo { fill: none; stroke: var(--ps-glow); stroke-width: 14; opacity: .34; filter: blur(7px); }
.ring__line { fill: none; stroke: #FFE2B5; stroke-width: 2.5; }
.ring__core { fill: none; stroke: var(--ps-glow); stroke-width: 5; opacity: .75; filter: blur(2px); }
.ring--concrete { --ring-floor: var(--ps-concrete); }
.ring--nave { --ring-floor: var(--ps-nave); }
.ring .ring__half { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring-draw 1.3s var(--ease) .35s forwards; }
.ring .ring__halo { opacity: 0; animation: ring-halo 1.4s ease 1.1s forwards; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes ring-halo { to { opacity: .34; } }

/* platform under media: an image standing on a lit edge */
.on-ring { position: relative; padding-bottom: 22px; }
.on-ring::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 22px;
  border-bottom: 2px solid #FFE2B5; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 10px 18px -8px var(--ps-glow), inset 0 -6px 10px -6px var(--ps-glow-halo);
  filter: drop-shadow(0 4px 10px rgba(255, 168, 58, .5));
}

.shot { width: 100%; border-radius: var(--r-md); border: 1px solid var(--ps-mist); }

/* ---------- signage (signature #2) ---------- */
.signage { list-style: none; padding: 0; }
.signage li {
  font-size: var(--fs-signage); font-weight: 300; line-height: 1.25;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.signage::after {
  content: ""; display: block; width: 56px; height: 2px; margin-top: var(--sp-4);
  background: var(--ps-glow); box-shadow: 0 0 12px var(--ps-glow-halo);
}

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; }
.facts li { padding: var(--sp-2) var(--sp-5); border-left: 1px solid var(--ps-mist); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts__value { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts__label { display: block; margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--ps-graphite); line-height: 1.45; max-width: 26ch; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-6); }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts li { border-left: 0; padding-left: 0; } }
.facts.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts.facts--2 li:nth-child(2) { border-left: 1px solid var(--ps-mist); padding-left: var(--sp-5); }

/* ---------- cards ---------- */
.card {
  background: var(--ps-paper); border: 1px solid var(--ps-mist); border-radius: var(--r-md);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
}
.card--flat { border-color: transparent; }
.card h3, .card h4 { color: var(--ps-ink); }
.card p { color: var(--ps-graphite); font-size: var(--fs-small); }
.card__icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--ps-concrete); display: inline-flex; align-items: center; justify-content: center; color: var(--ps-ink); }
.card__icon .icon { width: 22px; height: 22px; }
.section--concrete .card { border-color: transparent; }
.section--concrete .tag { background: var(--ps-paper); }
@media (max-width: 767px) { .card { padding: var(--sp-5); } }

/* offer cards (School / Academy) */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.offer {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--ps-paper); border: 1px solid var(--ps-mist); border-radius: var(--r-md);
  text-decoration: none; color: inherit;
}
.offer__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ps-nave); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.offer:hover .offer__media img { transform: scale(1.03); }
.offer__body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.offer__body p { color: var(--ps-graphite); font-size: var(--fs-small); }
.offer__body .link-arrow { margin-top: auto; padding-top: var(--sp-3); }
.offer__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 767px) { .offers { grid-template-columns: 1fr; } .offer__body { padding: var(--sp-5); } }

/* ---------- model layers ---------- */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); counter-reset: none; }
.layer { border-top: 2px solid var(--ps-ink); padding-top: var(--sp-5); }
.layer__when { font-size: var(--fs-caption); font-weight: 500; color: var(--ps-graphite); margin-bottom: var(--sp-3); font-variant-numeric: tabular-nums; }
.layer h3 { font-size: 24px; margin-bottom: var(--sp-3); }
.layer p { color: var(--ps-graphite); font-size: var(--fs-small); }
.tags { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.layer--glow { border-top-color: var(--ps-glow); }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* ---------- dayline (a real sequence) ---------- */
.dayline { list-style: none; padding: 0; position: relative; }
.dayline::before { content: ""; position: absolute; left: 92px; top: 10px; bottom: 10px; width: 1px; background: var(--ps-mist); }
.dayline li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 var(--sp-6); padding-block: var(--sp-4); position: relative; }
.dayline__time { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 2px; }
.dayline__body { position: relative; }
.dayline__body::before {
  content: ""; position: absolute; left: calc(-1 * var(--sp-6) - 5px); top: 8px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ps-paper); border: 2px solid var(--ps-steel);
}
.dayline__body h3 { font-size: var(--fs-h4); line-height: 1.3; margin-bottom: 4px; }
.dayline__body p { font-size: var(--fs-small); color: var(--ps-graphite); max-width: 56ch; }
.dayline li.is-key .dayline__body::before { background: var(--ps-glow); border-color: var(--ps-glow); box-shadow: 0 0 0 4px rgba(255, 168, 58, .2), 0 0 14px var(--ps-glow-halo); }
.section--concrete .dayline__body::before { background: var(--ps-concrete); }
@media (max-width: 560px) {
  .dayline::before { left: 76px; }
  .dayline li { grid-template-columns: 76px minmax(0, 1fr); gap: 0 var(--sp-5); }
  .dayline__time { font-size: var(--fs-caption); padding-top: 4px; }
  .dayline__body::before { left: calc(-1 * var(--sp-5) - 5px); }
}

/* ---------- islands gallery (campus, on hangar) ---------- */
.islands {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 120px;
}
.island {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--ps-carbon); grid-column: span 4; grid-row: span 3; margin: 0;
}
.island--wide { grid-column: span 8; grid-row: span 4; }
.island--tall { grid-column: span 4; grid-row: span 4; }
.island--half { grid-column: span 6; grid-row: span 3; }
.island img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.island:hover img { transform: scale(1.035); }
.island figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: linear-gradient(0deg, rgba(5, 7, 13, .88) 0%, rgba(5, 7, 13, 0) 100%);
  color: #fff;
}
.island figcaption strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.island figcaption span { display: block; font-size: var(--fs-caption); color: var(--ps-on-dark-soft); margin-top: 2px; line-height: 1.4; }
.islands__note { margin-top: var(--sp-5); font-size: var(--fs-caption); color: var(--ps-on-dark-soft); }
@media (max-width: 900px) {
  .islands { grid-auto-rows: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .island, .island--wide, .island--tall, .island--half { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .island--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .islands { grid-template-columns: 1fr; }
  .island--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* video frame */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--ps-carbon); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

/* media frame */
.media { border-radius: var(--r-md); overflow: hidden; background: var(--ps-concrete); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--bordered { border: 1px solid var(--ps-mist); background: var(--ps-paper); }

/* ---------- houses ---------- */
.houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.house {
  --house: var(--ps-ink);
  border-top: 3px solid var(--house); padding-top: var(--sp-5);
}
.house--starborne { --house: var(--house-starborne); }
.house--ryuken { --house: var(--house-ryuken); }
.house--blackstone { --house: var(--house-blackstone); }
.house h3 { font-size: 24px; margin-bottom: var(--sp-2); display: flex; align-items: center; gap: 10px; }
.house h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--house); }
.house p { font-size: var(--fs-small); color: var(--ps-graphite); }
.section--nave .house p, .section--navy .house p { color: var(--ps-on-dark-soft); }
@media (max-width: 767px) { .houses { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--ps-ink); }
.section--nave .checklist .icon, .section--navy .checklist .icon { color: var(--ps-glow); }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--sp-5); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--sp-4); }
.steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; font-size: var(--fs-small); font-weight: 600; opacity: .9;
}
.steps h3 { font-size: 18px; line-height: 1.35; margin-bottom: 4px; padding-top: 8px; }
.steps p { font-size: var(--fs-small); color: var(--ps-graphite); }
.section--navy .steps p, .section--nave .steps p { color: var(--ps-on-dark-soft); }

/* ---------- admission band ---------- */
.admission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--sp-8); align-items: start; }
.admission__contact { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--ps-line-dark); display: grid; gap: var(--sp-3); font-size: var(--fs-small); }
.admission__contact a { color: #fff; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.admission__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.admission__contact .icon { color: var(--ps-glow); }
@media (max-width: 900px) { .admission { grid-template-columns: 1fr; gap: var(--sp-7); } }

/* ---------- embedded form ---------- */
.form-frame { background: var(--ps-paper); color: var(--ps-ink); border-radius: var(--r-md); padding: var(--sp-5); border: 1px solid var(--ps-mist); }
.form-frame h3 { font-size: var(--fs-h4); margin-bottom: 4px; }
.form-frame > p { font-size: var(--fs-small); color: var(--ps-graphite); margin-bottom: var(--sp-4); }
.form-frame iframe { width: 100%; border: 0; min-height: 600px; }
.form-frame .form-frame__tall { height: 640px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ps-mist); }
.faq details { border-bottom: 1px solid var(--ps-mist); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--sp-5); align-items: center;
  padding: var(--sp-5) 0; font-size: var(--fs-body); font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--sp-8) var(--sp-5) 0; color: var(--ps-graphite); font-size: var(--fs-small); max-width: 70ch; }
.faq details > div p + p { margin-top: .8em; }
.faq details > div a { color: var(--ps-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-8); align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: var(--sp-5); } }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding-block: var(--sp-9) var(--sp-8); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: var(--sp-5); max-width: 58ch; }
.page-hero--nave {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + var(--sp-9)); padding-bottom: clamp(120px, 12vw, 170px);
  background: var(--ps-nave) var(--hero-poster, none) center / cover no-repeat; color: #fff;
}
.page-hero--nave::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 7, 13, .88) 0%, rgba(5, 7, 13, .62) 55%, rgba(5, 7, 13, .3) 100%);
}
.page-hero--nave .lead { color: var(--ps-on-dark); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: var(--fs-caption); color: var(--ps-graphite); margin-bottom: var(--sp-5); list-style: none; padding: 0; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.page-hero--nave .crumbs { color: var(--ps-on-dark-soft); }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--sp-4); align-items: start; padding: var(--sp-5); border: 1px solid var(--ps-mist); border-radius: var(--r-md); background: var(--ps-paper); }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--ps-concrete); }
.person h3 { font-size: 18px; line-height: 1.3; }
.person__role { font-size: var(--fs-caption); color: var(--ps-graphite); margin-top: 2px; }
.person p { font-size: var(--fs-small); color: var(--ps-graphite); margin-top: var(--sp-3); }
.person__link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-3); font-size: var(--fs-caption); font-weight: 600; color: var(--ps-ink); text-decoration: none; }
.person__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.person__link .icon { width: 16px; height: 16px; }
@media (max-width: 1023px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.people.people--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .people.people--2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } .person { grid-template-columns: 64px minmax(0, 1fr); } .person img { width: 64px; height: 64px; } }

/* ---------- quote ---------- */
.quote { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; font-weight: 400; letter-spacing: -0.02em; max-width: 26ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--ps-nave); color: var(--ps-on-dark); padding-block: var(--sp-9) 96px; font-size: var(--fs-small); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--sp-7) var(--sp-6); }
.site-footer__brand img { height: 44px; width: auto; }
.site-footer__brand p { margin-top: var(--sp-5); color: var(--ps-on-dark-soft); max-width: 36ch; }
.site-footer__contact { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-3); }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--ps-on-dark); text-decoration: none; }
.site-footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--ps-glow); }
.site-footer h2 { font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: var(--sp-4); }
.site-footer ul.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul.links a { color: var(--ps-on-dark-soft); text-decoration: none; }
.site-footer ul.links a:hover { color: #fff; }
.site-footer__bottom {
  margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--ps-line-dark);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); justify-content: space-between; align-items: center;
  font-size: var(--fs-caption); color: var(--ps-on-dark-soft);
}
.site-footer .lang { border-color: rgba(255, 255, 255, .3); }
.site-footer .lang .lang-option.active { background: #fff; color: var(--ps-ink); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- spaces (campus groups) ---------- */
.spaces-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: var(--sp-6) var(--sp-8); padding-block: var(--sp-7); border-top: 1px solid var(--ps-line-dark); }
.spaces-group:first-of-type { border-top: 0; padding-top: 0; }
.spaces-group__head { position: sticky; top: calc(var(--header-h) + var(--sp-5)); align-self: start; }
.spaces-group__head h3 { color: #fff; margin-bottom: var(--sp-3); }
.spaces-group__head p { color: var(--ps-on-dark-soft); font-size: var(--fs-small); max-width: 34ch; }
.spaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
.space { margin: 0; }
.space__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--ps-carbon); }
.space__media img { width: 100%; height: 100%; object-fit: cover; }
.space figcaption { margin-top: var(--sp-4); }
.space h4 { font-size: 18px; color: #fff; }
.space p { margin-top: 4px; font-size: var(--fs-small); color: var(--ps-on-dark-soft); }
.space--wide { grid-column: 1 / -1; }
.space--wide .space__media { aspect-ratio: 16 / 8; }
@media (max-width: 900px) {
  .spaces-group { grid-template-columns: 1fr; }
  .spaces-group__head { position: static; }
}
@media (max-width: 560px) { .spaces { grid-template-columns: 1fr; } .space--wide .space__media { aspect-ratio: 4 / 3; } }

/* ---------- map ---------- */
.map-frame { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--ps-mist); background: var(--ps-concrete); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.info-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-4); }
.info-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--sp-3); }
.info-list .icon { margin-top: 3px; }
.info-list strong { display: block; font-weight: 600; }
.info-list span { color: var(--ps-graphite); font-size: var(--fs-small); }
.info-list--dark .icon { color: var(--ps-glow); }
.info-list--dark span { color: var(--ps-on-dark-soft); }

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-8); align-items: center; justify-content: space-between; }
.cta-band h2 { max-width: 20ch; }
.cta-band .lead { margin-top: var(--sp-3); max-width: 52ch; }
.cta-band .actions { margin-top: 0; }

/* ---------- phones (app screenshots) ---------- */
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); max-width: 520px; width: 100%; margin-inline: auto; align-items: start; }
.phones img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--ps-mist); background: var(--ps-nave); }
.phones img:last-child { margin-top: var(--sp-8); }

/* ---------- outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-8); margin: 0; }
.outcomes > div { border-top: 1px solid var(--ps-mist); padding-top: var(--sp-4); }
.outcomes dt { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.outcomes dd { margin: var(--sp-2) 0 0; color: var(--ps-graphite); font-size: var(--fs-small); max-width: 52ch; }
@media (max-width: 767px) { .outcomes { grid-template-columns: 1fr; } }

.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-5); }
.checklist--sm li { font-size: var(--fs-small); }
.checklist--sm .icon { width: 18px; height: 18px; margin-top: 2px; }
@media (max-width: 560px) { .checklist--2 { grid-template-columns: 1fr; } }
.checklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sp-6); }
@media (max-width: 900px) { .checklist--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .checklist--3 { grid-template-columns: 1fr; } }
.layer .checklist { margin-top: var(--sp-4); }
.checklist--muted li { color: var(--ps-graphite); }
.checklist--muted .icon { color: var(--ps-steel); }
.outcomes dd strong { display: block; margin-top: 6px; font-weight: 500; color: var(--ps-ink); }
.layer__note { margin-top: var(--sp-4); font-size: var(--fs-caption); color: var(--ps-graphite); }


/* ---------- avatars ---------- */
.avatars { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.avatars li + li { margin-left: -14px; }
.avatars img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ps-concrete); background: var(--ps-paper); }
@media (max-width: 560px) { .avatars img { width: 56px; height: 56px; } }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-7) var(--sp-5); }
.values .layer h3 { font-size: var(--fs-h4); }
@media (max-width: 1023px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* ---------- native forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 500; color: var(--ps-ink); padding: 0; }
.field .req { color: var(--ps-glow-deep); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ps-ink);
  background: var(--ps-paper); border: 1px solid var(--ps-mist); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F5566' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input::placeholder { color: var(--ps-steel); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ps-ink); box-shadow: 0 0 0 3px rgba(255, 168, 58, .45); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--sp-4); margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-small); line-height: 1.4; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--ps-ink); }
.form-actions { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.form-actions .btn { width: 100%; }
.form-fine { font-size: var(--fs-caption); color: var(--ps-graphite); }
.form-thanks { text-align: center; padding: var(--sp-7) var(--sp-5); }
.form-thanks .card__icon { margin: 0 auto var(--sp-4); background: var(--ps-glow); }
.form-thanks h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.form-thanks p { color: var(--ps-graphite); max-width: 44ch; margin-inline: auto; }
@media (max-width: 560px) { .form-grid, .checks { grid-template-columns: 1fr; } }

/* ---------- steps in a row ---------- */
.steps.steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.steps.steps--row li { grid-template-columns: 1fr; gap: var(--sp-3); }
@media (max-width: 1023px) { .steps.steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.steps--row { grid-template-columns: 1fr; } }

/* ---------- lab cards (on hangar) ---------- */
.labs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
.labs .space h4 { margin-top: var(--sp-2); }
.labs .tag { margin-top: 2px; }
@media (max-width: 1023px) { .labs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .labs { grid-template-columns: 1fr; } }

/* ---------- "coming soon" (non-clickable) ---------- */
.soon {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 7px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: 0; white-space: nowrap;
  border: 1px solid currentColor; opacity: .62;
}
.offer--soon { cursor: default; }
.offer--soon .offer__media img { filter: saturate(.75); }
.offer--soon:hover .offer__media img { transform: none; }

/* ---------- mobile refinements ---------- */
@media (max-width: 560px) {
  /* Home gallery: swipe instead of seven stacked photos */
  .islands {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .islands::-webkit-scrollbar { display: none; }
  .island, .island--wide, .island--tall, .island--half { flex: 0 0 84%; aspect-ratio: 1 / 1; scroll-snap-align: start; }
  /* Embedded forms: give the form the full width */
  .form-frame { padding: var(--sp-4) var(--sp-3); }
  .form-frame h3, .form-frame > p { padding-inline: var(--sp-2); }
  /* Facts read better two by two */
  .facts, .facts.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-6); }
  .facts li { border-left: 0; padding-left: 0; }
  .facts li:nth-child(even) { padding-left: var(--sp-4); border-left: 1px solid var(--ps-mist); }
  .facts__value { font-size: 26px; }
  /* Team faces stay on one line */
  .avatars { flex-wrap: nowrap; }
  .avatars li + li { margin-left: -12px; }
  .avatars img { width: 46px; height: 46px; border-width: 2px; }
}

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ps-ink); color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 30px -10px rgba(14, 21, 48, .6);
  text-decoration: none; transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--ps-navy); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.text-white { color: #fff; }
.hairline { height: 1px; background: var(--ps-mist); border: 0; margin: 0; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ring .ring__half { stroke-dashoffset: 0; }
  .ring .ring__halo { opacity: .34; }
}
