/* Brand details remain decorative. Content is visible without scripting. */
body { isolation: isolate; }
body::before { content: ""; position: fixed; inset: 12vh 0 0; background: url('/logo-mark.png') 86% 40% / min(58vw, 720px) no-repeat; opacity: .032; pointer-events: none; z-index: -1; }
.site-header { position: relative; }
.site-header::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #ff671f70, #18a8c180, transparent); pointer-events: none; }
.site-header a:not(.brand):hover { color: var(--ink); }
.hero, .personal-hero { position: relative; }
.hero::before, .personal-hero::before { content: ""; position: absolute; inset: 5% 0 7% 40%; background: url('/logo-mark.png') center / contain no-repeat; opacity: .035; pointer-events: none; z-index: -1; }
.hero-veteran { width: fit-content; display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--ink); text-decoration: none; }
.hero-veteran img { object-fit: contain; flex: 0 0 auto; }
.hero-veteran span { font-size: 12px; line-height: 1.6; font-weight: 700; }
.hero-veteran small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.hero-veteran b { color: var(--orange); margin-left: 10px; }
.workflow-card { position: relative; overflow: hidden; border: 1px solid #3b4962; }
.workflow-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #18a8c1, #ff671f, transparent); transform: scaleX(.65); opacity: .6; animation: connection-glow 5s ease-in-out infinite paused; }
.workflow-arrow { position: relative; font-size: 0; height: 44px; }
.workflow-arrow::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: calc(50% - 1px); width: 1px; background: #3b4962; }
.workflow-arrow::after { content: ""; position: absolute; top: 5px; left: calc(50% - 2px); width: 3px; height: 14px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 8px #ff671f80; animation: workflow-packet 2.6s ease-in-out infinite paused; }
.workflow-row.active { position: relative; }
.workflow-row.active::after { content: ""; position: absolute; top: 22px; right: 18px; width: 5px; height: 5px; border-radius: 50%; background: #78d0df; animation: connection-glow 3s ease-in-out infinite paused; }
.founder-preview, .founder-principles { position: relative; isolation: isolate; overflow: hidden; }
.founder-preview::before, .founder-principles::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 64px 64px; z-index: -1; }
.founder-preview::after { content: ""; position: absolute; width: min(65vw, 820px); aspect-ratio: 1; left: -11%; bottom: -25%; background: url('/logo-mark.png') center / contain no-repeat; opacity: .045; pointer-events: none; z-index: -1; }
.founder-service { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1.7 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border: 1px solid #d5d8db; border-radius: 6px; background: #ffffff90; color: var(--ink); margin: 14px 0 0; }
.service-star { color: var(--orange); font-size: 15px; }
.founder-preview .founder-service { border-color: #ffffff26; background: #ffffff05; color: #e2e7f0; }
.founder-preview .veteran-badges { margin-top: 30px; }
.veteran-badges { display: flex; align-items: center; gap: 20px; }
.veteran-badges img { display: block; object-fit: contain; flex: 0 0 auto; }
.veteran-badges a { display: inline-flex; border-radius: 8px; }
.founder-preview-copy p.founder-lead { color: #f3f5f9; font-size: 20px; line-height: 1.7; }
.personal-hero { gap: 60px; align-items: center; }
.personal-hero h1 { font-size: clamp(60px, 6.6vw, 94px); margin-top: 24px; }
.personal-hero h1 em { color: var(--orange); font-style: normal; }
.personal-actions { display: flex; align-items: flex-start; gap: 22px; flex-direction: column; margin-top: 26px; }
.personal-actions .button { margin-top: 0; }
.personal-actions .text-link { color: #08798d; font-size: 13px; line-height: 1.6; }
.founder-identity { position: relative; overflow: hidden; border: 1px solid #3b4962; padding: 32px; box-shadow: 0 24px 60px #10182b14; }
.founder-identity::before { content: ""; position: absolute; width: 230px; height: 230px; right: -55px; top: 55px; background: url('/logo-mark.png') center / contain no-repeat; opacity: .055; pointer-events: none; }
.identity-service { display: flex; align-items: center; gap: 20px; }
.identity-service img { object-fit: contain; }
.identity-service > span { font: 500 12px/2 "JetBrains Mono", monospace; color: #8ed8e4; letter-spacing: .1em; }
.identity-service b { font-weight: 400; color: #b7c0d2; font-size: 10px; }
.founder-identity h2 { margin-top: 25px; }
.founder-identity dl { margin-top: 24px; }
.founder-identity dl div { padding: 14px 0; }
.identity-directory { display: flex; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid #ffffff26; color: #cdd5e5; text-decoration: none; font-size: 11px; line-height: 1.8; }
.identity-directory img { object-fit: contain; flex: 0 0 auto; }
.service-grid article, .outcome-card, .company-work-grid article, .product-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-demo-link { overflow: hidden; }
.product-demo-link img { transition: transform .35s ease; }
.button span, .text-link span { transition: transform .2s ease; }
.expanded-footer { display: block; max-width: none; width: 100%; margin: 0; padding: 64px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 28px; background: #0b1324; color: #aeb7c9; position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid #ffffff20; }
.expanded-footer::before { content: ""; position: absolute; right: -30px; top: -100px; width: 520px; height: 520px; background: url('/logo-mark.png') center / contain no-repeat; opacity: .045; pointer-events: none; z-index: -1; }
.expanded-footer::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #ff671f90, #18a8c1b0, transparent); opacity: .75; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.expanded-footer .brand { color: white; font-size: 19px; gap: 14px; }
.footer-brand img { object-fit: contain; }
.expanded-footer p { font-size: 13px; line-height: 1.9; margin: 18px 0 22px; }
.expanded-footer .footer-label { color: #8ed8e4; font: 500 10px/1.8 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; display: block; margin: 8px 0 20px; }
.expanded-footer .footer-pages nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.expanded-footer .footer-pages nav a { color: #e2e7f0; font-size: 13px; font-weight: 500; line-height: 1.6; text-decoration: none; }
.expanded-footer nav.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.expanded-footer .footer-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #ffffff26; border-radius: 8px; color: #d7ddeb; font-size: 11px; font-weight: 500; text-decoration: none; }
.footer-socials img { filter: brightness(0) invert(1); opacity: .8; }
.footer-founder-link { text-decoration: none; color: #8ed8e4; font-size: 12px; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 42px; padding-top: 24px; border-top: 1px solid #ffffff1a; color: #aeb7c9; font-size: 11px; line-height: 1.7; }
.motion-control { padding: 7px 10px; color: #aeb7c9; border: 1px solid #ffffff26; border-radius: 6px; background: transparent; font: 500 11px/1.5 "Sora", sans-serif; cursor: pointer; }
.motion-control:disabled { cursor: default; }
.motion-control:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
@keyframes workflow-packet { 0% { transform: translateY(0); opacity: .25; } 50% { opacity: 1; } 100% { transform: translateY(22px); opacity: .15; } }
@keyframes connection-glow { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes brand-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes arrive { from { opacity: .65; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
body[data-motion="on"] .workflow-card.motion-in-view::before, body[data-motion="on"] .workflow-card.motion-in-view .workflow-arrow::after, body[data-motion="on"] .workflow-card.motion-in-view .workflow-row.active::after { animation-play-state: running; }
body[data-motion="on"] .hero.motion-in-view::before, body[data-motion="on"] .personal-hero.motion-in-view::before { animation: brand-drift 10s ease-in-out infinite; }
body[data-motion="on"] .arrive { animation: arrive .45s ease-out both; }
body[data-page-hidden="true"] .workflow-card::before, body[data-page-hidden="true"] .workflow-arrow::after, body[data-page-hidden="true"] .workflow-row.active::after, body[data-page-hidden="true"] .hero::before, body[data-page-hidden="true"] .personal-hero::before { animation-play-state: paused !important; }
body[data-motion="on"] .signal-rail.motion-in-view .signal-track { animation: rail 28s linear infinite running; }
body[data-motion="off"] .signal-track { animation-play-state: paused; }
body[data-page-hidden="true"] .signal-track { animation-play-state: paused !important; }
.signal-rail { display: flex; align-items: center; min-height: 48px; }
.signal-window { flex: 1; min-width: 0; overflow: hidden; }
.signal-group { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; min-width: calc(100vw - 100px); gap: 28px; padding-right: 28px; }
.signal-rail .rail-control { flex: 0 0 auto; margin: 0 12px; min-height: 36px; min-width: 62px; color: #d7ddeb; }
/* Identical groups preserve the loop width when motion is paused. */
.local-feature { padding: 70px max(24px, calc((100vw - var(--max)) / 2 + 24px)); background: #e8e8de; border-top: 1px solid #10182b12; border-bottom: 1px solid #10182b12; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.local-feature h2 { font: 400 clamp(44px, 4.8vw, 64px)/1.05 "Bebas Neue", sans-serif; margin: 14px 0 22px; }
.local-feature p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 590px; }
.local-feature .text-link { display: inline-block; margin-top: 22px; }
.local-places { border: 1px solid #10182b24; background: #ffffff8a; border-radius: 14px; padding: 24px; }
.local-places .product-label { color: #08798d; }
.local-places p { margin-top: 12px; }
.local-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.local-areas article { background: white; padding: 26px; border: 1px solid #d9d4c9; border-radius: 14px; }
.local-areas h3 { margin: 16px 0 20px; font-size: 22px; line-height: 1.4; }
.local-areas ul { padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 2.2; }
.local-areas .product-label { color: #08798d; }
@media (max-width: 900px) { .local-feature { grid-template-columns: 1fr; gap: 30px; } .local-areas { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .local-feature { padding: 48px 18px; } .local-areas article { padding: 22px; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-grid article:hover, .outcome-card:hover, .company-work-grid article:hover, .product-card:hover { transform: translateY(-4px); border-color: #18a8c170; box-shadow: 0 16px 35px #10182b0d; }
  .product-demo-link:hover img { transform: scale(1.015); }
  .button:hover span, .text-link:hover span { transform: translateX(3px); }
}
.expanded-footer a:hover { color: #ff9258; }
.expanded-footer .footer-socials a:hover { border-color: #ff671f90; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1.1fr 1fr; gap: 38px; }
  .footer-veteran { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid #ffffff1a; padding-top: 28px; }
  .footer-veteran .footer-label { grid-column: 1; }
  .footer-veteran .veteran-badges { grid-column: 1; grid-row: 2 / 4; }
  .footer-veteran p { grid-column: 2; grid-row: 1 / 3; margin-top: 4px; }
  .footer-veteran .footer-founder-link { grid-column: 2; }
  .hero::before, .personal-hero::before { inset: 6% 2% 25% 10%; }
}
@media (max-width: 560px) {
  .expanded-footer { padding: 48px 18px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-veteran { display: block; padding-top: 28px; }
  .expanded-footer .footer-veteran p { margin-top: 22px; }
  .footer-veteran .veteran-badges { margin-top: 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .expanded-footer::before { right: -170px; top: 170px; width: 450px; height: 450px; opacity: .055; }
  .founder-service { font-size: 10px; letter-spacing: .045em; }
  .personal-hero h1 { font-size: 65px; }
  .founder-identity { padding: 26px; }
  .founder-preview-copy p.founder-lead { font-size: 18px; }
  .personal-actions .button { font-size: 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not([data-motion="on"]) .signal-track, body:not([data-motion="on"]) .arrive { animation: none !important; }
  .service-grid article, .outcome-card, .company-work-grid article, .product-card, .product-demo-link img, .button, .text-link, .header-link, .button span, .text-link span { transition: none !important; transform: none !important; }
}
