/* /partners: the Mach 1 Partner Network (November 17, Will and Enzo). Public and indexable. Tokens only.
   Order: hero with the live network, three ways in (join, portal, directory), the partner directory, what the
   portal holds, a partner in their own words, and the application form.
   Partner copy and logos come from Will's partner package: blurbs are used word for word, and the page is
   exposure only (no referral language). Logos are dark-on-light files, so every plate stays white in both themes.
   The application form reuses assets/partner-intake.css and assets/partner-intake.mjs.
   Motion: entrances hang off .reveal.is-visible (assets/motion.js); loops are ambient and decorative. Every
   animation runs from a start value to the resting style, so without script or with reduced motion each graphic
   shows its finished state. Only transform, opacity and stroke offsets animate. */

.pt-hero { position: relative; overflow-x: clip; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 72px); }
.pt-hero-bg { position: absolute; inset: 0; opacity: .7; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 74% 46%, #000, transparent 72%); mask-image: radial-gradient(ellipse 60% 80% at 74% 46%, #000, transparent 72%); pointer-events: none; }
.pt-hero .wrap { position: relative; }
.pt-hero .breadcrumbs ol { margin-bottom: clamp(20px, 3vw, 36px); }
.pt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 4vw, 72px); align-items: center; }
.pt-hero-copy { display: grid; gap: 24px; justify-items: start; }
.pt-hero-copy > * { margin: 0; }
.pt-hero h1 { font-size: min(var(--ed-h1), 68px) !important; }
.pt-hero .lede { max-width: 31em; }
.pt-hero .cta-row .icon { margin-left: 2px; }
.pt-count { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--fg-2); font-size: 14.5px; text-decoration: none; }
.pt-count b { background: linear-gradient(100deg, var(--horizon-1), var(--horizon-2) 55%, var(--horizon-3)); -webkit-background-clip: text; background-clip: text; color: transparent; font: 660 30px/1 var(--font-sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pt-count > span { line-height: 1.45; }
.pt-count .icon { margin-left: 4px; vertical-align: -2px; }
.pt-count:hover { color: var(--fg); }
.pt-count:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 8px; }

/* The network: Mach 1 in the middle, every partner around it. */
.pt-net { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / .94; margin-inline: auto; --plate-w: 104px; --plate-h: 48px; }
.pt-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.pt-wires path { stroke: var(--horizon-2); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; opacity: .55; }
.pt-ring { position: absolute; top: 50%; left: 50%; border: 1px dashed var(--line-2); border-radius: 50%; translate: -50% -50%; }
.pt-ring.is-a { width: 54%; height: 54%; }
.pt-ring.is-b { width: 86%; height: 86%; }
.pt-hub { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--horizon-line); border-radius: 50%; background: var(--bg-elev); background-image: linear-gradient(var(--horizon-soft), var(--horizon-soft)); color: var(--horizon-ink); box-shadow: 0 0 0 8px var(--horizon-soft), 0 14px 40px -10px var(--horizon-2); translate: -50% -50%; }
.pt-hub::before, .pt-hub::after { content: ""; position: absolute; inset: -9px; border: 1.5px solid var(--horizon-2); border-radius: 50%; opacity: 0; }
.pt-plane { display: block; width: 28px; height: 28px; }
.pt-node { position: absolute; top: var(--y); left: var(--x); z-index: 1; display: grid; place-items: center; width: var(--plate-w); height: var(--plate-h); padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: var(--shadow-2); translate: -50% -50%; }
.pt-node { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.pt-node::after { content: ""; position: absolute; inset: -4px; border: 1.5px solid var(--horizon-2); border-radius: 15px; opacity: 0; }
.pt-node img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; min-height: 0; object-fit: contain; }

