/* ===== tokens.css ===== */
:root {
  color-scheme: dark;

  --bg: #141619;
  --bg-soft: #181b1f;
  --surface: #1d2025;
  --surface-raised: #23272d;
  --surface-bright: #2a2f36;
  --surface-red: #251c20;

  --text: #f3f4f6;
  --text-soft: #d8dce1;
  --muted: #a9b0b9;
  --muted-2: #7d858f;

  --accent: #c6535b;
  --accent-hover: #db656d;
  --accent-dark: #913c43;
  --accent-soft: rgba(198, 83, 91, .14);

  --success: #78a98a;
  --warning: #d0a35d;
  --danger: #d9676f;

  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);

  --shadow-sm: 0 10px 26px rgba(0, 0, 0, .16);
  --shadow-md: 0 20px 52px rgba(0, 0, 0, .24);
  --shadow-lg: 0 30px 88px rgba(0, 0, 0, .30);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1600px;
  --content: 840px;
  --header-height: 76px;

  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}


/* ===== base.css ===== */
* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 7% 0%, rgba(198, 83, 91, .11), transparent 31rem),
    radial-gradient(circle at 100% 13%, rgba(137, 144, 154, .08), transparent 29rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

::selection {
  color: #fff;
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  color: #111;
  background: #fff;
  border-radius: var(--radius-sm);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 14px;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--muted);
}

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

[hidden] {
  display: none !important;
}


/* ===== layout.css ===== */
.container {
  width: min(calc(100% - 56px), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 56px), 1100px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section-sm {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.section-soft {
  background: rgba(255, 255, 255, .018);
}

.section-red {
  background: linear-gradient(135deg, rgba(198, 83, 91, .09), rgba(255, 255, 255, .01));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.stack {
  display: grid;
  gap: 20px;
}

.hero {
  padding: calc(var(--header-height) + 64px) 0 74px;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(460px, 1.04fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 4.3vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.hero-copy > p {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

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

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28));
  content: "";
}

.page-hero {
  padding-bottom: 62px;
}

.page-hero .hero-layout {
  grid-template-columns: minmax(0, .98fr) minmax(440px, 1.02fr);
}

.page-hero .hero-media,
.page-hero .hero-media img {
  min-height: 430px;
}

.page-hero .hero-copy h1 {
  font-size: clamp(2.55rem, 3.9vw, 4.35rem);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.split-panel-media {
  min-height: 480px;
}

.split-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-panel-copy {
  display: grid;
  align-content: start;
  padding: 48px;
}

.split-panel-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.content-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: start;
}


/* ===== components.css ===== */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  border-bottom-color: var(--line);
  background: rgba(20, 22, 25, .88);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(18px) saturate(120%);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(198, 83, 91, .34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(198,83,91,.24), rgba(255,255,255,.04));
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: .94rem;
  font-weight: 820;
  letter-spacing: .06em;
}

.brand-tag {
  color: var(--muted-2);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 10px 11px;
  border-radius: 9px;
  color: #cbd0d6;
  font-size: .88rem;
  font-weight: 650;
  transition: color .18s ease, background .18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.055);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
}

.header-cta {
  margin-left: 9px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
  content: "";
}

.menu-toggle span {
  margin-block: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-hover), var(--accent-dark));
  box-shadow: 0 10px 25px rgba(198,83,91,.24);
}

.button-primary:hover {
  background: linear-gradient(180deg, #e8757c, #a9444b);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.04);
}

.button-secondary:hover {
  border-color: rgba(198,83,91,.45);
  background: rgba(255,255,255,.075);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text-soft);
}

.button-sm {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: .82rem;
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: .45;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: var(--text-soft);
  font-size: .8rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
  box-shadow: var(--shadow-sm);
}

.card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .2s ease;
  content: "";
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid rgba(198,83,91,.3);
  border-radius: 12px;
  background: var(--accent-soft);
  color: #ef8a91;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--text);
  font-size: .88rem;
  font-weight: 760;
}

.card-link::after {
  margin-left: 8px;
  color: var(--accent-hover);
  content: "→";
}

.card-clickable {
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.card-clickable:hover {
  transform: translateY(-3px);
  border-color: rgba(198,83,91,.34);
  background: linear-gradient(180deg, rgba(198,83,91,.08), rgba(255,255,255,.02));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 820;
  letter-spacing: -.04em;
}

.stat-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
}

.server-status {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, .7fr)) auto;
  margin-top: -34px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(29,32,37,.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.server-status-item {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.server-status-item:last-child {
  display: flex;
  align-items: center;
  border-right: 0;
}

.status-label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-value {
  margin-top: 5px;
  font-weight: 760;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 14px rgba(120,169,138,.55);
}

.status-dot.offline {
  background: var(--danger);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 20px;
}

.project-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198,83,91,.36);
}

.project-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card-body {
  display: grid;
  align-content: start;
  padding: 23px;
}

.project-card-meta,
.tag-list,
.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: .65rem;
}

.tag-accent {
  border-color: rgba(198,83,91,.38);
  background: var(--accent-soft);
  color: #ef8a91;
}

.project-card h3 {
  margin: 15px 0 8px;
  font-size: 1.35rem;
}

.project-card p {
  color: var(--muted);
  font-size: .91rem;
}

.progress {
  width: 100%;
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
}

.progress > span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-hover));
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: .78rem;
}

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

.filter-button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: var(--muted);
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  border-color: rgba(198,83,91,.4);
  background: var(--accent-soft);
  color: #fff;
}

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

.step-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
}

.step-card h3 {
  margin: 22px 0 10px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px 42px;
  overflow: hidden;
  border: 1px solid rgba(198,83,91,.28);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(198,83,91,.15), rgba(255,255,255,.02));
}

.callout h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.callout p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.accordion-trigger {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 21px 23px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.accordion-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #ef8a91;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
}

.accordion-title strong {
  display: block;
  margin-bottom: 4px;
}

.accordion-title span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.accordion-plus {
  position: relative;
  width: 20px;
  height: 20px;
}

.accordion-plus::before,
.accordion-plus::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--muted);
  content: "";
}

.accordion-plus::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-plus::after {
  transform: rotate(0);
}

.accordion-panel {
  padding: 0 23px 24px 83px;
  color: var(--muted);
}

.accordion-panel ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.map-frame-wrap {
  position: relative;
  min-height: 680px;
  background: #101215;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 680px;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  background: linear-gradient(rgba(20,22,25,.15), rgba(20,22,25,.84)), url('../images/hero-map.webp') center / cover;
  text-align: center;
}

.map-sidebar {
  padding: 27px;
  border-left: 1px solid var(--line);
}

.legend {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .88rem;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.legend-item:nth-child(2) .legend-dot { background: #9fa8b1; }
.legend-item:nth-child(3) .legend-dot { background: #d9aa76; }
.legend-item:nth-child(4) .legend-dot { background: #7f9f91; }

.release-list {
  display: grid;
  gap: 14px;
}

.release-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.release-card h3 {
  margin: 13px 0 8px;
}

.release-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-shell {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text-soft);
  font-size: .8rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #17191d;
  color: var(--text);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 22px;
}

.admin-list {
  max-height: 720px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-list button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.admin-list button:hover,
.admin-list button.active {
  background: var(--accent-soft);
  color: var(--text);
}

.message {
  margin-top: 14px;
  color: var(--muted);
  font-size: .84rem;
}

.message.error { color: #f09aa0; }
.message.success { color: #9bc6a8; }

.toast {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-bright);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(120%);
  transition: .25s ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: 62px 0 32px;
  background: #101215;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-intro {
  max-width: 360px;
}

.footer-intro p {
  margin-top: 18px;
  color: var(--muted);
}

.footer-column h3 {
  color: var(--text-soft);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 27px;
  color: var(--muted-2);
  font-size: .78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

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


/* ===== pages.css ===== */
.hero-floating-card {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  max-width: 290px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(20,22,25,.78);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 5px;
}

.hero-floating-card span {
  color: var(--muted);
  font-size: .83rem;
}

.activity-card {
  min-height: 260px;
}

.activity-card .card-icon {
  margin-bottom: 28px;
}

.link-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.link-panel {
  min-height: 270px;
}

.link-panel h3 {
  font-size: 1.35rem;
}

.world-mode {
  min-height: 250px;
}

.world-mode strong {
  display: block;
  margin-bottom: 8px;
  color: #ef8a91;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}

.safety-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.safety-item strong {
  display: block;
  margin-bottom: 4px;
}

.safety-item span {
  color: var(--muted);
  font-size: .8rem;
}

.modpack-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 28px;
}

.modpack-summary > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.modpack-summary b {
  display: block;
  font-size: 1.05rem;
}

.modpack-summary span {
  color: var(--muted-2);
  font-size: .75rem;
}

.requirement-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.requirement-column {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.requirement-column ul {
  margin: 22px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.requirement-column li + li {
  margin-top: 8px;
}

.trade-banner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.8fr);
  gap: 20px;
}

.trade-banner .card {
  justify-content: center;
}

.trade-banner-image {
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.trade-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero .hero-copy h1 {
  font-size: clamp(2.8rem, 4.8vw, 5rem);
}

.project-facts {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-facts dl {
  margin: 0;
}

.project-facts div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts div:last-child {
  border-bottom: 0;
}

.project-facts dt {
  color: var(--muted);
}

.project-facts dd {
  margin: 0;
  text-align: right;
}

.prose h2 {
  margin: 55px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

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

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

.prose ul {
  padding-left: 1.2rem;
}

.rules-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.rules-summary .card {
  min-height: 180px;
}


/* ===== responsive.css ===== */
@media (max-width: 1120px) {
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 24px;
    background: rgba(20,22,25,.98);
    transform: translateX(100%);
    transition: transform .24s ease;
  }

  .site-nav.open {
    transform: none;
  }

  .site-nav a {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .header-cta {
    margin: 14px 0 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-layout,
  .page-hero .hero-layout {
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: 40px;
  }

  .hero-media,
  .hero-media img {
    min-height: 450px;
  }

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

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

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

  .server-status-item {
    border-bottom: 1px solid var(--line);
  }

  .server-status-item:nth-child(2n) {
    border-right: 0;
  }

  .server-status-item:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-layout,
  .page-hero .hero-layout,
  .split-panel,
  .content-aside,
  .trade-banner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media,
  .hero-media img,
  .page-hero .hero-media,
  .page-hero .hero-media img {
    min-height: 430px;
  }

  .hero-floating-card {
    right: 14px;
    bottom: 14px;
  }

  .grid-3,
  .link-panels,
  .rules-summary {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .map-shell {
    grid-template-columns: 1fr;
  }

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

  .project-facts {
    position: static;
  }

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

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .container,
  .container-narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-tag {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 56px;
  }

  .hero-copy h1,
  .page-hero .hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .hero-media,
  .hero-media img,
  .page-hero .hero-media,
  .page-hero .hero-media img {
    min-height: 320px;
  }

  .hero-floating-card {
    position: static;
    max-width: none;
    margin: -76px 12px 12px;
  }

  .section,
  .section-sm {
    padding: 70px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .link-panels,
  .step-grid,
  .stat-grid,
  .safety-grid,
  .modpack-summary,
  .requirement-table,
  .rules-summary,
  .footer-grid,
  .field-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .server-status {
    grid-template-columns: 1fr 1fr;
    margin-top: -20px;
  }

  .server-status-item:first-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .server-status-item {
    padding: 16px;
  }

  .split-panel-copy {
    padding: 30px 24px;
  }

  .split-panel-media {
    min-height: 320px;
  }

  .callout {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .accordion-trigger {
    grid-template-columns: 40px minmax(0,1fr) 24px;
    gap: 12px;
    padding: 18px;
  }

  .accordion-index {
    width: 40px;
    height: 40px;
  }

  .accordion-panel {
    padding: 0 18px 20px;
  }

  .map-frame-wrap,
  .map-frame {
    min-height: 500px;
  }

  .release-card {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* ===== content-v5.css ===== */
/* V5 — content-rich visual systems */
:root {
  --content-gap: clamp(16px, 1.5vw, 28px);
  --panel: rgba(24, 28, 34, .86);
  --panel-strong: rgba(18, 21, 26, .94);
  --panel-line: rgba(255,255,255,.1);
}

/* Shared content rhythm */
.section-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.section-kicker-row p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: var(--content-gap);
  align-items: stretch;
}

.visual-split.reverse {
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
}

.visual-split.reverse .visual-media { order: 2; }
.visual-split.reverse .visual-copy { order: 1; }

.visual-media,
.visual-copy {
  min-width: 0;
  border: 1px solid var(--panel-line);
  border-radius: 30px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.visual-media {
  position: relative;
  min-height: clamp(360px, 34vw, 610px);
}

.visual-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.visual-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,10,13,.02), rgba(8,10,13,.28));
}

.visual-media-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(13,16,20,.68);
  backdrop-filter: blur(12px);
}

.visual-media-caption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.visual-media-caption span {
  color: var(--muted);
  font-size: .84rem;
}

.visual-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 58px);
  background:
    radial-gradient(circle at top right, rgba(191,76,85,.13), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}

.visual-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.visual-copy > p {
  max-width: 680px;
  color: var(--muted);
}

.visual-list {
  display: grid;
  gap: 0;
  margin: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.visual-list > div {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.visual-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .68rem;
}

.visual-list b { font-size: .91rem; }
.visual-list span { color: var(--muted-2); font-size: .75rem; }

/* Image mosaics */
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: var(--content-gap);
}

.image-story {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 26px;
  background: #111419;
  box-shadow: var(--shadow-sm);
}

.image-story.span-7 { grid-column: span 7; }
.image-story.span-5 { grid-column: span 5; }
.image-story.span-4 { grid-column: span 4; }
.image-story.span-6 { grid-column: span 6; }
.image-story.tall { min-height: 520px; }
.image-story.medium { min-height: 360px; }

.image-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.image-story:hover img { transform: scale(1.035); }

.image-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,12,15,.96), rgba(10,12,15,.56) 42%, rgba(10,12,15,.06) 76%);
}

.image-story-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 3vw, 38px);
}

.image-story-content h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
}

.image-story-content p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(232,235,239,.74);
}

.image-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(12,14,18,.58);
  color: #f1c4c7;
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .06em;
}

/* Flow diagrams */
.flow-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--panel-line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    radial-gradient(circle at center, rgba(191,76,85,.08), transparent 60%);
  box-shadow: var(--shadow-sm);
}

.flow-step {
  position: relative;
  min-height: 176px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(17,20,25,.78);
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 3;
  right: -17px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(216,102,111,.3);
  border-radius: 50%;
  color: var(--accent-hover);
  background: #171a1f;
  font-size: .9rem;
}

.flow-step span {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
}

.flow-step h3 {
  margin: 20px 0 8px;
  font-size: 1.03rem;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.flow-board.compact {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.flow-board.six {
  grid-template-columns: repeat(6, minmax(0,1fr));
}

/* Hub + nodes */
.system-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--panel-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at center, rgba(191,76,85,.13), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  overflow: hidden;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,102,111,.32), transparent);
}

