/*
  Theme: the clear air of a morning sky.
  Accent is the STAGE 01 card cyan (#72e9ff); the gradient opens toward the
  brighter end of that same hue, the way the sky lifts after dawn.
*/
:root {
  --delegate-sky: #72e9ff;
  --delegate-sky-rgb: 114, 233, 255;
  --delegate-sky-deep: #3fb8d8;
  --delegate-sky-deep-rgb: 63, 184, 216;
  --delegate-sky-light: #b8f4ff;
  --delegate-sky-pale: #e8fbff;
  /* Same hue pushed dark enough to clear 4.5:1 on the cream chapters. */
  --delegate-sky-ink: #0e7183;
  --delegate-sky-ink-rgb: 14, 113, 131;
  --delegate-sky-gradient: linear-gradient(145deg, var(--delegate-sky-deep) 0%, var(--delegate-sky-deep) 52%, var(--delegate-sky) 80%, var(--delegate-sky-light) 100%);
}

.delegate-page {
  min-height: 100%;
  color: var(--paper);
  background: var(--night);
}

/* Transparent like the AI-staff page, so the photo starts at the very top. */
.delegate-page .header {
  position: absolute;
}

.skip-link {
  position: fixed;
  z-index: 400;
  top: 12px;
  left: 12px;
  padding: 13px 18px;
  color: #17373d;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(0, 4, 9, 0.28);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  transform: translateY(0);
}

.delegate-page h1,
.delegate-page h2,
.delegate-page h3,
.delegate-page p,
.delegate-page li,
.delegate-page dd {
  text-wrap: pretty;
}

.chapter-shell {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.chapter-shell--narrow {
  width: min(calc(100% - 48px), 1040px);
}

.delegate-chapter {
  position: relative;
  isolation: isolate;
  min-height: max(720px, 100svh);
  padding: clamp(72px, 9svh, 112px) 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.delegate-chapter--paper {
  color: #18333b;
  background:
    radial-gradient(circle at 92% 5%, rgba(78, 184, 201, 0.09), transparent 27%),
    linear-gradient(145deg, #fbf8ef, #f1ede3);
}

.delegate-chapter--night {
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 82%, rgba(63, 184, 216, 0.055), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(114, 233, 255, 0.07), transparent 29%),
    #03111e;
}

.chapter-heading {
  max-width: 790px;
}

.chapter-heading h2 {
  font-size: clamp(38px, 4.25vw, 62px);
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: 0.005em;
}

/* The theme colour appears in every heading, so it reads as this page's colour. */
.chapter-heading h2 em {
  color: var(--delegate-sky);
  font-style: normal;
  font-weight: inherit;
}

/* On the paper chapters the same hue has to darken to stay readable on cream. */
.chapter-heading--ink h2 em {
  color: var(--delegate-sky-ink);
}

.chapter-heading > p {
  max-width: 65ch;
  margin-top: 22px;
  color: rgba(226, 244, 248, 0.79);
  font-size: 17px;
  line-height: 1.95;
}

.chapter-heading--ink {
  color: #18333b;
}

.chapter-heading--ink > p {
  color: #4b6267;
}

.delegate-line {
  position: relative;
  width: min(100%, 340px);
  min-height: 62px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  color: #06222b;
  background: var(--delegate-sky-gradient);
  box-shadow: 0 20px 48px rgba(var(--delegate-sky-deep-rgb), 0.24), inset 0 1px rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1), box-shadow 220ms ease;
}

.delegate-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 48%, transparent 70%);
  pointer-events: none;
  transform: translateX(-120%);
}

.delegate-line:hover::before,
.delegate-line:focus-visible::before {
  animation: delegate-button-pass 620ms cubic-bezier(.16, 1, .3, 1);
}

@keyframes delegate-button-pass {
  to { transform: translateX(120%); }
}

.delegate-line > * {
  position: relative;
  z-index: 1;
}

.delegate-line:hover,
.delegate-line:focus-visible {
  box-shadow: 0 24px 56px rgba(var(--delegate-sky-deep-rgb), 0.32), inset 0 1px rgba(255, 255, 255, 0.36);
  transform: translateY(-3px);
}

.delegate-line:hover .arrow,
.delegate-line:focus-visible .arrow { transform: translateX(5px); }
.delegate-line .arrow { transition: transform 260ms ease; }

.delegate-line:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
}

.delegate-line:active {
  transform: translateY(1px);
}

/* 1. 話すだけ */
/* Same build as the AI-staff arrival: photo from the very top, copy centred. */
.delegate-hero {
  position: relative;
  isolation: isolate;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #020c16;
}

.delegate-hero::before,
.delegate-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.delegate-hero::before {
  top: 13%;
  right: 5%;
  width: min(40vw, 570px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 233, 255, 0.42), rgba(63, 184, 216, 0.28), transparent);
  box-shadow: 0 0 16px rgba(114, 233, 255, 0.25);
}

.delegate-hero::after {
  right: -120px;
  bottom: -290px;
  width: 640px;
  aspect-ratio: 1;
  border: 1px solid rgba(114, 233, 255, 0.08);
  border-radius: 50%;
}

