:root {
  color-scheme: dark;
  --black: #050506;
  --black-soft: #0a0b0d;
  --surface: #111317;
  --surface-raised: #171a20;
  --red: #f20d2f;
  --red-deep: #b80020;
  --red-glow: rgba(242, 13, 47, 0.28);
  --white: #f5f2ed;
  --gray: #9a9da3;
  --gray-dark: #6e7178;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --font-heading: "Inter Tight", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-size-h1: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem);
  --font-size-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --font-size-h3: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);
  --font-size-h4: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --font-size-lead: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  --font-size-body: 1.0625rem;
  --font-size-card: 1rem;
  --font-size-small: 0.875rem;
  --font-size-micro: 0.75rem;
  --line-height-h1: 1.02;
  --line-height-h2: 1.08;
  --line-height-h3: 1.2;
  --line-height-h4: 1.3;
  --line-height-body: 1.65;
  --tracking-h1: -0.045em;
  --tracking-h2: -0.035em;
  --tracking-h3: -0.02em;
  --tracking-label: 0.1em;
  --container: 1240px;
  --section-space: clamp(6rem, 10vw, 10rem);
  --radius-sm: 3px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-panel: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 7%, rgba(242, 13, 47, 0.09), transparent 26rem),
    var(--black);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

strong {
  font-weight: 600;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 900;
  line-height: var(--line-height-h1);
  letter-spacing: var(--tracking-h1);
}

h2 {
  max-width: 53.75rem;
  font-size: var(--font-size-h2);
  font-weight: 800;
  line-height: var(--line-height-h2);
  letter-spacing: var(--tracking-h2);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 800;
  line-height: var(--line-height-h3);
  letter-spacing: var(--tracking-h3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: 700;
  line-height: var(--line-height-h4);
  letter-spacing: -0.01em;
}

::selection {
  color: var(--white);
  background: var(--red-deep);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--black);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  position: relative;
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  padding-block: var(--section-space);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.875rem;
  color: #ff768d;
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.section-number {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(242, 13, 47, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(242, 13, 47, 0.13);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.text-accent {
  color: var(--red);
}

.technical-label {
  margin-bottom: 0.75rem;
  color: #ff7188;
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 3.625rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 0.85rem 1.875rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 34px rgba(242, 13, 47, 0.2);
}

.button-primary:hover {
  background: #ff173b;
  box-shadow: 0 16px 42px rgba(242, 13, 47, 0.3);
}

.button-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.button:hover .button-arrow {
  transform: translateX(0.2rem);
}

.cta-microcopy {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  color: var(--gray-dark);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(242, 13, 47, 0.42), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-inner {
  display: grid;
  width: min(var(--container), calc(100% - 3rem));
  min-height: 5.25rem;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  justify-self: start;
  text-decoration: none;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-role {
  display: block;
  margin-top: 0.18rem;
  color: var(--gray);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.desktop-nav a {
  position: relative;
  color: #b9b8b4;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  background: var(--red-deep);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: #d00025;
  transform: translateY(-1px);
}

/* Hero */

.hero {
  width: min(1390px, calc(100% - 2rem));
  min-height: calc(100svh - 5.25rem);
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: 2rem;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 10rem));
  grid-template-columns: minmax(0, 58fr) minmax(24rem, 42fr);
  grid-template-areas: "copy media";
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  background:
    linear-gradient(110deg, rgba(17, 19, 23, 0.78), rgba(5, 5, 6, 0.15) 67%),
    var(--black-soft);
  box-shadow: var(--shadow-panel);
}

.hero-grid::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  max-width: 49rem;
  padding: clamp(3rem, 5.6vw, 6.25rem) clamp(2rem, 5.3vw, 5.25rem);
  grid-area: copy;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: min(56.25rem, 13.5ch);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
}

.hero-lead {
  max-width: 47.5rem;
  margin-bottom: 1.5rem;
  color: #e0ddd7;
  font-family: var(--font-body);
  font-size: var(--font-size-lead);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.service-boundary {
  max-width: 43rem;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 1px solid rgba(242, 13, 47, 0.8);
}

.service-boundary p {
  margin-bottom: 0.7rem;
  color: var(--gray);
  font-size: var(--font-size-card);
  font-weight: 400;
  line-height: 1.6;
}

.service-boundary p:last-child {
  margin-bottom: 0;
}

.cta-stack {
  margin-top: 2rem;
}

.hero-media {
  position: relative;
  z-index: 2;
  min-height: 100%;
  grid-area: media;
}

.portrait-glow {
  position: absolute;
  z-index: 0;
  inset: 20% -18% 7% -18%;
  border-radius: 50%;
  background: rgba(242, 13, 47, 0.26);
  filter: blur(64px);
}

.portrait-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portrait-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--black-soft), transparent 23%),
    linear-gradient(0deg, var(--black-soft), transparent 23%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.22), transparent 30%);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 42%;
  filter: saturate(0.78) contrast(1.06);
  transform: scale(1.01);
}