/* Three ways in */
.pt-doors-section { padding: 0 0 clamp(48px, 6vw, 88px); }
.pt-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-door { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: var(--bg-elev); transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out); }
.pt-door:hover, .pt-door:focus-within { border-color: var(--line-3); box-shadow: var(--shadow-2); translate: 0 -3px; }
.pt-door.is-portal { border-color: var(--horizon-line); }
.pt-door.is-portal::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, var(--horizon-1), var(--horizon-2) 55%, var(--horizon-3)); opacity: .22; filter: blur(26px); transform: translateY(12px) scale(.94); }
.pt-door > * { margin: 0; }
.pt-door h2 { font-size: clamp(21px, 2vw, 25px); line-height: 1.2; letter-spacing: -.025em; }
.pt-door p { color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.pt-door .btn { margin-top: auto; }
.pt-door .btn .icon { margin-left: 2px; }
.pt-door-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--fg); }
.pt-door-mark.is-horizon { border-color: var(--horizon-line); background: var(--horizon-soft); color: var(--horizon-ink); }
.pt-door-mark .icon { width: 18px; height: 18px; }
.pt-code-field { display: flex; align-items: center; gap: 7px; align-self: stretch; height: 44px; margin-bottom: 4px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: var(--radius-sm); background: var(--bg); }
.pt-code-field i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.pt-code-field b { width: 1.5px; height: 18px; margin-left: 1px; border-radius: 1px; background: var(--horizon-2); }

.pt-section .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.pt-section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* The directory */
.pt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-elev); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out); }
.pt-card:hover, .pt-card:focus-within { border-color: var(--line-3); box-shadow: var(--shadow-2); translate: 0 -2px; }
.pt-plate { position: relative; display: grid; place-items: center; height: 124px; padding: 20px; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.pt-plate::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 50%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--horizon-2) 14%, transparent), transparent); opacity: 0; pointer-events: none; }
.pt-card:hover .pt-plate::after { opacity: 1; translate: 340% 0; transition: translate .9s var(--ease-out), opacity .2s; }
.pt-plate img { display: block; width: auto; max-width: min(64%, 220px); height: auto; max-height: 60px; object-fit: contain; filter: grayscale(1); opacity: .86; transition: filter var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out), scale var(--dur-3) var(--ease-out); }
.pt-card:hover .pt-plate img, .pt-card:focus-within .pt-plate img { filter: none; opacity: 1; scale: 1.04; }
.pt-plate:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.pt-card-body { display: grid; align-content: start; gap: 8px; padding: 20px 20px 4px; }
.pt-card-body h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pt-card-body p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
.pt-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding: 16px 20px 20px; }
.pt-link { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--fg-2); font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap; transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.pt-link .icon { width: 13px; height: 13px; color: var(--fg-3); }
.pt-link > span[aria-hidden] { color: var(--fg-3); font-size: 12px; }
.pt-link:hover { border-color: var(--fg-3); color: var(--fg); }
.pt-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-link.is-primary { border-color: var(--horizon-line); background: var(--horizon-soft); color: var(--horizon-ink); font-weight: 500; }
.pt-link.is-primary .icon { color: currentColor; }
.pt-card-apply { border-style: dashed; border-color: var(--line-3); background: transparent; }
.pt-plate-open { border-bottom: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--fg) 3%, transparent) 10px 20px); color: var(--fg-3); }
.pt-plate-open::after { display: none; }
.pt-plate-open .icon { width: 26px; height: 26px; padding: 9px; box-sizing: content-box; border: 1px dashed var(--line-3); border-radius: 50%; background: var(--bg); }

