:root{
  --bg:#0b1220;
  --bg-deep:#07101c;
  --bg2:#111b2d;
  --panel:rgba(255,255,255,.045);
  --panel-strong:rgba(255,255,255,.07);
  --border:rgba(255,255,255,.10);
  --border-strong:rgba(110,168,254,.35);
  --text:#f3f6fb;
  --muted:#b8c3d2;
  --accent:#6ea8fe;
  --accent-dark:#08111d;
  --cta:#f0a43c;
  --cta-hover:#ffb653;
  --max:1120px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-width:320px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top right,rgba(110,168,254,.11),transparent 35rem),
    linear-gradient(180deg,var(--bg),var(--bg-deep));
  line-height:1.7;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(calc(100% - 40px),var(--max));
  margin-inline:auto;
}

/* Header */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,18,32,.93);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.8rem;
  min-width:0;
}

.brand img{
  flex:0 0 auto;
}

.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.brand-copy strong{
  font-size:1.3rem;
  letter-spacing:-.03em;
}

.brand-copy small{
  margin-top:.25rem;
  color:var(--muted);
  font-size:.72rem;
  letter-spacing:.02em;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:2rem;
}

.site-nav a{
  position:relative;
  padding:.35rem 0;
  color:var(--muted);
  transition:color .18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"]{
  color:var(--text);
}

.site-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-.35rem;
  height:2px;
  background:var(--accent);
}

.mobile-menu{
  display:none;
  position:relative;
}

.mobile-menu summary{
  list-style:none;
}

.mobile-menu summary::-webkit-details-marker{
  display:none;
}

/* Accessible keyboard focus */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Hero */

.hero{
  padding:clamp(4.5rem,9vw,7rem) 0 clamp(4rem,8vw,6rem);
}

.eyebrow,
.section-label{
  margin:0 0 .75rem;
  color:var(--accent);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
}

h1{
  max-width:960px;
  margin:.3rem 0 1.5rem;
  font-size:clamp(2.65rem,6vw,5.3rem);
  line-height:1.02;
  letter-spacing:-.05em;
}

h2{
  line-height:1.15;
  letter-spacing:-.035em;
}

.lead{
  max-width:780px;
  margin:0;
  color:var(--muted);
  font-size:1.15rem;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:2.4rem;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:.85rem 1.45rem;
  border:1px solid var(--border);
  border-radius:10px;
  font-weight:750;
  line-height:1.2;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.button:hover{
  transform:translateY(-2px);
}

.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--accent-dark);
}

.cta{
  background:var(--cta);
  border-color:var(--cta);
  color:#171006;
  box-shadow:0 10px 28px rgba(240,164,60,.18);
}

.cta:hover{
  background:var(--cta-hover);
  border-color:var(--cta-hover);
  box-shadow:0 13px 34px rgba(240,164,60,.26);
}

.secondary{
  background:transparent;
  color:var(--text);
}

/* Topology */

.topology-section{
  padding:clamp(4rem,8vw,6rem) 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:
    linear-gradient(135deg,rgba(110,168,254,.06),transparent 45%),
    rgba(255,255,255,.015);
}

.topology-layout{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(420px,1.22fr);
  align-items:center;
  gap:clamp(2.5rem,6vw,5rem);
}

.topology-copy h2{
  max-width:520px;
  margin:.2rem 0 1.25rem;
  font-size:clamp(2rem,4vw,3.4rem);
}

.topology-copy p:not(.section-label){
  max-width:580px;
  color:var(--muted);
}

.text-link{
  display:inline-block;
  margin-top:.8rem;
  color:var(--accent);
  font-weight:750;
}

.text-link::after{
  content:" →";
}

.topology-figure{
  margin:0;
}

.topology-frame{
  padding:1.25rem;
  overflow:hidden;
  border:1px solid rgba(110,168,254,.25);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 45%,rgba(110,168,254,.10),transparent 60%),
    rgba(4,10,19,.75);
  box-shadow:
    0 24px 60px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.025);
}

.topology-frame img{
  width:100%;
  height:auto;
}

.topology-figure figcaption{
  margin-top:.75rem;
  color:var(--muted);
  font-size:.78rem;
  letter-spacing:.08em;
  text-align:right;
  text-transform:uppercase;
}

/* Principles */

.principles-strip{
  padding:3.8rem 0;
  border-bottom:1px solid var(--border);
}

.principles-strip h2{
  margin:.15rem 0 1.6rem;
  font-size:clamp(1.8rem,4vw,2.5rem);
}

.principles{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
}

.principles span{
  padding:1rem 1.1rem;
  border-left:2px solid var(--accent);
  background:rgba(11,18,32,.78);
  font-weight:650;
  line-height:1.35;
}

/* Content sections */

.section{
  padding:5rem 0;
  border-top:1px solid var(--border);
}

.section h2{
  max-width:800px;
  margin:.15rem 0 1rem;
  font-size:clamp(2rem,4vw,3rem);
}

.section > .container > p:not(.section-label){
  max-width:760px;
  color:var(--muted);
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
  margin-top:2.5rem;
}

.card{
  padding:1.6rem;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(11,18,32,.78);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.card:hover{
  transform:translateY(-3px);
  border-color:var(--border-strong);
  background:rgba(15,25,42,.90);
}

.card-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}

