/* Aetheris web kit. Colours, type and spacing for the website. Rules: WEB-RULES.md */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ultramarine: #1238F5;
  --graphite: #1A1B1E;
  --white: #FFFFFF;
  --text-grey: #5B5E66;
  --tint: #F1F2F4;
  --hairline: #C9CCD3;
  --space: #020307;

  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, .80);
  --on-dark-line: rgba(255, 255, 255, .26);

  --display: clamp(64px, 13vw, 208px);
  --title: clamp(30px, 4.4vw, 60px);
  --lead: clamp(19px, 1.7vw, 25px);
  --body: 17px;
  --small: 14px;

  --edge: clamp(20px, 6vw, 96px);
  --wide: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.55;
  color: var(--on-dark);
  background: var(--space);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

/* The sky sits behind the opening climb and never scrolls. */
.sky {
  transition: opacity .28s;
  position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0;
  background: linear-gradient(#2054F9 0%, #6F95FF 62%, #E6EEFF 78%, #C9D8FF 100%);
}

.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--edge);
}
.bar { transition: background .3s; }
.bar.solid { background: var(--space); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 42px; height: 26px; fill: currentColor; }
.brand span { font-size: 19px; font-weight: 650; letter-spacing: -.008em; }
.bar a.link { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--on-dark-line); }
.bar a.link:hover { border-bottom-color: var(--on-dark); }

main { position: relative; z-index: 1; }
.inner { width: 100%; max-width: var(--wide); margin: 0 auto; }

/* The climb: the visitor scrolls through this tall strip while the sky rises behind a pinned screen. */
.climb { height: 320vh; }
.pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding: 0 var(--edge) 32vh;
}
.pin h1 { font-size: clamp(50px, 9.2vw, 152px); font-weight: 650; letter-spacing: -.028em; line-height: .96; margin-left: -.02em; max-width: 9em; }
.pin p { font-size: var(--lead); max-width: 30em; margin-top: 34px; }
.pin p.what { font-size: clamp(22px, 2.5vw, 38px); font-weight: 600; letter-spacing: -.012em; line-height: 1.15; }
.pin p.what + p { margin-top: 14px; font-weight: 500; }
.pin h1, .pin p { animation: arrive 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.pin p { animation-delay: .2s; }
.pin p.what + p { animation-delay: .35s; }
@keyframes arrive { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.cue {
  position: fixed; left: var(--edge); bottom: 30px; z-index: 2;
  font-size: var(--small); letter-spacing: .02em;
  display: flex; align-items: center; gap: 12px; transition: opacity .5s;
}
.cue i { display: block; width: 1px; height: 44px; background: var(--on-dark); }

/* After the climb: an ordinary dark page that scrolls over the sky. */
.ground { position: relative; background: var(--space); padding: 0 var(--edge); }
.ground::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 45vh; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(2, 3, 7, 0), var(--space));
}
.strip { height: 45vh; padding: 0; }

/* Lower scenes: the page opens like a window and the picture behind shows through. */
.scene { position: relative; padding: 0 var(--edge); }
#deep { height: 230vh; }
.hold { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.scene.close { min-height: 125vh; padding-top: 52vh; padding-bottom: 14vh; }
.scene.close h2 { font-weight: 680; }
.ground::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 55vh; pointer-events: none;
  background: linear-gradient(to bottom, rgba(2, 3, 7, 0), var(--space));
}
.block { padding: 14vh 0; }
.block h2 { font-size: var(--title); font-weight: 680; letter-spacing: -.02em; line-height: 1.06; max-width: 15em; }
.block .lead { font-size: var(--lead); color: var(--on-dark-soft); max-width: 32em; margin-top: 24px; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 64px); margin-top: 64px; }
.col { border-top: 1px solid var(--on-dark-line); padding-top: 22px; }
.col h3 { font-size: 22px; font-weight: 680; letter-spacing: -.008em; line-height: 1.25; }
.col p { margin-top: 14px; color: var(--on-dark-soft); }
.col .step { display: block; font-size: var(--small); font-weight: 500; color: var(--on-dark-soft); margin-bottom: 12px; }