.system-map::after {
  left: 50%;
  right: auto;
  top: 10%;
  bottom: 10%;
  width: 1px;
  height: auto;
}

.system-node {
  position: relative;
  z-index: 2;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(19,22,27,.88);
}

.system-node.center {
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(191,76,85,.18), rgba(19,22,27,.92));
  border-color: rgba(216,102,111,.25);
}

.system-node small {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  letter-spacing: .08em;
}

.system-node h3 { margin: 12px 0 8px; }
.system-node p { margin: 0; color: var(--muted); font-size: .86rem; }

/* Protection and policy stacks */
.layer-stack {
  display: grid;
  gap: 10px;
}

.layer {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(191,76,85,.1), rgba(255,255,255,.018));
}

.layer-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(191,76,85,.16);
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-weight: 800;
}

.layer strong { display: block; }
.layer p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.layer em { color: var(--muted-2); font-style: normal; font-family: var(--font-mono); font-size: .7rem; }

/* Comparison and matrix */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--content-gap);
}

.compare-card {
  padding: 28px;
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  background: var(--panel);
}

.compare-card.positive { background: linear-gradient(180deg, rgba(80,139,101,.1), rgba(24,28,34,.86)); }
.compare-card.warning { background: linear-gradient(180deg, rgba(191,76,85,.1), rgba(24,28,34,.86)); }
.compare-card h3 { margin-bottom: 16px; }
.compare-card ul { margin: 0; padding: 0; list-style: none; }
.compare-card li { display: flex; gap: 10px; padding: 9px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.compare-card li:last-child { border-bottom: 0; }
.compare-card li::before { content: "•"; color: var(--accent-hover); }

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

.matrix-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(110px, .7fr));
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.matrix-row:last-child { border-bottom: 0; }
.matrix-row > div { padding: 15px 18px; }
.matrix-row > div:not(:first-child) { text-align: center; border-left: 1px solid var(--line); }
.matrix-row.head { background: rgba(255,255,255,.04); color: var(--text-soft); font-size: .78rem; font-weight: 700; }
.matrix-check { color: #9fcca9; }
.matrix-warn { color: #e0b388; }
.matrix-no { color: #e28a91; }

/* Mini cards and dashboards */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.metric {
  padding: 22px;
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  background: rgba(23,27,33,.82);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.4rem, 2.4vw, 2.35rem);
  letter-spacing: -.04em;
}

.metric span { color: var(--muted); font-size: .8rem; }

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.mini-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(22,26,31,.76);
}

.mini-card strong { display: block; margin-bottom: 8px; }
.mini-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.mini-card .tag { margin-bottom: 12px; }

/* Route diagram */
.route-network {
  position: relative;
  min-height: 480px;
  padding: 40px;
  border: 1px solid var(--panel-line);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(191,76,85,.1), transparent 48%),
    #15191e;
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.route-line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(216,102,111,.2), rgba(216,102,111,.78));
  box-shadow: 0 0 14px rgba(191,76,85,.22);
}

.route-node {
  position: absolute;
  z-index: 2;
  width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(18,21,26,.94);
  box-shadow: var(--shadow-sm);
}

.route-node::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-hover);
  box-shadow: 0 0 14px rgba(216,102,111,.52);
}

.route-node strong { display: block; margin-bottom: 4px; font-size: .87rem; }
.route-node span { color: var(--muted); font-size: .72rem; }

/* Quote and decision panels */
.quote-panel {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(216,102,111,.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(191,76,85,.17), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.quote-mark {
  color: var(--accent-hover);
  font-size: 4rem;
  line-height: .7;
  font-family: Georgia, serif;
}

.quote-panel blockquote {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -.03em;
}

.quote-panel p { margin: 16px 0 0; color: var(--muted); }

/* Project help board */
.help-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.help-ticket {
  padding: 22px;
  border: 1px dashed rgba(216,102,111,.28);
  border-radius: 18px;
  background: rgba(191,76,85,.045);
}

.help-ticket h3 { margin: 12px 0 8px; }
.help-ticket p { margin: 0; color: var(--muted); font-size: .87rem; }
.help-ticket .ticket-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* Milestones */
.milestone-list {
  display: grid;
  gap: 12px;
}

.milestone {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  background: rgba(23,27,33,.78);
}

.milestone time {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.milestone p { margin: 3px 0 0; color: var(--muted); font-size: .84rem; }
.milestone .tag { justify-self: end; }

/* Image strip */
.image-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 14px;
}

.image-strip figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  background: #111419;
}

.image-strip figure:first-child { min-height: 430px; }
.image-strip img { width: 100%; height: 100%; object-fit: cover; }
.image-strip figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(13,16,20,.68);
  backdrop-filter: blur(10px);
  font-size: .8rem;
}

/* Mobile */
@media (max-width: 1180px) {
  .visual-split,
  .visual-split.reverse {
    grid-template-columns: 1fr;
  }
  .visual-split.reverse .visual-media,
  .visual-split.reverse .visual-copy { order: initial; }
  .flow-board,
  .flow-board.compact,
  .flow-board.six { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flow-step:not(:last-child)::after { display: none; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .image-story.span-7,
  .image-story.span-5,
  .image-story.span-4,
  .image-story.span-6 { grid-column: span 1; }
  .image-strip { grid-template-columns: 1fr 1fr; }
  .image-strip figure:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .visual-media,
  .visual-copy,
  .image-story,
  .system-map,
  .flow-board,
  .route-network,
  .quote-panel { border-radius: 22px; }
  .visual-media { min-height: 310px; }
  .visual-media-caption { left: 12px; right: 12px; bottom: 12px; padding: 14px; }
  .story-grid,
  .flow-board,
  .flow-board.compact,
  .flow-board.six,
  .system-map,
  .compare-grid,
  .metric-strip,
  .mini-card-grid,
  .help-board,
  .image-strip { grid-template-columns: 1fr; }
  .image-story.tall,
  .image-story.medium { min-height: 330px; }
  .system-map::before,
  .system-map::after { display: none; }
  .matrix { overflow-x: auto; }
  .matrix-row { min-width: 650px; }
  .layer { grid-template-columns: 58px minmax(0,1fr); }
  .layer em { grid-column: 2; }
  .route-network { min-height: auto; display: grid; gap: 12px; padding: 18px; }
  .route-line { display: none; }
  .route-node { position: relative !important; left: auto !important; top: auto !important; width: 100%; }
  .quote-panel { grid-template-columns: 1fr; }
  .quote-mark { font-size: 3rem; }
  .milestone { grid-template-columns: 1fr; }
  .milestone .tag { justify-self: start; }
}


/* ===== site-v8.css ===== */
/* Industrial SMP V8 — clean final layout layer */
:root {
  --header-height: 86px;
  --container: 1760px;
  --page-gap: clamp(18px, 2vw, 34px);
  --bg: #101216;
  --bg-soft: #15181d;
  --surface: #1a1e24;
  --surface-raised: #20252c;
  --text: #f4f5f7;
  --text-soft: #d9dde2;
  --muted: #b2b8c0;
  --muted-2: #858d98;
  --line: rgba(255,255,255,.085);
  --line-strong: rgba(255,255,255,.15);
  --accent: #c6535b;
  --accent-hover: #e06c74;
  --accent-dark: #8f343c;
  --accent-soft: rgba(198,83,91,.15);
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 12px 30px rgba(0,0,0,.18);
  --shadow-md: 0 24px 64px rgba(0,0,0,.26);
}

html {
  font-size: 16px;
  background: var(--bg);
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(198,83,91,.10), transparent 32rem),
    linear-gradient(180deg, #12151a 0%, #101216 100%);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.container {
  width: min(calc(100% - (var(--page-gap) * 2)), var(--container));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.container-narrow {
  width: min(calc(100% - (var(--page-gap) * 2)), 1260px);
  margin-inline: auto;
  padding-inline: 0;
}

/* Header */
.site-header {
  height: var(--header-height);
  background: linear-gradient(180deg, rgba(8,10,13,.92), rgba(8,10,13,.58));
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(9,11,14,.94);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 38px rgba(0,0,0,.24);
  backdrop-filter: blur(18px) saturate(120%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-picture {
  display: block;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(250px, 17vw, 330px);
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-left: auto;
  white-space: nowrap;
}

.site-nav a {
  padding: 11px 13px;
  border-radius: 999px;
  color: #d1d5da;
  font-size: .9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.055);
}

.site-nav a[aria-current="page"]::after {
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--accent-hover);
}

.header-cta {
  margin-left: 14px;
}

/* Buttons */
.button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 760;
  box-shadow: none;
}

.button-primary {
  color: #fff;
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, #df6d75, #bd4851);
  box-shadow: 0 12px 28px rgba(198,83,91,.23);
}

.button-primary:hover {
  background: linear-gradient(180deg, #ec7b82, #ca535c);
}

.button-secondary,
.button-ghost {
  color: var(--text-soft);
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
}

.button-secondary:hover,
.button-ghost:hover {
  color: #fff;
  border-color: rgba(224,108,116,.35);
  background: rgba(255,255,255,.075);
}

.button-sm {
  min-height: 38px;
  padding-inline: 15px;
  font-size: .82rem;
}

.chip,
.tag,
.filter-button {
  border-radius: 999px;
}

/* Hero — shared pages */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: calc(var(--header-height) + 54px) 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #101216;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(1.01);
}

body[data-page="home"] .hero::after { background-image: url('/hub/assets/images/bg-home.webp'); }
body[data-page="world"] .hero::after { background-image: url('/hub/assets/images/bg-world.webp'); }
body[data-page="modpack"] .hero::after { background-image: url('/hub/assets/images/bg-modpack.webp'); }
body[data-page="buildhub"] .hero::after { background-image: url('/hub/assets/images/bg-buildhub.webp'); }
body[data-page="trade"] .hero::after { background-image: url('/hub/assets/images/bg-trade.webp'); }
body[data-page="map"] .hero::after { background-image: url('/hub/assets/images/bg-map.webp'); }
body[data-page="updates"] .hero::after { background-image: url('/hub/assets/images/bg-updates.webp'); }
body[data-page="rules"] .hero::after { background-image: url('/hub/assets/images/bg-rules.webp'); }
body[data-page="join"] .hero::after { background-image: url('/hub/assets/images/bg-join.webp'); }
body[data-page="project"] .hero::after { background-image: url('/hub/assets/images/bg-buildhub.webp'); }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,9,12,.96) 0%, rgba(7,9,12,.88) 34%, rgba(7,9,12,.46) 68%, rgba(7,9,12,.28) 100%),
    linear-gradient(180deg, rgba(7,9,12,.14), rgba(7,9,12,.64));
}

