/* Strategy-only. Does not style Experience V2. */

.access-arch {
  margin-top: 72px;
  padding-top: 8px;
  overflow: visible;
}
.access-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px clamp(28px, 5vw, 72px);
  align-items: start;
}
.access-arch .eyebrow,
.access-intro-copy .eyebrow {
  margin-bottom: 10px;
}
.access-arch h2,
.access-close h2 {
  letter-spacing: -0.03em;
  word-spacing: 0.07em;
  line-height: 1.12;
  max-width: 18ch;
}
.access-intro-copy p,
.access-close p {
  max-width: 740px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: -0.01em;
  word-spacing: 0.03em;
}
.access-intro-copy p + p { margin-top: 22px; }
.access-lead {
  color: var(--ink) !important;
  font-weight: 550;
}

.access-door {
  --door: 0;
  position: sticky;
  top: clamp(88px, 12vh, 120px);
  justify-self: end;
  align-self: start;
}
.access-door-stage {
  width: clamp(168px, 22vw, 280px);
  height: clamp(300px, 56vh, 580px);
  perspective: 1600px;
  perspective-origin: 8% 46%;
}
.access-door-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 1px solid rgba(0, 96, 125, 0.28);
  transform-style: preserve-3d;
}
.access-door-leaf {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(0, 96, 125, 0.42);
  transform-origin: left center;
  transform: rotateY(calc(var(--door) * 36deg));
  backface-visibility: hidden;
  will-change: transform;
}
.access-door-leaf img {
  width: clamp(72px, 9vw, 128px);
  height: auto;
  display: block;
}
.access-door-leaf b {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--navy);
}

.access-board {
  margin: 56px 0 12px;
}
.access-stage {
  display: grid;
  grid-template-columns: minmax(168px, 22%) 1fr;
  gap: 0 12px;
  align-items: stretch;
  min-height: 420px;
}

.access-points {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0 42px;
}
.access-points button {
  appearance: none;
  border: 0;
  background: none;
  padding: 8px 0;
  margin: 0;
  text-align: left;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
  cursor: pointer;
}
.access-points button[data-access="gp"] {
  color: #8a9ea5;
  font-weight: 550;
}
.access-points button.is-on,
.access-points button:hover,
.access-points button:focus-visible {
  color: var(--navy);
}
.access-points button:focus-visible {
  outline: 1px solid rgba(0, 96, 125, 0.35);
  outline-offset: 6px;
}

.access-svg {
  display: block;
  width: 100%;
  height: auto;
}
.access-svg .in-line {
  fill: none;
  stroke: #c5d2d6;
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.9;
  transition: stroke 0.4s ease, opacity 0.4s ease, stroke-width 0.4s ease;
}
.access-svg .in-line.is-gp {
  stroke: #9aafb6;
  opacity: 0.62;
}
.access-board.is-live .in-line:not(.is-on) {
  opacity: 0.22;
}
.access-svg .in-line.is-on {
  stroke: var(--navy);
  stroke-width: 1.55;
  opacity: 1;
}
.access-svg .out-line {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.38;
}
.access-board.is-live .out-line {
  opacity: 1;
}
.access-svg .out-line.is-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: access-draw 0.62s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.access-svg .activate {
  fill: #fff;
  stroke: var(--navy);
  stroke-width: 1.4;
  transition: fill 0.35s ease, stroke 0.35s ease;
}
.access-board.is-live .activate {
  fill: var(--navy);
}
.access-svg .activate-core {
  fill: var(--navy);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.access-board.is-live .activate-core { opacity: 1; }
.access-svg .node-word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  fill: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.access-svg .care-word { fill: var(--navy); }
.access-svg .bound {
  fill: none;
  stroke: #d5e0e3;
  stroke-width: 1;
}
.access-svg .bound-note {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  fill: var(--muted);
}

.access-copy {
  min-height: 4.8em;
  max-width: 640px;
  margin: 8px 0 0;
  padding-left: 18px;
  border-left: 3px solid transparent;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.015em;
  word-spacing: 0.03em;
}
.access-copy:not(:empty) {
  border-left-color: var(--aqua);
}
.access-copy:empty { min-height: 0; padding-left: 0; }
.access-copy em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 750;
  margin-bottom: 8px;
}

.access-rule {
  margin: 18px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.access-close {
  margin-top: 72px;
  padding-top: 8px;
}
.access-close h2 {
  color: var(--navy);
}

.access-mobile { display: none; }

@keyframes access-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

#infrastructure.chapter { overflow: visible; }

@media (max-width: 900px) {
  .access-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 16px;
  }
  .access-door { top: 84px; }
  .access-door-stage {
    width: clamp(112px, 30vw, 168px);
    height: clamp(210px, 42vh, 340px);
  }
  .access-door-leaf img { width: clamp(56px, 14vw, 84px); }
  .access-stage { display: none; }
  .access-mobile { display: block; }
  .access-mobile-doors {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0 10px;
  }
  .access-mobile-doors button {
    appearance: none;
    border: 0;
    background: none;
    padding: 14px 0;
    text-align: left;
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 650;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }
  .access-mobile-doors button[data-access="gp"] { font-weight: 550; }
  .access-mobile-doors button.is-on { color: var(--navy); }
  .access-mobile-copy {
    min-height: 0;
    margin: 14px 0 8px;
    padding-left: 16px;
    border-left: 3px solid transparent;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
  }
  .access-mobile-copy:not(:empty) { border-left-color: var(--aqua); }
  .access-flow {
    margin: 28px 0 8px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--navy);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 2.05;
  }
  .access-flow span,
  .access-flow i {
    display: block;
    font-style: normal;
    color: var(--muted);
    font-weight: 550;
  }
  .access-flow b {
    display: block;
    color: var(--navy);
    font-weight: 750;
  }
  .access-flow .access-stop {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-svg .out-line.is-draw,
  .access-svg .in-line {
    animation: none;
    stroke-dashoffset: 0;
    transition: none;
  }
  .access-door-leaf { transform: rotateY(36deg); }
}
