import{o as b,k as e,L as m}from"./index-BVfpSx5Q.js";import{L as h}from"./layout-NiehYZnq.js";import{P as p,C as r,K as N,S as i,f,I as g}from"./ui-DGkmnhL-.js";import{g as u,A as y}from"./aerialTwinMilestones-5r2rjM9c.js";const a="#c9b787",c="var(--color-a11oy-text)",t="var(--color-a11oy-text-sub)",j="var(--color-a11oy-text-ghost)",o="/".replace(/\/$/,""),v={"0–6":"PHASE 1 · Months 0–6 · Foundation","7–12":"PHASE 2 · Months 7–12 · Reinforcement","13–24":"PHASE 3 · Months 13–24 · Hardening"};function H(){const[,d]=b(`${o}/aerial-twin/:milestone`),x=(d==null?void 0:d.milestone)??"",l=u(x);return l?e.jsxs(h,{children:[e.jsx(p,{label:`DOCTRINE · AERIAL TWIN · MILESTONE ${l.number}`,title:l.title,subtitle:`${l.tagline} · ${v[l.phase]??l.phase}`,status:"DELIVERED"}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3 mb-6",children:l.kpis.map(s=>e.jsx(N,{label:s.label,value:s.value,sub:s.sub,accent:a},s.label))}),e.jsxs(r,{className:"mb-6",children:[e.jsx(i,{children:"Doctrine"}),e.jsx("p",{className:"text-xs",style:{color:t,lineHeight:1.7},children:l.doctrine})]}),e.jsx(i,{className:"mt-2",children:"Deliverables"}),e.jsx("p",{className:"text-xs mb-3",style:{color:t},children:"Each deliverable is bound to a Sentra or A11oy module and required for milestone acceptance."}),e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-3 mb-8",children:l.deliverables.map(s=>e.jsxs(r,{children:[e.jsx("div",{className:"font-display text-sm font-semibold mb-1",style:{color:c},children:s.name}),e.jsx("p",{className:"text-xs mb-2",style:{color:t,lineHeight:1.6},children:s.oneLine}),e.jsx("p",{className:"text-xs mb-2",style:{color:c,lineHeight:1.55},children:s.detail}),e.jsxs("div",{className:"text-[11px] px-2 py-1.5 rounded",style:{color:a,backgroundColor:"rgba(201,183,135,0.06)",border:"1px solid rgba(201,183,135,0.18)",lineHeight:1.5},children:[e.jsx("span",{className:"font-mono uppercase tracking-wide mr-1",style:{fontSize:9},children:"Module"}),s.module]})]},s.id))}),e.jsx(i,{className:"mt-2",children:"Distilled from the open-source leaders"}),e.jsx("p",{className:"text-xs mb-3",style:{color:t},children:"Each card names what we took from the public repository and what we changed to make it ours."}),e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-3 mb-8",children:l.oss.map(s=>e.jsxs(r,{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2 flex-wrap gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-display text-sm font-semibold",style:{color:c},children:s.leader}),e.jsx(f,{status:"info",label:s.license})]}),e.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"font-mono text-[10px]",style:{color:a},children:s.repo})]}),e.jsx(g,{label:"Concept taken",value:s.conceptTaken}),e.jsx(g,{label:"Our reimplementation",value:s.ourReimplementation})]},`${s.leader}-${s.repo}`))}),e.jsx(i,{className:"mt-2",children:"Guardrails"}),e.jsx("p",{className:"text-xs mb-3",style:{color:t},children:"None of these can be bypassed by an in-context instruction. Each layer is owned by a named module."}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 mb-8",children:l.guardrails.map(s=>e.jsxs(r,{children:[e.jsx("div",{className:"font-mono text-xs uppercase tracking-wide mb-2",style:{color:a},children:s.layer}),e.jsx("p",{className:"text-xs mb-2",style:{color:c,lineHeight:1.55},children:s.control}),e.jsxs("div",{className:"text-[11px]",style:{color:j,lineHeight:1.5},children:[e.jsx("span",{className:"font-mono uppercase mr-1",style:{fontSize:9},children:"Enforced by"}),s.enforcedBy]})]},s.layer))}),l.related.length>0&&e.jsxs(e.Fragment,{children:[e.jsx(i,{className:"mt-2",children:"Related operational surfaces"}),e.jsx(r,{className:"mb-8",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-2",children:l.related.map(s=>{const n=u(s);return n?e.jsxs(m,{href:`${o}/aerial-twin/${n.slug}`,className:"block text-xs px-3 py-2 rounded",style:{color:a,border:"1px solid rgba(201,183,135,0.18)"},children:[e.jsxs("span",{className:"font-mono text-[10px] mr-1",style:{color:j},children:["M",n.number]}),n.title]},s):null})})})]}),e.jsx(i,{className:"mt-2",children:"Citations"}),e.jsx(r,{children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-4",children:l.citations.map(s=>e.jsxs("div",{className:"flex gap-2 py-1.5 text-[11px]",style:{color:t,lineHeight:1.5},children:[e.jsxs("span",{className:"font-mono shrink-0",style:{color:a},children:["[",s.tag,"]"]}),e.jsx("span",{children:s.source})]},s.tag))})}),e.jsx("div",{className:"mt-6",children:e.jsx(m,{href:`${o}/aerial-twin`,children:e.jsx("a",{className:"text-xs font-mono",style:{color:a},children:"← Back to Aerial Twin doctrine"})})})]}):e.jsxs(h,{children:[e.jsx(p,{label:"DOCTRINE · AERIAL TWIN",title:"Milestone not found",subtitle:`No operational surface registered for "${x}".`,status:"DRAFT"}),e.jsxs(r,{children:[e.jsxs("p",{className:"text-xs mb-3",style:{color:t,lineHeight:1.6},children:["The eight Aerial Twin operational surfaces live under ",e.jsxs("span",{className:"font-mono",style:{color:a},children:[o,"/aerial-twin/"]}),"."]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2",children:y.map(s=>e.jsxs(m,{href:`${o}/aerial-twin/${s.slug}`,className:"block text-xs px-3 py-2 rounded",style:{color:a,border:"1px solid rgba(201,183,135,0.18)"},children:["Milestone ",s.number," · ",s.title]},s.slug))})]})]})}export{H as AerialTwinMilestone};