.delegate-hero__inner {
  width: min(calc(100% - 64px), 1280px);
  min-height: 640px;
  margin: 80px auto 0;
  padding: clamp(68px, 9vh, 110px) 0 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.delegate-hero__copy {
  width: min(610px, 52vw);
}

.delegate-hero h1 {
  font-size: clamp(52px, 4.7vw, 68px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.025em;
  text-shadow: 0 3px 28px rgba(0, 3, 7, 0.48);
}

.delegate-hero h1 em {
  color: var(--delegate-sky);
  font-style: normal;
  font-weight: inherit;
  text-shadow: 0 5px 34px rgba(var(--delegate-sky-rgb), 0.3);
}

.delegate-hero__support {
  max-width: 57ch;
  margin-top: 22px;
  color: rgba(226, 244, 248, 0.78);
  font-size: 16px;
  line-height: 2;
}

.delegate-hero .delegate-line {
  margin-top: 34px;
}

/* Short proofs on one line, same rhythm as the AI-staff arrival. */
.delegate-hero__facts {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: rgba(231, 241, 238, 0.72);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.delegate-hero__facts span {
  min-height: 34px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(var(--delegate-sky-rgb), 0.5);
  background: rgba(3, 15, 25, 0.34);
}

.delegate-hero__facts span:first-child { padding-left: 0; border-left: 0; }

/* Corner marker that says where you have arrived. */
.delegate-hero__signal {
  position: absolute;
  z-index: 1;
  top: 23%;
  right: clamp(34px, 5vw, 86px);
  width: 58px;
  height: 44px;
  border-top: 1px solid rgba(var(--delegate-sky-rgb), 0.52);
  border-right: 1px solid rgba(var(--delegate-sky-rgb), 0.52);
  pointer-events: none;
}

.delegate-hero__signal::before {
  content: "DELEGATE";
  position: absolute;
  top: -17px;
  right: 0;
  color: rgba(220, 242, 241, 0.62);
  font: 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
}

.delegate-hero__signal i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background: var(--delegate-sky);
  box-shadow: 0 0 14px rgba(var(--delegate-sky-rgb), 0.9);
  animation: delegate-signal-rise 3.9s ease-in-out infinite;
}

.delegate-hero__signal i:nth-child(2) { animation-delay: -1.3s; }
.delegate-hero__signal i:nth-child(3) { animation-delay: -2.6s; }

@keyframes delegate-signal-rise {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  22% { opacity: 1; }
  70% { opacity: 0.5; transform: translate(-38px, -30px); }
  99% { opacity: 0; transform: translate(-52px, -42px); }
}

/* Scroll cue to the next chapter, same rhythm as the AI-staff arrival. */
.delegate-hero__next {
  position: absolute;
  z-index: 2;
  right: clamp(32px, 5vw, 76px);
  bottom: 30px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(236, 242, 237, 0.75);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.delegate-hero__next i {
  position: relative;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(247, 242, 232, 0.3);
}

.delegate-hero__next i::after {
  content: "";
  position: absolute;
  inset: -50% 0 auto;
  height: 45%;
  background: var(--delegate-sky);
  animation: delegate-next-fall 2s ease-in-out infinite;
}

.delegate-hero__next:hover,
.delegate-hero__next:focus-visible { color: var(--paper); }

@keyframes delegate-next-fall {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(340%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .delegate-hero__signal i { animation: none; opacity: 0.9; }
  .delegate-hero__next i::after { animation: none; }
}

.delegate-hero__orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(226, 244, 248, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.delegate-hero__orbit--one {
  top: -380px;
  left: -330px;
  width: 780px;
  aspect-ratio: 1;
}

.delegate-hero__orbit--two {
  top: -210px;
  left: -170px;
  width: 500px;
  aspect-ratio: 1;
  border-color: rgba(184, 244, 255, 0.07);
}

.work-window {
  position: relative;
  min-width: 0;
  padding: 1px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px));
  background: linear-gradient(128deg, rgba(114, 233, 255, 0.84), rgba(226, 244, 248, 0.16) 32%, rgba(226, 244, 248, 0.15) 68%, rgba(63, 184, 216, 0.68));
  filter: drop-shadow(0 30px 48px rgba(0, 3, 8, 0.34));
}

.work-window__top {
  min-height: 56px;
  padding: 0 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(226, 244, 248, 0.72);
  background: #061925;
  border-bottom: 1px solid rgba(226, 244, 248, 0.14);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.work-window__top span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.work-window__top span i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 11px rgba(114, 233, 255, 0.56);
}

.work-window__top b {
  color: rgba(184, 244, 255, 0.82);
  font-weight: 500;
}

.work-window__body {
  position: relative;
  min-height: 400px;
  padding: 48px 30px 38px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 108px minmax(142px, 0.82fr);
  align-items: center;
  gap: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(114, 233, 255, 0.095), transparent 29%),
    #04131f;
}

.work-window__body::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 21%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 233, 255, 0.72), rgba(63, 184, 216, 0.54), transparent);
  box-shadow: 0 0 12px rgba(114, 233, 255, 0.34);
}

.work-window__body::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -32%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-16deg);
  pointer-events: none;
}

.work-window__mess {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 250px;
}

.work-slip {
  position: absolute;
  min-width: 122px;
  min-height: 50px;
  padding: 0 14px;
  /* The label must not be clipped by the fixed min-width. */
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 244, 248, 0.21);
  color: rgba(238, 246, 242, 0.85);
  background: #0a2634;
  box-shadow: 0 12px 21px rgba(0, 3, 8, 0.22);
  font-size: 14px;
}

.work-slip::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.42;
}

.work-slip--paper { top: 0; left: 3%; transform: rotate(-2deg); }
.work-slip--paper::after { top: -5px; left: 18px; color: var(--delegate-sky-light); }
.work-slip--excel { top: 65px; right: 0; transform: rotate(1deg); }
.work-slip--excel::after { right: -5px; bottom: 13px; color: var(--delegate-sky); }
.work-slip--check { bottom: 64px; left: 0; transform: rotate(1.5deg); }
.work-slip--check::after { top: 13px; left: -5px; color: var(--delegate-sky-deep); }
.work-slip--contact { right: 5%; bottom: 0; transform: rotate(-1deg); }
.work-slip--contact::after { right: 20px; bottom: -5px; color: var(--delegate-sky-light); }

.work-window__gate {
  position: relative;
  z-index: 2;
  width: 108px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 7px;
  border: 1px solid rgba(114, 233, 255, 0.56);
  color: rgba(226, 244, 248, 0.74);
  background: radial-gradient(circle, rgba(26, 98, 108, 0.68), rgba(5, 27, 39, 0.98) 68%);
  box-shadow: 0 18px 28px rgba(0, 4, 9, 0.32), 0 0 26px rgba(114, 233, 255, 0.12);
  transform: rotate(45deg);
  text-align: center;
}