.card-ref{
  color:var(--accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}

.card-icon{
  width:46px;
  height:46px;
}

.card h3{
  margin:.8rem 0 .45rem;
  font-size:1.3rem;
}

.card p{
  color:var(--muted);
}

.card-outcome{
  display:block;
  margin-top:1.2rem;
  color:var(--text);
  font-size:.86rem;
  font-weight:700;
}

/* Philosophy */

.philosophy{
  padding:clamp(4.5rem,8vw,6rem) 0;
  border-top:1px solid var(--border);
}

blockquote{
  max-width:900px;
  margin:0;
  font-size:clamp(2rem,4vw,3rem);
  font-weight:750;
  line-height:1.25;
}

/* Footer */

.site-footer{
  padding:2.5rem 0;
  border-top:1px solid var(--border);
}

.footer-content{
  display:flex;
  justify-content:space-between;
  gap:2rem;
}

.footer-brand p{
  margin:.3rem 0;
}

.footer-note,
.footer-values,
.footer-meta small{
  color:var(--muted);
}

.footer-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
}

.footer-values{
  text-align:right;
}

/* Tablet */

@media (max-width:900px){
  .topology-layout{
    grid-template-columns:1fr;
  }

  .topology-copy{
    max-width:720px;
  }

  .topology-figure{
    width:100%;
  }

  .principles{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Mobile */

@media (max-width:760px){
  .container{
    width:min(calc(100% - 28px),var(--max));
  }

  .header-inner{
    min-height:68px;
  }

  .brand-copy small{
    display:none;
  }

  .desktop-nav{
    display:none;
  }

  .mobile-menu{
    display:block;
  }

  .mobile-menu summary{
    display:flex;
    align-items:center;
    gap:.55rem;
    padding:.55rem .7rem;
    border:1px solid var(--border);
    border-radius:8px;
    color:var(--text);
    cursor:pointer;
    user-select:none;
  }

  .menu-icon{
    position:relative;
    display:block;
    width:20px;
    height:14px;
    border-top:2px solid currentColor;
    border-bottom:2px solid currentColor;
  }

  .menu-icon::after{
    content:"";
    position:absolute;
    top:4px;
    left:0;
    width:20px;
    border-top:2px solid currentColor;
  }

  .menu-label{
    font-size:.82rem;
    font-weight:750;
  }

  .mobile-menu[open] summary{
    border-color:rgba(110,168,254,.55);
    background:rgba(110,168,254,.08);
  }

  .mobile-menu nav{
    position:absolute;
    top:calc(100% + .7rem);
    right:0;
    width:min(260px,calc(100vw - 28px));
    padding:.5rem;
    border:1px solid var(--border);
    border-radius:12px;
    background:#101a2b;
    box-shadow:0 18px 45px rgba(0,0,0,.38);
  }

  .mobile-menu nav a{
    display:block;
    padding:.8rem .9rem;
    border-radius:8px;
    color:var(--muted);
    font-weight:650;
  }

  .mobile-menu nav a:hover,
  .mobile-menu nav a[aria-current="page"]{
    color:var(--text);
    background:rgba(110,168,254,.10);
  }

  .hero{
    padding:4rem 0 3.8rem;
  }

  h1{
    font-size:clamp(2.35rem,11vw,3.5rem);
    line-height:1.04;
  }

  .lead{
    font-size:1.03rem;
    line-height:1.65;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    margin-top:2rem;
  }

  .button{
    width:100%;
    min-height:54px;
  }

  .cta{
    order:-1;
    font-size:1.02rem;
  }

  .topology-section{
    padding:3.8rem 0;
  }

  .topology-layout{
    gap:2rem;
  }

  .topology-copy h2{
    font-size:2.15rem;
  }

  .topology-frame{
    margin-inline:-4px;
    padding:.45rem;
    border-radius:13px;
  }

  .topology-frame img{
    min-height:260px;
    object-fit:contain;
  }

  .topology-figure figcaption{
    text-align:left;
  }

  .principles{
    grid-template-columns:1fr;
  }

  .card-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:4rem 0;
  }

  .footer-content{
    flex-direction:column;
  }

  .footer-meta{
    align-items:flex-start;
  }

  .footer-values{
    text-align:left;
  }
}

/* Very small phones */

@media (max-width:380px){
  .brand-copy strong{
    font-size:1.13rem;
  }

  .brand img{
    width:34px;
    height:34px;
  }

  .menu-label{
    display:none;
  }

  h1{
    font-size:2.25rem;
  }
}

@media (prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    transition:none !important;
  }

  .v3-demo-indicator,
  .v3-demo-state,
  .v3-node-core,
  .v3-node-two,
  .v3-route-two,
  .v3-recovery-route,
  .v3-detection-pulse,
  .v3-orbit-two{
    animation:none !important;
  }

  .v3-demo-normal,
  .v3-demo-fault,
  .v3-demo-recovery{
    opacity:0;
  }

  .v3-demo-verified{
    opacity:1;
  }

  .v3-recovery-route{
    opacity:.35;
  }
}

/* Page-wide resilience topology */

body{
  position:relative;
  isolation:isolate;
}