.hero-decision-line {
  position: absolute;
  z-index: 6;
  top: 8%;
  bottom: 8%;
  left: 58%;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(transparent, var(--red) 12%, var(--red) 86%, transparent);
  box-shadow: 0 0 18px rgba(242, 13, 47, 0.78);
}

.hero-decision-line span {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 0.48rem;
  height: 0.48rem;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red), 0 0 20px var(--red);
  transform: translate(-50%, -50%);
}

.portrait-note {
  position: absolute;
  z-index: 7;
  left: 1.05rem;
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.portrait-note-plan {
  top: 12%;
  color: var(--gray-dark);
}

.portrait-note-reaction {
  bottom: 12%;
  color: #ff6e85;
}

.trust-rail {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
  background: rgba(10, 11, 13, 0.9);
}

.trust-item {
  position: relative;
  padding: 1.4rem clamp(1rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 1px;
  content: "";
  background: var(--red);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.45rem + 0.8vw, 2.125rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.trust-item span {
  color: var(--gray);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

/* History */

.history::before,
.case-study::before,
.pilot::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.history-visual {
  position: sticky;
  top: 8rem;
  min-height: 45rem;
}

.history-image {
  position: absolute;
  top: 0;
  right: 8%;
  bottom: 4rem;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.history-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(5, 5, 6, 0.92), transparent 40%),
    linear-gradient(90deg, rgba(242, 13, 47, 0.12), transparent 45%);
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.58) contrast(1.08);
}

.loss-marker {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(18rem, 76%);
  padding: 1.3rem 1.45rem;
  border: 1px solid rgba(242, 13, 47, 0.38);
  border-radius: var(--radius-sm);
  background: rgba(10, 11, 13, 0.96);
  box-shadow: var(--shadow-panel);
}

.loss-marker span,
.loss-marker small {
  display: block;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.history-index {
  position: absolute;
  top: 0;
  right: -0.25rem;
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.history-copy {
  position: relative;
  padding-left: clamp(1.4rem, 3vw, 3rem);
}

.history-copy::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(var(--red), rgba(242, 13, 47, 0.1));
  box-shadow: 0 0 14px rgba(242, 13, 47, 0.25);
}

.history h2 {
  max-width: 53.75rem;
  margin-bottom: 1.5rem;
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

.history-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 2rem;
}

.history-prose p {
  color: #c3c1bc;
  font-size: var(--font-size-card);
  font-weight: 400;
  line-height: 1.65;
}

.pilot-quote {
  position: relative;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0;
  padding: 2rem 0 2rem clamp(1.5rem, 4vw, 3.5rem);
  border-block: 1px solid var(--line);
}

.pilot-quote > span {
  position: absolute;
  top: 0.3rem;
  left: 0;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.pilot-quote p {
  max-width: 47.5rem;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.08rem + 0.65vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.honesty-panel {
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(115deg, rgba(242, 13, 47, 0.08), transparent 45%),
    var(--surface);
  box-shadow: inset 0 0 50px rgba(242, 13, 47, 0.025);
}

.honesty-panel h3 {
  max-width: 25ch;
  margin-bottom: 0.75rem;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

.honesty-panel p:not(.technical-label) {
  color: #b7b5b1;
  font-size: var(--font-size-card);
  font-weight: 400;
  line-height: 1.6;
}

.honesty-panel p:last-child {
  margin-bottom: 0;
}

/* Case study */

.case-study {
  padding-block: clamp(1.5rem, 2.5vw, 2rem);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "art"
    "copy"
    "testimonial"
    "evidence"
    "risk";
  align-items: start;
  row-gap: clamp(2rem, 5vw, 3.5rem);
}

.case-copy {
  min-width: 0;
  grid-area: copy;
}

.case-art-card {
  grid-area: art;
}

.case-testimonial {
  grid-area: testimonial;
}

.evidence-panel {
  min-width: 0;
  grid-area: evidence;
}

.risk-note {
  grid-area: risk;
}

.case-study .section-label {
  margin-bottom: clamp(1.5rem, 2.5vw, 1.75rem);
}

.case-study h2 {
  width: min(100%, 29.375rem);
  max-width: 29.375rem;
  margin-bottom: 1.125rem;
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

.case-subtitle {
  width: min(100%, 26.875rem);
  max-width: 26.875rem;
  margin: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-strong);
  color: #c3c1bc;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.375rem);
  font-weight: 500;
  line-height: 1.45;
}

.case-subtitle .text-accent {
  font-family: var(--font-heading);
  font-weight: 800;
  white-space: nowrap;
}

.case-route {
  position: relative;
  margin: 1.25rem 0 2rem;
  padding-left: 1.25rem;
}

.case-route::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(255, 38, 66, 0.75);
}

.route-item {
  position: relative;
  display: grid;
  padding: 1.25rem 0 1.375rem;
  grid-template-columns:
    minmax(5.5rem, 6.25rem)
    minmax(0, 1fr)
    minmax(0, 1fr);
  align-items: start;
  gap: 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.route-item::before {
  position: absolute;
  top: 1.25rem;
  left: -1.5rem;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border-radius: 50%;
  background: #ff2642;
  box-shadow: 0 0 12px rgba(255, 38, 66, 0.75);
}

.route-label {
  color: #ff7188;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-column {
  min-width: 0;
}

.route-column p {
  margin: 0;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
}

.route-column p + p {
  margin-top: 0.8rem;
}

.result-copy {
  width: 100%;
  padding: clamp(1.125rem, 2vw, 1.375rem);
  border: 1px solid var(--line-strong);
  border-radius: 0.625rem;
  background: var(--surface);
}

.result-copy h3 {
  margin-bottom: 0.625rem;
  font-size: var(--font-size-h3);
}

.result-copy p {
  color: #b6b4b0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
}

.result-copy p:last-child {
  margin-bottom: 0;
}

.case-testimonial {
  margin: 0;
  padding: clamp(1.25rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line-strong);
  border-radius: 0.625rem;
  background:
    linear-gradient(145deg, rgba(255, 48, 72, 0.065), transparent 48%),
    var(--surface);
}

.case-testimonial blockquote {
  margin: 0;
}

.case-testimonial blockquote p {
  margin: 0;
  color: #c6c3be;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
}

.case-testimonial blockquote p + p {
  margin-top: 0.85rem;
}

.case-testimonial figcaption {
  display: grid;
  margin-top: 1.25rem;
  padding-top: 1rem;
  gap: 0.15rem;
  border-top: 1px solid var(--line);
}

.case-testimonial figcaption strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
}

.case-testimonial figcaption span,
.case-testimonial figcaption small {
  color: var(--gray);
  font-size: 0.75rem;
  line-height: 1.5;
}

.case-testimonial figcaption small {
  margin-top: 0.35rem;
  color: #ff8a9b;
}

.case-art-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.75rem;
  background: #050506;
}

.case-art-bar {
  display: flex;
  min-height: 2.875rem;
  padding-inline: clamp(1.25rem, 3vw, 1.5rem);
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  color: #d4d2ce;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-art-bar strong {
  color: #ff3048;
  font-weight: 600;
}

.case-art-card img {
  width: 100%;
  height: auto;
}

.evidence-panel {
  padding:
    clamp(1.25rem, 2.5vw, 1.5rem)
    clamp(1rem, 2vw, 1.125rem)
    1.25rem;
  border: 2px solid #ff3048;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 24, 54, 0.07), transparent 45%),
    #080809;
  box-shadow:
    0 0 5px rgba(255, 38, 66, 0.95),
    0 0 16px rgba(255, 38, 66, 0.55),
    inset 0 0 16px rgba(255, 38, 66, 0.08);
}

.evidence-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.evidence-heading h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.4375rem, 1.35rem + 0.2vw, 1.5rem);
  text-transform: uppercase;
}

.evidence-heading p {
  margin: 0;
  color: #b7b5b1;
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.45;
}

.payout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.3vw, 0.875rem);
}