.hero-layout,
.page-hero .hero-layout {
  display: block;
  width: 100%;
}

.hero-copy {
  width: min(760px, 100%);
  padding-block: 24px;
}

.hero-copy h1,
.page-hero .hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 4vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.052em;
}

.hero-copy > p {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(239,242,246,.86);
  font-size: clamp(1.04rem, .45vw + .98rem, 1.2rem);
  line-height: 1.72;
}

.hero-actions,
.hero-inline-meta,
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-inline-meta,
.hero-chips {
  margin-top: 18px;
}

.hero-media {
  display: none;
}

/* Home hero is a real split layout */
.hero-home-clean {
  min-height: 760px;
  padding-bottom: 58px;
}

.hero-home-clean::before {
  background:
    linear-gradient(90deg, rgba(7,9,12,.96) 0%, rgba(7,9,12,.90) 42%, rgba(7,9,12,.62) 68%, rgba(7,9,12,.48) 100%),
    linear-gradient(180deg, rgba(7,9,12,.12), rgba(7,9,12,.68));
}

.hero-layout-home {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
}

body[data-page="home"] .hero-copy {
  width: auto;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(2.75rem, 3.8vw, 4.85rem);
}

.hero-home-clean .hero-media {
  position: relative;
  display: block;
  min-height: clamp(430px, 34vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 34px;
  background: #15181d;
  box-shadow: var(--shadow-md);
}

.hero-home-clean .hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-home-clean .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,12,.03), rgba(7,9,12,.36));
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  max-width: 330px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(11,13,17,.76);
  backdrop-filter: blur(14px);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 6px;
}

.hero-floating-card span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* Server status — stable, no overlap */
.server-status-home {
  display: grid;
  grid-template-columns: 1.45fr .68fr .72fr .72fr 1fr;
  gap: 0;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(18,22,27,.86);
  box-shadow: var(--shadow-sm);
}

.server-status-home .server-status-item {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 72px;
  padding: 13px 15px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.server-status-home .server-status-item:last-child {
  margin-left: 0;
  border-right: 0;
}

.server-status-home .status-label {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: .62rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.server-status-home .status-value {
  margin: 0;
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 720;
}

.server-status-home .server-ip .button {
  justify-self: start;
}

/* Sections */
.section {
  padding: clamp(72px, 7vw, 108px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.section-sm {
  padding: 52px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
}

.section-red {
  background:
    radial-gradient(circle at 12% 22%, rgba(198,83,91,.13), transparent 26rem),
    linear-gradient(135deg, rgba(198,83,91,.055), rgba(255,255,255,.008));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: start;
  gap: 34px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 14ch;
  margin: 8px 0 0;
  font-size: clamp(2.05rem, 3vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.heading-aside {
  display: grid;
  gap: 14px;
}

.heading-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.heading-bullets span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255,255,255,.025);
  font-size: .82rem;
}

/* Content components */
.visual-split {
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  gap: 22px;
}

.visual-media,
.visual-copy,
.image-story,
.system-map,
.flow-step,
.compare-card,
.metric,
.mini-card,
.help-ticket,
.project-card,
.accordion-item,
.callout {
  border-color: rgba(255,255,255,.09);
  box-shadow: var(--shadow-sm);
}

.visual-copy {
  padding: clamp(30px, 3.6vw, 58px);
}

.visual-copy p,
.image-story-content p,
.system-node p,
.flow-step p,
.compare-card li,
.mini-card p,
.project-card p,
.accordion-panel p {
  font-size: .98rem;
  line-height: 1.68;
}

.image-story::after {
  background: linear-gradient(0deg, rgba(7,9,12,.97), rgba(7,9,12,.64) 44%, rgba(7,9,12,.08) 80%);
}

.image-story-content h3 {
  font-size: clamp(1.35rem, 1.7vw, 2.15rem);
}

.system-map {
  gap: 18px;
  padding: clamp(24px, 3vw, 42px);
}

.system-node {
  min-height: 160px;
}

.flow-board {
  gap: 14px;
}

.flow-step {
  min-height: 190px;
}

.metric-strip {
  gap: 16px;
}

.metric {
  min-height: 142px;
  padding: 23px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)),
    radial-gradient(circle at top right, rgba(198,83,91,.08), transparent 42%);
}

.metric strong {
  font-size: 1.85rem;
}

.metric.metric-copy strong,
.metric.metric-copy .metric-title {
  margin-bottom: 9px;
  font-size: 1.13rem;
  line-height: 1.25;
}

.metric.metric-copy span {
  font-size: .9rem;
  line-height: 1.58;
}

.compare-grid {
  gap: 22px;
}

.compare-card {
  min-height: 300px;
  padding: 28px 30px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card h3 {
  font-size: 1.55rem;
  line-height: 1.12;
}

.project-card p {
  min-height: 76px;
}

.callout {
  grid-template-columns: minmax(0,1fr) auto;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 28px;
}

/* Footer */
.site-footer {
  padding: 58px 0 30px;
  background: #0b0d10;
}

.footer-brand .brand-logo {
  width: min(320px, 100%);
  max-height: none;
}

/* Responsive */
@media (max-width: 1280px) {
  .hero-layout-home {
    grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr);
    gap: 34px;
  }

  .brand-logo {
    width: 260px;
  }

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

  .visual-split,
  .visual-split.reverse {
    grid-template-columns: 1fr;
  }

  .visual-split.reverse .visual-media,
  .visual-split.reverse .visual-copy {
    order: initial;
  }
}

@media (max-width: 1050px) {
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 22px var(--page-gap);
    background: rgba(10,12,15,.98);
    transform: translateX(100%);
    transition: transform .24s ease;
  }

  .site-nav.open {
    transform: none;
  }

  .site-nav a {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .header-cta {
    margin: 16px 0 0;
    border-radius: 999px !important;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-layout-home {
    grid-template-columns: 1fr;
  }

  .hero-home-clean {
    min-height: auto;
  }

  .hero-home-clean .hero-media {
    min-height: 430px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2,
  .section-heading p {
    max-width: none;
  }

  .server-status-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .server-status-home .server-status-item:nth-child(3) {
    border-right: 0;
  }

  .server-status-home .server-status-item:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
    --page-gap: 14px;
  }

  .brand-logo {
    width: 48px;
    max-height: 58px;
  }

  .hero,
  .hero-home-clean {
    min-height: auto;
    padding: calc(var(--header-height) + 38px) 0 48px;
  }

  .hero::after {
    background-position: 68% center;
  }

  .hero::before,
  .hero-home-clean::before {
    background: linear-gradient(180deg, rgba(7,9,12,.86), rgba(7,9,12,.78) 50%, rgba(7,9,12,.95));
  }

  .hero-copy h1,
  .page-hero .hero-copy h1,
  body[data-page="home"] .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.05rem, 9.2vw, 3.15rem);
    line-height: 1.01;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-home-clean .hero-media {
    min-height: 300px;
    border-radius: 24px;
  }

  .hero-floating-card {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .server-status-home {
    grid-template-columns: 1fr;
  }

  .server-status-home .server-status-item {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .server-status-home .server-status-item:last-child {
    border-bottom: 0;
  }

  .project-grid,
  .metric-strip,
  .compare-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .callout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }
}


/* ===== site-v9.css ===== */
/* Industrial SMP V9 — professional spacing, components and motion */
:root {
  --chrome-gap: clamp(24px, 4vw, 72px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.2, .8, .2, 1);
}

/* The header and every hero get their own safe frame. */
.site-header .header-inner,
.hero > .container.hero-layout {
  width: min(calc(100% - (var(--chrome-gap) * 2)), 1680px);
  margin-inline: auto;
}

.site-header .header-inner {
  padding-inline: 0;
}

.hero > .container.hero-layout {
  min-width: 0;
}

.hero-copy,
.hero-media,
.hero-layout-home > * {
  min-width: 0;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 10.8ch;
  font-size: clamp(2.7rem, 3.55vw, 4.35rem);
}

.page-hero .hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 3.55vw, 4.35rem);
}

/* Header polish */
.site-header {
  transition:
    background .35s var(--ease-soft),
    border-color .35s var(--ease-soft),
    box-shadow .35s var(--ease-soft),
    transform .35s var(--ease-soft);
}

.brand-logo {
  width: clamp(238px, 16vw, 306px);
}

.site-nav a {
  transition:
    color .22s var(--ease-soft),
    background .22s var(--ease-soft),
    transform .22s var(--ease-soft);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

/* Transport showcase replaces the unstable node diagram. */
.transport-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 24px;
  align-items: stretch;
}

.transport-photo,
.commerce-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.transport-photo img,
.commerce-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .7s var(--ease-soft);
}

.transport-photo::after,
.commerce-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,12,.04), rgba(7,9,12,.72));
  content: "";
  pointer-events: none;
}

.transport-photo figcaption,
.commerce-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 19px 21px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(11,14,18,.76);
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
  backdrop-filter: blur(14px);
}

.transport-photo figcaption strong,
.commerce-photo figcaption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.08rem;
}

.transport-photo figcaption span,
.commerce-photo figcaption span {
  display: block;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.58;
}

.transport-photo:hover img,
.commerce-photo:hover img {
  transform: scale(1.025);
  filter: brightness(1.05);
}

.transport-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.transport-card {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 15px;
  align-content: start;
  min-height: 272px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.014)),
    radial-gradient(circle at 100% 0%, rgba(198,83,91,.08), transparent 48%);
  box-shadow: var(--shadow-sm);
  transition:
    transform .38s var(--ease-out),
    border-color .38s var(--ease-soft),
    background .38s var(--ease-soft);
}

.transport-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224,108,116,.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    radial-gradient(circle at 100% 0%, rgba(198,83,91,.13), transparent 52%);
}

.transport-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224,108,116,.22);
  border-radius: 13px;
  color: #f09aa0;
  background: rgba(198,83,91,.10);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
}

