:root {
  color-scheme: dark;
  --ink: #eef3f8;
  --muted: #aab7c6;
  --line: #293a4a;
  --accent: #66e0c1;
  --blue: #85b9ff;
  --bg: #08111b;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
button, select, input { font: inherit; min-height: 44px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 5; padding: 10px 14px; color: #000; background: #fff; }
.skip:focus { position: fixed; left: 1rem; top: 100px; z-index: 1001; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.home-page .nav a:focus-visible { outline-color: #08766f; }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ffffff18; }
.mobile-menu, .mobile-contact { display: none; }
.brand { display: flex; gap: 12px; align-items: center; min-height: 48px; text-decoration: none; flex: 0 1 auto; }
.mark { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: var(--accent); color: #06131b; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; }
.brand strong { display: block; letter-spacing: .13em; }
.brand small { display: block; color: var(--muted); font-size: .68rem; }
.links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border-radius: 8px; text-decoration: none; color: #d0d9e3; font-size: .92rem; white-space: nowrap; }
.links a:hover, .textlink:hover, .footer a:hover { color: var(--accent); }
.links a[aria-current="page"] { color: var(--accent); background: #12261f; }
.hero { position: relative; isolation: isolate; min-height: 620px; display: flex; align-items: center; background: linear-gradient(90deg, #07111bf2 0%, #07111bcc 56%, #07111b70), url('/assets/engineering-workbench-hero-v2.webp') center / cover; }
.hero:after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 32%); }
.hero-content { max-width: 800px; padding: 88px 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 750; }
.hero h1, .headline h1 { font-size: clamp(2.7rem, 6vw, 5.35rem); line-height: 1.02; letter-spacing: -.055em; margin: .55rem 0 1.2rem; }
.hero p.lead, .headline p.lead { font-size: 1.18rem; max-width: 700px; color: #d1dbe6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; padding: 10px 18px; text-decoration: none; font-weight: 700; border: 1px solid var(--line); background: #142333; }
.btn.primary { background: var(--accent); color: #06151b; border-color: var(--accent); }
.btn:hover { filter: brightness(1.08); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; color: #cfdae5; font-size: .85rem; }
.chips span { border: 1px solid #ffffff30; border-radius: 99px; padding: 5px 11px; }
.section { padding: 88px 0; border-bottom: 1px solid #ffffff12; scroll-margin-top: 20px; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; margin: .3rem 0 1rem; }
.section-intro { color: var(--muted); max-width: 740px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card, .panel { background: linear-gradient(145deg, #132130, #0d1823); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3, .panel h3 { font-size: 1.2rem; margin: .2rem 0 .6rem; }
.card p, .panel p { color: var(--muted); margin: .5rem 0; }
.badge { color: var(--blue); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.headline { padding: 74px 0 30px; }
.headline h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.notice { border-left: 3px solid var(--accent); background: #10251f; padding: 16px 20px; color: #d2e4df; }
.demo-controls { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.demo-controls label { display: grid; gap: 6px; color: var(--muted); }
select { background: #0a1520; color: var(--ink); border: 1px solid #8197aa; border-radius: 8px; padding: 9px 11px; min-width: 220px; }
.custom-readings { border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; min-width: 0; padding: 16px; }
.custom-readings[hidden] { display: none; }
.custom-readings legend { font-weight: 700; padding: 0 6px; }
.custom-reading-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.custom-reading-field { display: grid; gap: 6px; }
.custom-reading-field label { color: var(--muted); }
.custom-reading-fields input { width: 100%; min-width: 0; padding: 9px 11px; background: #0a1520; color: var(--ink); border: 1px solid #8197aa; border-radius: 8px; }
#log-input { display: block; width: 100%; min-width: 0; padding: 12px; background: #0a1520; color: var(--ink); border: 1px solid #8197aa; border-radius: 8px; font: inherit; line-height: 1.5; resize: vertical; }
.log-help { display: grid; gap: .35rem; margin: .5rem 0 1rem; }
.log-help p { margin: 0; color: var(--muted); }
.log-help strong { color: var(--ink); }
.other-examples { margin: 20px 0; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.other-examples > summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.other-examples > summary::before { content: "+"; color: var(--accent); font-size: 1.3rem; }
.other-examples[open] > summary::before { content: "−"; }
.other-examples > summary::-webkit-details-marker { display: none; }
.other-examples > .panel { margin: 0 0 16px; }
.field-error { color: #ffb7aa; font-size: .9rem; }
.button { cursor: pointer; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: #172637; padding: 9px 15px; font-weight: 700; }
.button:hover { border-color: var(--accent); }
.button:disabled { cursor: not-allowed; opacity: .6; }
.demo-section .button:disabled { transition: none; transform: none; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .demo-section .button:not(:disabled) {
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
  }
}
@media (min-width: 601px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .demo-section .button:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 3px 8px #0002; }
}
@media (prefers-reduced-motion: no-preference) {
  .demo-section .button:not(:disabled):active { transform: translateY(1px); background-color: #122231; box-shadow: inset 0 1px 2px #0003; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-section .button { transition: none; animation: none; transform: none; }
}
.demo-section .button.is-touch-pressed:not(:disabled),
.demo-section .button.is-touch-tap-feedback:not(:disabled) {
  background-color: #294354;
  border-color: #91cbb3;
  box-shadow: inset 0 0 0 1px #91cbb3, inset 0 1px 2px #0005;
}
@media (prefers-reduced-motion: no-preference) {
  .demo-section .button.is-touch-pressed:not(:disabled),
  .demo-section .button.is-touch-tap-feedback:not(:disabled) { transform: translateY(1px); }
}
.status { min-height: 28px; color: var(--accent); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.metric strong { display: block; font-size: 1.8rem; }
.metric small, .muted, small { color: var(--muted); }
.results { display: none; }
.results.visible { display: block; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.task-detail { margin: 14px 0; }
.task-detail h4 { margin: 18px 0 6px; }
.task-detail li { color: var(--muted); }
.log-issues { display: grid; gap: .5rem; margin: .35rem 0 0; padding-left: 1.35rem; }
.log-issues li { color: var(--muted); padding-left: .2rem; }
.founder-layout { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.founder-photo { border-radius: 20px; overflow: hidden; background: #e7edeb; }
.founder-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .founder-layout { grid-template-columns: 1fr; } .founder-photo { width: min(100%, 240px); } }
.bar { height: 8px; background: #1e3344; border-radius: 10px; margin: 7px 0; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 10px; }
.model-row { margin: 18px 0; }
.model-line { display: flex; justify-content: space-between; gap: 12px; }
.contact-panel { align-items: center; }
.contact-panel .btn { margin-top: 8px; }
.contact-strip { border-bottom: 0; }
.contact-strip .btn { max-width: 100%; text-align: center; }
.footer { padding: 35px 0; color: var(--muted); font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-scope { flex: 1 0 100%; margin: 0; line-height: 1.5; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
.textlink { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); }
@media (max-width: 760px) {
  .hero { min-height: 570px; background-position: 58% center; }
  .grid, .split, .metrics, .result-grid { grid-template-columns: minmax(0, 1fr); }
  .section h2, .headline h1, .home-page .hero h1 { overflow-wrap: anywhere; }
  .btn, .textlink { max-width: 100%; overflow-wrap: anywhere; }
  .textlink { flex-wrap: wrap; }
  .home-contact strong { overflow-wrap: anywhere; }
  .section { padding: 62px 0; }
  .hero-content { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav { min-height: 0; padding: 10px 0; align-items: stretch; flex-direction: column; gap: 6px; }
  .brand { min-height: 48px; }
  .links { width: 100%; justify-content: flex-start; gap: 2px; }
  .links a { padding: 0 6px; font-size: .88rem; }
  .hero { min-height: 560px; }
  .headline { padding: 36px 0 12px; }
  .demo-section { padding-top: 16px; }
  .hero h1, .headline h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .hero p.lead, .headline p.lead { font-size: 1.05rem; }
  .demo-controls { align-items: stretch; flex-direction: column; }
  .demo-controls select, .demo-controls .button { width: 100%; }
  .custom-reading-fields { grid-template-columns: 1fr; }
  .card, .panel { padding: 20px; }
  .demo-section > .panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The business homepage retains the original TES light-paper identity. */
.home-page { color-scheme: light; background: #f8faf8; color: #13272b; }
.home-page :focus-visible { outline-color: #075950; }
.home-page .hero :focus-visible { outline-color: #9debd4; }
.home-page .beam-demo :focus-visible { outline-color: #66e0c1; }
.home-scroll-progress { position: fixed; z-index: 1000; inset: 0 0 auto; height: 3px; pointer-events: none; background: #17343324; }
.home-scroll-progress[hidden] { display: none; }
.home-scroll-progress > span { display: block; width: 100%; height: 100%; background: #62e0bd; transform: scaleX(0); transform-origin: left center; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .home-scroll-progress { display: none !important; } }
.home-page .nav { min-height: 90px; border-color: #dfe9e5; }
.home-page .brand small, .home-page .section-intro { color: #51676a; }
.home-page .mark { background: #08766f; color: white; }
.home-page .links a { color: #314749; }
.home-page .links a:hover { color: #08766f; }
.home-page .links a[aria-current="page"] { color: #075950; background: #e1f1eb; }
.home-page .eyebrow, .home-page .badge { color: #08766f; }
.home-page .bracket-showcase-copy > .eyebrow { color: #075950; }
.home-page .hero { min-height: 650px; background: radial-gradient(ellipse at 80% 35%, #164a48 0%, #0b3032 35%, #071d23 78%); color: #fff; }
.home-page .hero:after { background: linear-gradient(0deg,#071d23b8,transparent 32%); }
.home-page .home-hero-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(310px,.72fr); gap: 70px; align-items: center; padding: 100px 0; }
.home-page .hero h1 { max-width: 730px; font-size: clamp(3.2rem,5.3vw,5.8rem); letter-spacing: -.055em; }
.home-page .hero h1 em { color: #87e2c9; font-style: normal; }
.home-page .hero .eyebrow { color: #9debd4; }
.home-page .hero p.lead { color: #e1edef; max-width: 680px; }
.home-page .home-hero-note { color: #d0e3e1; font-size: .9rem; }
.home-page .home-hero-note a { color: #a6f2da; text-underline-offset: .18em; }
.home-page .btn { gap: 12px; border-radius: 10px; border-color: #d1e0db; background: white; color: #143532; }
.home-page .btn.primary { border-color: #08766f; background: #08766f; color: white; }
.home-page .hero .btn.primary { background: #8fe5ca; border-color: #8fe5ca; color: #0b3732; }
.home-page .hero .home-secondary { background: #ffffff18; color: white; border-color: #ffffff70; }
.home-workflow { padding: 18px; border: 1px solid #ffffff45; border-radius: 22px; color: #183c3a; background: #fafff9f5; box-shadow: 0 24px 75px #06181670; }
.home-showcase-eyebrow { margin: 0 2px 12px; color: #17665d; font-size: .73rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-showcase-link { display: block; border-radius: 12px; color: #173b38; text-decoration: none; }
.home-showcase-link:focus-visible { outline: 3px solid #08766f; outline-offset: 4px; }
.home-showcase-image { display: block; overflow: hidden; border-radius: 12px; background: #e4ebe7; }
.home-showcase-image img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }
.home-showcase-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px 0; }
.home-showcase-caption strong, .home-showcase-caption small { display: block; }
.home-showcase-caption strong { font-size: 1.08rem; }
.home-showcase-caption small, .home-showcase-note { color: #526b63; font-size: .85rem; }
.home-showcase-caption > span:last-child { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #d9f2e8; color: #075950; font-size: 1.15rem; }
.home-showcase-note { margin: 12px 2px 0; }
.home-principles { background: #ecf4ef; border-bottom: 1px solid #d6e4dd; }
.home-principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding: 28px 0; }
.home-principle-grid strong { display: block; font-size: .98rem; }
.home-principle-grid span, .home-steps span { color: #805b2a; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.home-principle-grid p, .home-steps p { color: #526967; margin: 4px 0; font-size: .9rem; }
.home-proof-index { background: #fff; border-bottom: 1px solid #dce7e2; }
.home-proof-index-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 0; font-size: .86rem; }
.home-proof-index-inner > strong { color: #264a42; }
.home-proof-index-inner > a { color: #12665c; font-weight: 750; text-underline-offset: .18em; }
.home-proof-index-inner > span { margin-left: auto; color: #596b67; font-size: .78rem; }
.enclosure-teaser { display: grid; grid-template-columns: minmax(170px, .8fr) 1.2fr; align-items: center; gap: 24px; margin-top: 26px; overflow: hidden; border: 1px solid #d4e4dd; border-radius: 16px; background: #fff; color: #143532; text-decoration: none; }
.enclosure-teaser img { display: block; width: 100%; height: auto; }
.enclosure-teaser > span { display: grid; gap: 5px; padding: 18px 22px 18px 0; }
.enclosure-teaser strong { font-size: 1.3rem; line-height: 1.2; }
.enclosure-teaser > span > span:last-child { color: #41645c; }
.enclosure-teaser:hover { border-color: #08766f; box-shadow: 0 10px 28px #173b2a14; }
@media (max-width: 600px) { .enclosure-teaser { grid-template-columns: 1fr; gap: 0; } .enclosure-teaser > span { padding: 16px 18px 20px; } }
.home-page .section { padding-block: clamp(36px, 5vw, 60px); border-color: #dfe8e3; }
.home-page .contact-panel { align-items: start; }
@media (max-width: 760px) {
  .home-page .contact-panel { gap: 12px; }
  .home-page .contact-panel > div:first-child > :last-child { margin-bottom: 0; }
  .home-page .contact-panel > div:nth-child(2) > :first-child { margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-page #contact:target {
    animation: home-contact-arrival-wash 2.4s linear 1.2s both;
  }
}
@keyframes home-contact-arrival-wash {
  from { background-color: #e5f3eb; }
  to { background-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page #contact:target { background-color: #edf6f0; }
}
.home-section-heading { display: grid; grid-template-columns: 1.15fr .6fr; gap: 60px; align-items: end; }
.home-section-heading > p { color: #526967; }
.home-page .card { background: white; border-color: #dce8e1; box-shadow: 0 12px 35px #18403a0b; }
.home-page .card p { color: #526967; }
.home-card-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #e1f2e9; color: #08766f; border-radius: 14px; font-size: 1.35rem; }
.home-service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-service-cards .possible-deliverable { margin: .8rem 0; padding: 10px 12px; border-left: 3px solid #08766f; border-radius: 0 8px 8px 0; background: #f2f7f4; color: #526967; font-size: .9rem; line-height: 1.45; }
.home-service-cards .possible-deliverable strong { color: #183c3a; }
.home-service-cards .card { transform-style: preserve-3d; }
.home-service-cards .home-card-icon { transition: transform 180ms ease, background-color 180ms ease; }
.home-service-cards .card:hover .home-card-icon, .home-service-cards .card:focus-within .home-card-icon { transform: translateY(-2px) rotate(-5deg); background: #d4ede1; }
.home-page .textlink { color: #08766f; gap: 7px; font-weight: 700; text-decoration: none; }
.fea-demo { background: #f4f8f5; }
.fea-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 0; margin-top: 28px; overflow: hidden; border: 1px solid #cadfd4; border-radius: 20px; background: #fff; box-shadow: 0 18px 42px #18372c12; }
.fea-visual { padding: clamp(20px, 3vw, 36px); background: linear-gradient(145deg,#102f38,#1b4a50); color: #e7f7ef; }
.fea-visual-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #d2eee4; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.fea-visual svg { display: block; width: 100%; height: auto; margin: 12px 0 0; }
.fea-visual > p { margin: 6px 0 0; color: #e0f1eb; font-size: .9rem; line-height: 1.5; }
.fea-controls { display: grid; align-content: center; gap: 12px; padding: clamp(22px, 3vw, 38px); }
.fea-controls > .badge { margin: 0; }
.fea-controls label { display: flex; justify-content: space-between; color: #183c3a; font-weight: 700; }
.fea-controls input[type="range"] { width: 100%; accent-color: #08766f; }
.fea-controls select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #abc9bb; border-radius: 8px; background: #fff; color: #183c3a; font: inherit; }
.fea-controls :is(input,select):focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
.fea-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fea-metrics div { padding: 12px; border-radius: 10px; background: #edf6f0; }
.fea-metrics span, .fea-metrics strong { display: block; }
.fea-metrics span { color: #48645b; font-size: .9rem; }
.fea-metrics strong { margin-top: 3px; color: #16463e; font-size: 1.15rem; }
.fea-note { margin: 0; color: #526967; font-size: .9rem; line-height: 1.5; }
.fea-controls #fea-status:empty { display: none; }
@media (max-width: 760px) { .fea-card { grid-template-columns: 1fr; } }
.home-research-showcase { background: #edf4f0; }
.home-research-grid { display: grid; grid-template-areas: "figure copy"; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 42px; align-items: start; margin-top: 28px; }
.home-research-figure { grid-area: figure; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #31566a; border-radius: 18px; background: #071a2d; box-shadow: 0 18px 42px #18372c18; scroll-margin-top: 16px; }
.home-research-diagram { position: relative; aspect-ratio: 1080 / 1240; }
.home-research-diagram img { display: block; width: 100%; height: auto; }
.home-research-region { position: absolute; left: 6.48%; width: 87.04%; height: 16.94%; box-sizing: border-box; border: 2px solid #8cebd6; border-radius: 2.2% / 11%; background: #65e0c212; box-shadow: 0 0 20px #65e0c24a, inset 0 0 18px #65e0c212; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.home-research-region:nth-of-type(1) { top: 20.32%; }
.home-research-region:nth-of-type(2) { top: 39.60%; }
.home-research-region:nth-of-type(3) { top: 58.87%; }
.home-research-region:nth-of-type(4) { top: 78.15%; }
.home-research-figure figcaption { padding: 12px 16px; color: #526967; background: #fff; font-size: .84rem; line-height: 1.5; }
.research-workflow-visual { padding: clamp(22px, 4vw, 42px); color: #eefaf7; background: radial-gradient(circle at 100% 0%, #1d5361 0, transparent 42%), #0b293a; }
.research-workflow-visual .workflow-overline { margin: 0 0 12px; color: #8de3d0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.research-workflow-visual h3 { margin: 0; color: #f5fffc; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.2; }
.research-workflow-visual .workflow-instruction { margin: 10px 0 18px; color: #c0ded8; font-size: .9rem; line-height: 1.5; }
.research-workflow-visual .home-research-stages { gap: 10px; margin: 0; }
.research-workflow-visual .home-research-stage { border: 1px solid #37766f; background: #153c4b; box-shadow: none; }
.research-workflow-visual .home-research-stage[open] { border-color: #82decb; }
.research-workflow-visual .home-research-stage summary { min-height: 90px; padding: 14px; color: #f5fffc; }
.research-workflow-visual .home-research-stage summary:hover, .research-workflow-visual .home-research-stage summary:active { background: #1d4e58; }
.research-workflow-visual .home-research-stage summary:focus-visible { outline-color: #9ff7e3; }
.research-workflow-visual .home-stage-number { color: #083e3c; background: #65dfc4; }
.research-workflow-visual .home-stage-label strong { color: #f5fffc; }
.research-workflow-visual .home-stage-label > span { color: #c0ded8; }
.research-workflow-visual .home-stage-mark { background: #d8f6ec; }
.research-workflow-visual .home-stage-detail { border-top-color: #37766f; color: #d3eae4; }
.research-workflow-visual .home-stage-detail { padding-top: 5px; padding-bottom: 16px; }
.research-workflow-visual .home-stage-detail p { margin-top: 10px; line-height: 1.6; }
.research-workflow-visual .home-stage-detail p + p { margin-top: 14px; }
.research-workflow-visual .home-stage-detail strong { color: #a5eedc; }
.home-research-copy { grid-area: copy; padding-top: 12px; }
.home-research-copy h3 { margin-top: 0; }
.home-research-copy p { color: #526967; }
.home-research-copy .home-research-artifact-note { padding: 12px 0; border-top: 1px solid #c4ddd1; line-height: 1.55; }
.home-research-copy .home-research-artifact-note > p { margin: 0; }
.home-research-artifact-links { display: grid; gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.home-research-copy .home-research-artifact-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; border: 1px solid #c4ddd1; border-radius: 8px; background: #f7fbf8; color: #075950; font-weight: 700; text-underline-offset: .15em; }
.home-stage-hint { margin: 6px 0 12px; color: #526967; font-size: .9rem; }
.home-research-stages { display: grid; gap: 9px; margin: 14px 0 20px; }
.home-research-stage { min-width: 0; overflow: hidden; border: 1px solid #c7ddd2; border-radius: 12px; background: #fff; box-shadow: 0 5px 16px #18372c0b; }
.home-research-stage[open] { border-left-width: 4px; border-color: #08766f; }
.home-research-stage summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 11px; align-items: center; min-height: 68px; padding: 10px 12px; color: #183c3a; cursor: pointer; list-style: none; }
.home-research-stage summary::-webkit-details-marker { display: none; }
.home-research-stage summary:focus-visible { outline: 3px solid #08766f; outline-offset: -3px; border-radius: 11px; }
.home-stage-number { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #075950; background: #e5f4ec; font-size: .76rem; font-weight: 800; }
.home-stage-label strong, .home-stage-label > span { display: block; }
.home-stage-label strong { color: #183c3a; }
.home-stage-label > span { margin-top: 3px; color: #526967; font-size: .85rem; line-height: 1.4; }
.home-stage-mark { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #edf5f0; }
.home-research-stage[open] .home-stage-mark { border-radius: 4px; }
.home-stage-mark::before, .home-stage-mark::after { position: absolute; top: 10px; left: 6px; width: 10px; height: 2px; background: #08766f; content: ""; }
.home-stage-mark::after { transform: rotate(90deg); transition: transform 180ms ease; }
.home-research-stage[open] .home-stage-mark::after { transform: rotate(0); }
.home-stage-detail { padding: 0 15px 12px 59px; border-top: 1px solid #e3eee8; color: #405f55; font-size: .87rem; line-height: 1.5; }
.home-stage-detail p { margin: 9px 0 0; }
.home-stage-detail strong { color: #183c3a; }
.home-stage-figure-link { display: none; }
.home-research-stage[open] > .home-stage-detail { animation: workflow-stage-open 180ms ease-out both; }
@supports selector(.home-research-grid:has(.home-research-stage[open])) {
  .home-research-grid:has(.home-research-stage:nth-child(1)[open]) .home-research-region:nth-of-type(1),
  .home-research-grid:has(.home-research-stage:nth-child(2)[open]) .home-research-region:nth-of-type(2),
  .home-research-grid:has(.home-research-stage:nth-child(3)[open]) .home-research-region:nth-of-type(3),
  .home-research-grid:has(.home-research-stage:nth-child(4)[open]) .home-research-region:nth-of-type(4) { opacity: 1; }
}
.bracket-showcase { background: linear-gradient(135deg, #eaf2ee, #dcebe4 58%, #eef4f0); }
.bracket-showcase-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.bracket-showcase-viewer { min-width: 0; }
.bracket-view-controls { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.bracket-view-controls legend { margin-bottom: 4px; color: #183c3a; font-weight: 750; }
.bracket-view-controls > p { margin: 0 0 10px; color: #526967; font-size: .84rem; line-height: 1.45; }
.bracket-view-options { display: flex; flex-wrap: wrap; gap: 8px; }
.bracket-view-option { position: relative; display: inline-flex; min-width: 0; }
.bracket-view-option input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bracket-view-option label { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #b5cfc3; border-radius: 999px; color: #075950; background: #fff; cursor: pointer; font-size: .86rem; font-weight: 700; text-align: center; }
.bracket-view-option input:checked + label { border-color: #08766f; color: #fff; background: #08766f; }
.bracket-view-option input:focus-visible + label { outline: 3px solid #08766f; outline-offset: 3px; }
.bracket-view-panels { display: grid; min-width: 0; }
.bracket-view-panel, .bracket-view-fallback { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #b5cfc3; border-radius: 18px; background: #dce7e3; box-shadow: 0 20px 48px #173a2b1c; }
.bracket-view-panel { display: none; }
.bracket-view-panel img, .bracket-view-fallback img { display: block; width: 100%; height: auto; }
.bracket-view-panel figcaption, .bracket-view-fallback figcaption { padding: 12px 16px; color: #355349; background: #fff; font-size: .88rem; line-height: 1.5; }
.bracket-view-fallback { display: none; }
@supports selector(.bracket-showcase-viewer:has(input:checked)) {
  .bracket-showcase-viewer:has(#bracket-view-angled:checked) .bracket-view-angled,
  .bracket-showcase-viewer:has(#bracket-view-front:checked) .bracket-view-front,
  .bracket-showcase-viewer:has(#bracket-view-high:checked) .bracket-view-high,
  .bracket-showcase-viewer:has(#bracket-view-side:checked) .bracket-view-side { display: block; }
  .bracket-showcase-viewer:has(input:checked) .bracket-view-fallback { display: none; }
}
@supports not selector(.bracket-showcase-viewer:has(input:checked)) {
  .bracket-view-controls, .bracket-view-panels { display: none; }
  .bracket-view-fallback { display: block; }
}
.bracket-mesh-details { margin-top: 12px; border: 1px solid #abc8ba; border-radius: 13px; background: #f7fbf8; color: #183c3a; }
.bracket-mesh-details > summary { min-height: 48px; display: flex; align-items: center; padding: 8px 14px; border-radius: 12px; color: #075950; font-weight: 750; cursor: pointer; }
.bracket-mesh-details > summary:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
.bracket-mesh-content { padding: 0 12px 12px; }
.bracket-mesh-instructions, .bracket-mesh-provenance { margin: 4px 2px 10px; color: #405f55; font-size: .88rem; line-height: 1.5; }
.bracket-mesh-provenance { padding: 9px 11px; border-left: 3px solid #08766f; border-radius: 0 8px 8px 0; background: #eaf3ed; }
.cad-viewer { min-width: 0; }
.cad-canvas-frame { width: 100%; aspect-ratio: 8 / 5; overflow: hidden; border: 1px solid #b5cfc3; border-radius: 12px; background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #edf4ef 72%, #e0ebe5 100%); }
.cad-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; outline-offset: -4px; }
.cad-canvas[hidden] { display: none; }
.cad-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.cad-controls[hidden] { display: none; }
.cad-controls button { min-height: 44px; padding: 7px 12px; border: 1px solid #abc8ba; border-radius: 9px; color: #075950; background: #fff; font-weight: 700; cursor: pointer; }
.cad-controls button:hover { background: #e9f4ee; }
.cad-status { min-height: 1.5em; margin: 7px 2px 0; color: #405f55; font-size: .88rem; line-height: 1.45; }
.cad-status[data-state="error"] { padding: 8px 10px; border-left: 3px solid #a64a35; border-radius: 0 8px 8px 0; color: #713626; background: #fff3ed; }
.bracket-showcase-copy h2 { max-width: 17ch; }
.bracket-showcase-copy > p:not(.eyebrow) { color: #405f55; line-height: 1.65; }
.bracket-showcase-copy ul { padding-left: 1.25rem; color: #405f55; line-height: 1.6; }
.bracket-showcase-boundary { margin-top: 18px; padding: 13px 15px; border-left: 3px solid #08766f; border-radius: 0 10px 10px 0; background: #fff; color: #405f55; font-size: .92rem; }
.home-demo-section { background: #eaf4ee; }
.home-demo-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.home-demo-note { color: #526967; font-size: .88rem; }
.home-demo-preview { background: #fff; border: 1px solid #d1e5da; border-radius: 22px; padding: 26px; box-shadow: 0 24px 70px #234b3e12; }
.home-demo-preview .textlink { display: inline-block; }
.preview-top, .preview-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid #e1ece6; }
.preview-top { padding-top: 0; }
.preview-top span { background: #e5f4ec; color: #08766f; border-radius: 99px; padding: 4px 10px; font-size: .75rem; font-weight: 700; }
.preview-row span { color: #526967; }
.preview-row strong { text-align: right; font-size: .9rem; }
.preview-bottom { color: #5a706a; font-size: .85rem; padding-top: 18px; }
.home-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 36px; }
.home-steps > div { border-top: 2px solid #d0e4da; padding-top: 20px; }
.home-steps h3 { margin: 8px 0; }
.demo-section #log-check details > summary { min-height: 44px; }
.home-page .process-detail { margin-top: 14px; border: 1px solid #ccded4; border-radius: 12px; background: #fff; }
.home-page .process-detail summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 11px; color: #075950; cursor: pointer; font-weight: 700; list-style: none; }
.home-page .process-detail summary::-webkit-details-marker { display: none; }
.home-page .process-detail summary::after { content: "+"; font-size: 1.25rem; line-height: 1; }
.home-page .process-detail[open] summary::after { content: "−"; }
.home-page .process-detail summary:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
.home-page .process-detail > p { padding: 0 14px 14px; color: #3e5b53; }
.home-about { background: #f1f5f2; }
.home-page .notice { background: #e7f2ec; border-color: #08766f; color: #294c43; }
.home-page .footer { color: #526967; }
.home-page .footer a:hover { color: #075950; }
@media (max-width: 900px) {
  .home-page .home-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; padding: 65px 0; }
  .home-workflow { max-width: 560px; }
  .home-section-heading, .home-demo-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-research-grid { grid-template-areas: "copy" "figure"; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-research-grid { grid-template-areas: "figure" "copy"; }
  .home-stage-figure-link { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-top: 8px; color: #075950; font-weight: 700; text-underline-offset: .15em; }
  .home-stage-figure-link:focus-visible { outline: 3px solid #08766f; outline-offset: 2px; border-radius: 3px; }
  .bracket-showcase-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bracket-showcase-viewer { grid-row: 1; }
  .bracket-showcase-copy { grid-row: 2; }
  .home-principle-grid { gap: 20px; }
}
@media (max-width: 600px) {
  .bracket-view-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bracket-view-option label { width: 100%; }
  .cad-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cad-controls button { width: 100%; }
  .home-page .nav { min-height: 0; }
  .home-page .links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .links a { min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
  .home-page .hero h1 { max-width: 100%; font-size: clamp(2.25rem,10vw,3.2rem); }
  .home-page .home-hero-layout { gap: 22px; padding: 30px 0 38px; }
  .home-principle-grid, .home-steps { grid-template-columns: 1fr; gap: 20px; }
  .home-service-cards { grid-template-columns: minmax(0, 1fr); }
  .home-workflow { padding: 20px; }
  .home-page .actions .btn { width: 100%; }
  .preview-row { align-items: start; flex-wrap: wrap; }
  .preview-row > * { min-width: 0; overflow-wrap: anywhere; }
}

/* Motion is decorative: content remains visible and usable without animation. */
@media (prefers-reduced-motion: no-preference) {
  .home-page .btn,
  .home-page .textlink,
  .home-page .links a,
  .home-page .card,
  .home-page .home-showcase-link img,
  .home-page .home-demo-preview,
  .home-page .home-process summary {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }
  .home-page .btn:hover,
  .home-page .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px #18403a28; }
  .home-page .btn:active { transform: translateY(0); }
  .home-page .textlink:hover,
  .home-page .textlink:focus-visible { transform: translateX(3px); }
  .home-page .card:hover,
  .home-page .card:focus-within { transform: translateY(-4px); box-shadow: 0 18px 38px #18403a1c; border-color: #9fcfba; }
  .home-service-cards .card:hover,
  .home-service-cards .card:focus-within { transform: perspective(900px) translateY(-4px) rotateX(.4deg); }
  .home-page .btn:active { transform: translateY(1px) scale(.99); }
  .home-research-figure { transition: transform 220ms ease, box-shadow 220ms ease; }
  .home-research-figure:hover { transform: translateY(-3px); box-shadow: 0 24px 48px #18372c24; }
  .bracket-view-panel { transition: transform 220ms ease, box-shadow 220ms ease; }
  .bracket-view-panel:hover, .bracket-showcase-viewer:focus-within .bracket-view-panel { transform: perspective(1000px) translateY(-2px) rotateX(.15deg); box-shadow: 0 24px 52px #173a2b24; }
  .bracket-view-panel { animation: bracket-view-change 200ms ease-out both; }
  @keyframes bracket-view-change { from { transform: translateY(5px); } to { transform: translateY(0); } }
  .home-page .home-showcase-link:hover img { transform: scale(1.025); }
  .home-page .home-demo-preview:hover { transform: translateY(-3px); box-shadow: 0 30px 75px #234b3e1e; }
  .home-page .home-process summary:hover { background-color: #e9f4ee; }
  .home-research-stage { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
  .home-research-stage summary:active { transform: translateY(1px); background: #edf6f1; }
  @supports (animation-timeline: view()) {
    .home-research-stage { animation: workflow-stage-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; }
  }
  @keyframes workflow-stage-enter { from { transform: translateY(8px); } to { transform: translateY(0); } }
  @keyframes workflow-stage-open { from { transform: translateY(-4px); } to { transform: translateY(0); } }
  .home-page .home-hero-copy,
  .home-page .home-workflow { animation: tes-home-enter 500ms ease-out both; }
  .home-page .home-workflow { animation-delay: 90ms; }
  @keyframes tes-home-enter {
    from { transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @supports (animation-timeline: view()) {
    .home-service-cards .card, .home-research-figure {
      animation: home-showcase-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .home-service-cards .card:nth-child(2) { animation-range-start: entry 8%; }
    .home-service-cards .card:nth-child(3) { animation-range-start: entry 16%; }
    .home-service-cards .card:nth-child(4) { animation-range-start: entry 24%; }
    @keyframes home-showcase-enter {
      from { translate: 0 16px; }
      to { translate: 0 0; }
    }
    @keyframes home-content-enter {
      from { translate: 0 8px; }
      to { translate: 0 0; }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-service-cards .card, .home-service-cards .home-card-icon, .home-research-figure, .bracket-showcase-viewer, .bracket-view-panel, .bracket-view-option label, .home-page .btn {
    transition: none;
    animation: none;
    transform: none;
  }
  .home-research-stage, .home-research-stage > .home-stage-detail {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .home-stage-mark::after { transition: none !important; animation: none !important; }
  .home-research-region { transition: none; }
}
@media (hover: none) and (pointer: coarse) {
  .home-page .btn:active,
  .home-page .hero .btn.primary:active {
    background-color: #174d48;
    border-color: #78cdb7;
    color: #fff;
    box-shadow: inset 0 0 0 2px #78cdb7, inset 0 1px 2px #0004;
  }
  .home-page .links a:active {
    background-color: #d7ede5;
    color: #075950;
    box-shadow: inset 0 0 0 2px #08766f;
  }
}
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .home-page .btn:active,
  .home-page .links a:active { transition: none; transform: translateY(1px); }
  .home-page .btn:active { transform: translateY(1px) scale(.99); }
}
.home-page .hero .btn.is-touch-pressed,
.home-page .links a.is-touch-pressed {
  transition: none;
}
.home-page .hero .btn.is-touch-reset,
.home-page .links a.is-touch-reset {
  transition: none !important;
}
.home-page .hero .btn.is-touch-pressed {
  background-color: #174d48;
  border-color: #78cdb7;
  color: #fff;
  box-shadow: inset 0 0 0 2px #78cdb7, inset 0 1px 2px #0004;
}
.home-page .links a.is-touch-pressed {
  background-color: #d7ede5;
  color: #075950;
  box-shadow: inset 0 0 0 2px #08766f;
}
@media (prefers-reduced-motion: no-preference) {
  .home-page .hero .btn.is-touch-pressed { transform: translateY(1px) scale(.99); }
  .home-page .links a.is-touch-pressed { transform: translateY(1px); }
}

.entry-builder { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.entry-builder summary { cursor: pointer; font-weight: 700; }
.builder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 12px 0; }
.builder-grid label { display: grid; gap: 4px; }
.builder-grid input, .builder-grid select { width: 100%; min-width: 0; }
.builder-grid .checkbox-option { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.builder-grid .checkbox-option input { width: 20px; height: 20px; min-height: 20px; flex: none; accent-color: var(--accent); }

#log-report-text { overflow-wrap: anywhere; }
.bracket-report { margin-top: 22px; }
.bracket-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: bracketflow; margin: 16px 0; padding: 0; }
.bracket-flow li { position: relative; display: grid; align-content: start; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.bracket-flow li strong::before { counter-increment: bracketflow; content: counter(bracketflow) ". "; color: var(--accent); }
.bracket-flow li span { font-size: .88rem; color: var(--muted); }
.bracket-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 35%; color: var(--accent); font-weight: 700; }
.bracket-input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.bracket-fields { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 14px 0; }
#bracket-settings[hidden] { display: none; }
#bracket-table { display: block; width: 100%; min-height: 156px; box-sizing: border-box; margin-top: 8px; padding: 11px; background: #0a1520; color: var(--ink); border: 1px solid #8197aa; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.bracket-table-example { white-space: pre; overflow-x: auto; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #0a1520; }
.bracket-table-example:focus-visible { outline: 3px solid #08766f; outline-offset: 2px; }
.bracket-visual { margin: 16px 0; }
.bracket-report-output { white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9rem; }
.bracket-holes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.bracket-hole { display: grid; justify-items: start; align-content: start; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; overflow-wrap: anywhere; }
.bracket-hole.is-within { border-top: 3px solid #66c4ae; }
.bracket-hole.is-review { border-top: 3px solid #f0ae67; }
.bracket-band-track { position: relative; width: 100%; height: 14px; margin: 4px 0 0; border-radius: 99px; background: #283b4d; }
.bracket-band-range { position: absolute; left: 25%; right: 25%; top: 2px; bottom: 2px; border-radius: 99px; background: #4d9d8d; }
.bracket-band-marker { position: absolute; top: -3px; width: 4px; height: 20px; margin-left: -2px; border: 1px solid #f3f6f8; border-radius: 2px; background: #102133; }
.bracket-band-marker.is-outside { background: #f0ae67; }
.bracket-band-label { font-size: .8rem; color: var(--muted); }
.bracket-provenance { font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
.hole-mark { width: 34px; height: 34px; border: 5px solid #aab7c6; border-radius: 50%; box-shadow: inset 0 0 0 4px #172534; background: #304456; }
.bracket-hole.is-review .hole-mark { border-color: #f0ae67; }
.bracket-hole.is-within .hole-mark { border-color: #66c4ae; }
@media (max-width: 720px) { .bracket-holes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .bracket-input-grid { grid-template-columns: minmax(0, 1fr); } .bracket-holes { gap: 8px; } .bracket-hole { padding: 10px; font-size: .93rem; } }
@media (max-width: 520px) { .bracket-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; } .bracket-flow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -18px; } }
.log-report-source { color: var(--muted); font-size: .9rem; }
.log-report-entries { display: grid; gap: 10px; padding-left: 1.5rem; margin: 14px 0 0; }
.log-report-entries li { border: 1px solid #466177; border-left: 3px solid #74c8bd; border-radius: 10px; padding: 12px; line-height: 1.55; white-space: pre-wrap; }
#log-source-rows > li { line-height: 1.55; overflow-wrap: anywhere; }
#log-source-receipt { margin: 12px 0; font-size: .9rem; overflow-wrap: anywhere; }
#log-source-rows .log-source-heading { margin: 0 0 4px; font-size: 1rem; font-weight: 750; }
#log-source-rows .log-source-fields { margin: 0 0 6px; overflow-wrap: anywhere; }
#log-source-rows .log-source-flags { margin: 0 0 6px; color: var(--muted); font-weight: 650; overflow-wrap: anywhere; }
#log-source-rows .log-source-reference { display: grid; gap: 6px; margin-top: 12px; font-weight: 650; }
#log-source-rows .log-source-reference input { display: block; width: 100%; max-width: 32rem; min-width: 0; padding: 9px 11px; color: var(--ink); background: #0a1520; border: 1px solid #8197aa; border-radius: 8px; }

.beam-demo { background: radial-gradient(ellipse at 88% 10%, #173b35 0, transparent 36%), #0b1821; }
.beam-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 22px; align-items: start; margin-top: 26px; }
.beam-figure, .beam-panel { min-width: 0; border: 1px solid #315246; border-radius: 18px; background: linear-gradient(145deg, #12251f, #101b24); box-shadow: 0 20px 48px #0003; }
.beam-figure { margin: 0; overflow: hidden; padding: clamp(12px, 2vw, 24px); background: #e7f0ec; }
.beam-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.beam-mobile-key { display: none; }
.beam-deflection-curve { stroke-dasharray: 1; stroke-dashoffset: 0; }
.beam-curve-summary { margin: 10px 4px 0; padding: 10px 12px; border-left: 3px solid #b34b24; border-radius: 0 8px 8px 0; color: #29483e; background: #fff; font-size: .92rem; line-height: 1.5; }
.beam-svg-label { fill: #173b35; font-size: 22px; font-weight: 750; }
.beam-svg-small { fill: #173b35; font-size: 16px; font-weight: 700; }
.beam-figure figcaption, .beam-help, .beam-source { color: var(--muted); font-size: .9rem; }
.beam-figure figcaption { padding: 10px 4px 0; color: #355349; }
.beam-panel { padding: clamp(18px, 2.2vw, 28px); }
.beam-input-block { padding: 16px; border-radius: 12px; background: #0b151d; border: 1px solid #344b58; }
.beam-input-block .badge { margin: 0 0 6px; }
.beam-input-block label { display: block; font-weight: 750; margin-bottom: 8px; }
.beam-input-block label span { color: var(--muted); font-size: .92rem; font-weight: 500; }
.beam-input-block input[type="number"] { width: 100%; max-width: 13rem; min-width: 0; padding: 8px 12px; color: var(--ink); background: #101d28; border: 1px solid #789286; border-radius: 8px; }
.beam-input-block input[type="range"] { display: block; width: 100%; margin: 14px 0; accent-color: var(--accent); }
.beam-input-block input[aria-invalid="true"] { border-color: #ff8b75; outline-color: #ff8b75; }
.beam-help { margin: 6px 0 0; }
.beam-status { min-height: 1.5em; color: #ffd3a2; margin: 4px 0 0; font-size: .9rem; }
.beam-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.beam-results > div { min-width: 0; padding: 12px; border: 1px solid #375b4e; border-radius: 10px; background: #142821; }
.beam-results span { display: block; min-height: 2.8em; color: #c3d3cb; font-size: .79rem; line-height: 1.35; }
.beam-results strong { display: block; margin-top: 8px; font-size: clamp(.92rem, 1.35vw, 1.12rem); overflow-wrap: anywhere; }
.beam-interpretation { padding-left: 14px; border-left: 3px solid var(--accent); color: #d7e5de; }
.beam-compare { margin: 20px 0; overflow-x: auto; }
.beam-compare h3 { margin: 0 0 8px; }
.beam-compare table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-size: .86rem; }
.beam-compare th[scope="row"] { white-space: normal; overflow-wrap: anywhere; }
.beam-compare caption { text-align: left; color: var(--muted); margin-bottom: 8px; }
.beam-compare th, .beam-compare td { padding: 8px 6px; border-bottom: 1px solid #344b58; text-align: left; white-space: nowrap; }
@media (max-width: 360px) { .beam-compare th, .beam-compare td { padding-inline: 4px; font-size: .8rem; white-space: normal; } }
@media (min-width: 901px) and (min-height: 720px) {
  #beam-screening .beam-figure {
    position: sticky;
    top: clamp(24px, 10vh, 96px);
    align-self: start;
  }
}
.beam-report, .beam-boundaries { margin: 14px 0; padding: 14px; border: 1px solid #355146; border-radius: 12px; background: #0c171f; }
.beam-report summary, .beam-boundaries summary { cursor: pointer; font-weight: 750; }
.beam-report pre { max-height: 24rem; overflow: auto; padding: 14px; border-radius: 8px; color: #d8e6df; background: #061019; white-space: pre-wrap; overflow-wrap: anywhere; font: .82rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.beam-report .btn { width: 100%; }
.beam-report .btn:disabled { opacity: .58; cursor: not-allowed; }
.beam-boundaries > p, .beam-boundaries li { color: #c3d1ca; }
.beam-source { margin-top: 20px; }
.beam-source a { color: var(--accent); }
.home-page .beam-demo { color: #edf4f0; border-color: #28463e; }
.home-page .beam-demo h2, .home-page .beam-demo h3, .home-page .beam-demo label,
.home-page .beam-demo summary, .home-page .beam-demo .beam-results strong,
.home-page .beam-demo .beam-compare th, .home-page .beam-demo .beam-compare td { color: #f0f5f2; }
.home-page .beam-demo .eyebrow, .home-page .beam-demo .badge { color: #9debd4; }
.home-page .beam-demo .home-section-heading > p, .home-page .beam-demo .beam-help,
.home-page .beam-demo .beam-interpretation, .home-page .beam-demo .beam-report > p,
.home-page .beam-demo .beam-boundaries > p, .home-page .beam-demo .beam-boundaries li { color: #c8d7d0; }
.home-page .beam-demo .beam-figure { color: #23463b; background: #e7f0ec; }
.home-page .beam-demo .beam-figure figcaption { color: #355349; }
.home-page .beam-demo .beam-input-block input[type="number"] { color: #f0f5f2; background: #101d28; }
.home-page .beam-demo .beam-results span, .home-page .beam-demo .beam-compare caption,
.home-page .beam-demo .beam-source { color: #c4d3cc; }
.home-page .beam-demo .beam-report pre { color: #e4eee9; }
.home-page .beam-demo .beam-source a { color: #9debd4; }
@media (max-width: 900px) { .beam-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .beam-demo { padding-top: 62px; padding-bottom: 62px; } .beam-figure svg { margin-bottom: -10%; } .beam-figure svg text, .beam-svg-legend-line { display: none; } .beam-mobile-key { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 4px 0; color: #23463b; font-size: .875rem; line-height: 1.35; } .beam-mobile-key span { padding: 4px 8px; border-radius: 8px; background: #fff; } .beam-results { grid-template-columns: 1fr; } .beam-results span { min-height: 0; } .beam-results > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .beam-results strong { margin: 0; text-align: right; } .beam-panel { padding: 14px; } }
@media (prefers-reduced-motion: no-preference) {
  .beam-figure, .beam-panel, .beam-demo .btn { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
  .beam-figure:hover, .beam-figure:focus-within, .beam-panel:focus-within { transform: perspective(1000px) translateY(-3px) rotateX(.25deg); box-shadow: 0 26px 60px #0004; border-color: #67a48c; }
  .beam-demo .btn:hover, .beam-demo .btn:focus-visible { transform: translateY(-2px); }
  .beam-demo .btn:active { transform: translateY(1px) scale(.99); }
  @supports (animation-timeline: view()) { .beam-figure, .beam-panel { animation: home-content-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; } }
}
@media (prefers-reduced-motion: reduce) { .beam-figure, .beam-panel, .beam-demo .btn { animation: none !important; transition: none !important; transform: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) {
  .beam-deflection-curve.is-drawing { animation: beam-curve-draw 150ms ease-out both; }
  @keyframes beam-curve-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) { .beam-deflection-curve { animation: none !important; } }

/* Compact navigation keeps the full set of routes usable on phones and tablets. */
@media (max-width: 900px) {
  .skip:focus { top: 76px; }
  .nav {
    position: relative;
    z-index: 20;
    min-height: 0;
    padding: 8px 0;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .home-page .nav { min-height: 0; }
  .nav > nav.links { display: none; }
  .nav > .mobile-menu, .nav > .mobile-contact { display: block; flex: 0 0 auto; }
  .nav > .mobile-contact, .mobile-menu > summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #516c79;
    border-radius: 9px;
    color: #eef3f8;
    background: #122230;
    font: inherit;
    font-size: .9rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }
  .mobile-menu { position: relative; }
  .mobile-menu > summary { list-style: none; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu-links { display: none; }
  .mobile-menu[open] > .mobile-menu-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: min(360px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid #516c79;
    border-radius: 12px;
    background: #08111b;
    box-shadow: 0 12px 28px #0008;
  }
  .mobile-menu-links a {
    min-width: 0;
    min-height: 44px;
    padding: 6px 8px;
    font-size: .9rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .home-page .nav > .mobile-contact, .home-page .mobile-menu > summary {
    border-color: #b6ccc4;
    color: #173433;
    background: #f8faf8;
  }
  .home-page .mobile-menu[open] > .mobile-menu-links {
    border-color: #b6ccc4;
    background: #f8faf8;
    box-shadow: 0 12px 28px #1734332b;
  }
  .home-page .mobile-menu-links a { color: #314749; }
  .home-page .mobile-menu-links a:hover { color: #08766f; }
  .home-page .mobile-menu > summary:focus-visible { outline-color: #08766f; }
}
@media (max-width: 360px) {
  .nav .brand { min-width: 0; gap: 8px; }
  .nav .brand small { display: none; }
  .nav .mark { width: 34px; height: 34px; flex-basis: 34px; }
  .nav > .mobile-contact, .mobile-menu > summary { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu-links { scroll-behavior: auto; }
}
/* Interactive 3D analytical-beam view; the original SVG remains the fallback. */
.beam-3d-stage { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #e9f3ee; }
.beam-3d-stage[hidden], .beam-3d-controls[hidden], .beam-3d-hint[hidden] { display: none; }
.beam-3d-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; outline-offset: -4px; touch-action: none; }
.beam-3d-stage canvas:active { cursor: grabbing; }
.beam-3d-stage canvas:focus-visible { outline: 3px solid #08766f; }
.beam-3d-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.beam-3d-controls button { min-height: 44px; border: 1px solid #aacabe; border-radius: 10px; padding: 8px 12px; background: #fff; color: #075950; font: inherit; font-weight: 700; cursor: pointer; }
.beam-3d-controls button:focus-visible { outline: 3px solid #08766f; outline-offset: 2px; }
.beam-3d-hint { color: #405f55; font-size: .9rem; }
.beam-equations { margin-top: 18px; padding: 18px; border: 1px solid #c5ddd1; border-radius: 16px; background: #f8fcf9; color: #183c3a; }
.beam-equations-title { margin: 0 0 12px; font-weight: 800; }
.beam-equation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.beam-equation-grid > div { min-width: 0; padding: 12px; border-radius: 10px; background: #e5f2ea; }
.beam-equation-grid span, .beam-equation-grid strong, .beam-equation-grid small { display: block; }
.beam-equation-grid span { color: #315a4e; font-size: .8rem; }
.beam-equation-grid strong { margin: 7px 0; font-size: 1rem; overflow-wrap: anywhere; }
.beam-equation-grid small { color: #315a4e; line-height: 1.45; }
.beam-equations > p:last-child { margin: 12px 0 0; color: #405f55; font-size: .85rem; line-height: 1.5; }
@media (max-width: 760px) { .beam-equation-grid { grid-template-columns: 1fr; } }
.hero-airflow { margin-top: 14px; }
.hero-airflow-title { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; color: #163f40; font-size: .9rem; }
.hero-airflow-title span { font-size: .8rem; }
.airflow-study { display: block; width: 100%; height: auto; margin-top: 7px; border-radius: 8px; }
.hero-airflow p { margin: 5px 0 0; color: #385d5b; font-size: .78rem; line-height: 1.35; }

.research-twin-note { margin: 18px 0 26px; padding: 16px 20px; border-left: 3px solid #08766f; background: #edf5ef; color: #183e39; }
.research-twin-note p { margin: 6px 0 0; }

/* Homepage feature pair and the wider solutions gallery. */
.hero-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px; border: 1px solid #ffffff45; border-radius: 22px; background: #fafff9f5; color: #173b38; box-shadow: 0 24px 75px #06181670; }
.hero-featured-label { grid-column: 1 / -1; display: flex; justify-content: space-between; margin: 0 2px 2px; color: #17665d; font-size: .73rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-featured-label span { color: #526b63; }
.hero-feature { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d5e4dc; border-radius: 12px; background: #fff; color: #173b38; text-decoration: none; }
.hero-feature:focus-visible, .capability-links a:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
.hero-feature:hover { border-color: #08766f; }
.hero-feature-image { display: block; background: #e4ebe7; }
.hero-feature-image img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.hero-feature-cfd .hero-feature-image img { object-fit: contain; background: #fff; }
.hero-feature-copy { display: flex; flex: 1; justify-content: space-between; gap: 8px; padding: 13px; }
.hero-feature-copy small, .hero-feature-copy strong, .hero-feature-copy em { display: block; }
.hero-feature-copy small { margin-bottom: 5px; color: #17665d; font-size: .68rem; font-weight: 800; letter-spacing: .07em; }
.hero-feature-copy strong { font-size: .95rem; line-height: 1.3; }
.hero-feature-copy em { margin-top: 5px; color: #526b63; font-size: .78rem; font-style: normal; line-height: 1.4; }
.hero-feature-copy b { color: #08766f; }
.hero-feature-note { grid-column: 1 / -1; margin: 0 2px; color: #526b63; font-size: .78rem; line-height: 1.4; }
.capability-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 32px 0 20px; }
.capability-links a { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 112px; padding: 16px; border: 1px solid #d1e4d9; border-radius: 12px; background: #fff; color: #173b38; font-weight: 750; text-decoration: none; line-height: 1.3; }
.capability-links a:hover { border-color: #08766f; }
.capability-links span { color: #08766f; font-size: .8rem; font-weight: 650; }
.home-scope-note { color: #526967; max-width: 850px; }
.solutions-intro { padding: 76px 0 68px; background: #e8f3ed; }
.solutions-intro h1 { max-width: 850px; margin: .5rem 0 1rem; font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.04; letter-spacing: -.05em; }
.solutions-intro .lead { max-width: 720px; color: #405f55; font-size: 1.15rem; }
.solutions-intro .btn { margin-top: 14px; }
.service-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 50px); }
.service-intro-visual { margin: 0; overflow: hidden; border: 1px solid #c7ddd2; border-radius: 18px; background: #fff; }
.service-intro-visual img { display: block; width: 100%; height: auto; max-height: 330px; object-fit: contain; }
.service-intro-visual figcaption { padding: 10px 14px; color: #405f55; font-size: .85rem; line-height: 1.4; }
.service-guide .solution-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-guide .solution-card + .solution-card { margin-top: 18px; }
@media (max-width: 700px) { .service-intro-grid { grid-template-columns: minmax(0, 1fr); } }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.solution-card { overflow: hidden; border: 1px solid #d1e4d9; border-radius: 16px; background: #fff; }
.solution-card-cfd { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.solution-visual { display: grid; place-items: center; background: #fff; }
.solution-visual img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.solution-copy { padding: 24px; }
.solution-copy h3 { margin: .3rem 0 .7rem; font-size: 1.3rem; line-height: 1.25; }
.solution-copy p { color: #405f55; }
.solution-copy .badge { color: #17665d; font-weight: 750; }
.solution-copy .solution-boundary { padding-left: 12px; border-left: 3px solid #9ac7b6; font-size: .9rem; }
.solution-number { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 24px; background: #153b3d; color: #a2ebd5; font-weight: 800; }
.solution-number span { color: #d3e8e1; font-size: .68rem; letter-spacing: .12em; }
.solutions-page .fea-demo { scroll-margin-top: 20px; }
@media (max-width: 900px) {
  .hero-featured { max-width: 620px; }
  .capability-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero-featured { padding: 12px; gap: 8px; }
  .hero-feature-copy { padding: 10px; }
  .capability-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions-grid, .solution-card-cfd { grid-template-columns: minmax(0, 1fr); }
  .solution-card-cfd { grid-column: auto; }
  .solutions-page .solutions-gallery .solutions-grid { gap: 10px; }
  .solutions-page .solutions-gallery .solution-copy { padding: 18px 20px; }
  .solutions-page .solutions-gallery .solution-number { padding: 12px 20px; }
  .solutions-intro { padding: 56px 0; }
}
.hero-feature-image { aspect-ratio: 1.35; overflow: hidden; }
.hero-feature-image img { height: 100%; }
.solutions-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.solutions-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; border: 1px solid #bad6c8; border-radius: 999px; background: #fff; color: #075950; font-size: .86rem; font-weight: 700; text-decoration: none; }
.solutions-index a:hover { border-color: #08766f; background: #e8f4ed; }
.solutions-index a:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }

@media (max-width: 600px) { .hero-featured { grid-template-columns: minmax(0, 1fr); } .solutions-page:not(.service-guide) .solutions-intro { padding: 28px 0; } .solutions-page:not(.service-guide) .solutions-intro h1 { font-size: clamp(2rem, 8vw, 2.65rem); } }

/* Illustrated overview of the founder’s engineering background. */
.experience-map { background: #edf5ef; }
.experience-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.experience-map-heading h2 { margin: 8px 0 0; }
.experience-map-heading > p { max-width: 410px; margin: 0; color: #405f55; }
.experience-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.experience-tile { min-width: 0; overflow: hidden; border: 1px solid #cfdfd6; border-radius: 16px; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.experience-tile:hover { transform: translateY(-3px); box-shadow: 0 15px 30px #153b3d1a; }
.experience-art { position: relative; overflow: hidden; height: 145px; background: radial-gradient(ellipse at 75% 25%, #205e58 0, #103b3b 48%, #102d32 100%); }
.experience-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, transparent 35%, #b1fff012 50%, transparent 65%); transform: translateX(-80%); transition: transform .7s ease; }
.experience-tile:hover .experience-art::after { transform: translateX(80%); }
.experience-art svg { display: block; width: 100%; height: 100%; }
.art-grid { stroke: #b5f4df; stroke-opacity: .1; stroke-width: .6; }
.art-main { stroke: #9ce6d3; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.art-soft { fill: #74cdb6; fill-opacity: .16; stroke: #8cddc8; stroke-width: 1.2; }
.art-dot { fill: #a8f4dc; stroke: #dafcf0; stroke-width: 1; }
.art-flow { stroke: #f0b77c; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 5 4; animation: experience-flow 9s linear infinite; }
@keyframes experience-flow { to { stroke-dashoffset: -36; } }
.experience-tile-copy { padding: 18px 20px 20px; }
.experience-tile-copy span { color: #17665d; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.experience-tile-copy h3 { margin: 7px 0; color: #153b3d; font-size: 1.15rem; line-height: 1.25; }
.experience-tile-copy p { margin: 0; color: #405f55; font-size: .92rem; line-height: 1.45; }
.experience-note { margin: 16px 0 0; color: #405f55; font-size: .82rem; }
@media (max-width: 850px) { .experience-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .experience-map-heading { display: block; } .experience-map-heading > p { margin-top: 12px; } .experience-map-grid { gap: 10px; } .experience-art { height: 108px; } .experience-tile-copy { padding: 14px; } .experience-tile-copy h3 { font-size: 1rem; } .experience-tile-copy p { font-size: .86rem; } }
@media (max-width: 340px) { .experience-map-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .experience-tile, .experience-art::after { transition: none; } .experience-tile:hover { transform: none; } .art-flow { animation: none; } }

.experience-map-toggle, .experience-map-toggle-label { display: none; }
@supports selector(.experience-map-grid:has(+ .experience-map-toggle:not(:checked))) {
  @media (max-width: 600px) {
    .experience-map-toggle { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
    .experience-map-toggle-label { display: flex; width: fit-content; max-width: 100%; min-height: 44px; align-items: center; justify-content: center; margin: 14px auto 0; padding: 9px 14px; border: 1px solid #bad6c8; border-radius: 9px; background: #fff; color: #075950; font-weight: 750; line-height: 1.35; text-align: center; cursor: pointer; }
    .experience-map-toggle-label:focus-visible, .experience-map-toggle:focus-visible + .experience-map-toggle-label { outline: 3px solid #08766f; outline-offset: 3px; }
    .experience-map-toggle-fewer { display: none; }
    .experience-map-toggle:checked + .experience-map-toggle-label .experience-map-toggle-more { display: none; }
    .experience-map-toggle:checked + .experience-map-toggle-label .experience-map-toggle-fewer { display: inline; }
    .experience-map-grid:has(+ .experience-map-toggle:not(:checked)) > .experience-tile:nth-child(n + 3) { display: none; }
  }
}

.selected-research { background: #f6faf7; }
.home-page .home-research-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 68px); }
.home-research-feature-copy h2 { line-height: 1.25; }
.home-heading-highlight { padding: .02em .12em; background: #b4e9d8; color: #092e2a; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.home-page .experience-map-heading h2 { line-height: 1.25; }
.home-page #experience-map-title { line-height: 1.45; }
.home-research-feature-figure { margin: 0; overflow: hidden; border: 1px solid #cfe0d6; border-radius: 14px; background: #fff; }
.home-research-feature-figure img { display: block; width: 100%; height: auto; }
.home-research-feature-figure figcaption { padding: 10px 14px; color: #3c6259; font-size: .8rem; font-weight: 700; }
@media (max-width: 760px) { .home-page .home-research-feature { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.research-publication-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.research-publication { padding: clamp(22px, 3vw, 30px); border: 1px solid #cfe0d6; border-radius: 16px; background: #fff; }
.research-publication .publication-type { margin: 0 0 12px; color: #17665d; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.research-publication h3 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.25; }
.research-publication p:not(.publication-type) { color: #405f55; }
.about-page #technical-work .experience-map-heading { display: block; }
.about-page #technical-work .experience-map-heading > p { max-width: none; margin-top: 10px; }
.about-page #technical-work .research-publication { box-shadow: inset 4px 0 #68cbb3; }
.about-page .founder-layout { grid-template-columns: minmax(180px, 204px) minmax(0, 1fr); gap: clamp(24px, 3vw, 36px); }
.about-page .founder-photo img { filter: saturate(.92) brightness(.98); }
.about-toolkit { margin-top: 14px; padding: clamp(22px, 3vw, 30px); border: 1px solid #cfe0d6; border-radius: 16px; background: #edf5ef; }
.about-toolkit .eyebrow { margin: 0 0 8px; }
.about-toolkit h3 { margin: 0 0 18px; font-size: 1.3rem; }
.about-tool-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-tool-groups h4 { margin: 0 0 10px; color: #164c46; font-size: 1rem; }
.about-tool-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.about-tool-tags li { padding: 4px 9px; border: 1px solid #c6ded3; border-radius: 7px; background: #ffffffa6; color: #284e47; font-size: .88rem; line-height: 1.4; }
.about-visual-sources { margin-top: 18px; color: #405f55; font-size: .9rem; line-height: 1.6; }
.about-visual-sources summary { display: flex; align-items: center; min-height: 44px; width: fit-content; color: #075950; font-weight: 700; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.about-visual-sources summary:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
.about-visual-sources p { max-width: 80ch; }
@media (max-width: 600px) { .about-tool-groups { grid-template-columns: 1fr; gap: 16px; } .about-page .founder-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .research-publication-grid { grid-template-columns: 1fr; } }

/* Single generated contact sheet, displayed as six separate conceptual images. */
.experience-art { background-image: url('/assets/engineering-experience-ai-20261115.png'); background-size: 300% auto; background-repeat: no-repeat; }
.experience-art svg { display: none; }
.experience-tile:nth-child(1) .experience-art { background-position: 0% 16%; }
.experience-tile:nth-child(2) .experience-art { background-position: 50% 16%; }
.experience-tile:nth-child(3) .experience-art { background-position: 100% 16%; }
.experience-tile:nth-child(4) .experience-art { background-position: 0% 84%; }
.experience-tile:nth-child(5) .experience-art { background-position: 50% 84%; }
.experience-tile:nth-child(6) .experience-art { background-position: 100% 84%; }

/* Conceptual simulation imagery, not computed results. */
.experience-tile:nth-child(4) .experience-art,
.experience-tile:nth-child(5) .experience-art { background-image: url('/assets/fea-cfd-ai-20261115.png'); background-size: auto 200%; }
.experience-tile:nth-child(4) .experience-art { background-position: center top; }
.experience-tile:nth-child(5) .experience-art { background-position: center bottom; }

/* Show each generated image in full within its own natural aspect ratio. */
.experience-art { display: grid; place-items: center; height: clamp(190px, 23vw, 245px); }
.experience-art::before { content: ''; position: absolute; inset: 0; background: #092c32a8; backdrop-filter: blur(16px); }
.experience-sprite { position: relative; z-index: 1; display: block; height: 100%; max-width: 100%; aspect-ratio: 1; background-image: url('/assets/engineering-experience-ai-20261115.png'); background-repeat: no-repeat; background-size: 300% 200%; box-shadow: 0 6px 30px #001d2199; }
.experience-tile:nth-child(1) .experience-sprite { background-position: 0% 0%; }
.experience-tile:nth-child(2) .experience-sprite { background-position: 50% 0%; }
.experience-tile:nth-child(3) .experience-sprite { background-position: 100% 0%; }
.experience-tile:nth-child(6) .experience-sprite { background-position: 100% 100%; }
.experience-tile:nth-child(4) .experience-sprite, .experience-tile:nth-child(5) .experience-sprite { width: 100%; height: auto; aspect-ratio: 3344 / 941; background-image: url('/assets/fea-cfd-ai-20261115.png'); background-size: 100% 200%; }
.experience-tile:nth-child(4) .experience-sprite { background-position: center top; }
.experience-tile:nth-child(5) .experience-sprite { background-position: center bottom; }
@media (max-width: 600px) { .experience-art { height: clamp(145px, 41vw, 200px); } }

/* Give square photos and wide simulation views the space their proportions need. */
.experience-map-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.experience-art { height: auto; aspect-ratio: 1; }
.experience-art::before { display: none; }
.experience-sprite { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; box-shadow: none; }
.experience-tile:nth-child(1) .experience-sprite { background-image: url('/assets/engineering-experience-ai-20261115.png'); background-size: 300% 200%; background-position: 0% 0%; }
.experience-tile:nth-child(2) .experience-sprite { background-image: url('/assets/engineering-experience-ai-20261115.png'); background-size: 300% 200%; background-position: 50% 0%; }
.experience-tile:nth-child(3) .experience-sprite { background-image: url('/assets/engineering-experience-ai-20261115.png'); background-size: 300% 200%; background-position: 100% 0%; }
.experience-tile:nth-child(4) .experience-sprite { background-image: url('/assets/engineering-experience-ai-20261115.png'); background-size: 300% 200%; background-position: 100% 100%; }
.experience-tile:nth-child(5), .experience-tile:nth-child(6) { grid-column: span 2; }
.experience-tile:nth-child(5) .experience-art, .experience-tile:nth-child(6) .experience-art { aspect-ratio: 3344 / 941; }
.experience-tile:nth-child(5) .experience-sprite, .experience-tile:nth-child(6) .experience-sprite { width: 100%; height: 100%; aspect-ratio: auto; background-image: url('/assets/fea-cfd-ai-20261115.png'); background-size: 100% 200%; }
.experience-tile:nth-child(5) .experience-sprite { background-position: center top; }
.experience-tile:nth-child(6) .experience-sprite { background-position: center bottom; }
.experience-tile:nth-child(6) .experience-sprite { filter: saturate(.82); }
@media (max-width: 850px) { .experience-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .experience-art { height: auto; } }
@media (max-width: 340px) { .experience-map-grid { grid-template-columns: 1fr; } .experience-tile:nth-child(5), .experience-tile:nth-child(6) { grid-column: auto; } }

/* Reset the fourth card after the original wide-image positioning rules. */
.experience-tile:nth-child(4) .experience-sprite { width: 100%; height: 100%; aspect-ratio: auto; }

/* Keep three research links readable on both desktop and smaller screens. */
.research-publication-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* A larger feature using the actual public digital-twin view. */
.hero-twin-feature { display: block; }
.hero-twin-feature .hero-featured-label { margin: 0 2px 14px; }
.hero-twin-image { display: block; overflow: hidden; border: 1px solid #d1e3d9; border-radius: 13px; background: #f4f8fa; }
.hero-twin-image img { display: block; width: 100%; height: auto; }
.hero-twin-image:focus-visible, .hero-twin-links a:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
.hero-twin-copy { padding: 18px 3px 12px; }
.hero-twin-kicker { margin: 0 0 6px; color: #17665d; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.home-page .hero .hero-twin-copy h2 { margin: 0; color: #173b38; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.home-page .hero .hero-twin-copy > p:not(.hero-twin-kicker) { margin: 8px 0 0; color: #405f55; font-size: .92rem; line-height: 1.4; }
.hero-twin-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 13px; }
.hero-twin-links a { color: #08766f; font-size: .9rem; font-weight: 750; text-decoration: none; }
.hero-twin-links a:hover { text-decoration: underline; }
@media (min-width: 901px) { .home-page .home-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); } }
@media (max-width: 600px) { .hero-twin-copy { padding-top: 14px; } .hero-twin-links { gap: 9px 18px; } }

/* Broad engineering showcase; the artwork is conceptual, not an analysis result. */
.hero-engineering-feature { display: block; }
.hero-engineering-feature .hero-featured-label { margin: 0 2px 14px; }
.hero-screen-heading { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 13px 13px 0 0; background: #102c31; color: #ccebe2; font-size: .72rem; font-weight: 750; letter-spacing: .04em; }
.hero-screen-heading span:last-child { color: #98c5b9; font-weight: 500; }
.hero-engineering-image { position: relative; overflow: hidden; aspect-ratio: 795 / 438; background: #09181c; }
.hero-engineering-image img { position: absolute; top: -17.6%; left: -20.75%; display: block; width: 120.76%; height: 123.3%; max-width: none; filter: brightness(1.08) contrast(1.04); }
.hero-engineering-metrics { padding: 11px 14px 12px; background: #102c31; border-top: 1px solid #31514f; color: #e0f4ee; }
.hero-engineering-metrics p { margin: 0 0 8px; color: #a4cfc2; font-size: .65rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.hero-engineering-metrics dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hero-engineering-metrics dt { color: #b4d1ca; font-size: .69rem; line-height: 1.3; }
.hero-engineering-metrics dd { margin: 3px 0 0; color: #f1fff9; font-size: clamp(.73rem, 1vw, .85rem); font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; }
.hero-engineering-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 3px 8px 3px 12px; border-radius: 0 0 13px 13px; background: #102c31; }
.hero-engineering-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, #a9fff72c 49%, transparent 63%); transform: translateX(-100%); animation: engineering-sheen 9s ease-in-out infinite; }
.hero-engineering-disclosure { color: #e0f4ee; font-size: .75rem; font-weight: 650; line-height: 1.35; }
@keyframes engineering-sheen { 0%, 18% { transform: translateX(-100%); } 52%, 100% { transform: translateX(100%); } }
.hero-engineering-copy { padding: 18px 3px 13px; }
.hero-engineering-tags { margin: 0 0 7px; color: #17665d; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.home-page .hero .hero-engineering-copy h2 { margin: 0 0 10px; color: #173b38; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.hero-engineering-copy a { color: #08766f; font-size: .9rem; font-weight: 750; text-decoration: none; }
.hero-engineering-copy a:hover { text-decoration: underline; }
.hero-engineering-copy a:focus-visible { outline: 3px solid #08766f; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hero-engineering-sheen { animation: none; display: none; } }

/* Real reference material displayed on a monitor, distinct from conceptual imagery. */
.experience-tile .experience-art.experience-real-screen { background: radial-gradient(ellipse at 50% 25%, #315451, #122b30 75%); padding: 10%; }
.experience-monitor { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.38; overflow: hidden; border: 6px solid #18282c; border-radius: 7px; background: #172b30; box-shadow: 0 15px 28px #00161780; }
.monitor-bar { height: 19px; padding: 4px 7px; background: #264144; color: #c3e4d9; font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.monitor-bar span { float: right; color: #72c7b2; }
.monitor-screen { height: calc(100% - 19px); overflow: hidden; }
.monitor-mbse { display: grid; place-items: center; background: #fff; }
.monitor-mbse img { width: 100%; height: 100%; object-fit: contain; }
.monitor-code { background: #10262b; padding: 8px 6px; color: #d4e9de; }
.monitor-code pre { margin: 0; color: inherit; white-space: pre; font: clamp(6px, .65vw, 9px)/1.6 Consolas, monospace; }
.monitor-code pre span { color: #6fdec0; }
.experience-source { margin: 10px 0 0; font-size: .75rem !important; }
.experience-source a { color: #17665d; }
.hero-motion-toggle { min-height: 44px; flex: 0 0 auto; padding: 6px 12px; border: 1px solid #badad2; border-radius: 7px; background: #071d23ed; color: #fff; font: inherit; font-size: .75rem; cursor: pointer; }
.hero-motion-toggle:focus-visible { outline: 3px solid #7ee0ca; outline-offset: 2px; }
@media (max-width: 600px) {
  .hero-engineering-image { aspect-ratio: 4 / 3; }
  .hero-engineering-image img { left: -40%; width: auto; }
  .experience-tile:nth-child(3), .experience-tile:nth-child(4) { grid-column: span 2; }
  .experience-tile:nth-child(3) .experience-art, .experience-tile:nth-child(4) .experience-art { aspect-ratio: 16 / 9; padding: 6% 16%; }
  .monitor-code pre { font-size: clamp(7px, 2vw, 10px); }
}
@media (max-width: 340px) { .experience-tile:nth-child(3), .experience-tile:nth-child(4) { grid-column: auto; } }

/* Native project figures are shown in full so the plotted geometry and labels remain visible. */
.experience-art.experience-project-art { display: block; background: #071b1e; }
.experience-project-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.experience-project-art:focus-visible { outline: 3px solid #08766f; outline-offset: -3px; }
@media (max-width: 600px) { .experience-tile:nth-child(1), .experience-tile:nth-child(2) { grid-column: span 2; } }
@media (max-width: 340px) { .experience-tile:nth-child(1), .experience-tile:nth-child(2) { grid-column: auto; } }
.about-page .hero { min-height: 0; padding: 88px 0; }
@media (max-width: 600px) { .about-page .hero { padding: 64px 0; } }

/* Give each project enough room to read without cropping its source figure. */
@media (min-width: 851px) {
  .experience-tile:nth-child(1), .experience-tile:nth-child(2),
  .experience-tile:nth-child(3), .experience-tile:nth-child(4) { grid-column: span 2; }
  .experience-tile:nth-child(1) .experience-art, .experience-tile:nth-child(2) .experience-art { aspect-ratio: 16 / 10; }
  .experience-tile:nth-child(3) .experience-art, .experience-tile:nth-child(4) .experience-art { aspect-ratio: 16 / 9; padding: 6% 16%; }
}

/* The new figures are authored at the same proportions as their card. */
.experience-art.experience-project-art { aspect-ratio: 8 / 5; }
@media (max-width: 600px) { .experience-art.experience-project-art { aspect-ratio: 4 / 3; } }

/* A shared simulation workspace frames the real systems diagram and source excerpt. */
.experience-tile .experience-art.experience-real-screen {
  background-color: #0b272a;
  background-image: linear-gradient(#7ad6c00b 1px, transparent 1px), linear-gradient(90deg, #7ad6c00b 1px, transparent 1px), radial-gradient(ellipse at 50% 0%, #24504b, #092226 78%);
  background-size: 32px 32px, 32px 32px, auto;
  padding: 6%;
}
.experience-monitor { aspect-ratio: 1.85; border: 4px solid #203b3b; border-radius: 6px; }
.monitor-bar { height: 26px; padding: 7px 10px; font-size: clamp(7px, .7vw, 10px); letter-spacing: .08em; }
.monitor-bar .monitor-title { float: none; color: #e1f4ed; }
.monitor-screen { height: calc(100% - 26px); }
.monitor-mbse img { object-fit: contain; }
.monitor-code { padding: 3% 5%; }
.monitor-code-label { margin: 0 0 2%; color: #87cbb7; font: 700 clamp(7px, .7vw, 10px)/1.2 Arial, sans-serif; letter-spacing: .1em; }
.monitor-code pre { font-size: clamp(8px, .9vw, 13px); line-height: 1.45; }
.monitor-steps { display: flex; gap: 7px; margin-top: 3%; }
.monitor-steps span { padding: 4px 6px; border: 1px solid #36635b; border-radius: 3px; color: #a6ddcb; font: 700 clamp(6px, .65vw, 9px)/1 Arial, sans-serif; letter-spacing: .06em; }
@media (max-width: 600px) {
  .experience-tile:nth-child(3) .experience-art.experience-real-screen,
  .experience-tile:nth-child(4) .experience-art.experience-real-screen { padding: 6%; }
  .monitor-code pre { font-size: clamp(8px, 2.2vw, 12px); }
}

/* A portrait composition keeps the actual aircraft response legible on phones. */
.experience-project-art picture { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .experience-art.experience-project-art { aspect-ratio: 8 / 5; }
  .experience-art.aircraft-project-art { aspect-ratio: 25 / 32; }
}

/* Increase code readability while retaining the attributed diagram in full. */
.monitor-mbse img { filter: brightness(.85) contrast(1.04) saturate(.88); }
.monitor-code pre { font-size: clamp(10px, 1.05vw, 15px); line-height: 1.45; }
.monitor-code { box-shadow: inset 0 0 24px #65c7af12; }
@media (max-width: 600px) { .monitor-code pre { font-size: clamp(9px, 2.5vw, 12px); } }

/* Give the real code excerpt enough vertical room on narrow screens. */
@media (max-width: 600px) {
  .experience-tile:nth-child(4) .experience-art.experience-real-screen { aspect-ratio: 4 / 3; }
  .experience-tile:nth-child(4) .experience-monitor { aspect-ratio: 1.45; }
}

/* Fit the full research frame and keep project motion controls separate from links. */
.hero-engineering-image { aspect-ratio: 16 / 9; }
.hero-engineering-image img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.hero-engineering-image video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.2); }
.hero-engineering-disclosure { color: #d9f4eb; }
.hero-engineering-disclosure a { color: #d9f4eb; text-decoration: underline; text-underline-offset: 2px; }
.project-motion-frame, .project-motion-frame .experience-project-art { position: relative; }
.project-motion-canvas { position: absolute; z-index: 2; pointer-events: none; }
.project-motion-canvas[hidden], .project-motion-dot[hidden], .project-motion-toggle[hidden] { display: none; }
.robot-motion-canvas { left: 2.5%; top: 26%; width: 52%; height: 54%; }
.aircraft-motion-canvas { left: 2.5%; top: 27%; width: 55%; height: 50%; }
.project-motion-dot { position: absolute; z-index: 3; width: 9px; height: 9px; transform: translate(-50%, -50%); border-radius: 50%; background: white; box-shadow: 0 0 8px #8affdf; pointer-events: none; }
.project-motion-toggle { position: absolute; top: 8px; right: 8px; z-index: 4; min-height: 44px; padding: 6px 12px; border: 1px solid #bbdfd5; border-radius: 7px; background: #102c31; color: white; cursor: pointer; }
#workflow-motion .project-motion-toggle { top: 8px; }
.project-motion-toggle:focus-visible { outline: 3px solid #7ee0ca; outline-offset: 2px; }
@keyframes workflow-step { 0%, 55%, 100% { background: transparent; color: #a6ddcb; } 12%, 35% { background: #80e2c8; color: #102c31; } }
.motion-ready .monitor-steps span { animation: workflow-step 6s steps(1, end) infinite; }
.motion-ready .monitor-steps span:nth-child(2) { animation-delay: 2s; }
.motion-ready .monitor-steps span:nth-child(3) { animation-delay: 4s; }
.motion-paused .monitor-steps span { animation-play-state: paused; }
@media (max-width: 600px) {
  .hero-engineering-image { aspect-ratio: 16 / 9; }
  .hero-engineering-image img { left: 0; width: 100%; }
  .robot-motion-canvas { left: 4%; top: 18%; width: 92%; height: 30%; }
  .aircraft-motion-canvas { left: 5%; top: 15%; width: 90%; height: 31%; }
  .project-motion-toggle { top: 42px; }
}
@media (prefers-reduced-motion: reduce) { .motion-ready .monitor-steps span { animation: none; } }

/* Stack the arm study and joint-angle plot on phones. */
@media (max-width: 600px) { .experience-art.robotics-project-art { aspect-ratio: 20 / 29; } }

/* Keep highlighted heading lines comfortably separated when they wrap. */
.solutions-intro h1, .about-page .hero h1, .headline h1 { line-height: 1.2; }

/* Tighten the capabilities intro while keeping its heading easy to scan. */
.solutions-page:not(.service-guide) .solutions-intro { padding-block: 52px 46px; }
@media (max-width: 600px) {
  .solutions-page:not(.service-guide) .solutions-intro { padding-block: 24px 18px; }
  .solutions-page:not(.service-guide) .solutions-intro h1 { max-width: 13ch; font-size: clamp(2.1rem, 7.7vw, 2.55rem); line-height: 1.12; text-wrap: balance; }
}

@media (max-width: 600px) {
  .home-page .section { padding-block: 26px; }
  .experience-map-grid { gap: 8px; }
  .experience-tile-copy { padding: 11px 12px; }
  .research-publication-grid { gap: 10px; }
  .research-publication { padding: 16px; }
  .founder-photo { width: min(100%, 200px); }
  .research-publication .publication-type { display: inline-block; margin-bottom: 8px; padding: 4px 7px; border-radius: 6px; background: #e8f3ed; letter-spacing: .06em; }
  .research-publication h3 { margin-bottom: 7px; font-size: 1.15rem; }
  .research-publication p:not(.publication-type) { margin: 8px 0; line-height: 1.45; }
  .home-research-grid { gap: 16px; margin-top: 16px; }
  .home-research-stages { gap: 7px; margin: 10px 0 14px; }
  .home-research-stage summary { grid-template-columns: 30px minmax(0, 1fr) 22px; gap: 8px; min-height: 60px; padding: 8px 10px; }
  .home-stage-number { width: 28px; height: 28px; }
  .home-stage-detail { padding-left: 48px; }
  .home-research-figure figcaption { padding: 8px 12px; }
  .home-research-copy .home-research-artifact-note { padding: 10px 12px; }
  .service-guide .solution-card-cfd { width: calc(100% + 32px); margin-inline: -16px; overflow: visible; border-radius: 0; }
  .service-guide .solution-card-cfd .solution-visual { overflow: hidden; }
}

.solar-sweep { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #cfe0d6; }
.solar-sweep summary { cursor: pointer; font-size: 1.25rem; font-weight: 700; }
.solar-sweep p { max-width: 65ch; }
.solar-sweep figure { max-width: 58rem; }

.founder-opening{background:linear-gradient(110deg,#092227,#103839);color:white;padding:clamp(32px,6vw,84px) 0}
.founder-opening .founder-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,265px);gap:clamp(28px,6vw,84px);align-items:center}
.founder-opening .eyebrow{color:#9debd8;margin:0 0 18px}
.founder-opening h1{color:white;font-size:clamp(48px,5.6vw,84px);line-height:1.08;letter-spacing:-.055em;margin:0 0 22px}
.founder-opening .name-band{background:linear-gradient(transparent 78%,#457d74 78%,#457d74 94%,transparent 94%);white-space:nowrap}
.founder-opening .intro{max-width:50ch;color:#e0efed;font-size:clamp(18px,1.6vw,22px);line-height:1.55;margin:0}
.founder-opening .founder-photo{width:100%;height:auto;display:block;border-radius:12px}

@media(max-width:680px){.founder-opening .founder-layout{grid-template-columns:1fr;gap:22px}.founder-opening .founder-photo{width:min(54%,205px)}.founder-opening h1{font-size:clamp(39px,10vw,54px)}.founder-opening .eyebrow{margin-bottom:12px}}