.work-window__gate::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(63, 184, 216, 0.25);
}

.work-window__gate span,
.work-window__gate strong {
  transform: rotate(-45deg);
}

.work-window__gate span { font-size: 14px; }
.work-window__gate strong { color: var(--paper); font-size: 18px; font-weight: 500; }

.work-window__result {
  position: relative;
  z-index: 1;
  min-height: 195px;
  padding: 22px 16px;
  display: grid;
  place-content: center;
  gap: 23px;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  color: #18333b;
  background: linear-gradient(145deg, #fbf8ef, #ecece3);
  box-shadow: 0 18px 30px rgba(0, 4, 9, 0.3);
  text-align: center;
}

.work-window__result p { font-size: 16px; line-height: 1.8; }
.work-window__result strong { font-size: 21px; font-weight: 500; }

.result-signal {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
}

.result-signal i { width: 8px; height: 26px; display: block; background: var(--delegate-sky-deep); opacity: 0.54; }
.result-signal i:nth-child(2) { height: 39px; background: var(--delegate-sky); opacity: 0.68; }
.result-signal i:nth-child(3) { height: 52px; background: var(--delegate-sky-light); opacity: 0.8; }

.work-window__caption {
  min-height: 68px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d3f47;
  background: linear-gradient(135deg, #fbf8ef, #f1ece1);
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

/* 2. 困り方の三分類 */
.delegate-cases {
  min-height: max(800px, 100svh);
  padding-block: clamp(58px, 7svh, 88px);
}

.case-lines {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 75, 84, 0.24);
  border-bottom: 1px solid rgba(22, 75, 84, 0.18);
}

.case-line {
  --case-color: #0e7183;
  min-width: 0;
  min-height: 410px;
  padding: 34px clamp(24px, 2.7vw, 40px) 36px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(22, 75, 84, 0.17);
  overflow-wrap: anywhere;
}

.case-line:first-child { border-left: 0; }
.case-line--stop { --case-color: #12607a; }
.case-line--repeat { --case-color: #0e7183; }
.case-line--custom { --case-color: #0b7d8e; }

.case-line__signal {
  width: 58px;
  height: 1px;
  margin-bottom: 25px;
  display: block;
  background: var(--case-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--case-color) 45%, transparent);
}

.case-line__signal::after {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid var(--case-color);
  background: #f7f3e9;
  transform: translateY(-4px) rotate(45deg);
}

.case-line__kind {
  min-height: 48px;
  color: var(--case-color);
  font-size: 16px;
  line-height: 1.65;
}

.case-line h3 {
  margin-top: 17px;
  color: #18333b;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.62;
}

.case-line__scene {
  margin-top: 21px;
  color: #475f63;
  font-size: 16px;
  line-height: 1.95;
}

.case-line__answer {
  margin-top: auto;
  padding-top: 23px;
  border-top: 1px solid rgba(22, 75, 84, 0.16);
  display: grid;
  gap: 8px;
}

.case-line__answer span,
.case-line__you span {
  color: #53696d;
  font-size: 14px;
}

.case-line__answer strong,
.case-line__you strong {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.case-line__answer strong { color: #1f4c54; }
.case-line__you strong { color: #3c5458; }

.case-line__you {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(22, 75, 84, 0.2);
  display: grid;
  gap: 8px;
}

/* 3. 分担 */
.handoff-map {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  border-top: 1px solid rgba(226, 244, 248, 0.18);
  border-bottom: 1px solid rgba(226, 244, 248, 0.14);
}

.handoff-side {
  min-width: 0;
  padding: 26px clamp(26px, 4vw, 42px) 28px;
  background: rgba(7, 29, 42, 0.55);
}

.handoff-side h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 244, 248, 0.13);
  color: rgba(226, 244, 248, 0.82);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.handoff-side--us h3 { color: var(--delegate-sky); }
.handoff-side dl { margin-top: 5px; }

.handoff-side dl > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid rgba(226, 244, 248, 0.09);
}

.handoff-side dl > div:last-child { border-bottom: 0; }
.handoff-side dt { color: var(--paper); font-size: 18px; line-height: 1.65; }
.handoff-side dd { color: rgba(226, 244, 248, 0.72); font-size: 16px; line-height: 1.65; }

.handoff-transfer {
  position: relative;
  min-height: 100%;
  display: grid;
  place-content: center;
  gap: 20px;
  color: rgba(226, 244, 248, 0.67);
  background: rgba(4, 19, 31, 0.82);
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.handoff-transfer i {
  position: relative;
  width: 70px;
  height: 1px;
  display: block;
  background: linear-gradient(90deg, var(--delegate-sky-deep), var(--delegate-sky));
  box-shadow: 0 0 13px rgba(114, 233, 255, 0.36);
}

.handoff-transfer i::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--delegate-sky);
  border-right: 1px solid var(--delegate-sky);
  transform: rotate(45deg);
}

/* 4. 一つから始める */
.start-path {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 75, 84, 0.23);
  border-bottom: 1px solid rgba(22, 75, 84, 0.18);
  list-style: none;
}

.start-path li {
  position: relative;
  min-width: 0;
  padding: 34px clamp(25px, 3.5vw, 44px) 39px;
  border-left: 1px solid rgba(22, 75, 84, 0.17);
  overflow-wrap: anywhere;
}

.start-path li:first-child { border-left: 0; }

.start-path__number {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--delegate-sky-ink);
  font-size: 17px;
}

.start-path__number::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--delegate-sky-ink);
  transform: rotate(45deg);
}

