/* Tec-For: drawing-sheet layout in black and hi-vis green */
:root {
  --paper: #0b0b0b; --ink: #f4f4ee; --soft: #d2d2ca; --muted: #a5a59c; --line: #5d5d57;
  --hair: rgba(244,244,238,.18); --grid: rgba(255,255,255,.045); --tint: rgba(255,255,255,.035);
  --green: #14e06e; --field: #151515;
  --b: 1.5px solid var(--line);
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0; padding: 18px; font-family: "Barlow", system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--cond); text-transform: uppercase; font-weight: 800; margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.sheet { max-width: 1240px; margin: 0 auto; border: var(--b); }
.defs { position: absolute; width: 0; height: 0; }
.dotfill { fill: var(--dot, currentColor); }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--paper); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* drawing line styles */
.ln { stroke: var(--ink); fill: none; }
.cl { stroke: var(--muted); fill: none; }
.gl { stroke: var(--green); fill: none; }
.gf { fill: var(--green); }
.if { fill: var(--ink); }
.pf { fill: var(--paper); stroke: var(--ink); }
.dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink); }
.bl { font-family: var(--mono); font-size: 13px; font-weight: 500; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }

/* header */
header { display: flex; align-items: stretch; justify-content: space-between; border-bottom: var(--b); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 14px; padding: 16px 24px; text-decoration: none; }
.brand svg { width: 54px; height: 45px; --dot: var(--green); }
.brand b { display: block; font-family: var(--cond); font-weight: 800; font-size: 2rem; letter-spacing: .05em; line-height: 1; }
.brand .mono { display: block; margin-top: 5px; color: var(--muted); font-size: .62rem; }
nav { display: flex; }
nav a { display: flex; align-items: center; gap: 9px; padding: 0 22px; border-left: var(--b); text-decoration: none; }
nav a i { font-style: normal; color: var(--green); }
nav a[aria-current] { box-shadow: inset 0 -4px 0 var(--green); }
nav a:hover { background: var(--green); color: var(--paper); }
nav a:hover i { color: var(--paper); }
nav a.cta { background: var(--green); color: var(--paper); font-weight: 500; }
nav a.cta:hover { background: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 7fr 5fr; border-bottom: var(--b); }
.hero-copy { padding: 60px 48px 56px; }
.hero-copy > .mono { color: var(--green); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: .9; margin: 18px 0 24px; }
.hero h1 u { text-decoration: none; color: var(--green); }
.lead { font-size: 1.12rem; color: var(--soft); max-width: 35rem; margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1.5px solid var(--green); text-decoration: none; background: var(--green); color: var(--paper); font-weight: 500; cursor: pointer; }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero-side { border-left: var(--b); display: flex; flex-direction: column; background: var(--tint); }
.hero-side > svg { flex: 1; width: 100%; padding: 18px 14px; }
.icon-row { flex: 1; display: flex; align-items: center; justify-content: space-around; padding: 40px 24px; }
.icon-row svg { width: 84px; height: 84px; }
.portrait { flex: 1; margin: 0; min-height: 480px; position: relative; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.04); }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(11,11,11,.86); border-top: var(--b); color: var(--ink); }

.parts { border-top: var(--b); display: grid; grid-template-columns: 70px 1fr; }
.parts > * { padding: 8px 16px; border-bottom: 1px solid var(--hair); }
.parts > :nth-child(odd) { border-right: 1px solid var(--hair); text-align: center; }
.parts > :nth-last-child(-n+2) { border-bottom: 0; }
.hero-side > .parts:first-child { border-top: 0; }
.parts .h { color: var(--muted); }
.parts a { font-weight: 500; font-size: .95rem; text-decoration: none; }
.parts a:hover { color: var(--green); }

.spec { margin: 0; display: grid; grid-template-columns: 190px 1fr; }
.spec > * { margin: 0; padding: 14px 24px; border-bottom: 1px solid var(--hair); display: flex; align-items: center; }
.spec dt { border-right: 1px solid var(--hair); color: var(--muted); }
.spec dd { font-weight: 500; }
.spec > :nth-last-child(-n+2) { border-bottom: 0; }
.hero-side .spec { flex: 1; grid-auto-rows: 1fr; grid-template-columns: 150px 1fr; }

