/* SeatBreak: site pages (mission, contact). Hand-written. No web fonts, no CDN. */
:root {
  --bg: #05060c;
  --bg2: #0b1224;
  --card: #0e1730;
  --line: #2a3a62;
  --ink: #eef3ff;
  --dim: #b4c0e0;
  --cyan: #35e0ff;
  --mint: #39ffd0;
  --orange: #ffa24a;
  --focus: #ffd36b;
  --bp: #0a2d66;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 18px; line-height: 1.65;
  background-image: radial-gradient(ellipse at 50% -10%, #142040 0%, #070912 55%, #030409 100%);
  background-attachment: fixed;
}
img, svg { max-width: 100%; }
a { color: #8fe9ff; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--focus); color: #111; padding: 10px 14px; z-index: 50; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.wrap.wide { width: min(1400px, 100% - 32px); }

/* header and footer */
.site-header { border-bottom: 1px solid var(--line); background: rgba(5, 6, 12, .78); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; }
.brand { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; font-size: 20px;
  background: linear-gradient(90deg, var(--mint), #9cf, #ff8fe6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { color: transparent; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
nav a { display: inline-block; padding: 10px 14px; min-height: 44px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; border: 2px solid transparent; }
nav a:hover { border-color: var(--line); color: #fff; }
nav a[aria-current="page"] { border-color: var(--cyan); color: var(--cyan); }
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; text-align: center; color: var(--dim); font-size: 16px; }
.site-footer p { margin: 4px 0; }
.site-footer .slogan { color: var(--mint); font-weight: 600; }

/* type */
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6.4vw, 60px); letter-spacing: .01em; }
h2 { font-size: clamp(27px, 4.4vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(19px, 2.6vw, 22px); color: var(--ink); }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 700; margin: 0 0 10px; }
section { padding: 56px 0 8px; }
.hero { padding: 72px 0 24px; position: relative; overflow: hidden; }
.hero h1 { max-width: 16em; background: linear-gradient(90deg, #eaffff, #9fefff 55%, #ffd0f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-art { position: absolute; right: -80px; top: -30px; width: min(520px, 80vw); opacity: .5; pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }

.btn { display: inline-block; font: inherit; font-weight: 800; font-size: 19px; text-decoration: none; cursor: pointer; padding: 14px 24px; min-height: 48px;
  border-radius: 8px; border: 2px solid #6fffe0; color: #02110c; background: linear-gradient(180deg, #19e0b4, #0e9e80); }
.btn:hover { color: #000; background: linear-gradient(180deg, #4dffd5, #14b794); }
.btn.alt { background: #10182c; color: var(--ink); border-color: #3a4d80; }
.btn.alt:hover { border-color: var(--cyan); color: #fff; background: #16213e; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.small { font-size: 16px; padding: 9px 16px; min-height: 44px; }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 24px; list-style: none; padding: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 8px; }
.card h3 { display: flex; align-items: center; gap: 12px; color: #fff; }
.card h3 svg { flex: none; width: 44px; height: 44px; }
.card .how { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin: 0 0 4px; }
.card p { font-size: 17px; }

.soft { background: linear-gradient(180deg, rgba(20, 32, 64, .55), rgba(10, 16, 32, .2)); border: 1px solid var(--line); border-radius: 14px; padding: 28px clamp(18px, 4vw, 40px); }
.pull { margin: 8px 0 0; padding: 28px clamp(18px, 4vw, 40px); border-left: 5px solid var(--orange); background: rgba(255, 162, 74, .07); border-radius: 0 12px 12px 0; }
.pull p { font-size: clamp(20px, 2.8vw, 25px); line-height: 1.5; max-width: 40em; color: #fff4e8; }
.pull cite { font-style: normal; font-weight: 700; color: var(--orange); }
.note { border: 2px solid var(--orange); background: rgba(255, 162, 74, .08); border-radius: 10px; padding: 12px 16px; font-weight: 700; margin: 18px 0; max-width: none; }
.cta { text-align: center; padding: 44px 20px; margin-top: 56px; border: 1px solid var(--line); border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0%, #17325a 0%, #0b1224 70%); }
.cta p { margin-inline: auto; }
.cta h2 { max-width: 20em; margin-inline: auto; }

/* ------------- blueprint ------------- */
.bp-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.bp-tools .hint { color: var(--dim); font-size: 16px; margin: 0; }
.frame { border: 2px solid #4a67a8; border-radius: 6px; background: var(--bp); overflow: auto; -webkit-overflow-scrolling: touch; }
.frame:focus-visible { outline-offset: 2px; }
.sheet { display: block; width: 100%; height: auto; min-width: 1000px; }
.frame.is-full { max-height: 85vh; }
.frame.is-full .sheet { width: 1600px; min-width: 1600px; }
.sheet .bp-bg { fill: var(--bp); }
.sheet .bt { font-family: "Arial Narrow", "Segoe UI", Arial, Helvetica, sans-serif; fill: #eaf6ff; font-size: 14px; letter-spacing: .06em; }
.sheet .bt.xs { font-size: 12px; } .sheet .bt.s { font-size: 13px; } .sheet .bt.m { font-size: 14px; }
.sheet .bt.h { font-size: 16px; font-weight: 700; } .sheet .bt.b { font-weight: 700; font-size: 15px; }
.sheet .bt.xl { font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.sheet .bt.dim { fill: #a9c6ee; } .sheet .bt.zone { font-size: 12px; fill: #bcd6f5; }
.sheet .bt.k { font-size: 14px; } .sheet .bt.hd { fill: #fff; }
.sheet .bt.tb1 { font-size: 17px; font-weight: 700; } .sheet .bt.tb2 { font-size: 14px; } .sheet .bt.tb3 { font-size: 14px; font-weight: 700; fill: #ffd9a8; }
.sheet .bt.bn { font-size: 16px; font-weight: 700; fill: #fff; letter-spacing: 0; pointer-events: none; }
.sheet .l1, .sheet .l2, .sheet .l3, .sheet .rack, .sheet .sym, .sheet .tree circle, .sheet .spanel, .sheet .zone-hab, .sheet .zone-tree, .sheet .pond, .sheet .plate { vector-effect: none; }
.sheet .l1 { stroke: #eaf6ff; stroke-width: 1.1; fill: none; }
.sheet .l2 { stroke: #eaf6ff; stroke-width: 2; fill: none; }
.sheet .l3 { stroke: #eaf6ff; stroke-width: 3; fill: none; }
.sheet .fill-bg { fill: var(--bp); } .sheet .fillw { fill: #eaf6ff; }
.sheet .hdr { fill: #17408a; stroke: #eaf6ff; stroke-width: 1.5; }
.sheet .rack { fill: var(--bp); stroke: #eaf6ff; stroke-width: 1.1; }
.sheet .spanel { stroke: #bfe6ff; stroke-width: 1; fill-opacity: 1; }
.sheet .sym { stroke: #eaf6ff; stroke-width: 2; fill: var(--bp); } .sheet .symf { fill: #eaf6ff; stroke: none; }
.sheet .post { fill: #eaf6ff; stroke: none; }
.sheet .tree circle { fill: rgba(143, 242, 180, .12); stroke: #8ff2b4; stroke-width: 1.2; } .sheet .tree .dot { fill: #8ff2b4; stroke: none; }
.sheet .zone-hab { fill: rgba(143, 242, 180, .07); stroke: #8ff2b4; stroke-width: 1.5; stroke-dasharray: 12 4 2 4; }
.sheet .zone-tree { fill: rgba(143, 242, 180, .07); stroke: #8ff2b4; stroke-width: 1.2; stroke-dasharray: 6 4; }
.sheet .pond { fill: rgba(159, 210, 255, .14); stroke: #9fd2ff; stroke-width: 2; }
.sheet .reed { stroke: #8ff2b4; stroke-width: 1.2; fill: none; }
.sheet .plate { fill: var(--bp); stroke: none; }
.sheet .corr { stroke: #8ff2b4; stroke-width: 1.6; stroke-dasharray: 3 5; } .sheet .chev { stroke: #8ff2b4; stroke-width: 1.8; fill: none; }
.sheet .prop { stroke: #eaf6ff; stroke-width: 1.6; stroke-dasharray: 18 5 3 5 3 5; fill: none; }
.sheet .pw { stroke: #eaf6ff; stroke-width: 1.7; stroke-dasharray: 10 4 2 4; fill: none; }
.sheet .walk { stroke: #eaf6ff; stroke-width: 2.4; stroke-dasharray: 1 5; stroke-linecap: round; fill: none; }
.sheet .stub { stroke: #eaf6ff; stroke-width: 1.6; }
.sheet .p-sup-o { stroke: #ffa24a; stroke-width: 7; fill: none; stroke-linejoin: round; } .sheet .p-sup-i { stroke: var(--bp); stroke-width: 3.2; fill: none; stroke-linejoin: round; }
.sheet .p-ret { stroke: #6fe3ff; stroke-width: 3.6; stroke-dasharray: 14 5 3 5; fill: none; stroke-linejoin: round; }
.sheet .c-warm { stroke: #ffa24a; stroke-width: 2.6; fill: none; } .sheet .c-cool { stroke: #6fe3ff; stroke-width: 2.6; fill: none; }
.sheet .w-clean { stroke: #a9d8ff; stroke-width: 3.6; stroke-dasharray: 1 6; stroke-linecap: round; fill: none; }
.sheet .w-rain { stroke: #a9d8ff; stroke-width: 2.4; stroke-dasharray: 9 5; fill: none; }
.sheet .w-reject { stroke: #d6dff0; stroke-width: 2.4; stroke-dasharray: 14 4 2 4 2 4; fill: none; }
.sheet .ar-o { fill: #ffa24a; } .sheet .ar-c { fill: #6fe3ff; } .sheet .ar-w { fill: #a9d8ff; } .sheet .ar-g { fill: #d6dff0; }
.sheet .lead { stroke: #eaf6ff; stroke-width: 1.3; }
.sheet .bubble { cursor: pointer; outline: none; }
.sheet .bub { fill: var(--bp); stroke: #fff; stroke-width: 2; }
.sheet .hit { fill: transparent; }
.sheet .bubble.on .bub, .sheet .bubble:focus-visible .bub { fill: #35e0ff; stroke: #fff; }
.sheet .bubble.on .bn, .sheet .bubble:focus-visible .bn { fill: #04202b; }
.sheet .bubble:focus-visible .hit { stroke: var(--focus); stroke-width: 3; }
.sheet .part { transition: opacity .25s; }
.sheet.dim .part:not(.on) { opacity: .2; }
.sheet .part.on { filter: drop-shadow(0 0 4px rgba(53, 224, 255, .9)); }

/* flow animation */
.sheet .node { transition: opacity .5s; }
.sheet .flow { fill: none; stroke-width: 6.5; stroke-linecap: round; stroke-dasharray: 0 16; opacity: .25; transition: opacity .6s; }
.sheet .flow.warm { stroke: #ff9a3c; } .sheet .flow.cool { stroke: #4fd8ff; } .sheet .flow.water { stroke: #b4dcff; } .sheet .flow.reject { stroke: #e3e9f5; }
.sheet .flow.active { opacity: 1; }
.sheet.all .flow { opacity: 1; }
.sheet.playing .flow { animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.sheet .node.active > rect:first-child, .sheet .node.active > path:first-child { stroke: #35e0ff; stroke-width: 4; }

.panel { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.panel h3 { margin-bottom: 8px; }
.steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.caption { font-size: 20px; min-height: 3.3em; margin: 0; max-width: none; color: #fff; }
.stepdots { display: flex; gap: 6px; margin-left: 4px; }
.stepdots span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cyan); }
.stepdots span.on { background: var(--cyan); }
.rm-note { display: none; color: var(--dim); font-size: 16px; }

.callouts { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.callouts li { display: flex; gap: 14px; padding: 12px 14px; background: var(--card); border: 2px solid var(--line); border-radius: 10px; cursor: pointer; }
.callouts li:hover, .callouts li.on { border-color: var(--cyan); background: #12223f; }
.callouts .num { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: var(--bp); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.callouts li.on .num { background: var(--cyan); color: #04202b; }
.callouts b { display: block; color: #fff; }
.callouts span.t { font-size: 17px; line-height: 1.5; color: var(--dim); }
.inwords h3 { margin-top: 1.2em; }
.inwords p { max-width: 75ch; }

/* contact */
.contact-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.reach { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.reach li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.reach .lbl { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.reach a { font-size: clamp(22px, 4.5vw, 28px); font-weight: 800; word-break: break-word; }
form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 30px); }
.field { margin-bottom: 18px; }
label, legend { display: block; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--orange); }
input[type=text], input[type=email], select, textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: #070c1a; border: 2px solid #3a4d80; border-radius: 8px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 170px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #6479b3; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #ff8a8a; }
.err { color: #ffb3b3; font-weight: 600; margin: 6px 0 0; font-size: 16px; display: none; max-width: none; }
.field.bad .err { display: block; }
.help { color: var(--dim); font-size: 15px; margin: 4px 0 0; max-width: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check input { width: 26px; height: 26px; margin-top: 3px; flex: none; accent-color: #19e0b4; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; border: 2px solid; display: none; max-width: none; font-weight: 600; }
.status.show { display: block; }
.status.ok { border-color: var(--mint); background: rgba(57, 255, 208, .08); }
.status.fail { border-color: #ff8a8a; background: rgba(255, 138, 138, .08); }
.status.info { border-color: var(--cyan); background: rgba(53, 224, 255, .08); }
.status .btn { margin-top: 8px; }
.privacy { color: var(--dim); font-size: 16px; margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .sheet .flow { display: none; }
  .rm-note { display: block; }
  .js-play { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .sheet { min-width: 1000px; }
}
@media print {
  @page { size: landscape; margin: 10mm; }
  body { background: #fff !important; color: #000; font-size: 11pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .bp-tools, .panel.follow, .skip, .cta, .hero-art { display: none !important; }
  .frame { max-height: none !important; overflow: visible !important; border: 0; }
  .sheet, .frame.is-full .sheet { width: 100% !important; min-width: 0 !important; break-inside: avoid; page-break-inside: avoid; }
  .sheet .flow { display: none; }
  .hero h1 { color: #000; background: none; }
  a { color: #000; }
  .card, .soft, .callouts li { background: #fff; border-color: #999; color: #000; }
  .callouts span.t, .card p { color: #000; }
  .note { color: #000; }
  .site-footer { color: #000; }
}
#summary.show{margin-bottom:18px}
.site-footer p{margin-inline:auto}