body::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:90px 0 0;
  width:100%;
  height:auto;
  background:
    linear-gradient(
      180deg,
      rgba(7,16,28,.04) 0%,
      rgba(7,16,28,.22) 58%,
      var(--bg-deep) 100%
    ),
    url("../topology.svg") center 40px / min(1800px,165vw) auto repeat-y;
  opacity:.55;
  pointer-events:none;
}

main{
  position:relative;
  z-index:1;
}

.hero,
.principles-strip,
.section,
.philosophy,
.site-footer{
  background-color:transparent;
}

@media (max-width:760px){
  body::before{
    inset:95px 0 0;
    height:auto;
    background:
      linear-gradient(
        180deg,
        rgba(7,16,28,.02) 0%,
        rgba(7,16,28,.20) 55%,
        var(--bg-deep) 100%
      ),
      url("../topology.svg") center 25px / 245vw auto repeat-y;
    opacity:1;
  }
}


/* KNOWLEDGE SECTION START */

.risk-commitment {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.risk-commitment h2 {
  max-width: 760px;
}

.risk-commitment p {
  max-width: 860px;
}

.risk-statement {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.45;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.knowledge-card {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
}

.knowledge-card h3 {
  margin-top: 1.25rem;
}

.future-paper {
  opacity: 0.72;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-meta span {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.3rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
}

.insight-hero {
  padding-bottom: 3rem;
}

.article-document-meta {
  margin-bottom: 1.5rem;
}

.article-body {
  padding: 4rem 0;
}

.article-container {
  max-width: 820px;
}

.article-container h2 {
  margin-top: 3rem;
}

.article-container p {
  line-height: 1.8;
}

.engineering-principle {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-left: 4px solid currentColor;
  background: rgba(255, 255, 255, 0.04);
}

.engineering-principle p {
  margin-bottom: 0;
  font-size: 1.12rem;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 850px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
}

/* KNOWLEDGE SECTION END */

/* WaypointHQ released brand assets */

.brand > img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.hero-graphic{
  width:100%;
  max-width:1200px;
  margin:3.25rem auto 0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:18px;
  background:#0d1b2a;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.hero-graphic img{
  display:block;
  width:100%;
  height:auto;
}

@media (max-width:760px){
  .brand > img{
    width:36px;
    height:36px;
  }

  .hero-graphic{
    margin-top:2.5rem;
    border-radius:12px;
  }
}

/* Released footer branding */

.footer-logo{
  display:block;
  width:54px;
  height:54px;
  margin:0 0 .8rem;
  object-fit:contain;
  border-radius:12px;
}

@media (max-width:760px){
  .footer-logo{
    width:48px;
    height:48px;
    margin-bottom:.7rem;
  }
}


/* ==========================================================
   WaypointHQ Website V3 homepage
   ========================================================== */

.v3-home{
  overflow:hidden;
}

.v3-hero{
  position:relative;
  padding:clamp(5rem,10vw,8rem) 0 clamp(4rem,8vw,6rem);
}

.v3-hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  align-items:center;
  gap:clamp(3rem,7vw,7rem);
}

.v3-hero-copy h1{
  max-width:760px;
  margin:.3rem 0 1.5rem;
  font-size:clamp(3.2rem,7vw,6.5rem);
  line-height:.96;
}

.v3-hero-lead{
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:clamp(1.08rem,2vw,1.28rem);
  line-height:1.65;
}

.v3-actions{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:2.25rem;
}

.v3-hero-visual{
  display:grid;
  place-items:center;
  min-height:430px;
}


.v3-resilience-demo{
  width:min(100%,430px);
}

.v3-demo-status{
  position:relative;
  display:flex;
  align-items:center;
  min-height:28px;
  margin-bottom:.75rem;
  padding-left:1.6rem;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.14em;
}

.v3-demo-indicator{
  position:absolute;
  left:0;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 14px rgba(110,168,254,.65);
  animation:v3-status-indicator 12s ease-in-out infinite;
}

.v3-demo-state{
  position:absolute;
  left:1.6rem;
  opacity:0;
}

.v3-demo-normal{
  animation:v3-state-normal 12s linear infinite;
}

.v3-demo-fault{
  animation:v3-state-fault 12s linear infinite;
}

.v3-demo-recovery{
  animation:v3-state-recovery 12s linear infinite;
}

.v3-demo-verified{
  animation:v3-state-verified 12s linear infinite;
}

.v3-system-map{
  position:relative;
  width:min(100%,430px);
  aspect-ratio:1;
}

.v3-node,
.v3-route,
.v3-orbit{
  position:absolute;
  display:block;
}

.v3-node{
  z-index:3;
  width:18px;
  height:18px;
  border:3px solid var(--accent);
  border-radius:50%;
  background:var(--bg);
  box-shadow:0 0 24px rgba(110,168,254,.35);
}

.v3-node-core{
  top:50%;
  left:50%;
  width:54px;
  height:54px;
  transform:translate(-50%,-50%);
  border-width:5px;
}

.v3-node-one{ top:12%; left:42%; }
.v3-node-two{ top:42%; right:5%; }
.v3-node-three{ bottom:8%; left:48%; }
.v3-node-four{ top:50%; left:4%; }

.v3-route{
  z-index:1;
  top:50%;
  left:50%;
  height:2px;
  transform-origin:left center;
  background:linear-gradient(90deg,var(--accent),rgba(110,168,254,.15));
}

.v3-route-one{
  width:158px;
  transform:rotate(-94deg);
}

.v3-route-two{
  width:175px;
  transform:rotate(-12deg);
}

.v3-route-three{
  width:170px;
  transform:rotate(83deg);
}

.v3-route-four{
  width:176px;
  transform:rotate(181deg);
}

.v3-orbit{
  inset:11%;
  border:1px solid rgba(110,168,254,.22);
  border-radius:50%;
}

.v3-orbit-two{
  inset:25%;
  border-style:dashed;
}

.v3-route-two{
  animation:v3-primary-route 12s ease-in-out infinite;
}

.v3-node-two{
  animation:v3-failed-node 12s ease-in-out infinite;
}

.v3-recovery-route{
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  width:175px;
  height:3px;
  transform:rotate(27deg);
  transform-origin:left center;
  background:linear-gradient(
    90deg,
    var(--cta),
    rgba(240,164,60,.12)
  );
  opacity:0;
  box-shadow:0 0 12px rgba(240,164,60,.18);
  animation:v3-recovery-route 12s ease-in-out infinite;
}

.v3-detection-pulse{
  position:absolute;
  z-index:4;
  top:42%;
  right:5%;
  width:18px;
  height:18px;
  border:2px solid var(--cta);
  border-radius:50%;
  opacity:0;
  animation:v3-detection-pulse 12s ease-out infinite;
}

.v3-node-core{
  animation:v3-core-state 12s ease-in-out infinite;
}

.v3-orbit-two{
  animation:v3-assurance-orbit 12s ease-in-out infinite;
}

.v3-demo-sequence{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin-top:.9rem;
  padding-top:.8rem;
  border-top:1px solid var(--border);
  color:rgba(184,195,210,.55);
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.11em;
  text-align:center;
}

.v3-demo-sequence span{
  position:relative;
}

.v3-demo-sequence span:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  right:-12%;
  width:24%;
  height:1px;
  background:var(--border);
}

@keyframes v3-primary-route{
  0%,24%{
    opacity:1;
    filter:none;
  }

  30%,49%{
    opacity:.12;
    filter:saturate(.25);
  }

  56%,100%{
    opacity:.35;
  }
}

@keyframes v3-failed-node{
  0%,24%{
    border-color:var(--accent);
    box-shadow:0 0 24px rgba(110,168,254,.35);
    opacity:1;
  }

  30%,49%{
    border-color:var(--cta);
    box-shadow:0 0 26px rgba(240,164,60,.7);
    opacity:.55;
  }

  56%,100%{
    border-color:var(--accent);
    box-shadow:0 0 24px rgba(110,168,254,.35);
    opacity:1;
  }
}

@keyframes v3-detection-pulse{
  0%,26%,50%,100%{
    transform:scale(.6);
    opacity:0;
  }

  30%{
    transform:scale(.8);
    opacity:.9;
  }

  42%{
    transform:scale(3.4);
    opacity:0;
  }
}

@keyframes v3-recovery-route{
  0%,43%{
    opacity:0;
  }

  51%{
    opacity:.2;
  }

  62%,82%{
    opacity:1;
  }

  91%,100%{
    opacity:.35;
  }
}

@keyframes v3-core-state{
  0%,49%{
    box-shadow:0 0 24px rgba(110,168,254,.35);
  }

  58%,78%{
    box-shadow:
      0 0 28px rgba(240,164,60,.5),
      0 0 54px rgba(240,164,60,.15);
  }

  88%,100%{
    box-shadow:
      0 0 30px rgba(110,168,254,.65),
      0 0 60px rgba(110,168,254,.18);
  }
}

@keyframes v3-assurance-orbit{
  0%,75%{
    opacity:.55;
  }

  84%,100%{
    opacity:1;
    border-color:rgba(110,168,254,.65);
  }
}

@keyframes v3-status-indicator{
  0%,24%{
    background:var(--accent);
    box-shadow:0 0 14px rgba(110,168,254,.65);
  }

  30%,49%{
    background:var(--cta);
    box-shadow:0 0 18px rgba(240,164,60,.7);
  }

  56%,78%{
    background:var(--cta);
    box-shadow:0 0 18px rgba(240,164,60,.55);
  }

  86%,100%{
    background:var(--accent);
    box-shadow:0 0 18px rgba(110,168,254,.8);
  }
}

@keyframes v3-state-normal{
  0%,23%{ opacity:1; }
  27%,100%{ opacity:0; }
}

@keyframes v3-state-fault{
  0%,26%{ opacity:0; }
  30%,47%{ opacity:1; }
  51%,100%{ opacity:0; }
}

@keyframes v3-state-recovery{
  0%,49%{ opacity:0; }
  54%,76%{ opacity:1; }
  80%,100%{ opacity:0; }
}

@keyframes v3-state-verified{
  0%,78%{ opacity:0; }
  84%,100%{ opacity:1; }
}


.v3-discipline-strip{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.v3-discipline-strip p{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:clamp(.65rem,2vw,1.5rem);
  margin:0;
  padding:1.4rem 0;
  color:var(--muted);
  font-size:.83rem;
  font-weight:750;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.v3-discipline-strip span{
  color:var(--accent);
}

.v3-section{
  padding:clamp(5rem,10vw,8rem) 0;
}

.v3-section h2,
.v3-final-cta h2{
  max-width:780px;
  margin:.2rem 0 2.5rem;
  font-size:clamp(2.25rem,5vw,4.25rem);
}

.v3-discipline-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1.2rem;
}

.v3-discipline{
  padding:2rem;
  border-top:2px solid var(--accent);
  background:rgba(17,27,45,.52);
}

.v3-discipline img{
  display:block;
  margin-bottom:1.5rem;
}

.v3-discipline h3{
  margin:0 0 .75rem;
  font-size:1.2rem;
}

.v3-discipline p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.v3-process-section{
  background:rgba(7,16,28,.52);
}

.v3-process{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.v3-process article{
  position:relative;
  padding:1.75rem 2rem 1.75rem 0;
  border-top:1px solid var(--border);
}

.v3-process article:not(:last-child)::after{
  content:"→";
  position:absolute;
  top:2.2rem;
  right:1.2rem;
  color:var(--accent);
  font-size:1.4rem;
}

.v3-process span{
  display:block;
  margin-bottom:2rem;
  color:var(--accent);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.15em;
}

.v3-process h3{
  margin:0 0 .65rem;
  font-size:1.35rem;
}

.v3-process p{
  max-width:245px;
  margin:0;
  color:var(--muted);
}

.v3-principles-layout{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(320px,1.15fr);
  gap:clamp(3rem,9vw,9rem);
  align-items:start;
}

.v3-section-intro{
  max-width:570px;
  color:var(--muted);
  font-size:1.08rem;
}

.v3-principles{
  border-top:1px solid var(--border);
}

.v3-principles p{
  position:relative;
  margin:0;
  padding:1.35rem 0 1.35rem 2rem;
  border-bottom:1px solid var(--border);
  font-size:clamp(1.05rem,2vw,1.3rem);
  font-weight:700;
}

.v3-principles p::before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:9px;
  height:9px;
  transform:translateY(-50%) rotate(45deg);
  background:var(--accent);
}

.v3-insight-section{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.v3-insight-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3rem;
  align-items:end;
}

.v3-insight-layout h2{
  margin-bottom:1rem;
}

.v3-insight-layout p:not(.section-label){
  max-width:680px;
  margin:0;
  color:var(--muted);
}

.v3-text-link{
  padding-bottom:.3rem;
  border-bottom:1px solid var(--accent);
  color:var(--text);
  font-weight:750;
  white-space:nowrap;
}

.v3-text-link span{
  margin-left:.4rem;
  color:var(--accent);
}

.v3-final-cta{
  padding:clamp(5rem,11vw,9rem) 0;
  text-align:center;
}

.v3-final-cta h2{
  margin-right:auto;
  margin-left:auto;
}

.v3-final-cta p:not(.section-label){
  max-width:670px;
  margin:0 auto 2rem;
  color:var(--muted);
  font-size:1.08rem;
}

@media (max-width:980px){
  .v3-hero-layout,
  .v3-principles-layout{
    grid-template-columns:1fr;
  }

  .v3-hero-visual{
    min-height:330px;
  }

  .v3-system-map{
    width:min(76vw,390px);
  }

  .v3-discipline-grid,
  .v3-process{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .v3-process article:nth-child(2)::after{
    display:none;
  }
}

@media (max-width:760px){
  .v3-hero{
    padding:4rem 0 3rem;
  }

  .v3-hero-layout{
    gap:2.5rem;
  }

  .v3-hero-copy h1{
    font-size:clamp(3rem,15vw,4.5rem);
  }

  .v3-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .v3-hero-visual{
    min-height:280px;
  }

  .v3-section{
    padding:3.75rem 0;
  }

  .v3-discipline-grid,
  .v3-process{
    grid-template-columns:1fr;
  }

  .v3-discipline{
    padding:1.35rem;
  }

  .v3-process article{
    padding:1.35rem 0;
  }

  .v3-process article::after{
    display:none;
  }

  .v3-insight-layout{
    grid-template-columns:1fr;
    align-items:start;
  }

  .v3-text-link{
    justify-self:start;
    white-space:normal;
  }
}


/* ==========================================================
   WaypointHQ Engineering Stories
   ========================================================== */

.engineering-story{
  overflow:hidden;
}

.story-hero{
  padding:clamp(5rem,10vw,8rem) 0;
}

.story-hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:clamp(3rem,8vw,8rem);
  align-items:center;
}

.story-hero h1{
  max-width:820px;
  margin:.3rem 0 1.5rem;
  font-size:clamp(3.1rem,7vw,6.4rem);
  line-height:.96;
}

.story-deck{
  max-width:680px;
  color:var(--muted);
  font-size:clamp(1.08rem,2vw,1.3rem);
}

.story-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:2rem;
}

.story-meta span{
  padding:.35rem .65rem;
  border:1px solid var(--border);
  color:var(--muted);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.evidence-demo{
  padding:1.3rem;
  border:1px solid var(--border);
  background:rgba(7,16,28,.68);
}

.evidence-demo-header{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.12em;
}

.evidence-demo-state{
  position:relative;
  min-width:70px;
  text-align:right;
}

.evidence-demo-state span{
  position:absolute;
  right:0;
}

.evidence-current{
  color:var(--accent);
  animation:story-current-state 10s linear infinite;
}

.evidence-stale{
  color:var(--cta);
  opacity:0;
  animation:story-stale-state 10s linear infinite;
}

.evidence-clock{
  display:grid;
  place-items:center;
  padding:2rem 0;
}

.evidence-clock-ring{
  display:grid;
  place-items:center;
  width:180px;
  height:180px;
  border:2px solid var(--accent);
  border-radius:50%;
  box-shadow:
    0 0 28px rgba(110,168,254,.16),
    inset 0 0 28px rgba(110,168,254,.08);
  animation:story-clock-ring 10s ease-in-out infinite;
}

.evidence-clock-value{
  font-size:2.1rem;
  font-weight:850;
  letter-spacing:.08em;
}

.evidence-reading{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--border);
}

.evidence-reading div{
  padding:1rem 0;
}

.evidence-reading div + div{
  padding-left:1rem;
  border-left:1px solid var(--border);
}

.evidence-reading span{
  display:block;
  color:var(--muted);
  font-size:.65rem;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.evidence-reading strong{
  display:block;
  margin-top:.25rem;
}

.evidence-validity{
  position:relative;
  min-height:24px;
}

.evidence-validity span{
  position:absolute;
  left:0;
}

.evidence-valid{
  color:var(--accent);
  animation:story-current-state 10s linear infinite;
}

.evidence-expired{
  color:var(--cta);
  opacity:0;
  animation:story-stale-state 10s linear infinite;
}

.story-section{
  padding:clamp(5rem,10vw,8rem) 0;
}

.story-dark{
  background:rgba(7,16,28,.56);
}

.story-narrow{
  max-width:820px;
}

.story-lead,
.story-emphasis{
  font-size:clamp(1.25rem,3vw,1.8rem);
  font-weight:700;
  line-height:1.45;
}

.story-emphasis{
  color:var(--text);
}

.story-split{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(320px,1.15fr);
  gap:clamp(3rem,9vw,9rem);
}

.story-split h2,
.story-section > .container > h2,
.story-next h2{
  max-width:820px;
  margin:.25rem 0 2rem;
  font-size:clamp(2.2rem,5vw,4.25rem);
}

.story-prose{
  color:var(--muted);
}

.story-prose p:first-child{
  margin-top:0;
}

.story-intro{
  max-width:760px;
  color:var(--muted);
  font-size:1.08rem;
}

.story-timeline{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:3rem;
}

.story-timeline article{
  position:relative;
  min-height:210px;
  padding:1.4rem 1.5rem;
  border-top:2px solid var(--accent);
  background:rgba(17,27,45,.44);
}

.story-timeline article + article{
  border-left:1px solid var(--border);
}

.story-timeline-alert{
  border-top-color:var(--cta) !important;
}

.story-time{
  display:block;
  margin-bottom:2rem;
  color:var(--accent);
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.12em;
}

.story-timeline-alert .story-time{
  color:var(--cta);
}

.story-timeline strong{
  display:block;
  margin-bottom:.6rem;
  font-size:.9rem;
  letter-spacing:.06em;
}

.story-timeline p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}

.story-pull{
  max-width:900px;
  margin:clamp(3rem,7vw,6rem) auto 0;
  font-size:clamp(1.45rem,3.5vw,2.5rem);
  font-weight:750;
  line-height:1.35;
  text-align:center;
}

.assurance-test{
  max-width:760px;
  margin:3rem auto 0;
  border:1px solid var(--border);
  background:rgba(7,16,28,.72);
}

.assurance-test-row{
  display:flex;
  justify-content:space-between;
  gap:2rem;
  padding:1rem 1.25rem;
  border-bottom:1px solid var(--border);
}

.assurance-test-row span{
  color:var(--muted);
}

.assurance-warning{
  color:var(--cta);
}

.assurance-test-divider{
  height:1rem;
  background:rgba(255,255,255,.025);
  border-bottom:1px solid var(--border);
}

.assurance-result{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1.4rem 1.25rem;
}

.assurance-result span{
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}

.assurance-result strong{
  color:var(--accent);
  font-size:1.5rem;
  letter-spacing:.12em;
}

.evidence-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
  margin-top:3rem;
}