.start-path li > div { margin-top: 31px; }
.start-path h3 { color: #18333b; font-size: 22px; font-weight: 500; line-height: 1.6; }
.start-path p { margin-top: 14px; color: #495f64; font-size: 16px; line-height: 1.9; }

/* 5. 相談 */
.delegate-contact {
  min-height: max(660px, 100svh);
  overflow: hidden;
}

.delegate-contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 17%;
  right: -110px;
  width: 500px;
  aspect-ratio: 1;
  border: 1px solid rgba(114, 233, 255, 0.08);
  border-radius: 50%;
}

.delegate-contact__signal {
  position: absolute;
  top: 28%;
  right: 8%;
  display: flex;
  align-items: end;
  gap: 7px;
  opacity: 0.55;
}

.delegate-contact__signal i { width: 8px; height: 22px; background: var(--cyan); }
.delegate-contact__signal i:nth-child(2) { height: 39px; background: var(--delegate-sky); }
.delegate-contact__signal i:nth-child(3) { height: 57px; background: var(--delegate-sky-light); }

.delegate-contact__inner {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.delegate-contact__copy h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.46;
}

.delegate-contact__copy p {
  margin-top: 25px;
  color: rgba(226, 244, 248, 0.77);
  font-size: 17px;
  line-height: 1.9;
}

.delegate-line--large { width: 100%; min-height: 70px; font-size: 18px; }

.delegate-contact__action { min-width: 0; }

.delegate-contact__assurance {
  margin-top: 24px;
  display: grid;
  list-style: none;
}

.delegate-contact__assurance li {
  min-height: 48px;
  padding: 12px 0 12px 23px;
  border-bottom: 1px solid rgba(226, 244, 248, 0.12);
  color: rgba(226, 244, 248, 0.76);
  font-size: 16px;
  line-height: 1.55;
}

.delegate-contact__assurance li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: -22px;
  margin-right: 15px;
  display: inline-block;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.delegate-contact__assurance a {
  color: var(--delegate-sky);
  text-underline-offset: 5px;
}

.delegate-contact__assurance a:hover,
.delegate-contact__assurance a:focus-visible,
.delegate-contact__route a:hover,
.delegate-contact__route a:focus-visible {
  color: var(--cyan);
}

.delegate-contact__assurance a:focus-visible,
.delegate-contact__route a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.delegate-contact__route {
  grid-column: 1 / -1;
  margin-top: 3px;
  padding-top: 28px;
  border-top: 1px solid rgba(226, 244, 248, 0.14);
  color: rgba(226, 244, 248, 0.69);
  font-size: 16px;
  line-height: 1.9;
}

.delegate-contact__route a {
  color: var(--delegate-sky);
  text-underline-offset: 5px;
}

/* 生命感 v1: 情報は変えず、「集まる・渡る・整う」の物理を通す。 */
.chapter-shell,
.delegate-contact__inner {
  position: relative;
  z-index: 2;
}

.delegate-chapter--paper::before,
.delegate-chapter--night:not(.delegate-contact)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.delegate-chapter--paper::before {
  opacity: 0.78;
  background:
    linear-gradient(112deg, transparent 0 68%, rgba(43, 96, 103, 0.055) 68.08%, transparent 68.2%),
    radial-gradient(ellipse at 4% 8%, rgba(255, 255, 255, 0.72), transparent 32%),
    radial-gradient(ellipse at 96% 92%, rgba(68, 93, 76, 0.08), transparent 38%),
    radial-gradient(circle, rgba(30, 63, 69, 0.065) 0 0.55px, transparent 0.75px);
  background-size: auto, auto, auto, 4px 4px;
  mix-blend-mode: multiply;
}

.delegate-chapter--night:not(.delegate-contact)::before {
  opacity: 0.12;
  background: radial-gradient(circle at 72% 48%, rgba(114, 233, 255, 0.3), transparent 30%);
  mix-blend-mode: screen;
}

.delegate-chapter::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: -34%;
  width: 34%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--delegate-sky-deep), var(--delegate-sky), var(--delegate-sky-light), transparent);
  box-shadow: 0 0 14px rgba(114, 233, 255, 0.34);
  pointer-events: none;
}

.delegate-hero__spark {
  position: absolute;
  z-index: -1;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg);
  pointer-events: none;
}

.delegate-hero__spark--cyan { top: 19%; left: 47%; color: var(--cyan); box-shadow: 0 0 14px currentColor; }
.delegate-hero__spark--pink { top: 76%; right: 7%; color: var(--delegate-sky-deep); box-shadow: 0 0 13px currentColor; }
.delegate-hero__spark--gold { bottom: 13%; left: 42%; color: var(--delegate-sky-light); }

.delegate-hero__orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff9dd 0 12%, var(--cyan) 34%, rgba(114, 233, 255, 0.08) 72%);
  box-shadow: 0 0 18px rgba(114, 233, 255, 0.52);
}

.work-window {
  transform: perspective(1300px) rotateY(-1.6deg) rotateX(0.7deg);
  transform-origin: 56% 50%;
}

.work-window::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 1px;
  left: 12%;
  width: 58%;
  height: 1px;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), rgba(114, 233, 255, 0.38), transparent);
  pointer-events: none;
}

.work-window__body {
  box-shadow: inset 0 28px 46px rgba(114, 233, 255, 0.025), inset 0 -28px 54px rgba(0, 0, 0, 0.28);
}

.work-slip {
  overflow: hidden;
  box-shadow: 0 17px 27px rgba(0, 3, 8, 0.32), inset 0 1px rgba(255, 255, 255, 0.08);
}

.work-slip::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  opacity: 0.42;
  background: linear-gradient(135deg, transparent 49%, rgba(226, 244, 248, 0.3) 50%);
  pointer-events: none;
}