.transport-card small,
.commerce-step small {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.transport-card h3 {
  margin: 10px 0 8px;
  font-size: 1.24rem;
}

.transport-card p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.65;
}

/* Trade section — clear sequence, no fake network lines. */
.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 24px;
  align-items: stretch;
}

.commerce-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.commerce-step {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(20,24,29,.86);
  box-shadow: var(--shadow-sm);
  transition:
    transform .38s var(--ease-out),
    border-color .38s var(--ease-soft),
    background .38s var(--ease-soft);
}

.commerce-step::after {
  position: absolute;
  right: -34px;
  bottom: -52px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(224,108,116,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(198,83,91,.025);
  content: "";
}

.commerce-step:hover {
  transform: translateY(-5px);
  border-color: rgba(224,108,116,.28);
  background: rgba(24,28,34,.94);
}

.commerce-step > span {
  display: block;
  margin-bottom: 26px;
  color: rgba(240,154,160,.72);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 800;
}

.commerce-step h3 {
  margin: 10px 0 9px;
  font-size: 1.3rem;
}

.commerce-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: .96rem;
  line-height: 1.66;
}

.commerce-photo {
  min-height: 536px;
}

/* Professional motion system */
.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .78s var(--ease-out),
    transform .78s var(--ease-out),
    filter .78s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-left {
  transform: translate3d(-34px, 12px, 0);
}

.reveal-right {
  transform: translate3d(34px, 12px, 0);
}

.reveal-scale {
  transform: scale(.975) translate3d(0, 18px, 0);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  filter: none;
  transform: none;
}

.card,
.image-story,
.flow-step,
.mini-card,
.help-ticket,
.project-card,
.compare-card,
.metric,
.accordion-item,
.callout {
  transition:
    transform .38s var(--ease-out),
    border-color .38s var(--ease-soft),
    box-shadow .38s var(--ease-soft),
    background .38s var(--ease-soft);
}

.image-story:hover,
.project-card:hover,
.mini-card:hover,
.help-ticket:hover,
.compare-card:hover,
.metric:hover {
  transform: translateY(-5px);
  border-color: rgba(224,108,116,.24);
  box-shadow: 0 22px 54px rgba(0,0,0,.24);
}

.button {
  transition:
    transform .22s var(--ease-out),
    border-color .22s var(--ease-soft),
    background .22s var(--ease-soft),
    box-shadow .22s var(--ease-soft),
    color .22s var(--ease-soft);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(.985);
}

.hero-home-clean .hero-media.visible img {
  animation: hero-image-enter 1.15s var(--ease-out) both;
}

@keyframes hero-image-enter {
  from { transform: scale(1.045); filter: brightness(.82); }
  to { transform: scale(1); filter: brightness(1); }
}

@media (max-width: 1280px) {
  .transport-showcase,
  .commerce-layout {
    grid-template-columns: 1fr;
  }

  .transport-photo,
  .commerce-photo {
    min-height: 460px;
  }

  .transport-card,
  .commerce-step {
    min-height: 220px;
  }
}

@media (max-width: 1050px) {
  :root { --chrome-gap: clamp(18px, 3vw, 30px); }

  .brand-logo {
    width: 240px;
  }
}

@media (max-width: 720px) {
  :root { --chrome-gap: 14px; }

  .transport-options,
  .commerce-steps {
    grid-template-columns: 1fr;
  }

  .transport-photo,
  .commerce-photo {
    min-height: 330px;
    border-radius: 24px;
  }

  .transport-card,
  .commerce-step {
    min-height: 0;
  }

  .transport-photo figcaption,
  .commerce-photo figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    filter: none;
    transform: none;
  }
}


/* ===== site-v10.css ===== */
:root {
  --surface-strong: rgba(10, 13, 19, 0.84);
  --surface-soft-2: rgba(16, 20, 28, 0.68);
  --accent-soft: rgba(255, 108, 122, 0.18);
  --funnel-gradient: linear-gradient(135deg, rgba(255, 113, 124, 0.18), rgba(255, 113, 124, 0.05) 34%, rgba(24, 33, 49, 0.05) 70%, rgba(97, 131, 255, 0.08));
}

.hero-funnel-home,
.hero-funnel-join {
  padding-top: 132px;
  padding-bottom: 84px;
}

.hero-funnel-home .hero-layout,
.hero-funnel-join .hero-layout {
  align-items: stretch;
  gap: clamp(28px, 3vw, 48px);
}

.home-funnel-stack,
.join-funnel-stack {
  display: grid;
  gap: 18px;
}

.home-funnel-stack .eyebrow,
.join-funnel-stack .eyebrow {
  margin-bottom: 2px;
}

.home-funnel-stack p.lead,
.join-funnel-stack p.lead {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.72;
  max-width: 68ch;
  color: rgba(242, 245, 249, 0.86);
}

.hero-highlight {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--funnel-gradient);
  box-shadow: 0 28px 60px rgba(0,0,0,0.28);
  overflow: hidden;
  min-height: 100%;
}

.hero-highlight img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
}

.hero-highlight .hero-highlight-copy {
  display: grid;
  gap: 10px;
}

.hero-highlight .hero-highlight-copy strong {
  font-size: 1.12rem;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-facts span,
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,15,21,0.64);
  color: rgba(245,247,251,0.9);
  font-size: 0.95rem;
}

.quick-facts span::before,
.mini-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8e98, #f15d71);
  box-shadow: 0 0 0 4px rgba(255, 112, 126, 0.14);
}

.funnel-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.funnel-pill {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(13,16,22,0.68);
  display: grid;
  gap: 6px;
}

.funnel-pill small {
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
}

.funnel-pill strong {
  font-size: 1.02rem;
}

.funnel-map {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(16, 21, 30, 0.92), rgba(11, 14, 20, 0.78));
  box-shadow: 0 24px 64px rgba(0,0,0,0.26);
}

.funnel-map-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 24px;
  align-items: end;
}

.funnel-map-head p,
.route-card p,
.funnel-stage p,
.founder-note p,
.home-summary-card p {
  color: rgba(230, 236, 244, 0.72);
}

.path-cards,
.route-grid,
.home-summary-grid,
.funnel-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.path-card,
.route-card,
.home-summary-card,
.funnel-stage,
.founder-note,
.info-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(15,19,27,0.92), rgba(11,14,20,0.82));
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.path-card,
.route-card,
.home-summary-card,
.funnel-stage {
  padding: 24px 22px;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.path-card:hover,
.route-card:hover,
.home-summary-card:hover,
.funnel-stage:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 117, 128, 0.28);
  box-shadow: 0 24px 50px rgba(0,0,0,0.25);
}

.path-card::after,
.route-card::after,
.home-summary-card::after,
.funnel-stage::after,
.founder-note::after,
.info-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 106, 120, 0.10), transparent 38%);
  pointer-events: none;
}

.path-card span.step-index,
.funnel-stage span.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--accent, #ff7280);
  margin-bottom: 18px;
}

.path-card h3,
.route-card h3,
.home-summary-card h3,
.funnel-stage h3,
.founder-note h3,
.info-panel h3 {
  font-size: clamp(1.2rem, 1.35vw, 1.48rem);
  margin-bottom: 10px;
}

.route-card {
  display: grid;
  gap: 12px;
}

.route-card .route-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.route-card .route-link::after {
  content: '→';
  transition: transform .22s ease;
}

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

.route-card .route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-card .route-meta span,
.home-summary-card .route-meta span {
  font-size: .82rem;
  color: rgba(255,255,255,0.74);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.founder-note {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  align-items: center;
}

.founder-note img {
  width: 100%;
  max-width: 110px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  padding: 10px;
  image-rendering: pixelated;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.founder-note blockquote {
  margin: 0 0 12px;
  font-size: clamp(1.04rem, 1.24vw, 1.22rem);
  line-height: 1.62;
  color: rgba(255,255,255,0.96);
}

.founder-note footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: rgba(255,255,255,0.64);
}

.founder-note footer strong {
  color: #fff;
}

.home-summary-card strong.big-number {
  display: block;
  font-size: clamp(2rem, 2.3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 10px;
}

.home-summary-card small,
.path-card small,
.route-card small,
.funnel-stage small,
.info-panel small {
  display: inline-block;
  color: var(--accent, #ff7280);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  margin-bottom: 10px;
}

.funnel-stage-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-panel {
  padding: 24px;
}

.info-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(230,236,244,0.75);
}

.info-panel ul li + li {
  margin-top: 8px;
}

.entry-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(9, 12, 17, 0.58);
  border: 1px solid rgba(255,255,255,0.08);
}

.entry-rail-item {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 100%;
}

.entry-rail-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.entry-rail-item span {
  display: block;
  color: rgba(228, 235, 243, 0.68);
}

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

.check-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(17, 22, 31, 0.92), rgba(12, 15, 21, 0.82));
}

.check-card.good {
  box-shadow: inset 0 0 0 1px rgba(95, 216, 160, 0.08);
}

.check-card.warn {
  box-shadow: inset 0 0 0 1px rgba(255, 177, 107, 0.08);
}

.check-card h3 {
  margin-bottom: 14px;
}

.check-card ul {
  margin: 0;
  padding-left: 18px;
}

.check-card li + li {
  margin-top: 8px;
}

.join-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(255, 102, 117, 0.14), rgba(255, 102, 117, 0.04) 42%, rgba(15,19,27,0.92));
}

.join-final-cta .cta-main,
.join-final-cta .cta-side {
  position: relative;
  z-index: 1;
}

.join-final-cta .cta-side {
  display: grid;
  gap: 14px;
}

.join-final-cta .cta-side .button {
  width: 100%;
  justify-content: center;
}

.join-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.join-step-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 600;
}

.join-step-links a::after {
  content: '↗';
  opacity: .65;
}

.stage-note {
  font-size: .95rem;
  color: rgba(255,255,255,0.62);
}

.page-compact section.section,
.page-compact section.section-soft,
.page-compact section.section-ambient,
.page-compact section.section-red,
.page-compact section.section-sm {
  padding-top: 72px;
  padding-bottom: 72px;
}

.site-header .site-nav a,
.site-header .header-cta,
.menu-toggle {
  transition: transform .24s ease, opacity .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.site-header .site-nav a:hover,
.site-header .header-cta:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}

.reveal {
  transition-duration: .74s;
}

@media (max-width: 1100px) {
  .path-cards,
  .route-grid,
  .home-summary-grid,
  .funnel-stage-grid,
  .funnel-stage-grid.three,
  .entry-rail,
  .check-grid,
  .join-final-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funnel-map-head,
  .founder-note,
  .hero-funnel-home .hero-layout,
  .hero-funnel-join .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-highlight img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .hero-funnel-home,
  .hero-funnel-join {
    padding-top: 112px;
    padding-bottom: 58px;
  }

  .funnel-banner,
  .path-cards,
  .route-grid,
  .home-summary-grid,
  .funnel-stage-grid,
  .funnel-stage-grid.three,
  .entry-rail,
  .check-grid,
  .join-final-cta {
    grid-template-columns: 1fr;
  }

  .founder-note {
    padding: 20px;
    gap: 18px;
  }

  .home-funnel-stack p.lead,
  .join-funnel-stack p.lead {
    font-size: 1rem;
  }

  .path-card,
  .route-card,
  .home-summary-card,
  .funnel-stage,
  .info-panel,
  .check-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-card,
  .route-card,
  .home-summary-card,
  .funnel-stage,
  .site-header .site-nav a,
  .site-header .header-cta,
  .menu-toggle {
    transition: none;
  }
}

.application-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 22px;
  align-items: start;
}

.application-form,
.application-preview {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(16,20,28,.94), rgba(11,14,20,.86));
  box-shadow: 0 22px 54px rgba(0,0,0,.22);
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.application-form label {
  display: grid;
  gap: 9px;
}