.evidence-grid article{
  padding:1.5rem;
  border-top:2px solid var(--accent);
  background:rgba(17,27,45,.48);
}

.evidence-ref{
  display:block;
  margin-bottom:1.3rem;
  color:var(--muted);
  font-size:.67rem;
  font-weight:850;
  letter-spacing:.12em;
}

.evidence-grid strong{
  display:block;
  margin-bottom:.6rem;
  font-size:1.45rem;
}

.evidence-grid p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}

.story-questions{
  margin:2.5rem 0;
  border-top:1px solid var(--border);
}

.story-questions p{
  position:relative;
  margin:0;
  padding:1.25rem 0 1.25rem 2rem;
  border-bottom:1px solid var(--border);
  font-size:clamp(1.05rem,2vw,1.3rem);
  font-weight:700;
}

.story-questions p::before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:9px;
  height:9px;
  transform:translateY(-50%) rotate(45deg);
  background:var(--accent);
}

.story-final-quote{
  margin:4rem 0 2rem;
  font-size:clamp(1.8rem,4vw,3.25rem);
  font-weight:800;
  line-height:1.2;
}

.story-ending{
  color:var(--accent);
  font-size:1.15rem;
  font-weight:800;
}

.story-next{
  padding:clamp(5rem,10vw,8rem) 0;
  border-top:1px solid var(--border);
  text-align:center;
}

