/* ==========================================================================
   Lua Partners Benelux — shared design system
   Single source of truth for brand tokens and reusable components.
   Consumed by design-system.html (the living catalog) and every page
   that applies the system. Reactive SVG art lives in design-system-art.js.
   ========================================================================== */

:root {
  --void-white: #ffffff;
  --night: #0d0f14;
  --night-soft: #171a21;
  --steel: #b8bdc4;
  --steel-soft: #e7eaf0;
  --steel-light: #f5f7fa;
  --neon-yellow: #f6ff00;
  --cyan-drive: #00f0ff;
  --neon-pink: #ff40ff;
  --ink-muted: #68707b;
  --muted: var(--ink-muted);
  --line: #d8dde5;
  --line-strong: #aeb5bf;
  --shadow: 0 18px 48px rgba(13, 15, 20, 0.10);
  --shadow-tight: 0 8px 20px rgba(13, 15, 20, 0.10);
  --font-display: "Sora", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-pad: clamp(18px, 4vw, 54px);
  --max-width: 1280px;
  --radius: 8px;
  --rail-height: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--night);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

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

/* --------------------------------------------------------------------------
   Backgrounds
   -------------------------------------------------------------------------- */

.dot-clouds-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  background: var(--void-white);
}

/* --------------------------------------------------------------------------
   Accents
   -------------------------------------------------------------------------- */

.accent-rule {
  display: block;
  width: 90px;
  height: 6px;
  background: var(--neon-yellow);
}

.section-title {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--night);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  width: 52px;
  height: 3px;
  background: var(--neon-yellow);
}

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

.btn {
  --btn-bg: var(--void-white);
  --btn-color: var(--night);
  --btn-border: var(--line);
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-width: min(100%, 190px);
  min-height: 48px;
  padding: 0 18px;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(13, 15, 20, 0.08);
  cursor: default;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  white-space: normal;
}

a.btn {
  cursor: pointer;
}

.btn::after {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  content: ">";
  font-size: 1rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.btn:hover::after {
  transform: translateX(3px);
}

.btn-primary {
  --btn-bg: var(--neon-yellow);
  --btn-border: var(--neon-yellow);
}

.btn-secondary {
  --btn-bg: var(--cyan-drive);
  --btn-border: var(--cyan-drive);
}

.btn-tertiary {
  --btn-bg: var(--void-white);
  --btn-border: #cfd5df;
}

.btn-compact {
  min-width: 0;
  min-height: 42px;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Status card
   -------------------------------------------------------------------------- */

.status-card {
  display: grid;
  grid-template-columns: auto 1fr minmax(96px, 0.42fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-tight);
}

.status-icon {
  position: relative;
  width: 42px;
  height: 42px;
  color: var(--cyan-drive);
  border: 2px solid currentColor;
  border-radius: 50%;
}

.status-icon::before,
.status-icon::after {
  position: absolute;
  content: "";
  border: 2px solid currentColor;
}

.status-icon::before {
  left: 50%;
  top: 7px;
  width: 7px;
  height: 18px;
  border-top: 0;
  border-bottom: 0;
  transform: translateX(-50%);
}

.status-icon::after {
  left: -8px;
  right: -8px;
  bottom: 1px;
  height: 14px;
  border-top: 0;
  border-radius: 0 0 20px 20px;
}

.status-copy small,
.data-module small,
.promise-copy small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  line-height: 1.08;
}

.status-copy p,
.promise-copy p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.sparkline {
  display: flex;
  align-items: end;
  justify-content: stretch;
  gap: 0;
  min-width: 96px;
  height: 44px;
}

.sparkline i {
  flex: 1;
  height: var(--h);
  border-top: 3px solid var(--cyan-drive);
  transform: skewY(var(--tilt));
}

.kebab {
  display: grid;
  gap: 4px;
  justify-items: center;
  width: 20px;
}

.kebab i {
  width: 4px;
  height: 4px;
  background: var(--night);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Data module
   -------------------------------------------------------------------------- */

.data-module {
  display: grid;
  grid-template-columns: minmax(120px, 0.52fr) 1px minmax(170px, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-tight);
}

.data-module strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1;
}

.data-module em {
  display: block;
  margin-top: 6px;
  color: var(--cyan-drive);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.module-divider {
  width: 1px;
  min-height: 66px;
  background: var(--line);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 7px;
  align-items: end;
  min-height: 78px;
}

.bar-chart i {
  display: block;
  height: var(--h);
  min-height: 14px;
  background: var(--c);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Promise card
   -------------------------------------------------------------------------- */

.promise-card {
  position: relative;
  display: grid;
  grid-template-columns: 102px 216px 174px;
  column-gap: 24px;
  align-items: start;
  width: min(100%, 632px);
  aspect-ratio: 632 / 196;
  min-height: 196px;
  padding: 31px 24px 20px 42px;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.promise-card::before,
.promise-card::after {
  display: none;
}

.promise-card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.globe {
  position: relative;
  z-index: 1;
  width: 96px;
  margin-top: 10px;
  aspect-ratio: 1;
  border: 2px solid var(--neon-yellow);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, var(--neon-yellow) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, var(--neon-yellow) 49% 51%, transparent 52%);
}

.globe::before,
.globe::after {
  position: absolute;
  inset: 10px 25px;
  content: "";
  border: 2px solid var(--neon-yellow);
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.globe::after {
  inset: 25px 10px;
  border: 2px solid var(--neon-yellow);
  border-left: 0;
  border-right: 0;
}

.promise-copy h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
}

.promise-copy h3::after {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 8px;
  content: "";
  background: var(--neon-yellow);
}

.promise-copy strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.meta-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  margin-top: 19px;
  margin-left: 12px;
  padding-left: 0;
  border-left: 0;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.meta-row {
  display: grid;
  grid-template-columns: minmax(58px, 0.6fr) 1fr;
  gap: 12px;
}

.stripe-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   Rails
   -------------------------------------------------------------------------- */

.rail-divider {
  position: relative;
  width: 100%;
  min-height: var(--rail-height);
}

.rail-divider::before,
.rail-divider::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.rail-top::before {
  top: 18px;
  left: 24px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-yellow) 0 23%, transparent 23% 25%, var(--steel) 25% 100%);
}

.rail-top::after {
  top: 18px;
  left: 30%;
  width: 92px;
  height: 18px;
  border-top: 2px solid var(--neon-yellow);
  border-left: 2px solid var(--neon-yellow);
  transform: skewX(-38deg);
}

.rail-bottom::before {
  top: 20px;
  left: 4px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-yellow) 0 50%, transparent 50% 55%, var(--steel) 55% 100%);
}

.rail-bottom::after {
  top: 0;
  left: 0;
  width: min(160px, 32%);
  height: 28px;
  border-top: 2px solid var(--neon-yellow);
  border-left: 2px solid var(--neon-yellow);
  transform: skewX(-36deg);
  transform-origin: left bottom;
}

.rail-asset {
  display: block;
  width: min(100%, 573px);
  aspect-ratio: 573 / 67;
}

.rail-top-asset {
  width: min(100%, 676px);
  aspect-ratio: 676 / 215;
  max-height: 96px;
}

.rail-asset svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rail-glow-yellow {
  stroke: var(--neon-yellow);
  stroke-width: 3.2;
  opacity: 0.18;
  vector-effect: non-scaling-stroke;
}