/* bands */
.stripe { height: 18px; background: repeating-linear-gradient(-45deg, var(--green) 0 18px, var(--paper) 18px 36px); border-bottom: var(--b); }
.titleblock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--line); border-bottom: var(--b); }
.titleblock div { background: var(--paper); padding: 18px 24px 20px; font-family: var(--cond); text-transform: uppercase; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; }
.titleblock .mono { display: block; color: var(--muted); margin-bottom: 8px; font-weight: 400; font-family: var(--mono); font-size: .72rem; }
.marquee { overflow: hidden; padding: 14px 0; white-space: nowrap; border-bottom: var(--b); }
.marquee div { display: inline-block; animation: slide 46s linear infinite; font-family: var(--cond); font-weight: 800; font-size: 2rem; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.1px var(--muted); letter-spacing: .03em; }
.marquee i { font-style: normal; color: var(--green); -webkit-text-stroke: 0; margin: 0 18px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee div { animation: none; } html { scroll-behavior: auto; } }
.note-band { display: grid; grid-template-columns: 170px 1fr; border-bottom: var(--b); background: var(--green); color: var(--paper); }
.note-band .tag { padding: 32px 24px; border-right: 1.5px solid var(--paper); }
.note-band p { margin: 0; padding: 28px 28px 32px; font-family: var(--cond); text-transform: uppercase; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: .96; max-width: 22em; }

/* sections */
section { border-bottom: var(--b); }
.sec-head { display: grid; grid-template-columns: 170px 1fr auto; border-bottom: var(--b); background: var(--paper); }
.sec-head .tag { padding: 0 24px; border-right: var(--b); display: flex; align-items: center; color: var(--green); }
.sec-head h2 { padding: 22px 28px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: .95; letter-spacing: .005em; }
.sec-head .note { padding: 0 24px; display: flex; align-items: center; color: var(--muted); }
.intro { padding: 32px 32px 0; font-size: 1.15rem; max-width: 52rem; margin: 0; color: #deded6; }
.prose { padding: 32px 32px 36px; max-width: 58rem; }
.prose p { color: var(--soft); font-size: 1.1rem; }
.prose p:last-child { margin: 0; }
.bar-link { display: flex; justify-content: space-between; align-items: center; border-top: var(--b); padding: 16px 28px; text-decoration: none; color: var(--green); }
.bar-link:hover { background: var(--green); color: var(--paper); }

.scope { display: grid; grid-template-columns: repeat(3, 1fr); }
.scope > div { padding: 30px 28px; }
.scope > div + div { border-left: var(--b); }
.scope svg { width: 52px; height: 52px; margin-bottom: 22px; }
.scope .mono { color: var(--green); }
.scope h3 { font-size: 2rem; line-height: .95; letter-spacing: .01em; margin: 8px 0 12px; }
.scope p { color: var(--soft); font-size: .97rem; }
.scope p:last-child { margin: 0; }
.scope ul { list-style: none; margin: 20px 0 0; padding: 0; }
.scope li { display: grid; grid-template-columns: 44px 1fr; padding: 11px 0; border-top: 1px solid var(--hair); font-weight: 500; align-items: baseline; }
.scope li .mono { color: var(--muted); }

.svc { display: grid; grid-template-columns: 5fr 7fr; }
.svc-lead { padding: 34px 28px; border-right: var(--b); background: var(--tint); }
.svc-lead svg { width: 68px; height: 68px; margin-bottom: 24px; }
.svc-lead p { font-size: 1.2rem; color: #deded6; margin: 0; max-width: 24rem; }
.svc-list > div { display: grid; grid-template-columns: 62px 1fr; padding: 24px 28px; border-bottom: 1px solid var(--hair); }
.svc-list > div:last-child { border-bottom: 0; }
.svc-list .mono { color: var(--green); padding-top: 9px; }
.svc-list h3 { font-size: 1.8rem; line-height: 1; margin: 0 0 8px; }
.svc-list p { margin: 0; color: var(--soft); }

.report { display: grid; grid-template-columns: 7fr 5fr; }
.report + .report { border-top: var(--b); }
.report-main { padding: 34px 32px 36px; border-right: var(--b); }
.report-main > .mono { color: var(--green); }
.report-main h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: .95; margin: 10px 0 18px; }
.report-main p { color: var(--soft); max-width: 40rem; }
.quote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--green); }
.quote p { font-family: var(--cond); text-transform: uppercase; font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1; color: var(--ink); margin: 0 0 10px; }
.quote cite { font-style: normal; color: var(--muted); }
.report .spec { grid-template-columns: 120px 1fr; align-content: start; background: var(--tint); }
.report .spec > * { padding: 16px 20px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; padding: 36px 32px 48px; }
.node { border: var(--b); padding: 20px 20px 16px; position: relative; background: var(--paper); }
.node .mono { color: var(--green); }
.node h3 { font-size: 1.6rem; line-height: .98; letter-spacing: .01em; margin: 6px 0 8px; }
.node p { font-size: .93rem; color: var(--soft); margin: 0; }
.node:not(:last-child)::after { content: ""; position: absolute; right: -39px; top: 50%; width: 30px; height: 1.5px; background: var(--ink); }
.node:not(:last-child)::before { content: ""; position: absolute; right: -39px; top: calc(50% - 5px); border: 5.5px solid transparent; border-left: 9px solid var(--ink); border-right: 0; }