.story-next h2{
  margin-right:auto;
  margin-left:auto;
}

.story-navigation{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:1.5rem;
  margin-top:2.5rem;
}

.story-navigation-link{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  color:inherit;
  text-decoration:none;
}

.story-navigation-previous{
  text-align:left;
}

.story-navigation-next{
  text-align:right;
}

.story-navigation-label{
  color:var(--accent);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.story-navigation-link strong{
  line-height:1.35;
}

.story-navigation-link:hover strong,
.story-navigation-link:focus-visible strong{
  text-decoration:underline;
}

@media (max-width:720px){
  .story-navigation{
    grid-template-columns:1fr;
  }

  .story-navigation-previous,
  .story-navigation-next{
    text-align:center;
  }

  .story-navigation-spacer{
    display:none;
  }
}

.engineering-story-card{
  border-top:2px solid var(--cta);
  background:rgba(17,27,45,.38);
}

.engineering-story-card h3{
  margin-top:1rem;
}

.engineering-story-card .document-meta{
  opacity:.82;
}

.knowledge-grid .engineering-story-card:first-child{
  background:
    linear-gradient(
      135deg,
      rgba(110,168,254,.08),
      rgba(17,27,45,.46)
    );
}

@keyframes story-current-state{
  0%,64%{ opacity:1; }
  70%,100%{ opacity:0; }
}

@keyframes story-stale-state{
  0%,64%{ opacity:0; }
  70%,100%{ opacity:1; }
}

@keyframes story-clock-ring{
  0%,62%{
    border-color:var(--accent);
    box-shadow:
      0 0 28px rgba(110,168,254,.16),
      inset 0 0 28px rgba(110,168,254,.08);
  }

  70%,100%{
    border-color:var(--cta);
    box-shadow:
      0 0 34px rgba(240,164,60,.3),
      inset 0 0 28px rgba(240,164,60,.08);
  }
}

@media (max-width:980px){
  .story-hero-layout,
  .story-split{
    grid-template-columns:1fr;
  }

  .evidence-demo{
    max-width:500px;
  }

  .story-timeline,
  .evidence-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px){
  .story-hero{
    padding:4rem 0 3rem;
  }

  .story-hero h1{
    font-size:clamp(3rem,14vw,4.6rem);
  }

  .story-timeline,
  .evidence-grid{
    grid-template-columns:1fr;
  }

  .story-timeline article + article{
    border-left:0;
  }

  .assurance-test-row{
    align-items:flex-start;
    flex-direction:column;
    gap:.2rem;
  }
}

@media (prefers-reduced-motion:reduce){
  .evidence-current,
  .evidence-stale,
  .evidence-valid,
  .evidence-expired,
  .evidence-clock-ring{
    animation:none !important;
  }

  .evidence-current,
  .evidence-valid{
    opacity:0;
  }

  .evidence-stale,
  .evidence-expired{
    opacity:1;
  }

  .evidence-clock-ring{
    border-color:var(--cta);
  }
}

/* ==========================================================
   Homepage latest engineering story
   ========================================================== */

.v3-story-feature{
  display:grid;
  grid-template-columns:minmax(260px,420px) minmax(0,1fr);
  gap:clamp(2rem,5vw,4rem);
  align-items:center;
  margin-top:1.5rem;
}

.v3-story-image-link{
  display:block;
  width:100%;
  max-width:420px;
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(7,16,28,.68);
}

.v3-story-image-link img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .25s ease;
}