.application-form label:nth-of-type(n+3),
.application-consent,
.application-actions {
  grid-column: 1 / -1;
}

.application-form label > span {
  font-weight: 700;
  color: rgba(247,249,252,.92);
}

.application-form input[type="text"],
.application-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(7,10,15,.72);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.application-form textarea { resize: vertical; }

.application-form input[type="text"]:focus,
.application-form textarea:focus {
  border-color: rgba(255,112,126,.55);
  box-shadow: 0 0 0 4px rgba(255,112,126,.09);
  background: rgba(9,12,18,.92);
}

.application-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 12px !important;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}

.application-consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #ef6373;
}

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

.application-preview {
  padding: clamp(22px, 2.5vw, 30px);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.application-preview ol {
  margin: 18px 0;
  padding-left: 22px;
  color: rgba(231,236,244,.76);
}

.application-preview li + li { margin-top: 10px; }

@media (max-width: 900px) {
  .application-shell,
  .application-form { grid-template-columns: 1fr; }
  .application-form label,
  .application-form label:nth-of-type(n+3),
  .application-consent,
  .application-actions { grid-column: auto; }
  .application-preview { position: static; }
}

/* V11 motion refinement: restrained, performant entrance animations */
.reveal {
  opacity: 0;
  filter: none;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity .62s var(--ease-out),
    transform .62s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: auto;
}

.reveal-left { transform: translate3d(-24px, 8px, 0); }
.reveal-right { transform: translate3d(24px, 8px, 0); }
.reveal-scale { transform: scale(.985) translate3d(0, 12px, 0); }

@media (max-width: 760px) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transform: translate3d(0, 12px, 0);
    transition-duration: .5s;
  }
}


/* ===== site-v12.css ===== */

body {
  font-size: 17px;
}

.section-heading.single-column {
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.section-heading.single-column h2,
.section-heading.single-column p {
  max-width: 900px;
}

.eyebrow {
  font-size: .74rem;
  letter-spacing: .17em;
}

.hero-copy > p,
.section-heading p,
.route-card p,
.funnel-stage p,
.path-card p,
.entry-rail-item span,
.check-card li,
.metric.metric-copy span,
.visual-copy p,
.hero-highlight .hero-highlight-copy p,
.home-summary-card p,
.info-panel p,
.callout p,
.project-card p,
.visual-media-caption span {
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  line-height: 1.74;
  color: rgba(236, 241, 247, 0.78);
}

.hero-copy h1,
.page-hero .hero-copy h1,
.join-funnel-stack h1,
.home-funnel-stack h1 {
  font-size: clamp(3.15rem, 4.5vw, 5rem);
  line-height: .96;
}

.hero-funnel-join .hero-layout,
.page-hero .hero-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
}

.hero-highlight {
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
}

.hero-highlight img {
  aspect-ratio: 16 / 8.9;
  max-height: 320px;
  border-radius: 18px;
}

.hero-highlight .hero-highlight-copy strong,
.entry-rail-item strong,
.metric.metric-copy strong,
.metric.metric-copy .metric-title,
.check-card h3,
.funnel-stage h3,
.route-card h3,
.path-card h3 {
  font-size: clamp(1.22rem, 1.55vw, 1.56rem);
  line-height: 1.28;
}

.entry-rail-item {
  padding: 20px 20px 18px;
}

.funnel-stage small,
.path-card small {
  display: none;
}

.metric {
  min-height: 156px;
  padding: 24px;
}

.metric strong {
  font-size: 2.05rem;
}

.metric.metric-copy span {
  max-width: 24ch;
}

.visual-split {
  gap: 18px;
  align-items: start;
}

.visual-media,
.split-panel-media,
.page-hero .hero-media,
.page-hero .hero-media img {
  min-height: 340px;
}

.visual-media img,
.split-panel-media img,
.page-hero .hero-media img {
  object-fit: cover;
}

.visual-copy {
  padding: clamp(26px, 3vw, 42px);
}

.callout h2 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  max-width: 17ch;
}

.route-grid,
.home-summary-grid,
.funnel-stage-grid {
  gap: 20px;
}

@media (max-width: 1180px) {
  .hero-funnel-join .hero-layout,
  .page-hero .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-highlight img {
    max-height: none;
    aspect-ratio: 16 / 9;
  }
}

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

  .hero-copy h1,
  .page-hero .hero-copy h1,
  .join-funnel-stack h1,
  .home-funnel-stack h1 {
    font-size: clamp(2.35rem, 9vw, 3.35rem);
  }

  .hero-copy > p,
  .section-heading p,
  .route-card p,
  .funnel-stage p,
  .path-card p,
  .entry-rail-item span,
  .check-card li,
  .metric.metric-copy span,
  .visual-copy p,
  .hero-highlight .hero-highlight-copy p,
  .home-summary-card p,
  .info-panel p,
  .callout p,
  .project-card p,
  .visual-media-caption span {
    font-size: 1rem;
    line-height: 1.7;
  }
}


/* ===== home-fix-v13 ===== */
body[data-page="home"] .funnel-map-head {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: start;
}

body[data-page="home"] .path-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="home"] .path-card {
  padding: 22px 22px 24px;
  min-height: 280px;
  align-content: start;
}

body[data-page="home"] .path-card small {
  display: none !important;
}

body[data-page="home"] .path-card .step-index {
  margin-bottom: 14px;
}

body[data-page="home"] .path-card h3 {
  font-size: clamp(1.18rem, 1.42vw, 1.55rem);
  margin-bottom: 12px;
}

body[data-page="home"] .path-card p {
  font-size: 1.04rem;
  line-height: 1.7;
}

body[data-page="home"] .route-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

body[data-page="home"] .hero-funnel-home .hero-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 440px);
  align-items: start;
}

body[data-page="home"] .hero-highlight-home {
  max-width: 440px;
  justify-self: end;
  padding: 14px;
  gap: 12px;
}

body[data-page="home"] .hero-highlight-home img {
  max-height: 220px;
  aspect-ratio: 16 / 9;
  object-position: center;
}

body[data-page="home"] .hero-highlight-home .hero-highlight-copy {
  gap: 8px;
}

body[data-page="home"] .hero-highlight-home .hero-highlight-copy strong {
  font-size: 1.04rem;
}

body[data-page="home"] .server-status-home {
  margin-top: 4px;
}

@media (max-width: 1260px) {
  body[data-page="home"] .path-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body[data-page="home"] .hero-funnel-home .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  }

  body[data-page="home"] .funnel-map-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  body[data-page="home"] .hero-funnel-home .hero-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-highlight-home {
    max-width: 100%;
    justify-self: stretch;
  }

  body[data-page="home"] .hero-highlight-home img {
    max-height: 260px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .path-cards {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .path-card {
    min-height: 0;
  }

  body[data-page="home"] .hero-highlight-home img {
    max-height: 210px;
  }
}

/* ===== home-story-v14 ===== */
body[data-page="home"] {
  background:
    radial-gradient(circle at 8% 4%, rgba(198, 83, 91, .09), transparent 34rem),
    radial-gradient(circle at 94% 30%, rgba(218, 150, 79, .055), transparent 32rem),
    var(--bg);
}

.home-story-hero {
  position: relative;
  isolation: isolate;
  min-height: min(940px, 92vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #090b0e url('/hub/assets/images/hero-home-happyden-v153.webp') center / cover no-repeat;
}

.home-story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .98) 0%, rgba(5, 7, 10, .92) 28%, rgba(5, 7, 10, .67) 47%, rgba(5, 7, 10, .22) 70%, rgba(5, 7, 10, .08) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, .16), rgba(5, 7, 10, .44));
}

.home-story-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 10, .72));
}

.home-story-hero-inner {
  width: min(calc(100% - (var(--chrome-gap) * 2)), 1680px);
  min-height: inherit;
  display: grid;
  align-content: start;
  gap: clamp(34px, 5vh, 62px);
  padding-top: calc(var(--header-height) + 18px);
  padding-bottom: 48px;
}

.home-story-intro {
  width: min(760px, 58vw);
  padding: 24px 0;
}

.home-story-intro h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.2vw, 6.35rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.home-story-intro p {
  max-width: 690px;
  margin-bottom: 15px;
  color: rgba(240, 243, 247, .78);
  font-size: clamp(1.02rem, 1.28vw, 1.2rem);
  line-height: 1.72;
}

.home-story-intro .home-story-lead {
  color: rgba(250, 251, 253, .94);
  font-size: clamp(1.08rem, 1.48vw, 1.3rem);
}

.home-story-signature {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 23px 0 30px;
}

.home-story-signature strong {
  color: #fff;
  font-size: 1.05rem;
}

.home-story-signature span {
  color: rgba(255, 255, 255, .57);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-story-status {
  width: min(890px, 100%);
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(3, minmax(100px, .66fr)) auto;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: rgba(8, 11, 15, .69);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .27);
  backdrop-filter: blur(14px);
}

.home-story-status > div {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 78px;
  padding: 15px 20px;
  border-right: 1px solid rgba(255, 255, 255, .075);
}

.home-story-status .status-label {
  color: rgba(255, 255, 255, .48);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-story-status strong {
  color: rgba(255, 255, 255, .94);
  font-size: .97rem;
  line-height: 1.25;
}

.home-story-status .button {
  align-self: center;
  margin: 14px;
  white-space: nowrap;
}

.home-story-section {
  position: relative;
  overflow: hidden;
}

.home-story-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: center;
}

.home-story-split-reverse .home-story-media {
  order: 2;
}

.home-story-split-reverse .home-story-copy {
  order: 1;
}

.home-story-media {
  position: relative;
  min-height: clamp(400px, 39vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .29);
}

.home-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .28)),
    radial-gradient(circle at 82% 10%, rgba(255, 171, 99, .08), transparent 35%);
}

.home-story-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.home-story-media:hover img {
  transform: scale(1.025);
}

.home-story-copy {
  max-width: 660px;
}

.home-story-copy h2,
.home-final-cta h2 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 3.75vw, 4.55rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.home-story-copy p {
  margin-bottom: 15px;
  color: rgba(231, 236, 242, .74);
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
  line-height: 1.76;
}

.home-story-copy .button {
  margin-top: 16px;
}

.home-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 8px;
}

.home-story-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .76);
  font-size: .86rem;
}

.home-story-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 8px;
}

.home-story-specs > div {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}

.home-story-specs span {
  color: rgba(255, 255, 255, .48);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-story-specs strong {
  font-size: .96rem;
}

.home-story-heading {
  align-items: end;
}

.home-story-heading h2 {
  max-width: 16ch;
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1.18fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(29, 33, 40, .94), rgba(14, 17, 22, .96));
  box-shadow: 0 22px 52px rgba(0, 0, 0, .22);
}

.home-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0, rgba(198, 83, 91, .09), transparent 42%);
}

.home-project-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.home-project-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 42px);
}

.home-project-label {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-project-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.08;
}

.home-project-card p {
  margin: 0;
  color: rgba(231, 236, 242, .7);
  font-size: 1rem;
  line-height: 1.7;
}

.home-project-card .route-link {
  margin-top: 8px;
  color: #fff;
  font-weight: 750;
}

.home-project-card .route-link::after {
  content: " →";
  color: var(--accent-hover);
}

.home-final-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(8, 10, 14, .97), rgba(8, 10, 14, .78) 52%, rgba(8, 10, 14, .35)),
    url('/hub/assets/images/visual-join-square.webp') center 44% / cover no-repeat;
}

.home-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .42));
}

.home-final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 46px;
  align-items: end;
}

.home-final-cta h2 {
  max-width: 18ch;
}

.home-final-cta p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(235, 239, 244, .76);
  font-size: clamp(1.02rem, 1.18vw, 1.17rem);
  line-height: 1.75;
}

