/* AeroSol site, 2026-11 redesign. One page, no build step.
   Three surfaces: black (hero, software, contact), ink (agents, industries), cream (services, validation).
   The cream is the application's own ground colour, so its screenshots sit on the page without a seam. */
:root {
  --black: #07090c;
  --ink: #0f1217;
  --ink-2: #171b22;
  --line-d: rgba(255, 255, 255, .12);
  --cream: #f4eee2;
  --cream-2: #faf6ee;
  --line-l: #d9cfbc;
  --text-d: #f3f1ec;
  --mute-d: #a3a8b3;
  --text-l: #1c2434;
  --mute-l: #4d5668;
  --accent: #6cc3ee;
  --accent-l: #1f5f8b;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gut: clamp(16px, 4.5vw, 72px);
  --max: 1440px;
  --nav-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--text-d); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }

/* ── type ── */
h1 { font-size: clamp(42px, 5.9vw, 82px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.08; font-weight: 500; letter-spacing: -.028em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 34em; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.num { font-family: var(--mono); font-weight: 500; }
.eyebrow .num { margin-right: 10px; opacity: .6; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border: 1px solid transparent; font-weight: 500; font-size: 16px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-solid { background: #fff; color: #000; }
.btn-solid:hover { background: #dfe6ee; }
.btn-line { border-color: rgba(255, 255, 255, .28); color: #fff; height: 38px; padding: 0 16px; font-size: 15px; }
.btn-line:hover { background: #fff; color: #000; }
.btn-ink { background: var(--text-l); color: #fff; }
.btn-ink:hover { background: #000; }
.arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.arrow::after { content: "→"; transition: transform .15s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(4px); }

/* ── navigation ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: rgba(7, 9, 12, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; font-size: 21px; color: #fff; }
.brand .wheel { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; will-change: transform; }
.nav-links { display: flex; align-items: center; gap: 30px; margin: 0 auto; font-size: 15.5px; color: #d9dce2; }
.nav-links > a:hover, .menu-btn:hover { color: #fff; }
.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 8px 0; color: inherit; }
.menu-btn svg { width: 10px; height: 6px; transition: transform .15s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 13px); left: -22px; width: 370px; padding: 8px; background: #12161c; border: 1px solid var(--line-d); display: none; }
.menu.open .menu-panel { display: block; }
.menu-panel a { display: block; padding: 13px 14px; }
.menu-panel a:hover { background: rgba(255, 255, 255, .07); }
.menu-panel b { display: block; font-weight: 500; color: #fff; font-size: 16px; }
.menu-panel span { display: block; color: var(--mute-d); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; margin-left: auto; padding: 0; }
.burger span { display: block; width: 22px; height: 1.5px; background: #fff; margin: 6px auto; }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--nav-h); overflow: hidden; background: #05070b; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 11, .88) 0%, rgba(5, 7, 11, .55) 34%, rgba(5, 7, 11, 0) 62%), linear-gradient(0deg, rgba(5, 7, 11, .85) 0%, rgba(5, 7, 11, 0) 30%); }
.hero-in { position: relative; padding-bottom: clamp(20px, 4vh, 44px); }
.hero-sub { margin-top: 26px; max-width: 31em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: #e9ebee; }
.hero-sub b { font-weight: 600; color: #fff; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; font-size: 16px; }
.hero-links { margin-top: 22px; font-size: 16px; }
.hero-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; }
.hero-cap { font: 400 12.5px/1.3 var(--mono); letter-spacing: .03em; color: rgba(255, 255, 255, .58); }
.pause { width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; flex: none; }
.pause span { width: 9px; height: 11px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.pause[aria-pressed="true"] span { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid #fff; border-right: 0; margin-left: 3px; }

/* ── the three offers ── */
.offer { background: var(--black); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-left: 0; padding-right: 0; }
.offer-card { padding: 38px var(--gut) 40px; border-right: 1px solid var(--line-d); display: flex; flex-direction: column; align-items: flex-start; transition: background .2s; }
.offer-card:last-child { border-right: 0; }
.offer-card:hover { background: var(--ink-2); }
.offer-card .num { font-size: 13px; color: var(--accent); letter-spacing: .08em; }
.offer-card h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin-top: 16px; }
.offer-card p { color: var(--mute-d); margin: 10px 0 24px; max-width: 24em; font-size: 16px; }
.offer-card .arrow { margin-top: auto; font-size: 15px; }

/* ── bands ── */
.band { padding: clamp(72px, 9vw, 136px) 0; }
.band.light { background: var(--cream); color: var(--text-l); }
.band.light .lede, .band.light dd { color: var(--mute-l); }
.band.light .eyebrow { color: var(--accent-l); }
.band.dark { background: var(--ink); }
.band.black { background: var(--black); }
.band.dark .lede, .band.black .lede { color: #c9cdd5; }
.band.dark .eyebrow, .band.black .eyebrow { color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.split-copy h2 + .lede, .stack-head h2 + .lede { margin-top: 22px; }
.rows { margin: 34px 0 36px; border-top: 1px solid var(--line-l); }
.rows div { padding: 17px 0; border-bottom: 1px solid var(--line-l); }
.rows dt { display: inline; font-weight: 600; margin-right: .4em; }
.rows dd { display: inline; }
.stack { display: grid; gap: clamp(36px, 4.5vw, 60px); }

.shot img { width: 100%; height: auto; border: 1px solid var(--line-d); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
.band.light .shot img { border-color: var(--line-l); box-shadow: 0 30px 70px -34px rgba(60, 45, 20, .45); }
.shot figcaption { margin-top: 12px; font: 400 12.5px/1.4 var(--mono); color: var(--mute-d); }
.band.light .shot figcaption { color: #7c8496; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line-d); padding-top: 30px; }
.three p { color: var(--mute-d); margin-top: 8px; font-size: 16px; }

/* ── agentic workflow: compact, chart and a small collage ── */
.band.compact { padding: clamp(60px, 6.5vw, 96px) 0; }
.agents-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 72px); }
.ticks { margin: 26px 0 30px; border-top: 1px solid var(--line-d); }
.ticks li { padding: 13px 0; border-bottom: 1px solid var(--line-d); color: var(--mute-d); font-size: 16px; line-height: 1.45; }
.ticks b { color: #fff; font-weight: 500; }
.flow { border: 1px solid var(--line-d); background: #0f1319; padding: clamp(12px, 1.6vw, 22px); overflow-x: auto; }
.flow-svg { display: block; width: 100%; height: auto; color: #7d8695; }
.flow-svg.phone { display: none; max-width: 420px; margin: 0 auto; }
.flow-svg.phone .edge-base { marker-end: url(#ahp); }
.agents-visual, .split-copy { min-width: 0; }
.flow-svg .edge-base { stroke: currentColor; stroke-width: 1.3; marker-end: url(#ah); }
.flow-svg .back .edge-base { stroke-dasharray: 5 4; }
.flow-svg .edge-flow { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 15 100; stroke-dashoffset: 115; opacity: 0; }
.flow-svg .edge.on .edge-flow { opacity: 1; animation: edgeflow 1.5s linear; }
.flow-svg .back.on .edge-flow { stroke: #fb7185; }
@keyframes edgeflow { from { stroke-dashoffset: 115; } to { stroke-dashoffset: 0; } }
.fnode rect { transition: stroke .4s, fill .4s, filter .4s; }
.fnode .fk { transition: fill .4s; }
.n-pm { --c: #f5b942; } .n-a1 { --c: #60a5fa; } .n-a2 { --c: #22d3ee; } .n-a3 { --c: #fb7185; } .n-opt { --c: #34d399; }
.fnode.hot rect { stroke: var(--c); stroke-width: 1.6; filter: drop-shadow(0 0 10px var(--c)); }
.fnode.hot .fk { fill: var(--c); }
.flow-state { margin-top: 12px; min-height: 20px; font: 400 12px/1.5 var(--mono); letter-spacing: .03em; color: #c9cdd5; }
.flow-state span { border-left: 2px solid #34d399; padding-left: 10px; }
.fnode rect { fill: #171c24; stroke: rgba(255, 255, 255, .16); }
.fnode .ft { font: 600 15px var(--font); fill: #fff; letter-spacing: -.01em; }
.fnode .fs { font: 400 10.5px var(--mono); fill: #a3a8b3; }
.fnode .fk { font: 500 9.5px var(--mono); letter-spacing: .14em; fill: var(--accent); }
.flow-svg .mid { text-anchor: middle; }
.flow-svg .fl { font: 400 10.5px var(--mono); fill: #7d8695; text-anchor: middle; }
.n-pm rect { stroke: rgba(108, 195, 238, .55); }
.n-opt rect { stroke: rgba(108, 195, 238, .55); fill: #14202a; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.tiles figure { position: relative; border: 1px solid var(--line-d); background: #0a0f1a; }
.tiles img { width: 100%; height: clamp(120px, 12vw, 176px); object-fit: contain; }
.tiles figcaption { padding: 9px 10px; border-top: 1px solid var(--line-d); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #cfd4dc; }

/* ── software: two pictures side by side ── */
.shot.duo { display: grid; gap: 12px; }
.shot.duo figcaption { margin-top: 0; }

/* ── software tabs ── */
.tab-list { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-d); }
.tab-list button { text-align: left; background: none; border: 0; border-right: 1px solid var(--line-d); padding: 18px 20px 17px; color: var(--mute-d); position: relative; transition: background .15s, color .15s; }
.tab-list button:last-child { border-right: 0; }
.tab-list b { display: block; font-weight: 500; font-size: 18px; color: #dfe2e8; letter-spacing: -.01em; }
.tab-list span { display: block; font-size: 14px; margin-top: 3px; }
.tab-list button:hover { background: rgba(255, 255, 255, .05); }
.tab-list button[aria-selected="true"] { background: #fff; color: #444b58; }
.tab-list button[aria-selected="true"] b { color: #000; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; margin-top: 28px; }
.tab-panel[hidden] { display: none; }
.tab-copy li { padding: 13px 0; border-bottom: 1px solid var(--line-d); color: #c9cdd5; font-size: 16px; }
.tab-copy h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 500; letter-spacing: -.02em; line-height: 1.22; padding-bottom: 20px; border-bottom: 1px solid var(--line-d); }

/* ── industries ── */
.industries { padding-bottom: clamp(64px, 7vw, 110px); overflow: hidden; }
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.ind-ctrl { display: flex; gap: 10px; }
.ind-ctrl button { width: 48px; height: 48px; border-radius: 50%; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; display: grid; place-items: center; transition: background .15s, color .15s, opacity .15s; }
.ind-ctrl button:hover { background: #fff; color: #000; }
.ind-ctrl button:disabled { opacity: .3; pointer-events: none; }
.ind-ctrl svg { width: 16px; height: 12px; }
.ind-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); scroll-padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.ind-track::-webkit-scrollbar { display: none; }
.ind-slide { position: relative; flex: 0 0 min(78vw, 860px); scroll-snap-align: start; overflow: hidden; background: #000; }
.ind-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.ind-slide:hover img { transform: scale(1.03); }
.ind-slide div { position: absolute; inset: auto 0 0 0; padding: 70px 28px 26px; background: linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, 0)); }
.ind-slide h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.ind-slide p { margin-top: 6px; color: #d5d8de; max-width: 34em; font-size: 16px; }

/* ── validation ── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line-l); }
.stats div { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line-l); }
.stats div + div { padding-left: 28px; border-left: 1px solid var(--line-l); }
.stats b { display: block; font: 500 clamp(40px, 4.6vw, 68px)/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 12px; color: var(--mute-l); font-size: 16px; max-width: 20em; }
.honest { margin-top: 30px; max-width: 44em; color: var(--mute-l); }

/* ── contact ── */
.contact .split { align-items: start; }
.mail { margin-top: 28px; font: 400 16px var(--mono); }
.mail a { border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.form { display: grid; gap: 16px; }
.f2, .f4 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form label > span { display: block; font: 500 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; background: var(--ink-2); border: 1px solid var(--line-d); padding: 12px 13px; color: #fff; border-radius: 0; outline: none; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa1b0 50%), linear-gradient(135deg, #9aa1b0 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: #171b22; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #fff; }
.form textarea { resize: vertical; min-height: 110px; }
.form .bad { border-color: #ff8a7a; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot .btn { min-width: 130px; }
.form-note { font-size: 15px; color: var(--mute-d); }
.form-note.good { color: #8fe0a8; }
.form-note.bad { color: #ff9c8e; }

/* ── footer ── */
.foot { background: var(--black); border-top: 1px solid var(--line-d); padding: 34px 0; color: var(--mute-d); font-size: 14.5px; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; margin-right: auto; }
.foot nav a:hover { color: #fff; }

/* ── reveal (only when the script is running; without it everything is simply visible) ── */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rise.in { opacity: 1; transform: none; }

/* ── narrower screens ── */
@media (max-width: 1020px) {
  .split, .agents-split, .tab-panel { grid-template-columns: 1fr; }
  .tab-panel { align-items: start; }
  .three, .stats { grid-template-columns: 1fr; }
  .stats div + div { padding-left: 0; border-left: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .offer-card:last-child { border-bottom: 0; }
  .tab-list { grid-template-columns: repeat(2, 1fr); }
  .tab-list button:nth-child(2) { border-right: 0; }
  .tab-list button:nth-child(-n + 2) { border-bottom: 1px solid var(--line-d); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #0b0e13; border-bottom: 1px solid var(--line-d); padding: 8px var(--gut) 18px; display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links > a, .menu-btn { padding: 14px 0; font-size: 17px; width: 100%; justify-content: space-between; }
  .menu-panel { position: static; width: auto; border: 0; background: none; padding: 0 0 6px; }
  .menu-panel a { padding: 9px 0 9px 14px; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .hero-video { object-position: 72% 50%; opacity: .75; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 7, 11, .94) 0%, rgba(5, 7, 11, .55) 55%, rgba(5, 7, 11, .25) 100%); }
  .hero-cap { font-size: 11px; }
  .ind-head { align-items: center; }
  .ind-slide { flex-basis: 86vw; }
  .ind-slide img { aspect-ratio: 4 / 3.4; }
  .ind-slide div { padding: 60px 18px 18px; }
  .f2 { grid-template-columns: 1fr; }
  .f4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-list button { padding: 14px 14px 13px; }
  .tab-list b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-svg .edge.on .edge-flow { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .ind-slide img { transition: none; }
}

/* ── phone: the chart is drawn again as a column, headings set their own lines ── */
@media (max-width: 760px) {
  .flow-svg.wide { display: none; }
  .flow-svg.phone { display: block; }
  .band h2 br { display: none; }
  .tiles { gap: 8px; }
  .tiles figcaption { font-size: 10px; padding: 8px; letter-spacing: .03em; }
  .hero-video { object-position: 70% 40%; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 7, 11, .96) 0%, rgba(5, 7, 11, .82) 42%, rgba(5, 7, 11, .25) 72%, rgba(5, 7, 11, .1) 100%); }
}