.v3-story-image-link:hover img{
  transform:scale(1.015);
}

.v3-story-copy h2{
  margin:.4rem 0 1rem;
}

.v3-story-copy p{
  max-width:620px;
  margin:0;
  color:var(--muted);
}

.v3-story-number{
  color:var(--accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.v3-story-links{
  display:flex;
  flex-wrap:wrap;
  gap:1rem 1.75rem;
  align-items:center;
  margin-top:1.5rem;
}

@media (max-width:980px){
  .v3-story-feature{
    grid-template-columns:220px minmax(0,1fr);
    gap:2rem;
  }

  .v3-story-image-link{
    max-width:220px;
  }
}

@media (max-width:760px){
  .v3-story-feature{
    grid-template-columns:1fr;
    gap:1.5rem;
    align-items:start;
  }

  .v3-story-image-link{
    width:100%;
    max-width:none;
  }

  .v3-story-copy h2{
    font-size:clamp(1.7rem,8vw,2.35rem);
    margin:.45rem 0 .9rem;
  }

  .v3-story-copy p{
    font-size:.95rem;
  }

  .v3-story-links{
    align-items:flex-start;
    flex-direction:column;
    gap:.7rem;
    margin-top:1rem;
  }

  .v3-story-links .v3-text-link{
    white-space:normal;
  }
}

@media (prefers-reduced-motion:reduce){
  .v3-story-image-link img{
    transition:none;
  }

  .v3-story-image-link:hover img{
    transform:none;
  }
}


/* WaypointHQ image protection
   Deterrent only: prevents casual dragging, selection and save-image access.
   Public web images must still be treated as downloadable content. */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* WaypointHQ moderated comments */

.story-comments {
  border-top: 1px solid rgba(255,255,255,.08);
}

.comments-intro {
  margin-bottom: 2rem;
}

.comments-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.comment-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(17,27,45,.5);
}

.comment-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
  font-size: .9rem;
}

