/* Blue Dial Systems: logo 7b (Iris, 2026-10-22). Navy hero with the robot video, silver sections below.
   Every color and font lives in :root so a different name or kit is one swap. */
:root {
  /* Light by default: the Silver and Sky palette */
  --ground: #D5DAE2;      /* Light Silver, the page */
  --fill: #C3CBD6;        /* Silver, big fills */
  --panel: #F3F5F8;       /* Polish, panels that stand off the page */
  --steel: #646D79;       /* small things only: lines, labels, marks */
  --ink: #0C1C45;         /* Dial Navy, text */
  --muted: #3A4556;       /* secondary text */
  --navy: #0C1C45;        /* text on sky buttons */
  --sky: #5AB8F2;         /* the one accent, on dark or as a fill */
  --sky-hover: #8BCDF6;
  --deep: #1F5FA8;        /* blue as text on light */
  --line: 1px solid rgba(100, 109, 121, .55);

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Sora", system-ui, sans-serif;

  --gutter: 64px;
  --max: 1320px;
  --r-btn: 4px;
  --nav-h: 72px;
  --vid: min(1050px, 64vw, calc((100svh - var(--nav-h) - 80px) * 1.75));
}

/* Dark navy for the nav, the hero video and the number line */
.dark {
  --ground: #0D1A33;
  --fill: #14244A;
  --panel: #182A52;
  --steel: #8A919A;
  --ink: #F3F5F8;
  --muted: #C3CBD6;
  --deep: #5AB8F2;
  --line: 1px solid rgba(138, 145, 154, .35);
  background: var(--ground);
  color: var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--panel); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.disp { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: .01em; }

/* Buttons: color changes on hover, nothing moves */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  border-radius: var(--r-btn); font: 600 14px/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; transition: background-color .2s, color .2s; }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: var(--sky-hover); }
.btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 12px; }

