/* Technology page only. Builds on m.css; nothing here is shared with other pages. */

/* ------------------------------------------------ page head: three numbers under the title */
.pg-technology .page-head .tech-facts { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: var(--max); }
.tech-facts li { background: var(--surface); padding: 22px 24px 24px; }
.tech-facts b { display: block; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem); font-weight: 620; letter-spacing: -0.03em; line-height: 1; font-stretch: 112%; font-variation-settings: 'wdth' 112; font-variant-numeric: tabular-nums; }
.tech-facts span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.4; }

/* ------------------------------------------------ Atlas flight tour */
.power-tour .k-jobs-film { transition: opacity 1.1s ease, transform 1.6s var(--ease-out); }
.power-tour .k-jobs-film.on { opacity: 1; }
.power-tour .k-jobs-stage::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 100%); }
.power-tour .spec { display: block; margin-top: 8px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--iodine); }

/* ------------------------------------------------ power chain: fuel to rotors in one line */
.chain-sec { background: var(--surface); padding: clamp(110px, 14vw, 200px) 0; }
.chain { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; counter-reset: c; }
.chain li { position: relative; background: var(--surface-2); padding: 30px 24px 28px; }
.chain li::before { counter-increment: c; content: '0' counter(c); display: block; font-size: .78rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; }
.chain li::after { content: ''; position: absolute; top: 38px; right: -14px; width: 24px; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--iodine) 0 50%, transparent 50% 100%); background-size: 8px 2px; animation: flow 0.9s linear infinite; }
.chain li:last-child::after { display: none; }
@keyframes flow { to { background-position: 8px 0; } }
.chain b { display: block; font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem); font-weight: 620; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.chain h3 { margin: 12px 0 8px; font-size: 1.2rem; font-weight: 560; font-stretch: 100%; font-variation-settings: 'wdth' 100; letter-spacing: -0.005em; line-height: 1.2; }
.chain p { margin: 0; font-size: .95rem; color: var(--muted); }
.chain-note { margin: 28px 0 0; max-width: 72ch; color: var(--muted); }

/* ------------------------------------------------ why sixteen rotors: a top-view diagram that steps */
.rotor-tour { height: 620vh; background: #020304; }
.rotor-tour .k-jobs-stage::after { background: linear-gradient(180deg, rgba(2,3,4,.6) 0%, rgba(2,3,4,0) 26%, rgba(2,3,4,0) 64%, rgba(2,3,4,.7) 100%); }
.rotor-svg { position: absolute; z-index: 1; left: 50%; top: 55%; width: min(1180px, 94vw); transform: translate(-50%, -50%); display: flex; justify-content: center; gap: 2vw; }
.rotor-svg svg { width: 50%; height: auto; max-height: 50vh; overflow: visible; }
.rotor-svg .air { fill: none; stroke: rgba(238,240,243,.62); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.rotor-svg .air-f { fill: rgba(238,240,243,.06); }
.rotor-svg .boom { stroke: rgba(238,240,243,.45); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.rotor-svg .disc { fill: rgba(240,162,58,.08); stroke: rgba(240,162,58,.85); stroke-width: 1.4; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transition: fill .6s, stroke .6s, opacity .6s, transform .8s var(--ease-out); }
.rotor-svg .blade { stroke: rgba(238,240,243,.9); stroke-width: 2.2; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.rotor-svg .ttl { fill: #eef0f3; font-size: 26px; font-weight: 600; letter-spacing: .06em; text-anchor: middle; }
.rotor-svg .sub { fill: rgba(238,240,243,.62); font-size: 17px; letter-spacing: .08em; text-anchor: middle; text-transform: uppercase; }
.rotor-svg .say { opacity: 0; transition: opacity .6s ease; }
.rotor-svg .x { stroke: #ff7a3d; stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.rotor-svg .scale { stroke: rgba(238,240,243,.35); stroke-width: 1; }
.rotor-svg .scale-t { fill: rgba(238,240,243,.45); font-size: 14px; letter-spacing: .08em; }
/* step 0: equal area */
.rotor-tour[data-step='0'] .s0 { opacity: 1; }
/* step 1: one fails */
.rotor-tour[data-step='1'] .s1 { opacity: 1; }
.rotor-tour[data-step='1'] .fail .disc { fill: rgba(255,122,61,.18); stroke: #ff7a3d; }
.rotor-tour[data-step='1'] .fail .x { opacity: 1; }
.rotor-tour[data-step='1'] .idle .disc { opacity: .25; stroke-dasharray: 4 5; }
.rotor-tour[data-step='1'] .big .disc:not(.f) { stroke: rgba(255,122,61,.6); }
/* step 2: steer by speed */
.rotor-tour[data-step='2'] .s2 { opacity: 1; }
.rotor-tour[data-step='2'] .small .disc { animation: thrum 1.6s ease-in-out infinite; }
.rotor-tour[data-step='2'] .small g:nth-child(odd) .disc { animation-delay: .8s; }
@keyframes thrum { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.06); } }
/* step 3: smaller parts */
.rotor-tour[data-step='3'] .s3 { opacity: 1; }
/* step 4: the wing takes over, rotors stop in line with the booms */
.rotor-tour[data-step='4'] .s4 { opacity: 1; }
.rotor-tour[data-step='4'] .small g:not(.tip) .disc { opacity: .12; transform: scale(.4); }
.rotor-tour[data-step='4'] .small g:not(.tip) .blade { opacity: 1; }
.rotor-tour[data-step='4'] .small .tip .disc { fill: rgba(240,162,58,.28); stroke: var(--iodine); stroke-width: 2; }
.rotor-note { position: absolute; z-index: 3; right: var(--m); top: clamp(96px, 14vh, 140px); margin: 0; max-width: 34ch; text-align: right; font-size: .85rem; color: rgba(238,240,243,.55); }

/* ------------------------------------------------ gantry in four steps */
.gantry-sec { background: var(--bg); padding: clamp(110px, 14vw, 200px) 0; }
.gantry-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.gantry-steps li { background: var(--surface); }
.gantry-steps figure { margin: 0; }
.gantry-steps img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gantry-steps figcaption { padding: 22px 22px 26px; }
.gantry-steps .n { display: block; font-size: .78rem; letter-spacing: .14em; color: var(--iodine); margin-bottom: 10px; }
.gantry-steps h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 560; font-stretch: 100%; font-variation-settings: 'wdth' 100; letter-spacing: -0.005em; line-height: 1.2; }
.gantry-steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ------------------------------------------------ barge and carrier, side by side */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #000; }
.duo a { position: relative; display: block; min-height: 78vh; overflow: hidden; text-decoration: none; color: inherit; }
.duo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.duo a:hover img { transform: scale(1.04); }
.duo a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,0) 55%); }
.duo-copy { position: absolute; z-index: 1; left: clamp(24px, 3vw, 48px); right: clamp(24px, 3vw, 48px); bottom: clamp(28px, 4vw, 56px); }
.duo-copy .n { margin: 0 0 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--iodine); }
.duo-copy h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3.4rem); }
.duo-copy p { max-width: 44ch; margin: 0; color: rgba(238,240,243,.85); }
.duo-copy .go { display: inline-block; margin-top: 18px; font-size: .95rem; border-bottom: 1px solid rgba(238,240,243,.5); padding-bottom: 2px; }

