:root {
  --bg: #f7f4fa;
  --bg-2: #efeaf4;
  --panel: #ffffff;
  --panel-glass: rgba(255, 255, 255, 0.82);
  --line: rgba(40, 18, 60, 0.1);
  --line-strong: rgba(40, 18, 60, 0.2);
  --text: #1a1024;
  --muted: #6b5d7b;
  --accent: #c8007a;
  --accent-2: #9b4dff;
  --magenta: #d4007a;
  --purple: #5e0089;
  --gradient: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  --yellow: #e0a100;
  --show-bg: #f1f1f3;
  --show-line: transparent;
  --show-floor: rgba(0, 0, 0, 0.16);
  --shadow: 0 24px 60px rgba(60, 20, 90, 0.12);
  --nav-bg: rgba(247, 244, 250, 0.85);
  --radius: 4px;
  --cut: 22px;
  --nav-h: 76px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  height: var(--nav-h);
}

.nav-cell {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav .logo {
  position: relative;
  padding: 0 32px;
  border-right: 1px solid var(--line);
}

.nav .logo::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 2px;
  background: var(--gradient);
}

.logo-mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
}

.logo-mark img {
  position: absolute;
  width: 128.6%;
  max-width: none;
  left: -14.1%;
  top: -6.7%;
}

.links {
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
}

.links > a,
.drop > a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.links > a.is-active,
.links > a:hover,
.drop > a.is-active,
.drop:hover > a {
  color: var(--text);
}

.drop {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.drop > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.drop:hover > a::after {
  transform: translateY(3px) rotate(225deg);
}

.drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 70;
  width: 420px;
  padding-top: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.25s;
}

.drop-panel.is-wide {
  width: 680px;
}

.drop:hover .drop-panel,
.drop:focus-within .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.drop-inner {
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0 0 18px 18px;
  background: var(--bg-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.drop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--text);
  transition: background 0.2s;
}

.drop-item img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.drop-item:hover,
.drop-row:hover {
  background: var(--panel);
}

.drop-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.drop-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  color: var(--text);
  transition: background 0.2s;
}

.drop-feature:hover {
  background: var(--panel);
}

.drop-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.drop-feature strong {
  font-size: 0.88rem;
  font-weight: 500;
}

.drop-feature span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.drop-shop {
  min-width: 240px;
}

.drop-rows {
  display: flex;
  flex-direction: column;
}

.drop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  transition: background 0.2s;
}

.drop-row em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.drop-all {
  margin-top: 6px;
  padding: 9px 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-actions {
  gap: 10px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}

.pill:hover {
  border-color: var(--accent);
}

.pill-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gradient);
  display: inline-grid;
  place-items: center;
  font-size: 11px;
}

.lang {
  display: inline-flex;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lang button.is-on {
  background: var(--gradient);
  color: #fff;
}

.menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.menu-btn span {
  width: 14px;
  height: 1px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.menu-open .menu-btn span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-btn span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.menu-panel {
  display: none;
  position: absolute;
  right: 24px;
  top: calc(var(--nav-h) + 8px);
  width: min(320px, calc(100vw - 48px));
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  box-shadow: var(--shadow);
}

.menu-open .menu-panel {
  display: grid;
  gap: 4px;
}

.menu-panel > a {
  padding: 10px 6px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.menu-panel > a.is-active,
.menu-panel > a:hover {
  color: var(--text);
}

.menu-contact {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--accent);
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
}

h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.lede {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 62ch;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(212, 0, 122, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(212, 0, 122, 0.4);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn-bracket {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  background: rgba(20, 14, 28, 0.7);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.btn-bracket::before,
.btn-bracket::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 9px;
  border: 2px solid var(--accent);
}

.btn-bracket::before {
  left: -1px;
  border-right: 0;
}

.btn-bracket::after {
  right: -1px;
  border-left: 0;
}

.btn-bracket:hover {
  background: rgba(212, 0, 122, 0.18);
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-size: 0.85rem;
  cursor: pointer;
}

/* ---------- Home, Skyryse-style rhythm ---------- */

body[data-page="home"] {
  background: #f3f3f3;
  color: #161616;
}

body[data-page="home"] .nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 28px));
  height: auto;
  background: #161616;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

body[data-page="home"] .nav-inner {
  height: 54px;
}

body[data-page="home"] .nav .logo {
  padding: 0 8px 0 14px;
  border: 0;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

body[data-page="home"] .nav .logo::after,
body[data-page="home"] .nav-actions {
  border: 0;
}

body[data-page="home"] .nav .logo::after {
  display: none;
}

body[data-page="home"] .links > a,
body[data-page="home"] .drop > a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="home"] .links > a.is-active,
body[data-page="home"] .links > a:hover,
body[data-page="home"] .drop > a.is-active,
body[data-page="home"] .drop:hover > a {
  color: #fff;
}

body[data-page="home"] .pill {
  height: 34px;
  background: #d8d8d8;
  color: #161616;
  border: 0;
}

body[data-page="home"] .pill-dot::before {
  display: none;
}

body[data-page="home"] .lang {
  border-color: rgba(255, 255, 255, 0.22);
}

body[data-page="home"] .lang button {
  color: rgba(255, 255, 255, 0.7);
}

body[data-page="home"] .menu-btn {
  border-color: rgba(255, 255, 255, 0.28);
}

body[data-page="home"] .menu-btn span {
  background: #fff;
}

body[data-page="home"] .menu-panel {
  top: 62px;
  right: 0;
}

.film {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  background: #0c0c0c;
  color: #fff;
}

.film-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.film-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.72) 100%);
}

.film-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 0 6vw 10vh;
  text-align: center;
}

.film-copy h1 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 7.4vw, 7.4rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.film-copy h1 .line {
  display: block;
}

.film-copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.film-statement {
  background: #f7f7f7;
  padding: 92px 8vw;
}

.film-statement p {
  max-width: 16em;
  margin: 0 auto;
  text-align: center;
  color: #161616;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.film-bleed {
  margin: 0;
  height: min(74vh, 820px);
  overflow: hidden;
  background: #111;
}

.film-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-block {
  background: #f7f7f7;
  padding: 84px 0 36px;
}

.film-intro h2 {
  max-width: 14em;
  margin: 0 0 18px;
  color: #161616;
  font-weight: 400;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.film-intro p {
  max-width: 34ch;
  margin: 0 0 28px;
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.5;
}

.film-btn {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-btn:hover {
  background: #000;
}

.social {
  padding-top: 72px;
}

.social-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.social-head .eyebrow {
  margin: 0 0 10px;
}

.social-head h2 {
  margin: 0 0 12px;
  color: #161616;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.social-head p {
  max-width: 36ch;
  margin: 0;
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.5;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

.social-wa {
  background: transparent;
  color: #161616;
  border: 1px solid #161616;
}

.social-wa:hover {
  background: #161616;
  color: #fff;
}

.film-caps {
  background: #ececec;
  padding: 28px 0 88px;
}

.film-caps > .wrap > h2 {
  margin: 0 0 28px;
  color: #161616;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.film-rail {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 24px 8px;
  grid-auto-columns: min(380px, 78vw);
  gap: 16px;
}

.film-caps .svc-media,
.film-static .svc-media {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
}

.film-caps .svc-caption,
.film-static .svc-caption {
  padding: 0 4px;
  color: #1a1a1a;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.film-static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(1280px, calc(100% - 48px));
  margin: 36px auto 28px;
}

.film-shop {
  padding-bottom: 72px;
}

.film-shop .product-grid {
  margin-top: 8px;
}

.home-kits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 12px auto 28px;
}

.home-kit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: inherit;
}

.home-kit-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--bg);
}

.home-kit-media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.home-kit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px 18px;
}

.home-kit-tag {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-kit h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.home-kit-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 18px;
}

.home-shop-rail {
  padding-bottom: 12px;
}

.home-shop-rail .product-card {
  width: 230px;
}

.vitrin {
  background: #fff;
  padding: 96px 0;
}

.vitrin-piece {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}

.vitrin-piece + .vitrin-piece {
  margin-top: 88px;
}

.vitrin-piece-alt {
  grid-template-columns: 0.7fr 1.3fr;
}

.vitrin-photo,
.vitrin-trio a {
  --px: 0;
  --py: 0;
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 50%;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.vitrin-photo.is-tilting,
.vitrin-trio a.is-tilting {
  transition: transform 0.12s linear, box-shadow 0.12s linear;
}

.vitrin-photo::before,
.vitrin-trio a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateZ(-18px);
  pointer-events: none;
}

.vitrin-photo::after,
.vitrin-trio a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.5), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateZ(1px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.vitrin-photo.is-tilting::after,
.vitrin-trio a.is-tilting::after {
  opacity: 1;
}

.vitrin-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 35% 25%, rgba(255, 244, 200, 0.55), transparent 70%),
    linear-gradient(145deg, #f6d36b 0%, #e6b33a 45%, #c99a2e 100%);
  box-shadow:
    calc(var(--px) * -40px) calc(34px + var(--py) * -24px) 60px -24px rgba(120, 80, 10, 0.5),
    inset 0 1px 0 rgba(255, 250, 225, 0.7);
}

.vitrin-photo::before {
  background: linear-gradient(145deg, #b38522, #7c5a12);
}

.vitrin-photo img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transform: translateZ(70px) rotateX(10deg);
  filter: drop-shadow(calc(var(--px) * -22px) calc(28px + var(--py) * -14px) 14px rgba(40, 26, 8, 0.38));
  animation: vitrin-float 6s ease-in-out infinite;
}

@keyframes vitrin-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.vitrin .eyebrow {
  margin: 0 0 10px;
}

.vitrin-copy h2 {
  margin: 0 0 12px;
  color: #161616;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.vitrin-copy p {
  max-width: 28ch;
  margin: 0 0 22px;
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.5;
}

.vitrin-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vitrin-trio a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 12px 12px;
  border-radius: 22px;
  color: inherit;
  background:
    radial-gradient(ellipse 55% 16% at 50% 72%, rgba(30, 22, 18, 0.14), transparent 72%),
    linear-gradient(180deg, #f7f5f8 0%, #ece8ef 100%);
  box-shadow: calc(var(--px) * -24px) calc(20px + var(--py) * -14px) 34px -18px rgba(40, 26, 60, 0.32);
}

.vitrin-trio a::before {
  background: #d6d0dc;
  transform: translateZ(-12px);
}

.vitrin-trio img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6px;
  border-radius: 0;
  background: transparent;
  transform: translateZ(46px) rotateX(10deg);
  filter: drop-shadow(calc(var(--px) * -14px) calc(16px + var(--py) * -8px) 8px rgba(28, 20, 16, 0.3));
  animation: vitrin-float 6s ease-in-out infinite;
}

.vitrin-trio a:nth-child(2) img {
  animation-delay: -2s;
}

.vitrin-trio a:nth-child(3) img {
  animation-delay: -4s;
}

.vitrin-trio span {
  font-size: 0.92rem;
  color: #3a3a3a;
  transform: translateZ(20px);
}

@media (prefers-reduced-motion: reduce) {
  .vitrin-photo img,
  .vitrin-trio img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .home-kits { grid-template-columns: 1fr; }
  .home-kit { grid-template-columns: 1fr; }
  .home-kit-media { aspect-ratio: 4 / 3; }
  .vitrin { padding: 64px 0; }
  .vitrin-piece,
  .vitrin-piece-alt { grid-template-columns: 1fr; gap: 22px; }
  .vitrin-piece + .vitrin-piece { margin-top: 56px; }
  .vitrin-trio { gap: 10px; }
  .social-head { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1181px) {
  body[data-page="home"] .menu-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  .film-copy {
    padding-bottom: 8vh;
  }

  .film-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .film-statement {
    padding: 56px 24px;
  }

  .film-block {
    padding-top: 56px;
  }

  .film-static {
    grid-template-columns: 1fr;
  }

  .film-bleed {
    height: 52vh;
  }
}

.stage {
  position: relative;
  margin: 14px 14px 0;
  min-height: calc(100vh - var(--nav-h) - 28px);
  border-radius: 18px;
  overflow: hidden;
  background: #0c0c0f;
  color: #f6f3ee;
  box-shadow: 0 28px 70px rgba(24, 10, 36, 0.16);
}

.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.72;
}

