/* Homepage foundation. Header and footer intentionally follow later. */
[data-page="home"] {
  --home-paper: #f5f1e7;
  --home-paper-high: #fbf8ef;
  --home-ink: #0d100d;
  --home-muted: #666b64;
  --home-blue: #2458f3;
  --home-acid: #d7ff39;
  background: var(--home-paper);
}

[data-page="home"] main { overflow: hidden; }

.home-shell {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--v9-pad);
}

.home-copy-section { position: relative; }

.home-kicker,
.home-index {
  margin: 0;
  font: 650 10px/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
}

.home-kicker::before {
  width: 8px;
  height: 8px;
  background: currentColor;
  content: "";
}

.home-copy-hero {
  min-height: 100svh;
  padding: clamp(28px, 3.2vw, 54px) 0 clamp(42px, 5vw, 78px);
  display: flex;
  align-items: stretch;
  background: var(--home-paper);
}

.home-copy-hero .home-shell {
  display: flex;
  flex-direction: column;
}

.home-copy-hero .home-kicker { color: var(--home-blue); }

.home-hero-grid {
  flex: 1;
  min-height: 0;
  padding-top: clamp(38px, 6vh, 82px);
  display: grid;
  grid-template-columns: minmax(460px, .82fr) minmax(630px, 1.18fr);
  gap: clamp(34px, 4vw, 80px);
  align-items: center;
}

.home-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(56px, 4.6vw, 86px);
  font-weight: 570;
  line-height: .89;
  letter-spacing: -.065em;
}

.home-hero-copy h1 em {
  color: var(--home-blue);
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.home-hero-copy > p {
  max-width: 620px;
  margin: clamp(40px, 5vh, 68px) 0 0;
  color: var(--home-muted);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.55;
}

.home-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Original source components, composed without demo chrome or decorative framing. */
.home-hero-visual {
  position: relative;
  width: 100%;
  height: min(76vh, 760px);
  min-height: 620px;
  isolation: isolate;
}

.home-factory-3d {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.home-factory-3d iframe {
  transform: scale(1.08);
  transform-origin: 50% 52%;
}

.home-hero-visual iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}


.home-opportunity {
  height: 100svh;
  min-height: 680px;
  padding: 0;
  background: var(--home-paper-high);
  color: var(--home-ink);
}

.home-opportunity-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 40% 60%;
}

.halftone-flow-panel {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--home-blue);
}

.halftone-flow-panel::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,31,118,.08), rgba(8,31,118,.42)),
    linear-gradient(90deg, rgba(36,88,243,.28), transparent 68%);
  content: "";
  pointer-events: none;
}

.halftone-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .9;
}

.halftone-flow-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: clamp(44px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--home-paper-high);
  pointer-events: none;
}

.halftone-flow-copy .home-kicker {
  color: rgba(251,248,239,.78);
}

.home-opportunity h2 {
  max-width: 560px;
  margin: 0;
  color: var(--home-paper-high);
  font-size: clamp(44px, 3.65vw, 70px);
  font-weight: 570;
  line-height: .88;
  letter-spacing: -.066em;
}

.home-opportunity h2 span { display: block; }

.home-opportunity h2 span + span {
  margin-top: .34em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
}