.rail-line-yellow {
  stroke: var(--neon-yellow);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.rail-glow-grey {
  stroke: #cfd5dc;
  stroke-width: 3.2;
  opacity: 0.28;
  vector-effect: non-scaling-stroke;
}

.rail-line-grey {
  stroke: #c4cbd3;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.asset-dot {
  fill: var(--neon-yellow);
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Frames
   -------------------------------------------------------------------------- */

.frame-panel {
  --fp-chamfer: 15px;
  --fp-thick: 2px;
  --frame-line: var(--neon-yellow);
  --frame-joint: var(--night);
  --frame-surface: rgba(255, 255, 255, 0.78);
  position: relative;
  height: 100%;
  min-height: 244px;
  padding: clamp(34px, 5vw, 54px) clamp(28px, 5.4vw, 48px);
  background: var(--frame-surface);
  clip-path: polygon(
    var(--fp-chamfer) 0,
    100% 0,
    100% calc(100% - var(--fp-chamfer)),
    calc(100% - var(--fp-chamfer)) 100%,
    var(--fp-chamfer) 100%,
    0 calc(100% - var(--fp-chamfer)),
    0 var(--fp-chamfer)
  );
  isolation: isolate;
  overflow: hidden;
}

/* Open yellow HUD line-frame: left edge + top edge only, with BOTH left
   corners chamfered (top-left is the origin, bottom-left is the notch).
   The straight edges are sized/positioned so they scale with any content
   height; the two chamfers are fixed-size corner tiles, so they never
   distort. Right and bottom stay open. */
.frame-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    /* top edge */
    linear-gradient(var(--neon-yellow), var(--neon-yellow)),
    /* left edge */
    linear-gradient(var(--neon-yellow), var(--neon-yellow)),
    /* top-left chamfer "/" — connects top edge start to left edge start */
    linear-gradient(to bottom right, transparent calc(50% - 1px), var(--neon-yellow) calc(50% - 1px), var(--neon-yellow) calc(50% + 1px), transparent calc(50% + 1px)),
    /* bottom-left chamfer "\" — notch that closes the spine */
    linear-gradient(to top right, transparent calc(50% - 1px), var(--neon-yellow) calc(50% - 1px), var(--neon-yellow) calc(50% + 1px), transparent calc(50% + 1px));
  background-size:
    calc(100% - var(--fp-chamfer)) var(--fp-thick),
    var(--fp-thick) calc(100% - var(--fp-chamfer) * 2),
    var(--fp-chamfer) var(--fp-chamfer),
    var(--fp-chamfer) var(--fp-chamfer);
  background-position:
    right top,
    left var(--fp-chamfer),
    left top,
    left bottom;
}

/* Solid black anchor at the top-left origin corner (matches the header). */
.frame-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 12px;
  height: 12px;
  background: var(--night);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

/* Legacy stamped SVG art is replaced by the CSS frame above. */
.frame-panel-art {
  display: none;
}

/* Reactive frame override. The legacy gradient drawing above remains as a
   no-JavaScript fallback; stamped SVG geometry takes over when available. */
.frame-panel:has(> .frame-panel-art)::before {
  display: none;
}

.frame-panel:has(> .frame-panel-art)::after { display: none; }

.frame-panel > .frame-panel-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

.frame-panel-line,
.frame-panel-accent {
  fill: none;
  stroke: var(--frame-line);
  vector-effect: non-scaling-stroke;
}

.frame-panel-line { stroke-width: 0.75; }
.frame-panel-accent { stroke-width: 4; opacity: 1; }
.frame-panel-joint {
  fill: none;
  stroke: var(--frame-joint);
  stroke-width: 4;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
}

.frame-panel-bottom-right {
  stroke-width: 1.25;
}

.corner-frame-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.corner-frame-line,
.corner-frame-secondary,
.corner-frame-accent {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.corner-frame-line {
  stroke: var(--neon-yellow);
  stroke-width: 0.8;
}

.corner-frame-secondary {
  stroke: #d8dde5;
  stroke-width: 0.8;
  opacity: 0.76;
}

.corner-frame-accent {
  stroke: var(--neon-yellow);
  stroke-width: 4;
}

.frame-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.frame-panel p {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin: 12px 0 0;
  color: var(--ink-muted);
}

.frame-panel .btn {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.corner-frame {
  position: relative;
  min-height: 330px;
  padding: 58px 42px;
  aspect-ratio: 487 / 504;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.corner-frame::before,
.corner-frame::after {
  display: none;
}

.corner-frame h3 {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.corner-frame p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--ink-muted);
}

.corner-frame .btn {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Ribbons & strips
   -------------------------------------------------------------------------- */

.brand-ribbon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 78px;
  padding: 0 34px 0 84px;
  color: var(--neon-yellow);
  background: var(--night);
  clip-path: polygon(6% 8%, 100% 0, 98% 92%, 0 100%);
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-ribbon::before {
  position: absolute;
  left: 28px;
  top: 12px;
  content: "";
  width: 28px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  border-left: 2px solid rgba(255, 255, 255, 0.18);
}

.brand-ribbon::after {
  display: inline-grid;
  place-items: center;
  margin-left: 28px;
  width: 20px;
  height: 20px;
  content: "+";
  color: var(--neon-yellow);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.social-strip {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 40px;
  background: var(--neon-yellow);
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  border-left: 7px solid var(--night);
  overflow: hidden;
}

.social-strip::after {
  position: absolute;
  right: -30px;
  bottom: 0;
  content: "";
  width: 92px;
  height: 100%;
  background: var(--void-white);
  transform: skewX(28deg);
}

.icon-stack {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--night);
}

.mini-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: currentColor;
  font-size: 0;
}

.icon-triangle::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid currentColor;
}

.icon-chevron::before,
.icon-plus::before,
.icon-plus::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.icon-chevron::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.icon-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-plus::before {
  width: 12px;
  height: 2px;
}

.icon-plus::after {
  width: 2px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Imagery
   -------------------------------------------------------------------------- */

.image-panel {
  position: relative;
  padding: 16px;
  color: var(--void-white);
  background: var(--night);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-panel::before,
.image-panel::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.image-panel::before {
  inset: 0 0 auto auto;
  width: 114px;
  height: 54px;
  border-top: 8px solid var(--neon-yellow);
  border-right: 8px solid var(--neon-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 88% 100%, 88% 14%, 0 14%);
}

.image-panel::after {
  left: 20px;
  bottom: 18px;
  width: 58px;
  height: 34px;
  border: 1px solid var(--neon-yellow);
  opacity: 0.72;
}

.image-stage {
  position: relative;
  min-height: clamp(260px, 42vw, 430px);
  background:
    linear-gradient(90deg, rgba(13, 15, 20, 0.18), rgba(13, 15, 20, 0.02)),
    url("Inspiration/assetspng/Screenshot 2026-07-04 201302.png") center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.image-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 240, 255, 0.26), transparent 35%, rgba(255, 64, 255, 0.20)),
    radial-gradient(circle at 22% 18%, rgba(246, 255, 0, 0.22), transparent 22%);
  mix-blend-mode: screen;
}

.hud-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 9px;
  color: var(--neon-yellow);
  border: 1px solid currentColor;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chip-top {
  top: 18px;
  left: 18px;
}

.chip-bottom {
  right: 26px;
  bottom: 20px;
}

.image-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  color: var(--night);
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.image-labels i {
  width: 5px;
  height: 5px;
  background: var(--neon-yellow);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.principle-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.principle {
  min-width: 0;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: 0;
}

.principle-icon {
  position: relative;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--neon-yellow);
}

.principle h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.principle p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.icon-sun {
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: scale(0.46);
  box-shadow:
    0 -34px 0 -15px currentColor,
    0 34px 0 -15px currentColor,
    34px 0 0 -15px currentColor,
    -34px 0 0 -15px currentColor;
}

.icon-heart::before {
  position: absolute;
  inset: 5px;
  content: "";
  border: 2px solid currentColor;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 9px 0;
  transform: rotate(45deg);
}

.icon-arrow::before {
  position: absolute;
  inset: 5px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-target {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-target::before,
.icon-target::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.icon-target::before {
  left: 50%;
  top: -7px;
  width: 2px;
  height: 50px;
  transform: translateX(-50%);
}

.icon-target::after {
  top: 50%;
  left: -7px;
  width: 50px;
  height: 2px;
  transform: translateY(-50%);
}

.icon-bolt::before {
  position: absolute;
  inset: 0 8px;
  content: "";
  background: currentColor;
  clip-path: polygon(52% 0, 18% 52%, 46% 52%, 34% 100%, 82% 40%, 54% 40%);
}

.icon-lock::before {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 22px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-lock::after {
  position: absolute;
  left: 11px;
  top: 1px;
  width: 14px;
  height: 18px;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

/* --------------------------------------------------------------------------
   Utility note
   -------------------------------------------------------------------------- */

.utility-note {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--night);
  background: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   Site chrome: header
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  align-items: center;
  min-height: 78px;
  padding: 16px 0;
  border-top: 2px solid var(--neon-yellow);
}

.site-header::before,
.site-header::after {
  position: absolute;
  top: -2px;
  content: "";
  height: 22px;
  border-top: 2px solid var(--neon-yellow);
}

.site-header::before {
  left: -18px;
  width: 18px;
  border-left: 2px solid var(--neon-yellow);
  transform: skewY(-44deg);
  transform-origin: right top;
}

.site-header::after {
  right: -20px;
  width: 20px;
  border-right: 2px solid var(--neon-yellow);
  transform: skewY(-44deg);
  transform-origin: left top;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-logo img {
  width: auto;
  height: clamp(36px, 4.5vw, 52px);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(14px, 2vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--night);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  content: "";
  background: var(--neon-yellow);
  transition: right 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.header-tools {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
}

.lang-switch a {
  padding: 5px 9px;
  color: var(--ink-muted);
  border: 1px solid var(--line);
}

.lang-switch a + a {
  border-left: 0;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  color: var(--night);
  background: var(--neon-yellow);
  border-color: var(--neon-yellow);
}

/* --------------------------------------------------------------------------
   Site chrome: SVG rail header
   Uses the exported 1440 x 226 rail artwork as the visual shell, then layers
   the real logo and accessible link hit areas back over the artwork.
   -------------------------------------------------------------------------- */

.rail-svg-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: clamp(150px, 15vw, 220px) minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 54px);
  align-items: center;
  width: 100%;
  height: clamp(148px, 11vw, 184px);
  padding: 26px clamp(34px, 4.2vw, 74px) 24px;
  margin: 0 auto;
  isolation: isolate;
}

.rail-svg-header-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  overflow: visible;
  filter: drop-shadow(0 12px 12px rgba(13, 15, 20, 0.16));
}

.rail-svg-logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 210px;
  height: auto;
  padding: 0;
  transform: translateY(-6px);
}

.rail-svg-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.rail-svg-tagline {
  position: absolute;
  bottom: 12px;
  left: 25%;
  z-index: 3;
  display: block;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: clamp(0.48rem, 0.52vw, 0.58rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.rail-svg-mobile-title { display: none; }

.rail-svg-nav-wrap {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.rail-svg-nav-wrap > summary { display: none; }

.rail-svg-nav {
  display: flex;
  gap: clamp(14px, 1.65vw, 30px);
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.rail-svg-nav > a,
.rail-nav-menu > summary {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.rail-svg-nav > * + *::before {
  content: "/";
  position: absolute;
  left: calc(clamp(14px, 1.65vw, 30px) * -0.58);
  color: #89909c;
  font-weight: 500;
}

.rail-svg-nav > a[aria-current="page"]::after,
.rail-nav-menu[data-current="true"] > summary::after,
.rail-nav-menu[open] > summary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 4px;
  background: var(--neon-yellow);
}

.rail-svg-nav:has(.rail-nav-menu[open]) > a[aria-current="page"]::after,
.rail-svg-nav:has(.rail-nav-menu[open]) .rail-nav-menu[data-current="true"]:not([open]) > summary::after {
  display: none;
}

.rail-nav-menu {
  position: relative;
}

.rail-nav-menu > summary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  cursor: pointer;
}

.rail-nav-menu > summary::-webkit-details-marker { display: none; }

.rail-nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.rail-nav-menu[open] .rail-nav-caret {
  transform: translateY(2px) rotate(225deg);
}

.rail-nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 240px;
  padding: 8px;
  background: var(--night);
  border-top: 3px solid var(--neon-yellow);
  box-shadow: var(--shadow-tight);
  transform: translateX(-50%);
  pointer-events: auto;
  isolation: isolate;
}

.rail-nav-dropdown a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 13px 16px;
  color: white;
  border-left: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: auto;
}

.rail-nav-dropdown a:hover,
.rail-nav-dropdown a:focus-visible,
.rail-nav-dropdown a[aria-current="page"] {
  color: var(--neon-yellow);
  border-left-color: var(--neon-yellow);
  background: rgba(255, 255, 255, 0.06);
}

.rail-svg-tools {
  position: relative;
  z-index: 3;
  display: flex;
  gap: clamp(12px, 1.5vw, 22px);
  align-items: center;
}

.rail-svg-lang {
  display: inline-flex;
  padding: 3px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rail-svg-lang a {
  min-width: 34px;
  padding: 5px 8px;
  color: var(--ink-muted);
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.rail-svg-lang a[aria-current="true"] {
  color: white;
  background: var(--night);
}

.rail-svg-cta {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  background: var(--neon-yellow);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.rail-svg-cta::after {
  content: "→";
  font-size: 1.55rem;
  line-height: 1;
}

.rail-shell-surface { fill: white; }
.rail-shell-top,
.rail-shell-top-accent,
.rail-shell-top-secondary,
.rail-shell-bottom-grey-left,
.rail-shell-bottom-yellow,
.rail-shell-bottom-grey {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.rail-shell-top { stroke: var(--neon-yellow); stroke-width: 1.1; }
.rail-shell-top-accent { fill: none; stroke: var(--neon-yellow); stroke-width: 2.6; vector-effect: non-scaling-stroke; }
.rail-shell-top-secondary { stroke: var(--neon-yellow); stroke-width: 1.5; opacity: 0.74; }
.rail-shell-bottom-grey-left { stroke: #d8dde5; stroke-width: 1.2; opacity: 0.9; }
.rail-shell-bottom-yellow { stroke: var(--neon-yellow); stroke-width: 1.15; }
.rail-shell-bottom-grey { stroke: #c4cbd3; stroke-width: 1; }
.rail-shell-bottom-yellow[data-header-bottom-right] { stroke-width: 2; }
.rail-shell-corner { fill: var(--night); }
.rail-shell-left-anchor { fill: var(--night); }
.rail-shell-pips { fill: var(--neon-pink); }

.rail-svg-scroll {
  position: relative;
  z-index: 50;
  width: 100%;
  padding-bottom: clamp(12px, 1.5vw, 20px);
  overflow: visible;
}

.rail-svg-scroll--viewport {
  width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.temporary-contrast-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(13, 15, 20, 0.58);
  pointer-events: none;
}

@media (max-width: 1120px) {
  .rail-svg-header {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 18px;
    padding-inline: 34px;
  }

  .rail-svg-nav { gap: 14px; }
  .rail-svg-nav > a,
  .rail-nav-menu > summary { font-size: 0.78rem; }
  .rail-svg-nav > * + *::before { left: -10px; }
  .rail-svg-cta { gap: 12px; padding-inline: 15px; }
}

@media (max-width: 860px) {
  .rail-svg-header {
    grid-template-columns: minmax(108px, 118px) 1fr auto;
    gap: 12px;
    height: 118px;
    padding: 16px 20px 14px;
  }

  .rail-svg-logo {
    max-width: 118px;
    transform: translateY(-8px);
  }
  .rail-svg-tagline {
    right: 112px;
    bottom: 5px;
    left: 27%;
    display: block;
    max-width: none;
    font-size: 0.4rem;
    line-height: 1;
    white-space: nowrap;
  }

  .rail-svg-mobile-title {
    position: absolute;
    top: 48%;
    right: clamp(104px, 22vw, 180px);
    left: clamp(126px, 28vw, 260px);
    z-index: 3;
    display: block;
    overflow: hidden;
    color: var(--night);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 4.5vw, 2rem);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateY(-50%);
  }
  .rail-svg-nav-wrap { justify-self: end; }
  .rail-svg-nav-wrap > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 40px;
    padding: 0;
    color: white;
    background: var(--night);
    font-family: var(--font-display);
    list-style: none;
    cursor: pointer;
  }

  .rail-svg-nav-wrap > summary::-webkit-details-marker { display: none; }

  .rail-svg-hamburger {
    display: grid;
    width: 18px;
    height: 14px;
    align-content: space-between;
  }

  .rail-svg-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .rail-svg-nav-wrap[open] .rail-svg-hamburger span:first-child { transform: translateY(6px) rotate(45deg); }
  .rail-svg-nav-wrap[open] .rail-svg-hamburger span:nth-child(2) { opacity: 0; }
  .rail-svg-nav-wrap[open] .rail-svg-hamburger span:last-child { transform: translateY(-6px) rotate(-45deg); }

  .rail-svg-nav-wrap:not([open]) .rail-svg-nav { display: none; }
  .rail-svg-nav-wrap[open] .rail-svg-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 190px;
    padding: 14px;
    background: var(--night);
    box-shadow: var(--shadow-tight);
  }

  .rail-svg-nav > a,
  .rail-nav-menu > summary { color: white; padding: 7px 4px; }
  .rail-svg-nav > * + *::before { display: none; }
  .rail-svg-nav > a[aria-current="page"]::after,
  .rail-nav-menu[data-current="true"] > summary::after,
  .rail-nav-menu[open] > summary::after { bottom: 1px; }
  .rail-nav-menu { width: 100%; }
  .rail-nav-menu > summary {
    display: flex;
    justify-content: space-between;
  }
  .rail-nav-dropdown {
    position: static;
    min-width: 0;
    margin: 6px 0 4px;
    padding: 6px;
    border-top-width: 1px;
    background: #151820;
    box-shadow: none;
    transform: none;
  }
  .rail-nav-dropdown a {
    padding: 10px 12px;
    font-size: 0.68rem;
  }
  .rail-svg-tools { gap: 8px; }
  .rail-svg-lang { padding: 2px; border-radius: 6px; }
  .rail-svg-lang a {
    min-width: 27px;
    padding: 4px 5px;
    font-size: 0.6rem;
  }
  .rail-svg-cta { display: none; }
}

@media (max-width: 560px) {
  .rail-svg-header {
    grid-template-columns: minmax(96px, 105px) 1fr auto;
    gap: 8px;
    height: 106px;
    padding: 14px 16px 12px;
  }

  .rail-svg-logo { max-width: 105px; }
  .rail-svg-tagline {
    right: 82px;
    bottom: 4px;
    left: 26%;
    display: block;
    max-width: none;
    font-size: 0.34rem;
  }
  .rail-svg-nav-wrap > summary { width: 38px; min-height: 38px; }
  .rail-svg-lang a { min-width: 24px; padding-inline: 4px; }
}

/* --------------------------------------------------------------------------
   Site chrome: rail header ("Anime Interface Rail")
   White interface bar with rounded left / cut right corners, black anchors,
   and continuous yellow/grey rails stamped above and below via
   [data-art="header-rail-top"] / [data-art="header-rail-bottom"].
   -------------------------------------------------------------------------- */

.rail-header {
  position: relative;
  z-index: 5;
}

.header-rail {
  display: block;
  width: 100%;
  height: 34px;
  pointer-events: none;
}

.header-rail svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.header-rail-bottom {
  height: 26px;
  margin-top: 6px;
}

.rail-bar-wrap {
  filter: drop-shadow(0 16px 28px rgba(13, 15, 20, 0.12));
}

.rail-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(16px, 2.2vw, 30px);
  align-items: center;
  min-height: 118px;
  padding: 20px clamp(20px, 3vw, 40px) 18px clamp(22px, 3vw, 44px);
  background: var(--void-white);
  border-radius: 26px 0 0 26px;
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
}

/* Black anchor along the top-right diagonal cut */
.rail-bar::before {
  position: absolute;
  top: 13px;
  right: -7px;
  content: "";
  width: 58px;
  height: 8px;
  background: var(--night);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Black anchor bracket, bottom right */
.rail-bar::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  content: "";
  width: 30px;
  height: 24px;
  border-right: 6px solid var(--night);
  border-bottom: 6px solid var(--night);
  pointer-events: none;
}

.rail-brand {
  display: grid;
  gap: 8px;
  align-content: center;
  padding-right: clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line);
}

.rail-brand img {
  width: auto;
  height: clamp(60px, 6.5vw, 92px);
}

.rail-brand small {
  color: var(--ink-muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rail-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-nav li {
  position: relative;
  padding: 0 clamp(14px, 1.8vw, 26px);
}

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

/* Yellow dash crossing the divider at label height */
.rail-nav li + li::before {
  position: absolute;
  left: -8px;
  top: 17px;
  content: "";
  width: 16px;
  height: 3px;
  background: var(--neon-yellow);
}

.rail-nav a {
  display: grid;
  gap: 10px;
  color: var(--night);
}

.rail-nav .nav-label {
  justify-self: start;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.05vw, 0.98rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rail-nav a:hover .nav-label {
  box-shadow: inset 0 -3px 0 var(--neon-yellow);
}

.rail-nav .nav-sub {
  min-height: 0.95em;
  color: var(--ink-muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-nav .is-active .nav-label {
  padding: 8px 20px 9px 12px;
  margin: -8px 0 -9px -12px;
  background: var(--neon-yellow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
  box-shadow: none;
}

.rail-status {
  position: absolute;
  right: clamp(340px, 30vw, 470px);
  bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink-muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rail-status i {
  width: 8px;
  height: 8px;
  background: var(--neon-yellow);
  border-radius: 50%;
}

.rail-status strong {
  color: var(--night);
}

.rail-status .pulse {
  width: clamp(70px, 8vw, 120px);
  height: 20px;
}

.rail-status .pulse svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rail-tools {
  position: relative;
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: center;
  margin-left: auto;
  padding-top: 10px;
}

/* Grey hairline with cyan + pink accent rules above the toggle */
.rail-tools::before {
  position: absolute;
  top: 0;
  left: -34px;
  right: 6px;
  content: "";
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.rail-tools::after {
  position: absolute;
  top: 4px;
  left: -14px;
  content: "";
  width: 76px;
  height: 2px;
  background: var(--cyan-drive);
  box-shadow: 52px 5px 0 var(--neon-pink);
  pointer-events: none;
}

.rail-lang {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  background: var(--void-white);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.rail-lang a {
  padding: 5px 10px;
  color: var(--ink-muted);
  border-radius: 5px;
}

.rail-lang a[aria-current="true"] {
  color: var(--void-white);
  background: var(--night);
}

.rail-lang a:hover:not([aria-current="true"]) {
  color: var(--night);
}

.btn-start {
  position: relative;
  display: inline-block;
}

/* Chunky black offset shadow behind the yellow face */
.btn-start::before {
  position: absolute;
  inset: 9px -9px -9px 9px;
  content: "";
  background: var(--night);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.btn-start-face {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  max-width: 210px;
  padding: 10px 20px 10px 22px;
  color: var(--night);
  background: var(--neon-yellow);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.btn-start-face::after {
  content: "\2192";
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.btn-start:hover .btn-start-face::after {
  transform: translateX(4px);
}

/* Pink pip squares + yellow plus, bottom right of the bar */
.rail-pips {
  position: absolute;
  right: 110px;
  bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.rail-pips i {
  width: 6px;
  height: 6px;
  background: var(--neon-pink);
}

.rail-pips span {
  margin-left: 6px;
  color: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 1280px) {
  .rail-status {
    display: none;
  }
}

@media (max-width: 980px) {
  .rail-bar {
    border-radius: 18px;
    clip-path: none;
  }

  .rail-bar::before {
    display: none;
  }

  .rail-nav {
    order: 5;
    width: 100%;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .rail-nav li:first-child {
    padding-left: 0;
  }

  .rail-pips {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-rail {
    height: 22px;
  }

  .rail-nav .nav-sub {
    display: none;
  }

  .rail-brand {
    padding-right: 0;
    border-right: 0;
  }

  .rail-brand img {
    height: 40px;
  }

  .btn-start-face {
    min-height: 52px;
    max-width: none;
  }

  .rail-tools {
    width: 100%;
    justify-content: space-between;
  }

  .rail-tools::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Site chrome: hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding: clamp(52px, 9vw, 118px) 0 clamp(40px, 6vw, 72px);
}

.hero h1 {
  max-width: 950px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.2vw, 5.3rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 580px;
  margin: 0;
  color: var(--night);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Site chrome: trust bar
   -------------------------------------------------------------------------- */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 38px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 34px;
  color: var(--void-white);
  background: var(--night);
  clip-path: polygon(0 10%, 100% 0, 99.4% 90%, 0.5% 100%);
}

.trust-bar strong {
  color: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-bar span {
  color: var(--steel);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Cards: industry, step, example
   -------------------------------------------------------------------------- */

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  padding: 24px 20px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tight);
}

.industry-card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  content: "";
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--neon-yellow);
  border-left: 3px solid var(--neon-yellow);
}

.industry-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
}

.industry-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.industry-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  color: var(--night);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.industry-link::after {
  content: ">";
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.industry-link:hover::after {
  transform: translateX(3px);
}

.step-card {
  position: relative;
  min-width: 0;
  padding: 22px 20px 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-top: 3px solid var(--neon-yellow);
}

.step-num {
  display: block;
  color: var(--night);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 4px 4px 0 var(--neon-yellow);
}

.step-card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
}

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

.example-card {
  position: relative;
  min-width: 0;
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--neon-yellow);
  box-shadow: inset 0 0 0 1px var(--line);
}

.example-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 3px 8px;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.example-card p {
  margin: 0;
  color: var(--night);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Site chrome: CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: clamp(30px, 5vw, 54px) clamp(24px, 4vw, 60px);
  color: var(--void-white);
  background: var(--night);
  clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 calc(100% - 12px));
  overflow: hidden;
}

.cta-band::before {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 114px;
  height: 54px;
  border-top: 8px solid var(--neon-yellow);
  border-right: 8px solid var(--neon-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 88% 100%, 88% 14%, 0 14%);
  pointer-events: none;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.cta-band h2::after {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 12px;
  content: "";
  background: var(--neon-yellow);
}

.cta-band p {
  max-width: 640px;
  margin: 0;
  color: var(--steel);
}

.cta-band .btn {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Site chrome: footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  color: var(--steel);
  background: var(--night);
}

.footer-inner {
  display: grid;
  gap: 26px;
  padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 54px) 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--void-white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--neon-yellow);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.footer-book-cta {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 16px;
  color: var(--night);
  background: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.footer-book-cta:hover,
.footer-book-cta:focus-visible {
  background: var(--void-white);
}

.footer-book-cta span {
  font-size: 1.05rem;
}

.site-footer .lang-switch a {
  color: var(--steel);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-footer .lang-switch a:hover,
.site-footer .lang-switch a[aria-current="true"] {
  color: var(--night);
  background: var(--neon-yellow);
  border-color: var(--neon-yellow);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}

.footer-meta p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-links a:hover {
  color: var(--neon-yellow);
}

/* --------------------------------------------------------------------------
   Homepage source-of-truth compositions
   -------------------------------------------------------------------------- */

.homepage-source {
  position: relative;
  color: var(--night);
}

.homepage-source .home-section {
  padding: clamp(34px, 5.5vw, 64px) 0;
}

.homepage-source .home-rail {
  width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
  margin-left: 50%;
  padding-right: clamp(34px, 4.2vw, 74px);
  padding-left: clamp(34px, 4.2vw, 74px);
  box-sizing: border-box;
  transform: translateX(-50%);
}

.homepage-source .section-lead {
  max-width: 640px;
  margin: -12px 0 26px;
  color: var(--ink-muted);
}

/* Current image-led homepage hero. */
.homepage-source .hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: start;
  justify-items: stretch;
}

.homepage-source .hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
  min-width: 0;
}

.homepage-source .hero-media {
  display: grid;
  width: 100%;
  max-width: 760px;
  justify-self: end;
  align-content: start;
}

.homepage-source .hero-art-card {
  position: relative;
  width: 100%;
  padding: 0;
  color: var(--night);
  background: transparent;
  clip-path: none;
  box-shadow: none;
  overflow: visible;
}

.homepage-source .hero-art-card::before,
.homepage-source .hero-art-card::after,
.homepage-source .hero-art-card .image-stage::before {
  content: none;
}

.homepage-source .hero-art-frame {
  position: relative;
  padding: 5px;
  background: #23252a;
  clip-path: polygon(0 2%, 73% 2%, 75% 0, 92% 0, 95% 6%, 98% 6%, 100% 10%, 100% 96%, 98% 96%, 96% 100%, 64% 100%, 62% 98%, 8% 98%, 5% 94%, 5% 59%, 0 53%);
  isolation: isolate;
  overflow: hidden;
}

.homepage-source .hero-art-card .image-stage {
  min-height: clamp(300px, 31vw, 470px);
  background: linear-gradient(90deg, rgba(13, 15, 20, 0.18), rgba(13, 15, 20, 0.02)), url("images/hero.png") center / cover no-repeat;
  clip-path: polygon(0 1%, 73% 1%, 75% 0, 92% 0, 95% 6%, 98% 6%, 100% 10%, 100% 96%, 98% 96%, 96% 100%, 64% 100%, 62% 98%, 7% 98%, 4% 94%, 4% 59%, 0 54%);
}

.hero-frame-rail {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  width: 31%;
  height: 52px;
  pointer-events: none;
}

.hero-frame-rail::before,
.hero-frame-rail::after {
  position: absolute;
  content: "";
  background: var(--neon-yellow);
}

.hero-frame-rail::before {
  top: 0;
  right: 34px;
  width: calc(100% - 22px);
  height: 6px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}

.hero-frame-rail::after {
  top: 0;
  right: 0;
  width: 41px;
  height: 45px;
  clip-path: polygon(0 0, 14% 0, 100% 82%, 100% 100%, 86% 100%);
}

.hero-hud {
  position: absolute;
  z-index: 3;
  color: var(--neon-yellow);
  pointer-events: none;
}

.hero-hud-bars {
  top: 27px;
  left: 31px;
  display: grid;
  width: 52px;
  gap: 4px;
  padding: 6px 7px;
  border: 1px solid currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 0 100%);
  opacity: 0.82;
}

.hero-hud-bars span {
  display: block;
  height: 2px;
  background: currentColor;
}

.hero-hud-bars span:nth-child(2) { width: 72%; }
.hero-hud-bars span:nth-child(3) { width: 42%; }

.hero-hud-signal {
  top: 25px;
  right: 20%;
  display: grid;
  grid-template-columns: repeat(3, 9px);
  gap: 4px;
  opacity: 0.86;
}

.hero-hud-signal span {
  height: 3px;
  background: currentColor;
}

.hero-hud-signal span:nth-child(2),
.hero-hud-signal span:nth-child(5) { transform: translateX(4px); }

.hero-hud-plus {
  top: 58px;
  right: 18px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.hero-hud-edge {
  right: 34px;
  bottom: 12px;
  width: 82px;
  height: 20px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  clip-path: polygon(0 72%, 68% 72%, 78% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.82;
}

.hero-art-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.4vw, 18px);
  min-height: 52px;
  padding: 10px clamp(6px, 1.4vw, 18px) 0;
  color: var(--night);
  font-family: var(--font-display);
  font-size: clamp(0.64rem, 0.72vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-art-caption i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--neon-yellow);
  border-radius: 50%;
}

.hero-media-cta {
  margin-top: 14px;
  justify-self: start;
}

/* Pillar composition and restrained implementation imagery. */
.pillar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: clamp(700px, 44vw, 780px);
}

.pillar-grid .frame-panel {
  display: flex;
  min-height: 0;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 34px);
  flex-direction: column;
  align-items: flex-start;
}

.pillar-grid .frame-panel--primary { grid-row: 1 / 3; }
.pillar-grid .frame-panel .btn { margin-top: auto; }

.pillar-agent-media {
  position: relative;
  width: 100%;
  margin-top: 20px;
  padding: 4px;
  background: #23252a;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  isolation: isolate;
  overflow: hidden;
}

.pillar-agent-stage {
  width: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(90deg, rgba(13, 15, 20, 0.08), transparent 34%), url("images/agents.png") center / cover no-repeat;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.pillar-agent-media::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 27px;
  width: 29%;
  height: 4px;
  content: "";
  background: var(--neon-yellow);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}

.pillar-agent-hud {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  display: grid;
  width: 42px;
  gap: 3px;
  padding: 5px 6px;
  color: var(--neon-yellow);
  border: 1px solid currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 0 100%);
  opacity: 0.82;
}

.pillar-agent-hud span { height: 2px; background: currentColor; }
.pillar-agent-hud span:nth-child(2) { width: 68%; }
.pillar-agent-copy { max-width: 540px; margin-top: 20px; }

/* Four illustrated industry variants with distinct restrained cutouts. */
.industry-frame {
  min-height: 0;
  padding: clamp(38px, 4vw, 54px) clamp(30px, 4vw, 52px) clamp(34px, 4vw, 48px);
  aspect-ratio: auto;
  background: rgba(255, 255, 255, 0.78);
}

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

.industry-frame .industry-card {
  min-height: 430px;
  padding: 8px clamp(20px, 2.4vw, 34px) 4px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(239, 240, 0, 0.72);
  box-shadow: none;
}

.industry-frame .industry-card::before { display: none; }
.industry-frame .industry-card:first-child { padding-left: 0; }
.industry-frame .industry-card:last-child { padding-right: 0; border-right: 0; }

.industry-reasons-frame .industry-reason-card {
  min-height: 170px;
  justify-content: center;
}

.industry-reasons-frame .industry-reason-card p {
  max-width: 290px;
  color: var(--night);
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  font-weight: 800;
  line-height: 1.45;
}

.industry-visual {
  position: relative;
  width: 100%;
  height: clamp(170px, 16vw, 220px);
  margin-bottom: 12px;
  overflow: hidden;
}

.industry-visual::before {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 3px;
  content: "";
  background: var(--neon-yellow);
}

.industry-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-visual--real-estate { clip-path: polygon(0 0, 72% 0, 75% 12px, 88% 12px, 91% 0, 100% 0, 100% 100%, 0 100%); }
.industry-visual--real-estate::before { top: 0; right: 30%; }
.industry-visual--real-estate img { object-position: center 38%; }
.industry-visual--financial { clip-path: polygon(0 0, 100% 0, 100% 46%, calc(100% - 12px) 49%, calc(100% - 12px) 62%, 100% 65%, 100% 100%, 0 100%); }
.industry-visual--financial::before { top: 24%; right: 0; width: 3px; height: 40px; }
.industry-visual--hospitality { clip-path: polygon(0 0, 100% 0, 100% 100%, 58% 100%, 55% calc(100% - 12px), 48% calc(100% - 12px), 45% 100%, 0 100%); }
.industry-visual--hospitality::before { bottom: 0; left: 28%; }
.industry-visual--hospitality img { object-position: center 48%; }
.industry-visual--logistics { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 72%, 12px 68%, 12px 55%, 0 51%); }
.industry-visual--logistics::before { top: 26%; left: 0; width: 3px; height: 40px; }

/* Framed illustrative examples. */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.examples-grid .frame-panel {
  display: flex;
  min-height: 220px;
  padding: clamp(26px, 3vw, 36px);
  flex-direction: column;
  align-items: flex-start;
  background: var(--frame-surface);
  border: 0;
  box-shadow: none;
}

.examples-grid .example-tag { position: relative; z-index: 1; }

/* Rectangular full-width partner conversion band. */
.cta-band--rectangular {
  width: 100%;
  clip-path: none;
}

.homepage-source .home-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.homepage-source .home-full-bleed .cta-band {
  padding-right: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
  padding-left: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
}

/* Final conversion frame and form fields. */
.final-cta-frame {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  min-height: 0;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
  aspect-ratio: auto;
}

.final-cta-copy,
.final-cta-form { position: relative; z-index: 1; }

.final-cta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.final-form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--night);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.final-form-field--wide { grid-column: 1 / -1; }

.final-form-field input,
.final-form-field select,
.final-form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.final-form-field textarea { min-height: 132px; resize: vertical; }

.final-form-field input:focus,
.final-form-field select:focus,
.final-form-field textarea:focus {
  border-color: var(--neon-yellow);
  outline: none;
  box-shadow: inset 3px 0 0 var(--neon-yellow);
}

.final-cta-form .btn {
  grid-column: 1 / -1;
  margin-top: 4px;
  justify-self: start;
}

/* Full footer assembly used by the homepage. */
.footer-block {
  position: relative;
  width: 100vw;
  margin-top: clamp(44px, 7vw, 84px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.footer-block .social-strip {
  min-height: 44px;
  padding: 0 clamp(14px, 2vw, 30px);
  margin-bottom: -8px;
  background: transparent;
  border-left: 0;
  clip-path: none;
  isolation: isolate;
}

.footer-block .social-strip::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: clamp(170px, 15vw, 300px);
  content: "";
  background: var(--neon-yellow);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.footer-block .social-strip::after { display: none; }
.footer-block .icon-stack { position: relative; z-index: 3; gap: clamp(6px, 0.75vw, 11px); }
.footer-block .mini-icon { transform: scale(0.72); transform-origin: center; }
.footer-block .footer-rail { position: absolute; top: 0; right: 25%; left: clamp(150px, 13vw, 260px); z-index: 1; width: auto; height: 44px; aspect-ratio: auto; transform: none; }
.footer-block .footer-inner { width: min(100%, 1760px); margin-inline: auto; }

/* Catalogue-safe assembled blueprint surface. */
.homepage-blueprint {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  padding-top: 18px;
  transform: translateX(-50%);
  overflow: hidden;
  background: radial-gradient(circle at 1px 1px, rgba(246, 255, 0, 0.55) 1px, transparent 1.4px) 0 0 / 13px 13px, #fff;
}

.homepage-blueprint-page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* --------------------------------------------------------------------------
   Component responsive behavior
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .principle-grid,
  .principle-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle:nth-child(2n) {
    border-right: 0;
  }

  .principle:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  :root {
    --rail-height: 38px;
  }

  .btn {
    width: 100%;
  }

  .status-card,
  .data-module,
  .promise-card {
    grid-template-columns: 1fr;
  }

  .module-divider,
  .meta-table {
    border-left: 0;
    padding-left: 0;
  }

  .module-divider {
    width: 100%;
    min-height: 1px;
  }

  .stripe-bar {
    width: 48%;
  }

  .brand-ribbon {
    justify-content: center;
    padding: 0 24px;
    letter-spacing: 0.12em;
  }

  .brand-ribbon::before {
    display: none;
  }

  .social-strip {
    padding: 0 24px;
  }

  .image-stage {
    min-height: 250px;
  }

  .principle-grid,
  .principle-grid-4 {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle:nth-child(2n) {
    border-right: 0;
  }

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

  .site-header {
    padding-top: 20px;
  }

  .header-tools {
    width: 100%;
    margin-left: 0;
  }

  .header-tools .btn {
    width: auto;
    flex: 1;
  }

  .trust-bar,
  .footer-top,
  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 1120px) {
  .homepage-source .home-rail {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (max-width: 980px) {
  .homepage-source .hero,
  .pillar-grid,
  .examples-grid {
    grid-template-columns: 1fr;
  }

  .homepage-source .hero-media {
    max-width: none;
    justify-self: stretch;
  }

  .pillar-grid {
    grid-template-rows: none;
    min-height: 0;
  }

  .pillar-grid .frame-panel--primary { grid-row: auto; }
  .pillar-grid .frame-panel { min-height: 360px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-visual { height: 220px; }
  .final-cta-frame { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .homepage-source .home-rail {
    padding-right: 20px;
    padding-left: 20px;
  }
}

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

  .industry-frame .industry-card,
  .industry-frame .industry-card:first-child {
    min-height: 0;
    padding: 26px 0;
    border-top: 1px solid rgba(239, 240, 0, 0.72);
    border-right: 0;
  }

  .industry-frame .industry-card:first-child {
    padding-top: 8px;
    border-top: 0;
  }

  .industry-visual { height: clamp(210px, 58vw, 300px); }
  .final-cta-form { grid-template-columns: 1fr; }
  .final-form-field--wide,
  .final-cta-form .btn { grid-column: auto; }
}

@media (max-width: 560px) {
  .homepage-source .home-rail {
    padding-right: 16px;
    padding-left: 16px;
  }

  .homepage-source .hero-art-frame {
    padding: 4px;
    clip-path: polygon(0 2%, 70% 2%, 73% 0, 91% 0, 95% 6%, 100% 10%, 100% 97%, 96% 100%, 10% 100%, 6% 95%, 6% 62%, 0 56%);
  }

  .homepage-source .hero-art-card .image-stage {
    min-height: clamp(250px, 68vw, 340px);
    clip-path: polygon(0 1%, 70% 1%, 73% 0, 91% 0, 95% 6%, 100% 10%, 100% 97%, 96% 100%, 9% 100%, 5% 95%, 5% 62%, 0 57%);
  }

  .hero-frame-rail { width: 34%; height: 38px; }
  .hero-frame-rail::before { right: 25px; height: 4px; }
  .hero-frame-rail::after { width: 30px; height: 33px; }
  .hero-hud-bars { top: 20px; left: 20px; width: 40px; gap: 3px; padding: 5px 6px; }
  .hero-hud-signal,
  .hero-hud-edge { display: none; }
  .hero-hud-plus { top: 43px; right: 12px; font-size: 1.1rem; }
  .hero-art-caption { gap: 6px; min-height: 42px; padding: 8px 0 0; font-size: clamp(0.5rem, 2.25vw, 0.64rem); letter-spacing: 0; }
  .hero-art-caption i { width: 4px; height: 4px; flex-basis: 4px; }
  .pillar-agent-media { margin-top: 16px; padding: 3px; }
  .pillar-agent-stage { min-height: 0; aspect-ratio: 4 / 3; }
  .pillar-agent-hud { top: 14px; left: 14px; width: 34px; }
}

/* Production homepage composition (promoted from exploration source) */
/* Page-level composition only. All component styles come from
       ../design-system.css; SVG art and the dot-clouds background come
       from ../design-system-art.js. */

    /* Splash screen: ported from site/index.html (originally sourced from terminal-ascii-landing.html) */
    #splash-screen {
      --bg: #080a10;
      --panel: #0d111c;
      --pink: #ff3f98;
      --pink-soft: #d97888;
      --cyan: #37d8ff;
      --blue-shadow: #315baf;
      --deep-shadow: #151725;
      --yellow: #f6ff00;
      --muted: #838a99;
      --text: #e9edf4;
      --mono: "Cascadia Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

      position: relative;
      min-height: 100vh;
      padding: 0;
      border-bottom: none;
      background: var(--bg);
      color: var(--text);
      font-family: var(--mono);
      overflow-x: hidden;
      transition: opacity 320ms ease;
    }

    #splash-screen[hidden] {
      display: none;
    }

    html.splash-seen #splash-screen {
      display: none !important;
    }

    html.splash-seen #site-content[hidden] {
      display: block !important;
    }

    #splash-screen.is-exiting {
      opacity: 0;
      pointer-events: none;
    }

    #splash-screen::before,
    #splash-screen::after {
      position: absolute;
      inset: 0;
      pointer-events: none;
      content: "";
    }

    #splash-screen::before {
      z-index: 0;
      background:
        radial-gradient(circle at 28% 36%, rgba(255, 63, 152, 0.1), transparent 28%),
        radial-gradient(circle at 80% 18%, rgba(55, 216, 255, 0.06), transparent 30%),
        linear-gradient(180deg, #0c1018, #06070d 64%, #030409);
    }

    #splash-screen::after {
      z-index: 4;
      background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.034) 0 1px, transparent 1px 4px),
        radial-gradient(circle at 50% 48%, transparent 50%, rgba(0, 0, 0, 0.42) 100%);
      opacity: 0.48;
      mix-blend-mode: screen;
    }

    #splash-screen .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .terminal {
      position: relative;
      z-index: 1;
      display: grid;
      min-height: 100vh;
      max-width: none;
      margin-left: 0;
      margin-right: 0;
      padding: clamp(24px, 5vw, 76px);
      align-content: center;
    }

    .prompt-mark {
      display: inline-flex;
      gap: 0.65ch;
      align-items: baseline;
      color: var(--pink);
      font-size: clamp(1.72rem, 3.45vw, 3.1rem);
      font-weight: 900;
      line-height: 0.8;
      text-shadow:
        0 0 14px rgba(255, 63, 152, 0.48),
        3px 3px 0 rgba(255, 63, 152, 0.16);
      opacity: 0;
      animation: boot-fade-in 160ms ease-out 0ms forwards;
    }

    .boot {
      display: flex;
      flex-wrap: wrap;
      gap: 1ch;
      margin-top: clamp(16px, 2.8vw, 36px);
      color: var(--muted);
      font-size: clamp(0.78rem, 1.2vw, 1rem);
      font-weight: 800;
      opacity: 0;
      animation: boot-fade-in 160ms ease-out 80ms forwards;
    }

    .boot strong {
      color: var(--cyan);
    }

    .logo-shell {
      position: relative;
      width: min-content;
      max-width: 100%;
      margin-top: clamp(18px, 2.2vw, 30px);
      padding: 0;
      border-bottom: none;
      isolation: isolate;
      opacity: 0;
      animation: logo-reveal 420ms steps(20, end) 160ms forwards;
    }

    .ascii-layer {
      margin: 0;
      max-width: none;
      margin-left: 0;
      margin-right: 0;
      font-family: var(--mono);
      font-size: clamp(0.72rem, 1.72vw, 1.9rem);
      font-weight: 900;
      line-height: 0.8;
      letter-spacing: 0;
      white-space: pre;
      text-transform: uppercase;
      font-variant-ligatures: none;
      user-select: text;
    }

    .ascii-shadow,
    .ascii-cyan {
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
    }

    .ascii-shadow {
      color: var(--deep-shadow);
      transform: translate(0.5ch, 0.31em);
      text-shadow: 0 0 1px var(--deep-shadow);
    }

    .ascii-cyan {
      color: rgba(55, 216, 255, 0.24);
      transform: translate(-0.16ch, 0.13em);
    }

    .ascii-main {
      position: relative;
      z-index: 1;
      color: var(--pink);
      text-shadow:
        0 0 1px var(--pink),
        0 0 12px rgba(255, 63, 152, 0.34),
        0.14ch 0.12em 0 rgba(255, 63, 152, 0.18);
    }

    .ascii-offset-lines {
      position: absolute;
      inset: 0;
      z-index: 0;
      color: #9b236f;
      pointer-events: none;
    }

    .terminal-input {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65ch;
      align-items: baseline;
      margin-top: clamp(20px, 2.6vw, 34px);
      font-size: clamp(0.86rem, 1.34vw, 1.15rem);
      font-weight: 800;
      opacity: 0;
      animation: boot-fade-in 160ms ease-out 620ms forwards;
    }

    .terminal-input .path {
      color: var(--yellow);
      text-shadow: 0 0 9px rgba(246, 255, 0, 0.35);
    }

    .terminal-input .cmd {
      color: var(--text);
    }

    .cursor {
      width: 0.72ch;
      height: 1.05em;
      background: var(--pink);
      box-shadow: 0 0 14px rgba(255, 63, 152, 0.7);
      transform: translateY(0.16em);
      animation: blink 1s steps(1, end) infinite;
    }

    @keyframes blink {
      0%,
      48% {
        opacity: 1;
      }

      49%,
      100% {
        opacity: 0;
      }
    }

    @keyframes boot-fade-in {
      from {
        opacity: 0;
        transform: translateY(4px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes logo-reveal {
      from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
      }

      to {
        opacity: 1;
        clip-path: inset(0 0 0% 0);
      }
    }

    @media (max-width: 980px) {
      .ascii-layer {
        font-size: clamp(0.42rem, 1.72vw, 0.98rem);
      }
    }

    @media (max-width: 620px) {
      .terminal {
        padding: 22px 14px;
      }

      .boot {
        margin-top: 24px;
      }

      .ascii-layer {
        font-size: clamp(0.2rem, 1.82vw, 0.46rem);
      }

      .terminal-input {
        white-space: normal;
      }
    }

    body {
      background: var(--void-white);
      overflow-x: hidden;
    }

    .page {
      position: relative;
      z-index: 1;
      width: min(100%, var(--max-width));
      margin: 0 auto;
      padding: 18px var(--page-pad) 0;
    }

    /* Header rail breaks out of the page column to span the viewport,
       like the reference art */
    .rail-header {
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      padding-left: clamp(12px, 2vw, 30px);
      padding-right: clamp(12px, 2vw, 30px);
    }

    /* The hero and partnership band share the header's viewport rail width.
       Matching the header's inner padding aligns copy with the logo. */
    .hero,
    #trust-bar {
      width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
      margin-left: 50%;
      transform: translateX(-50%);
      box-sizing: border-box;
    }

    .hero {
      grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
      align-items: start;
      justify-items: stretch;
      padding-right: clamp(34px, 4.2vw, 74px);
      padding-left: clamp(34px, 4.2vw, 74px);
    }

    .hero-copy {
      display: grid;
      gap: 22px;
      justify-items: start;
      min-width: 0;
    }

    .hero-media {
      display: grid;
      width: 100%;
      max-width: 760px;
      justify-self: end;
      align-content: start;
    }

    .hero .image-panel {
      width: 100%;
      max-width: none;
      justify-self: stretch;
    }

    .hero .hero-art-card {
      position: relative;
      padding: 0;
      color: var(--night);
      background: transparent;
      clip-path: none;
      box-shadow: none;
      overflow: visible;
    }

    .hero .hero-art-card::before,
    .hero .hero-art-card::after {
      content: none;
    }

    .hero-art-frame {
      position: relative;
      padding: 5px;
      background: #23252a;
      clip-path: polygon(
        0 2%, 73% 2%, 75% 0, 92% 0,
        95% 6%, 98% 6%, 100% 10%,
        100% 96%, 98% 96%, 96% 100%,
        64% 100%, 62% 98%, 8% 98%,
        5% 94%, 5% 59%, 0 53%
      );
      isolation: isolate;
      overflow: hidden;
    }

    .hero .image-stage {
      min-height: clamp(300px, 31vw, 470px);
      background:
        linear-gradient(90deg, rgba(13, 15, 20, 0.18), rgba(13, 15, 20, 0.02)),
        url("images/hero.png") center / cover no-repeat;
      clip-path: polygon(
        0 1%, 73% 1%, 75% 0, 92% 0,
        95% 6%, 98% 6%, 100% 10%,
        100% 96%, 98% 96%, 96% 100%,
        64% 100%, 62% 98%, 7% 98%,
        4% 94%, 4% 59%, 0 54%
      );
    }

    .hero .image-stage::before {
      content: none;
    }

    .hero-frame-rail {
      position: absolute;
      z-index: 5;
      top: 0;
      right: 0;
      width: 31%;
      height: 52px;
      pointer-events: none;
    }

    .hero-frame-rail::before,
    .hero-frame-rail::after {
      position: absolute;
      content: "";
      background: var(--neon-yellow);
    }

    .hero-frame-rail::before {
      top: 0;
      right: 34px;
      width: calc(100% - 22px);
      height: 6px;
      clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-frame-rail::after {
      top: 0;
      right: 0;
      width: 41px;
      height: 45px;
      clip-path: polygon(0 0, 14% 0, 100% 82%, 100% 100%, 86% 100%);
    }

    .hero-hud {
      position: absolute;
      z-index: 3;
      color: var(--neon-yellow);
      pointer-events: none;
    }

    .hero-hud-bars {
      top: 27px;
      left: 31px;
      display: grid;
      width: 52px;
      gap: 4px;
      padding: 6px 7px;
      border: 1px solid currentColor;
      clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 0 100%);
      opacity: 0.82;
    }

    .hero-hud-bars span {
      display: block;
      height: 2px;
      background: currentColor;
    }

    .hero-hud-bars span:nth-child(2) {
      width: 72%;
    }

    .hero-hud-bars span:nth-child(3) {
      width: 42%;
    }

    .hero-hud-signal {
      top: 25px;
      right: 20%;
      display: grid;
      grid-template-columns: repeat(3, 9px);
      gap: 4px;
      opacity: 0.86;
    }

    .hero-hud-signal span {
      height: 3px;
      background: currentColor;
    }

    .hero-hud-signal span:nth-child(2),
    .hero-hud-signal span:nth-child(5) {
      transform: translateX(4px);
    }

    .hero-hud-plus {
      top: 58px;
      right: 18px;
      font-family: Consolas, "Courier New", monospace;
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1;
      text-shadow: 0 0 12px rgba(239, 240, 0, 0.28);
    }

    .hero-hud-edge {
      right: 34px;
      bottom: 12px;
      width: 82px;
      height: 20px;
      border-right: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      clip-path: polygon(0 72%, 68% 72%, 78% 0, 100% 0, 100% 100%, 0 100%);
      opacity: 0.82;
    }

    .hero-art-caption {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: clamp(8px, 1.4vw, 18px);
      min-height: 52px;
      padding: 10px clamp(6px, 1.4vw, 18px) 0;
      color: var(--night);
      font-family: var(--font-display);
      font-size: clamp(0.64rem, 0.72vw, 0.78rem);
      font-weight: 800;
      letter-spacing: 0.035em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .hero-art-caption i {
      width: 6px;
      height: 6px;
      flex: 0 0 6px;
      background: var(--neon-yellow);
      border-radius: 50%;
    }

    .hero-media-cta {
      margin-top: 14px;
      justify-self: start;
    }

    #trust-bar .trust-bar {
      width: 100%;
      clip-path: none;
    }

    .home-section {
      padding: clamp(34px, 5.5vw, 64px) 0;
    }

    .home-section > p.section-lead {
      max-width: 640px;
      margin: -12px 0 26px;
      color: var(--ink-muted);
    }

    #partner-cta {
      width: 100vw;
      margin-left: calc(50% - 50vw);
    }

    #partner-cta .cta-band {
      width: 100%;
      padding-right: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
      padding-left: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
      clip-path: none;
    }

    .pillar-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
      grid-template-rows: repeat(2, minmax(0, 1fr));
      gap: 18px;
      min-height: clamp(700px, 44vw, 780px);
    }

    .pillar-grid .frame-panel {
      display: flex;
      min-height: 0;
      padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 34px);
      flex-direction: column;
      align-items: flex-start;
    }

    #pillars,
    #case-studies-teaser,
    #final-cta {
      width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
      margin-left: 50%;
      padding-right: clamp(34px, 4.2vw, 74px);
      padding-left: clamp(34px, 4.2vw, 74px);
      box-sizing: border-box;
      transform: translateX(-50%);
    }

    #pillar-implementations {
      grid-row: 1 / 3;
    }

    #pillar-implementations p {
      max-width: 480px;
    }

    .pillar-agent-media {
      position: relative;
      width: 100%;
      margin-top: 20px;
      padding: 4px;
      background: #23252a;
      clip-path: polygon(
        0 0, calc(100% - 28px) 0, 100% 28px,
        100% 100%, 18px 100%, 0 calc(100% - 18px)
      );
      isolation: isolate;
      overflow: hidden;
    }

    .pillar-agent-stage {
      width: 100%;
      min-height: 240px;
      aspect-ratio: 16 / 9;
      background:
        linear-gradient(90deg, rgba(13, 15, 20, 0.08), transparent 34%),
        url("images/agents.png") center / cover no-repeat;
      clip-path: polygon(
        0 0, calc(100% - 25px) 0, 100% 25px,
        100% 100%, 15px 100%, 0 calc(100% - 15px)
      );
    }

    .pillar-agent-media::before {
      position: absolute;
      z-index: 3;
      top: 0;
      right: 27px;
      width: 29%;
      height: 4px;
      content: "";
      background: var(--neon-yellow);
      clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
      pointer-events: none;
    }

    .pillar-agent-hud {
      position: absolute;
      z-index: 3;
      top: 20px;
      left: 20px;
      display: grid;
      width: 42px;
      gap: 3px;
      padding: 5px 6px;
      color: var(--neon-yellow);
      border: 1px solid currentColor;
      clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 0 100%);
      opacity: 0.82;
      pointer-events: none;
    }

    .pillar-agent-hud span {
      height: 2px;
      background: currentColor;
    }

    .pillar-agent-hud span:nth-child(2) {
      width: 68%;
    }

    #pillar-implementations .pillar-agent-copy {
      max-width: 540px;
      margin-top: 20px;
    }

    .pillar-grid .frame-panel .btn {
      margin-top: auto;
    }

    .pillar-grid .frame-panel:not(#pillar-implementations) h3 {
      font-size: clamp(1.35rem, 2.2vw, 2rem);
    }

    .pillar-grid .frame-panel:not(#pillar-implementations) p {
      max-width: 620px;
    }

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

    #industries {
      width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
      margin-left: 50%;
      padding-right: clamp(34px, 4.2vw, 74px);
      padding-left: clamp(34px, 4.2vw, 74px);
      box-sizing: border-box;
      transform: translateX(-50%);
    }

    .industry-frame {
      min-height: 0;
      padding: clamp(38px, 4vw, 54px) clamp(30px, 4vw, 52px) clamp(34px, 4vw, 48px);
      aspect-ratio: auto;
      background: rgba(255, 255, 255, 0.78);
      clip-path: polygon(
        23px 8px,
        88% 8px,
        calc(88% + 12px) 0,
        100% 0,
        100% 100%,
        4px 100%,
        4px calc(42% + 9px),
        11px 42%,
        11px 20px
      );
    }

    .industry-frame .section-title {
      position: relative;
      z-index: 1;
      margin-bottom: clamp(24px, 3vw, 38px);
      font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    }

    .industry-frame .industry-card {
      min-height: 430px;
      padding: 8px clamp(20px, 2.4vw, 34px) 4px;
      background: transparent;
      border: 0;
      border-right: 1px solid rgba(239, 240, 0, 0.72);
      box-shadow: none;
    }

    .industry-frame .industry-card::before {
      display: none;
    }

    .industry-frame .industry-card:first-child {
      padding-left: 0;
    }

    .industry-frame .industry-card:last-child {
      padding-right: 0;
      border-right: 0;
    }

    .industry-visual {
      position: relative;
      width: 100%;
      height: clamp(170px, 16vw, 220px);
      margin-bottom: 12px;
      overflow: hidden;
    }

    .industry-visual::before {
      position: absolute;
      z-index: 2;
      width: 48px;
      height: 3px;
      content: "";
      background: var(--neon-yellow);
      pointer-events: none;
    }

    .industry-visual img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    #industry-real-estate .industry-visual {
      clip-path: polygon(
        0 0, 72% 0, 75% 12px, 88% 12px, 91% 0,
        100% 0, 100% 100%, 0 100%
      );
    }

    #industry-real-estate .industry-visual::before {
      top: 0;
      right: 30%;
    }

    #industry-financial-services .industry-visual {
      clip-path: polygon(
        0 0, 100% 0, 100% 46%, calc(100% - 12px) 49%,
        calc(100% - 12px) 62%, 100% 65%, 100% 100%, 0 100%
      );
    }

    #industry-financial-services .industry-visual::before {
      right: 0;
      top: 24%;
      width: 3px;
      height: 40px;
    }

    #industry-hospitality .industry-visual {
      clip-path: polygon(
        0 0, 100% 0, 100% 100%, 58% 100%,
        55% calc(100% - 12px), 48% calc(100% - 12px),
        45% 100%, 0 100%
      );
    }

    #industry-hospitality .industry-visual::before {
      bottom: 0;
      left: 28%;
    }

    #industry-logistics .industry-visual {
      clip-path: polygon(
        0 0, 100% 0, 100% 100%, 0 100%,
        0 72%, 12px 68%, 12px 55%, 0 51%
      );
    }

    #industry-logistics .industry-visual::before {
      top: 26%;
      left: 0;
      width: 3px;
      height: 40px;
    }

    #industry-real-estate .industry-visual img {
      object-position: center 38%;
    }

    #industry-financial-services .industry-visual img {
      object-position: center 50%;
    }

    #industry-hospitality .industry-visual img {
      object-position: center 48%;
    }

    #industry-logistics .industry-visual img {
      object-position: center 50%;
    }

    .industry-frame .industry-card h3 {
      font-size: clamp(0.88rem, 1.2vw, 1.05rem);
    }

    .industry-frame .industry-card p {
      max-width: 260px;
      font-size: clamp(0.76rem, 1vw, 0.88rem);
    }

    .icon-industry-building {
      width: 30px;
      height: 34px;
      margin-left: 2px;
      border: 2px solid currentColor;
      box-shadow: inset 0 -7px 0 -5px currentColor;
    }

    .icon-industry-building::before {
      position: absolute;
      top: 6px;
      left: 6px;
      width: 4px;
      height: 4px;
      content: "";
      background: currentColor;
      box-shadow: 10px 0 currentColor, 0 9px currentColor, 10px 9px currentColor;
    }

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

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

    .examples-grid .frame-panel {
      display: flex;
      min-height: 220px;
      padding: clamp(26px, 3vw, 36px);
      flex-direction: column;
      align-items: flex-start;
      background: var(--frame-surface);
      border: 0;
      box-shadow: none;
    }

    .examples-grid .example-tag {
      position: relative;
      z-index: 1;
    }

    .workshop-split {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      gap: clamp(24px, 4vw, 48px);
      align-items: center;
    }

    .workshop-split p {
      max-width: 520px;
      margin: 0 0 22px;
      color: var(--ink-muted);
    }

    #final-cta .corner-frame {
      display: grid;
      grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
      gap: clamp(36px, 6vw, 84px);
      align-items: start;
      min-height: 0;
      aspect-ratio: auto;
      padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
    }

    .final-cta-copy,
    .final-cta-form {
      position: relative;
      z-index: 1;
    }

    .final-cta-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      width: 100%;
    }

    .final-form-field {
      display: grid;
      gap: 7px;
      min-width: 0;
      color: var(--night);
      font-family: var(--font-display);
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.035em;
      text-transform: uppercase;
    }

    .final-form-field--wide {
      grid-column: 1 / -1;
    }

    .final-form-field input,
    .final-form-field select,
    .final-form-field textarea {
      width: 100%;
      min-height: 52px;
      padding: 13px 15px;
      color: var(--night);
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid var(--line);
      border-radius: 0;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0;
      text-transform: none;
      transition: border-color 160ms ease, box-shadow 160ms ease;
    }

    .final-form-field textarea {
      min-height: 132px;
      resize: vertical;
    }

    .final-form-field input:focus,
    .final-form-field select:focus,
    .final-form-field textarea:focus {
      border-color: var(--neon-yellow);
      outline: none;
      box-shadow: inset 3px 0 0 var(--neon-yellow);
    }

    .final-cta-form .btn {
      grid-column: 1 / -1;
      margin-top: 4px;
      justify-self: start;
    }

    .footer-block {
      width: 100vw;
      margin-top: clamp(44px, 7vw, 84px);
      margin-left: 50%;
      transform: translateX(-50%);
    }

    .footer-block .social-strip {
      min-height: 44px;
      padding: 0 clamp(14px, 2vw, 30px);
      margin-bottom: -8px;
      background: transparent;
      border-left: 0;
      clip-path: none;
      isolation: isolate;
    }

    .footer-block .social-strip::before {
      position: absolute;
      inset: 0 auto 0 0;
      z-index: 2;
      width: clamp(170px, 15vw, 300px);
      content: "";
      background: var(--neon-yellow);
      clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
    }

    .footer-block .social-strip::after {
      display: none;
    }

    .footer-block .icon-stack {
      position: relative;
      z-index: 3;
      gap: clamp(6px, 0.75vw, 11px);
    }

    .footer-block .mini-icon {
      transform: scale(0.72);
      transform-origin: center;
    }

    .footer-block .footer-rail {
      position: absolute;
      top: 0;
      right: 25%;
      left: clamp(150px, 13vw, 260px);
      z-index: 1;
      width: auto;
      height: 44px;
      aspect-ratio: auto;
      transform: none;
    }

    .footer-block .footer-inner {
      width: min(100%, 1760px);
      margin-inline: auto;
    }

    @media (max-width: 1120px) {
      .hero {
        padding-right: 34px;
        padding-left: 34px;
      }

      #pillars,
      #case-studies-teaser,
      #final-cta {
        padding-right: 34px;
        padding-left: 34px;
      }

      #industries {
        padding-right: 34px;
        padding-left: 34px;
      }
    }

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

      .hero .image-panel {
        max-width: none;
        justify-self: stretch;
      }

      .hero-media {
        max-width: none;
        justify-self: stretch;
      }

      .pillar-grid,
      .workshop-split,
      .examples-grid {
        grid-template-columns: 1fr;
      }

      .pillar-grid {
        grid-template-rows: none;
        min-height: 0;
      }

      #pillar-implementations {
        grid-row: auto;
      }

      .pillar-grid .frame-panel {
        min-height: 360px;
      }

      #final-cta .corner-frame {
        grid-template-columns: 1fr;
      }

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

      .industry-visual {
        height: 220px;
      }

      .industry-frame .industry-card:nth-child(2) {
        border-right: 0;
      }

      .industry-frame .industry-card:nth-child(n + 3) {
        padding-top: 28px;
        border-top: 1px solid rgba(239, 240, 0, 0.72);
      }

      .industry-frame .industry-card:nth-child(3) {
        padding-left: 0;
      }
    }

    @media (max-width: 860px) {
      .hero {
        padding-right: 20px;
        padding-left: 20px;
      }

      #pillars,
      #case-studies-teaser,
      #final-cta {
        padding-right: 20px;
        padding-left: 20px;
      }

      #industries {
        padding-right: 20px;
        padding-left: 20px;
      }
    }

    @media (max-width: 560px) {
      .hero {
        padding-right: 16px;
        padding-left: 16px;
      }

      .hero-art-frame {
        padding: 4px;
        clip-path: polygon(
          0 2%, 70% 2%, 73% 0, 91% 0,
          95% 6%, 100% 10%, 100% 97%,
          96% 100%, 10% 100%, 6% 95%,
          6% 62%, 0 56%
        );
      }

      .hero .image-stage {
        min-height: clamp(250px, 68vw, 340px);
        clip-path: polygon(
          0 1%, 70% 1%, 73% 0, 91% 0,
          95% 6%, 100% 10%, 100% 97%,
          96% 100%, 9% 100%, 5% 95%,
          5% 62%, 0 57%
        );
      }

      .hero-frame-rail {
        width: 34%;
        height: 38px;
      }

      .hero-frame-rail::before {
        right: 25px;
        height: 4px;
      }

      .hero-frame-rail::after {
        width: 30px;
        height: 33px;
      }

      .hero-hud-bars {
        top: 20px;
        left: 20px;
        width: 40px;
        gap: 3px;
        padding: 5px 6px;
      }

      .hero-hud-signal,
      .hero-hud-edge {
        display: none;
      }

      .hero-hud-plus {
        top: 43px;
        right: 12px;
        font-size: 1.1rem;
      }

      .hero-art-caption {
        gap: 6px;
        min-height: 42px;
        padding: 8px 0 0;
        font-size: clamp(0.5rem, 2.25vw, 0.64rem);
        letter-spacing: 0;
      }

      .hero-art-caption i {
        width: 4px;
        height: 4px;
        flex-basis: 4px;
      }

      .pillar-agent-media {
        margin-top: 16px;
        padding: 3px;
      }

      .pillar-agent-stage {
        min-height: 0;
        aspect-ratio: 4 / 3;
      }

      .pillar-agent-hud {
        top: 14px;
        left: 14px;
        width: 34px;
      }

      #pillars,
      #case-studies-teaser,
      #final-cta {
        padding-right: 16px;
        padding-left: 16px;
      }

      #industries {
        padding-right: 16px;
        padding-left: 16px;
      }
    }

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

      .industry-frame .industry-card,
      .industry-frame .industry-card:first-child,
      .industry-frame .industry-card:nth-child(3) {
        min-height: 0;
        padding: 26px 0;
        border-top: 1px solid rgba(239, 240, 0, 0.72);
        border-right: 0;
      }

      .industry-frame .industry-card:first-child {
        padding-top: 8px;
        border-top: 0;
      }

      .industry-visual {
        height: clamp(210px, 58vw, 300px);
      }

      .final-cta-form {
        grid-template-columns: 1fr;
      }

      .final-form-field--wide,
      .final-cta-form .btn {
        grid-column: auto;
      }

      .page {
        padding-top: 14px;
      }
    }

