/* fitur.html · Product overview: the route map (signature), stops, mini-graph, strip.
   Page-local on top of kit/kit.css. */

/* ------------------------------------------------ hero */
.hub-h1 { max-width: 15.5em; font-size: calc(clamp(44px, 5.4vw, 100px) * var(--ts, 1)); }
.page-hero__foot .hero-note { grid-column: 1 / 7; margin-top: 22px; }

/* ------------------------------------------------ (01) intro */
.path__sub { margin-top: calc(-1 * clamp(24px, 3vw, 56px)); }

/* ------------------------------------------------ the route bar (sticky) */
.route { position: relative; margin-top: clamp(56px, 6vw, 96px); }
.route__bar {
  position: sticky; top: var(--nav-h); z-index: 6;
  background: var(--paper);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair);
}
.route__bar .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.route__list { grid-column: 2 / 13; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
/* the hairline that joins the stations, and its terracotta fill up to the current one */
.route__list::before, .route__list::after { content: ""; position: absolute; left: 7px; right: calc(100% / 8 - 7px); top: 50%; height: 1px; background: var(--hair-2); transform-origin: 0 50%; }
.route__list::after { background: var(--accent); transform: scaleX(var(--route-p, 0)); transition: transform .8s var(--ease); }
.route__list li { position: relative; z-index: 1; }
.route__list a {
  display: flex; align-items: center; gap: 8px; height: 60px; padding-right: 12px;
  font: 500 13.5px/1.15 var(--f-sans); letter-spacing: -.012em; color: var(--muted);
  transition: color .5s var(--ease);
}
.route__list a .num { display: none; font-size: 11px; color: inherit; background: var(--paper); padding: 0 4px; }
.route__name { background: var(--paper); padding: 0 6px 0 0; white-space: nowrap; }
.route__node {
  position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--hair-2); background: var(--paper);
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
/* the spotlight ring: a dashed circle with soft light, only on the current station */
.route__node::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px dashed var(--accent);
  background: radial-gradient(circle, rgba(194, 73, 46, .2), rgba(194, 73, 46, 0) 70%);
  opacity: 0; transform: scale(.4) rotate(-40deg); transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.route__list li.is-done a { color: var(--ink); }
.route__list li.is-done .route__node { border-color: var(--accent); background: var(--accent); }
.route__list li.is-cur a { color: var(--ink); }
.route__list li.is-cur .route__node { border-color: var(--accent); background: var(--accent); }
.route__list li.is-cur .route__node::before { opacity: 1; transform: none; }
.route__list a:hover { color: var(--ink); }
.route__now { display: none; }

/* ------------------------------------------------ the stops */
.stop { padding-top: clamp(88px, 9vw, 140px); padding-bottom: clamp(16px, 2vw, 32px); align-items: start; }
.stop + .stop { border-top: 0; }
.stop__text { grid-column: 2 / 7; }
.stop__media { grid-column: 7 / 13; padding-top: 34px; }
.stop__label { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 22px; }
.stop__label .num { color: var(--muted); }
.stop__h { margin-bottom: 22px; max-width: 18em; }
.stop .body { max-width: 31em; }
.stop__small { margin-top: 18px; }
.stop__links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 28px; }
.stop__links .link { font-size: 15px; }
.stop__second { width: 62%; margin: 40px 0 0 auto; }
.stop .frame__cap { font-size: 12px; }
.frame__cap b { font-weight: 500; color: var(--ink); font-family: var(--f-sans); font-size: 14px; letter-spacing: -.01em; margin-right: 4px; }
a.frame__media { display: block; cursor: zoom-in; }
a.frame__media:focus-visible { outline-offset: 16px; }

/* today / in Obscura */
.ba { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); margin-top: 32px; border-top: 1px solid var(--hair); }
.ba__col { padding-top: 16px; }
.ba__col dt { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ba__col dd { font-size: 16px; line-height: 1.5; color: var(--muted); }
.ba__col--us dt { color: var(--ink); }
.ba__col--us dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ba__col--us dd { color: var(--ink); }

/* Stop 07: the two intelligence suites */
.suites { margin-top: 30px; border-top: 1px solid var(--hair); }
.suites__item { padding: 20px 0 22px; border-bottom: 1px solid var(--hair); }
.suites__t { font-size: clamp(20px, 1.6vw, 26px); margin-bottom: 8px; }
.suites dd p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 30em; margin-bottom: 10px; }
.suites .link { font-size: 15px; }