/* What the portal holds: four tiles, each with a small moving picture */
.pt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-tile { display: grid; align-content: start; gap: 8px; padding: 12px 12px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-elev); }
.pt-tile h3 { margin: 10px 8px 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pt-tile p { margin: 0 8px; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
.pt-stage { position: relative; display: grid; place-items: center; height: 168px; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) - 6px); background: radial-gradient(circle, var(--grid-dot, var(--line-2)) 1px, transparent 1.5px) 0 0 / 14px 14px, var(--bg-subtle); overflow: hidden; }
.mg-chip { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--horizon-line); border-radius: 999px; background: var(--bg-elev); background-image: linear-gradient(var(--horizon-soft), var(--horizon-soft)); color: var(--horizon-ink); font: 500 12px/1 var(--font-sans); white-space: nowrap; }
.mg-chip .icon { width: 12px; height: 12px; }
/* video */
.mg-screen { position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-elev); box-shadow: var(--shadow-2); translate: 0 -8px; }
.mg-play { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--invert-bg, var(--fg)); color: var(--invert-fg, var(--bg)); }
.mg-play::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid var(--fg-3); border-radius: 50%; opacity: 0; }
.mg-play .icon { width: 15px; height: 15px; margin-left: 2px; }
.mg-bar { position: absolute; right: 10px; bottom: 9px; left: 10px; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.mg-bar i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--horizon-1), var(--horizon-2)); transform-origin: 0 50%; }
/* workflow */
.mg-flow { display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 16px; }
.mg-step { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-elev); color: var(--fg-2); box-shadow: var(--shadow-2); }
.mg-step .icon { width: 16px; height: 16px; }
.mg-step.is-agent { width: 50px; height: 50px; border-color: var(--horizon-line); border-radius: 50%; background-image: linear-gradient(var(--horizon-soft), var(--horizon-soft)); color: var(--horizon-ink); box-shadow: 0 0 0 5px var(--horizon-soft); }
.mg-step.is-agent .pt-plane { width: 20px; height: 20px; }
.mg-step.is-done { border-color: var(--horizon-line); color: var(--horizon-ink); }
.mg-wire { position: relative; flex: 1 1 24px; max-width: 46px; height: 2px; background: var(--line-3); }
.mg-wire i { position: absolute; top: -3px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--horizon-2); opacity: 0; }
/* brief */
.mg-doc { display: grid; gap: 7px; width: 68%; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-elev); box-shadow: var(--shadow-2); translate: -8% -6px; }
.mg-doc b { color: var(--fg); font: 600 12px/1.2 var(--font-mono, ui-monospace, monospace); }
.mg-doc i { display: block; width: calc(var(--w) * 1%); height: 5px; border-radius: 3px; background: var(--line-3); transform-origin: 0 50%; }
.mg-doc em { display: block; width: 1.5px; height: 11px; border-radius: 1px; background: var(--horizon-2); }
/* a line to Will */
.mg-will { align-content: center; justify-items: stretch; gap: 8px; padding: 0 16% 26px 12%; }
.mg-bubble { display: grid; gap: 5px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px 14px 4px 14px; background: var(--bg-elev); justify-self: end; width: 62%; box-shadow: var(--shadow-2); }
.mg-bubble i { display: block; width: calc(var(--w) * 1%); height: 5px; border-radius: 3px; background: var(--line-3); }
.mg-bubble.is-will { grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; justify-self: start; width: 66%; border-color: var(--horizon-line); border-radius: 14px 14px 14px 4px; background-image: linear-gradient(var(--horizon-soft), var(--horizon-soft)); }
.mg-bubble.is-will i { background: color-mix(in srgb, var(--horizon-2) 45%, transparent); }
.mg-bubble img { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; }
.pt-portal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(24px, 3vw, 36px); }
.pt-portal-cta > * { margin: 0; }
.pt-note { color: var(--fg-3); font-size: 13.5px; line-height: 1.6; }
.pt-note .icon { margin-right: 7px; vertical-align: -2px; }
.pt-note .textlink { display: inline; font-size: 13.5px; }