/* Production page archetypes -------------------------------------------------
   Reusable page composition belongs here rather than in generated pages. */

.production-page {
  min-width: 320px;
  min-height: 100%;
  color: var(--night);
  background: var(--void-white);
}

.production-page #site-content,
.production-page .page {
  min-height: 100vh;
}

.site-main--landing,
.site-main--detail,
.site-main--contact,
.site-main--legal {
  display: grid;
  gap: clamp(64px, 7vw, 116px);
  width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
  margin: clamp(44px, 5vw, 84px) 50% clamp(88px, 9vw, 148px);
  padding-inline: clamp(34px, 4.2vw, 74px);
  box-sizing: border-box;
  transform: translateX(-50%);
}

.site-main--landing > section,
.site-main--detail > section,
.site-main--contact > section,
.site-main--legal > section {
  min-width: 0;
}

.page-hero {
  display: grid;
  gap: clamp(18px, 2.5vw, 30px);
  min-height: clamp(300px, 34vw, 520px);
  padding: clamp(36px, 6vw, 92px);
  align-content: end;
  background:
    linear-gradient(135deg, rgba(239, 240, 0, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.82);
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: clamp(34px, 8vw, 130px);
  width: clamp(74px, 12vw, 190px);
  height: 4px;
  background: var(--neon-yellow);
  content: "";
}

.page-hero h1 {
  max-width: 1120px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

.page-hero .btn {
  justify-self: start;
}

.page-hero--flat {
  background: transparent;
}

.page-hero--workshop {
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(36px, 4.5vw, 72px);
  min-height: clamp(460px, 34vw, 580px);
  padding: clamp(32px, 4vw, 62px);
  align-content: center;
  align-items: center;
  background: transparent;
}

.page-hero--workshop::after {
  display: none;
}

.workshop-hero-media {
  position: relative;
  width: min(100%, 360px);
  padding: 2px;
  justify-self: start;
  background: var(--night);
  clip-path: polygon(
    0 0,
    68% 0,
    72% 12px,
    88% 12px,
    92% 0,
    100% 0,
    100% 100%,
    10% 100%,
    0 calc(100% - 20px),
    0 66%,
    14px 62%,
    14px 48%,
    0 44%
  );
}

.workshop-hero-media::before {
  position: absolute;
  top: 0;
  left: 12%;
  z-index: 2;
  width: 34%;
  height: 3px;
  background: var(--neon-yellow);
  content: "";
  pointer-events: none;
}

.workshop-hero-media::after {
  position: absolute;
  bottom: 14%;
  left: 0;
  z-index: 2;
  width: 3px;
  height: 44px;
  background: var(--neon-yellow);
  content: "";
  pointer-events: none;
}

.workshop-hero-media picture {
  display: block;
}

.workshop-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  clip-path: polygon(
    0 0,
    68% 0,
    72% 10px,
    88% 10px,
    92% 0,
    100% 0,
    100% 100%,
    10% 100%,
    0 calc(100% - 18px),
    0 66%,
    12px 62%,
    12px 48%,
    0 44%
  );
}

.workshop-hero-copy {
  display: grid;
  gap: clamp(18px, 2.5vw, 30px);
  align-content: center;
}

.page-hero--workshop h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 4vw, 4.8rem);
}