.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1260px) {
  .home-story-hero {
    background-position: 58% center;
  }

  .home-story-intro {
    width: min(700px, 61vw);
  }

  .home-project-card {
    grid-template-columns: 1fr;
  }

  .home-project-card img {
    min-height: 260px;
    max-height: 300px;
  }
}

@media (max-width: 1040px) {
  .home-story-hero {
    min-height: 820px;
    background-position: 62% center;
  }

  .home-story-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, .98) 0%, rgba(5, 7, 10, .92) 37%, rgba(5, 7, 10, .63) 63%, rgba(5, 7, 10, .2) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, .12), rgba(5, 7, 10, .52));
  }

  .home-story-intro {
    width: min(670px, 68vw);
  }

  .home-story-status {
    grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(90px, .7fr));
  }

  .home-story-status .button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0;
  }

  .home-story-split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-story-split-reverse .home-story-media,
  .home-story-split-reverse .home-story-copy {
    order: initial;
  }

  .home-story-copy {
    max-width: 820px;
  }

  .home-story-media {
    min-height: min(58vw, 570px);
  }

  .home-final-cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .home-story-hero {
    min-height: 820px;
    align-items: flex-end;
    background-position: 67% center;
  }

  .home-story-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .68)),
      linear-gradient(180deg, rgba(5, 7, 10, .24), rgba(5, 7, 10, .9) 75%);
  }

  .home-story-hero-inner {
    width: min(calc(100% - 32px), 1680px);
    align-content: end;
    gap: 26px;
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 28px;
  }

  .home-story-intro {
    width: 100%;
    padding-top: 100px;
  }

  .home-story-intro h1 {
    max-width: 10ch;
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .home-story-intro p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-story-intro p:not(.home-story-lead) {
    display: none;
  }

  .home-story-signature {
    margin: 17px 0 23px;
  }

  .home-story-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .home-story-status > div {
    min-height: 68px;
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
  }

  .home-story-status > div:nth-child(2n) {
    border-right: 0;
  }

  .home-story-status .button {
    grid-column: 1 / -1;
    width: calc(100% - 24px);
    margin: 12px;
    justify-content: center;
  }

  .home-story-split {
    gap: 27px;
  }

  .home-story-media {
    min-height: 330px;
    border-radius: 22px;
  }

  .home-story-copy h2,
  .home-final-cta h2 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .home-story-copy p,
  .home-final-cta p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .home-story-specs {
    grid-template-columns: 1fr;
  }

  .home-projects-grid {
    grid-template-columns: 1fr;
  }

  .home-project-card {
    min-height: 0;
    border-radius: 22px;
  }

  .home-project-card img {
    min-height: 220px;
    max-height: 240px;
  }

  .home-final-cta {
    padding: 76px 0;
    background-position: 66% center;
  }
}

@media (max-width: 520px) {
  .home-story-intro .hero-actions,
  .home-final-actions {
    display: grid;
  }

  .home-story-intro .button,
  .home-final-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* ===== site-v15-layout-polish =====
   Единая безопасная рамка для всех страниц и более спокойная композиция. */
:root {
  --site-gutter: clamp(26px, 4.8vw, 92px);
  --container: 1540px;
  --page-gap: var(--site-gutter);
  --section-space: clamp(82px, 7.2vw, 118px);
}

/* Одинаковые поля у шапки, hero, секций и подвала. */
.container,
.site-header .header-inner,
.hero > .container.hero-layout,
.home-story-hero-inner {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--container));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.container-narrow {
  width: min(calc(100% - (var(--site-gutter) * 2)), 1160px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.page-compact section.section,
.page-compact section.section-soft,
.page-compact section.section-ambient,
.page-compact section.section-red,
.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.page-compact section.section-sm,
.section-sm {
  padding-top: clamp(58px, 5vw, 82px);
  padding-bottom: clamp(58px, 5vw, 82px);
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(34px, 4vw, 66px);
  margin-bottom: clamp(38px, 4vw, 58px);
}

.section-heading > div:first-child {
  max-width: 900px;
}

.section-heading > p {
  max-width: 48rem;
  justify-self: end;
}

.grid-auto,
.grid-2,
.grid-3,
.grid-4,
.route-grid,
.story-grid,
.funnel-stage-grid,
.check-grid,
.compare-grid,
.metric-strip {
  gap: clamp(20px, 2vw, 30px);
}

/* Шапка больше не прижимается к краям даже на средних экранах. */
.header-inner {
  gap: clamp(22px, 2.4vw, 38px);
}

.site-nav {
  gap: 5px;
}

.site-nav a {
  padding-inline: 13px;
}

/* Более свободные внутренние поля у основных панелей. */
.card,
.route-card,
.funnel-stage,
.path-card,
.check-card,
.metric,
.info-panel,
.form-shell,
.application-shell,
.accordion-item,
.callout {
  border-radius: clamp(18px, 1.5vw, 24px);
}

.card,
.route-card,
.funnel-stage,
.path-card,
.check-card,
.metric,
.info-panel,
.form-shell {
  padding: clamp(24px, 2.15vw, 34px);
}

.visual-split,
.split-panel,
.application-shell,
.join-final-cta {
  border-radius: clamp(22px, 2vw, 30px);
}

.visual-copy,
.split-panel-copy {
  padding: clamp(32px, 4vw, 62px);
}

/* На внутренних hero текст получает нормальную ширину и воздух. */
.hero {
  padding-top: calc(var(--header-height) + clamp(62px, 6vw, 104px));
  padding-bottom: clamp(70px, 7vw, 106px);
}

.page-hero .hero-layout {
  gap: clamp(44px, 5vw, 82px);
}

.page-hero .hero-layout:not(:has(.hero-media)) {
  grid-template-columns: minmax(0, 980px);
}

.page-hero .hero-copy {
  max-width: 980px;
}

.page-hero .hero-copy > p {
  max-width: 760px;
}

/* Главная: новое изображение и более аккуратная масштабная сетка. */
.home-story-hero {
  min-height: min(920px, 92vh);
  background-position: center center;
}

.home-story-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .92) 0%, rgba(5, 7, 10, .82) 28%, rgba(5, 7, 10, .48) 49%, rgba(5, 7, 10, .13) 71%, rgba(5, 7, 10, .04) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, .09), rgba(5, 7, 10, .38));
}

.home-story-hero-inner {
  gap: clamp(32px, 4.4vh, 52px);
  padding-top: calc(var(--header-height) + 14px);
  padding-bottom: clamp(42px, 4vw, 64px);
}

.home-story-intro {
  width: min(730px, 54vw);
  padding-block: 6px 18px;
}

.home-story-intro h1 {
  font-size: clamp(3.15rem, 4.75vw, 5.9rem);
}

.home-story-status {
  width: min(920px, 100%);
}

.home-story-split {
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  gap: clamp(48px, 5.5vw, 88px);
}

.home-story-media {
  min-height: clamp(390px, 34vw, 560px);
  border-radius: clamp(24px, 2vw, 30px);
}

.home-story-copy {
  max-width: 690px;
}

.home-projects-grid {
  gap: clamp(24px, 2.4vw, 36px);
}

.home-project-card > div {
  padding: clamp(30px, 3.2vw, 50px);
}

.home-final-cta {
  padding-block: var(--section-space);
}

/* Подвал использует ту же визуальную рамку, что и основной контент. */
.site-footer {
  padding-top: clamp(66px, 6vw, 94px);
  padding-bottom: clamp(30px, 3vw, 46px);
}

.footer-grid {
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(42px, 4vw, 62px);
}

.footer-bottom {
  padding-top: 30px;
}

@media (max-width: 1280px) {
  :root {
    --site-gutter: clamp(34px, 4.5vw, 58px);
  }

  .brand-logo {
    width: clamp(230px, 20vw, 270px);
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .home-story-intro {
    width: min(690px, 59vw);
  }
}

@media (max-width: 1050px) {
  :root {
    --site-gutter: clamp(28px, 5vw, 48px);
  }

  .site-nav {
    padding-inline: var(--site-gutter);
  }

  .section-heading,
  .page-hero .hero-layout {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    justify-self: start;
  }

  .home-story-intro {
    width: min(680px, 68vw);
  }

  .home-story-split {
    grid-template-columns: 1fr;
  }

  .home-story-copy {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  :root {
    --site-gutter: 20px;
    --page-gap: 20px;
    --section-space: 72px;
  }

  .container,
  .container-narrow,
  .site-header .header-inner,
  .hero > .container.hero-layout,
  .home-story-hero-inner {
    width: calc(100% - (var(--site-gutter) * 2));
  }

  .home-story-hero {
    min-height: 810px;
    background-position: 66% center;
  }

  .home-story-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, .88), rgba(5, 7, 10, .55)),
      linear-gradient(180deg, rgba(5, 7, 10, .18), rgba(5, 7, 10, .92) 74%);
  }

  .home-story-hero-inner {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 30px;
  }

  .home-story-intro {
    width: 100%;
    padding-top: 32px;
  }

  .home-story-media,
  .visual-split,
  .split-panel,
  .application-shell,
  .join-final-cta {
    border-radius: 22px;
  }

  .card,
  .route-card,
  .funnel-stage,
  .path-card,
  .check-card,
  .metric,
  .info-panel,
  .form-shell {
    padding: 24px;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-bottom {
    gap: 12px;
  }
}

@media (max-width: 460px) {
  :root {
    --site-gutter: 16px;
    --page-gap: 16px;
    --section-space: 62px;
  }

  .home-story-hero-inner {
    padding-bottom: 22px;
  }

  .home-story-status > div {
    padding-inline: 13px;
  }

  .visual-copy,
  .split-panel-copy {
    padding: 26px 22px;
  }
}

/* ===== V16 — navigation architecture, rules visibility and join page ===== */
:root {
  --nav-surface: rgba(255,255,255,.045);
  --nav-surface-hover: rgba(255,255,255,.085);
  --rules-accent: #ef6f79;
  --rules-accent-strong: #ff818b;
}

/* Header: clear hierarchy instead of a row of plain text links. */
.site-header {
  overflow: visible;
}

.site-header .header-inner {
  width: min(calc(100% - (var(--site-gutter) * 2)), 1680px);
  gap: clamp(22px, 2.6vw, 44px);
}

.site-header .brand-logo {
  width: clamp(232px, 15.3vw, 300px);
}

.site-nav {
  gap: 8px;
  overflow: visible;
}

.site-nav > .nav-link,
.nav-cluster-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: var(--nav-surface);
  color: rgba(239,242,246,.82);
  font: inherit;
  font-size: .86rem;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-nav > .nav-link:hover,