.eyebrow { font-size: var(--small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7E97FF; margin-bottom: 20px; }
.block h2.wide, .scene h2.wide { font-size: clamp(32px, 5.2vw, 76px); letter-spacing: -.022em; line-height: 1.04; max-width: 13em; }
/* One large statement, right after the sky. */

.claim .big { font-size: clamp(38px, 8vw, 124px); font-weight: 680; letter-spacing: -.022em; line-height: 1.04; max-width: 14em; }
.claim .big.soft { color: rgba(255, 255, 255, .52); margin-top: .35em; }

/* The three pillars as real folders: blue card, white paper.
   Without movement (or on a very short screen) they are a plain list of white pages. */
.track3d { margin-top: 56px; }
.floor { display: none; }
.folder { margin-bottom: 28px; }
.folder .back, .folder .front { display: none; }
.tab3 {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 50px 0 20px;
  background: var(--ultramarine); color: var(--white); font-size: 18px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 100%, 0 100%);
}
.tab3 i, .front i { font-style: normal; font-size: var(--small); font-weight: 500; opacity: .8; }
.paper {
  background: var(--white); color: var(--graphite);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(22px, 4vw, 52px);
}
.paper .label { display: block; font-size: var(--small); font-weight: 600; color: var(--ultramarine); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.paper .no { font-size: clamp(24px, 2.9vw, 42px); font-weight: 680; letter-spacing: -.02em; line-height: 1.06; }
.paper .say p + p { margin-top: 16px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; color: var(--text-grey); max-width: 26em; }
.paper svg { display: block; width: 100%; height: auto; }
.paper svg [stroke-opacity=".72"] { stroke: var(--graphite); stroke-opacity: .85; }
.paper svg [fill-opacity=".72"] { fill: var(--graphite); fill-opacity: .8; }

.live3d .track3d { height: 440vh; margin-top: 0; }
.live3d .stage3d {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin: 0 calc(var(--edge) * -1);
  perspective: 1500px; perspective-origin: 50% 46%; overflow: hidden; overflow: clip;
}
.live3d .floor {
  display: block; position: absolute; left: 50%; bottom: -12vh; width: 140vw; height: 80vh; margin-left: -70vw; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(18, 56, 245, .38), rgba(18, 56, 245, 0) 60%);
}
.live3d .rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.live3d .folder { position: absolute; left: 50%; top: 50%; margin-bottom: 0; transform-style: preserve-3d; will-change: transform; }
.live3d .folder .back {
  display: block; position: absolute; inset: 0;
  background: linear-gradient(172deg, #1238F5 0%, #0B25AE 100%);
}
.live3d .tab3 {
  position: absolute; bottom: calc(100% - 1px); left: calc(4% + var(--i) * 27%); margin: 0;
  background: linear-gradient(180deg, #2A4DFF, #1238F5);
}
.live3d .folder .front {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  position: absolute; left: 0; right: 0; bottom: 0; height: 90%; padding: 7% 8%;
  transform-origin: 50% 100%; transform: translateZ(16px);
  background: linear-gradient(162deg, #4466FF 0%, #1238F5 40%, #0C28BA 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 60px rgba(0, 0, 0, .45);
}
.live3d .front b { font-size: clamp(28px, 3.6vw, 50px); font-weight: 680; letter-spacing: -.025em; line-height: 1; }
.live3d .folder .back::after, .live3d .folder .front::after, .live3d .tab3::after {
  content: ""; position: absolute; inset: 0; background: #020307; opacity: var(--dim, 0); pointer-events: none;
}
.live3d .paper {
  position: absolute; left: 50%; top: 0; transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .40);
}

/* Services as a stack of folders. Each one slides up over the last and leaves its tab showing. */
.files { margin-top: 64px; --peek: 56px; --top: 84px; --tall: 420px; }
.file { position: sticky; top: calc(var(--top) + var(--i) * var(--peek)); }
.tab {
  display: inline-flex; align-items: center; gap: 16px; height: var(--peek);
  padding: 0 calc(var(--peek) * .673 + 22px) 0 26px;
  background: var(--paper); color: var(--on-dark);
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.008em; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--peek) * .673) 0, 100% 100%, 0 100%);   /* the slope of the symbol */
}
.tab .no { font-size: var(--small); font-weight: 500; color: var(--on-dark-soft); letter-spacing: 0; }
.sheet {
  height: var(--tall); background: var(--paper); border-top: 1px solid var(--on-dark-line);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: 0 clamp(26px, 5vw, 72px); margin-top: -1px;
}
.file { --paper: #0B0E1A; }
.file:nth-child(2) { --paper: #0E1222; }
.file:nth-child(3) { --paper: #11162A; }
.file:nth-child(4) { --paper: #141A32; }
.file:nth-child(5) { --paper: #171E3A; }
.sheet p { font-size: clamp(20px, 2.1vw, 31px); font-weight: 500; letter-spacing: -.012em; line-height: 1.24; max-width: 18em; }
.sheet p.today { font-size: var(--body); font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--on-dark-soft); max-width: 30em; margin-bottom: 20px; }
.sheet p.today span { display: block; font-size: var(--small); font-weight: 600; color: var(--on-dark); margin-bottom: 4px; }
.pic svg { display: block; width: 100%; max-width: 440px; height: auto; margin-left: auto; }

/* How we work: three numbered steps on a line that fills with blue as the visitor scrolls. */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 64px); margin-top: 64px; padding-top: 34px; }
.steps .line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--on-dark-line); }
.steps .line b { display: block; width: 100%; height: 100%; background: var(--ultramarine); transform-origin: 0 0; transform: scaleX(0); }
.step .no { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 680; letter-spacing: -.028em; line-height: 1; }
.step h3 { font-size: 22px; font-weight: 680; letter-spacing: -.008em; line-height: 1.25; margin-top: 22px; }
.step p { margin-top: 12px; color: var(--on-dark-soft); max-width: 24em; }