.comment-card-meta span {
  color: var(--muted);
}

.comment-card-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.comments-empty {
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
  text-align: center;
}

.comment-form-panel {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(17,27,45,.58);
}

.comment-form-panel h3 {
  margin-top: 0;
}

.comment-form-note {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}

.comment-field {
  margin-bottom: 1.25rem;
}

.comment-field label {
  display: block;
  margin-bottom: .45rem;
  color: var(--text);
  font-weight: 650;
}

.comment-field label span {
  color: var(--muted);
  font-weight: 400;
}

.comment-field-help {
  margin: -.15rem 0 .55rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.comment-form-panel .button.primary {
  background: #f36f32;
  border-color: #f36f32;
  color: #fff;
}

.comment-form-panel .button.primary:hover,
.comment-form-panel .button.primary:focus-visible {
  background: #d95d25;
  border-color: #d95d25;
}

.comment-field input,
.comment-field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(7,16,28,.72);
  color: var(--text);
  font: inherit;
}

.comment-field textarea {
  resize: vertical;
}

.comment-field input:focus,
.comment-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.comment-status {
  min-height: 1.5em;
  margin: 1rem 0 0;
}

.comment-status[data-state="success"] {
  font-weight: 650;
}

.comment-status[data-state="error"] {
  font-weight: 650;
}