.home-opportunity-copy {
  height: 100%;
  max-width: none;
  padding: clamp(58px, 6.6vw, 132px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-opportunity-copy p {
  max-width: 760px;
  margin: 0 0 clamp(13px, 1.5vh, 20px);
  color: var(--home-muted);
  font-size: clamp(16px, 1.16vw, 21px);
  line-height: 1.5;
}

.home-opportunity-copy p:first-child {
  color: var(--home-ink);
  font-size: clamp(19px, 1.4vw, 25px);
  line-height: 1.42;
}

.home-opportunity-copy p strong {
  display: block;
  max-width: 800px;
  margin-top: clamp(10px, 1.5vh, 18px);
  padding-top: clamp(22px, 2.4vh, 34px);
  border-top: 1px solid rgba(13,16,13,.24);
  color: var(--home-blue);
  font: 400 clamp(28px, 2.45vw, 47px)/1.03 var(--serif);
}

.home-capabilities {
  position: relative;
  padding: clamp(64px, 6.2vw, 108px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 14%, rgba(36,88,243,.09), transparent 46%),
    radial-gradient(circle at 96% 54%, rgba(36,88,243,.055), transparent 30%),
    linear-gradient(135deg, rgba(36,88,243,.025), transparent 48%),
    var(--home-paper-high);
}

.home-capabilities::before {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(rgba(36,88,243,.36) .55px, transparent .65px);
  background-size: 12px 12px;
  mask-image: linear-gradient(90deg, #000, transparent 46%, transparent 70%, #000);
  content: "";
  pointer-events: none;
}

.home-capabilities .home-shell {
  position: relative;
  z-index: 1;
}

.home-section-heading {
  margin-bottom: clamp(48px, 5vw, 78px);
  display: grid;
  grid-template-columns: .32fr 1.68fr;
  gap: 5vw;
  align-items: start;
}

.home-section-heading .home-kicker { color: var(--home-blue); }

.home-section-heading h2,
.home-approach h2,
.home-closing h2 {
  margin: clamp(48px, 7vw, 110px) 0;
  font-size: clamp(62px, 8.7vw, 164px);
  font-weight: 570;
  line-height: .84;
  letter-spacing: -.074em;
}

.home-section-heading h2 {
  max-width: 1160px;
  margin: 0;
  font-size: clamp(64px, 7vw, 124px);
}

.home-capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(13,16,13,.2);
  background: rgba(13,16,13,.2);
  gap: 1px;
}

.home-capability {
  min-width: 0;
  min-height: clamp(560px, 62vh, 670px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(251,248,239,.96);
}

.home-capability-art {
  --art-brightness: 1;
  --art-contrast: 1.16;
  position: relative;
  height: clamp(220px, 25vh, 285px);
  flex: 0 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #1638ad;
  border-bottom: 1px solid rgba(13,16,13,.18);
}

.home-capability-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--home-blue);
  mix-blend-mode: color;
  content: "";
  pointer-events: none;
}

.home-capability-art::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,59,183,.12), rgba(7,22,83,.12)),
    linear-gradient(90deg, rgba(245,241,231,.025), transparent 62%);
  content: "";
  pointer-events: none;
}

.home-capability-art video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) invert(var(--art-invert, 0)) contrast(var(--art-contrast)) brightness(var(--art-brightness));
  opacity: .94;
}