/* Questions owners ask: each opens on a tap. */
.asks { margin-top: 56px; border-bottom: 1px solid var(--on-dark-line); max-width: 920px; }
.asks details { border-top: 1px solid var(--on-dark-line); }
.asks summary {
  list-style: none; cursor: pointer; position: relative; padding: 24px 48px 24px 0;
  font-size: clamp(19px, 2vw, 26px); font-weight: 600; letter-spacing: -.012em; line-height: 1.25;
}
.asks summary::-webkit-details-marker { display: none; }
.asks summary::before, .asks summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: var(--on-dark); transition: transform .25s, background .25s;
}
.asks summary::after { transform: rotate(90deg); }
.asks details[open] summary::after { transform: rotate(0deg); }
.asks details[open] summary::before, .asks details[open] summary::after { background: #5C7BFF; }
.asks details p { padding: 0 48px 26px 0; font-size: var(--lead); line-height: 1.45; color: var(--on-dark-soft); max-width: 34em; }

/* Contact: the email and phone number as large links. */
.reach { margin-top: 72px; border-bottom: 1px solid var(--on-dark-line); }
.reach a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); align-items: baseline; gap: 0 24px;
  padding: 26px 0; border-top: 1px solid var(--on-dark-line); text-decoration: none;
  font-size: clamp(22px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere;
  transition: color .2s, padding-left .3s;
}
.reach a span { font-size: var(--small); font-weight: 500; letter-spacing: 0; color: var(--on-dark-soft); }
.reach a:hover { padding-left: 10px; }

