/**
 * Cutover Resilience Check — Presence (elevated)
 */
.cutover-page {
  background: var(--bg-primary);
}

.cutover-atmosphere {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background:
    linear-gradient(165deg, rgba(243, 241, 236, 0.88) 28%, rgba(243, 241, 236, 0.72) 100%),
    url('/assets/presence-atmosphere.jpg') center 40% / cover no-repeat;
}

.cutover-atmosphere::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 4.5rem;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}

.cutover-shell {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.5rem;
}

.cutover-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 4.5rem;
}

.cutover-hero__title {
  margin: 0.4rem 0 0;
  font-size: clamp(2.35rem, 6vw, 3.35rem);
  max-width: 12ch;
  line-height: 1.05;
}

.cutover-hero__lede {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 1.12rem;
}

.cutover-hero__hard-q {
  margin: 1.35rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(18, 18, 18, 0.1);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 36rem;
}

.cutover-hero__hard-q--flush {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: none;
}

.cutover-hero__hard-q strong {
  color: var(--text-primary);
  font-weight: 600;
}

.cutover-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cutover-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cutover-hero__meta span::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent-start);
  flex-shrink: 0;
}

.cutover-hero__disclaimer {
  margin: 1.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 36rem;
  opacity: 0.9;
}

.cutover-panel {
  margin-top: 0.5rem;
  padding: 1.65rem 1.4rem 1.45rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.cutover-panel--intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cutover-panel--intro .cta-button {
  min-width: 11rem;
}

.cutover-intro__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 28rem;
  line-height: 1.45;
}

.cutover-progress-wrap {
  margin-bottom: 1.35rem;
}

.cutover-progress {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cutover-progress__bar {
  display: block;
  height: 4px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.cutover-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--accent-start);
  transition: width 0.35s ease;
}

.cutover-steps {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.7rem;
  list-style: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.cutover-steps li {
  flex: 1;
  height: 3px;
  background: var(--bg-secondary);
  transition: background 0.25s ease;
}

.cutover-steps li.is-done,
.cutover-steps li.is-current {
  background: var(--accent-start);
}

.cutover-steps li.is-current {
  opacity: 1;
}

.cutover-steps li.is-done {
  opacity: 0.45;
}

.cutover-q__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.75rem);
  font-weight: 480;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.5rem;
}

.cutover-q__helper {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cutover-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cutover-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.cutover-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cutover-option__face {
  display: block;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-primary);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.cutover-option:hover .cutover-option__face {
  border-color: rgba(31, 74, 67, 0.45);
  transform: translateX(2px);
}

.cutover-option:focus-within .cutover-option__face,
.cutover-option input:checked + .cutover-option__face {
  border-color: var(--accent-start);
  background: var(--accent-muted);
  box-shadow: inset 3px 0 0 var(--accent-start);
  transform: none;
}

.cutover-option input:focus-visible + .cutover-option__face {
  outline: 2px solid var(--accent-start);
  outline-offset: 2px;
}

.cutover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.cutover-actions .cta-button,
.cutover-actions .cutover-btn-secondary {
  min-width: 8rem;
  text-align: center;
}

.cutover-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.cutover-btn-secondary:hover {
  border-color: var(--accent-start);
  color: var(--accent-start);
}

.cutover-btn-secondary:disabled,
.cta-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cutover-error {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: #8a4b16;
  min-height: 1.25em;
}

.cutover-results[hidden],
.cutover-intro[hidden],
.cutover-quiz[hidden] {
  display: none !important;
}

.cutover-panel.is-entering {
  animation: cutover-enter 0.4s ease both;
}

@keyframes cutover-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cutover-panel.is-entering,
  .cutover-option:hover .cutover-option__face,
  .cutover-progress__fill {
    animation: none;
    transition: none;
    transform: none;
  }
}

.cutover-score {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
  margin: 0.85rem 0 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cutover-score__value {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 4.5rem);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent-start);
}

.cutover-score--band-c .cutover-score__value,
.cutover-score--band-d .cutover-score__value {
  color: #8a4b16;
}

.cutover-score__band {
  font-size: 1.1rem;
  font-weight: 600;
  max-width: 16rem;
  line-height: 1.3;
  padding-bottom: 0.2rem;
}

.cutover-results__ethics {
  margin: 0 0 1.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cutover-results__narrative {
  margin: 0 0 1.85rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.cutover-gaps-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 480;
  letter-spacing: -0.02em;
  margin: 0 0 0.95rem;
}

.cutover-gaps {
  list-style: none;
  margin: 0 0 1.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: gap;
}

.cutover-gap {
  position: relative;
  padding: 1.05rem 1.05rem 1.1rem 1.15rem;
  border-left: 2px solid var(--accent-start);
  background: var(--bg-primary);
  counter-increment: gap;
}

.cutover-gap__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.cutover-gap__title::before {
  content: counter(gap) '. ';
  color: var(--accent-start);
  font-weight: 700;
}

.cutover-gap__why,
.cutover-gap__next {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cutover-gap__next {
  margin-top: 0.5rem;
  color: var(--text-primary);
}

.cutover-gap__next strong {
  color: var(--accent-start);
  font-weight: 700;
}

.cutover-results__cta-lede {
  margin: 0 0 0.95rem;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.45;
}

.cutover-results__foot {
  margin: 1.65rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Consulting page feature band */
.cutover-feature {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(31, 74, 67, 0.94), rgba(18, 18, 18, 0.92)),
    url('/assets/presence-atmosphere.jpg') center / cover no-repeat;
  color: var(--text-on-ink);
}

.cutover-feature__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .cutover-feature__inner {
    grid-template-columns: 1.4fr auto;
    align-items: end;
    gap: 2.5rem;
  }
}

.cutover-feature .section-kicker {
  color: rgba(243, 241, 236, 0.72);
}

.cutover-feature .section-heading {
  color: #f3f1ec;
  margin: 0.35rem 0 0;
  max-width: 14ch;
}

.cutover-feature__lede {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(243, 241, 236, 0.82);
}

.cutover-feature__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.cutover-feature .cta-button {
  background: #f3f1ec;
  color: #121212;
}

.cutover-feature .cta-button:hover {
  background: #fff;
  color: #121212;
}

.cutover-feature__hint {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(243, 241, 236, 0.65);
}

@media (min-width: 640px) {
  .cutover-shell {
    padding-top: 3.5rem;
    padding-bottom: 1.75rem;
  }

  .cutover-panel {
    padding: 2rem 1.85rem 1.65rem;
  }

  .cutover-body {
    padding-bottom: 5rem;
  }
}
