/* Layout: an engineering firm's field report. Near-black ground, real job photography carries the page, hairline rules, one industrial blue for actions only. One motion language: 700ms, one easing curve, photos open like a shutter. Single dark theme by design. */
:root {
  --bg: #0B0C0E;
  --surface: #131518;
  --line: #24272C;
  --fg: #ECEDEE;
  --muted: #9A9FA6;
  --blue: #3D6FF2;
  --blue-press: #2F5AD0;
  --red: #E5484D;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.7,.2,1);
  --t: 700ms;
  color-scheme: dark;
}
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.tl, .tl * { box-sizing: border-box; }
.tl { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
.tl h1, .tl h2, .tl h3 { font-family: var(--display); margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 600; letter-spacing: -0.02em; }
.tl h2 { font-size: clamp(32px, 4.2vw, 52px); }
.tl h3 { font-size: 21px; letter-spacing: -0.01em; }
.tl p { margin: 0; }
.tl a { color: inherit; }
.tl img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 22px; border-radius: 6px; transition: background-color 200ms var(--ease); }
.btn:hover { background: var(--blue-press); }
.btn svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.link { text-decoration: none; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }
.tl a:focus-visible, .tl button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--line); background: #000; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: auto; height: 32px; display: block; }
.top nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.top nav .link { color: #C9CCD1; }
.top nav .btn { padding: 10px 16px; font-size: 15px; }
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: var(--surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: settle 1800ms var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,12,14,.97) 0%, rgba(11,12,14,.78) 45%, rgba(11,12,14,.6) 100%); }
.hero-body { position: relative; padding-block: 128px 56px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; text-align: left; }
.hero-text { display: grid; gap: 28px; justify-items: start; }
.hero-film { box-shadow: 0 30px 80px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); }
.hero h1 { font-size: clamp(34px, 3.9vw, 58px); max-width: 16ch; }
.hero .sub { font-size: 19px; color: #C9CCD1; max-width: 50ch; }
.hero-cta { display: flex; justify-content: flex-start; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.up { animation: up var(--t) var(--ease) both; }
.up.d1 { animation-delay: 120ms; } .up.d2 { animation-delay: 240ms; } .up.d3 { animation-delay: 360ms; }
@keyframes up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
section.block { padding-block: 120px; border-top: 1px solid var(--line); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.intro .lede { font-size: 19px; color: var(--muted); max-width: 46ch; }
.ph { position: relative; overflow: hidden; background: var(--surface); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.js .ph.pre { clip-path: inset(0 0 100% 0); }
.ph { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease); }
.ph img { transition: transform 1400ms var(--ease); }
.js .ph.pre img { transform: scale(1.08); }
.fade { transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.js .fade.pre { opacity: 0; transform: translateY(20px); }
.levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lever { display: grid; gap: 18px; align-content: start; min-width: 0; }
.lever .ph { aspect-ratio: 4 / 3; border-radius: 4px; }
.lever .eyebrow { display: block; padding-top: 4px; }
.lever p { color: var(--muted); }
.lever ul { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lever li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #C9CCD1; }
.film { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.film-box { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--surface); }
.film-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11,12,14,.35); border: 0; cursor: pointer; color: #fff; transition: background-color 300ms var(--ease); }
.play:hover { background: rgba(11,12,14,.15); }
.play span { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #0B0C0E; font: 600 15px var(--body); padding: 12px 20px 12px 16px; border-radius: 999px; }
.play svg { width: 14px; height: 14px; }
.play[hidden] { display: none; }
.process { position: relative; height: calc(var(--n) * 55vh + 100vh); }
.process-stage { position: sticky; top: 0; height: 100vh; box-sizing: border-box; padding-block: 96px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.process-photo { position: relative; height: 100%; border-radius: 4px; overflow: hidden; background: var(--surface); }
.process-rail { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.process-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 600ms var(--ease), transform 1200ms var(--ease); }
.process-photo img.on { opacity: 1; transform: none; }
.process-photo .count { position: absolute; left: 20px; bottom: 18px; font: 500 13px var(--mono); color: #fff; background: rgba(11,12,14,.72); padding: 6px 10px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); will-change: transform; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--fg); transition: width 700ms var(--ease); }
.step.on::before { width: 100%; }
.step .n { font: 500 14px var(--mono); color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; transition: color 300ms; }
.step.on .n { color: var(--fg); }
.step h3 { transition: color 300ms; color: var(--muted); }
.step.on h3 { color: var(--fg); }
.step p { grid-column: 2; color: var(--muted); }
.step-cta { grid-column: 2; justify-self: start; margin-top: 12px; }
.aside { margin-top: 24px !important; font-size: 15px; color: var(--muted); }
.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; }
.plan { padding: 40px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font: 500 12px var(--mono); color: var(--blue); border: 1px solid var(--blue); padding: 3px 8px; border-radius: 3px; }
.price { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5.4vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .plus { color: var(--muted); font-weight: 400; }
.per { color: var(--muted); }
.plan ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 5px; border-left: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: rotate(-45deg); }
.plan .btn, .plan .link { justify-self: start; margin-top: 8px; }
.plan-note { margin-top: 24px !important; color: var(--muted); }
.plans-label { margin: 0 0 20px !important; font: 500 13px var(--mono); letter-spacing: .06em; color: var(--muted); }
.plan-feature { background: linear-gradient(180deg, rgba(61,111,242,.08), transparent 55%); }
.tag-muted { color: var(--muted); border-color: var(--line); }
.price .from { display: block; font: 500 13px var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tl .plan .terms { border-top: 0; margin: 0; }
.tl .terms li { position: relative; padding: 0 0 0 20px; border: 0; font-size: 16px; color: var(--fg); }
.tl .terms li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--blue); border: 0; transform: none; }
.lede-list li { font-size: 19px !important; color: var(--muted) !important; }
.plan li b { color: var(--fg); font-weight: 600; }
.why .wrap { display: grid; justify-items: center; text-align: center; }
.why-head { font-size: clamp(36px, 5.2vw, 68px) !important; max-width: 18ch; margin-top: 16px !important; }
.why-sub { margin-top: 20px !important; font-size: 20px; color: #C9CCD1; max-width: 44ch; }
.vs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 64px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-align: left; }
.vs-col { padding: 36px 40px 40px; }
.vs-now { background: linear-gradient(180deg, rgba(229,72,77,.07), transparent 70%); }
.vs-after { background: linear-gradient(180deg, rgba(61,111,242,.12), transparent 70%); border-left: 1px solid var(--line); }
.vs-label { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px !important; }
.vs-now .vs-label { color: var(--red); }
.vs-after .vs-label { color: var(--blue); }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vs li { position: relative; padding: 12px 0 12px 34px; font-size: 18px; line-height: 1.4; }
.vs-now li { color: #B5B9BF; }
.vs-after li { color: var(--fg); font-weight: 500; }
.vs li::before, .vs li::after { content: ""; position: absolute; }
.vs-now li::before, .vs-now li::after { left: 4px; top: 1.15em; width: 14px; height: 2px; background: var(--red); transform: rotate(45deg); }
.vs-now li::after { transform: rotate(-45deg); }
.vs-after li::before { left: 5px; top: .95em; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.why-cta { margin-top: 48px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.why-cta span { color: var(--muted); font-size: 15px; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 14px; height: 14px; position: relative; margin-top: 6px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: var(--fg); transition: transform 300ms var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans p { color: var(--muted); max-width: 60ch; padding-bottom: 24px; }
.close { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.close-photo { position: absolute; inset: 0; }
.close-photo img { width: 100%; height: 100%; object-fit: cover; }
.close-photo::after { content: ""; position: absolute; inset: 0; background: rgba(11,12,14,.82); }
.close .wrap { position: relative; padding-block: 140px; display: grid; gap: 22px; justify-items: start; }
.close h2 { font-size: clamp(36px, 5.4vw, 68px) !important; max-width: 16ch; }
.close p { color: #C9CCD1; font-size: 19px; max-width: 50ch; }
.close .fine { font: 400 13px var(--mono); color: var(--muted); }
.tl footer .wrap { padding-block: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .intro, .film, .process, .faq-wrap, .hero-body { grid-template-columns: 1fr; gap: 32px; }
  .levers { grid-template-columns: 1fr; gap: 48px; }
  /* Phone/tablet: full-bleed photo behind the stage, one step at a time over its lower part */
  .process { height: calc(var(--n) * 70svh + 100svh); width: 100vw; margin-left: calc(50% - 50vw); }
  .process-stage { display: block; height: 100svh; padding: 0; }
  .process-photo { position: absolute; inset: 0; border-radius: 0; }
  .process-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 34%, rgba(0,0,0,0) 62%); }
  .process-photo .count { left: auto; right: 16px; top: 84px; bottom: auto; z-index: 1; }
  .process-rail { position: absolute; inset: auto 0 0 0; overflow: visible; padding: 0 20px 36px; -webkit-mask-image: none; mask-image: none; }
  .steps { display: grid; border-top: 0; transform: none !important; }
  .step { grid-area: 1 / 1; align-self: end; padding: 0; border-bottom: 0; opacity: 0; transform: translateY(28px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); pointer-events: none; }
  .step.on { opacity: 1; transform: none; pointer-events: auto; }
  .step::before { display: none; }
  .step h3, .step.on h3 { color: #fff; font-size: 26px; }
  .step p { color: #D5D8DC; font-size: 17px; }
  .step .n, .step.on .n { color: var(--blue); }
  .plans { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs-after { border-left: 0; border-top: 1px solid var(--line); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .top nav .link { display: none; }
  .hero-body { padding-block: 108px 40px; }
  section.block { padding-block: 80px; }
  .plan { padding: 28px 22px; }
  .vs-col { padding: 28px 22px 30px; }
  .vs li { font-size: 17px; }
  .close .wrap { padding-block: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .tl *, .tl *::before, .tl *::after { animation: none !important; transition: none !important; }
  .js .ph.pre { clip-path: none; }
  .js .ph.pre img { transform: none; }
  .js .fade.pre { opacity: 1; transform: none; }
}