.work-slip--paper {
  color: #29464b;
  border-color: rgba(117, 97, 58, 0.2);
  background: linear-gradient(145deg, #f6f0df, #ded4bc);
}

.work-slip--excel { background: linear-gradient(145deg, #103846, #082431); }
.work-slip--check { background: linear-gradient(145deg, #172c3b, #0a1d2b); }
.work-slip--contact { background: linear-gradient(145deg, #14303f, #0a1a26); }

.work-window__gate::after {
  content: "";
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: var(--delegate-sky-light);
  box-shadow: 0 0 18px rgba(184, 244, 255, 0.76), 0 0 42px rgba(114, 233, 255, 0.2);
  opacity: 0;
}

.work-window__result {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), transparent 45%),
    radial-gradient(circle at 76% 16%, rgba(114, 233, 255, 0.1), transparent 28%),
    linear-gradient(145deg, #fbf8ef, #e8e4d9);
  box-shadow: 0 24px 42px rgba(0, 4, 9, 0.38), inset 0 1px rgba(255, 255, 255, 0.78);
}

.case-lines,
.start-path {
  position: relative;
  border: 1px solid rgba(22, 75, 84, 0.15);
  background: rgba(255, 253, 247, 0.68);
  box-shadow: 0 26px 58px rgba(48, 62, 55, 0.14), 0 5px 14px rgba(48, 62, 55, 0.08), inset 0 1px rgba(255, 255, 255, 0.82);
}

.case-line {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(238, 234, 221, 0.16));
  box-shadow: inset 0 -18px 32px rgba(57, 74, 64, 0.025);
}

.case-line:nth-child(2) { background: linear-gradient(165deg, rgba(231, 245, 241, 0.34), rgba(255, 255, 255, 0.14)); }
.case-line:nth-child(3) { background: linear-gradient(145deg, rgba(255, 243, 235, 0.3), rgba(255, 255, 255, 0.14)); }

.handoff-map {
  position: relative;
  padding: 1px;
  border: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  background: linear-gradient(118deg, rgba(226, 244, 248, 0.16), rgba(114, 233, 255, 0.58) 48%, rgba(63, 184, 216, 0.34));
  filter: drop-shadow(0 26px 46px rgba(0, 4, 9, 0.34));
}

.handoff-side {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -24px 44px rgba(0, 0, 0, 0.12);
}

.handoff-side--us {
  background:
    radial-gradient(circle at 85% 12%, rgba(114, 233, 255, 0.11), transparent 34%),
    rgba(5, 38, 50, 0.82);
}

.handoff-transfer::after {
  content: "";
  position: absolute;
  top: calc(50% + 15px);
  left: calc(50% - 35px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0;
  background: var(--delegate-sky-light);
  box-shadow: 0 0 14px rgba(184, 244, 255, 0.88), 0 0 28px rgba(114, 233, 255, 0.46);
  transform: translate(-50%, -50%);
}

.start-path {
  overflow: hidden;
}

.start-path::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 52px;
  right: 13%;
  left: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 119, 133, 0.42) 12%, rgba(185, 88, 130, 0.34) 66%, transparent);
}

.start-path::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 49px;
  left: 13%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0;
  background: var(--delegate-sky-light);
  box-shadow: 0 0 14px rgba(184, 244, 255, 0.72), 0 0 24px rgba(40, 119, 133, 0.3);
}

.start-path li {
  z-index: 1;
  background: rgba(255, 253, 247, 0.42);
}

.delegate-contact__system {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -15%;
  width: min(720px, 58vw);
  aspect-ratio: 1;
  opacity: 0.62;
  transform: translateY(-50%) rotate(-10deg);
  pointer-events: none;
}

.delegate-contact__orbit {
  --orbit-size: 44%;
  --orbit-speed: 22s;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--orbit-size);
  aspect-ratio: 1;
  border: 1px solid rgba(114, 233, 255, 0.13);
  border-radius: 50%;
  translate: -50% -50%;
}

.delegate-contact__orbit i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff7dc 0 8%, var(--cyan) 32%, #0b3846 68%);
  box-shadow: 0 0 16px rgba(114, 233, 255, 0.42);
  transform: translate(-50%, -50%);
}

.delegate-contact__orbit--two {
  --orbit-size: 68%;
  --orbit-speed: 34s;
  border-color: rgba(63, 184, 216, 0.12);
  transform: rotate(38deg);
}

