@font-face {
  font-family: Geist;
  src: url("assets/Geist-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #162f32;
  --teal: #096b61;
  --slate: #435c5d;
  --signal: #258f87;
  --line: #ccd8d1;
  --paper: #fbfcf9;
  --gutter: clamp(18px, 5.7vw, 88px);
  --masthead-height: 84px;
  font-family: Geist, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--masthead-height) + 12px); }
body { margin: 0; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
h1, h2, h3, p, figure, ul { margin: 0; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; z-index: 20; inset: 0 auto auto 0; padding: .6rem 1rem; background: white; transform: translateY(-115%); }
.skip:focus { transform: none; }
.masthead { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 3.5rem; height: 3.5rem; margin: -.5rem; flex: none; }
.brand-type { display: grid; gap: .16rem; }
.brand-name { font-size: clamp(1.28rem, 2vw, 1.78rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.16; white-space: nowrap; }
.brand-tagline { color: var(--slate); font-size: .85rem; line-height: 1.34; }
.masthead nav { display: flex; gap: clamp(.55rem, 1.55vw, 1.65rem); align-items: center; }
.masthead nav a { border-bottom: 2px solid transparent; font-size: .94rem; font-weight: 550; white-space: nowrap; padding: .55rem .15rem .42rem; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--teal); border-color: var(--teal); }
.hero { background: linear-gradient(110deg, #fbfcf9 10%, #f4f8f4 100%); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(18px, 3vw, 55px); padding-block: clamp(38px, 5vw, 72px); }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(2.4rem, 4.9vw, 4.5rem); line-height: 1.07; letter-spacing: -.063em; font-weight: 530; }
h1 span { display: block; }
h1 span:first-child { color: var(--teal); }
.hero-description { font-size: clamp(1.04rem, 1.35vw, 1.22rem); max-width: 43ch; color: var(--slate); line-height: 1.6; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.4rem; margin-top: 1.65rem; }
.primary-action { background: #105e55; color: white; border-radius: 4px; padding: .76rem 1.1rem; font-size: .97rem; font-weight: 600; }
.primary-action:hover { background: #09473e; }
.text-action { font-weight: 600; font-size: .96rem; padding-block: .18rem; border-bottom: 1px solid #7d9f96; }
.text-action:hover { color: var(--teal); }
.hero-art { min-width: 0; }
.hero-paper { isolation: isolate; mix-blend-mode: multiply; }
.hero-sketch { display: block; width: 100%; height: auto; max-height: 455px; object-fit: contain; mix-blend-mode: multiply; }
.hero-art figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem .8rem; margin-top: .85rem; border-top: 1px solid var(--line); padding-top: .67rem; color: #284b47; font-size: .92rem; font-weight: 550; }
.hero-art figcaption small, .gallery-caption { color: #4d6861; font: 500 .8rem/1.5 ui-monospace, Consolas, monospace; }
.page-section { padding-block: clamp(38px, 4.6vw, 64px); }
h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.07; letter-spacing: -.06em; font-weight: 520; }
h3 { font-size: clamp(1.25rem, 1.65vw, 1.65rem); line-height: 1.22; letter-spacing: -.036em; font-weight: 600; }
.section-intro { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 1rem clamp(1.4rem, 7vw, 7rem); }
.section-intro p, .product > p, .team-grid article > p:last-child, .dialog-copy p { color: var(--slate); line-height: 1.5; font-size: 1rem; }
.section-intro p { max-width: 50ch; }
.disciplines, .gallery, .team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.1rem, 2.6vw, 2.5rem); margin-top: clamp(22px, 2.2vw, 32px); }
.disciplines article, .team-grid article { border-top: 1px solid #a8beb3; }
.expert-art { display: block; margin-block: .65rem 1.15rem; width: 100%; height: clamp(125px, 13vw, 195px); object-fit: contain; mix-blend-mode: multiply; }
.disciplines ul { list-style: disc; padding-left: 1.12rem; margin-block: 1rem 0; }
.disciplines li { padding-left: .16rem; color: var(--slate); font-size: 1rem; line-height: 1.52; }
.disciplines li + li { margin-top: .5rem; }
.disciplines li::marker { color: var(--teal); font-size: .78em; }
.hardware { background: #eff4ef; border-block: 1px solid #d6dfd7; }
.drawing { width: 100%; position: relative; display: block; aspect-ratio: 1.55; padding: 10px; background: #fbfcf9; border: 1px solid #c8d6cc; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.drawing img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s; }
.drawing:hover img { transform: scale(1.035); }
.drawing span { position: absolute; right: .6rem; bottom: .55rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid #b7c8be; background: #fbfcf9ee; color: #24534d; }
.product h3 { margin-top: 1.05rem; }
.product > p { margin-top: .65rem; max-width: 44ch; }
.gallery-caption { margin-top: 1.65rem; }
/* The open diagram carries the data story on the same visual axis as the hardware. */
.intelligence { background: #f6f9f6; border-bottom: 1px solid var(--line); }
.scale-intro h2 { font-size: clamp(2.75rem, 5.2vw, 4.6rem); letter-spacing: -.065em; line-height: 1.04; }
.scale-subtitle { margin-top: .4rem; font-size: clamp(1.25rem, 2.1vw, 1.9rem); color: var(--slate); letter-spacing: -.03em; line-height: 1.25; }
.scale-figure { --data-rule: #6eaa98; margin-top: clamp(28px, 3vw, 42px); }
.data-flow {
  display: grid;
  grid-template-columns: 26% 8% 26% 8% 32%;
  align-items: center;
  gap: 0;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 0 1rem;
}
.flow-step { position: relative; padding: .55rem .4rem; text-align: center; }
.flow-step strong { display: block; font-size: clamp(1.15rem, 1.85vw, 1.65rem); font-weight: 560; line-height: 1.18; letter-spacing: -.035em; }
.flow-step > span { display: block; font-size: .9rem; color: var(--slate); margin-top: .45rem; line-height: 1.35; }
.flow-model { padding: .85rem 1.1rem; border: 1px solid #b8d5ca; border-radius: 5px; background: linear-gradient(110deg,#e5f0e9,#f6f9f6); }
.flow-model strong { color: var(--teal); }
.flow-model::before, .flow-model::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--signal); top: calc(50% - 2px); }
.flow-model::before { left: -3px; }
.flow-model::after { right: -3px; }
.flow-link { position: relative; height: 1px; margin-inline: .6rem; background: linear-gradient(90deg,#b3c9c0,var(--signal)); }
.flow-link::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--signal); border-right: 1px solid var(--signal); transform: rotate(45deg); }
.scale-stages { --first: 8%; --last: 13%; display: grid; grid-template-columns: 16fr 19fr 18fr 21fr 26fr; margin-top: 17px; position: relative; }
.scale-stages::before { content: ""; position: absolute; top: 0; left: var(--first); right: var(--last); border-top: 2px solid var(--data-rule); }
.scale-stages::after { content: ""; position: absolute; left: 13%; bottom: 100%; height: 33px; border-left: 1px solid var(--data-rule); }
.scale-stage { min-width: 0; }
.scale-stage summary { list-style: none; display: flex; flex-direction: column; align-items: center; position: relative; padding: 17px .15rem 0; }
.scale-stage summary::-webkit-details-marker { display: none; }
.scale-stage summary::before { content: ""; position: absolute; top: -3px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; border: 2px solid #267363; background: #f6f9f6; }
.scale-stage img { display: block; width: 100%; height: clamp(110px, 13.5vw, 198px); object-fit: contain; mix-blend-mode: multiply; }
.scale-label { display: inline-flex; align-items: baseline; gap: .3rem; padding: .55rem .06rem; font-size: clamp(.87rem, 1.14vw, 1.05rem); font-weight: 600; line-height: 1.3; text-align: center; }
.scale-label::after { content: "+"; color: var(--teal); font: 550 1em/1 ui-monospace, Consolas, monospace; }
.scale-stage[open] .scale-label::after { content: "\2212"; }
.scale-stage[open] summary::before { background: var(--teal); }
.scale-stage summary:hover .scale-label { text-decoration: underline; text-underline-offset: .22em; }
.scale-stage > p { padding: .25rem .75rem .8rem; color: var(--slate); font-size: 1rem; line-height: 1.55; }
/* Company and team share a compact directory grid. */
.company, .team { padding-block: clamp(32px, 3.3vw, 46px); }
.company-grid, .team-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: clamp(24px, 5vw, 64px); }
.company-identity { position: relative; align-self: start; }
.company-identity h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); max-width: 15ch; }
.company-symbol { display: block; width: 116px; height: 116px; margin: -10px 0 0 -18px; }
.small-title { margin-bottom: .55rem; color: var(--teal); font: 550 .81rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; }
.company-points { list-style: none; padding: 0 0 0 1.3rem; }
.company-points li { position: relative; padding: .8rem 0 .8rem .65rem; border-top: 1px solid var(--line); }
.company-points li:first-child { padding-top: 0; border: 0; }
.company-points li::before { content: ""; position: absolute; left: -1.1rem; top: 1.28rem; width: 7px; height: 7px; border: 1px solid var(--teal); background: var(--paper); z-index: 1; }
.company-points li:first-child::before { top: .48rem; }
.company-points li:not(:last-child)::after { content: ""; position: absolute; left: -.9rem; top: 1.5rem; bottom: -1.5rem; width: 1px; background: #99bdad; }
.company-points h3 { font-size: 1.19rem; font-weight: 600; letter-spacing: -.025em; }
.company-points p { margin-top: .3rem; color: var(--slate); font-size: 1rem; line-height: 1.45; max-width: 59ch; }
.team { border-top: 1px solid var(--line); background: var(--paper); }
.team-layout { grid-template-columns: .42fr 1.88fr; }
.team-layout > h2 { font-size: 1.8rem; padding-top: .3rem; }
.team-grid { display: block; margin: 0; max-width: 950px; }
.team-grid article { display: grid; grid-template-columns: minmax(220px, .9fr) 1.35fr; gap: 1.2rem; align-items: start; padding: .85rem 0; border-top: 1px solid var(--line); }
.team-grid article:first-child { padding-top: .3rem; border: 0; }
.team-grid h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.025em; }
.team-role { color: var(--teal); font-size: .87rem; line-height: 1.35; margin: .2rem 0 0; }
.team-grid article > p:last-child { font-size: 1rem; line-height: 1.45; color: var(--slate); }
.contact { padding-block: 30px; border-top: 1px solid var(--line); background: #f1f6f1; }
.contact-inner, .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.contact h2 { font-size: 1.8rem; }
.contact-inner p { color: var(--slate); margin-top: .35rem; font-size: .94rem; }
.contact-inner > a { color: var(--teal); font-size: clamp(1.25rem, 2.1vw, 1.85rem); letter-spacing: -.035em; border-bottom: 1px solid #93b2a4; padding-bottom: .14rem; }
footer { border-top: 1px solid var(--line); }
.foot-inner { padding-block: 1.6rem; }
.foot-inner p, .foot-inner a { color: var(--slate); font-size: .9rem; }
.foot-inner a { border-bottom: 1px solid #8ca09a; white-space: nowrap; }
dialog { padding: 0; color: var(--ink); background: var(--paper); width: min(760px, 92vw); max-height: 90dvh; border: 1px solid #788d84; border-radius: 5px; }
dialog::backdrop { background: #102b30a8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.dialog-top button { background: transparent; padding: .4rem .7rem; border: 1px solid #b3c6ba; border-radius: 3px; }
#dialog-image { display: block; width: 100%; height: min(45vh,410px); object-fit: contain; margin: .6rem 0; mix-blend-mode: multiply; }
.dialog-copy { padding: .45rem 1.4rem 1.5rem; }
.dialog-copy h2 { font-size: 1.85rem; margin-bottom: .5rem; }
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: .12rem 1.5rem; padding-block: .5rem 0; }
  .masthead nav { flex: 1 0 100%; justify-content: space-between; gap: .25rem; }
  .masthead nav a { padding: .42rem .08rem; }
}
@media (max-width: 760px) {
  .hero-layout, .section-intro { grid-template-columns: 1fr; }
  .hero-layout { gap: 1.4rem; }
  h1 { font-size: clamp(2.55rem, 8.8vw, 4.3rem); }
  .hero-art { width: min(100%, 510px); margin: 0 auto; }
  .hero-sketch { max-height: 315px; }
  .disciplines, .gallery, .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .expert-art { height: clamp(135px, 38vw, 195px); }
  .disciplines li, .product > p, .team-grid article > p:last-child { max-width: 58ch; }
  .drawing { max-height: 315px; }
   .data-flow { grid-template-columns: 1fr minmax(12px,.12fr) 1fr minmax(12px,.12fr) 1.3fr; gap: .5rem; padding-bottom: 1.4rem; }
  .flow-step strong { font-size: 1.1rem; }
  .flow-model { padding: .75rem .6rem; }
  .flow-step > span { font-size: .81rem; }
  .company-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .team-layout { grid-template-columns: 1fr; gap: 1rem; }
  .team-grid article { grid-template-columns: 1fr 1.2fr; }

  .scale-stages { display: block; margin: 0 0 0 .6rem; padding: .5rem 0 0 .95rem; }
  .scale-stages::before { inset: 0 auto 0 0; border: 0; border-left: 2px solid var(--data-rule); }
  .scale-stages::after { display: none; }
  .scale-stage { border-bottom: 1px solid #d6ded3; }
  .scale-stage:last-child { border: 0; }
  .scale-stage summary { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; padding: .45rem 0; }
  .scale-stage summary::before { left: calc(-.95rem - 3px); top: calc(50% - 4px); }
  .scale-stage img { height: clamp(72px, 19vw, 110px); }
  .scale-label { width: 100%; justify-content: space-between; text-align: left; font-size: 1rem; }
  .scale-stage > p { padding: 0 .3rem .8rem; }
}
@media (max-width: 570px) {
  :root { --masthead-height: 138px; }
  h1 { font-size: clamp(2.15rem, 8.8vw, 3.4rem); }
  .header-inner { gap: .28rem; }
  .brand { gap: .52rem; }
  .brand img { width: 2.6rem; height: 2.6rem; margin: -.35rem; }
  .brand-name { font-size: clamp(1.04rem, 4.7vw, 1.42rem); }
  .brand-tagline { font-size: .75rem; }
  .masthead nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 .35rem; }
  .masthead nav a { text-align: center; font-size: .85rem; padding: .22rem .1rem; min-height: 30px; }
  .data-flow { grid-template-columns: 1fr; gap: .5rem; padding: 0 0 1rem 1rem; border-left: 1px solid var(--data-rule); }
  .flow-step { padding: .35rem .4rem; text-align: left; }
  .flow-step strong { font-size: 1.2rem; }
  .flow-step > span { margin-top: .16rem; font-size: .9rem; }
  .flow-model { padding: .65rem .7rem; max-width: 260px; }
  .flow-link { width: 1px; height: 12px; margin-left: .7rem; }
  .flow-link::after { width: 5px; height: 5px; top: auto; bottom: 0; right: -2px; transform: rotate(135deg); }
  .flow-model::after { display: none; }
  .company-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .company-symbol { width: 88px; height: 88px; margin: -8px 0 -2px -14px; }
  .company-identity h2 { max-width: 100%; }
  .team-grid article { grid-template-columns: 1fr; gap: .45rem; padding-block: .85rem; }
  .team-grid br { display: none; }

  .contact-inner { flex-direction: column; align-items: start; gap: 1.1rem; }
  .foot-inner { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