/* A partner in their own words */
.pt-voice { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 56px); align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--bg-elev); color: inherit; text-decoration: none; transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.pt-voice:hover { border-color: var(--line-3); box-shadow: var(--shadow-2); }
.pt-voice:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pt-voice-poster { position: relative; display: block; border-radius: calc(var(--radius-xl) - 8px); overflow: hidden; background: var(--bg-subtle); }
.pt-voice-poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .6s var(--ease-out); }
.pt-voice:hover .pt-voice-poster img { scale: 1.03; }
.pt-voice-play { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.pt-voice-play::after { content: ""; position: absolute; inset: -8px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 50%; opacity: 0; }
.pt-voice-play .icon { width: 20px; height: 20px; margin-left: 3px; }
.pt-voice-copy { display: grid; gap: 10px; justify-items: start; padding: 8px 14px 8px 0; }
.pt-voice-copy strong { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.pt-voice-copy > span:not(.label-mono) { color: var(--fg-2); font-size: 16px; }
.pt-voice-copy .pt-voice-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--fg); font-size: 15px; font-weight: 500; }
.pt-voice-go .icon { transition: translate var(--dur-2) var(--ease-out); }
.pt-voice:hover .pt-voice-go .icon { translate: 4px 0; }

/* Apply */
.pt-steps { position: relative; display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pt-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pt-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg-elev); color: var(--fg-2); font: 500 13px/1 var(--font-mono, ui-monospace, monospace); }
.pt-steps li:last-child > span { border-color: var(--horizon-line); background: var(--bg-elev); background-image: linear-gradient(var(--horizon-soft), var(--horizon-soft)); color: var(--horizon-ink); }
.pt-steps div { display: grid; gap: 2px; color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.pt-steps strong { color: var(--fg); font-size: 16px; font-weight: 500; }

/* ---------- Motion ---------- */
@keyframes pt-pop { from { opacity: 0; scale: .6; } }
@keyframes pt-fade { from { opacity: 0; } }
@keyframes pt-flow { to { stroke-dashoffset: -22; } }
@keyframes pt-ping { 0% { opacity: .7; scale: 1; } 100% { opacity: 0; scale: 1.7; } }
@keyframes pt-float { 50% { translate: -50% calc(-50% - 5px); } }
@keyframes pt-spot { 0%, 7% { opacity: 1; } 11%, 100% { opacity: 0; } }
@keyframes pt-turn { to { rotate: 360deg; } }
@keyframes pt-key { from { opacity: 0; scale: .2; } }
@keyframes pt-caret { 50% { opacity: 0; } }
@keyframes pt-step { from { opacity: 0; translate: -8px 0; } }
@keyframes mg-progress { 0% { scale: 0 1; } 70%, 100% { scale: 1 1; } }
@keyframes mg-chip { 0%, 52% { opacity: 0; translate: 0 6px; } 62%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }
@keyframes mg-run { 0% { opacity: 0; translate: 0 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; translate: 46px 0; } }
@keyframes mg-line { 0% { scale: 0 1; } 12%, 100% { scale: 1 1; } }
@keyframes mg-bubble { 0% { opacity: 0; translate: 0 8px; } 10%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }
@keyframes mg-done { 0%, 55% { scale: 1; } 65% { scale: 1.14; } 75%, 100% { scale: 1; } }

/* Hero network: plates pop in around the hub, then the whole thing keeps breathing. */
.pt-net.is-visible .pt-hub { animation: pt-pop .6s var(--ease-spring, var(--ease-out)) .15s both; }
.pt-net.is-visible .pt-ring.is-a { animation: pt-fade .8s var(--ease-out) .3s both; }
.pt-net.is-visible .pt-ring.is-b { animation: pt-fade .8s var(--ease-out) .3s both, pt-turn 90s linear infinite; }
.pt-net.is-visible .pt-node { animation: pt-pop .5s var(--ease-spring, var(--ease-out)) calc(.45s + var(--n) * .07s) both, pt-float 7s var(--ease-in-out, ease-in-out) calc(1.6s + var(--n) * .6s) infinite; }
.pt-net.is-visible .pt-wires path { animation: pt-fade .6s var(--ease-out) calc(.6s + var(--n) * .07s) both, pt-flow 1.4s linear infinite; }
.pt-net.is-visible .pt-hub::before { animation: pt-ping 3s var(--ease-out) 1.4s infinite; }
.pt-net.is-visible .pt-hub::after { animation: pt-ping 3s var(--ease-out) 2.9s infinite; }
.pt-net.is-visible .pt-node::after { animation: pt-spot calc(var(--count, 11) * 1.2s) linear calc(2s + var(--n) * 1.2s) infinite; }
/* Portal door: the codeword types itself. */
.pt-door.is-visible .pt-code-field i { animation: pt-key .22s var(--ease-out) calc(.6s + var(--n) * .13s) both; }
.pt-code-field b { animation: pt-caret 1.1s steps(1) infinite; }
/* Tiles */
.pt-tile.is-visible .mg-bar i { animation: mg-progress 6s var(--ease-in-out, ease-in-out) infinite; }
.pt-tile.is-visible .mg-play::after { animation: pt-ping 2.4s var(--ease-out) infinite; }
.pt-tile.is-visible .mg-chip { animation: mg-chip 6s var(--ease-out) infinite; }
.pt-tile.is-visible .mg-wire i { animation: mg-run 2.4s linear infinite; }
.pt-tile.is-visible .mg-step.is-agent + .mg-wire i { animation-delay: 1.2s; }
.pt-tile.is-visible .mg-step.is-done { animation: mg-done 2.4s var(--ease-out) 1.2s infinite; }
.pt-tile.is-visible .mg-doc i { animation: mg-line 6s var(--ease-out) calc(var(--n) * .5s) infinite backwards; }
.pt-tile.is-visible .mg-doc em { animation: pt-caret 1s steps(1) infinite; }
.pt-tile.is-visible .mg-bubble.is-you { animation: mg-bubble 6s var(--ease-out) infinite; }
.pt-tile.is-visible .mg-bubble.is-will { animation: mg-bubble 6s var(--ease-out) 1s infinite backwards; }
/* Interview card and steps */
.pt-voice.is-visible .pt-voice-play::after { animation: pt-ping 2.6s var(--ease-out) infinite; }
.pt-steps.is-visible li { animation: pt-step .5s var(--ease-out) calc(.1s + var(--k, 0) * .14s) both; }
.pt-steps li:nth-child(2) { --k: 1; }
.pt-steps li:nth-child(3) { --k: 2; }

@media (max-width: 1100px) {
  .pt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-net { --plate-w: 92px; --plate-h: 44px; }
}
@media (max-width: 900px) {
  .pt-hero-grid { grid-template-columns: 1fr; }
  .pt-net { max-width: 480px; }
  .pt-doors { grid-template-columns: 1fr; }
  .pt-voice { grid-template-columns: 1fr; }
  .pt-voice-copy { padding: 0 10px 12px; }
}
@media (max-width: 640px) {
  .pt-grid, .pt-tiles { grid-template-columns: 1fr; }
  .pt-plate { height: 108px; }
  .pt-hero .cta-row { width: 100%; }
  .pt-hero .cta-row .btn { width: 100%; justify-content: center; }
  .pt-door .btn, .pt-portal-cta .btn { width: 100%; justify-content: center; }
  .pt-net { --plate-w: 70px; --plate-h: 34px; }
  .pt-node { padding: 6px 8px; border-radius: 9px; }
  .pt-hub { width: 54px; height: 54px; }
  .pt-plane { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-net *, .pt-net *::before, .pt-net *::after, .pt-code-field *, .pt-stage *, .pt-stage *::after, .pt-voice-play::after, .pt-steps li { animation: none !important; }
  .pt-card, .pt-door, .pt-plate img, .pt-link, .pt-voice, .pt-voice-poster img { transition: none !important; }
  .pt-card:hover, .pt-card:focus-within, .pt-door:hover, .pt-door:focus-within { translate: none; }
  .pt-plate::after { display: none; }
}
@media (forced-colors: active) {
  .pt-count b { background: none; color: CanvasText; }
  .pt-door.is-portal::before { display: none; }
}