.nav-cluster-toggle:hover,
.nav-cluster.open .nav-cluster-toggle,
.nav-cluster.is-current .nav-cluster-toggle,
.site-nav > .nav-link[aria-current="page"] {
  color: #fff;
  border-color: rgba(255,255,255,.15);
  background: var(--nav-surface-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.site-nav > .nav-link[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045), 0 10px 24px rgba(0,0,0,.16);
}

.site-nav > .nav-link[aria-current="page"]::after {
  display: none;
}

.nav-link-rules {
  gap: 8px;
  color: #fff !important;
  border-color: rgba(239,111,121,.32) !important;
  background: linear-gradient(180deg, rgba(239,111,121,.19), rgba(239,111,121,.09)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 10px 24px rgba(185,64,75,.08);
}

.nav-link-rules:hover,
.nav-link-rules[aria-current="page"] {
  border-color: rgba(255,129,139,.62) !important;
  background: linear-gradient(180deg, rgba(239,111,121,.32), rgba(188,62,73,.18)) !important;
  box-shadow: 0 12px 28px rgba(198,72,84,.2) !important;
}

.nav-link-rules svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.nav-cluster {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-cluster-toggle {
  gap: 9px;
}

.nav-cluster-toggle i {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
  transition: transform .2s ease;
}

.nav-cluster.open .nav-cluster-toggle i,
.nav-cluster:focus-within .nav-cluster-toggle i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-dropdown {
  position: absolute;
  z-index: 500;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 292px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(11,14,18,.98);
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  backdrop-filter: blur(18px) saturate(125%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nav-cluster:hover .nav-dropdown,
.nav-cluster:focus-within .nav-dropdown,
.nav-cluster.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown a {
  display: grid;
  gap: 4px;
  padding: 13px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent;
  color: rgba(240,243,247,.84);
  text-decoration: none;
}

.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: rgba(255,255,255,.065);
  color: #fff;
  transform: none !important;
}

.nav-dropdown a strong {
  color: inherit;
  font-size: .94rem;
}

.nav-dropdown a small {
  color: rgba(225,231,238,.56);
  font-size: .77rem;
  font-weight: 500;
}

.site-nav .header-cta {
  min-height: 44px;
  margin-left: 4px;
  padding-inline: 20px;
  border-radius: 13px;
  font-size: .86rem;
  box-shadow: 0 12px 30px rgba(198,83,91,.22);
}

.site-nav .header-cta[aria-current="page"] {
  outline: 2px solid rgba(255,255,255,.18);
  outline-offset: 2px;
}

/* Breadcrumbs make the current position visible on every inner page. */
.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(232,237,243,.52);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
}

.page-breadcrumb a {
  color: rgba(239,242,246,.68);
}

.page-breadcrumb a:hover {
  color: #fff;
}

.page-breadcrumb b {
  color: rgba(255,255,255,.9);
  font-weight: 760;
}

/* A single, predictable next-step block replaces random navigation at page endings. */
.site-route-section {
  padding: clamp(66px, 6vw, 96px) 0;
  border-top: 1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 78% 20%, rgba(213,91,101,.10), transparent 28rem),
    #0d1014;
}

.site-route-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy primary"
    "related primary";
  gap: 22px 42px;
  align-items: center;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 24px 58px rgba(0,0,0,.2);
}

.site-route-copy { grid-area: copy; }
.site-route-copy > span {
  display: block;
  margin-bottom: 9px;
  color: var(--rules-accent-strong);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-route-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  line-height: 1.05;
}
.site-route-copy p {
  max-width: 760px;
  margin: 0;
}
.site-route-primary {
  grid-area: primary;
  min-width: 210px;
  justify-content: center;
}
.site-route-related {
  grid-area: related;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-route-related small {
  margin-right: 3px;
  color: rgba(233,238,244,.48);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.site-route-related a {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(244,246,249,.82);
  font-size: .88rem;
  font-weight: 700;
}
.site-route-related a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.07);
}

/* Footer now mirrors the actual information architecture. */
.footer-route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.footer-route strong {
  margin-right: 8px;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-route a {
  color: rgba(244,246,249,.83);
  font-weight: 720;
}
.footer-route span {
  color: rgba(255,255,255,.25);
}
.footer-rule-link {
  color: var(--rules-accent-strong) !important;
  font-weight: 800 !important;
}
.footer-rule-link:hover {
  color: #ff9ba3 !important;
}

/* Join hero: compact, readable and built around one clear route. */
.join-hero-v16 {
  min-height: auto;
  padding: calc(var(--header-height) + clamp(52px, 5vw, 78px)) 0 clamp(68px, 6vw, 92px);
  align-items: stretch;
}

.join-hero-v16::before {
  background:
    linear-gradient(90deg, rgba(5,7,10,.97) 0%, rgba(5,7,10,.90) 38%, rgba(5,7,10,.55) 67%, rgba(5,7,10,.28) 100%),
    linear-gradient(180deg, rgba(5,7,10,.16), rgba(5,7,10,.72));
}

.join-hero-v16::after {
  background-position: center 46%;
}

.join-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(42px, 5vw, 86px);
  align-items: center;
}

.join-hero-copy {
  max-width: 780px;
  min-width: 0;
}

.join-hero-copy .page-breadcrumb {
  margin-bottom: 28px;
}

.join-hero-copy .eyebrow {
  margin-bottom: 22px;
}

.join-hero-copy h1 {
  max-width: 10ch;
  margin: 0 0 24px;
  font-size: clamp(3.1rem, 5vw, 5.7rem);
  line-height: .93;
  letter-spacing: -.06em;
}

.join-hero-lead {
  max-width: 690px;
  margin: 0;
  color: rgba(243,246,250,.82);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.72;
}

.join-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button-rules {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255,129,139,.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(239,111,121,.24), rgba(177,57,68,.15));
  color: #fff;
  font-weight: 780;
  box-shadow: 0 12px 28px rgba(180,53,65,.13);
}

.button-rules:hover {
  border-color: rgba(255,146,155,.68);
  background: linear-gradient(180deg, rgba(239,111,121,.38), rgba(177,57,68,.24));
  transform: translateY(-1px);
}

.button-rules svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.join-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.join-hero-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 10px;
  background: rgba(7,9,12,.44);
  color: rgba(238,242,247,.67);
  font-size: .82rem;
  font-weight: 650;
}

.join-roadmap {
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  background: rgba(11,14,18,.78);
  box-shadow: 0 28px 68px rgba(0,0,0,.34);
  backdrop-filter: blur(15px) saturate(115%);
}

.join-roadmap-head {
  margin-bottom: 18px;
  padding: 0 4px 20px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.join-roadmap-head > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(239,111,121,.13);
  color: var(--rules-accent-strong);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.join-roadmap-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.1;
}
.join-roadmap-head p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.55;
}

.join-roadmap ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-roadmap li a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  color: #fff;
  text-decoration: none;
}

.join-roadmap li a:hover {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.join-roadmap li b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  font-size: .74rem;
  letter-spacing: .08em;
}

.join-roadmap li span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.join-roadmap li strong {
  font-size: .98rem;
}
.join-roadmap li small {
  color: rgba(229,235,242,.54);
  font-size: .79rem;
  line-height: 1.35;
}
.join-roadmap li i {
  color: rgba(255,255,255,.36);
  font-style: normal;
  font-size: 1.05rem;
}

.join-roadmap li.is-important a {
  border-color: rgba(239,111,121,.23);
  background: linear-gradient(90deg, rgba(239,111,121,.14), rgba(239,111,121,.05));
}
.join-roadmap li.is-important b {
  background: rgba(239,111,121,.18);
  color: #ff9ba3;
}
.join-roadmap li.is-important strong {
  color: #fff;
}

.rules-priority-strip {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(90deg, rgba(142,42,53,.14), rgba(18,21,27,.82) 55%, rgba(142,42,53,.08));
}

.rules-priority-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.rules-priority-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,129,139,.4);
  border-radius: 14px;
  background: rgba(239,111,121,.15);
  color: #ff9ca4;
  font-size: 1.15rem;
  font-weight: 900;
}
.rules-priority-inner strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.03rem;
}
.rules-priority-inner span {
  color: rgba(234,239,245,.65);
  font-size: .94rem;
}

.join-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 28px);
}

.join-stage-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  min-height: 100%;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18,22,29,.92), rgba(11,14,19,.84));
}
.join-stage-card.is-rules {
  border-color: rgba(239,111,121,.28);
  background: linear-gradient(180deg, rgba(74,26,33,.48), rgba(20,15,19,.9));
  box-shadow: inset 0 0 0 1px rgba(255,129,139,.06);
}
.join-stage-card .step-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  color: rgba(255,255,255,.64);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.join-stage-card.is-rules .step-index {
  border-color: rgba(239,111,121,.3);
  background: rgba(239,111,121,.13);
  color: #ff9ca4;
}
.join-stage-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--rules-accent-strong);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.join-stage-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 1.45vw, 1.55rem);
}
.join-stage-card p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.65;
}
.stage-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.075);
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 760;
}
.stage-action::after {
  content: '→';
  color: var(--rules-accent-strong);
}
.stage-action:hover {
  color: #fff;
}

.application-consent a,
.application-reminder a {
  color: #ff919a;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(255,145,154,.35);
  text-underline-offset: 3px;
}
.application-reminder {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(239,111,121,.2);
  border-radius: 14px;
  background: rgba(239,111,121,.075);
}
.application-reminder strong {
  color: #fff;
  font-size: .88rem;
}
.application-reminder a {
  font-size: .9rem;
}

.join-after-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1260px) {
  .site-header .brand-logo {
    width: 245px;
  }
  .site-nav {
    gap: 5px;
  }
  .site-nav > .nav-link,
  .nav-cluster-toggle {
    padding-inline: 12px;
    font-size: .82rem;
  }
  .join-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 9px;
    padding: 22px var(--site-gutter) 36px;
    overflow-y: auto;
    background: rgba(9,11,14,.985);
    transform: translateX(100%);
    transition: transform .24s ease;
  }

  .site-nav.open {
    transform: none;
  }

  .site-nav > .nav-link,
  .nav-cluster-toggle {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 17px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 14px !important;
    font-size: 1rem;
  }

  .nav-cluster {
    display: grid;
    width: 100%;
  }

  .nav-cluster-toggle {
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 14px;
    box-shadow: none;
    background: rgba(255,255,255,.025);
  }

  .nav-cluster.open .nav-dropdown,
  .nav-cluster.is-current .nav-dropdown {
    display: grid;
  }

  .nav-dropdown a {
    padding: 13px 14px !important;
    border-bottom: 0 !important;
  }

  .site-nav .header-cta {
    width: 100%;
    min-height: 52px;
    margin: 6px 0 0;
    border-radius: 14px !important;
    justify-content: center;
  }

  .join-hero-layout {
    grid-template-columns: 1fr;
  }

  .join-hero-copy {
    max-width: 820px;
  }

  .join-roadmap {
    max-width: 820px;
  }

  .site-route-panel {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "primary" "related";
    align-items: start;
  }

  .site-route-primary {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .site-header .brand-logo {
    width: 48px;
    max-height: 58px;
  }

  .join-hero-v16 {
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 58px;
  }

  .join-hero-v16::before {
    background:
      linear-gradient(180deg, rgba(5,7,10,.82), rgba(5,7,10,.9) 58%, rgba(5,7,10,.98)),
      linear-gradient(90deg, rgba(5,7,10,.66), rgba(5,7,10,.4));
  }

  .join-hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .join-hero-actions,
  .join-hero-actions .button {
    width: 100%;
  }

  .join-hero-actions .button {
    justify-content: center;
  }

  .join-roadmap {
    padding: 18px;
    border-radius: 22px;
  }

  .join-roadmap li a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 11px;
  }

  .join-roadmap li b {
    width: 38px;
    height: 38px;
  }

  .rules-priority-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rules-priority-inner .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .join-stage-grid,
  .join-after-grid {
    grid-template-columns: 1fr;
  }

  .site-route-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .site-route-primary {
    width: 100%;
  }

  .footer-route {
    align-items: flex-start;
    gap: 8px 10px;
  }
  .footer-route strong {
    width: 100%;
    margin-bottom: 5px;
  }
}

/* ===== V17 content administration ===== */
.admin-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 75, 88, .12), transparent 30rem),
    radial-gradient(circle at 88% 20%, rgba(211, 139, 74, .07), transparent 34rem),
    var(--bg);
}

.admin-hero {
  padding: calc(var(--header-height) + clamp(42px, 5vw, 76px)) 0 clamp(46px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(14, 17, 22, .97), rgba(8, 10, 14, .88));
}

.admin-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}

.admin-hero h1 {
  max-width: 12ch;
  margin: 12px 0 18px;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.admin-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.admin-security-note {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  box-shadow: var(--shadow-sm);
}

.admin-security-note strong { color: var(--text); }
.admin-security-note span { color: var(--muted); line-height: 1.55; }
.admin-section { padding-top: clamp(46px, 5vw, 74px); }

.admin-login-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 23, 29, .98), rgba(12, 14, 18, .98));
  box-shadow: var(--shadow-lg);
}