.last { padding: 18vh 0 16vh; }
.button {
  display: inline-block; margin-top: 40px; padding: 18px 30px;
  background: var(--ultramarine); color: var(--white);
  font-size: 17px; font-weight: 600; text-decoration: none; border: 0; border-radius: 0;
  transition: background .2s;
}
.button:hover { background: #2A4DFF; }
.who { margin-top: 28px; color: var(--on-dark-soft); }

/* Text rises into place as it enters the screen. Set from index.html. */
[data-rise] { will-change: opacity, transform; }

/* Ordinary white pages: graphite text, blue symbol. */
.plain { background: var(--white); color: var(--graphite); }
.plain .brand svg { fill: var(--ultramarine); }
.plain .panel { background: var(--tint); padding: 28px; }

@media (max-width: 820px) {
  .cols { grid-template-columns: 1fr; gap: 40px 0; margin-top: 44px; }
  .paper { grid-template-columns: 1fr; align-content: center; gap: 18px; padding: 22px 20px; }
  .paper .pic svg { max-height: 190px; max-width: 300px; }
  .paper .label { margin-bottom: 10px; }
  .tab3 { height: 38px; font-size: 14px; padding: 0 36px 0 14px; }
  .files { margin-top: 40px; --peek: 40px; --top: 66px; --tall: min(500px, calc(100svh - 66px - 120px - 14px)); }
  .tab { padding-left: 16px; gap: 12px; }
  .sheet { grid-template-columns: 1fr; gap: 18px; align-content: center; padding: 18px 16px; }
  .sheet p { font-size: 19px; }
  .sheet p.today { font-size: 15px; margin-bottom: 12px; }
  .asks { margin-top: 40px; }
  .asks summary { padding: 20px 40px 20px 0; }
  .asks details p { padding-right: 0; font-size: 17px; }
  .pic svg { max-width: 260px; margin: 0; max-height: 150px; }
  .steps { grid-template-columns: 1fr; gap: 44px 0; margin-top: 44px; padding: 0 0 0 26px; }
  .steps .line { right: auto; bottom: 0; width: 2px; height: auto; }
  .steps .line b { transform-origin: 0 0; transform: scaleY(0); }
  .step h3 { margin-top: 14px; }
  .reach { margin-top: 52px; }
  .reach a { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .button { display: block; text-align: center; }
  .block { padding: 10vh 0; }
  .bar { padding: 20px var(--edge); }
  .pin p { margin-top: 26px; }
  .climb { height: 280vh; }
}
@media (prefers-reduced-motion: reduce) {
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .pin h1, .pin p { animation: none; }
}

/* Short screens (a phone on its side): folders stop stacking and simply follow each other. */
@media (max-height: 600px) {
  .file { position: static; margin-bottom: 14px; }
  .files { --tall: auto; }
  .sheet { padding-top: 26px; padding-bottom: 26px; }
}

/* ---- Calm version: the climb carries two lines, then an ordinary professional page. ---- */
.climb { height: 400vh; }
.pin { position: sticky; }
.second { position: absolute; left: var(--edge); right: var(--edge); top: 50%; margin-top: -14vh; opacity: 0; pointer-events: none; }
.second .big { max-width: 12em; }

/* A slow moving line of what we build. */
.banner { margin: 0 calc(var(--edge) * -1); padding: 26px 0; border-top: 1px solid var(--on-dark-line); border-bottom: 1px solid var(--on-dark-line); overflow: hidden; }
.run { display: flex; width: max-content; animation: run 46s linear infinite; }
.run span { display: inline-flex; align-items: center; font-size: clamp(18px, 2vw, 28px); font-weight: 600; letter-spacing: -.008em; white-space: nowrap; padding-right: clamp(28px, 4vw, 60px); }
.run span::after { content: ""; width: 9px; height: 9px; background: var(--ultramarine); margin-left: clamp(28px, 4vw, 60px); }
@keyframes run { to { transform: translateX(-50%); } }

/* Three folder-style cards: a blue tab, a white page. */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 72px; align-items: stretch; }
.fcard { display: flex; flex-direction: column; align-items: flex-start; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.fcard:hover { transform: translateY(-6px); }
.fcard .tab3 { position: static; height: 46px; font-size: 17px; }
.fcard .paper { display: block; position: static; width: 100%; flex: 1; padding: clamp(22px, 2.4vw, 36px); box-shadow: none; }
.fcard .pic { border-bottom: 1px solid var(--hairline); padding-bottom: 24px; margin-bottom: 26px; }
.fcard .pic svg { max-width: 300px; margin: 0 auto; }
.fcard .no { font-size: clamp(22px, 2.1vw, 30px); font-weight: 680; letter-spacing: -.016em; line-height: 1.1; }
.fcard .more { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--text-grey); }
.ground { padding-bottom: 6vh; }
.scene.close { padding-top: 46vh; }

@media (max-width: 820px) {
  .climb { height: 360vh; }
  .cards3 { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; }
  .banner { padding: 20px 0; }
  .second { margin-top: -10vh; }
}
@media (prefers-reduced-motion: reduce) {
  .run { animation: none; }
}

/* ---- Photo version: real photographs, a diagnosis section, fuller content. ---- */
.photo { position: relative; overflow: hidden; background: #0B0E1A; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.04) brightness(.96); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1238F5, #0A1A6B); mix-blend-mode: color; opacity: .2; pointer-events: none; }
.photo.dark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2, 3, 7, .86) 0%, rgba(2, 3, 7, .55) 45%, rgba(2, 3, 7, .1) 100%); }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split .photo { aspect-ratio: 4 / 3; }
.block h2.mid { font-size: clamp(30px, 4.2vw, 60px); letter-spacing: -.022em; line-height: 1.05; max-width: 13em; }