/* ------------------------------------------------ Stop 06: share link + secure preview (calm moment) */
.sh { position: relative; margin: 0; padding: 0 0 0 0; }
.sh__page { position: relative; width: 78%; margin-left: auto; aspect-ratio: 1 / 1.08; background: #fff; border: 1px solid var(--hair-2); overflow: hidden; }
.sh__pv { position: absolute; right: 12px; top: 12px; z-index: 3; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--paper); border: 1px solid var(--hair-2); padding: 6px 8px 5px; }
.sh__doc { position: absolute; inset: 12% 11% 10%; display: flex; flex-direction: column; gap: 9px; }
.sh__doc b { font-weight: 500; font-size: clamp(12px, 1vw, 15px); letter-spacing: .02em; color: #2B3A55; margin-bottom: 6px; }
.sh__bar { display: block; height: 6px; border-radius: 1px; background: #E6E3DC; width: 100%; }
.sh__bar--s { width: 46%; }
.sh__bar--m { width: 72%; }
.sh__bar--h { width: 34%; height: 8px; background: #CFD6E2; margin-top: 10px; }
/* the visible watermark: repeated identity lines across the page */
.sh__wm { position: absolute; inset: -20% -60%; z-index: 2; display: flex; flex-direction: column; justify-content: space-around; transform: rotate(-24deg); pointer-events: none; }
.sh__wm span { white-space: nowrap; text-align: center; font: 500 clamp(11px, .95vw, 14px)/1 var(--f-mono); letter-spacing: .04em; color: var(--accent); opacity: .34; }
.sh__link { position: absolute; left: 0; bottom: 12%; z-index: 4; width: min(330px, 58%); display: flex; flex-direction: column; gap: 7px; padding: 16px 18px 14px; background: var(--paper-2); border: 1px solid var(--ink); box-shadow: 0 22px 44px -28px rgba(20, 20, 19, .45); }
.sh__k { font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sh__link b { font-weight: 500; font-size: 15px; line-height: 1.25; letter-spacing: -.012em; }
.sh__to { font: 400 11px/1.4 var(--f-mono); color: var(--muted); }
.sh__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sh__chips .pill { padding: 5px 8px; font-size: 11px; }
.sh__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--hair); font: 400 11px/1 var(--f-mono); color: var(--muted); }
.sh__rev { font: 500 12px/1 var(--f-sans); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 6px 12px; }
.sh__cap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--hair); }
.sh__leg { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.sh__sw { width: 22px; height: 0; border-top: 2px solid rgba(194, 73, 46, .5); }
.sh__sw--inv { border-top: 1px dashed var(--faint); }
/* the moment: the link card settles, then the watermark lines fade in across the page, one by one */
.js:not(.reduce) .sh__link { transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js:not(.reduce) .sh:not(.is-on) .sh__link { opacity: 0; transform: translateY(18px); }
.js:not(.reduce) .sh__wm span { transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.js:not(.reduce) .sh:not(.is-on) .sh__wm span { opacity: 0; transform: translateX(-28px); }
.js:not(.reduce) .sh__wm span:nth-child(1) { transition-delay: .7s; }
.js:not(.reduce) .sh__wm span:nth-child(2) { transition-delay: .85s; }
.js:not(.reduce) .sh__wm span:nth-child(3) { transition-delay: 1s; }
.js:not(.reduce) .sh__wm span:nth-child(4) { transition-delay: 1.15s; }
.js:not(.reduce) .sh__wm span:nth-child(5) { transition-delay: 1.3s; }

/* ------------------------------------------------ the mini-graph (static, graph-spec styling) */
.mg {
  position: relative; margin: 0; padding: 34px 30px 26px;
  background: radial-gradient(circle, #D3CDC2 1px, transparent 1.3px) 0 0 / 18px 18px;
  border: 1px solid var(--hair);
}
.mg__k { display: block; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mg__proj { display: inline-flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--accent); box-shadow: 0 0 0 1px var(--accent); padding: 12px 16px 13px; margin-bottom: 34px; }
.mg__proj .mg__k { color: var(--accent); }
.mg__proj b { font-weight: 500; font-size: 16px; letter-spacing: -.012em; }
.mg__row { display: flex; align-items: center; }
.mg__row + .mg__row { margin-top: 26px; }
.mg__card { flex: 0 0 auto; width: 37%; display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--hair-2); padding: 11px 13px 12px; font-size: 12.5px; line-height: 1.35; }
.mg__card b { font-weight: 500; font-size: 14px; letter-spacing: -.01em; }
.mg__card span:last-child { color: var(--muted); }
.mg__card--contract { border-left: 3px solid var(--accent); }
.mg__edge { position: relative; flex: 1 1 auto; height: 1px; background: var(--ink); margin: 0 2px; min-width: 60px; }
.mg__edge::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--ink); border-right: 0; }
.mg__edge--sug { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); }
.mg__edge--sug::after { border-left-color: var(--accent); }
.mg__chip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px;
  font: 500 11px/1.1 var(--f-sans); background: var(--paper); border: 1px solid var(--ink);
}
.mg__chip--sug { border-style: dashed; border-color: var(--accent); }
.mg__chip--sug i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mg__cap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--hair); background: var(--paper); }
.mg__leg { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.mg__sw { width: 22px; height: 1px; background: var(--ink); }
.mg__sw--sug { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); }
.mg__cap .tag { margin-left: auto; }