.admin-login-card > div:first-child {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.admin-login-card h2 { margin: 0 0 8px; }
.admin-login-card p { margin: 0; color: var(--muted); }
.admin-login-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #8d2636);
  box-shadow: 0 14px 28px rgba(194, 65, 82, .25);
}

.admin-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.admin-login-form .field { margin: 0; }
.admin-app { display: grid; gap: 20px; }

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 20, 25, .94);
}

.admin-topbar > div:first-child { display: grid; gap: 4px; }
.admin-topbar span { color: var(--muted); font-size: .88rem; }
.admin-topbar-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 17, 22, .95);
}

.admin-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
}

.admin-tab > span {
  grid-row: 1 / 3;
  align-self: center;
  color: rgba(255, 255, 255, .34);
  font: 700 .72rem/1 var(--mono);
  letter-spacing: .08em;
}

.admin-tab b { color: inherit; font-size: .96rem; }
.admin-tab small { color: rgba(255, 255, 255, .42); font-size: .76rem; }
.admin-tab:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.admin-tab.active {
  color: #fff;
  border-color: rgba(211, 77, 91, .36);
  background: linear-gradient(135deg, rgba(205, 72, 88, .21), rgba(205, 72, 88, .08));
}
.admin-tab.active > span { color: var(--accent-light); }
.admin-tab.active small { color: rgba(255, 255, 255, .65); }

.admin-workspace {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(13, 16, 21, .96);
  box-shadow: var(--shadow-md);
}

.admin-view { display: none; }
.admin-view.active { display: block; animation: adminFade .22s ease; }
@keyframes adminFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.admin-view-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-view-heading h2 { margin: 8px 0 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.admin-heading-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-stat-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
}

.admin-stat-grid span { color: var(--muted); font-size: .86rem; }
.admin-stat-grid strong { align-self: end; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.admin-stat-grid strong.admin-stat-version { font-size: clamp(1.45rem, 2.7vw, 2.5rem); }
.admin-stat-grid small { color: rgba(255, 255, 255, .48); line-height: 1.4; }

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-panel-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .025);
}

.admin-card-heading span { color: var(--accent-light); font: 700 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.admin-card-heading h3 { margin: 8px 0 20px; }
.admin-quick-actions { display: grid; gap: 10px; }
.admin-quick-actions button {
  display: grid;
  gap: 4px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: .2s ease;
}
.admin-quick-actions button:hover { transform: translateX(3px); border-color: rgba(211, 77, 91, .42); background: rgba(211, 77, 91, .08); }
.admin-quick-actions span { color: var(--muted); font-size: .84rem; }
.admin-checklist { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.admin-checklist li { position: relative; padding-left: 24px; color: var(--muted); line-height: 1.55; }
.admin-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-light); font-weight: 800; }

.admin-editor-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-record-list {
  display: grid;
  gap: 8px;
  max-height: 820px;
  padding-right: 5px;
  overflow: auto;
  scrollbar-width: thin;
}

.admin-record {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  transition: .18s ease;
}

.admin-record:hover { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); }
.admin-record.active { border-color: rgba(211, 77, 91, .48); background: rgba(211, 77, 91, .1); box-shadow: inset 3px 0 0 var(--accent); }
.admin-record-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.admin-record-top strong { font-size: .92rem; line-height: 1.3; }
.admin-record-top i { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: var(--accent-light); background: rgba(211, 77, 91, .12); font: 700 .62rem/1 var(--mono); font-style: normal; }
.admin-record small { color: var(--muted); line-height: 1.35; }
.admin-list-empty, .admin-empty { padding: 26px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 16px; }

.admin-editor-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
}

.admin-editor-card .field-grid { gap: 16px; }
.admin-editor-card .field { margin: 0; }
.admin-editor-card input,
.admin-editor-card textarea,
.admin-editor-card select,
.admin-login-card input {
  width: 100%;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(4, 6, 9, .58);
}
.admin-editor-card textarea { resize: vertical; min-height: 92px; }
.admin-toggle-field { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 28px; }
.admin-toggle-field label { display: inline-flex; gap: 9px; align-items: center; cursor: pointer; }
.admin-toggle-field input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.admin-form-actions .message { flex: 1 1 220px; margin: 0 0 0 8px; }

.admin-preview-card {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(211, 77, 91, .28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(211, 77, 91, .09), rgba(255, 255, 255, .02));
}
.admin-preview-card h3 { margin: 14px 0 8px; }
.admin-preview-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.admin-security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-security-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, .025);
}
.admin-security-grid strong { display: block; margin-bottom: 9px; }
.admin-security-grid p { margin: 0; color: var(--muted); line-height: 1.58; }
.admin-security-grid code, .admin-warning-card code { color: #f3b0b7; }
.admin-warning-card {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(235, 170, 71, .28);
  border-radius: 19px;
  background: rgba(235, 170, 71, .065);
}
.admin-warning-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.58; }

/* Public release summary managed from admin */
.current-release-section { padding-top: clamp(34px, 4vw, 58px); }
.current-release-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(211, 77, 91, .24);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(211, 77, 91, .095), rgba(255, 255, 255, .025));
}
.current-release-card h2 { margin: 10px 0 12px; }
.current-release-card p { color: var(--muted); line-height: 1.65; }
.current-release-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.current-release-meta div { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(0, 0, 0, .18); }
.current-release-meta span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .78rem; }
.current-release-meta strong { font-size: 1rem; }
.current-release-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.current-release-lists h3 { margin-bottom: 10px; font-size: 1rem; }
.current-release-lists ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.62; }

@media (max-width: 1180px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .admin-tab { grid-template-columns: 1fr; grid-template-rows: auto auto; text-align: center; }
  .admin-tab > span { display: none; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .admin-hero-inner, .admin-dashboard-grid, .current-release-card, .current-release-lists { grid-template-columns: 1fr; }
  .admin-security-note { max-width: 520px; }
  .admin-editor-layout { grid-template-columns: 1fr; }
  .admin-record-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
  .admin-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .admin-login-form, .admin-stat-grid, .admin-security-grid, .admin-record-list, .current-release-meta { grid-template-columns: 1fr; }
  .admin-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-topbar, .admin-view-heading { align-items: stretch; flex-direction: column; }
  .admin-topbar-actions, .admin-heading-actions { justify-content: flex-start; }
  .admin-workspace { padding: 18px; border-radius: 20px; }
  .admin-form-actions .message { margin-left: 0; flex-basis: 100%; }
}

/* ===== V18 admin tools: settings, media, backups, previews ===== */
.project-stage-banner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  grid-template-areas:
    "label title status"
    "label text status";
  gap: 8px 16px;
  align-items: start;
  width: min(920px, 100%);
  padding: 18px 20px;
  border: 1px solid rgba(211, 77, 91, .28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(211, 77, 91, .11), rgba(8, 10, 14, .76));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
}
.project-stage-banner > span {
  grid-area: label;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 72px;
  padding: 10px 14px;
  border-radius: 13px;
  color: #ffd9dd;
  background: rgba(211, 77, 91, .15);
  font: 800 .72rem/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.project-stage-banner strong {
  grid-area: title;
  display: block;
  margin: 2px 0 0;
  font-size: 1rem;
  line-height: 1.35;
}
.project-stage-banner p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.project-stage-banner i {
  grid-area: status;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
  font: 700 .72rem/1.2 var(--mono);
  font-style: normal;
  letter-spacing: .04em;
  white-space: nowrap;
}
.project-stage-banner-compact {
  grid-template-columns: 150px minmax(0,1fr);
  grid-template-areas:
    "label title"
    "label text"
    "label status";
  margin-top: 24px;
  background: rgba(9, 11, 15, .7);
}
.project-stage-banner-compact i {
  justify-self: start;
  align-self: start;
  margin-top: 2px;
}
body[data-project-stage="open"] .project-stage-banner { border-color: rgba(76, 190, 126, .32); background: linear-gradient(135deg, rgba(76,190,126,.11), rgba(8,10,14,.76)); }
body[data-project-stage="open"] .project-stage-banner > span { color: #bff6d5; background: rgba(76,190,126,.15); }
body[data-project-stage="open"] .project-stage-banner i { border-color: rgba(76,190,126,.18); background: rgba(76,190,126,.10); color: #d7ffe7; }
body[data-project-stage="maintenance"] .project-stage-banner { border-color: rgba(235,170,71,.34); background: linear-gradient(135deg, rgba(235,170,71,.11), rgba(8,10,14,.76)); }
body[data-project-stage="maintenance"] .project-stage-banner > span { color: #ffe5b5; background: rgba(235,170,71,.14); }
body[data-project-stage="maintenance"] .project-stage-banner i { border-color: rgba(235,170,71,.18); background: rgba(235,170,71,.10); color: #ffe8bf; }

.admin-setting-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.admin-setting-toggles label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.02);
  cursor: pointer;
}
.admin-setting-toggles input { width: 18px; height: 18px; accent-color: var(--accent); }
.admin-stage-preview { margin-top: 22px; }
.admin-media-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.admin-media-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.admin-media-upload h3 { margin: 0 0 7px; }
.admin-media-upload p { margin: 0; color: var(--muted); line-height: 1.55; }
.admin-media-upload-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; }
.admin-media-upload-actions input { max-width: 280px; }
.admin-media-upload > .message { grid-column: 1 / -1; margin: 0; }
.admin-media-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 18px 0;
}
.admin-media-toolbar input,
.admin-heading-actions select,
.admin-media-picker input[type="search"] {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(4,6,9,.58);
}
.admin-media-toolbar input { width: min(420px, 100%); }
.admin-media-toolbar span { color: var(--muted); font-size: .88rem; }
.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-media-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
}
.admin-media-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #090b0e;
}
.admin-media-info { display: grid; gap: 5px; padding: 13px 14px 8px; }
.admin-media-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.admin-media-info small { color: var(--muted); }
.admin-media-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 14px 14px; }
.admin-backup-layout { display: grid; grid-template-columns: minmax(230px, 310px) minmax(0, 1fr); gap: 18px; }
.admin-backup-preview pre {
  max-height: 640px;
  overflow: auto;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: #d8dde5;
  background: #07090c;
  font: 500 .78rem/1.55 var(--mono);
  white-space: pre-wrap;
  word-break: break-word;
}
.admin-modal {
  width: min(980px, calc(100% - 32px));
  max-height: min(860px, calc(100vh - 40px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  color: var(--text);
  background: #101319;
  box-shadow: 0 34px 100px rgba(0,0,0,.62);
}
.admin-modal::backdrop { background: rgba(2,4,7,.78); backdrop-filter: blur(8px); }
.admin-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.admin-modal-head span { color: var(--accent-light); font: 800 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.admin-modal-head h2 { margin: 6px 0 0; }
.admin-modal-head button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,.04);
  font-size: 1.6rem;
  cursor: pointer;
}
.admin-modal-body { max-height: calc(100vh - 150px); padding: 24px; overflow: auto; }
.admin-media-picker .admin-modal-body { display: grid; gap: 18px; }
.admin-public-preview { max-width: 760px; margin: 0 auto; }
.admin-public-preview > img,
.release-card-image {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
}
.release-card-image { margin-bottom: 16px; }
.release-admin-preview { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.release-admin-preview h3 { margin: 14px 0 8px; font-size: 2rem; }
.message.draft { color: #e3c17b; }

@media (max-width: 1180px) {
  .admin-sidebar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .project-stage-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "text"
      "status";
  }
  .project-stage-banner > span, .project-stage-banner i { justify-self: start; }
  .admin-media-upload, .admin-backup-layout { grid-template-columns: 1fr; }
  .admin-media-upload-actions { justify-content: flex-start; }
  .admin-setting-toggles { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .admin-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-media-grid { grid-template-columns: 1fr; }
  .admin-media-field { grid-template-columns: 1fr; }
  .admin-media-toolbar { align-items: stretch; flex-direction: column; }
  .admin-modal-body { padding: 16px; }
}