.signs { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); border-bottom: 1px solid var(--on-dark-line); }
.signs li { position: relative; padding: 24px 0 24px 34px; border-top: 1px solid var(--on-dark-line); font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.008em; line-height: 1.3; }
.signs li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 11px; height: 11px; background: var(--ultramarine); }
.signs-title { margin-top: 84px; font-size: var(--small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.signs-title + .signs { margin-top: 18px; }

.svc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 64px; }
.svc article { grid-column: span 2; background: var(--white); color: var(--graphite); display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.svc article:nth-child(n+4) { grid-column: span 3; }
.svc article:hover { transform: translateY(-6px); }
.svc .photo { aspect-ratio: 16 / 10; }
.svc article:nth-child(n+4) .photo { aspect-ratio: 16 / 8; }
.svc .txt { padding: clamp(20px, 2.2vw, 32px); }
.svc .kind { display: block; font-size: var(--small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ultramarine); margin-bottom: 12px; }
.svc h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 680; letter-spacing: -.016em; line-height: 1.1; }
.svc p { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--text-grey); }

.band { position: relative; margin: 4vh calc(var(--edge) * -1); min-height: 62vh; display: flex; align-items: center; padding: 10vh var(--edge); }
.band .photo { position: absolute; inset: 0; }
.band .inner { position: relative; z-index: 2; }
.band p.big { font-size: clamp(30px, 4.6vw, 68px); font-weight: 680; letter-spacing: -.022em; line-height: 1.05; max-width: 12em; }
.band p.sub { margin-top: 20px; font-size: var(--lead); color: var(--on-dark-soft); max-width: 26em; }

.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin-top: 56px; border-top: 2px solid var(--ultramarine); padding-top: 30px; }
.steps4 .no { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 680; letter-spacing: -.028em; line-height: 1; }
.steps4 h3 { font-size: 22px; font-weight: 680; letter-spacing: -.008em; margin-top: 18px; }
.steps4 p { margin-top: 10px; color: var(--on-dark-soft); }
.wideshot { margin-top: 64px; aspect-ratio: 21 / 8; }

.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px var(--edge); font-size: var(--small); color: var(--on-dark-soft); background: rgba(2, 3, 7, .55); }
.foot .brand svg { width: 30px; height: 19px; }
.foot .brand span { font-size: 15px; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .signs { grid-template-columns: 1fr; margin-top: 52px; }
  .signs li { padding: 18px 0 18px 28px; }
  .svc { grid-template-columns: 1fr; margin-top: 44px; }
  .svc article, .svc article:nth-child(n+4) { grid-column: auto; }
  .svc article:nth-child(n+4) .photo { aspect-ratio: 16 / 10; }
  .band { min-height: 54vh; }
  .photo.dark::before { background: linear-gradient(180deg, rgba(2, 3, 7, .35) 0%, rgba(2, 3, 7, .82) 100%); }
  .steps4 { grid-template-columns: 1fr; gap: 34px 0; margin-top: 40px; }
  .wideshot { aspect-ratio: 16 / 10; margin-top: 44px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

.wideshot .photo { width: 100%; height: 100%; }
.split .photo { width: 100%; }
.scene.close { min-height: 110vh; }

/* Common bottlenecks: the problem, then what AI does about it. */
.bottle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin-top: 18px; border-bottom: 1px solid var(--on-dark-line); }
.bottle > div { border-top: 1px solid var(--on-dark-line); padding: 26px 0 28px; }
.bottle h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 680; letter-spacing: -.016em; line-height: 1.15; }
.bottle p { margin-top: 12px; color: var(--on-dark-soft); max-width: 28em; }
.bottle p span { display: inline-block; margin-right: 10px; padding: 2px 8px; background: var(--ultramarine); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }
@media (max-width: 820px) { .bottle { grid-template-columns: 1fr; } .bottle > div { padding: 20px 0 22px; } }