/* Nav */
.nav { border-bottom: var(--line); position: relative; z-index: 2; background: var(--ground); }
.nav .wrap { display: flex; align-items: center; gap: 32px; min-height: var(--nav-h); }
.lockup { display: flex; align-items: center; text-decoration: none; }
.lockup img { height: 52px; width: auto; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { font-size: 12px; text-decoration: none; display: inline-block; padding: 12px 0; transition: color .2s; }
.nav-links a:hover { color: var(--deep); }

/* First screen: hero plus the number line, sized to the window */
.first { display: flex; flex-direction: column; min-height: calc(100svh - var(--nav-h)); }
.first .hero { flex: 1; display: flex; align-items: center; }
.first .hero .wrap { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding-top: clamp(24px, 4vh, 56px); padding-bottom: clamp(24px, 4vh, 56px); }
.copy { position: relative; z-index: 1; }
.eyebrow { color: var(--deep); }
.mini .ticks { fill: var(--steel); }
.mini .ndl { fill: var(--deep); }
.eyebrow span { white-space: nowrap; }
.hero h1 { font-size: clamp(1.9rem, min(3.8vw, 6.6vh), 3.3rem); margin-top: 20px; text-transform: uppercase; line-height: 1.04; }
.hero h1 span { color: var(--deep); }
.lead { font-size: 18px; max-width: 34em; margin-top: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Copy fades in on load, opacity only so nothing shifts */
.in { animation: fade .9s ease-out both; }
.copy .in:nth-child(2) { animation-delay: .12s; }
.copy .in:nth-child(3) { animation-delay: .24s; }
.copy .in:nth-child(4) { animation-delay: .36s; }

/* The hero video: watch to planets and back, edges fade into the page */
.art { position: relative; display: grid; place-items: center; min-height: calc(var(--vid) * .5); }
.hero-video { position: absolute; left: 50%; top: 50%; width: var(--vid); max-width: none; height: auto;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none; background: var(--ground);
  -webkit-mask-image: radial-gradient(ellipse closest-side, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side, #000 74%, transparent 100%); }

/* The number line: prices riding a ruler, always moving */
.ticker { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto; align-items: stretch; background: var(--fill); border-top: var(--line); border-bottom: var(--line); }
.ticker-window { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: slide 80s linear infinite; }
.ticker-window:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; list-style: none; padding: 18px 0 28px;
  background-image:
    repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(138, 145, 154, .45) 0 1px, transparent 1px 12px);
  background-size: 100% 16px, 100% 8px; background-position: left bottom, left bottom; background-repeat: repeat-x; }
.ticker li { display: flex; align-items: baseline; gap: 14px; padding: 0 40px; white-space: nowrap; }
.ticker li::before { content: ""; width: 4px; height: 18px; background: var(--sky); align-self: center; margin-right: 26px; }
.ticker b { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.ticker span { font-size: 12px; color: var(--ink); }
.motion-toggle { align-self: center; margin: 0 16px; min-height: 44px; min-width: 44px; padding: 0 16px; font-size: 11px;
  background: var(--panel); color: var(--ink); border: var(--line); border-radius: var(--r-btn); cursor: pointer;
  transition: background-color .2s, color .2s; }
.motion-toggle:hover { background: var(--ink); color: var(--navy); }

/* Pause motion button stops everything */
.still *, .still *::before { animation-play-state: paused !important; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide { to { transform: translateX(-50%); } }

@media (max-width: 1060px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; --nav-h: 64px; --vid: min(135vw, 760px); }
  .lockup img { height: 42px; }
  .art { overflow: hidden; min-height: calc(var(--vid) * .56); margin: 0 calc(var(--gutter) * -1); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 48px; gap: 36px; }
  .lead { font-size: 17px; }
  .ticker-group { padding: 16px 0 26px; }
  .motion-toggle { margin: 0 10px; padding: 0 12px; }
  .ticker li { padding: 0 26px; }
  .ticker li::before { margin-right: 18px; }
  .ticker b { font-size: 16px; }
}
@media (max-width: 420px) {
  .lockup img { height: 38px; }
  .btn-sm { letter-spacing: .14em; padding: 0 16px; }
  .ctas .btn { flex: 1 1 100%; }
}

/* Reduced motion: everything holds still, the number line becomes a plain list */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before { animation: none !important; transition: none !important; }
  .ticker-track { width: auto; }
  .ticker { display: block; }
  .ticker-group { flex-wrap: wrap; row-gap: 14px; }
  .ticker .dup { display: none; }
  .motion-toggle { display: none; }
}

/* What we do: five rows, the needle steps one notch per row */
.services { padding: 120px 0 96px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.services h2 { font-size: clamp(1.45rem, 3.4vw, 2.9rem); text-transform: uppercase; line-height: 1.06; margin-top: 18px; }
.services h2 span { color: var(--deep); }
.section-intro { font-size: 18px; color: var(--muted); max-width: 32em; }
.svc-list { list-style: none; border-bottom: var(--line); }
.svc { display: grid; grid-template-columns: 300px 1fr 240px; gap: 48px; padding: 40px 0; border-top: var(--line); transition: background-color .2s; }
.svc:hover { background: var(--panel); }
.svc-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; row-gap: 14px; align-content: start; }
.svc-head h3 { grid-column: 1 / -1; font-size: 26px; text-transform: uppercase; line-height: 1.1; transition: color .2s; }
.svc:hover h3 { color: var(--deep); }
.svc-num { color: var(--steel); }
.svc-line { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.svc-body p:not(.svc-line) { color: var(--muted); max-width: 36em; }
.svc-price { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.svc-price b { font-size: 28px; line-height: 1.15; }
.svc-price span { color: var(--steel); font-size: 12px; }
.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding: 32px; background: var(--panel); border: var(--line); border-radius: var(--r-btn); }
.services-cta p { font-size: 18px; max-width: 34em; }
.fine { margin-top: 20px; font-size: 13px; color: var(--steel); }

@media (max-width: 1060px) {
  .svc { grid-template-columns: 1fr 200px; gap: 24px 32px; }
  .svc-head { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; }
  .svc-head h3 { grid-column: auto; }
}
@media (max-width: 900px) {
  .services { padding: 72px 0 64px; }
  .section-head, .team .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .svc { grid-template-columns: 1fr; padding: 28px 0; gap: 16px; }
  .svc:hover { background: none; }
  .svc-head { grid-template-columns: auto auto 1fr; }
  .svc-head h3 { font-size: 22px; }
  .svc-price { align-items: flex-start; text-align: left; flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .svc-price b { font-size: 22px; }
  .services-cta { flex-direction: column; align-items: stretch; padding: 24px 16px; }
}

/* Who we are */
.team { padding: 96px 0 104px; border-top: var(--line); }
.team .section-head { grid-template-columns: 1.3fr 1fr; }
.team h2 { font-size: clamp(1.45rem, 3vw, 2.5rem); text-transform: uppercase; line-height: 1.06; margin-top: 18px; }
.team h2 span { color: var(--deep); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.person { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.photo { aspect-ratio: 4 / 5; background: var(--fill); border: var(--line); border-radius: var(--r-btn); display: grid; place-items: center; text-align: center; padding: 12px; }
.photo .label { color: var(--steel); font-size: 11px; }
.role { color: var(--steel); font-size: 12px; }
.person h3, .bot h3 { font-size: 26px; text-transform: uppercase; margin: 10px 0 14px; }
.person-text p:not(.role), .bot-text p:not(.role) { color: var(--muted); }
.phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-weight: 600; color: var(--deep); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s; }
.phone:hover { border-color: var(--deep); }
.bot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 64px; padding: 24px; background: var(--panel); border: var(--line); border-radius: var(--r-btn); }
.bot img { width: 100%; border-radius: var(--r-btn); }
.bot-text { max-width: 30em; }

@media (max-width: 1060px) {
  .people { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .team { padding: 72px 0 72px; }
  .team .section-head { grid-template-columns: 1fr; }
  .person { grid-template-columns: 120px 1fr; gap: 18px; }
  .person h3, .bot h3 { font-size: 22px; }
  .bot { grid-template-columns: 1fr; gap: 20px; padding: 16px; margin-top: 48px; }
}
@media (max-width: 420px) {
  .person { grid-template-columns: 1fr; }
  .photo { max-width: 200px; }
}

/* How it works: four steps on one scale, the needle sweeps across them */
.how { padding: 96px 0 104px; border-top: var(--line); }
.how h2, .contact h2 { font-size: clamp(1.45rem, 3.2vw, 2.7rem); text-transform: uppercase; line-height: 1.06; margin-top: 18px; }
.how h2 span, .contact h2 span { color: var(--deep); }
.track { position: relative; height: 34px; margin-bottom: 28px;
  background-image:
    linear-gradient(var(--steel), var(--steel)),
    repeating-linear-gradient(90deg, var(--steel) 0 2px, transparent 2px 25%),
    repeating-linear-gradient(90deg, rgba(100, 109, 121, .5) 0 1px, transparent 1px 2.5%);
  background-size: 100% 2px, calc(100% + 2px) 22px, 100% 10px;
  background-position: left bottom, left bottom, left bottom; background-repeat: no-repeat, repeat-x, repeat-x; }
.track-needle { position: absolute; left: 0; bottom: -6px; width: 6px; height: 40px; border-radius: 3px; background: var(--deep);
  animation: sweep-steps 12s ease-in-out infinite; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-num { color: var(--steel); }
.steps h3 { font-size: 20px; text-transform: uppercase; margin: 10px 0 12px; }
.steps p { color: var(--muted); }
@keyframes sweep-steps {
  0%, 14% { left: 0; }
  25%, 39% { left: 25%; }
  50%, 64% { left: 50%; }
  75%, 89% { left: 75%; }
  100% { left: 0; }
}

/* Contact, back on navy */
.contact { padding: 104px 0; }
.contact-head { max-width: 40em; margin-bottom: 48px; }
.contact .section-intro { margin-top: 20px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.call { padding: 32px; background: var(--panel); border: var(--line); border-radius: var(--r-btn); }
.call h3 { font-size: 26px; text-transform: uppercase; margin: 10px 0 6px; }
.call-num { display: inline-block; font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--sky); text-decoration: none; padding: 6px 0; }
.call-num:hover { color: var(--sky-hover); }
.call-btns { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.contact .btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.contact .btn-ghost:hover { background: var(--ink); color: var(--navy); }

/* Footer */
.foot { border-top: var(--line); padding: 48px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.foot .lockup img { height: 48px; }
.foot nav { margin-left: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; }
.foot-links a { font-size: 12px; text-decoration: none; display: inline-block; padding: 12px 0; transition: color .2s; }
.foot-links a:hover { color: var(--sky); }
.foot-fine { flex-basis: 100%; font-size: 13px; color: var(--steel); }

@media (max-width: 900px) {
  .how, .contact { padding: 72px 0; }
  .track { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--steel); }
  .steps li { padding: 0 0 28px 20px; position: relative; }
  .steps li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--deep); }
  .cards { grid-template-columns: 1fr; }
  .call { padding: 24px 16px; }
  .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .track-needle { left: 0; }
}