.home-capability-art.art-revenue { background: #050f33; }
.home-capability-art.art-revenue::before,
.home-capability-art.art-revenue::after { display: none; }
.home-capability-art.art-revenue .revenue-source { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.home-capability-art.art-revenue .revenue-ascii { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-capability-art.art-workspaces { background: #06133f; }
.home-capability-art.art-workspaces::before {
  z-index: 2;
  display: block;
  background: var(--home-blue);
  mix-blend-mode: color;
  opacity: 1;
}
.home-capability-art.art-workspaces::after {
  z-index: 3;
  display: block;
  background:
    linear-gradient(180deg, rgba(3,9,31,.04), rgba(3,9,31,.24)),
    linear-gradient(90deg, rgba(36,88,243,.18), transparent 58%);
}
.home-capability-art.art-operations { --art-brightness: .55; --art-contrast: 1.5; }
.home-capability-art.art-community { --art-invert: 1; --art-brightness: .5; --art-contrast: 1.5; }
.home-capability-art.art-other { --art-brightness: 1; --art-contrast: 1.1; }
.home-capability-art.art-workspaces .workspaces-video-back {
  position: absolute;
  z-index: 0;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.28) brightness(.48) blur(14px);
  opacity: .9;
  transform: scale(1.12);
}
.home-capability-art.art-workspaces .workspaces-strip {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  height: 132%;
  aspect-ratio: 16 / 9;
  transform: translateX(-50%);
}
.home-capability-art.art-workspaces .workspaces-strip video {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: grayscale(1) contrast(1.34) brightness(.88);
  opacity: 1;
}
.home-capability-art.art-workspaces .workspaces-video-front { left: 0; }
.home-capability-art.art-workspaces .workspaces-video-mirror { transform: scaleX(-1); }
.home-capability-art.art-workspaces .workspaces-video-mirror.is-left {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 10%, transparent 46%);
  mask-image: linear-gradient(90deg, #000 0, #000 10%, transparent 46%);
}
.home-capability-art.art-workspaces .workspaces-video-mirror.is-right {
  -webkit-mask-image: linear-gradient(270deg, #000 0, #000 10%, transparent 46%);
  mask-image: linear-gradient(270deg, #000 0, #000 10%, transparent 46%);
}
.home-capability-art.art-workspaces .workspaces-video-mirror.is-left { right: 100%; }
.home-capability-art.art-workspaces .workspaces-video-mirror.is-right { left: 100%; }
.home-capability-art.art-operations video { object-position: center 50%; }
.home-capability-art.art-community video { object-position: center 49%; }
.home-capability-art.art-other video { object-position: center 50%; }

.home-capability-content {
  min-height: 0;
  padding: clamp(26px, 2.8vw, 46px);
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.home-capability .home-index { color: var(--home-blue); }

.home-capability h3 {
  max-width: 720px;
  margin: 12px 0 15px;
  font-size: clamp(36px, 3.25vw, 62px);
  font-weight: 570;
  line-height: .92;
  letter-spacing: -.055em;
}

.home-capability h4 {
  max-width: 700px;
  margin: 0 0 18px;
  color: var(--home-blue);
  font: 400 clamp(22px, 1.75vw, 32px)/1.08 var(--serif);
}

.home-capability-copy {
  max-width: 680px;
  margin-bottom: 28px;
}

.home-capability-copy p {
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(14px, .94vw, 17px);
  line-height: 1.48;
}

.home-capability-copy p + p { margin-top: 9px; }

.home-capability .so-button { margin: auto 0 0; }
.home-capability .so-button.quiet { margin-left: -20px; }

.home-capabilities-tail {
  min-height: clamp(270px, 31vh, 340px);
  margin-top: clamp(34px, 3vw, 52px);
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(13,16,13,.22);
  background: rgba(251,248,239,.96);
}

.home-capabilities-tail .home-capability-art {
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(13,16,13,.18);
}

.home-capabilities-tail > div:last-child {
  padding: clamp(36px, 4.6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}

.home-capabilities-tail strong {
  max-width: 650px;
  font-size: clamp(38px, 4.5vw, 82px);
  font-weight: 570;
  line-height: .92;
  letter-spacing: -.055em;
}

.home-approach {
  width: 100%;
  height: 100svh;
  min-height: 720px;
  padding: 0;
  display: grid;
  grid-template-columns: 40% 60%;
  overflow: hidden;
  background: #03091f;
  color: var(--home-ink);
}

.home-approach-scene {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 36% 18%, rgba(157,183,255,.19), rgba(66,105,230,.06) 34%, transparent 67%),
    #03091f;
}

.home-approach-scene::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle 190px at var(--philosophy-pointer-x, 50%) var(--philosophy-pointer-y, 32%), rgba(157,183,255,.22), rgba(66,105,230,.07) 45%, transparent 72%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.home-approach-scene.pointer-active::after {
  opacity: 1;
}

.home-approach-scene iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #03091f;
  pointer-events: none;
}

.home-approach-panel {
  min-width: 0;
  height: 100%;
  padding: clamp(48px, 5vw, 92px) clamp(44px, 5.2vw, 100px);
  display: flex;
  flex-direction: column;
  background: var(--home-paper-high);
}

.home-approach .home-kicker { color: var(--home-blue); }

.home-approach-panel h2 {
  max-width: 920px;
  margin: clamp(38px, 5vh, 62px) 0 0;
  font-size: clamp(62px, 6.1vw, 112px);
  font-weight: 570;
  line-height: .86;
  letter-spacing: -.068em;
}

.home-approach-panel h2 span,
.home-approach-panel h2 em { display: block; }

.home-approach-panel h2 em {
  color: var(--home-blue);
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.045em;
}

.home-approach-lower {
  margin-top: auto;
  padding-top: clamp(26px, 3.6vh, 42px);
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(300px, 1.18fr);
  gap: clamp(28px, 3.6vw, 64px);
  align-items: stretch;
  border-top: 1px solid var(--v9-line);
}

.home-approach-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-approach-copy p {
  max-width: 520px;
  margin: 0 0 13px;
  color: var(--home-muted);
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.48;
}

.home-approach-copy .so-button { margin: auto 0 0; }
.home-approach-copy .so-button.quiet { margin-left: -20px; }

.home-principle {
  min-height: clamp(220px, 29vh, 300px);
  margin: 0;
  padding: clamp(28px, 3.4vw, 58px);
  display: flex;
  align-items: flex-end;
  background: var(--home-acid);
  color: var(--home-ink);
}

.home-principle strong {
  max-width: 640px;
  font: 400 clamp(31px, 3vw, 56px)/.98 var(--serif);
  letter-spacing: -.035em;
}

.home-proof {
  min-height: 100svh;
  padding: clamp(24px, 3.4svh, 48px) 0 clamp(28px, 4.4svh, 56px);
  display: flex;
  background: var(--home-paper-high);
}

.home-proof .home-shell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4svh, 56px);
}

.home-proof .home-kicker { color: var(--home-blue); }

.home-proof h2 {
  max-width: 1450px;
  margin: 0;
  font-size: clamp(48px, min(8.2vw, 14.5svh), 154px);
  font-weight: 570;
  line-height: .84;
  letter-spacing: -.074em;
}

.home-proof-body {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  border-top: 1px solid var(--v9-line);
  padding-top: clamp(22px, 3.4svh, 38px);
}

.home-proof-logo {
  align-self: center;
  justify-self: center;
  display: inline-block;
  line-height: 0;
  transform: translateX(calc(var(--v9-pad) * -.4));
  transition: opacity .25s ease;
}

.home-proof-logo:hover { opacity: .72; }

.home-proof-logo img {
  display: block;
  width: clamp(138px, 11vw, 190px);
  height: auto;
}

.home-proof-copy { max-width: 900px; }

.home-proof-copy p {
  max-width: 760px;
  margin: 0 0 clamp(10px, 1.6svh, 16px);
  color: var(--home-muted);
  font-size: clamp(14px, min(1.2vw, 2.1svh), 19px);
  line-height: 1.5;
}

.home-proof-copy .so-button { margin: clamp(10px, 2svh, 22px) 0 0; }
.home-proof-copy .so-button.quiet { margin-left: -20px; }

.home-closing {
  min-height: 88svh;
  padding: clamp(110px, 13vw, 220px) 0;
  display: flex;
  align-items: center;
  background: var(--home-blue);
  color: var(--home-paper-high);
}

.home-closing .home-kicker { color: var(--home-paper-high); }
.home-closing h2 { max-width: 1550px; }

.home-closing-copy {
  margin-left: 45%;
  display: grid;
  grid-template-columns: minmax(280px, 650px) auto;
  gap: 5vw;
  align-items: end;
}

.home-closing-copy p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 19px;
  line-height: 1.6;
}

.home-closing-copy p + p { margin-top: 16px; }

.home-closing .so-button { color: var(--home-paper-high); }
.home-closing .so-button:hover { color: var(--home-blue); border-color: var(--home-paper-high); }
.home-closing .so-button:hover::before { background: var(--home-paper-high); }

@media (max-width: 1300px) {
  .home-hero-grid { grid-template-columns: minmax(380px, .76fr) minmax(0, 1.24fr); }
  .home-hero-copy h1 { font-size: clamp(58px, 6.2vw, 86px); }
  .home-hero-visual { height: min(70vh, 700px); min-height: 570px; }
}

@media (max-width: 900px) {
  .home-hero-grid { padding-top: 80px; grid-template-columns: 1fr; gap: 72px; }
  .home-hero-copy h1 { font-size: clamp(62px, 13vw, 112px); }
  .home-opportunity { height: auto; min-height: 0; }
  .home-opportunity-layout { height: auto; grid-template-columns: 1fr; }
  .halftone-flow-panel { height: 640px; }
  .home-opportunity-copy { height: auto; padding: 72px var(--v9-pad); }
  .home-capability-list { grid-template-columns: 1fr; }
  .home-capability { min-height: auto; }
  .home-capabilities-tail { grid-template-columns: 1fr; }
  .home-capabilities-tail .home-capability-art { min-height: 280px; border-right: 0; border-bottom: 1px solid rgba(13,16,13,.18); }
  .home-section-heading,
  .home-closing-copy { grid-template-columns: 1fr; }
  .home-hero-visual { display: none; }
  .home-actions { justify-content: flex-start; }
  .home-opportunity-copy,
  .home-closing-copy { margin-left: 0; }
  .home-proof { min-height: 0; padding: 72px 0; }
  .home-proof .home-shell { gap: 48px; }
  .home-proof-body { grid-template-columns: 1fr; gap: 28px; }
  .home-proof-logo { justify-self: start; transform: none; }
  .home-section-heading { gap: 45px; }
  .home-approach { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .home-approach-scene { height: 70svh; min-height: 540px; }
  .home-approach-panel { min-height: 100svh; }
  .home-approach-lower { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .home-copy-hero { min-height: auto; padding-top: 25px; }
  .home-hero-grid { padding-top: 104px; gap: 58px; }
  .home-hero-copy h1 { font-size: 56px; line-height: .88; }
  .home-hero-copy > p { margin-top: 48px; }
  .home-actions { flex-direction: column; align-items: stretch; }
  .home-actions .so-button { width: 100%; }
  .home-opportunity h2,
  .home-section-heading h2,
  .home-approach h2,
  .home-proof h2,
  .home-closing h2 { font-size: 52px; line-height: .88; }
  .halftone-flow-panel { height: 600px; }
  .halftone-flow-copy { padding: 34px 24px 42px; }
  .home-opportunity-copy { padding: 56px 24px; }
  .home-capability h3 { font-size: 43px; }
  .home-capability h4 { font-size: 29px; }
  .home-capability-copy p { font-size: 15px; }
  .home-capabilities-tail > div:last-child { padding: 34px 26px; grid-template-columns: 1fr; align-items: start; }
  .home-closing { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  [data-page="home"] { scroll-behavior: auto; }
}

/* Closing: day turns to night. Day/night cycle: 2s day, 4s fade, 2s night, 4s fade, slow zoom on scroll. */
.home-night {
  position: relative;
  min-height: 0;
  height: 100svh;
  min-height: 560px;
  padding: 0;
  display: block;
  overflow: hidden;
  background: linear-gradient(180deg, #2f4f8f, #0a0d08);
  color: var(--home-paper-high);
}

.home-night-media { position: absolute; inset: 0; overflow: hidden; }

/* Parallax moves in the same 4s rhythm as the day/night fade: background pushes in, text drifts the other way. */
.home-night-zoom { position: absolute; inset: 0; transform-origin: 42% 55%; transition: transform 4s ease-in-out; will-change: transform; }
.home-night.is-night .home-night-zoom { transform: scale(1.09); }
.home-night-panel h2 { transition: transform 4s ease-in-out; }
.home-night-foot { transition: transform 4s ease-in-out; }
.home-night.is-night .home-night-panel h2 { transform: translateY(-14px); }
.home-night.is-night .home-night-foot { transform: translateY(10px); }

.home-night-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}

.home-night-media .night-night { opacity: 0; transition: opacity 4s ease-in-out; }
.home-night.is-night .night-night { opacity: 1; }

.home-night::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 62% at 84% 90%, rgba(8,10,14,.66) 0%, rgba(8,10,14,.36) 42%, rgba(8,10,14,0) 100%),
    linear-gradient(90deg, rgba(8,10,14,.62) 0%, rgba(8,10,14,.34) 36%, rgba(8,10,14,0) 62%),
    linear-gradient(180deg, rgba(8,10,14,.5) 0%, rgba(8,10,14,.16) 40%, rgba(8,10,14,0) 58%),
    linear-gradient(0deg, rgba(8,10,14,.78) 0%, rgba(8,10,14,.42) 26%, rgba(8,10,14,0) 52%);
  content: "";
  pointer-events: none;
}

.home-night-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: clamp(28px, 5svh, 64px) var(--v9-pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--home-paper-high);
  will-change: transform;
}

.home-night-panel .home-kicker { color: var(--home-paper-high); }

.home-night-panel h2 {
  max-width: 11em;
  margin: clamp(18px, 3svh, 34px) 0 0;
  font-size: clamp(44px, min(6.2vw, 12svh), 112px);
  font-weight: 570;
  line-height: .88;
  letter-spacing: -.062em;
  text-shadow: 0 2px 34px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.25);
}

.home-night-panel h2 span { display: block; }

.home-night-panel h2 em {
  display: block;
  font: italic 400 1.03em/.9 var(--serif);
  letter-spacing: -.045em;
  opacity: .94;
}

.home-night-foot {
  position: absolute;
  right: var(--v9-pad);
  bottom: clamp(28px, 5svh, 60px);
  width: min(440px, 34vw);
}

.home-night-copy p {
  margin: 0 0 9px;
  color: #fbf8ef;
  font-size: clamp(13px, min(1.05vw, 2.1svh), 17px);
  line-height: 1.5;
  text-shadow: 0 1px 16px rgba(0,0,0,.6), 0 0 2px rgba(0,0,0,.35);
}

.home-night-foot .so-button { margin-top: clamp(14px, 2.4svh, 24px); color: var(--home-paper-high); }
.home-night-foot .so-button:hover { color: var(--home-ink); border-color: var(--home-paper-high); }
.home-night-foot .so-button:hover::before { background: var(--home-paper-high); }

@media (max-width: 900px) {
  .home-night { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .home-night-panel { position: relative; inset: auto; min-height: 100svh; }
  .home-night-foot { position: static; width: auto; margin-top: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .home-night-media .night-night, .home-night-zoom, .home-night-panel h2, .home-night-foot { transition: none; }
}

.home-capability-art.art-eventrel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: contrast(1.1) brightness(1.15); opacity: .72; }

/* EventRel is the odd fifth card: span the full row, art left and copy right, so no empty cell sits beside it */
.home-capability-list > .home-capability:last-child { grid-column: 1 / -1; flex-direction: row; min-height: clamp(380px, 46vh, 480px); }
.home-capability-list > .home-capability:last-child .home-capability-art { flex: 0 0 50%; height: auto; border-bottom: 0; border-right: 1px solid rgba(13,16,13,.18); }
.home-capability-list > .home-capability:last-child .home-capability-content { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) {
  .home-capability-list > .home-capability:last-child { flex-direction: column; }
  .home-capability-list > .home-capability:last-child .home-capability-art { flex: 0 0 auto; height: clamp(220px, 25vh, 285px); border-right: 0; border-bottom: 1px solid rgba(13,16,13,.18); }
}