/* ---- Chat box for leads. ---- */
.chat-open {
  position: fixed; right: var(--edge); bottom: 26px; z-index: 5; border: 0; border-radius: 0; cursor: pointer;
  padding: 16px 24px; background: var(--ultramarine); color: var(--white); font: 600 16px/1 "Inter", Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.chat-open:hover { background: #2A4DFF; }
.chat {
  position: fixed; right: var(--edge); bottom: 26px; z-index: 6; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: var(--white); color: var(--graphite); box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.chat[hidden] { display: none; }
.chat header { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 16px 18px; background: var(--ultramarine); color: var(--white); }
.chat header b { font-size: 17px; letter-spacing: -.008em; }
.chat header span { grid-column: 1; font-size: 13px; opacity: .85; }
.chat header button { grid-column: 2; grid-row: 1 / span 2; background: none; border: 0; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat .log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.chat .log p { max-width: 86%; padding: 10px 13px; font-size: 15px; line-height: 1.4; }
.chat .log p.bot { background: var(--tint); align-self: flex-start; }
.chat .log p.me { background: var(--ultramarine); color: var(--white); align-self: flex-end; }
.chat .picks { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chat .picks:empty { display: none; }
.chat .picks button, .chat .picks a {
  border: 1px solid var(--ultramarine); background: var(--white); color: var(--ultramarine); border-radius: 0; cursor: pointer;
  padding: 9px 12px; font: 600 14px/1.1 "Inter", Arial, sans-serif; text-decoration: none;
}
.chat .picks button:hover, .chat .picks a:hover { background: var(--ultramarine); color: var(--white); }
.chat form { display: flex; border-top: 1px solid var(--hairline); }
.chat form[hidden] { display: none; }
.chat input { flex: 1; min-width: 0; border: 0; padding: 15px 16px; font: 400 16px/1.2 "Inter", Arial, sans-serif; color: var(--graphite); outline: none; }
.chat form button { border: 0; border-radius: 0; background: var(--graphite); color: var(--white); padding: 0 18px; font: 600 14px/1 "Inter", Arial, sans-serif; cursor: pointer; }
@media (max-width: 820px) {
  .chat-open { right: 16px; bottom: 16px; padding: 14px 18px; }
  .chat { right: 16px; bottom: 16px; }
}

.foot { padding-right: calc(var(--edge) + 190px); }
@media (max-width: 820px) { .foot { padding-right: var(--edge); padding-bottom: 84px; } }

/* ---- End of page: the agent conversation that collects the lead. ---- */
.endgrid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.endtext .lead { font-size: var(--lead); color: var(--on-dark-soft); max-width: 24em; margin-top: 22px; }
.reach.small { margin-top: 44px; max-width: 460px; }
.reach.small a { font-size: clamp(18px, 1.7vw, 24px); padding: 16px 0; grid-template-columns: 70px 1fr; }
.agent { background: var(--white); color: var(--graphite); display: flex; flex-direction: column; height: min(580px, 78vh); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.agent header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--graphite); color: var(--white); }
.agent header svg { width: 34px; height: 21px; fill: var(--white); flex: none; }
.agent header div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.agent header b { font-size: 16px; letter-spacing: 0; line-height: 1; }
.agent .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8FE3B0; }
.agent .live i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.agent header em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.agent .bar2 { height: 3px; background: var(--tint); }
.agent .bar2 b { display: block; height: 100%; background: var(--ultramarine); transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s; }
.agent .log { flex: 1; overflow-y: auto; padding: 20px 20px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.agent .log p { max-width: 84%; padding: 11px 14px; font-size: 16px; line-height: 1.4; animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.agent .log p.bot { background: var(--tint); align-self: flex-start; }
.agent .log p.me { background: var(--ultramarine); color: var(--white); align-self: flex-end; }
.agent .dots { display: inline-flex; gap: 5px; padding: 15px 14px !important; }
.agent .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-grey); animation: pulse 1s infinite; }
.agent .dots i:nth-child(2) { animation-delay: .15s; } .agent .dots i:nth-child(3) { animation-delay: .3s; }
.agent .picks { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 20px 14px; }
.agent .picks:empty { display: none; }
.agent .picks button, .agent .picks a {
  border: 1.5px solid var(--ultramarine); background: var(--white); color: var(--ultramarine); border-radius: 0; cursor: pointer;
  padding: 11px 14px; font: 600 15px/1.1 "Inter", Arial, sans-serif; text-decoration: none; transition: background .15s, color .15s;
}
.agent .picks button:hover, .agent .picks a:hover, .agent .picks a.go { background: var(--ultramarine); color: var(--white); }
.agent .picks a.go { flex: 1; text-align: center; padding: 15px 14px; }
.agent form { display: flex; border-top: 1px solid var(--hairline); }
.agent form[hidden] { display: none; }
.agent input { flex: 1; min-width: 0; border: 0; padding: 16px 20px; font: 400 16px/1.2 "Inter", Arial, sans-serif; color: var(--graphite); outline: none; background: var(--white); }
.agent form button { border: 0; border-radius: 0; background: var(--ultramarine); color: var(--white); padding: 0 22px; font: 600 15px/1 "Inter", Arial, sans-serif; cursor: pointer; }
.agent .fine { padding: 9px 20px 11px; font-size: 12px; color: var(--text-grey); border-top: 1px solid var(--tint); margin: 0; }
.scene.close { padding-top: 34vh; }
.foot { padding-right: var(--edge); }
@media (max-width: 820px) {
  .endgrid { grid-template-columns: 1fr; gap: 30px; }
  .endtext { display: contents; }
  .endtext h2 { order: 1; } .endtext .lead { order: 2; margin-top: -8px; } .agent { order: 3; height: min(560px, 76svh); } .reach.small { order: 4; margin-top: 8px; }
  .foot { padding-bottom: 26px; }
  .scene.close { padding-top: 26vh; }
}
@media (prefers-reduced-motion: reduce) { .agent .live i, .agent .dots i, .agent .log p { animation: none; } }

/* Type follows the written brand rules: Inter only; body 400, labels 500 to 600, large title 650, headings 680, key numbers 700. Letters are not squeezed. */

.agent .log p.note { align-self: stretch; max-width: none; background: none; border: 1px dashed var(--hairline); color: var(--text-grey); font-size: 13px; }

/* Real things owners have said, in place of a tidy list. Plain sentences, no badges. */
.scenes { margin-top: 22px; max-width: 980px; }
.scenes p { padding: 26px 0; border-top: 1px solid var(--on-dark-line); font-size: clamp(22px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1.18; color: var(--on-dark-soft); }
.scenes p b { font-weight: 680; color: var(--on-dark); }
.scenes p.turn { color: var(--on-dark); font-weight: 680; border-top: 2px solid var(--ultramarine); margin-top: 6px; padding-top: 30px; }
@media (max-width: 820px) { .scenes p { padding: 20px 0; } }

/* Common bottlenecks as a before-and-after list: the old way is crossed out in blue, the new way stands beside it. */
.swap { margin-top: 84px; border-bottom: 1px solid var(--on-dark-line); }
.swap-head, .swap-row { display: grid; grid-template-columns: minmax(0, 5fr) 64px minmax(0, 6fr); align-items: center; gap: 0 clamp(16px, 2.5vw, 40px); }
.swap-head { padding-bottom: 16px; font-size: var(--small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.swap-head span:last-child { color: #7E97FF; }
.swap-row { padding: 26px 0; border-top: 1px solid var(--on-dark-line); }
.swap .was { font-size: clamp(18px, 1.8vw, 25px); font-weight: 500; letter-spacing: -.012em; line-height: 1.25; color: rgba(255, 255, 255, .66); text-decoration: line-through; text-decoration-color: #3F62FF; text-decoration-thickness: 1.5px; }
.swap .now { font-size: clamp(20px, 2.1vw, 30px); font-weight: 680; letter-spacing: -.016em; line-height: 1.18; color: var(--on-dark); }
.swap-row i { display: block; position: relative; height: 2px; background: var(--ultramarine); }
.swap-row i::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; margin-top: -5.5px; border-top: 2px solid var(--ultramarine); border-right: 2px solid var(--ultramarine); transform: rotate(45deg); }
@media (max-width: 820px) {
  .swap { margin-top: 52px; }
  .swap-head { display: none; }
  .swap-row { grid-template-columns: 1fr; gap: 12px 0; padding: 22px 0; }
  .swap-row i { width: 34px; }
}