.page-hero--workshop p {
  max-width: 690px;
}

.page-hero--implementation .implementation-hero-media {
  width: min(100%, 420px);
}

.page-hero--implementation .implementation-hero-media img {
  aspect-ratio: 1;
  object-fit: cover;
}

.page-hero--audit {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.page-hero--audit::after {
  display: none;
}

.page-hero--audit h1 {
  max-width: 840px;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
}

.page-hero--audit .audit-hero-media {
  width: min(100%, 480px);
}

.page-hero--audit .audit-hero-media img {
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center center;
}

.section-heading {
  max-width: 1100px;
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.1vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-heading::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--neon-yellow);
  content: "";
}

.section-intro {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.3vw, 34px);
}

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

.content-card {
  display: flex;
  min-height: 260px;
  padding: clamp(28px, 3vw, 46px);
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.8);
}

.content-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.content-card p {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
}

.content-card .btn {
  margin-top: auto;
}

.text-center {
  text-align: center;
  align-items: center;
}

.list-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-cards li {
  position: relative;
  min-height: 92px;
  padding: 26px 30px 26px 54px;
  border: 1px solid rgba(16, 18, 23, 0.14);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 650;
  line-height: 1.45;
}

.list-cards li::before {
  position: absolute;
  top: 32px;
  left: 26px;
  width: 9px;
  height: 9px;
  background: var(--neon-yellow);
  content: "";
}