.stage-dim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.88) 0%, rgba(8, 8, 12, 0.42) 42%, rgba(8, 8, 12, 0.28) 62%, rgba(8, 8, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.2), rgba(8, 8, 12, 0.55));
}

.stage-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
  grid-template-rows: 1fr auto auto;
  gap: 18px 28px;
  min-height: inherit;
  padding: 42px 40px 28px;
}

.stage-layout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.stage-copy {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: end;
  max-width: 640px;
  padding-bottom: 12px;
}

.stage-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: rgba(246, 243, 238, 0.72);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--magenta);
}

.stage-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #f7f4ee;
}

.stage-copy h1 .line {
  display: block;
}

.stage-lede {
  max-width: 42ch;
  margin: 22px 0 0;
  color: rgba(246, 243, 238, 0.78);
  font-size: 1.02rem;
  line-height: 1.6;
}

.stage-card {
  display: block;
  align-self: start;
  justify-self: end;
  width: min(320px, 100%);
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 12, 16, 0.46);
  backdrop-filter: blur(16px);
  color: inherit;
}

.stage-card-side {
  grid-column: 2;
  grid-row: 1;
  margin-top: 8px;
}

.stage-card h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.stage-card p:last-child {
  margin: 0;
  color: rgba(246, 243, 238, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

.stage-card-low {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  align-self: end;
}

.stage-go {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-width: 210px;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f7f4ee;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background:
    linear-gradient(var(--magenta), var(--magenta)) left top / 14px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) left top / 2px 14px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) right bottom / 14px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) right bottom / 2px 14px no-repeat;
}

.stage-go:hover {
  background-color: rgba(212, 0, 122, 0.18);
}

.stage-trust {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(320px, 100%);
  display: grid;
  gap: 8px;
}

.stage-trust li {
  color: rgba(246, 243, 238, 0.8);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stage {
    margin: 0;
    border-radius: 0;
    min-height: auto;
  }

  .stage-layout {
    grid-template-columns: 1fr;
    padding: 28px 20px 24px;
    gap: 16px;
  }

  .stage-layout::before {
    display: none;
  }

  .stage-copy h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .stage-copy,
  .stage-card,
  .stage-card-side,
  .stage-card-low,
  .stage-trust,
  .stage-go {
    width: 100%;
    justify-self: stretch;
    grid-column: auto;
    grid-row: auto;
  }
}

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

.hero {
  position: relative;
  height: max(580px, min(calc(100vh - var(--nav-h)), 780px));
  overflow: hidden;
  --text: #f7f4ee;
  --muted: rgba(247, 244, 238, 0.78);
  --accent: #e0a100;
  --line: rgba(255, 255, 255, 0.2);
  --line-strong: rgba(255, 255, 255, 0.42);
  color: var(--text);
  background: #1c2118;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.12) 0%, transparent 36%, rgba(10, 12, 14, 0.08) 70%, #f7f4fa 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 56px;
}

.hero-glass {
  max-width: 520px;
  padding: 30px 32px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(14, 16, 18, 0.38);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero .btn-primary {
  background: var(--yellow);
  color: #1a1408;
  box-shadow: none;
}

.hero .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn-ghost:hover {
  border-color: #fff;
}

@keyframes hover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.hero-orbits {
  position: absolute;
  width: min(820px, 70vw);
  aspect-ratio: 1;
  color: rgba(244, 238, 250, 0.22);
  animation: spin 80s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-copy,
.hero-glass {
  text-shadow: none;
}

.hero-lede {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  text-shadow: none;
}

.hero-trust {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

.hero-copy .kicker,
.hero-glass .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}

.hero-copy .kicker::before,
.hero-glass .kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--muted) 70%, var(--accent) 70%);
}

.hero-copy h1,
.hero-glass h1 {
  position: relative;
  z-index: 3;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  white-space: normal;
}

.cut-card {
  position: relative;
  background: var(--panel-glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  padding: 22px 24px;
}

.cut-card h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.cut-card h3 b {
  font-weight: 600;
}

.cut-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.hero-col .card-left {
  width: min(320px, 100%);
}

.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 11px;
  color: var(--muted);
}

.steps li {
  position: relative;
  padding-top: 18px;
}

.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.steps li::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 12px;
  right: 3px;
  height: 1px;
  background: var(--line-strong);
}

.steps li:last-child::after {
  display: none;
}

.steps li:first-child {
  color: var(--text);
}

.steps li:first-child::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.card-left .card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-center {
  align-items: center;
  justify-content: flex-end;
}

.hero-right {
  align-items: flex-end;
  padding-top: 96px;
}

.hero-right .cut-card {
  width: min(320px, 100%);
}

.card-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  margin-bottom: 18px;
}

.card-icon-outline {
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 28px clamp(20px, 3vw, 40px);
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.page-hero {
  padding: 56px 0 28px;
}

.page-hero h1 {
  max-width: 22ch;
}

.page-hero .lede {
  margin-top: 16px;
}

/* ---------- Service cards ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.svc-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 28px) / 3.25);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.svc-rail::-webkit-scrollbar {
  display: none;
}

.svc-rail .svc-card {
  scroll-snap-align: start;
}

.rail-nav {
  display: flex;
  gap: 8px;
}

.rail-nav button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.rail-nav button:hover {
  background: var(--bg-2);
  border-color: var(--text);
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text);
}

.svc-media {
  aspect-ratio: 11 / 12;
  overflow: hidden;
  border-radius: 14px;
  background: #121212;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.svc-card:hover .svc-media img {
  transform: scale(1.05);
}

.svc-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.svc-caption svg {
  flex: none;
  margin-top: 3px;
  transition: transform 0.25s, color 0.25s;
}

.svc-card:hover .svc-caption svg {
  transform: translateX(4px);
  color: var(--yellow);
}

.svc-link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.svc-link::after {
  content: "→";
  transition: transform 0.2s;
}

.svc-card:hover .svc-link::after {
  transform: translateX(4px);
}

/* ---------- Program cards ---------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.program-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card:hover .program-media img {
  transform: scale(1.05);
}

.program-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #15101c;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 12px 10px;
}

.program-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.program-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.program-meta span {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text);
}

.program-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-link svg {
  transition: transform 0.25s;
}

.program-card:hover .program-link svg {
  transform: translateX(4px);
}

/* ---------- Course pages ---------- */

.course-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 40px;
}

.course-hero .lede {
  margin-top: 16px;
}

.course-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

/* ---------- Service detail ---------- */

.sd {
  padding: 8px 0 12px;
}

.sd-photo {
  margin: 0 0 36px;
  border-radius: 12px;
  overflow: hidden;
  background: #1c1c1c;
  aspect-ratio: 2.15 / 1;
  border: 1px solid var(--line);
}

.sd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 8px;
}

.sd-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.sd-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-photo[data-svc="7"] img {
  object-position: 78% 22%;
  transform: scale(1.2);
}

.sd-copy {
  max-width: 720px;
}

.sd-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sd-lead {
  margin: 0 0 14px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text);
}

.sd-body {
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.sd-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin-bottom: 28px;
}

.sd-cols h2 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sd-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sd-cols li {
  position: relative;
  padding-left: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.sd-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.32;
}

.sd-note {
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.sd-jobs {
  margin: 8px 0 32px;
}

.sd-jobs > h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.sd-jobs ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-job {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sd-job h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
}

.sd-job ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-job li {
  position: relative;
  padding-left: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.sd-job li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.32;
}

.sd-job li b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 600;
}

.sd-jobs-photo {
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 3 / 2;
}

.sd-jobs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-job-note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 640px) {
  .sd-jobs ol { grid-template-columns: 1fr; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  padding: 14px 16px;
  background: var(--bg);
}

.fact span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.fact strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.learn-card {
  position: relative;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: border-color 0.3s;
}

.learn-card:hover {
  border-color: rgba(255, 63, 164, 0.5);
}

.learn-card .tile-num {
  margin-bottom: 18px;
}

.learn-card h3 {
  margin-bottom: 8px;
}

.learn-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.prose {
  max-width: 760px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.prose h2 {
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text) !important;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2-4.2-4.2 1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2-4.2-4.2 1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.area-card {
  padding: 26px 24px;
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(212, 0, 122, 0.16), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.area-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--gradient);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.area-card h3 {
  margin-bottom: 10px;
}

.area-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.split-media {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.split-media img {
  width: 100%;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.moves {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.moves span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
}

.prog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
}

.prog-tabs a {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.prog-tabs a:hover {
  color: var(--text);
  border-color: rgba(255, 63, 164, 0.5);
}

.prog-tabs a.is-on {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
}

.prog-tabs + .page-hero,
.prog-tabs + .course-hero {
  padding-top: 32px;
}

.block {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.block-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.block-head .lede {
  margin-top: 12px;
}

.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-words .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 55ms + 120ms);
}

.in .split-words .w > span,
.split-words.in .w > span {
  transform: none;
}

/* ---------- 3D drone ---------- */

.drone3d-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.drone3d-copy .lede {
  margin-top: 14px;
  max-width: 440px;
}

.spec-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.spec-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list li:nth-child(odd) {
  padding-right: 16px;
}

.spec-list li:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.spec-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.spec-list span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.drone3d-stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}

.drone3d-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 60%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 60%, #000 30%, transparent 75%);
  opacity: 0.6;
}

.drone3d-canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  opacity: 0;
  transition: opacity 0.8s;
}

.drone3d-canvas.is-ready {
  opacity: 1;
}

.drone3d-canvas.is-grabbing {
  cursor: grabbing;
}

.drone3d-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: pan-y;
}

.drone3d-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-glass);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.drone3d-hint svg {
  animation: spin 6s linear infinite;
}

@media (max-width: 960px) {
  .drone3d-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Shared caption typography ---------- */

.program-card h3,
.learn-card h3,
.area-card h3,
.cut-card h3,
.product-card h3,
.tile h3,
.footer h3,
.drop-feature strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cut-card h3 b {
  font-weight: 500;
}

.btn,
.pill,
.btn-bracket,
.links > a,
.drop > a,
.stat span,
.hero-copy .kicker,
.hero-glass .kicker,
.card-link,
.fact span,
.crumbs {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  font-size: 12px;
}

.stat span,
.hero-copy .kicker,
.hero-glass .kicker,
.crumbs {
  font-size: 12px;
}

/* ---------- Game ---------- */

.game {
  padding-bottom: 80px;
}

.game-console {
  overflow: hidden;
  border-radius: 24px;
  background: #0b0b0f;
  box-shadow: 0 28px 70px rgba(10, 8, 16, 0.22);
}

.game-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  background: #121016;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.game-mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(212, 0, 122, 0.7);
  flex: none;
}