.payout-card {
  display: grid;
  min-width: 0;
  padding: 0.9rem 0.55rem;
  place-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: rgba(17, 19, 23, 0.82);
  text-align: center;
}

.payout-amount {
  color: #ff3048;
  font-family: var(--font-heading);
  font-size: clamp(1.5625rem, 1.4rem + 0.4vw, 1.875rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

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

.payout-label {
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.payout-source {
  color: var(--gray);
  font-size: 0.75rem;
  line-height: 1.3;
}

.evidence-summary {
  display: flex;
  margin: 1rem 0;
  align-items: center;
  gap: 0.65rem;
  color: #b7b5b1;
  font-size: 0.875rem;
  line-height: 1.45;
}

.summary-check {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border: 1px solid #ff3048;
  border-radius: 50%;
  color: #ff3048;
}

.evidence-summary strong {
  color: #ff3048;
  font-family: var(--font-body);
  font-weight: 600;
}

.certificate-zoom {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0.4375rem;
  background: #050506;
  cursor: zoom-in;
}

.certificate-zoom img {
  width: 100%;
  height: auto;
}

.certificate-zoom:hover {
  border-color: rgba(255, 48, 72, 0.78);
}

.certificate-zoom:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.evidence-caption {
  margin: 0.875rem 0 0;
  color: var(--gray);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.risk-note {
  display: grid;
  margin: 0;
  padding-top: 0.875rem;
  grid-template-columns: minmax(7.5rem, 8rem) minmax(0, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.5;
}

.risk-note-label {
  color: #ff7188;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .case-grid {
    grid-template-columns:
      minmax(0, 0.86fr)
      minmax(30rem, 1.14fr);
    grid-template-areas:
      "copy art"
      "testimonial art"
      "risk evidence";
    gap:
      clamp(1.75rem, 3vw, 2.5rem)
      clamp(2.5rem, 4.5vw, 3.75rem);
  }
}

@media (max-width: 1023px) {
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "art"
      "copy"
      "testimonial"
      "evidence"
      "risk";
  }
}

@media (max-width: 699px) {
  .route-item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.625rem;
  }

  .risk-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 430px) {
  .payout-grid {
    gap: 0.5rem;
  }

  .payout-card {
    padding-inline: 0.35rem;
  }

  .payout-amount {
    font-size: clamp(1.3125rem, 5.5vw, 1.5rem);
  }

  .payout-source {
    font-size: 0.6875rem;
  }
}

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

/* Pilot */

.pilot {
  width: min(1390px, calc(100% - 2rem));
  margin-bottom: 2rem;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 89% 14%, rgba(242, 13, 47, 0.12), transparent 24rem),
    linear-gradient(140deg, #111317, #090a0d 60%);
  box-shadow: var(--shadow-panel);
}

.pilot-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.pilot h2 {
  max-width: 53.75rem;
  margin-bottom: 0;
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

.pilot-intro p {
  margin-bottom: 0.85rem;
  color: #aaa8a4;
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

.pilot-intro p:last-child {
  margin-bottom: 0;
}

.pilot-parameters {
  display: grid;
  margin-top: clamp(3rem, 6vw, 5rem);
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.pilot-parameters > div {
  position: relative;
  min-height: 8.2rem;
  padding: 1.45rem;
  border-right: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.35);
}

.pilot-parameters > div:last-child {
  border-right: 0;
}

.pilot-parameters > div::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 1px;
  content: "";
  background: var(--red);
}

.pilot-parameters strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pilot-parameters span {
  display: block;
  color: var(--gray);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.next-step {
  display: grid;
  margin-top: clamp(4rem, 8vw, 7rem);
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.next-step-heading h3 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

.process-list {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 0.32rem;
  right: 1rem;
  left: 1rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--red), rgba(242, 13, 47, 0.22));
}

.process-list li {
  position: relative;
  padding: 2rem 1.15rem 0 0;
}

.process-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.68rem;
  height: 0.68rem;
  content: "";
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red), 0 0 14px var(--red);
}

.process-list li > span {
  color: #ff7188;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process-list h4 {
  margin: 0.55rem 0 0.65rem;
  font-size: var(--font-size-h4);
}

.process-list p {
  margin: 0;
  color: var(--gray);
  font-size: var(--font-size-card);
  font-weight: 400;
  line-height: 1.6;
}

.final-cta {
  position: relative;
  display: flex;
  width: min(760px, 100%);
  margin: clamp(5rem, 10vw, 9rem) auto 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  align-items: center;
  flex-direction: column;
  color: var(--white);
  background: transparent;
  text-align: center;
}

.cta-pill {
  display: inline-flex;
  min-height: 2.1rem;
  margin: 0 0 1.8rem;
  padding: 0.45rem 0.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 13, 47, 0.55);
  border-radius: 999px;
  color: #ff7188;
  background: rgba(242, 13, 47, 0.045);
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  line-height: 1.25;
  text-transform: uppercase;
}

