/* Any-nodes: dark surfaces, cyan connections, and a quiet network in motion. */
:root {
  color-scheme: dark;
  --paper: #060c18;
  --ink: #edf5ff;
  --muted: #98abc2;
  --green: #48d9f5;
  --line: #20334b;
  --sage: #0d1c30;
}
body {
  isolation: isolate;
  background: radial-gradient(ellipse at 75% 10%, #11305750, transparent 38%),
    radial-gradient(ellipse at 5% 55%, #0b485025, transparent 40%), #060c18;
}
#network-background { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }
::selection { background: #1b597d; color: #fff; }
button:focus-visible, a:focus-visible { outline-color: #64e8ff; }
.header { position: sticky; top: 0; background: #060e1de8; backdrop-filter: blur(18px); border-bottom-color: #1a2c43; }
.brand { color: #f4f8ff; letter-spacing: -1px; }
.brand img { filter: drop-shadow(0 0 9px #32cfff30); }
.brand-dot { color: #4fddfa; }
.nav nav a { color: #a3b5cb; }
.nav nav a:hover, .nav-contact:hover { color: #62e3fb; }
.nav-contact { border-color: #3a607e; }
.menu-toggle span { background: #d0e5f8; }
.hero { position: relative; }
.hero h1 { font-weight: 650; text-shadow: 0 0 65px #4baaff15; }
.serif-accent { font-family: var(--sans); font-weight: inherit; color: #59dcff; }
.hero h1 .serif-accent { background: linear-gradient(110deg, #76f4ff, #4c91ff); color: transparent; background-clip: text; -webkit-background-clip: text; }
.eyebrow { color: #80a5c4; }
.eyebrow i, .tiny-dot { background: #47dff3; box-shadow: 0 0 12px #29dbf075; }
.primary { background: linear-gradient(110deg, #35d2ed, #478bfb); color: #041323; box-shadow: 0 6px 25px #168fc225; font-weight: 600; }
.primary:hover { background: linear-gradient(110deg, #84f5ff, #6aa5ff); box-shadow: 0 8px 30px #168fc245; }
.text-link { color: #b5cce1; }
.text-link:hover { color: #6ceaff; }
.hero-for > span { color: #6c8ba8; }
.hero-for p { color: #a1b5ca; }
.hero-for b { color: #3c6487; }
.hero-art { border: 1px solid #21405d; border-radius: 14px; background: radial-gradient(ellipse at 50% 54%, #163a5c70, #08142666 70%); box-shadow: inset 0 1px 0 #9fd5ff08, 0 0 85px #006ee012; }
.art-grid { background-image: linear-gradient(#40779a20 1px, transparent 1px), linear-gradient(90deg, #40779a20 1px, transparent 1px); }
.art-topline { color: #6f9bbd; }
.art-bottomline { color: #779bb8; }
.art-cross { color: #69daef; }
.art-note { background: #0a1c30e8; color: #bedff5; border-color: #2a526b; box-shadow: 0 6px 28px #0005; backdrop-filter: blur(10px); border-radius: 6px; }
.art-note .mono { color: #5c8aa8; }
.map-lines > path:first-child, .map-lines > path:nth-child(4) { stroke: #4acbe8; }
.scope-strip { background: linear-gradient(90deg, transparent, #0c192c66, transparent); border-color: #20334b; }
.scope-strip > div > span { color: #6594b5; }
.scope-strip strong { color: #d9eafb; }
.section-heading .eyebrow { color: #59b9dc; }
.capability { border-color: #243e59; }
.line-icon { color: #57d6f5; text-shadow: 0 0 24px #32d0f440; }
.cap-top .mono { color: #5f85a5; }
.cap-tags { color: #7fa9c6; }
.cap-tags span { color: #365773; }
.showcase-section { background: linear-gradient(135deg, #0b1729ed, #081321ed); border-color: #1d334d; }
.feature-tabs { border-color: #27415d; }
.feature-tabs button { color: #8da9c3; }
.feature-tabs button[aria-selected="true"] { border-bottom-color: #49dcfa; color: #e2f6ff; background: linear-gradient(0deg, #26a5df12, transparent); }
.feature-tabs button > span:first-child { color: #507fa4; }
.featured-project { background: #0b1729; border-color: #233e59; border-radius: 12px; box-shadow: 0 18px 65px #0002; }
.feature-visual { background: radial-gradient(ellipse at 35% 25%, #14384f, #0a1c30 75%); }
.pilot-visual { background: radial-gradient(ellipse at 65% 20%, #143257, #0a1c30 75%); }
.feature-copy .eyebrow { color: #64bbdf; }
.feature-copy h3 { color: #e7f3ff; }
.pill { background: #10263d; border-color: #23425e; color: #9ac7e1; }
.feature-links > a { border-color: #3a87ac; color: #60dcf7; }
.detail-button { color: #a0bdd4; }
.feature-links a:hover, .detail-button:hover { color: #80eeff; }
.catalog-heading h3 span { color: #4f8aac; }
.filters button { color: #8faec6; }
.filters .active { background: #14344f; color: #7be4ff; }
.project-row { border-color: #1e354e; transition: background .2s; }
.project-row:hover { background: #112c4133; }
.project-row > .mono { color: #4d7f9e; }
.project-row p { color: #7e9eb9; }
.project-category { color: #7596b3; }
.project-row .detail-button { color: #82cae8; }
.project-index { border-color: #1e354e; }
.index-note { color: #7a9ab5; }
.project-thumbnail { border-color: #294962; background: #0b192b; }
.project-stamp { background: #0b2239; border-color: #284661; color: #63a4cb; }
.partner-grid .mono { color: #5c94ba; }
.process { border: 1px solid #203c57; background: #0c1d31bb; border-radius: 9px; }
.process > div > span { color: #4d9dc1; }
.process p { color: #8ca8c0; }
.process > b { color: #376a8b; }
.contact-section { background: radial-gradient(ellipse at 15% 60%, #12415c50, transparent 60%), #0a1a2de8; border-block: 1px solid #25425a; }
.contact-section .eyebrow { color: #55bfdf; }
.contact-section h2 { color: #edf6ff; }
.contact-intro { color: #99b4cc; }
.light { color: #081c2c; background: linear-gradient(110deg, #75e6fa, #68aaff); font-weight: 600; box-shadow: 0 6px 30px #2dbbff20; }
.light:hover { background: #a3f4ff; }
.contact-details > a { border-color: #29485f; }
.contact-details span { color: #7ea4c0; }
.contact-details strong { color: #dfefff; }
.contact-details > div p { color: #a8c2d8; }
.copy-email { color: #81c4e1; border-color: #38647f; }
.footer > div > p { color: #7a98b1; }
.footer-right p { color: #72a0bd; }
.footer-right > span { color: #657f98; }
.system-preview { background: #0b1b2e; border-color: #31516e; box-shadow: 0 22px 50px #0006, 0 0 40px #24aee511; }
.browser-bar, .pilot-visual .browser-bar { background: #102238; color: #7ba5c4; border-color: #24425b; }
.browser-bar i { border-color: #4c7b9e; }
.preview-foot, .pilot-visual .preview-foot { background: #0d1f33; color: #86b9d7; }
.pilot-visual .system-preview { border-color: #31516e; box-shadow: 0 22px 50px #0006; }
.visual-caption { color: #6b9cb9; }
.project-id { color: #5c94b8; }
dialog { background: #0b192b; border-color: #2f526e; box-shadow: 0 25px 100px #000a; }
dialog::backdrop { background: #010710b8; backdrop-filter: blur(7px); }
.dialog-close { color: #8ab6d3; }
dialog .eyebrow { color: #6ebde0; }
.dialog-preview img { display: block; width: 100%; max-height: 52vh; object-fit: contain; background: #06101c; border-color: #2c4d65; }
.dialog-preview figcaption, .project-source-note { color: #86a6c0 !important; }
.motion-toggle { position: fixed; right: 22px; bottom: 18px; z-index: 15; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #2b506d; border-radius: 6px; color: #8dbbd8; background: #09192be8; backdrop-filter: blur(10px); font-size: 10px; box-shadow: 0 4px 22px #0004; }
.motion-toggle[hidden] { display: none; }
.motion-indicator { width: 6px; height: 6px; border-radius: 50%; background: #4bdaee; box-shadow: 0 0 10px #3dd5ef70; }
.motion-toggle[aria-pressed="true"] .motion-indicator { background: #657c94; box-shadow: none; }
.motion-toggle:hover { color: #d9f9ff; border-color: #4e9ac0; }
@media (max-width: 620px) {
  .nav nav { background: #091525f5; border-color: #233e58; box-shadow: 0 14px 28px #0006; backdrop-filter: blur(18px); }
  .hero-art { border-radius: 9px; }
  .motion-toggle { bottom: 12px; right: 12px; font-size: 9px; padding: 7px 9px; }
  .footer { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-row { transition: none; }
}

/* Project gallery: every case has an image, provenance, and a clear next step. */
.showcase-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 17px; }
.showcase-toolbar > p { font-size: 13px; color: #c2d8eb; }
.showcase-toolbar > p > span { display: block; font-size: 10px; color: #7396b3; margin-top: 4px; }
.feature-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.feature-controls .mono { font-size: 10px; color: #79b0d0; margin-right: 10px; }
.feature-controls button { width: 33px; height: 33px; border: 1px solid #2b4a64; border-radius: 4px; background: #10243a; color: #9bd8f2; }
.feature-controls button:hover { background: #18425c; color: #fff; }
.feature-tabs { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #345c7b #0b1a2d; padding-bottom: 3px; }
.feature-tabs-shell { position: relative; }
.swipe-hint { display: none; }
.feature-tabs button { flex: 0 0 auto; white-space: nowrap; gap: 10px; padding: 16px 20px; font-size: 12px; }
.feature-tabs button > span:first-child, .feature-tabs button > span:last-child { display: inline-block; margin: 0; font-size: 9px; }
.feature-tabs button:focus-visible { outline-offset: -4px; }
.tab-dev-dot { width: 5px; height: 5px; background: #edbf65; border-radius: 50%; box-shadow: 0 0 10px #edbf6540; }
.feature-visual { flex-direction: column; gap: 17px; padding-bottom: 51px; }
.feature-visual .system-preview { flex-shrink: 0; }
.feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.feature-meta .eyebrow { font-size: 9px; }
.case-stage { display: inline-flex; align-items: center; font-size: 9px; line-height: 1.6; padding: 3px 7px; border: 1px solid #2b566d; border-radius: 3px; background: #123349; color: #84d6ec; white-space: nowrap; }
.case-stage.in-development { color: #f1cc83; background: #46371977; border-color: #756038; }
.shot-open { position: relative; display: block; padding: 0; width: 100%; background: #071321; cursor: zoom-in; }
.shot-open img { display: block; }
.shot-kind { position: absolute; top: 10px; right: 10px; font-size: 9px; line-height: 1.5; padding: 4px 7px; border: 1px solid #517c96; border-radius: 3px; background: #071a2ee8; color: #b4e1f7; z-index: 2; font-weight: 400; }
.shot-kind.concept, .shot-kind.demo { background: #30281cea; color: #f4d79e; border-color: #847149; }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; opacity: 0; color: #edfaff; background: #071422dd; border: 1px solid #517b98; padding: 5px 8px; font-size: 10px; border-radius: 3px; transition: opacity .2s; }
.shot-open:hover .zoom-hint, .shot-open:focus-visible .zoom-hint { opacity: 1; }
.screen-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.screen-tabs button, .image-pagination button { display: inline-flex; gap: 9px; align-items: center; border: 1px solid #31506d; border-radius: 4px; background: #0b2035; color: #8db1cb; font-size: 10px; padding: 6px 11px; }
.screen-tabs button span { color: #5981a0; font: 8px var(--mono); }
.screen-tabs button[aria-pressed="true"], .image-pagination button[aria-pressed="true"] { color: #b4f0ff; background: #184563; border-color: #4490af; }
.visual-caption { left: 15px; right: 15px; line-height: 1.6; }
.demo-notice, .feature-copy > .demo-notice { font-size: 10px; line-height: 1.8; padding: 8px 10px; background: #423a2040; border-left: 2px solid #ac8845; color: #d8bc83; margin-top: 17px; }
.concept-visual { background: radial-gradient(ellipse at 35% 35%, #14364e, #0a1a2d 80%); }
#catalog-count { display: inline-block; font: 10px var(--sans); letter-spacing: 0; margin-left: 13px; color: #6f9cb9; }
.project-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; border: 0; }
.project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #243e59; border-radius: 9px; background: #0a1829; box-shadow: 0 10px 28px #0002; transition: border-color .2s, transform .2s; }
.project-card:hover { border-color: #3c7998; transform: translateY(-3px); }
.card-media { position: relative; display: block; width: 100%; padding: 0; border-bottom: 1px solid #243e59; background: #071321; aspect-ratio: 16 / 9; overflow: hidden; cursor: zoom-in; }
.card-media > img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.card-media:hover > img { transform: scale(1.025); }
.card-view { position: absolute; left: 11px; bottom: 11px; color: #dff6ff; background: #071a2ee8; padding: 4px 7px; border: 1px solid #34546f; border-radius: 3px; font-size: 9px; opacity: 0; transition: opacity .2s; }
.card-media:hover .card-view, .card-media:focus-visible .card-view { opacity: 1; }
.project-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-meta > span:first-child { color: #71a9c6; font-size: 9px; }
.card-meta .case-stage { font-size: 8px; padding: 2px 6px; }
.project-card h4 { font-size: 15px; line-height: 1.7; margin-top: 14px; color: #e2f0fc; min-height: 51px; }
.project-card-body > p { font-size: 11px; line-height: 1.95; color: #8daac2; margin-top: 10px; min-height: 44px; }
.card-tags { font-size: 9px; color: #648eab; margin-top: 17px; margin-bottom: 20px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #223b52; padding-top: 13px; margin-top: auto; }
.card-actions button { display: inline-flex; gap: 26px; align-items: center; padding: 0; font-size: 11px; background: none; color: #8bd9ef; }
.card-actions a { font-size: 10px; color: #7fadc9; }
.card-actions button:hover, .card-actions a:hover { color: #d2f7ff; }
.index-note { line-height: 1.9; }
.dialog-stage { margin-top: 15px; }
.dialog-preview > button { display: block; padding: 0; width: 100%; background: transparent; cursor: zoom-in; }
dialog.image-view { width: min(1140px, calc(100% - 32px)); padding: 33px; max-height: 93vh; }
.image-view-heading { display: flex; align-items: center; gap: 25px; justify-content: space-between; margin-right: 17px; }
.image-view h2 { font-size: 22px; margin-top: 10px; }
.image-view-figure { margin: 23px 0 0; }
.image-view-figure img { display: block; width: 100%; max-height: 65vh; object-fit: contain; background: #06101c; border: 1px solid #294c67; border-radius: 4px; }
.image-view-figure figcaption { font-size: 11px; color: #8fb5ce; margin-top: 10px; line-height: 1.8; }
.image-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 17px; }
@media (max-width: 1050px) {
  .project-index { gap: 16px; }
  .project-card-body { padding: 16px; }
  .card-meta { align-items: flex-start; }
  .card-meta > span:first-child { font-size: 8px; }
}
@media (max-width: 800px) {
  .project-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-visual { padding-bottom: 48px; }
  .feature-copy h3 { font-size: 25px; }
}
@media (max-width: 620px) {
  .showcase-toolbar { align-items: center; gap: 12px; margin-bottom: 13px; }
  .showcase-toolbar > p { font-size: 11px; }
  .showcase-toolbar > p > span { font-size: 8px; max-width: 200px; }
  .feature-controls { gap: 5px; }
  .feature-controls .mono { font-size: 8px; margin-right: 3px; }
  .feature-controls button { width: 27px; height: 29px; }
  .feature-tabs { display: flex; }
  .feature-tabs { scroll-padding-inline: 14px; }
  .swipe-hint { position: absolute; top: 0; right: 0; bottom: 3px; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 6px; width: 112px; padding-right: 10px; color: #c9efff; background: linear-gradient(90deg, transparent, #08182be8 42%, #08182b 72%); font: 9px var(--mono); letter-spacing: .5px; pointer-events: none; opacity: 0; transform: translateX(8px); transition: opacity .24s ease, transform .24s ease; }
  .swipe-hint.is-visible { opacity: 1; transform: translateX(0); }
  .swipe-hint b { color: #49dcfa; font-size: 16px; font-weight: 400; animation: swipe-cue 1.25s ease-in-out infinite; }
  .feature-tabs button { font-size: 11px; padding: 13px 14px; gap: 8px; }
  .feature-tabs button > span:first-child, .feature-tabs button > span:last-child { display: inline-block; font-size: 8px; }
  .feature-visual { padding: 32px 18px 45px; min-height: 285px; gap: 16px; }
  .feature-copy h3 { font-size: 22px; }
  .feature-meta { gap: 9px; }
  .feature-meta .eyebrow { font-size: 8px; }
  .case-stage { font-size: 8px; }
  .shot-kind { font-size: 8px; padding: 3px 5px; top: 7px; right: 7px; }
  .visual-caption { font-size: 8px; }
  .project-index { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .project-card-body { padding: 20px; }
  .project-card h4 { font-size: 16px; min-height: 0; }
  .project-card-body > p { min-height: 0; font-size: 12px; }
  .card-meta > span:first-child { font-size: 10px; }
  .card-tags { font-size: 10px; }
  .filters { overflow-x: auto; }
  .filters button { white-space: nowrap; }
  .card-view { opacity: 1; }
  .zoom-hint { opacity: 1; font-size: 9px; padding: 3px 6px; }
  dialog.image-view { padding: 35px 18px 22px; }
  .image-view-heading { display: block; margin-right: 0; }
  .image-view-heading > .case-stage { margin-top: 10px; }
  .image-view h2 { font-size: 18px; }
  .image-view-figure { margin-top: 17px; }
  .image-view-figure figcaption { font-size: 10px; }
}
@keyframes swipe-cue { 0%,100% { transform: translateX(-3px); opacity: .55; } 50% { transform: translateX(3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .project-card, .card-media > img, .card-view, .zoom-hint { transition: none; }
  .project-card:hover { transform: none; }
}