/* ------------------------------------------------ autonomy: eight tiles */
.pg-technology .nav-steps + .nav-steps { margin-top: 4px; }
.pg-technology .nav-steps .k { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--iodine); margin-bottom: 14px; }

/* ------------------------------------------------ custody: one box, every handover */
.custody { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.custody::before { content: ''; position: absolute; left: 10%; right: 10%; top: 9px; height: 1px; background: repeating-linear-gradient(90deg, rgba(240,162,58,.8) 0 6px, transparent 6px 12px); }
.custody li { position: relative; text-align: center; padding: 0 12px; }
.custody li::before { content: ''; display: block; width: 18px; height: 18px; margin: 0 auto 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--iodine); box-shadow: 0 0 0 6px rgba(240,162,58,.12); }
.custody h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 560; font-stretch: 100%; font-variation-settings: 'wdth' 100; }
.custody p { margin: 0; font-size: .92rem; color: var(--muted); }

@media (max-width: 1080px) {
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain li:nth-child(3)::after { display: none; }
  .gantry-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pg-technology .page-head .tech-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-facts li { text-align: center; }
  .chain, .gantry-steps, .duo { grid-template-columns: minmax(0, 1fr); }
  .chain li { text-align: center; }
  .chain li::after { top: auto; bottom: -13px; right: auto; left: 50%; width: 2px; height: 22px; transform: translateX(-50%); background: linear-gradient(180deg, var(--iodine) 0 50%, transparent 50% 100%); background-size: 2px 8px; animation: flowv .9s linear infinite; }
  .chain li:nth-child(3)::after { display: block; }
  @keyframes flowv { to { background-position: 0 8px; } }
  .gantry-steps figcaption { text-align: center; }
  .duo a { min-height: 70svh; }
  .duo-copy { text-align: center; }
  .duo-copy p { margin: 0 auto; }
  .rotor-svg { top: 43%; width: 100vw; flex-direction: column; align-items: center; gap: 10px; }
  .rotor-svg svg { width: 60vw; max-height: 23svh; }
  .rotor-svg .ttl { font-size: 36px; }
  .rotor-svg .sub { font-size: 30px; letter-spacing: .04em; }
  .rotor-svg .scale, .rotor-svg .scale-t { display: none; }
  .rotor-note { display: none; }
  .custody { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .custody::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(240,162,58,.8) 0 6px, transparent 6px 12px); }
  .custody li { background: var(--bg); padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chain li::after, .rotor-tour .disc { animation: none !important; }
}

/* ------------------------------------------------ three films in the picker */
.pg-technology .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .pg-technology .picker { grid-template-columns: minmax(0, 1fr); } }