.final-cta h3 {
  max-width: 15ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(2rem, 1.55rem + 1.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.final-cta-copy {
  width: min(640px, 100%);
  margin-inline: auto;
}

.final-cta-copy p {
  margin: 0 0 0.85rem;
  color: #aaa8a4;
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

.final-cta-copy p:first-child {
  color: #d2d0cc;
  font-size: var(--font-size-body);
}

.final-cta .button {
  width: min(620px, 100%);
  min-height: 3.5rem;
  margin-top: 1.4rem;
  justify-content: center;
  padding-inline: 1.5rem;
  box-shadow: 0 14px 40px rgba(242, 13, 47, 0.24);
}

.final-cta .cta-microcopy {
  margin: 0.9rem auto 0;
  color: var(--gray-dark);
}

.final-cta .cta-meta {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}
/* Footer */

.site-footer {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  padding-bottom: 2.5rem;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
}

.footer-name {
  margin-bottom: 0.2rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}

.footer-grid p:not(.footer-name) {
  margin: 0;
  color: var(--gray);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.footer-contact span {
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.footer-contact a {
  font-size: var(--font-size-small);
  line-height: 1.55;
  text-underline-offset: 0.25rem;
}

.footer-bottom {
  display: grid;
  padding-top: 1.5rem;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-dark);
  font-size: var(--font-size-micro);
  line-height: 1.55;
}

.footer-bottom p:first-child {
  max-width: 56rem;
}

.footer-bottom p:last-child {
  white-space: nowrap;
}

/* Proof modal */

.proof-modal[hidden] {
  display: none;
}

.proof-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 2rem;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 3, 0.9);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(70rem, 100%);
  max-height: calc(100svh - 4rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  flex-direction: column;
}

.modal-topbar {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem 0.6rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.modal-topbar p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.modal-close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.modal-close span {
  font-size: 1.6rem;
  line-height: 1;
}

.modal-image-wrap {
  min-height: 0;
  padding: 1rem;
  overflow: auto;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--black-soft);
  background-size: 36px 36px;
}

.modal-image {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 10rem);
  margin-inline: auto;
  object-fit: contain;
}

.modal-caption {
  margin: 0;
  padding: 0.8rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* Reveal */

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

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Responsive */

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 56fr) minmax(22rem, 44fr);
  }

  .hero-decision-line {
    left: 56%;
  }

  .mechanism-grid {
    gap-inline: 1.6rem;
  }

  .loop-card {
    padding: 1.05rem;
  }
}

