/* Homepage: extra styles on top of /assets/css/base.css (hero, method). Loaded on every page. */

/* ── Hero: black, with the brandbook gradient rising from the corner ── */
.hh { position: relative; overflow: hidden; isolation: isolate; padding: 112px 0 104px; background: var(--ink); color: #fff; }
.hh::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(130, 244, 200, .55) 0%, rgba(130, 244, 200, 0) 60%),
    radial-gradient(55% 75% at 78% 70%, rgba(20, 47, 247, .75) 0%, rgba(20, 47, 247, 0) 65%),
    radial-gradient(60% 80% at 62% 30%, rgba(109, 74, 255, .7) 0%, rgba(109, 74, 255, 0) 70%);
}
.hh-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.hh-title { margin-top: 18px; font-size: var(--fs-h1); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; }
.hh-title span { color: var(--lav); }
.hh-lead { margin: 22px 0 32px; max-width: 44ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, .86); }
.hh :focus-visible { outline-color: var(--lav); }
@media (max-width: 960px) { .hh-in { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* Brief-to-live timeline. Measured over the gradient at 390 to 1280 px,
   the dimmest line (white .72) stays at 5.2:1 or better without a panel. */
.flow { position: relative; display: grid; gap: 12px; }
.flow::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(255, 255, 255, .2); }
.flow li { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 8px; border-radius: 16px; transition: background .4s; }
.flow-i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .4s, color .4s, transform .4s var(--ease); position: relative; z-index: 1; }
.flow-i .ms { font-size: 20px; }
.flow strong { display: block; font-weight: 650; color: rgba(255, 255, 255, .86); transition: color .4s; }
.flow li span:not(.ms):not(.flow-i) { font-size: .85rem; color: rgba(255, 255, 255, .72); }
.flow li.is-done .flow-i { background: var(--lav); color: #000; }
.flow li.is-done strong { color: #fff; }
.flow li.is-now { background: rgba(0, 0, 0, .35); }
.flow li.is-now .flow-i { background: #fff; color: var(--purple); transform: scale(1.12); }
.flow li.is-now strong { color: #fff; }

.hh-platforms { margin-top: 36px; border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .86); }
.hh .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hh .btn-ghost:hover { border-color: #fff; }

/* ── Service cards: two rows of three ────────── */
.lanes + .lanes { margin-top: 16px; }
.lane-run .lane-head p, .lane-run .lane-tag { color: rgba(255, 255, 255, .78); }

/* ── Method: five stages plus collaboration ───── */
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .steps-5 { grid-template-columns: minmax(0, 1fr); } }
/* Verify is the stage that sets us apart */
.steps-5 li:nth-child(3) { background: #000; border-color: #000; color: #fff; }
.steps-5 li:nth-child(3) p { color: rgba(255, 255, 255, .8); }

.collab { margin-top: 20px; display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: 20px; background: var(--purple); color: #fff; }
.collab .ms { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--purple); font-size: 22px; }
.collab h3 { font-size: 1.1rem; margin-bottom: 6px; }
.collab p { color: #fff; font-size: .95rem; }

/* How we work: asymmetric mosaic with a video tile */
.mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(10, 52px); gap: 12px; }
.mosaic figure { border-radius: 18px; }
.m-video { grid-column: 1 / 8; grid-row: 1 / 7; border-radius: 28px 28px 28px 8px !important; background: var(--ink); }
.m-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-a { grid-column: 8 / 13; grid-row: 2 / 6; }
.m-b { grid-column: 2 / 8; grid-row: 7 / 11; border-radius: 8px 18px 18px 28px !important; }
.m-c { grid-column: 8 / 11; grid-row: 6 / 11; }
.m-d { grid-column: 11 / 13; grid-row: 6 / 9; border-radius: 18px 28px 18px 18px !important; }
.m-a img { object-position: 40% center; }
.m-c img { object-position: 55% center; }
.m-video-cap {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .8rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.m-video-cap .ms { font-size: 16px; color: var(--lav); }
.m-video-btn {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
}
.m-video-btn .ms { font-size: 20px; }
.m-video-btn:focus-visible { outline-color: #fff; }
/* Small accent square fills the empty top-right corner */
.mosaic::before { content: ''; grid-column: 12 / 13; grid-row: 1 / 2; border-radius: 12px; background: var(--hs); }
@media (max-width: 960px) { .mosaic { grid-template-rows: repeat(10, 46px); } }
@media (max-width: 560px) {
  .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(7, 48px); gap: 10px; }
  .mosaic::before { display: none; }
  .m-video { grid-column: 1 / 7; grid-row: 1 / 5; }
  .m-a { display: block; grid-column: 1 / 4; grid-row: 5 / 8; }
  .m-c { grid-column: 4 / 7; grid-row: 5 / 8; }
  .m-b, .m-d { display: none; }
  .m-a .chip-float, .m-c .chip-float { display: none; }
}
.clock-city { font-weight: inherit; }

/* One line under the three main services, linking the others */
.lanes-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 22px 0 0; font-size: 15px; }
.lanes-more > span { color: var(--muted); font-weight: 600; }
.lanes-more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.lanes-more a:hover { border-color: currentColor; }
.lanes-more .ms { font-size: 18px; }