/* ------------------------------------------------ (02) strip */
.more__sub { margin-top: calc(-1 * clamp(24px, 3vw, 56px)); margin-bottom: clamp(56px, 6vw, 88px); }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.strip .frame__cap { display: block; }
.strip .frame__cap .num { display: block; margin-bottom: 6px; }
.more__link { margin-top: 56px; }

/* ------------------------------------------------ CTA */
.cta-h { font-size: clamp(44px, 5.6vw, 104px); max-width: 13.5em; }
.cta-h + div .body + .body { margin-top: 18px; }

/* ------------------------------------------------ lightbox */
.lb { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 20, 19, .9); display: none; }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: min(94vw, 1600px); max-height: 88vh; width: auto; height: auto; background: #fff; }
.lb__close { position: absolute; right: 20px; top: 16px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(245, 244, 240, .4); background: transparent; color: var(--paper); font: 500 14px/1 var(--f-sans); cursor: pointer; }
.lb__close:focus-visible { outline-color: var(--paper); }

/* ------------------------------------------------ mid widths */
@media (max-width: 1240px) {
  .route__list a { gap: 8px; font-size: 13px; }
}
@media (max-width: 1100px) {
  .stop__text { grid-column: 2 / 13; }
  .stop__media { grid-column: 2 / 13; padding-top: 48px; }
  .stop__second { width: 55%; }
  .route__list .route__name { display: none; }
  .route__list a .num { display: inline; }
  .route__list::before, .route__list::after { right: calc(100% / 8 - 7px); }
  .route__now { display: block; grid-column: 2 / 13; justify-self: end; position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); color: var(--ink); background: var(--paper); padding-left: 10px; }
  .route__list { grid-column: 2 / 10; }
}

/* ------------------------------------------------ phones: the spine */
@media (max-width: 760px) {
  .hub-h1 { font-size: calc(clamp(36px, 10.4vw, 52px) * var(--ts, 1)); }
  .page-hero__foot .hero-note { margin-top: 22px; }
  .path__sub, .more__sub { margin-top: -16px; }
  .route { margin-top: 44px; }
  .route__bar .wrap { display: flex; justify-content: space-between; padding-left: 52px; }
  .route__list { flex: 1; grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: 200px; }
  .route__list a { height: 48px; gap: 0; padding: 0; }
  .route__list a .num { display: none; }
  .route__list::before, .route__list::after { left: 6px; right: calc(100% / 8 - 6px); }
  .route__node { width: 12px; height: 12px; }
  .route__node::before { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .route__now { position: static; transform: none; display: block; padding-left: 12px; white-space: nowrap; }
  .stop { padding-top: 72px; padding-bottom: 8px; }
  .stop__media { padding-top: 36px; }
  .stop__second { width: 78%; margin-top: 30px; }
  .stop__h { font-size: 24px; }
  .ba { grid-template-columns: 1fr; }
  .ba__col + .ba__col { margin-top: 14px; border-top: 1px solid var(--hair); }
  .sh__page { width: 100%; aspect-ratio: 1 / 1.05; }
  .sh__link { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 14px 0; }
  .mg { padding: 24px 14px 18px; }
  .mg__row { flex-direction: column; align-items: stretch; }
  .mg__card { width: 100%; }
  .mg__edge { width: 1px; height: 56px; min-width: 0; flex: none; margin: 2px 0 2px 24px; }
  .mg__edge::after { right: auto; left: -4px; top: auto; bottom: -1px; border: 4.5px solid transparent; border-top: 7px solid var(--ink); border-bottom: 0; }
  .mg__edge--sug { background: repeating-linear-gradient(180deg, var(--accent) 0 4px, transparent 4px 8px); }
  .mg__edge--sug::after { border-top-color: var(--accent); border-left-color: transparent; }
  .mg__chip { left: 16px; transform: translate(0, -50%); }
  .mg__cap .tag { margin-left: 0; }
  .strip { display: block; }
  .strip .frame + .frame { margin-top: 44px; }
  .more__link { margin-top: 40px; }
  .cta-h { font-size: clamp(34px, 9.6vw, 46px); }
  .stop__links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stop__links .link, .more__link .link { display: block; background: none; line-height: 1.5; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
}