.comment-form-panel button:disabled {
  cursor: wait;
  opacity: .6;
}

@media (max-width: 640px) {
  .comment-card-meta {
    flex-direction: column;
    gap: .25rem;
  }

  .comment-form-panel {
    padding: 1.2rem;
  }
}

.story-hero-image{
  margin-top: 2rem;
}

.story-hero-image img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Services resilience contrast */
.services-resilience-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.25rem;
  margin-top:1.5rem;
}

.services-resilience-grid article{
  padding:clamp(1.5rem,3vw,2rem);
  border:1px solid var(--border);
  background:rgba(17,27,45,.42);
}

.services-resilience-grid article:last-child{
  border-top:2px solid var(--cta);
}

.services-resilience-grid span{
  display:block;
  margin-bottom:1rem;
  color:var(--accent);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.12em;
}

.services-resilience-grid h2{
  margin:0 0 1rem;
  font-size:clamp(1.8rem,4vw,3rem);
}

.services-resilience-grid p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

@media (max-width:760px){
  .services-resilience-grid{
    grid-template-columns:1fr;
  }
}

/* Engineering page lifecycle */
.engineering-workflow{
  margin-top:2rem;
}

.engineering-workflow .workflow-step{
  display:grid;
  grid-template-columns:2.5rem minmax(0,1fr);
  column-gap:.85rem;
  padding:1.35rem 0;
  border-top:1px solid var(--border);
}

.engineering-workflow .workflow-number{
  grid-column:1;
  grid-row:1 / span 2;
  padding-top:.18rem;
  color:var(--accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}

.engineering-workflow strong{
  grid-column:2;
  display:block;
  margin:0 0 .5rem;
  font-size:1.2rem;
  font-weight:750;
  line-height:1.25;
}

.engineering-workflow p{
  grid-column:2;
  margin:0;
  max-width:680px;
  color:var(--muted);
  line-height:1.6;
}

@media (max-width:760px){
  .engineering-workflow{
    margin-top:1.5rem;
  }

  .engineering-workflow .workflow-step{
    grid-template-columns:2.25rem minmax(0,1fr);
    column-gap:.75rem;
    padding:1.2rem 0;
  }
}

/* Contact page workflow */
.contact-workflow{
  margin-top:1.75rem;
}

.contact-workflow .workflow-step{
  display:grid;
  grid-template-columns:2.25rem minmax(0,1fr);
  column-gap:.75rem;
  padding:1.15rem 0;
  border-top:1px solid var(--border);
}

.contact-workflow .workflow-number{
  grid-column:1;
  grid-row:1 / span 2;
  padding-top:.15rem;
  color:var(--accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
}

.contact-workflow strong{
  grid-column:2;
  display:block;
  margin:0 0 .45rem;
  font-size:1.08rem;
  font-weight:750;
  line-height:1.3;
}

.contact-workflow p{
  grid-column:2;
  margin:0;
  max-width:680px;
  color:var(--muted);
  line-height:1.6;
}

/* Contextual links within engineering articles and stories */
.article-body p a,
.story-prose p a,
.story-narrow > p a{
  text-decoration:underline;
  text-decoration-thickness:.08em;
  text-underline-offset:.16em;
}

.article-body p a:hover,
.article-body p a:focus-visible,
.story-prose p a:hover,
.story-prose p a:focus-visible,
.story-narrow > p a:hover,
.story-narrow > p a:focus-visible{
  text-decoration-thickness:.14em;
}