.delegate-contact__orbit--two i { width: 13px; background: radial-gradient(circle at 32% 28%, #eafcff, var(--delegate-sky) 34%, #10394a 72%); }
.delegate-contact__orbit--three { --orbit-size: 92%; --orbit-speed: 48s; border-color: rgba(184, 244, 255, 0.1); transform: rotate(72deg); }
.delegate-contact__orbit--three i { width: 7px; background: var(--delegate-sky-light); box-shadow: 0 0 14px rgba(184, 244, 255, 0.46); }

.delegate-contact__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f2fdff 0 14%, var(--delegate-sky-light) 36%, #2b6c80 68%, transparent 72%);
  box-shadow: 0 0 22px rgba(184, 244, 255, 0.52), 0 0 62px rgba(114, 233, 255, 0.18);
  transform: translate(-50%, -50%);
}

@media (prefers-reduced-motion: no-preference) {
  .delegate-life-ready [data-life-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 720ms ease, transform 840ms cubic-bezier(.16, 1, .3, 1);
  }

  .delegate-life-ready [data-life-reveal].is-life-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .delegate-life-ready .work-window[data-life-reveal] {
    transform: perspective(1300px) translateY(30px) rotateY(-4deg) rotateX(1.5deg) scale(0.985);
  }

  .delegate-life-ready .work-window[data-life-reveal].is-life-visible {
    transform: perspective(1300px) rotateY(-1.6deg) rotateX(0.7deg) scale(1);
  }

  .delegate-hero__spark { animation: delegate-spark-drift 7.8s ease-in-out infinite; }
  .delegate-hero__spark--pink { animation-delay: -2.6s; }
  .delegate-hero__spark--gold { animation-delay: -5.1s; }
  .delegate-hero__orbit--one { animation: delegate-orbit-turn 52s linear infinite; }
  .delegate-hero__orbit--two { animation: delegate-orbit-turn 38s linear reverse infinite; }

  .delegate-chapter.is-life-active::after { animation: delegate-chapter-pass 1.45s cubic-bezier(.16, 1, .3, 1) both; }
  .delegate-hero.is-life-active .work-slip::after { animation: delegate-signal-wake 1.25s ease-out 1 both; }
  .delegate-hero.is-life-active .work-slip--excel::after { animation-delay: 120ms; }
  .delegate-hero.is-life-active .work-slip--check::after { animation-delay: 240ms; }
  .delegate-hero.is-life-active .work-slip--contact::after { animation-delay: 360ms; }
  .delegate-hero.is-life-active .work-window__body::before { animation: delegate-flow-open 1.45s cubic-bezier(.16, 1, .3, 1) 260ms 1 both; }
  .delegate-hero.is-life-active .work-window__gate::before { animation: delegate-gate-receive 1.1s ease-out 620ms 1 both; }
  .delegate-hero.is-life-active .work-window__gate::after { animation: delegate-core-arrive 760ms ease-out 720ms 1 both; }
  .delegate-hero.is-life-active .work-window__result { animation: delegate-result-arrive 900ms ease-out 900ms 1 both; }
  .delegate-hero.is-life-active .result-signal i { transform-origin: bottom; animation: delegate-result-bar 640ms cubic-bezier(.16, 1, .3, 1) 980ms 1 both; }
  .delegate-hero.is-life-active .result-signal i:nth-child(2) { animation-delay: 1060ms; }
  .delegate-hero.is-life-active .result-signal i:nth-child(3) { animation-delay: 1140ms; }

  .delegate-cases.is-life-active .case-line__signal { transform-origin: left; animation: delegate-line-capture 760ms cubic-bezier(.16, 1, .3, 1) 1 both; }
  .delegate-cases.is-life-active .case-line:nth-child(2) .case-line__signal { animation-delay: 110ms; }
  .delegate-cases.is-life-active .case-line:nth-child(3) .case-line__signal { animation-delay: 220ms; }

  .delegate-handoff.is-life-active .handoff-transfer::after { animation: delegate-transfer 1.25s cubic-bezier(.16, 1, .3, 1) 420ms 1 both; }
  .delegate-handoff.is-life-active .handoff-side--us { animation: delegate-receive-edge 1.05s ease-out 860ms 1 both; }

  .delegate-start.is-life-active .start-path::after { animation: delegate-start-flow 1.55s cubic-bezier(.16, 1, .3, 1) 420ms 1 both; }
  .delegate-start.is-life-active .start-path li:nth-child(1) .start-path__number::before { animation: delegate-step-wake 760ms ease-out 360ms 1 both; }
  .delegate-start.is-life-active .start-path li:nth-child(2) .start-path__number::before { animation: delegate-step-wake 760ms ease-out 800ms 1 both; }
  .delegate-start.is-life-active .start-path li:nth-child(3) .start-path__number::before { animation: delegate-step-wake 760ms ease-out 1240ms 1 both; }

  .delegate-contact.is-life-active .delegate-contact__orbit { animation: delegate-contact-orbit var(--orbit-speed) linear infinite; }
  .delegate-contact.is-life-active .delegate-contact__core { animation: delegate-contact-core 4.8s ease-in-out infinite; }
  .delegate-contact.is-life-active .delegate-contact__signal i { transform-origin: bottom; animation: delegate-result-bar 680ms cubic-bezier(.16, 1, .3, 1) 1 both; }
  .delegate-contact.is-life-active .delegate-contact__signal i:nth-child(2) { animation-delay: 90ms; }
  .delegate-contact.is-life-active .delegate-contact__signal i:nth-child(3) { animation-delay: 180ms; }
}

@keyframes delegate-spark-drift {
  0%, 100% { opacity: 0.28; translate: 0 0; }
  50% { opacity: 0.82; translate: 5px -9px; }
}

@keyframes delegate-orbit-turn { to { transform: rotate(360deg); } }
@keyframes delegate-chapter-pass { 0% { left: -34%; opacity: 0; } 18% { opacity: 0.72; } 100% { left: 100%; opacity: 0; } }
@keyframes delegate-signal-wake { 0%, 100% { opacity: 0.42; box-shadow: none; } 48% { opacity: 1; box-shadow: 0 0 18px currentColor; } }
@keyframes delegate-flow-open { 0%, 18% { clip-path: inset(0 100% 0 0); opacity: 0.2; } 78%, 100% { clip-path: inset(0); opacity: 1; } }
@keyframes delegate-gate-receive { 0%, 100% { border-color: rgba(63, 184, 216, 0.25); } 52% { border-color: rgba(184, 244, 255, 0.82); box-shadow: 0 0 24px rgba(184, 244, 255, 0.28); } }
@keyframes delegate-core-arrive { 0% { opacity: 0; transform: scale(0.2); } 55% { opacity: 1; transform: scale(1.8); } 100% { opacity: 0.32; transform: scale(1); } }
@keyframes delegate-result-arrive { 0% { box-shadow: 0 24px 42px rgba(0, 4, 9, 0.38), inset 0 1px rgba(255, 255, 255, 0.78); } 55% { box-shadow: 0 28px 52px rgba(0, 4, 9, 0.42), 0 0 28px rgba(184, 244, 255, 0.22), inset 0 1px rgba(255, 255, 255, 0.9); } 100% { box-shadow: 0 24px 42px rgba(0, 4, 9, 0.38), inset 0 1px rgba(255, 255, 255, 0.78); } }
@keyframes delegate-result-bar { 0% { transform: scaleY(0.18); opacity: 0.2; } 100% { transform: scaleY(1); opacity: 0.8; } }
@keyframes delegate-line-capture { 0% { transform: scaleX(0.18); opacity: 0.3; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes delegate-transfer { 0% { left: calc(50% - 35px); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { left: calc(50% + 35px); opacity: 0; } }
@keyframes delegate-receive-edge { 0%, 100% { box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), inset 0 -24px 44px rgba(0, 0, 0, 0.12); } 55% { box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 0 38px rgba(114, 233, 255, 0.12); } }
@keyframes delegate-start-flow { 0% { left: 13%; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { left: 86%; opacity: 0; } }
@keyframes delegate-start-flow-mobile { 0% { top: 47px; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { top: calc(100% - 54px); opacity: 0; } }
@keyframes delegate-step-wake { 0%, 100% { box-shadow: none; } 52% { border-color: var(--delegate-sky-ink); box-shadow: 0 0 18px rgba(184, 244, 255, 0.52); } }
@keyframes delegate-transfer-mobile { 0% { top: calc(50% - 16px); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { top: calc(50% + 16px); opacity: 0; } }
@keyframes delegate-contact-orbit { to { transform: rotate(360deg); } }
@keyframes delegate-contact-core { 0%, 100% { opacity: 0.74; scale: 0.92; } 50% { opacity: 1; scale: 1.08; } }

@media (prefers-reduced-motion: no-preference) {
  .delegate-hero.is-life-active .work-window__body::after {
    animation: delegate-window-scan 6.8s cubic-bezier(.16, 1, .3, 1) infinite;
  }
}

@keyframes delegate-window-scan {
  0%, 58% { left: -32%; opacity: 0; }
  64% { opacity: 0.28; }
  82% { left: 112%; opacity: 0; }
  100% { left: 112%; opacity: 0; }
}

@media (max-width: 1120px) {
  .work-window__body {
    grid-template-columns: minmax(145px, 1fr) 96px minmax(125px, 0.82fr);
    padding-inline: 22px;
    gap: 15px;
  }

  .work-window__gate { width: 96px; }
  .work-slip { min-width: 108px; padding-inline: 11px; font-size: 16px; }
}

@media (max-width: 980px) {
  .delegate-hero__inner { width: calc(100% - 48px); min-height: 560px; padding: 90px 0 88px; }
  .delegate-hero__copy { width: min(660px, 100%); }
  .work-window__body { grid-template-columns: minmax(170px, 1fr) 108px minmax(150px, 0.82fr); padding-inline: 30px; gap: 20px; }
  .work-window__gate { width: 108px; }
  .work-slip { min-width: 122px; padding-inline: 14px; font-size: 14px; }

  .delegate-cases,
  .delegate-handoff,
  .delegate-start {
    min-height: 0;
  }

  .case-lines,
  .start-path {
    grid-template-columns: 1fr;
  }

  .case-line,
  .start-path li {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid rgba(22, 75, 84, 0.17);
  }

  .case-line:first-child,
  .start-path li:first-child { border-top: 0; }
  .case-line__kind { min-height: 0; }
  .case-line__answer { margin-top: 28px; }

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

  .handoff-transfer {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
  }

  .handoff-transfer i { width: 86px; }

  .handoff-transfer::after {
    top: 50%;
    left: calc(50% - 35px);
  }

  .start-path::before,
  .start-path::after {
    display: none;
  }

}

@media (max-width: 767px) {
  .delegate-page .header { min-height: 68px; padding: 0 18px; }

  .chapter-shell,
  .chapter-shell--narrow,
  .delegate-contact__inner {
    width: min(calc(100% - 34px), 560px);
  }

  .delegate-chapter {
    min-height: 0;
    padding: 88px 0 94px;
    align-items: start;
  }

  .chapter-heading h2 {
    font-size: clamp(32px, 9.3vw, 42px);
    line-height: 1.48;
  }

  .chapter-heading > p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.9;
  }

  .delegate-hero::before {
    top: 94px;
    right: -20%;
    width: 78vw;
  }

  .delegate-hero::after {
    right: -250px;
    bottom: -250px;
    width: 480px;
  }

  .delegate-hero__spark--pink { right: 5%; }
  .delegate-hero__spark--gold { display: none; }

  .delegate-hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1.39;
  }

  .delegate-hero__support {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.92;
  }

  .delegate-hero .delegate-line { margin-top: 28px; }
  .delegate-line { width: 100%; min-height: 62px; }

  .work-window {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
    transform: none;
  }

  .delegate-life-ready .work-window[data-life-reveal] {
    transform: translateY(24px) scale(0.985);
  }

  .delegate-life-ready .work-window[data-life-reveal].is-life-visible {
    transform: none;
  }

  .work-window__top {
    min-height: 51px;
    padding: 0 15px;
    gap: 10px;
    font-size: 16px;
  }

  .work-window__body {
    min-height: 0;
    padding: 27px 20px 29px;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
  }

  .work-window__body::before {
    top: 12%;
    right: auto;
    bottom: 12%;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(114, 233, 255, 0.72), rgba(63, 184, 216, 0.54), transparent);
  }

  .work-window__body::after { display: none; }

  .work-window__mess {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .work-slip,
  .work-slip--paper,
  .work-slip--excel,
  .work-slip--check,
  .work-slip--contact {
    position: relative;
    inset: auto;
    min-width: 0;
    min-height: 48px;
    padding: 0 9px;
    transform: none;
    font-size: 14px;
  }

  .work-window__gate { width: 88px; justify-self: center; }
  .work-window__gate::before { inset: 7px; }
  .work-window__gate span { font-size: 14px; }
  .work-window__gate strong { font-size: 17px; }

  .work-window__result {
    width: 100%;
    min-height: 128px;
    padding: 18px 12px;
    gap: 16px;
  }

  .work-window__result p { font-size: 16px; }
  .work-window__result strong { font-size: 19px; }
  .result-signal i { width: 6px; height: 18px; }
  .result-signal i:nth-child(2) { height: 27px; }
  .result-signal i:nth-child(3) { height: 36px; }

  .work-window__caption {
    min-height: 62px;
    padding: 15px 16px;
    font-size: 16px;
  }

  .case-lines,
  .handoff-map,
  .start-path {
    margin-top: 42px;
  }

  .case-line {
    padding: 30px 5px 34px;
  }

  .case-line__signal { margin-bottom: 20px; }
  .case-line__kind { font-size: 16px; }
  .case-line h3 { margin-top: 14px; font-size: 24px; line-height: 1.62; }
  .case-line__scene { margin-top: 17px; font-size: 16px; line-height: 1.9; }
  .case-line__answer { padding-top: 20px; }
  .case-line__answer span { font-size: 14px; }
  .case-line__answer strong,
  .case-line__you strong { font-size: 18px; }
  .case-line__you { margin-top: 16px; padding-top: 16px; }

  .handoff-side {
    padding: 29px 20px 31px;
  }

  .handoff-side h3 { font-size: 18px; }
  .handoff-side dl > div { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .handoff-side dt { font-size: 17px; }
  .handoff-side dd { font-size: 16px; }

  .handoff-transfer {
    min-height: 92px;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
  }

  .handoff-transfer i { width: 1px; height: 31px; background: linear-gradient(180deg, var(--delegate-sky-deep), var(--delegate-sky)); }
  .handoff-transfer i::after { top: auto; right: -4px; bottom: 0; transform: rotate(135deg); }

  .handoff-transfer::after {
    top: calc(50% - 16px);
    left: 50%;
  }

  .start-path li {
    padding: 29px 5px 32px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
  }

  .start-path__number { width: 36px; height: 36px; }
  .start-path li > div { margin-top: 0; }
  .start-path h3 { font-size: 21px; }
  .start-path p { font-size: 16px; }

  .start-path::before {
    top: 47px;
    right: auto;
    bottom: 47px;
    left: 22px;
    width: 1px;
    height: auto;
    display: block;
    background: linear-gradient(180deg, transparent, rgba(40, 119, 133, 0.42) 12%, rgba(185, 88, 130, 0.34) 78%, transparent);
  }

  .start-path::after {
    top: 47px;
    left: 19px;
    display: block;
  }

  .delegate-contact {
    padding-block: 96px 92px;
  }

  .delegate-contact::before { right: -290px; top: 4%; }
  .delegate-contact__signal { top: 70px; right: 8%; }

  .delegate-contact__system {
    top: 34%;
    right: -370px;
    width: 560px;
    opacity: 0.42;
  }

  .delegate-contact__inner {
    grid-template-columns: 1fr;
    gap: 39px;
  }

  .delegate-contact__copy h2 {
    font-size: clamp(32px, 9.2vw, 42px);
    line-height: 1.5;
  }

  .delegate-contact__copy p { margin-top: 20px; font-size: 16px; }
  .delegate-line--large { min-height: 66px; font-size: 17px; }
  .delegate-contact__assurance { margin-top: 20px; }
  .delegate-contact__assurance li { font-size: 16px; }

  .delegate-contact__route {
    grid-column: auto;
    margin-top: 0;
    padding-top: 24px;
    font-size: 16px;
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  .delegate-handoff.is-life-active .handoff-transfer::after {
    animation-name: delegate-transfer-mobile;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .delegate-start.is-life-active .start-path::after {
    animation-name: delegate-start-flow-mobile;
  }
}

@media (max-width: 360px) {
  .delegate-hero h1 { font-size: 39px; }
  .work-window__top b { display: none; }
  .work-window__mess { grid-template-columns: 1fr; }
  .handoff-side dl > div { grid-template-columns: 1fr; gap: 4px; }
}

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

/* Arrival scene shared with top STAGE 01. */
.delegate-hero__scene,
.delegate-hero__scene img,
.delegate-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.delegate-hero__scene {
  z-index: -3;
  overflow: hidden;
}

.delegate-hero__scene img {
  object-fit: cover;
  object-position: 52% center;
  image-rendering: pixelated;
}

/*
  Keep the shade dense under the copy (left ~40%) and let it fall away fast
  after that, so more of the sky shows without touching legibility.
*/
.delegate-hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 12, 22, 0.92) 0%, rgba(2, 12, 22, 0.74) 38%, rgba(2, 12, 22, 0.12) 64%, rgba(2, 12, 22, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 12, 22, 0.34) 0%, transparent 46%, rgba(2, 12, 22, 0.74) 100%);
  pointer-events: none;
}

.delegate-hero__inner { position: relative; z-index: 1; }
.delegate-hero .work-window { background: linear-gradient(128deg, rgba(114, 233, 255, 0.94), rgba(226, 244, 248, 0.22) 32%, rgba(226, 244, 248, 0.2) 68%, rgba(63, 184, 216, 0.72)); }

@media (max-width: 767px) {
  .delegate-hero__scene img { object-position: 58% center; }
  /* Copy runs full width here, so only the bands without text can open up. */
  .delegate-hero__veil {
    background:
      linear-gradient(90deg, rgba(2, 12, 22, 0.82) 0%, rgba(2, 12, 22, 0.42) 72%, rgba(2, 12, 22, 0.22) 100%),
      linear-gradient(180deg, rgba(2, 12, 22, 0.22) 0%, rgba(2, 12, 22, 0.54) 46%, rgba(2, 12, 22, 0.88) 100%);
  }

  /* Same SP framing as the AI-staff arrival: copy sits low over the photo. */
  .delegate-hero { min-height: max(720px, 100svh); }
  .delegate-hero__inner { width: calc(100% - 36px); min-height: 700px; margin-top: 68px; padding: 260px 0 82px; justify-content: flex-end; }
  .delegate-hero__copy { width: 100%; }

  /* The corner marker and scroll cue would sit on top of the copy at this width. */
  .delegate-hero__signal,
  .delegate-hero__next { display: none; }

  .delegate-hero__facts { margin-top: 34px; font-size: 12px; }
  .delegate-hero__facts span { padding: 0 12px; }

  .delegate-hero .work-window {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .delegate-hero .work-window__body,
  .delegate-hero .work-window__mess,
  .delegate-hero .work-window__result {
    min-width: 0;
    max-width: 100%;
  }
}

/* The work window now sits in its own band under the hero. */
.delegate-window-band {
  position: relative;
  isolation: isolate;
  padding: clamp(70px, 9svh, 104px) clamp(24px, 5vw, 72px) clamp(78px, 10svh, 116px);
  background:
    radial-gradient(ellipse at 20% 14%, rgba(var(--delegate-sky-rgb), 0.07), transparent 32%),
    linear-gradient(170deg, #041826, #020c16 58%, #061824);
}

.delegate-window-band__inner {
  width: min(100%, 980px);
  margin: 0 auto;
}