.rung { width: 100%; margin-top: 22px; }
.tg text { font-family: var(--mono); font-size: 13px; fill: var(--ink); text-anchor: middle; letter-spacing: .06em; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--b); background: var(--tint); }
.stages > div { padding: 22px 24px 28px; }
.stages > div + div { border-left: var(--b); }
.stages .mono { color: var(--green); }
.stages h3 { font-size: 1.6rem; line-height: .98; letter-spacing: .01em; margin: 6px 0 8px; }
.stages p { font-size: .93rem; color: var(--soft); margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact .left { padding: 44px; border-right: var(--b); }
.contact .lead { margin: 0; color: var(--ink); font-size: 1.2rem; }
.rows { margin-top: 32px; border-top: var(--b); }
.rows a, .rows div { display: grid; grid-template-columns: 110px 1fr; padding: 13px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 500; font-size: 1.1rem; align-items: baseline; }
.rows .mono { color: var(--muted); font-weight: 400; }
.rows a[href^="tel"] { font-family: var(--cond); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--green); align-items: center; }
.rows a:hover { color: var(--green); }
.rows a[href^="tel"]:hover { color: var(--ink); }
form { padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; background: var(--tint); }
form label { display: grid; gap: 6px; color: var(--muted); }
form .full { grid-column: 1 / -1; }
input, textarea { font: 400 1rem "Barlow", sans-serif; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--field); border: var(--b); padding: 11px 12px; width: 100%; border-radius: 0; }
input:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form-note { margin: 0; color: var(--green); }
.direct { padding: 44px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; background: var(--tint); }
.direct > .mono { color: var(--muted); margin-bottom: 6px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 24px; color: var(--muted); background: var(--paper); }
footer a { text-decoration: none; }
footer a:hover { color: var(--green); }

@media (max-width: 860px) {
  body { padding: 8px; font-size: 17px; }
  header { flex-direction: column; }
  nav { border-top: var(--b); }
  nav a { flex: 1; justify-content: center; padding: 12px 6px; }
  nav a:first-child { border-left: 0; }
  nav a i { display: none; }
  .hero, .scope, .contact, .stages, .svc, .report { grid-template-columns: 1fr; }
  .report-main { padding: 28px 22px; border-right: 0; border-bottom: var(--b); }
  .portrait { min-height: 0; aspect-ratio: 1 / 1; }
  .hero-copy { padding: 40px 22px; }
  .hero-side { border-left: 0; border-top: var(--b); }
  .icon-row { padding: 28px 16px; }
  .icon-row svg { width: 64px; height: 64px; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div { padding: 14px 16px 16px; }
  .note-band, .sec-head { grid-template-columns: 1fr; }
  .note-band .tag { border-right: 0; padding: 18px 22px 0; }
  .note-band p { padding: 8px 22px 26px; }
  .sec-head .tag { border-right: 0; padding: 14px 22px 0; }
  .sec-head h2 { padding: 6px 22px 18px; }
  .sec-head .note { display: none; }
  .intro { padding: 24px 22px 0; }
  .prose { padding: 24px 22px 28px; }
  .bar-link { padding: 16px 22px; }
  .scope > div { padding: 28px 22px; }
  .scope > div + div, .stages > div + div { border-left: 0; border-top: var(--b); }
  .svc-lead { border-right: 0; border-bottom: var(--b); padding: 28px 22px; }
  .svc-list > div { padding: 22px; grid-template-columns: 50px 1fr; }
  .flow { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; }
  .node:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -27px; width: 1.5px; height: 20px; }
  .node:not(:last-child)::before { right: auto; left: calc(50% - 4.75px); top: auto; bottom: -27px; border: 5.5px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; }
  .rung { display: none; }
  .stages { margin-top: 24px; }
  .stages > div { padding: 20px 22px; }
  .spec, .hero-side .spec { grid-template-columns: 120px 1fr; }
  .spec > * { padding: 12px 16px; }
  .contact .left { padding: 30px 22px; border-right: 0; border-bottom: var(--b); }
  form { padding: 30px 22px; grid-template-columns: 1fr; }
  .direct { padding: 30px 22px; }
}