.cta-band--rectangular {
  width: 100%;
  min-height: clamp(300px, 31vw, 470px);
  padding: clamp(42px, 6vw, 92px);
  clip-path: none;
  box-sizing: border-box;
}

.final-cta-simple {
  display: grid;
  min-height: 340px;
  padding: clamp(42px, 6vw, 92px);
  align-content: center;
  background: rgba(255, 255, 255, 0.82);
}

.final-cta-simple h2 {
  max-width: 900px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.final-cta-simple p {
  max-width: 680px;
  color: var(--muted);
}

.final-cta-simple > a {
  display: inline-flex;
  width: fit-content;
  min-height: var(--button-height);
  margin-top: 20px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: var(--night);
  background: var(--neon-yellow);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-main--contact > section:nth-child(2) {
  padding: clamp(34px, 5vw, 76px);
  border: 1px solid rgba(16, 18, 23, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.site-main--contact .final-cta-form {
  max-width: none;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  max-width: 860px;
  margin: 0;
  border-top: 1px solid rgba(16, 18, 23, 0.16);
}

.contact-details dt,
.contact-details dd {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 18, 23, 0.16);
}

.contact-details dt {
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details a { color: inherit; }

.form-availability {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid var(--neon-yellow);
  color: var(--night);
  background: rgba(239, 240, 0, 0.12);
  line-height: 1.5;
}

.form-availability[hidden] { display: none; }

.illustrative-label,
.example-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-main--landing,
  .site-main--detail,
  .site-main--contact,
  .site-main--legal {
    gap: 70px;
    padding-inline: 22px;
  }

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

  .page-hero--workshop {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 28px;
  }

  .workshop-hero-media {
    width: min(100%, 320px);
  }

  .page-hero--implementation .implementation-hero-media {
    width: min(100%, 360px);
  }

  .page-hero--audit {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 34px 28px;
  }

  .page-hero--audit .audit-hero-media {
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-4,
  .list-cards { grid-template-columns: 1fr; }

  .page-hero,
  .cta-band--rectangular,
  .final-cta-simple { padding: 30px 24px; }

  .page-hero--workshop {
    padding: 28px 22px 34px;
  }

  .page-hero--audit {
    padding: 30px 22px;
  }

  .workshop-hero-media {
    width: min(100%, 280px);
    padding: 2px;
  }

  .page-hero--implementation .implementation-hero-media {
    width: min(100%, 300px);
  }

  .page-hero--audit .audit-hero-media {
    width: min(100%, 300px);
  }

  .content-card { min-height: 220px; }

  .contact-details { grid-template-columns: 1fr; }
  .contact-details dt { padding-bottom: 0; border-bottom: 0; }
  .contact-details dd { padding-top: 6px; }
}

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

.legal-placeholder,
.catalogue-intro,
.catalogue-section {
  padding: clamp(34px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.82);
}

.legal-placeholder {
  max-width: 1100px;
  line-height: 1.7;
}

.site-main--catalogue {
  display: grid;
  gap: 80px;
  width: min(calc(100vw - clamp(20px, 3vw, 56px)), 1760px);
  margin: 64px 50% 120px;
  padding-inline: clamp(34px, 4.2vw, 74px);
  box-sizing: border-box;
  transform: translateX(-50%);
}

.catalogue-intro h1 {
  max-width: 1180px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.catalogue-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.catalogue-swatches > div {
  display: grid;
  gap: 8px;
}

.catalogue-swatches span {
  display: block;
  aspect-ratio: 2 / 1;
  border: 1px solid rgba(16, 18, 23, 0.18);
  background: var(--swatch);
}

.catalogue-blueprint {
  display: grid;
  gap: 72px;
}

@media (max-width: 720px) {
  .site-main--catalogue { padding-inline: 18px; }
  .catalogue-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Compact text-only proof rail used on industry detail pages. Kept after the
   homepage specimen rules so its deliberately smaller geometry wins. */
.industry-frame.industry-reasons-frame {
  padding-block: clamp(36px, 4vw, 50px);
}

.industry-frame.industry-reasons-frame .section-title {
  margin-bottom: clamp(28px, 3vw, 42px);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.industry-frame.industry-reasons-frame .industry-card.industry-reason-card {
  min-height: 190px;
  padding: 26px clamp(22px, 2.4vw, 34px) 30px;
  justify-content: flex-start;
  gap: 0;
}

.industry-frame.industry-reasons-frame .industry-reason-card:first-child {
  padding-left: 0;
}

.industry-frame.industry-reasons-frame .industry-reason-card:last-child {
  padding-right: 0;
}

.industry-reason-number {
  display: inline-block;
  width: fit-content;
  color: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-shadow: 3px 3px 0 var(--night);
}

.industry-reason-label {
  margin-top: 18px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.industry-frame.industry-reasons-frame .industry-reason-card p {
  max-width: 280px;
  margin-top: 12px;
  color: var(--night);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 1120px) {
  .industry-frame.industry-reasons-frame .industry-reason-card:nth-child(odd) {
    padding-left: 0;
  }

  .industry-frame.industry-reasons-frame .industry-reason-card:nth-child(even) {
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .industry-frame.industry-reasons-frame .industry-card.industry-reason-card,
  .industry-frame.industry-reasons-frame .industry-reason-card:first-child,
  .industry-frame.industry-reasons-frame .industry-reason-card:last-child {
    min-height: 0;
    padding: 26px 0;
  }

  .industry-frame.industry-reasons-frame .industry-reason-card:first-child {
    padding-top: 8px;
  }
}

/* Tailored-agent possibilities: one shared industry-detail composition. */
.tailored-agents-frame {
  min-height: 0;
  padding: clamp(40px, 5vw, 68px) clamp(30px, 4vw, 58px);
  aspect-ratio: auto;
  background: rgba(255, 255, 255, 0.8);
}

.tailored-agents-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.tailored-agents-title {
  max-width: 940px;
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 5rem);
}

.tailored-agents-intro {
  max-width: 590px;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}

.tailored-agents-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(246, 255, 0, 0.82);
  border-left: 1px solid rgba(246, 255, 0, 0.82);
}

.tailored-agent-card {
  min-height: 220px;
  padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid rgba(246, 255, 0, 0.82);
  border-bottom: 1px solid rgba(246, 255, 0, 0.82);
  background: rgba(255, 255, 255, 0.38);
}

.tailored-agent-code {
  display: block;
  margin-bottom: 18px;
  color: #a9af00;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.tailored-agent-card h3 {
  max-width: 520px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.tailored-agent-card p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.62;
}

.tailored-agents-note {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--neon-yellow);
  color: var(--night);
  background: rgba(246, 255, 0, 0.08);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .tailored-agents-head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .tailored-agents-intro {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .tailored-agents-frame {
    padding: 34px 22px;
  }

  .tailored-agents-grid {
    grid-template-columns: 1fr;
  }

  .tailored-agent-card {
    min-height: 0;
    padding: 26px 22px 30px;
  }
}

/* Careers and job listings. */
.careers-hero p {
  max-width: 840px;
}

.careers-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
}

.careers-overview .section-heading {
  margin-bottom: 24px;
}

.careers-overview-copy {
  max-width: 780px;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.career-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(246, 255, 0, 0.9);
}

.career-facts div {
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(246, 255, 0, 0.75);
}

.career-facts dt {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.career-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.job-listings {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.job-card.frame-panel {
  min-height: 0;
  padding: clamp(34px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.84);
}

.job-card-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.job-code {
  display: block;
  margin-bottom: 14px;
  color: #a9af00;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-card h2 {
  max-width: 940px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
}

.job-tags {
  display: flex;
  max-width: 420px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  list-style: none;
}

.job-tags li {
  padding: 7px 10px;
  border: 1px solid rgba(13, 15, 20, 0.18);
  background: rgba(246, 255, 0, 0.14);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.job-summary {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: clamp(26px, 3vw, 38px) 0 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.job-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid rgba(246, 255, 0, 0.8);
  border-left: 1px solid rgba(246, 255, 0, 0.8);
}

.job-detail-grid section {
  min-height: 220px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid rgba(246, 255, 0, 0.8);
  border-bottom: 1px solid rgba(246, 255, 0, 0.8);
}

.job-detail-grid h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.job-detail-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.job-detail-grid li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--neon-yellow);
}

.job-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(28px, 3vw, 40px);
}

.job-card-footer p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.55;
}

.job-card-footer .btn {
  flex: 0 0 auto;
  margin-top: 0;
}

@media (max-width: 980px) {
  .careers-overview,
  .job-card-header {
    grid-template-columns: 1fr;
  }

  .job-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .job-card.frame-panel {
    padding: 30px 22px;
  }

  .job-detail-grid {
    grid-template-columns: 1fr;
  }

  .job-detail-grid section {
    min-height: 0;
    padding: 24px 20px;
  }

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

/* Image-led industry detail heroes. */
.page-hero--industry {
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.5fr);
  gap: clamp(40px, 6vw, 92px);
  min-height: clamp(540px, 39vw, 680px);
  padding: clamp(38px, 4.8vw, 74px);
  align-content: center;
  align-items: center;
  background: transparent;
}

.page-hero--industry::after {
  display: none;
}

.industry-page-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(20px, 2.5vw, 30px);
  align-content: center;
}

.page-hero--industry h1 {
  max-width: 1080px;
  font-size: clamp(2.7rem, 5.35vw, 6.3rem);
}

.page-hero--industry p {
  max-width: 820px;
}

.industry-hero-media {
  --industry-hero-cut: polygon(
    0 0,
    66% 0,
    70% 11px,
    88% 11px,
    92% 0,
    100% 0,
    100% 94%,
    94% 100%,
    12% 100%,
    0 94%,
    0 58%,
    12px 54%,
    12px 42%,
    0 38%
  );
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  padding: 3px;
  justify-self: end;
  background: var(--night);
  clip-path: var(--industry-hero-cut);
  overflow: hidden;
}

.industry-hero-stage,
.industry-hero-stage picture {
  display: block;
  width: 100%;
  height: 100%;
}

.industry-hero-stage {
  clip-path: var(--industry-hero-cut);
}

.industry-hero-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.industry-hero-hud {
  position: absolute;
  z-index: 2;
  color: var(--neon-yellow);
  pointer-events: none;
}

.industry-hero-hud--bars {
  top: 22px;
  left: 20px;
  display: grid;
  width: 48px;
  gap: 4px;
  padding: 7px 8px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.industry-hero-hud--bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.industry-hero-hud--bars i:nth-child(2) { width: 72%; }
.industry-hero-hud--bars i:nth-child(3) { width: 42%; }

.industry-hero-hud--code {
  right: 18px;
  bottom: 20px;
  padding: 5px 7px;
  color: var(--night);
  background: var(--neon-yellow);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.industry-hero-hud--plus {
  top: 48px;
  right: 15px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.industry-hero-hud--edge {
  bottom: 0;
  left: 0;
  width: 3px;
  height: 54px;
  background: var(--neon-yellow);
}

.industry-page-hero--financial-services .industry-hero-media {
  --industry-hero-cut: polygon(
    7% 0,
    100% 0,
    100% 43%,
    calc(100% - 13px) 47%,
    calc(100% - 13px) 58%,
    100% 62%,
    100% 100%,
    0 100%,
    0 8%
  );
}

.industry-page-hero--hospitality .industry-hero-media {
  --industry-hero-cut: polygon(
    0 0,
    92% 0,
    100% 8%,
    100% 100%,
    62% 100%,
    58% calc(100% - 12px),
    44% calc(100% - 12px),
    40% 100%,
    0 100%
  );
}

.industry-page-hero--logistics .industry-hero-media {
  --industry-hero-cut: polygon(
    0 0,
    100% 0,
    100% 91%,
    91% 100%,
    0 100%,
    0 67%,
    13px 63%,
    13px 50%,
    0 46%
  );
  aspect-ratio: 1 / 1;
}

.industry-page-hero--real-estate .industry-hero-stage img {
  object-position: center 44%;
}

.industry-page-hero--logistics .industry-hero-stage img {
  object-position: center center;
}

@media (max-width: 1120px) {
  .page-hero--industry {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.58fr);
    gap: 42px;
  }

  .page-hero--industry h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  }
}

@media (max-width: 860px) {
  .page-hero--industry {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 34px 28px 42px;
  }

  .industry-hero-media {
    width: min(100%, 380px);
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .page-hero--industry {
    padding: 28px 20px 34px;
  }

  .industry-hero-media {
    width: min(100%, 320px);
    padding: 2px;
  }

  .industry-hero-hud--code {
    font-size: 0.52rem;
  }
}