.game-mode-mark {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.game-mode-pill {
  padding: 4px 8px;
  border: 1px solid rgba(212, 0, 122, 0.45);
  border-radius: 999px;
  color: #f3b4d4;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

.game-keys kbd {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-hud {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 12px 8px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: blur(18px);
}

.game-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 16px;
}

.game-stat + .game-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.game-lives {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 22px;
}

.game-lives i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.game-lives i.is-on {
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(212, 0, 122, 0.55);
}

.game-hint {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-stage {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.game-over {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.game-over[hidden] {
  display: none;
}

.ad-slot[hidden] {
  display: none;
}

.ad-inline {
  width: min(336px, 100%);
  min-height: 100px;
  margin: 8px 0;
}

.ad-banner {
  min-height: 90px;
  margin-top: 18px;
  text-align: center;
}

.game-hud span {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-hud strong {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.game-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #07050b;
  touch-action: none;
}

.game-stage.is-playing {
  cursor: none;
}

.game-stage.is-shake {
  animation: game-shake 0.35s ease;
}

@keyframes game-shake {
  20% { transform: translate(-6px, 2px); }
  40% { transform: translate(5px, -3px); }
  60% { transform: translate(-3px, 2px); }
  80% { transform: translate(2px, -1px); }
}

.game-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 24px 88px;
  text-align: center;
  color: #f4eefa;
  background: linear-gradient(180deg, rgba(7, 5, 11, 0.18) 0%, rgba(7, 5, 11, 0.62) 100%);
}

.game-overlay[hidden] {
  display: none;
}

.game-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.game-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff;
}

.game-overlay.is-over .game-title {
  color: #fff;
}

.game-final {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: #cfc4dc;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-final strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
}

.game-over-text {
  margin: 0 0 8px;
  color: #cfc4dc;
}

.game-help {
  margin: 10px 0 0;
  color: #a597b6;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-legend i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.lg-pkg { background: var(--yellow); }
.lg-bat { background: #5ef0a0; }
.lg-tower { background: #3a2b4a; box-shadow: inset 0 3px 0 #ff4d4d; }
.lg-heart { background: #ff4d6a; border-radius: 50% !important; }
.lg-bird { background: #e23b2f; border-radius: 50% !important; }
.lg-laser { background: #ff2a2a; box-shadow: 0 0 8px #ff2a2a; }
.lg-shield { background: #3ee0ff; border-radius: 50% !important; }

.game-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.game-cta p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.3rem;
}

.rise {
  padding: 108px 8vw 96px;
  text-align: center;
  background: #f3f3f3;
}

.rise-lead {
  margin: 0;
  color: #161616;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.rise-lead span {
  color: var(--magenta);
}

.rise-lead em {
  font-style: normal;
}

.rise-swap {
  position: relative;
  width: min(18ch, 100%);
  height: 1.2em;
  margin: 14px auto 0;
  color: #161616;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.rise-swap span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.55s ease;
}

.rise-swap span.is-on {
  opacity: 1;
  transform: none;
  filter: none;
}

.home-game {
  padding-top: 72px;
  padding-bottom: 88px;
}

.game.is-compact {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 0;
}

.game.is-compact .game-hud {
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 6px 10px 14px;
}

.game.is-compact .game-hud strong {
  font-size: 1.2rem;
}

.game.is-compact .game-stage {
  aspect-ratio: 16 / 9;
  max-height: 380px;
}

.game.is-compact .game-overlay {
  gap: 12px;
  padding: 16px 16px 78px;
}

.game.is-compact .game-title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
}

.game.is-compact .game-final strong {
  font-size: 1.4rem;
}

@media (max-width: 720px) {
  .game-hud {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .game-hint {
    display: none;
  }

  .game-stage {
    aspect-ratio: 3 / 4;
    max-height: calc(100svh - 160px);
    margin-inline: auto;
  }

  .game.is-compact .game-stage {
    aspect-ratio: 16 / 10;
    max-height: 248px;
  }
}

.learn-card,
.area-card,
.card {
  box-shadow: 0 10px 30px -18px rgba(60, 20, 90, 0.25);
}

html[lang="tr"] [data-only="en"],
html[lang="en"] [data-only="tr"] {
  display: none !important;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tile {
  position: relative;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.tile::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.35s ease;
}

.tile:hover {
  background: linear-gradient(180deg, rgba(212, 0, 122, 0.08), transparent);
}

.tile:hover::before {
  width: calc(100% + 1px);
}

.tile-num {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 36px;
}

.tile h3 {
  margin-bottom: 10px;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.band {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(212, 0, 122, 0.22), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(94, 0, 137, 0.3), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}

.band .actions {
  margin-top: 28px;
}

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mod;
  display: grid;
  gap: 0;
  align-self: center;
}

.module-list li {
  counter-increment: mod;
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--display);
  font-size: 12px;
  padding-top: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mod-list {
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mod;
}

.mod-list li {
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  counter-increment: mod;
}

.mod-list li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.mod-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.docs-list {
  max-width: 640px;
  margin: 20px auto 0;
}

.mod-list li strong:only-child {
  margin-bottom: 0;
}

.train-sub {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 500;
}

.train-text {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.docs-title {
  margin: 64px 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.docs-text,
.docs-note {
  max-width: 640px;
  margin: 10px auto 0;
  color: var(--muted);
  text-align: center;
}

.docs-note {
  margin-top: 20px;
  font-size: 0.88rem;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 48px;
}

.cert-logos img {
  height: 88px;
  width: auto;
  object-fit: contain;
}

.path-step {
  position: relative;
  padding-top: 36px;
}

.path-step::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(255, 63, 164, 0.6);
}

.path-step::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 22px;
  right: -12px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.path-step:last-child::after {
  display: none;
}

.path-step h3 {
  margin-bottom: 8px;
}

.path-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Cards, shop ---------- */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.thumb.is-stage {
  background: #d6a51a;
}

.thumb img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .thumb img {
  transform: scale(1.045);
}

.pcard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: #15101c;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pcard-quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 11px;
  border-radius: 10px;
  background: #15101c;
  color: #fff;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .pcard-quick {
  opacity: 1;
  transform: none;
}

.pcard-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 16px 4px 0;
}

.pcard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
}

.pcard-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.product-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pcard-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pcard-btn {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.pcard-btn:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.pcard-btn .i-check {
  display: none;
}

.pcard-btn.is-done {
  background: #1fae6b;
  border-color: #1fae6b;
  color: #fff;
}

.pcard-btn.is-done .i-cart {
  display: none;
}

.pcard-btn.is-done .i-check {
  display: block;
}

.product-card .swatches {
  gap: 5px;
}

.product-card .swatch {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

.product-card .price {
  font-size: 1.05rem;
}

.product-card .price.is-ask {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0;
}

.price.is-ask,
.is-ask {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--panel);
  background: var(--sw);
  box-shadow: 0 0 0 1px var(--line-strong);
  padding: 0;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.swatch:hover {
  transform: scale(1.12);
}

.swatch.is-on {
  box-shadow: 0 0 0 2px var(--accent);
}

.swatch-count {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 4px;
}

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.shop-bar .filters {
  margin: 0;
}

.search {
  position: relative;
  flex: 0 1 300px;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
}

.search input:focus {
  outline: none;
  border-color: var(--accent);
}

.search svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.shop-count {
  color: var(--muted);
  font-size: 0.85rem;
  margin: -12px 0 20px;
}

.chip span {
  opacity: 0.6;
  font-size: 0.8em;
  margin-left: 2px;
}

.crumbs {
  display: flex;
  gap: 10px;
  padding-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs span {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
}

.gallery-main {
  display: grid;
  place-items: center;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: transparent;
  overflow: hidden;
}

.gallery-main img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  animation: fade-in 0.4s ease;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

.gallery-thumbs button.is-on,
.gallery-thumbs button:hover {
  border-color: var(--accent);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-info h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.price-lg {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.price-lg.is-ask {
  font-size: 1.1rem;
}

.opt-group {
  margin: 22px 0 6px;
}

.opt-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.opt-title b {
  color: var(--text);
  font-weight: 600;
}

.opt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.opt .swatch {
  pointer-events: none;
}

.opt:hover {
  border-color: var(--accent);
}

.opt.is-on {
  border-color: var(--accent);
  background: rgba(255, 63, 164, 0.12);
}

.qty-row {
  flex-wrap: wrap;
}

.btn.is-done {
  background: #1fae6b;
  box-shadow: none;
}

.spec-title {
  margin: 28px 0 4px;
  font-size: 1rem;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

.chip.is-on,
.chip:hover {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  padding: 56px 0 88px;
}


.spec-list {
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.spec-list li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
}

.qty-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}

.qty-row input,
.qty-input {
  width: 72px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}

.cart-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: transparent;
}

.checkout,
.auth {
  max-width: 440px;
  margin-top: 28px;
}

.cart-continue {
  margin-top: 8px;
}

.auth h3 {
  margin: 6px 0 18px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.auth-tabs button {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tabs button.is-on {
  background: var(--text);
  color: var(--bg);
}

.auth-error {
  margin: 0;
  color: #ff6b6b;
  font-size: 0.85rem;
}

.auth-guest {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-guest:hover {
  color: var(--yellow);
}

.auth-who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-who strong {
  color: var(--text);
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 12px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form.card {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  transition: border-color 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.notice {
  display: none;
  color: #1b6b3a;
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.notice.show {
  display: block;
}

.notice.is-error {
  color: #b42318;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
  accent-color: #1f7a4d;
}

.check a {
  text-decoration: underline;
}

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 70, 0.35);
}

.wa-fab:hover {
  color: #fff;
  transform: translateY(-2px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.work-grid a {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #111;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-grid a:hover img {
  transform: scale(1.04);
}

.legal {
  max-width: 72ch;
  display: grid;
  gap: 16px;
}

.legal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.2s;
}

.contact-item:hover {
  border-color: var(--accent);
}

.contact-item span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
}

.about-img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}

.empty {
  color: var(--muted);
  padding: 32px 0 64px;
}

.empty a {
  color: var(--accent);
}

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

.footer {
  position: relative;
  margin-top: 72px;
  padding: 0 0 28px;
  background: transparent;
  border-top: none;
}

.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.footer-cta .eyebrow {
  margin: 0 0 6px;
}

.close-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.close-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.close-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.footer .close-title {
  color: var(--text);
}

.footer .footer-cta .btn {
  display: inline-flex;
  padding: 11px 18px;
  white-space: nowrap;
}

.footer .footer-cta .btn-primary {
  color: #fff;
}

.footer .footer-cta .btn-ghost {
  color: var(--text);
}

@media (max-width: 900px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .close-actions {
    flex-wrap: wrap;
  }
}

.footer::before {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 32px;
}

.footer a,
.footer p {
  color: var(--muted);
  display: block;
  line-height: 1.8;
  margin: 0;
}

.footer a:hover {
  color: var(--text);
}

.footer .footer-logo {
  display: inline-flex;
  color: var(--text);
  margin-bottom: 14px;
}

.footer h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.footnote {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6f6280;
  font-size: 13px;
}

/* ---------- Motion ---------- */

.hero-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(760px, 80vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 0, 122, 0.28), rgba(94, 0, 137, 0.12) 45%, transparent 70%);
  filter: blur(20px);
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.orbit-parallax {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -18px), 0);
}

.hero-orbits .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s 0.4s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.drone-parallax {
  transform: translate3d(calc(var(--mx, 0) * 46px), calc(var(--my, 0) * 30px + var(--sy, 0) * 0.25px), 0)
    rotate(calc(var(--mx, 0) * 5deg));
  will-change: transform;
}

.drone-intro {
  animation: drone-in 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes drone-in {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.86);
    filter: blur(8px);
  }
}

.hero-cols {
  transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -6px), 0);
}

.hero-copy h1 .line,
.hero-glass h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-copy h1 .line > span,
.hero-glass h1 .line > span {
  display: inline-block;
  animation: line-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy h1 .line:nth-child(1) > span,
.hero-glass h1 .line:nth-child(1) > span {
  animation-delay: 0.25s;
}

.hero-copy h1 .line:nth-child(2) > span,
.hero-glass h1 .line:nth-child(2) > span {
  animation-delay: 0.4s;
}

@keyframes line-up {
  from {
    transform: translateY(110%);
  }
}

.hero-copy .kicker {
  animation: fade-up 0.8s 0.1s ease both;
}

.hero .card-left {
  animation: slide-right 1s 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero .card-r1 {
  animation: slide-left 1s 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero .card-r2 {
  animation: slide-left 1s 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero .btn-bracket {
  animation: fade-up 0.9s 1.2s ease both;
}

.hero .btn-bracket::before,
.hero .btn-bracket::after {
  animation: bracket 2.4s 2s ease-in-out infinite;
}

.hero .btn-bracket::after {
  animation-name: bracket-r;
}

@keyframes bracket {
  50% {
    transform: translateX(-5px);
  }
}

@keyframes bracket-r {
  50% {
    transform: translateX(5px);
  }
}

.steps li:first-child::before {
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 63, 164, 0.7);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(255, 63, 164, 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, background 0.3s;
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reduced-motion .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-orbits .draw {
    stroke-dashoffset: 0;
  }
}

/* ---------- Cursor plane ---------- */

.cursor-trail,
.cursor-plane {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s;
}

.cursor-trail {
  width: 100vw;
  height: 100vh;
}

.cursor-plane {
  filter: drop-shadow(0 0 8px rgba(255, 63, 164, 0.8));
  will-change: transform;
}

.cursor-trail.is-visible,
.cursor-plane.is-visible {
  opacity: 1;
}

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

@media (max-width: 1180px) {
  .links {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .svc-rail {
    grid-auto-columns: calc((100% - 28px) / 2.2);
  }
}

@media (max-width: 960px) {
  .program-grid,
  .learn-grid,
  .area-grid,
  .course-hero,
  .split-media {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-rail {
    grid-auto-columns: 82%;
    gap: 16px;
  }

  .rail-nav {
    display: none;
  }

  .sd-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sd-photo {
    aspect-ratio: 16 / 10;
    margin-bottom: 28px;
  }

  h1 {
    font-size: 1.9rem;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .page-hero,
  .course-hero {
    padding-top: 40px;
  }

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 960px) {
  .hero {
    height: min(78vh, 680px);
    min-height: 520px;
  }

  .hero-inner {
    padding: 28px 0 36px;
  }

  .hero-glass {
    max-width: none;
    padding: 22px 20px 18px;
    border-radius: 18px;
  }

  .hero-copy h1,
  .hero-glass h1 {
    white-space: normal;
    font-size: 2.1rem;
  }

  .stats,
  .tile-grid,
  .split,
  .product-detail,
  .band,
  .path,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card .card-body {
    padding: 12px;
  }

  .product-card h3 {
    font-size: 0.9rem;
  }

  .card-foot {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .path-step::after {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hide-sm {
    display: none;
  }

  .nav .logo {
    padding: 0 16px;
  }

  .nav .logo span:last-child {
    display: none;
  }

  .nav-actions {
    padding: 0 12px;
    gap: 6px;
  }
}

@media (min-width: 561px) and (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

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

/* ---------- AoA Sim ---------- */

body[data-page="aoa"] {
  background: #0a1129;
  color: #f6f0ff;
}

body[data-page="aoa"] .footer-cta {
  display: none;
}

body[data-page="aoa"] .footer {
  background: #0a1129;
  border-top: 1px solid rgba(140, 170, 230, 0.14);
  color: rgba(226, 232, 248, 0.75);
}

body[data-page="aoa"] .footer a,
body[data-page="aoa"] .footer p { color: rgba(206, 216, 240, 0.62); }
body[data-page="aoa"] .footer a:hover { color: #fff; }
body[data-page="aoa"] .footer h3,
body[data-page="aoa"] .footer .footer-logo { color: #e8edf9; }
body[data-page="aoa"] .footnote { border-top-color: rgba(140, 170, 230, 0.14); color: rgba(206, 216, 240, 0.45); }

.aoa-gate[hidden],
.aoa-deck[hidden] {
  display: none !important;
}

.aoa-gate {
  width: min(1100px, calc(100% - 48px));
  min-height: calc(100vh - var(--nav-h) - 80px);
  margin: 0 auto;
  padding: 56px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

main.aoa { overflow-x: clip; }
.aoa-gate { position: relative; isolation: isolate; }
.aoa-gate > .aoa-copy,
.aoa-gate > .aoa-card { position: relative; z-index: 1; }

.aoa-world {
  position: absolute;
  top: calc(-1 * var(--nav-h, 0px));
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  overflow: hidden;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  background:
    radial-gradient(ellipse at 60% 40%, rgba(45, 103, 182, 0.28), transparent 60%),
    linear-gradient(180deg, #0a1129 0%, #0c1734 55%, #0a1129 100%);
  pointer-events: none;
}

.aoa-world::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 17, 41, 0.75) 0%, rgba(10, 17, 41, 0.15) 45%, rgba(10, 17, 41, 0.35) 100%);
}

.aoa-world-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 200vh);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%);
  background-image:
    linear-gradient(rgba(140, 170, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 230, 0.07) 1px, transparent 1px);
  background-size: calc(100% / 24) calc(100% / 12);
}

.aoa-world-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  filter: brightness(1.6) sepia(0.4) hue-rotate(180deg);
}

.aoa-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.aoa-arcs path {
  fill: none;
  stroke: rgba(255, 70, 80, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
  animation: aoa-flow 2.4s linear infinite;
}

.aoa-ping {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #ff2d3d;
  box-shadow: 0 0 10px 2px rgba(255, 45, 61, 0.7);
  animation: aoa-blink 3s ease-in-out infinite;
  animation-delay: var(--d);
}

.aoa-ping::before,
.aoa-ping::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px solid rgba(255, 45, 61, 0.8);
  border-radius: 50%;
  animation: aoa-ring 3s ease-out infinite;
  animation-delay: var(--d);
}

.aoa-ping::after { animation-delay: calc(var(--d) + 1.5s); }

.aoa-ping.is-hub { width: 12px; height: 12px; margin: -6px 0 0 -6px; }

.aoa-ping b {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 180, 186, 0.85);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

@keyframes aoa-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes aoa-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes aoa-flow {
  to { stroke-dashoffset: -20; }
}

.aoa-world-map img {
  opacity: 0.34;
  filter: brightness(1.7) sepia(0.5) hue-rotate(185deg) saturate(1.6) drop-shadow(0 0 6px rgba(90, 150, 255, 0.35));
}

.aoa-arcs path { stroke: rgba(255, 80, 90, 0.6); }

.aoa-arcs .aoa-planes path {
  fill: #fff;
  stroke: #ff2d3d;
  stroke-width: 1;
  stroke-dasharray: none;
  animation: none;
  filter: drop-shadow(0 0 3px rgba(255, 45, 61, 0.9));
}

.aoa-gate .aoa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff8a94;
}

.aoa-gate .aoa-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2d3d;
  box-shadow: 0 0 10px #ff2d3d;
  animation: aoa-blink 1.6s ease-in-out infinite;
}

.aoa-gate .aoa-copy h1 {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, #ff6b78 45%, #7fb2ff 55%, #ffffff 65%, #ffffff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aoa-shine 6s ease-in-out infinite;
}

.aoa-gate .aoa-points li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.aoa-gate .aoa-points li::before {
  content: "✈";
  color: #ff4d5b;
  font-size: 13px;
}

.aoa-fids {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(140, 170, 230, 0.22);
  border-radius: 10px;
  background: rgba(6, 10, 28, 0.72);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aoa-lv {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #b51d2a;
  color: #fff;
  font-weight: 600;
}

.aoa-lv i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: aoa-blink 1.2s ease-in-out infinite;
}

.aoa-tick {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.aoa-tick-track {
  display: flex;
  width: max-content;
  animation: aoa-tick 38s linear infinite;
}

.aoa-tick-track span {
  padding: 10px 18px;
  color: #f0d98a;
  white-space: nowrap;
}

.aoa-tick-track b { color: #fff; font-weight: 600; }
.aoa-tick-track em { margin-left: 6px; color: #9fc1ff; font-style: normal; }
.aoa-tick-track u { margin-left: 6px; color: #c9d3ea; text-decoration: none; }
.aoa-tick-track u.ok { color: #7ee2a0; }
.aoa-tick-track u.warn { color: #ff8a8a; }

@property --aoa-a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.aoa-gate .aoa-card {
  position: relative;
  border-color: transparent;
  background: rgba(8, 12, 32, 0.86);
  box-shadow: 0 0 60px rgba(255, 45, 61, 0.16), 0 0 90px rgba(45, 103, 182, 0.2);
}

.aoa-gate .aoa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--aoa-a), #ff2d3d, #2d67b6, #7fb2ff, #ff2d3d);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: aoa-spin 6s linear infinite;
  pointer-events: none;
}

.aoa-gate .aoa-card .film-btn {
  border: 0;
  background: linear-gradient(90deg, #d0121f, #2d67b6);
  background-size: 200% 100%;
  color: #fff;
  transition: background-position 0.4s;
}

.aoa-gate .aoa-card .film-btn:hover { background-position: 100% 0; }
.aoa-gate .aoa-tabs button.is-on { background: linear-gradient(90deg, #fff, #e8efff); }

@keyframes aoa-shine {
  0%, 15% { background-position: 100% 0; }
  60%, 100% { background-position: 0% 0; }
}

@keyframes aoa-tick {
  to { transform: translateX(-50%); }
}

@keyframes aoa-spin {
  to { --aoa-a: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .aoa-ping,
  .aoa-ping::before,
  .aoa-ping::after,
  .aoa-arcs path,
  .aoa-gate .aoa-kicker::before,
  .aoa-gate .aoa-copy h1,
  .aoa-lv i,
  .aoa-tick-track,
  .aoa-gate .aoa-card::before { animation: none; }
  .aoa-planes { display: none; }
}

.aoa-kicker {
  margin: 0 0 12px;
  color: rgba(243, 239, 230, 0.5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aoa-copy h1 {
  margin: 0;
  color: #fff;
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.aoa-copy p {
  max-width: 38ch;
  margin: 22px 0 0;
  color: rgba(243, 239, 230, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

.aoa-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(243, 239, 230, 0.78);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aoa-card {
  padding: 28px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(16, 16, 20, 0.86);
  backdrop-filter: blur(16px);
}

.aoa-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.aoa-tabs button {
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(243, 239, 230, 0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.aoa-tabs button.is-on {
  background: #fff;
  color: #111;
}

body[data-page="aoa"] .form input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.aoa-deck {
  width: min(1280px, calc(100% - 32px));
  margin: 18px auto 48px;
}

.aoa-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.aoa-user {
  margin: 4px 0 0;
  color: #fff;
  font-size: 0.95rem;
}

.aoa-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aoa-live {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #7dffb0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.aoa-live.is-hot {
  color: #ff6b7a;
  border-color: rgba(255, 107, 122, 0.4);
}

.aoa-live.is-warn {
  color: #f0c14a;
  border-color: rgba(240, 193, 74, 0.45);
}

.aoa-app {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  min-height: min(68vh, 720px);
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a0e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.aoa-stage {
  position: relative;
  min-height: 420px;
}

.aoa-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.aoa-stall {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 999px;
  background: #d4007a;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.aoa-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px 18px;
  background: #101014;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.aoa-readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aoa-readouts div {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.aoa-readouts span {
  display: block;
  color: rgba(243, 239, 230, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.aoa-readouts strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}

.aoa-tape {
  position: relative;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #6b1020 0%, #c48a1a 42%, #1f7a46 70%, #163528 100%);
}

.aoa-tape-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
}

.aoa-tape b {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 12px #fff;
}

.aoa-coach {
  margin: 0;
  color: rgba(243, 239, 230, 0.8);
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 3.2em;
}

.aoa-controls {
  display: grid;
  gap: 12px;
}

.aoa-controls label {
  display: grid;
  gap: 6px;
  color: rgba(243, 239, 230, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aoa-controls input[type="range"] {
  width: 100%;
  accent-color: var(--magenta);
}

.aoa-keys {
  margin: auto 0 0;
  color: rgba(243, 239, 230, 0.38);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.ops-nav button {
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 239, 230, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ops-nav button.is-on {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.ops-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 16px;
  align-items: start;
}

.ops-form,
.ops-out {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #121218;
}

.ops-form label,
.ops-fleet label {
  display: grid;
  gap: 6px;
}

.ops-form span,
.ops-label,
.ops-fleet span {
  color: rgba(243, 239, 230, 0.48);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ops-label {
  margin: 6px 0 0;
}

.ops-form input,
.ops-form select,
.ops-fleet input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
}

.ops-pair,
.ops-fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ops-card {
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.ops-card h2,
.ops-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.ops-card p,
.ops-card li {
  margin: 0;
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ops-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ops-metrics div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.ops-metrics span {
  display: block;
  color: rgba(243, 239, 230, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ops-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 500;
}

.ops-go { color: #7dffb0; }
.ops-caution { color: #f0c14a; }
.ops-nogo { color: #ff8b96; }

.ops-route {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ops-route.is-on {
  border-color: rgba(255, 255, 255, 0.4);
}

.ops-route b {
  display: block;
  font-weight: 500;
}

.ops-route span,
.ops-note {
  color: rgba(243, 239, 230, 0.5);
  font-size: 0.82rem;
}

.ops-note {
  margin: 0;
}

.ops-x {
  border: 0;
  background: none;
  color: rgba(243, 239, 230, 0.55);
  cursor: pointer;
}

@media (max-width: 900px) {
  .aoa-gate,
  .aoa-app,
  .ops-grid,
  .ops-metrics {
    grid-template-columns: 1fr;
  }

  .aoa-stage {
    min-height: 320px;
  }
}

/* ---------- Chat ---------- */

.drone-chat {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 45;
}

.drone-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.drone-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
}

.drone-chat-panel {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 20px;
  background: #111114;
  color: #f3efe6;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.drone-chat-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drone-chat-close {
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.drone-chat-log {
  height: 260px;
  overflow: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.chat-row p {
  margin: 0;
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-row.is-user p {
  margin-left: auto;
  background: var(--magenta);
  color: #fff;
}

.drone-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
}

.drone-chat-chips button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: none;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
}

.drone-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drone-chat-form input {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px 14px;
}

body[data-page="aoa"].aol-on {
  background: #160e22;
  color: #f6f0ff;
  overflow: hidden;
}

body.aol-on #site-header,
body.aol-on #site-footer,
body.aol-on .wa-fab,
body.aol-on .drone-chat,
body.aol-on .cursor-trail,
body.aol-on .cursor-plane,
body.aol-on .promo {
  display: none !important;
}

.aol {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: auto;
  margin: 0;
  background: #1b1228;
  color: #1c1230;
}

.aol-top {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0;
  padding: 0 16px;
  background: #120c1c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  font-size: 13px;
}

.aol-mark {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.aol-top button,
.aol-rail > button,
.aol-week,
.aol-go {
  border: 0;
  border-radius: 8px;
  background: #6d28a8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.aol-top button {
  margin-left: auto;
  height: 30px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.aol-top button:hover,
.aol-go:hover,
.aol-week:hover,
.aol-rail > button:hover {
  background: #7c3aed;
}

.aol-live {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.aol-live.is-go { color: #b6ffcf; }
.aol-live.is-warn { color: #ffe08a; }
.aol-live.is-hot { color: #ffb3bc; }

.aol-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 380px;
  gap: 0;
}

.aol-nav {
  padding: 10px 8px;
  background: #160e22;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: auto;
}

.aol-nav button {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 2px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.aol-nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.aol-nav button.is-on {
  background: #fff;
  color: #2a1248;
}

.aol-stage {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.aol-dock {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f4f0f8;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.aol-dock-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.aol-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  min-height: 0;
  margin: 0;
  padding: 0 14px;
  overflow: hidden;
  background: #241433;
}

.aol-banner img { display: none; }

#aol-brand {
  margin: 0;
  color: #f3f7ff;
  font-family: "Inter Tight", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

#aol-sub {
  margin: 4px 0 0;
  color: rgba(243, 247, 255, 0.75);
  font-size: 13px;
}

.home-dash {
  display: grid;
  gap: 10px;
}

.home-kpis,
.home-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kpi,
.home-facts div,
.home-status li {
  background: #fff;
  border: 1px solid #eadcf5;
  border-radius: 12px;
}

.kpi {
  padding: 12px 12px 10px;
}

.kpi span,
.home-facts span {
  display: block;
  color: #6d6480;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.kpi.is-up strong { color: #0d8a3a; }
.kpi.is-down strong { color: #c01222; }

.home-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.home-facts div {
  padding: 8px 4px;
  text-align: center;
}

.home-facts b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.home-status {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-status li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.aol-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.aol-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.aol-table th {
  background: #4a148c;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 5px 8px;
}

.aol-table td {
  padding: 4px 8px;
  border-bottom: 1px solid #eadcf8;
  color: #16324a;
}

.aol-table tr:nth-child(even) td {
  background: #f7f0fc;
}

.aol-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.aol-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d10a0a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.aol-dot.ok { background: #19b33a; }

.aol-rail input,
.aol-panel input,
.aol-panel select,
.mkt input,
.ac-card input,
.aol-staff input {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #c4a3de;
  border-radius: 4px;
  background: #fff;
  color: #16324a;
  font: inherit;
}

.aol-rail {
  display: grid;
  gap: 8px;
  max-height: 46%;
  overflow: auto;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid #eadcf5;
}

.aol-week,
.aol-rail > button,
.aol-go {
  height: 34px;
  padding: 0 10px;
}

.aol-box {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
}

.aol-box p {
  margin: 0 0 4px;
  color: #6d6480;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.aol-box button,
.route-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0 0 4px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #16324a;
  text-align: left;
  cursor: pointer;
}

.aol-clock {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.aol-map-wrap {
  height: 290px;
  margin-top: 8px;
  border: 1px solid #8aa4bc;
  background: #d5e6c4;
}

#aol-map {
  height: 100%;
  background: #c5d6a8 url("../assets/world-land.svg") center / 100% 100% no-repeat;
}

.aol [hidden] {
  display: none !important;
}

.aol-panel,
.aol-block {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.45);
}

.aol-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.aol-panel label,
.aol-staff label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.pane-card {
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  color: #1c1230;
}

.pane-card h2 {
  margin: 0 0 10px;
  color: #4a148c;
  font-size: 15px;
}

.pane-card p { margin: 8px 0 0; }

.ac-preview {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 8px;
  align-items: center;
}

.ac-preview img {
  width: 168px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #efe4f8;
}

.aol .ops-card,
.aol .ops-route {
  background: #fff;
  color: #1c1230;
  border-color: #eadcf8;
}

.aol .ops-card li,
.aol .ops-card p,
.aol .ops-note,
.aol .ops-route span {
  color: #3c3350;
}

.ac-make {
  margin: 8px 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #f6f0ff;
}

.ac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}

.ac-card {
  display: grid;
  gap: 2px;
  padding: 0 0 6px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  color: #16324a;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.ac-card.is-on { border-color: #6b21a8; }

.ac-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  background: #efe4f8;
}

.ac-card b,
.ac-card small {
  padding: 0 6px;
}

.ac-card small {
  color: #5d7590;
  font-size: 11px;
}

.ac-card input { margin: 4px 6px 0; width: calc(100% - 12px); }

.aol-credit {
  margin: 6px 0 0;
  color: #3e5870;
  font-size: 11px;
}

.mkt-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mkt {
  padding: 8px 8px 10px;
  text-align: center;
}

.mkt h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.mkt-premium { background: #fff59a; }
.mkt-economy { background: #c8f1ff; }
.mkt-vacation { background: #c8f7a4; }
.mkt-cargo { background: #ececec; }

.mkt label {
  display: block;
  margin: 6px 0 2px;
  font-size: 13px;
  font-weight: 700;
}

.mkt input[readonly] { background: #ededed; }
.mkt-opt { margin-top: 8px; font-weight: 700; }
.mkt-row {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 6px;
  align-items: center;
  margin-top: 3px;
  font-size: 12px;
  text-align: left;
}

.mkt-sum { margin: 6px 0 0; font-size: 11px; }

.aol-decision h2 { margin: 0 0 6px; }
.aol-decision.go h2 { color: #0d8a3a; }
.aol-decision.caution h2 { color: #a07400; }
.aol-decision.nogo h2 { color: #c01222; }

.aol-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.aol-metrics div {
  padding: 8px;
  background: #fff;
}

.aol-metrics span {
  display: block;
  color: #5d7590;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.stage-kpi {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.stage-kpi span {
  display: block;
  color: #6d6480;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-kpi strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stage-kpi.is-up strong { color: #0d8a3a; }
.stage-kpi.is-down strong { color: #c01222; }

.aol-dot.mid { background: #e0a100; }

.home-chart { display: block; width: 100%; height: 96px; }

.rivals { display: grid; gap: 5px; margin-top: 8px; }

.rival {
  display: grid;
  grid-template-columns: 84px 1fr 36px;
  gap: 6px;
  align-items: center;
  font-size: 12px;
}

.rival i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: #ddd4ea;
}

.rival.ours i { background: #6d28a8; }

.tips,
.office-list { display: grid; gap: 6px; }

.tip {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #eadcf5;
  border-radius: 10px;
  background: #fff;
  color: #1c1230;
  text-align: left;
  cursor: pointer;
}

.tip b { font-size: 13px; }

.tip span {
  color: #5c546c;
  font-size: 12px;
  font-weight: 400;
}

.tip:disabled { opacity: 0.6; cursor: default; }

.aol-pin.is-hub span {
  background: #4a148c;
  color: #fff;
}

.aol-jet {
  background: transparent;
  border: 0;
}

.aol-jet span {
  display: block;
  color: #4a148c;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
}

.aol-map-wrap {
  flex: 1;
  height: auto;
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

#aol-map,
.aol .leaflet-container {
  width: 100%;
  height: 100%;
  background: #e7e2d8 url("../assets/world-land.svg") center / 100% 100% no-repeat;
}

.aol-dock .mkt-board,
.aol-dock .ac-grid {
  grid-template-columns: 1fr 1fr;
}

.aol-pin {
  background: transparent;
  border: 0;
}

.aol-pin span {
  display: block;
  height: 18px;
  border: 1.5px solid #4a148c;
  border-radius: 999px;
  background: #fff;
  color: #2a1248;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(42, 18, 72, 0.25);
}

@media (max-width: 980px) {
  body.aol-on { overflow: auto; }

  .aol {
    position: static;
    min-height: 100vh;
  }

  .aol-shell,
  .aol-tables,
  .mkt-board,
  .aol-metrics,
  .aol-dock .mkt-board,
  .aol-dock .ac-grid {
    grid-template-columns: 1fr;
  }

  .aol-stage { height: auto; min-height: 70vh; }

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

  .aol-nav {
    display: flex;
    gap: 4px;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .aol-nav button {
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 12px;
  }

  .aol-rail { max-height: none; }
}

/* AoAsim program shell */
.aol-top { gap: 10px; }

.aol-top #a-name {
  width: 180px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.aol-top #a-name::placeholder { color: rgba(255, 255, 255, 0.45); }

.aol-top .aol-clock {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.aol-top .aol-week {
  margin-left: 0;
  height: 30px;
  padding: 0 14px;
  border: 0;
  background: #7c3aed;
  font-weight: 600;
}

.aol-top .aol-user {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  white-space: nowrap;
}

.aol-top .aol-out { margin-left: 0; }

.aol-banner {
  height: 44px;
  flex: 0 0 44px;
}

#aol-brand { font-size: 15px; letter-spacing: 0.06em; }
#aol-sub { margin: 0 0 0 auto; font-size: 12px; }

.aol-map-wrap {
  position: relative;
  flex: 0 0 clamp(220px, 32vh, 320px);
}

.aol-stage {
  gap: 8px;
  overflow-y: auto;
}

.stage-board { flex: 0 0 auto; }

.stage-note {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e9e1f5;
  font-size: 13px;
}

.stage-note p { margin: 0; }
.stage-note .is-flash { color: #e0c3ff !important; }

.stage-home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 0 0 auto;
}

.stage-home .pane-card {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
}

.stage-home .pane-card h2 { margin: 0 0 8px; font-size: 14px; }
.stage-home .sh-routes { grid-column: 1 / -1; }
.stage-home .home-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stage-home .aol-table { width: 100%; font-size: 13px; }
.stage-home .home-chart { height: 120px; }

.map-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 500;
  display: flex;
  gap: 6px;
}

.map-tools button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d9cdea;
  border-radius: 8px;
  background: #fff;
  color: #2a1248;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(42, 18, 72, 0.12);
}

.map-tools button.is-off {
  background: #ece6f4;
  color: #8a7fa0;
}

.aol .leaflet-tile-container img {
  width: 260px !important;
  height: 260px !important;
  margin: -2px 0 0 -2px;
  clip-path: inset(2px);
}

.stage-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 0 0 auto;
  margin-top: 8px;
}

.stage-strip .aol-box {
  max-height: 112px;
  overflow: auto;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.stage-strip .aol-box > div p { margin: 0; color: #1c1230; font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; }

.stage-strip .ops-route {
  padding: 5px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
}

.is-flash { color: #6d28a8 !important; }

.starter {
  border: 2px solid #7c3aed;
  background: #fbf8ff;
}

.starter select,
.aol-staff select,
.pane-card select,
.pane-card input[type="number"] {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #c4a3de;
  border-radius: 6px;
  background: #fff;
  color: #1c1230;
  font: inherit;
}

.starter .aol-go { width: 100%; margin-top: 10px; }

.pv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 4px 0 8px;
}

.pv div {
  padding: 7px 8px;
  border: 1px solid #eadcf5;
  border-radius: 10px;
  background: #fff;
}

.pv span {
  display: block;
  color: #6d6480;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pv b { font-size: 13px; }

.pv-warn {
  margin: 4px 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff4e5;
  color: #8a4b00;
  font-size: 12px;
}

.aol-table .pos { color: #0d8a3a; font-weight: 600; }
.aol-table .neg { color: #c01222; }
.aol-table.pl .pl-total td {
  border-top: 2px solid #4a148c;
  font-weight: 700;
}

.aol-table.fares input { height: 28px; padding: 0 6px; }
.aol-table.fares td { vertical-align: middle; }
.aol-table.fares small { color: #6d6480; }

.ac-card {
  padding-bottom: 8px;
  border: 1px solid #eadcf5;
}

.ac-card.is-on { border: 2px solid #6b21a8; }

.ac-count {
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 12px;
}

.ac-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 2px 6px;
}

.ac-btns button {
  height: 26px;
  padding: 0;
  border: 1px solid #d9cdea;
  border-radius: 6px;
  background: #fff;
  color: #2a1248;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.ac-btns button:first-child,
.ac-btns button:nth-child(3) {
  background: #2d67b6;
  border-color: #2d67b6;
  color: #fff;
}

.ac-btns button:disabled { opacity: 0.4; cursor: default; }

.fleet-head p { margin: 4px 0 0; }

.aol[hidden] { display: none !important; }

.aoa-show {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  cursor: pointer;
}

.aoa-show input { width: auto; margin: 0; }

.aoa-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

/* AoAsim dashboard board + full-page modules */
.aol { background: #0c1734; }
.aol-top { background: #0a1129; }
.aol-shell { grid-template-columns: 176px minmax(0, 1fr); }

.aol-nav {
  padding: 12px 10px;
  background: #0f1d40;
}

.aol-nav button {
  height: 36px;
  margin: 0 0 7px;
  border: 1px solid #5d9be3;
  border-radius: 6px;
  background: linear-gradient(#4b8fdc, #2d67b6);
  color: #fff;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 0 #1b3f78;
}

.aol-nav button:hover {
  background: linear-gradient(#5a9be6, #3672c2);
  color: #fff;
}

.aol-nav button.is-on {
  border-color: #f0d98a;
  background: linear-gradient(#f6e3a2, #e3c66c);
  color: #0b1150;
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  flex: 0 0 auto;
  align-items: start;
}

.board-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #3a4a9a;
  border-radius: 6px;
  background: #0b1150;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.board-table th,
.board-table td {
  padding: 4px 8px;
  border: 1px solid #26357f;
  color: #f0d98a;
  white-space: nowrap;
}

.board-table th {
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
}

.board-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.board-table td.pos { color: #7ee2a0; }
.board-table td.neg { color: #ff8a8a; }
.board-table td.is-lock::after { content: " 🔒"; }

.board-table.status td { width: 44px; text-align: center; }

.board-table tr[data-go] { cursor: pointer; }
.board-table tr[data-go]:hover th,
.board-table tr[data-go]:hover td { background: #18237a; }

.board-name {
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(#4b8fdc, #2d67b6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.fin-act { display: inline-flex; gap: 3px; margin-right: 8px; }

.fin-act button {
  height: 18px;
  padding: 0 6px;
  border: 1px solid #5d9be3;
  border-radius: 4px;
  background: #1c3d88;
  color: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.board-ctl { background: #3b4157; }

.ctl-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.ctl-head b {
  padding: 2px 8px;
  border-radius: 4px;
  background: #0b1150;
  color: #f0d98a;
  font-size: 12px;
}

.ctl-head button {
  margin-left: auto;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #8b93ad;
  border-radius: 4px;
  background: #2a3046;
  color: #fff;
  font: inherit;
  font-size: 11px;
  text-transform: none;
  cursor: pointer;
}

.ctl-head button.is-live {
  border-color: #7ee2a0;
  background: #155c34;
}

.ctl-cap {
  margin: 0;
  padding: 3px 8px;
  background: #d8dce6;
  color: #1b2238;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.ctl-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 4px 10px;
  border: 0;
  border-bottom: 1px solid #26357f;
  background: #0b1150;
  color: #f0d98a;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.ctl-row:hover { background: #18237a; }
.ctl-row.is-off { color: #8c93b8; }

.aol-map-wrap { border-color: #3a4a9a; border-radius: 6px; }

.stage-home tr[data-go] { cursor: pointer; }
.stage-home tr[data-go]:hover td { background: #f3eefb; }

#pane-home { flex: 0 0 auto; }

#pane-home .pro-home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#pane-home .pane-card {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
}

#pane-home .starter { margin-bottom: 8px; }

.aol-dock {
  background: #eef3fa;
  border-left: 0;
}

.aol-dock .aol-banner {
  height: 52px;
  flex: 0 0 52px;
  gap: 14px;
  background: linear-gradient(90deg, #0b1150, #1f4d9e);
}

.aol-dock #aol-brand { font-size: 18px; letter-spacing: 0.02em; }

.aol-back {
  height: 30px;
  padding: 0 12px;
  border: 1px solid #5d9be3;
  border-radius: 6px;
  background: #2d67b6;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.aol-dock .aol-dock-body { padding: 18px 22px 32px; }

.aol-dock .aol-dock-body > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.aol-dock .ac-grid,
.aol-dock .mkt-board { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

@media (max-width: 1180px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board-ctl { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .board,
  #pane-home .pro-home { grid-template-columns: 1fr; }
  .aol-nav button { height: 32px; margin: 0; }
}

@media (max-width: 1180px) {
  .aol-top .aol-user,
  .aol-top .aol-clock { display: none; }
  .stage-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .aol-top { flex-wrap: wrap; height: auto; padding: 8px 12px; }
  .aol-top #a-name { width: 130px; }
  .stage-strip, .pv, .stage-home { grid-template-columns: 1fr; }
}

/* AoAsim v2: airline management UI */
.aol-airline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.aol-airline i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.aol-top .aol-week { background: #2d67b6; }
.aol-top .aol-week:hover { background: #3a78cc; }

.aol-nav { display: flex; flex-direction: column; }

.aol-nav button {
  flex: 0 0 auto;
  height: auto;
  min-height: 32px;
  margin-bottom: 5px;
  padding: 5px 6px;
  font-size: 12.5px;
  line-height: 1.2;
}
.aol-nav.is-locked button[data-page] { opacity: 0.45; pointer-events: none; }

.aol-nav .aol-logout {
  margin-top: 10px;
  border-color: #ff8a8a;
  background: linear-gradient(#e04545, #b51d1d);
  box-shadow: 0 2px 0 #6e1010;
}

.aol-nav .aol-logout:hover { background: linear-gradient(#ea5656, #c42626); }

.board-table.status tr[data-act] { cursor: pointer; }
.board-table.status tr[data-act]:hover th,
.board-table.status tr[data-act]:hover td { background: #18237a; }
.board-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ctl-batch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px 8px;
  background: #0b1150;
}

.ctl-batch b {
  padding: 4px 0;
  border: 1px solid #26357f;
  border-radius: 4px;
  color: #f0d98a;
  font-family: var(--mono);
  font-size: 15px;
  text-align: center;
}

.ctl-speed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 8px 6px;
  background: #0b1150;
}

.ctl-speed button {
  height: 24px;
  border: 1px solid #5d6aa8;
  border-radius: 4px;
  background: #1c2a6e;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.ctl-speed button.is-on { border-color: #f0d98a; background: #f0d98a; color: #0b1150; }

.ctl-row b { font-weight: 700; }

.aol-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 2000;
  max-width: min(560px, 92vw);
  padding: 10px 16px;
  border-radius: 8px;
  background: #0b1150;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.aol-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.aol-toast.is-bad { background: #9b1b1b; }

.stage-home .sh-wide { grid-column: 1 / -1; }

.aol .aol-table th { background: #1f3c88; }
.aol .aol-table td { color: #16244a; vertical-align: middle; }
.aol .aol-table tr:nth-child(even) td { background: #f3f6fc; }
.aol .aol-table td:last-child { text-align: left; }
.aol .aol-table small { color: #5d6a85; }
.aol .aol-table tr[data-act] { cursor: pointer; }
.aol .aol-table tr[data-act]:hover td { background: #e7eefb; }
.aol .aol-table tr.is-off td { color: #9aa3b8; }
.aol .aol-table tr.is-bad td { background: #fff1f1; }
.aol .aol-table tr.is-sel td { background: #fff6d6; }
.aol .aol-table input[type="number"],
.aol .aol-table select { width: auto; min-width: 70px; height: 28px; }

.aol .pane-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f3c88;
}

.aol .pane-card h2 small { color: #5d6a85; font-size: 12px; font-weight: 500; }
.aol .pane-card h2 .mini { margin-left: auto; }
.aol .pane-card h3.sub { margin: 14px 0 6px; color: #1f3c88; font-size: 13px; }

.aol .aol-go {
  height: 34px;
  padding: 0 14px;
  border: 1px solid #2d67b6;
  border-radius: 6px;
  background: linear-gradient(#4b8fdc, #2d67b6);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.aol .aol-go:hover { background: linear-gradient(#5a9be6, #3672c2); }
.aol .aol-go.alt { border-color: #b4c3dd; background: #fff; color: #1f3c88; }
.aol .aol-go.danger { border-color: #b51d1d; background: linear-gradient(#e04545, #b51d1d); }
.aol .aol-go:disabled { opacity: 0.45; cursor: default; }

.aol .mini {
  height: 26px;
  padding: 0 9px;
  border: 1px solid #b4c3dd;
  border-radius: 5px;
  background: #fff;
  color: #1f3c88;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.aol .mini:hover { background: #eef3fb; }
.aol .mini.danger { border-color: #f0b4b4; color: #b51d1d; }

.aol .linkish {
  padding: 0;
  border: 0;
  background: none;
  color: #1f4d9e;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.aol .linkish:hover { text-decoration: underline; }

.row-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: #e8ecf5;
  color: #44506b;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tag.ok { background: #dcf5e4; color: #0d6a2e; }
.tag.bad { background: #fde2e2; color: #a01616; }

.pv-ok {
  margin: 4px 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #e6f6ec;
  color: #0d6a2e;
  font-size: 12px;
}

.pv.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 2px solid #1f3c88;
}

.pg-tabs button {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #b4c3dd;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fff;
  color: #1f3c88;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pg-tabs button.is-on { border-color: #1f3c88; background: #1f3c88; color: #fff; }
.pg-tabs.small { margin-bottom: 8px; border-bottom-width: 1px; }
.pg-tabs.small button { height: 28px; padding: 0 10px; font-size: 12px; }

.pg-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  align-items: end;
}

.pg-form.row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pg-form .rt-preview { grid-column: 1 / -1; }

.pg-form label,
.fld,
.acq label,
.fl-form label {
  display: grid;
  gap: 4px;
  color: #33405c;
  font-size: 12px;
  font-weight: 600;
}

.aol .pg-form input,
.aol .pg-form select,
.aol .fld input,
.aol .acq select,
.aol .fl-form select,
.aol .fl-form input[type="time"],
.aol .apt-search,
.wizard input {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #b4c3dd;
  border-radius: 6px;
  background: #fff;
  color: #16244a;
  font: inherit;
  font-size: 13px;
}

.aol .fld input[type="range"] { padding: 0; border: 0; }
.aol input[type="color"] { width: 54px; padding: 2px; }
.fld.inline { display: inline-grid; grid-template-columns: auto 110px; align-items: center; gap: 8px; }
.fld b { font-size: 13px; }

.pg-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pg-grid2 > .pane-card { margin: 0; }

.meter {
  height: 10px;
  margin: 6px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #e3e8f2;
}

.meter i { display: block; height: 100%; background: linear-gradient(90deg, #2d67b6, #19b33a); }
.meter.small { width: 140px; height: 8px; margin: 0; }

.st-change { display: flex; gap: 4px; align-items: center; }
.aol .st-change input { width: 64px; min-width: 0; }
.st-change button { height: 28px; padding: 0 8px; border: 1px solid #b4c3dd; border-radius: 5px; background: #fff; color: #1f3c88; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }

/* wizard */
.wizard {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 30px auto;
  padding: 28px 30px;
  border-radius: 12px;
  background: #fff;
}

.wizard h2 { margin: 0 0 8px; color: #0b1150; font-size: 26px; }
.wz-kicker { margin: 0 0 4px; color: #2d67b6; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.wz-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
}

.wz-form label { display: grid; gap: 4px; color: #33405c; font-size: 12px; font-weight: 600; }
.wz-form .aol-go { grid-column: 1 / -1; height: 42px; font-size: 15px; }
.wz-steps { margin: 0; padding-left: 20px; color: #33405c; font-size: 14px; line-height: 1.8; }

.getting-started ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.getting-started li { padding: 6px 10px; border: 1px solid #dfe5f0; border-radius: 8px; font-size: 13px; }
.getting-started li.is-done { background: #e6f6ec; color: #0d6a2e; }

.msg-line { margin: 0 0 4px; font-size: 13px; cursor: pointer; }
.msg-line.is-new b { color: #1f3c88; }
.msg-line.is-new::before { content: "● "; color: #d0121f; }

.chart-key { display: flex; gap: 14px; margin: 4px 0 0; font-size: 12px; }
.chart-key span::before { content: ""; display: inline-block; width: 10px; height: 3px; margin-right: 5px; vertical-align: middle; }
.k-rev::before { background: #2d67b6; }
.k-cost::before { background: #c01222; }
.k-profit::before { background: #0d8a3a; }
.home-chart.small { height: 60px; margin: 8px 0; }

.tips.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* aircraft pool */
.aol-dock .aol-dock-body > * { max-width: 1280px; }

.pool {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pool-spec,
.pool-list {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.pool-spec { position: sticky; top: 0; }
.pool-spec h2,
.pool-list h2 { margin: 0 0 8px; color: #0b1150; font-size: 17px; text-align: center; }
.pool-spec img { width: 100%; height: 130px; margin-bottom: 8px; border-radius: 6px; object-fit: cover; }

.pool-spec dl {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
  font-size: 12.5px;
}

.pool-spec dt,
.pool-spec dd { margin: 0; padding: 4px 6px; border-bottom: 1px solid #eef1f6; }
.pool-spec dt { color: #44506b; }
.pool-spec dd { color: #0b1150; font-weight: 600; text-align: right; }

.acq { display: grid; gap: 8px; margin-top: 12px; }
.acq-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.pool-hint { margin: 0 0 8px; color: #b51d1d; font-size: 13px; text-align: center; }
.pool-table td { white-space: nowrap; }

.cfg-chip {
  padding: 3px 8px;
  border: 1px solid #c8d3e6;
  border-radius: 5px;
  background: #fff;
  color: #1f3c88;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.cfg-chip:hover { background: #eef3fb; }
.cfg-chip.is-on { border-color: #e3c66c; background: #f6e3a2; color: #0b1150; font-weight: 700; }

/* scheduling */
.rt-card { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #dfe5f0; border-radius: 8px; background: #fbfcfe; }

.rt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rt-head b { color: #0b1150; font-size: 16px; }
.rt-head span { flex: 1; color: #5d6a85; font-size: 12px; }

.day {
  display: inline-block;
  width: 18px;
  margin-right: 1px;
  border-radius: 3px;
  background: #e8ecf5;
  color: #9aa3b8;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.day.is-on { background: #1f3c88; color: #fff; }

.fl-form {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed #9fb3d6;
  border-radius: 8px;
  background: #fff;
}

.fl-form fieldset {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
}

.fl-form legend { margin-bottom: 4px; color: #33405c; font-size: 12px; font-weight: 600; }
.fl-form .fl-preview,
.fl-form > .aol-go { grid-column: 1 / -1; }

.day-cb { display: inline-flex !important; cursor: pointer; }
.day-cb input { position: absolute; opacity: 0; pointer-events: none; }
.day-cb span { padding: 5px 10px; border: 1px solid #b4c3dd; border-radius: 5px; background: #fff; color: #44506b; }
.day-cb input:checked + span { border-color: #1f3c88; background: #1f3c88; color: #fff; }
.fl-form .quick { display: inline-flex; gap: 4px; margin-left: 8px; }

.gt { display: grid; gap: 4px; }
.gt-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px; align-items: center; }
.gt-name { display: grid; font-size: 12px; }
.gt-name small { color: #5d6a85; }

.gt-bar {
  position: relative;
  height: 30px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #f3f6fc 0 calc(100% / 12 - 1px), #dfe5f0 calc(100% / 12 - 1px) calc(100% / 12));
}

.gt-bar span {
  position: absolute;
  top: 3px;
  bottom: 3px;
  overflow: hidden;
  border-radius: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
}

.gt-out { background: #2d67b6; }
.gt-back { background: #198a4a; }
.gt-turn { background: #b8c1d4; }
.gt-bar span.is-bad { background: #c01222; }
.gt-axis .gt-bar { height: 16px; background: none; }
.gt-axis em { position: absolute; transform: translateX(-50%); color: #5d6a85; font-size: 10px; font-style: normal; }

.rd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.rd-spec h3 { margin: 0 0 4px; color: #0b1150; font-size: 14px; }
.rd-spec dl { display: grid; grid-template-columns: 1fr auto; margin: 0; font-size: 12.5px; }
.rd-spec dt,
.rd-spec dd { margin: 0; padding: 3px 6px; border-bottom: 1px solid #eef1f6; }
.rd-spec dd { font-weight: 600; text-align: right; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.aol .rd-cost th { font-size: 11px; white-space: normal; vertical-align: bottom; }
.aol .rd-cost td { white-space: nowrap; font-size: 12px; }
.rd-apt { margin-top: 6px; }

/* revenue management */
.rm-card .aol-table input { width: 90px; }
.rm-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; font-size: 13px; }

/* marketing */
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mkt-grid .pane-card { margin: 0; }
.mix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.mix label { display: grid; grid-template-columns: 1fr 58px; gap: 4px; align-items: center; font-size: 12px; }
.aol .mix input { height: 28px; }

.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ad-col h2 { margin: 0 0 8px; color: #0b1150; font-size: 18px; text-align: center; }

.ad-card {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(11, 17, 80, 0.08);
}

.ad-card h3 { margin: 0 0 8px; color: #0b1150; font-size: 14px; }
.ad-input { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; align-items: center; }
.aol .ad-input input { height: 32px; padding: 0 8px; border: 1px solid #b4c3dd; border-radius: 6px; font: inherit; }
.ad-input em { color: #5d6a85; font-size: 12px; font-style: normal; }
.ad-ref { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef1f6; text-align: center; }
.ad-ref small { display: block; color: #5d6a85; font-size: 11px; }
.ad-ref b { color: #0b1150; font-size: 15px; }

/* communications */
.inbox-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; min-height: 320px; }
.inbox ul { max-height: 60vh; overflow: auto; margin: 0; padding: 0; list-style: none; border-right: 1px solid #e3e8f2; }
.inbox li { display: grid; padding: 8px 10px; border-bottom: 1px solid #eef1f6; font-size: 13px; cursor: pointer; }
.inbox li small { color: #5d6a85; }
.inbox li.is-new b::before { content: "● "; color: #d0121f; }
.inbox li.is-on { background: #e7eefb; }
.inbox article h2 { margin: 4px 0 8px; }
.inbox article p { color: #2b3550; font-size: 14px; line-height: 1.6; }

.file-btn { position: relative; display: inline-flex; align-items: center; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.danger-zone { border: 1px solid #f0b4b4; }

.aol .ops-card { margin-top: 10px; padding: 12px; border: 1px solid #dfe5f0; border-radius: 8px; }
.aol .ops-card .ops-go { color: #0d8a3a; }
.aol .ops-card .ops-caution { color: #a07400; }
.aol .ops-card .ops-nogo { color: #c01222; }

.aol-jet span { color: #d0121f; text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.aol-pin.is-hub span { background: #0b1150; border-color: #0b1150; }
.aol-pin span { border-color: #0b1150; color: #0b1150; }

@media (max-width: 1180px) {
  .pool { grid-template-columns: 1fr; }
  .pool-spec { position: static; }
  .getting-started ol { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .pg-grid2,
  .rd-specs,
  .inbox,
  .wz-form,
  .fl-form,
  .getting-started ol { grid-template-columns: 1fr; }
  .pv.wide { grid-template-columns: 1fr 1fr; }
  .aol-nav { flex-direction: row; }
  .aol-nav .aol-logout { margin-top: 0; }
}

/* AoAsim deck: live touches */
.aol-top {
  position: relative;
  background: linear-gradient(90deg, #0a1129, #121c48 50%, #0a1129);
}

.aol-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e0303b 30%, #5d9be3 70%, transparent);
  background-size: 200% 100%;
  animation: aol-sweep 6s linear infinite;
}

.aol-mark {
  background: linear-gradient(100deg, #fff 35%, #ff6b74 48%, #8fc0ff 56%, #fff 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aoa-shine 5s ease-in-out infinite;
}

.aol-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #b9c3e6;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aol-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8892b0;
}

.aol-live.is-on {
  border-color: rgba(224, 48, 59, 0.6);
  color: #fff;
  background: rgba(224, 48, 59, 0.16);
}

.aol-live.is-on::before {
  background: #ff3b47;
  box-shadow: 0 0 8px #ff3b47;
  animation: aoa-blink 1s ease-in-out infinite;
}

.aol-top .aol-week {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #c8102e, #2d67b6);
}

.aol-top .aol-week::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: aol-gleam 3.5s ease-in-out infinite;
}

.aol-top .aol-week:hover { background: linear-gradient(90deg, #e0213f, #3a78cc); }

.aol-fids {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  overflow: hidden;
  border-bottom: 1px solid #26357f;
  background: #070c20;
  font-family: var(--mono);
  font-size: 12px;
}

.aol-fids[hidden] { display: none; }

.aol-fids-lv {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 12px;
  background: #c8102e;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aol-fids-lv i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: aoa-blink 1.2s ease-in-out infinite;
}

.aol-tick {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.aol-tick-track {
  display: flex;
  width: max-content;
  animation: aoa-tick calc(var(--n, 6) * 7s) linear infinite;
}

.aol-fids:hover .aol-tick-track { animation-play-state: paused; }

.aol-fl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 22px 6px 0;
  color: #f0d98a;
  white-space: nowrap;
}

.aol-fl b { color: #fff; }
.aol-fl em { color: #8fc0ff; font-style: normal; }
.aol-fl small { color: #6c7aa8; font-size: 11px; }

.aol-fl i {
  padding: 1px 7px;
  border-radius: 3px;
  background: #1c2a6e;
  color: #b9c3e6;
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aol-fl.ok i { background: #154a2a; color: #7ee2a0; }
.aol-fl.board i { background: #19b33a; color: #fff; animation: aoa-blink 1s ease-in-out infinite; }
.aol-fl.air i { background: #2d67b6; color: #fff; }
.aol-fl.bad i { background: #9b1b1b; color: #fff; }

.aol-nav button {
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.aol-nav button:hover {
  transform: translateX(3px);
  filter: brightness(1.08);
}

.aol-nav button.is-on {
  box-shadow: 0 2px 0 #a8892e, 0 0 14px rgba(246, 227, 162, 0.45);
}

.board-panel {
  position: relative;
  box-shadow: 0 0 0 1px rgba(93, 155, 227, 0.08), 0 8px 22px rgba(0, 0, 0, 0.25);
}

.board-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(143, 192, 255, 0.7), transparent);
  background-size: 200% 100%;
  animation: aol-sweep 5s linear infinite;
  pointer-events: none;
}

.board-table td.is-flash { animation: aol-flash 1.4s ease-out; }

.aol-dot { box-shadow: 0 0 6px rgba(209, 10, 10, 0.8); animation: aoa-blink 1.1s ease-in-out infinite; }
.aol-dot.mid { box-shadow: 0 0 6px rgba(224, 161, 0, 0.7); animation: none; }
.aol-dot.ok { box-shadow: 0 0 6px rgba(25, 179, 58, 0.75); animation: none; }

.ctl-batch b { text-shadow: 0 0 8px rgba(240, 217, 138, 0.45); transition: border-color 0.3s, box-shadow 0.3s; }

.board-ctl.is-running .ctl-batch b {
  border-color: #c8102e;
  box-shadow: inset 0 0 10px rgba(200, 16, 46, 0.35);
  animation: aol-glow 2s ease-in-out infinite;
}

.aol-map-wrap {
  position: relative;
  box-shadow: 0 0 0 1px rgba(93, 155, 227, 0.25), 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(45, 103, 182, 0.18);
}

.aol-flow { animation: aol-flow 1.1s linear infinite; }

.aol-pin.is-hub { overflow: visible; }

.aol-pin.is-hub span { position: relative; z-index: 1; box-shadow: 0 0 10px rgba(200, 16, 46, 0.7); }

.aol-pin.is-hub u {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid #d0121f;
  border-radius: 50%;
  animation: aoa-ring 2.4s ease-out infinite;
  pointer-events: none;
}

.aol-pin.is-hub u + u { animation-delay: 1.2s; }

.aol-jet span {
  filter: drop-shadow(0 0 3px rgba(208, 18, 31, 0.8));
}

.stage-home.is-enter > *,
.aol-dock-body.is-enter > * {
  animation: aol-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.stage-home.is-enter > :nth-child(2),
.aol-dock-body.is-enter > :nth-child(2) { animation-delay: 0.06s; }
.stage-home.is-enter > :nth-child(3),
.aol-dock-body.is-enter > :nth-child(3) { animation-delay: 0.12s; }
.stage-home.is-enter > :nth-child(n + 4),
.aol-dock-body.is-enter > :nth-child(n + 4) { animation-delay: 0.18s; }

.aol-toast {
  border-left: 4px solid #19b33a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(45, 103, 182, 0.35);
}

.aol-toast.is-bad { border-left-color: #ff8a8a; }

.apt-bar { display: flex; gap: 8px; align-items: center; }
.apt-bar .apt-search { flex: 1; }
.apt-bar select { height: 36px; padding: 0 8px; border: 1px solid #b4c3dd; border-radius: 6px; background: #fff; color: #16244a; font: inherit; }
.apt-count { margin: 8px 0 6px; color: #5d6a85; font-size: 12px; }

@keyframes aol-sweep {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@keyframes aol-gleam {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes aol-flash {
  0% { background: rgba(126, 226, 160, 0.45); color: #fff; }
  100% { background: transparent; }
}

@keyframes aol-glow {
  0%, 100% { box-shadow: inset 0 0 6px rgba(200, 16, 46, 0.25); }
  50% { box-shadow: inset 0 0 14px rgba(200, 16, 46, 0.55), 0 0 8px rgba(200, 16, 46, 0.35); }
}

@keyframes aol-flow {
  to { stroke-dashoffset: -32; }
}

@keyframes aol-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aol-top::after,
  .aol-mark,
  .aol-live.is-on::before,
  .aol-top .aol-week::after,
  .aol-fids-lv i,
  .aol-tick-track,
  .aol-fl.board i,
  .board-panel::before,
  .board-table td.is-flash,
  .aol-dot,
  .board-ctl.is-running .ctl-batch b,
  .aol-flow,
  .aol-pin.is-hub u,
  .stage-home.is-enter > *,
  .aol-dock-body.is-enter > * { animation: none; }
  .aol-tick { overflow-x: auto; }
}

/* ---------- Home: lower sections ---------- */

.prog-card {
  position: relative;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
}

.prog-card .svc-media {
  position: relative;
}

.prog-card .svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 14, 0) 42%, rgba(10, 8, 14, 0.82) 100%);
  pointer-events: none;
}

.prog-copy {
  position: absolute;
  left: 24px;
  right: 80px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
}

.prog-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.66);
}

.prog-copy h3 {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.prog-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.prog-go {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.prog-card:hover .prog-go {
  border-color: transparent;
  background: var(--yellow);
  color: #15101c;
  transform: scale(1.06);
}

.home-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
  margin-top: 8px;
}

.home-shop-grid .thumb:not(.is-stage) {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20, 16, 28, 0.06);
}

.film-caps.social {
  background: #fff;
  padding-bottom: 96px;
}

.social-bento {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 14px;
}

.social-bento a {
  position: relative;
  aspect-ratio: auto;
  border-radius: 20px;
}

.social-bento .is-lead {
  grid-row: span 2;
}

.social-bento a:last-child {
  grid-column: span 2;
}

.social-bento a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 8, 14, 0.45));
  opacity: 0;
  transition: opacity 0.3s;
}

.social-bento a:hover::after,
.social-bento .is-lead::after {
  opacity: 1;
}

.social-handle {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #15101c;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.rise {
  position: relative;
  overflow: hidden;
  padding: 96px 8vw 40px;
  background:
    radial-gradient(42% 60% at 18% 20%, rgba(212, 0, 122, 0.12), transparent 70%),
    radial-gradient(40% 60% at 85% 30%, rgba(155, 77, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #fbf8fd 0%, #f3edf8 100%);
}

.rise-lead,
.rise-swap {
  color: #1a1024;
}

.rise-swap span {
  background: linear-gradient(90deg, #d4007a, #7a2bd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rise-swap span.is-on {
  transition-delay: 0.22s;
}

.home-game {
  padding: 8px 0 88px;
  background: #f3edf8;
}

.home-game .game.is-compact {
  max-width: 680px;
}

.home-game .game-console {
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(60, 20, 90, 0.35);
}

.home-game .game-mode {
  min-height: 40px;
  padding: 8px 12px;
}

@media (max-width: 1000px) {
  .home-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .film-static .prog-card .svc-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .home-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .social-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .social-bento .is-lead {
    grid-column: span 2;
    grid-row: span 1;
  }

  .rise {
    padding-top: 72px;
  }

  .home-game {
    padding-bottom: 72px;
  }
}
.home-game .game.is-compact .game-stage {
  aspect-ratio: auto;
  max-height: none;
  height: clamp(210px, 26vw, 290px);
}

.home-game .game.is-compact .game-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.home-game .game.is-compact .game-overlay {
  gap: 8px;
  padding: 12px 12px 64px;
}

.home-game .game.is-compact .game-hud {
  padding: 6px 4px 6px 10px;
}

.home-game .game.is-compact .game-stat {
  min-height: 34px;
}

.home-game .game.is-compact .game-hud strong {
  font-size: 1rem;
}

/* ---------- Home: explore rail ---------- */

.explore {
  padding: 72px 0 64px;
  background: #fff;
}

.explore-head,
.svc-show-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.explore-head .eyebrow,
.svc-show-head .eyebrow {
  margin: 0 0 10px;
  color: var(--magenta);
}

.explore-head h2,
.svc-show-head h2 {
  margin: 0;
  color: #161616;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.explore-rail,
.svc-show-rail {
  display: grid;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - 1240px) / 2));
  padding: 4px max(24px, calc((100vw - 1240px) / 2)) 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.explore-rail::-webkit-scrollbar,
.svc-show-rail::-webkit-scrollbar {
  display: none;
}

.explore-rail {
  grid-auto-columns: clamp(230px, 16vw, 280px);
}

.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #f6f3f9;
  color: #161616;
  scroll-snap-align: start;
  box-shadow: 0 1px 0 rgba(20, 16, 28, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}

.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -22px rgba(60, 20, 90, 0.4);
}

.explore-media {
  aspect-ratio: 1;
  overflow: hidden;
}

.explore-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.explore-card.is-photo .explore-media img {
  object-fit: cover;
}

.explore-card.is-product .explore-media {
  display: grid;
  place-items: center;
  background: radial-gradient(70% 60% at 50% 40%, #fff 0%, #efe9f4 100%);
}

.explore-card.is-product .explore-media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.explore-card:hover .explore-media img {
  transform: scale(1.05);
}

.explore-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explore-tag.is-store {
  background: #161616;
}

.explore-copy {
  padding: 16px 56px 18px 18px;
}

.explore-copy h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.explore-copy p {
  margin: 0;
  color: #6b6472;
  font-size: 0.86rem;
}

.explore-go {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #161616;
  transition: background 0.25s, color 0.25s;
}

.explore-card:hover .explore-go {
  background: var(--magenta);
  color: #fff;
}

.explore .rail-nav button,
.svc-show .rail-nav button {
  width: 46px;
  height: 46px;
  border-color: rgba(20, 16, 28, 0.18);
  background: #fff;
  color: #161616;
}

.explore .rail-nav button:hover,
.svc-show .rail-nav button:hover {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

/* ---------- Home: services showcase ---------- */

.svc-show {
  position: relative;
  padding: 80px 0 72px;
  background:
    radial-gradient(40% 50% at 92% 0%, rgba(212, 0, 122, 0.1), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(155, 77, 255, 0.1), transparent 70%),
    #f7f4fa;
}

.svc-show-sub {
  max-width: 52ch;
  margin: 14px 0 0;
  color: #4a4352;
  font-size: 1.02rem;
  line-height: 1.55;
}

.svc-show-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.svc-show-rail {
  grid-auto-columns: clamp(270px, 21vw, 340px);
}

.svc-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  background: #121016;
  color: #fff;
  scroll-snap-align: start;
  isolation: isolate;
  box-shadow: 0 18px 40px -26px rgba(40, 10, 60, 0.6);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}

.svc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(12, 8, 18, 0) 30%, rgba(12, 8, 18, 0.55) 58%, rgba(12, 8, 18, 0.92) 100%);
  transition: opacity 0.4s;
}

.svc-tile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.svc-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -28px rgba(80, 10, 90, 0.65);
}

.svc-tile:hover::before {
  transform: scaleX(1);
}

.svc-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.svc-tile:hover img {
  transform: scale(1.07);
}

.svc-tile-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.svc-tile-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.svc-tile-copy h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.svc-tile-copy p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.svc-tile-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd166;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.svc-tile-more::after {
  content: "→";
  transition: transform 0.25s;
}

.svc-tile:hover .svc-tile-more::after {
  transform: translateX(5px);
}

/* ---------- Home: ConcordStore head ---------- */

.store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.store-mark {
  margin: 0;
  color: #161616;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.store-mark span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 760px) {
  .explore {
    padding: 52px 0 44px;
  }

  .explore-head,
  .svc-show-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .svc-show {
    padding: 56px 0 52px;
  }

  .svc-show-actions {
    width: 100%;
    justify-content: space-between;
  }

  .explore-rail {
    grid-auto-columns: 72vw;
  }

  .svc-show-rail {
    grid-auto-columns: 80vw;
  }

  .explore .rail-nav button,
  .svc-show .rail-nav button {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-card,
  .explore-media img,
  .svc-tile,
  .svc-tile img {
    transition: none;
  }
}

/* ---------- Home: ticker + services map ---------- */

.ops-ticker {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-lv {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--magenta);
  color: #fff;
  font-weight: 600;
}

.ops-lv i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: aoa-blink 1.2s ease-in-out infinite;
}

.ops-tick {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ops-tick-track {
  display: flex;
  width: max-content;
  animation: aoa-tick 46s linear infinite;
}

.ops-tick-track span {
  padding: 12px 22px;
  color: #f3d77a;
  white-space: nowrap;
}

.ops-tick-track span::before {
  content: "✦";
  margin-right: 12px;
  color: #ff5fb0;
}

.svc-intro {
  background: #fff;
  padding-bottom: 56px;
}

.svc-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.svc-intro .ops-stats {
  max-width: 420px;
  margin-bottom: 32px;
}

.ops-kicker {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--magenta);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ops-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  animation: aoa-blink 1.6s ease-in-out infinite;
}

.ops-stats {
  display: flex;
  margin: 0;
  border-top: 1px solid rgba(20, 16, 28, 0.12);
}

.ops-stats div {
  flex: 1;
  padding: 18px 16px 0 0;
}

.ops-stats div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(20, 16, 28, 0.12);
}

.ops-stats dt {
  color: #161616;
  font-family: var(--display);
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ops-stats dd {
  margin: 8px 0 0;
  color: #6b6472;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ops-map {
  position: relative;
  aspect-ratio: 1.9;
}

.ops-map canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .svc-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-tick-track,
  .ops-lv i,
  .ops-kicker::before {
    animation: none;
  }

  .ops-tick {
    overflow-x: auto;
  }
}

.home-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 36px;
  background: rgba(12, 10, 16, 0.88);
  backdrop-filter: blur(12px);
}

.home-ticker .ops-lv,
.home-ticker .ops-tick-track span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

body[data-page="home"] .nav {
  top: 50px;
}