@media (max-width: 1080px) {
  .mechanism-grid {
    width: min(44rem, calc(100% - 4rem));
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 1.1rem;
  }

  .loop-connectors {
    display: none;
  }

  .loop-stage {
    width: min(100%, 35rem);
    margin: 0 auto 1.5rem;
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }

  .loop-card[data-step] {
    min-height: 0;
    margin-left: 0.7rem;
    grid-column: 1;
    grid-row: auto;
  }

  .loop-card:not([data-step="6"])::after {
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 2.95rem;
    width: 1px;
    height: 1.15rem;
    content: "";
    background: rgba(242, 13, 47, 0.48);
  }

  .loop-card[data-step="1"] {
    order: 1;
  }

  .loop-card[data-step="2"] {
    order: 2;
  }

  .loop-card[data-step="3"] {
    order: 3;
  }

  .loop-card[data-step="4"] {
    order: 4;
  }

  .loop-card[data-step="5"] {
    order: 5;
  }

  .loop-card[data-step="6"] {
    order: 6;
  }
}

@media (max-width: 920px) {
  :root {
    --line-height-h1: 1.04;
  }

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

  .desktop-nav {
    display: none;
  }

  .hero {
    width: min(100%, calc(100% - 1rem));
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
  }

  .hero-media {
    min-height: clamp(23rem, 75vw, 36rem);
  }

  .portrait-frame::before {
    background:
      linear-gradient(0deg, var(--black-soft), transparent 30%),
      linear-gradient(180deg, rgba(5, 5, 6, 0.18), transparent 30%);
  }

  .portrait-frame img {
    object-position: 50% 34%;
  }

  .hero-copy {
    max-width: none;
    margin-top: -4rem;
    padding: 2rem clamp(1.5rem, 6vw, 4rem) 3rem;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-decision-line {
    top: 3rem;
    bottom: 3rem;
    left: 1.5rem;
  }

  .portrait-note {
    display: none;
  }

  .trust-rail {
    margin-top: 0.6rem;
  }

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

  .history-visual {
    position: relative;
    top: auto;
    width: min(38rem, 100%);
    min-height: 38rem;
  }

  .history-copy {
    padding-left: 1.5rem;
  }

  .mechanism-heading {
    grid-template-columns: 1fr;
  }

  .mechanism-intro {
    max-width: 40rem;
  }

  .pilot-heading,
  .next-step {
    grid-template-columns: 1fr;
  }

  .pilot-intro {
    max-width: 42rem;
  }

  .pilot-parameters {
    grid-template-columns: 1fr 1fr;
  }

  .pilot-parameters > div:nth-child(2) {
    border-right: 0;
  }

  .pilot-parameters > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 767px) {
  :root {
    --font-size-h1: 2.375rem;
    --font-size-h2: 1.875rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.0625rem;
    --font-size-body: 1rem;
    --line-height-h1: 1.06;
    --tracking-h1: -0.035em;
    --tracking-label: 0.08em;
  }

  .section-label,
  .technical-label,
  .mechanism .eyebrow,
  .cta-pill {
    font-size: 0.6875rem;
  }

  .button-primary {
    width: 100%;
    min-height: 3.5rem;
    padding-inline: 1.25rem;
    font-size: 0.9375rem;
  }

}

@media (max-width: 720px) {
  .section-shell,
  .site-footer,
  .header-inner {
    width: min(100% - 2rem, var(--container));
  }

  .section-label {
    align-items: flex-start;
  }

  .brand-role {
    display: none;
  }

  .hero {
    width: calc(100% - 0.75rem);
    padding-top: 1.25rem;
  }

  .hero-media {
    min-height: clamp(21rem, 98vw, 30rem);
  }

  .hero-copy {
    margin-top: -2.8rem;
    padding: 1.5rem 1.3rem 2rem 2.7rem;
  }

  .hero h1 {
    margin-bottom: 1.35rem;
  }

  .button {
    width: 100%;
    min-height: 3.5rem;
  }

  .hero-decision-line {
    left: 1.2rem;
  }

  .trust-item {
    padding: 1rem 0.75rem;
  }

  .history-visual {
    min-height: 33rem;
  }

  .history-copy {
    padding-left: 1rem;
  }

  .history-prose {
    grid-template-columns: 1fr;
  }

  .pilot-quote {
    padding-left: 2.3rem;
  }

  .pilot-quote > span {
    font-size: 4rem;
  }

  .mechanism {
    width: calc(100% - 0.75rem);
  }

  .mechanism-heading,
  .score-callout,
  .score-bridge,
  .loop-return {
    width: calc(100% - 2.6rem);
  }

  .score-callout {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .score-callout p:last-child {
    text-align: left;
  }

  .score-callout > span {
    width: 2.5rem;
    height: 1px;
  }

  .mechanism-grid {
    width: calc(100% - 2.4rem);
  }

  .loop-card {
    padding: 1.1rem;
  }

  .pilot {
    width: calc(100% - 0.75rem);
    padding-inline: 1.3rem;
  }

  .pilot-parameters {
    margin-top: 3rem;
  }

  .pilot-parameters > div {
    min-height: 7rem;
    padding: 1.05rem;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-list::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0.32rem;
    width: 1px;
    height: auto;
  }

  .process-list li {
    padding: 0 0 1.8rem 2.1rem;
  }

  .process-list li::before {
    left: 0;
  }

  .process-list p {
    max-width: 34rem;
  }

  .final-cta {
    margin-top: 4rem;
    padding: 2rem 0;
  }

  .final-cta .button,
  .cta-pill {
    width: 100%;
  }

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

  .footer-contact {
    justify-items: start;
  }

  .proof-modal {
    padding: 0.75rem;
  }

  .modal-panel {
    max-height: calc(100svh - 1.5rem);
  }
}

@media (max-width: 430px) {
  .header-inner {
    min-height: 4.6rem;
  }

  .header-cta {
    min-height: 2.65rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 21rem;
  }

  .hero-copy {
    padding-right: 1rem;
  }

  .service-boundary {
    padding-left: 0.9rem;
  }

  .history-visual {
    min-height: 29rem;
  }

  .loss-marker {
    width: 80%;
  }

  .mechanism-grid {
    width: calc(100% - 1.6rem);
  }

  .loop-card {
    margin-left: 0.3rem !important;
  }

  .loop-card:not([data-step="6"])::after {
    left: 2.6rem;
  }

  .loop-num {
    width: 2.2rem;
    height: 2.2rem;
  }

}

@media (max-width: 359px) {
  :root {
    --font-size-h1: 2.125rem;
    --font-size-h2: 1.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .mechanism-video {
    display: none;
  }

  .mechanism-fallback {
    display: block;
  }

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

/* Source-led Sedno section: SEKCJA_SEDNO_dla_Codex.md */

.block.mechanism {
  position: relative;
  width: min(1420px, calc(100% - 2rem));
  margin-inline: auto;
  padding: var(--section-space) 0;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 53%, rgba(224, 17, 58, 0.12), transparent 26rem),
    linear-gradient(145deg, rgba(20, 20, 22, 0.86), rgba(5, 5, 6, 0.96));
  box-shadow: var(--shadow-panel);
  --text: #f4f2ef;
  --muted: #9a9a9e;
  --accent: #e0113a;
  --accent-strong: #d32029;
  --surface-2: #17171b;
  --accent-line: rgba(224, 17, 58, 0.55);
  --accent-glow: rgba(224, 17, 58, 0.3);
}

.mechanism .wrap {
  width: min(1240px, calc(100% - 4rem));
  max-width: 1240px;
  margin-inline: auto;
}

.mechanism .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: #ff7188;
  font-family: var(--font-body);
  font-size: var(--font-size-micro);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.mechanism .eyebrow::before {
  display: inline-block;
  width: 26px;
  height: 1px;
  content: "";
  background: var(--accent);
}

.mechanism h2 {
  max-width: 53.75rem;
  margin: 0 0 1.25rem;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 800;
  line-height: var(--line-height-h2);
  letter-spacing: var(--tracking-h2);
}

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

.loop-intro {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.7;
}

.loop-diagram {
  --card-radius: 18px;
  --card-min-h: 92px;
  position: relative;
  display: grid;
  margin: 46px 0 40px;
  grid-template-columns: minmax(300px, 1.3fr) minmax(420px, 1.7fr) minmax(300px, 1.3fr);
  grid-template-rows: repeat(3, auto);
  align-items: center;
  gap: 22px 32px;
}

.loop-stage {
  position: relative;
  z-index: auto;
  width: 100%;
  aspect-ratio: 1000 / 600;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
}

.loop-stage-bg {
  position: absolute;
  z-index: 0;
  inset: -22% -14%;
  background: radial-gradient(ellipse 58% 54% at 50% 49%, rgba(224, 17, 58, 0.32), rgba(150, 20, 40, 0.12) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.loop-brain-vid {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 26px rgba(224, 17, 58, 0.4)) blur(0.4px);
  -webkit-mask: radial-gradient(ellipse 52% 58% at 50% 49%, #000 12%, rgba(0, 0, 0, 0.6) 42%, transparent 70%);
  mask: radial-gradient(ellipse 52% 58% at 50% 49%, #000 12%, rgba(0, 0, 0, 0.6) 42%, transparent 70%);
}

.loop-svg {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loop-node-dot .loop-node-ring {
  fill: none;
  stroke: rgba(255, 120, 140, 0.35);
  stroke-width: 2;
}

.loop-node-dot .loop-node-core {
  fill: #1a0509;
  stroke: #ff6b7e;
  stroke-width: 3.4;
  filter: drop-shadow(0 0 9px rgba(224, 17, 58, 1));
}

.loop-node-dot text {
  fill: #fff1f3;
}

.loop-node-dot--end .loop-node-ring {
  stroke: rgba(255, 154, 46, 0.4);
}

.loop-node-dot--end .loop-node-core {
  stroke: #ffab3d;
  filter: drop-shadow(0 0 12px rgba(255, 140, 26, 1));
}

.loop-node-dot--end text {
  fill: #ffdcae;
}

.loop-card {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: var(--card-min-h);
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(224, 17, 58, 0.45);
  border-radius: var(--card-radius);
  background: var(--surface-2);
  box-shadow:
    0 0 0 1px rgba(224, 17, 58, 0.22),
    0 0 30px rgba(224, 17, 58, 0.26),
    inset 0 0 24px rgba(224, 17, 58, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.36);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .loop-card:hover {
    border-color: rgba(224, 17, 58, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
    transform: translateY(-4px);
  }
}

.loop-card-body {
  min-width: 0;
}

.loop-card .loop-num {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #ff6b7e;
  border-radius: 50%;
  color: #fff1f3;
  background: #1a0509;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(224, 17, 58, 0.14), 0 0 15px rgba(224, 17, 58, 0.7);
}

.loop-card.loop-card--end .loop-num {
  border-color: #ffab3d;
  color: #ffdcae;
  background: #26160a;
  box-shadow: 0 0 0 4px rgba(255, 140, 26, 0.14), 0 0 15px rgba(255, 140, 26, 0.75);
}

.loop-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: var(--tracking-h3);
}

.loop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96875rem;
  font-weight: 400;
  line-height: 1.55;
}

.loop-card--end {
  border-color: rgba(255, 178, 94, 0.6);
  background: var(--surface-2);
  box-shadow:
    0 0 0 1px rgba(255, 150, 40, 0.3),
    0 0 30px rgba(255, 140, 26, 0.3),
    inset 0 0 24px rgba(255, 140, 26, 0.12),
    0 18px 42px rgba(0, 0, 0, 0.36);
}

.loop-card[data-step="1"] { grid-column: 1; grid-row: 1; }
.loop-card[data-step="2"] { grid-column: 1; grid-row: 2; }
.loop-card[data-step="3"] { grid-column: 1; grid-row: 3; }
.loop-card[data-step="6"] { grid-column: 3; grid-row: 1; }
.loop-card[data-step="5"] { grid-column: 3; grid-row: 2; }
.loop-card[data-step="4"] { grid-column: 3; grid-row: 3; }

.loop-connectors {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.conn-glow {
  fill: none;
  stroke: #e0113a;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.3;
  filter: blur(2.5px);
}

.conn-line {
  fill: none;
  stroke: #ff6b7e;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.conn-dot {
  fill: #ffd0d8;
  filter: drop-shadow(0 0 6px rgba(224, 17, 58, 0.95));
}

.conn-gold.conn-glow {
  stroke: #ff8c1a;
  stroke-opacity: 0.4;
}

.conn-gold.conn-line {
  stroke: #ffb457;
}

.conn-gold.conn-dot {
  fill: #ffcf99;
  filter: drop-shadow(0 0 6px rgba(255, 140, 26, 0.95));
}

.loop-back {
  display: none;
}

.loop-return {
  display: flex;
  width: auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 20px 26px;
  border: 1px solid rgba(224, 17, 58, 0.4);
  border-radius: 14px;
  color: var(--text);
  background: rgba(224, 17, 58, 0.08);
  box-shadow: inset 0 0 26px rgba(224, 17, 58, 0.1);
  font-size: var(--font-size-card);
  font-weight: 400;
  line-height: 1.55;
}

.loop-return-icon {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
}

.loop-node-dot {
  animation: loopNodePulse 3.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.loop-node-dot:nth-of-type(2n) { animation-delay: 1.1s; }
.loop-node-dot:nth-of-type(3n) { animation-delay: 2s; }
.loop-return-arc { animation: loopReturnDash 1.4s linear infinite; }

@keyframes loopFlow {
  to { stroke-dashoffset: 2760; }
}

@keyframes loopNodePulse {
  0%,
  100% { opacity: 0.9; }
  50% { opacity: 1; }
}

@keyframes loopReturnDash {
  to { stroke-dashoffset: -32; }
}

.loop-callout {
  margin: 26px 0 6px;
  padding: 22px 26px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: rgba(224, 17, 58, 0.06);
  box-shadow: inset 0 0 30px rgba(224, 17, 58, 0.08);
}

.loop-callout p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.55;
}

.loop-callout p + p {
  margin-top: 6px;
}

.loop-bridge {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--text);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: var(--line-height-body);
}

.loop-node-dot--hot .loop-node-ring {
  stroke: rgba(255, 90, 120, 0.6);
}

.loop-node-dot--hot .loop-node-core {
  stroke: #ff4d68;
  stroke-width: 3.8;
  filter: drop-shadow(0 0 15px rgba(224, 17, 58, 1));
}

.loop-node-dot .loop-node-core,
.loop-node-dot text {
  transition:
    stroke 0.25s ease,
    stroke-width 0.25s ease,
    fill 0.25s ease,
    filter 0.25s ease;
}

.loop-node-dot.node-lit .loop-node-core {
  stroke: #fff;
  stroke-width: 4.6;
  filter: drop-shadow(0 0 18px rgba(255, 80, 110, 1)) drop-shadow(0 0 7px rgba(255, 255, 255, 0.9));
}

.loop-node-dot.node-lit .loop-node-ring {
  stroke: rgba(255, 255, 255, 0.85);
}

.loop-node-dot.node-lit text {
  fill: #fff;
}

/* New copy modules inside the existing Pilot section */

.loss-marker p {
  margin: 0.45rem 0 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--font-size-card);
  font-weight: 600;
  line-height: 1.45;
}

.pilot-observation {
  display: grid;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(120deg, rgba(242, 13, 47, 0.07), transparent 44%),
    rgba(5, 5, 6, 0.35);
}

.observation-copy h3 {
  max-width: 14ch;
  margin-bottom: 0.75rem;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

.observation-copy > p:not(.technical-label) {
  color: var(--gray);
  font-size: var(--font-size-card);
  line-height: 1.6;
}

.behavior-list {
  display: grid;
  margin: 0;
  padding: 0;
  align-content: start;
  gap: 0;
  list-style: none;
  counter-reset: behavior;
}

.behavior-list li {
  position: relative;
  min-height: 3rem;
  padding: 0.65rem 0 0.65rem 2.7rem;
  border-bottom: 1px solid var(--line);
  color: #c3c1bc;
  font-size: var(--font-size-card);
  line-height: 1.6;
  counter-increment: behavior;
}

.behavior-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  color: #ff7188;
  content: "0" counter(behavior);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
}

.observation-question {
  margin: 0;
  padding-top: 1.25rem;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(242, 13, 47, 0.35);
  color: var(--gray);
}

.confidentiality {
  display: grid;
  margin-top: 1rem;
  padding: 1.4rem 1.6rem;
  grid-template-columns: 0.7fr 1fr 1fr;
  align-items: start;
  gap: 1.5rem;
  border: 1px solid rgba(242, 13, 47, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(242, 13, 47, 0.035);
}

.confidentiality p {
  margin: 0;
  color: var(--gray);
  font-size: var(--font-size-card);
  font-weight: 400;
  line-height: 1.6;
}

.confidentiality .technical-label {
  color: #ff7188;
}

@media (max-width: 1080px) {
  .loop-connectors {
    display: none;
  }

  .loop-diagram {
    margin-bottom: 26px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0;
  }

  .loop-stage {
    order: -1;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 30px;
    grid-column: 1;
    grid-row: auto;
  }

  .loop-card {
    margin-left: 8px !important;
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .loop-card + .loop-card {
    margin-top: 24px;
  }

  .loop-card[data-step]::after {
    content: none;
  }

  .loop-card:not(:last-of-type)::after {
    position: absolute;
    z-index: 0;
    top: 100%;
    left: 46px;
    width: 2px;
    height: 24px;
    content: "";
    background: rgba(224, 17, 58, 0.55);
  }

  .loop-back {
    display: none;
  }
}

@media (max-width: 920px) {
  .pilot-observation {
    grid-template-columns: 1fr;
  }

  .observation-question {
    grid-column: 1;
  }

  .confidentiality {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

}

@media (max-width: 720px) {
  .mechanism .wrap {
    width: min(100% - 2rem, 1240px);
  }

  .block.mechanism {
    width: calc(100% - 1rem);
  }
}

@media (max-width: 767px) {
  .loop-card h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .loop-card {
    padding: 16px;
  }

  .loop-card:not(:last-of-type)::after {
    left: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loop-flow,
  .loop-node-dot,
  .loop-return-arc {
    animation: none;
  }

  .loop-flow {
    display: none;
  }
}
