/* ==========================================================================
   VELORIQ SOFTWARE LTD - Components & page systems
   10. Heroes
   11. Breadcrumbs & page meta
   12. Cards (service, solution, related)
   13. Editorial blocks (lists, numbered rows, split features)
   14. Diagrams & visual systems
   15. Process timeline
   16. Accordion / FAQ
   17. Pricing
   18. CTA band
   19. Forms (multi-step enquiry)
   20. Legal pages, 404, cookie notice
   ========================================================================== */

/* --------------------------------------------------------------------------
   10. HEROES
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; }
.hero-body { position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 1rem + 7vw, 7rem)); padding-bottom: clamp(3.5rem, 1.5rem + 7vw, 7.5rem); }
.hero-inner { max-width: 46rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero-eyebrow { color: inherit; opacity: .9; }

/* Accent + muted tokens for heroes that sit outside the surface system */
.hero--home, .hero--editorial { --accent: var(--cobalt-light); --fg: #fff; --fg-muted: rgba(255,255,255,.8); --rule: rgba(255,255,255,.2); --rule-strong: rgba(255,255,255,.42); }
.hero--dark-left { --accent: var(--teal-light); --fg: #fff; --fg-muted: rgba(255,255,255,.8); --rule: rgba(255,255,255,.2); --rule-strong: rgba(255,255,255,.42); }
.hero--light-left, .hero--right, .hero--split, .hero--panel { --accent: var(--cobalt); --fg: var(--ink); --fg-muted: var(--slate); }
.hero--service[data-cat="development"] { --accent: var(--cobalt-light); }
.hero--service[data-cat="consultancy"] { --accent: var(--teal-light); }

/* Home - warm interior, light text over a left ink gradient */
.hero--home { --focal: 62% 50%; color: #fff; min-height: min(92vh, 860px); display: flex; }
.hero--home .hero-scrim {
  background:
    linear-gradient(100deg, rgba(8,12,20,.90) 0%, rgba(8,12,20,.74) 32%, rgba(8,12,20,.34) 58%, rgba(8,12,20,.06) 82%),
    linear-gradient(to top, rgba(8,12,20,.45), transparent 45%);
}
.hero--home .lead { color: rgba(255,255,255,.82); max-width: 44ch; }
.hero--home .hero-body { display: flex; flex-direction: column; justify-content: center; width: 100%; }

/* Light-left: bright photo with an empty wall on the left, dark type.
   The scrim is held opaque well past the text column so the copy never has to
   compete with detail in the photograph. */
.hero--light-left { --focal: 68% 50%; color: var(--ink); min-height: min(72vh, 660px); display: flex; }
.hero--light-left .hero-scrim {
  background:
    linear-gradient(96deg, rgba(251,250,248,.985) 0%, rgba(251,250,248,.96) 34%, rgba(251,250,248,.74) 52%, rgba(251,250,248,.18) 72%, rgba(251,250,248,0) 84%),
    linear-gradient(to bottom, rgba(251,250,248,.55), transparent 30%);
}
.hero--light-left .hero-body { display: flex; flex-direction: column; justify-content: center; width: 100%; }
.hero--light-left .lead { color: var(--slate); }

/* Split: solid editorial panel beside a full-bleed photo */
.hero--split { background: var(--paper); }
.hero--split .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: stretch; }
.hero--split .hero-panel {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 5.5rem));
  padding-bottom: clamp(3rem, 1.5rem + 5vw, 5.5rem);
  padding-right: clamp(1.5rem, 1rem + 3vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero--split .hero-photo { position: relative; min-height: 420px; }
.hero--split .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero--split .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,250,248,.5), transparent 22%);
}

/* Dark-left: naturally dark photograph, light type, very light scrim only */
.hero--dark-left { --focal: 58% 50%; color: #fff; min-height: min(80vh, 720px); display: flex; }
.hero--dark-left .hero-scrim {
  background: linear-gradient(92deg, rgba(9,13,22,.86) 0%, rgba(9,13,22,.62) 38%, rgba(9,13,22,.18) 66%, transparent 88%);
}
.hero--dark-left .lead { color: rgba(255,255,255,.8); }
.hero--dark-left .hero-body { display: flex; flex-direction: column; justify-content: center; width: 100%; }

/* Floating panel: content sits in a raised warm panel over the photograph */
.hero--panel { --focal: 60% 46%; min-height: min(84vh, 780px); display: flex; align-items: flex-end; }
.hero--panel .hero-scrim { background: linear-gradient(to top, rgba(14,20,32,.34), transparent 52%); }
.hero--panel .hero-body { width: 100%; padding-bottom: 0; }
.hero--panel .hero-card {
  background: var(--paper);
  padding: clamp(1.9rem, 1.1rem + 2.6vw, 3.4rem);
  max-width: 40rem;
  box-shadow: var(--shadow-l);
  border-top: 3px solid var(--cobalt);
  transform: translateY(clamp(1.5rem, 3vw, 3rem));
}
.hero--panel.hero--teal .hero-card { border-top-color: var(--teal); }

/* Editorial: type anchored bottom-left over a moody image */
.hero--editorial { --focal: 50% 42%; color: #fff; min-height: min(86vh, 800px); display: flex; align-items: flex-end; }
.hero--editorial .hero-scrim {
  background:
    linear-gradient(to top, rgba(8,11,18,.88) 0%, rgba(8,11,18,.6) 30%, rgba(8,11,18,.16) 62%, rgba(8,11,18,.28) 100%);
}
.hero--editorial .lead { color: rgba(255,255,255,.8); max-width: 52ch; }
.hero--editorial .hero-inner { max-width: 56rem; }

/* Editorial light: bright photo, type anchored low-left, split heading and lead */
.hero--editorial-light { --focal: 72% 46%; --accent: var(--cobalt); --fg: var(--ink); --fg-muted: var(--slate);
  color: var(--ink); min-height: min(78vh, 700px); display: flex; align-items: flex-end; }
.hero--editorial-light .hero-scrim {
  background:
    linear-gradient(94deg, rgba(251,250,248,.97) 0%, rgba(251,250,248,.9) 38%, rgba(251,250,248,.5) 62%, rgba(251,250,248,.1) 82%),
    linear-gradient(to top, rgba(251,250,248,.97) 0%, rgba(251,250,248,.82) 22%, rgba(251,250,248,.3) 44%, transparent 62%);
}
.hero--editorial-light .hero-split { border-top-color: rgba(14,20,32,.28); }
.hero--editorial-light .hero-inner { max-width: none; width: 100%; }
.hero--editorial-light .hero-split {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(1rem,.5rem + 2.4vw,3.5rem); align-items: end;
  padding-top: 1.75rem; border-top: 1px solid rgba(14,20,32,.22);
}
.hero--editorial-light h1 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.032em; margin-bottom: 0; }
.hero--editorial-light .lead { color: var(--slate); max-width: 44ch; }
@media (max-width: 860px) {
  .hero--editorial-light { min-height: 0; }
  .hero--editorial-light .hero-split { grid-template-columns: 1fr; gap: 1.15rem; }
  .hero--editorial-light .hero-scrim { background: linear-gradient(180deg, rgba(251,250,248,.94) 0%, rgba(251,250,248,.84) 42%, rgba(251,250,248,.6) 72%, rgba(251,250,248,.35) 100%); }
}

/* Right-positioned: bright wall on the right side of the photograph */
.hero--right { --focal: 30% 50%; color: var(--ink); min-height: min(76vh, 700px); display: flex; }
.hero--right .hero-scrim {
  background:
    linear-gradient(266deg, rgba(252,252,251,.99) 0%, rgba(252,252,251,.96) 30%, rgba(252,252,251,.66) 50%, rgba(252,252,251,.14) 72%, rgba(252,252,251,0) 86%),
    linear-gradient(to bottom, rgba(252,252,251,.5), transparent 26%);
}
.hero--right .hero-body { display: flex; flex-direction: column; justify-content: center; width: 100%; }
/* A refined translucent panel keeps the copy legible without flattening the
   photograph behind it. */
.hero--right .hero-inner {
  margin-left: auto; text-align: left; max-width: 35rem;
  background: rgba(252,252,251,.9);
  -webkit-backdrop-filter: blur(3px) saturate(105%);
  backdrop-filter: blur(3px) saturate(105%);
  padding: clamp(1.6rem,1.1rem + 1.9vw,2.6rem);
  border-left: 3px solid var(--cobalt);
  box-shadow: 0 30px 70px -34px rgba(14,20,32,.4);
}
.hero--right .lead { color: var(--slate); }
@media (max-width: 900px) {
  .hero--right .hero-inner { max-width: none; background: rgba(252,252,251,.86); }
}

/* Compact hero for service detail pages */
.hero--service { background: var(--ink); color: #fff; position: relative; }
.hero--service .hero-grid {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: center;
  padding-top: calc(var(--header-h) + clamp(2.25rem, 1rem + 4vw, 4.5rem));
  padding-bottom: clamp(2.75rem, 1.5rem + 4vw, 5rem);
}
.hero--service h1 { font-size: var(--fs-h1); margin-bottom: 1rem; }
.hero--service .lead { color: rgba(255,255,255,.78); }
.hero--service .hero-figure { position: relative; }
.hero--service .hero-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 2px;
}
.hero--service .hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(220deg, transparent 55%, rgba(14,20,32,.35));
  pointer-events: none;
}
.hero--service .hero-figure-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--paper); color: var(--ink);
  padding: .8rem 1.15rem;
  display: flex; align-items: baseline; gap: .55rem;
  box-shadow: var(--shadow-m);
}
.hero--service .hero-figure-tag small {
  font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .13em; font-weight: 660; color: var(--slate);
}
.hero--service .hero-figure-tag b { font-size: 1.22rem; letter-spacing: -0.02em; }
.hero--service::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: .5; pointer-events: none;
}
.hero--service .wrap { position: relative; }
.hero-service-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center;
  padding-block: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.13);
  margin-top: clamp(1.5rem,3vw,2.5rem);
}
.hero-service-meta div { display: grid; gap: .1rem; }
.hero-service-meta dt { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .13em; color: #8E99AB; font-weight: 620; }
.hero-service-meta dd { margin: 0; font-size: .95rem; font-weight: 600; }

@media (max-width: 900px) {
  .hero--split .hero-grid { grid-template-columns: 1fr; }
  .hero--split .hero-panel { padding-right: 0; padding-bottom: 2.5rem; }
  .hero--split .hero-photo { min-height: 300px; aspect-ratio: 16/10; }
  .hero--split .hero-photo::after { background: linear-gradient(0deg, transparent 60%, rgba(251,250,248,.4)); }
  .hero--service .hero-grid { grid-template-columns: 1fr; }
  .hero--service .hero-figure { order: -1; }
  .hero--right .hero-inner { margin-left: 0; }
  .hero--right .hero-scrim { background: linear-gradient(180deg, rgba(252,252,251,.97) 0%, rgba(252,252,251,.86) 46%, rgba(252,252,251,.5) 72%, rgba(252,252,251,.2) 100%); }
  .hero--light-left .hero-scrim { background: linear-gradient(180deg, rgba(251,250,248,.96) 0%, rgba(251,250,248,.88) 44%, rgba(251,250,248,.55) 74%, rgba(251,250,248,.2) 100%); }
  .hero--home .hero-scrim { background: linear-gradient(180deg, rgba(8,12,20,.88) 0%, rgba(8,12,20,.74) 46%, rgba(8,12,20,.6) 100%); }
  .hero--dark-left .hero-scrim { background: linear-gradient(180deg, rgba(9,13,22,.86) 0%, rgba(9,13,22,.68) 50%, rgba(9,13,22,.5) 100%); }
  .hero--panel .hero-card { transform: none; max-width: none; }
  .hero--panel { min-height: 0; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .hero--home, .hero--dark-left, .hero--editorial, .hero--light-left, .hero--right { min-height: 0; }
}

/* Credibility strip beneath hero */
.credstrip { border-bottom: 1px solid var(--rule); }
.credstrip ul { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.credstrip li {
  padding: 1.35rem 1rem 1.35rem 0;
  display: flex; align-items: center; gap: .7rem;
  font-size: .875rem; font-weight: 600; letter-spacing: -0.004em;
  border-left: 1px solid var(--rule); padding-left: 1.1rem;
}
.credstrip li:first-child { border-left: 0; padding-left: 0; }
.credstrip li svg { flex: none; color: var(--accent); }
@media (max-width: 980px) { .credstrip ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .credstrip li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .credstrip li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .credstrip ul { grid-template-columns: 1fr; }
  .credstrip li:nth-child(2) { border-top: 1px solid var(--rule); } }

/* --------------------------------------------------------------------------
   11. BREADCRUMBS
   -------------------------------------------------------------------------- */
.crumbs { padding-block: .9rem; border-bottom: 1px solid var(--rule); }
/* The floating hero card is translated down over the following bar, so the
   breadcrumbs need clearance or the two sets of text collide. */
.hero--panel + .crumbs { padding-top: calc(clamp(1.5rem, 3vw, 3rem) + 1.5rem); }
@media (max-width: 900px) { .hero--panel + .crumbs { padding-top: .9rem; } }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: var(--fs-micro); }
.crumbs li { display: flex; align-items: center; gap: .45rem; color: var(--fg-muted); }
.crumbs a { color: var(--fg-muted); transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs li[aria-current] { color: var(--fg); font-weight: 600; }
.crumbs .sep { opacity: .45; }

/* --------------------------------------------------------------------------
   12. CARDS
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* Service card - whole card is the link */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); padding: 0;
  transition: background-color .4s var(--ease);
  overflow: hidden;
}
.svc-card:hover { background: var(--panel); }
.svc-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-3); }
.svc-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.05s var(--ease-out), filter .6s var(--ease);
}
.svc-card:hover .svc-card-media img { transform: scale(1.075); }
.svc-card-num {
  position: absolute; top: 0; left: 0;
  background: var(--bg); color: var(--fg);
  padding: .55rem .85rem;
  font-size: var(--fs-micro); font-weight: 680; letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.svc-card-cat {
  position: absolute; bottom: 0; right: 0;
  background: var(--accent); color: #fff;
  padding: .42rem .75rem;
  font-size: .6875rem; font-weight: 660; letter-spacing: .11em; text-transform: uppercase;
}
.svc-card-body { padding: 1.5rem clamp(1.25rem,2.2vw,1.85rem) 1.6rem; display: flex; flex-direction: column; flex: 1; gap: .7rem; }
.svc-card h3 { font-size: 1.2rem; letter-spacing: -0.018em; transition: color .3s var(--ease); }
.svc-card:hover h3 { color: var(--accent); }
.svc-card p { font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.6; }
.svc-card-foot {
  margin-top: auto; padding-top: 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
.svc-card-foot::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .55s var(--ease-out);
}
.svc-card:hover .svc-card-foot::after { width: 100%; }
.svc-card-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center; flex: none;
  transition: background-color .34s var(--ease), border-color .34s var(--ease), color .34s var(--ease), transform .34s var(--ease-out);
}
.svc-card:hover .svc-card-arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.svc-card-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.svc-card:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.svc-card-link:focus-visible { outline: none; }

/* Expertise / category block */
.area-card {
  position: relative; display: grid; align-content: end;
  min-height: clamp(320px, 34vw, 440px);
  padding: clamp(1.6rem, 1rem + 2vw, 2.75rem);
  overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
}
.area-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.area-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8,12,20,.92) 8%, rgba(8,12,20,.62) 44%, rgba(8,12,20,.28) 80%);
  transition: opacity .5s var(--ease);
}
.area-card:hover img { transform: scale(1.055); }
.area-card h3 { font-size: clamp(1.45rem,1.1rem + 1.1vw,1.95rem); margin-bottom: .55rem; }
.area-card p { font-size: var(--fs-small); color: rgba(255,255,255,.78); max-width: 42ch; }
.area-card .area-count {
  position: absolute; top: clamp(1.4rem,2vw,2.2rem); right: clamp(1.4rem,2vw,2.2rem);
  font-size: var(--fs-micro); letter-spacing: .13em; text-transform: uppercase; font-weight: 660;
  padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.32); border-radius: 100px;
}
.area-card .area-list { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-top: 1.1rem; }
.area-card .area-list span {
  font-size: .75rem; padding: .28rem .6rem; border-radius: 3px;
  background: rgba(255,255,255,.11); color: rgba(255,255,255,.9);
}
.area-card .area-go {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.5rem; font-weight: 620; font-size: var(--fs-small);
}
.area-card .area-go svg { transition: transform .38s var(--ease-out); }
.area-card:hover .area-go svg { transform: translateX(5px); }
.area-card .card-link { position: absolute; inset: 0; z-index: 4; }
.area-card--dev .area-go { color: var(--cobalt-light); }
.area-card--con .area-go { color: var(--teal-light); }
.area-card--dev::after { background: linear-gradient(to top, rgba(10,20,44,.94) 8%, rgba(10,20,44,.6) 46%, rgba(8,14,30,.3) 82%); }
.area-card--con::after { background: linear-gradient(to top, rgba(6,32,32,.94) 8%, rgba(6,32,32,.6) 46%, rgba(6,26,28,.3) 82%); }

/* Solution card */
.sol-card {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  padding: clamp(1.4rem,1rem + 1.4vw,2rem);
  background: var(--panel);
  border: 1px solid var(--panel-rule);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .3s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.sol-card-index {
  font-family: var(--font-serif); font-size: 1.6rem; line-height: 1;
  color: var(--accent); opacity: .55;
}
.sol-card h3 { font-size: 1.16rem; }
.sol-card p { font-size: var(--fs-small); color: var(--fg-muted); }
.sol-card ul { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.sol-card ul li {
  font-size: .75rem; padding: .25rem .55rem; border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); font-weight: 600;
}
.sol-card .card-link { position: absolute; inset: 0; }
.sol-card-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .5rem; font-size: var(--fs-small); font-weight: 620; color: var(--accent); }
.sol-card-foot svg { transition: transform .34s var(--ease-out); }
.sol-card:hover .sol-card-foot svg { transform: translateX(4px); }

/* Related service card (compact) */
.rel-card {
  position: relative; display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 1.1rem; align-items: center;
  padding: 1rem; background: var(--panel); border: 1px solid var(--panel-rule);
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.rel-card img { width: 96px; height: 76px; object-fit: cover; }
.rel-card strong { display: block; font-size: .975rem; font-weight: 620; letter-spacing: -0.012em; }
.rel-card span { font-size: var(--fs-micro); color: var(--fg-muted); display: block; margin-top: .2rem; }
.rel-card .card-link { position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   13. EDITORIAL BLOCKS
   -------------------------------------------------------------------------- */
/* Numbered deliverable rows - deliberately not cards */
.numbered { border-top: 1px solid var(--rule); }
.numbered li {
  display: grid; grid-template-columns: 3.25rem minmax(0,1fr);
  gap: 0 clamp(.85rem,2vw,1.75rem);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color .3s var(--ease);
}
.numbered li:hover { background: color-mix(in srgb, var(--accent) 3.5%, transparent); }
.numbered .n {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  color: var(--accent); padding-top: .28rem;
}
.numbered strong { display: block; font-size: 1.04rem; font-weight: 620; letter-spacing: -0.012em; margin-bottom: .28rem; }
.numbered p { font-size: var(--fs-small); color: var(--fg-muted); margin: 0; }
.numbered--two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(1.5rem,3vw,3.5rem); }
.numbered--two li:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 760px) {
  .numbered--two { grid-template-columns: 1fr; }
  .numbered--two li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
}

/* Problem / outcome pairs */
.pair-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pair-list > div {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: clamp(.75rem,2vw,2rem); align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--rule);
}
.pair-list .from { color: var(--fg-muted); font-size: var(--fs-small); }
.pair-list .to { font-weight: 600; font-size: var(--fs-small); }
.pair-list .arrow { color: var(--accent); flex: none; }
@media (max-width: 700px) {
  .pair-list > div { grid-template-columns: 1fr; gap: .5rem; }
  .pair-list .arrow { transform: rotate(90deg); justify-self: start; }
}

/* Tick list */
.ticks { display: grid; gap: .8rem; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: .8rem; align-items: start; font-size: var(--fs-small); }
.ticks svg { color: var(--accent); margin-top: 4px; flex: none; }
.ticks--two { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(1.25rem,3vw,2.75rem); }
@media (max-width: 700px) { .ticks--two { grid-template-columns: 1fr; } }

/* Split feature: image + text */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(1.75rem, 1rem + 3.4vw, 4.5rem); align-items: center;
}
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media--tall img { aspect-ratio: 3/4; }
.split-badge {
  position: absolute; right: 0; bottom: 0; transform: translate(12%, 22%);
  background: var(--ink); color: #fff; padding: 1.1rem 1.35rem; max-width: 15rem;
  box-shadow: var(--shadow-m);
}
.split-badge b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1; margin-bottom: .35rem; }
.split-badge span { font-size: var(--fs-micro); color: #9BA5B6; line-height: 1.5; display: block; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-badge { transform: none; position: relative; max-width: none; margin-top: -1px; }
}

/* Stat row (factual only) */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--rule); }
.stat-row > div { padding: 1.75rem 1.25rem 1.75rem 0; border-right: 1px solid var(--rule); }
.stat-row > div:last-child { border-right: 0; }
.stat-row b { display: block; font-size: clamp(1.5rem,1.1rem + 1.2vw,2.15rem); letter-spacing: -0.028em; line-height: 1.1; margin-bottom: .35rem; }
.stat-row span { font-size: var(--fs-small); color: var(--fg-muted); }
@media (max-width: 820px) { .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-row > div:nth-child(2n) { border-right: 0; padding-right: 0; }
  .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 460px) { .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { border-right: 0; padding-right: 0; }
  .stat-row > div + div { border-top: 1px solid var(--rule); } }

/* Quote / statement block */
.statement {
  font-family: var(--font-serif); font-size: clamp(1.35rem, 1rem + 1.5vw, 2.15rem);
  line-height: 1.34; letter-spacing: -0.015em; max-width: 24ch;
}
.statement em { font-style: italic; color: var(--accent); }

/* Two-column definition panel */
.deflist { border-top: 1px solid var(--rule); }
.deflist > div {
  display: grid; grid-template-columns: minmax(0,.42fr) minmax(0,1fr);
  gap: .35rem clamp(1rem,3vw,3rem);
  padding: 1.2rem 0; border-bottom: 1px solid var(--rule);
}
.deflist dt { font-weight: 620; font-size: var(--fs-small); letter-spacing: -0.008em; }
.deflist dd { margin: 0; font-size: var(--fs-small); color: var(--fg-muted); }
@media (max-width: 640px) { .deflist > div { grid-template-columns: 1fr; } }

/* Panel (used sparingly) */
.panel {
  background: var(--panel); border: 1px solid var(--panel-rule);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
}
.panel--accent { border-left: 3px solid var(--accent); }
.panel--flat { background: transparent; border: 0; border-left: 2px solid var(--accent); padding: .35rem 0 .35rem 1.35rem; }

/* --------------------------------------------------------------------------
   14. DIAGRAMS & VISUAL SYSTEMS
   -------------------------------------------------------------------------- */
.figure-note {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-micro); color: var(--fg-muted); margin-top: 1.1rem;
  letter-spacing: .01em;
}
.figure-note::before { content: ""; width: 18px; height: 1px; background: var(--accent); flex: none; }

/* Pipeline: vertical on mobile, horizontal on desktop */
.pipeline { position: relative; display: grid; gap: 0; }
.pipeline--h { grid-template-columns: repeat(var(--steps, 6), minmax(0,1fr)); }
.pipeline-track { position: absolute; left: 0; right: 0; top: 27px; height: 1.5px; background: var(--rule); }
.pipeline-track i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.pipeline.is-in .pipeline-track i { transform: scaleX(1); }
.pipeline-step { position: relative; padding: 0 1rem 0 0; }
.pipeline-dot {
  position: relative; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--rule-strong);
  display: grid; place-items: center; margin-bottom: 1.15rem;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--fg-muted);
  transition: border-color .5s var(--ease), color .5s var(--ease), background-color .5s var(--ease), transform .5s var(--ease-out);
}
.pipeline.is-in .pipeline-step .pipeline-dot { border-color: var(--accent); color: var(--accent); }
.pipeline-step:hover .pipeline-dot { background: var(--accent); color: var(--accent-contrast, #fff); border-color: var(--accent); transform: scale(1.06); }
.pipeline-step h3 { font-size: 1rem; margin-bottom: .4rem; }
.pipeline-step p { font-size: var(--fs-micro); color: var(--fg-muted); line-height: 1.6; }
@media (max-width: 880px) {
  .pipeline--h { grid-template-columns: 1fr; }
  .pipeline-track { left: 26px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; }
  .pipeline-track i { transform-origin: top; transform: scaleY(0); }
  .pipeline.is-in .pipeline-track i { transform: scaleY(1); }
  .pipeline-step { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 0 1.25rem; padding: 0 0 1.75rem 0; }
  .pipeline-dot { margin-bottom: 0; }
  .pipeline-step > div { padding-top: .55rem; }
}

/* Node map (SVG driven) */
.nodemap { width: 100%; }
.nodemap svg { width: 100%; height: auto; overflow: visible; }
.nodemap .nm-link { stroke: var(--rule-strong); stroke-width: 1; fill: none; stroke-dasharray: 4 4; }
.nodemap .nm-pulse { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-dasharray: 6 200; }
.nodemap.is-in .nm-pulse { animation: nmFlow 4.5s linear infinite; }
@keyframes nmFlow { to { stroke-dashoffset: -206; } }
.nodemap .nm-hub { fill: var(--ink); }
.nodemap .nm-node { fill: var(--bg); stroke: var(--rule-strong); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.nodemap .nm-label { font-size: 11px; font-weight: 600; fill: var(--fg); }
.nodemap .nm-sub { font-size: 9.5px; fill: var(--fg-muted); }
.nodemap g.nm-item { cursor: default; }
.nodemap g.nm-item:hover .nm-node { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.nodemap g.nm-item:hover .nm-label { fill: var(--accent); }

/* Build-list: interactive "what we build" */
.buildlist { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(1.5rem,1rem + 3vw,4rem); align-items: start; }
.buildlist-nav { border-top: 1px solid var(--rule); }
.buildlist-nav button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 2.4rem minmax(0,1fr) auto; align-items: center; gap: .5rem 1rem;
  padding: 1.15rem .5rem 1.15rem 0; border-bottom: 1px solid var(--rule);
  transition: padding-left .35s var(--ease), color .3s;
  position: relative;
}
.buildlist-nav button::before {
  content: ""; position: absolute; left: -.5rem; top: 50%; width: 2px; height: 0;
  background: var(--accent); transform: translateY(-50%); transition: height .4s var(--ease-out);
}
.buildlist-nav button[aria-selected="true"]::before { height: 62%; }
.buildlist-nav button[aria-selected="true"] { padding-left: .9rem; }
.buildlist-nav .bl-n { font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted); }
.buildlist-nav .bl-t { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.014em; }
.buildlist-nav button[aria-selected="true"] .bl-t, .buildlist-nav button:hover .bl-t { color: var(--accent); }
.buildlist-nav .bl-i { opacity: 0; transition: opacity .3s, transform .3s var(--ease-out); transform: translateX(-6px); color: var(--accent); }
.buildlist-nav button[aria-selected="true"] .bl-i { opacity: 1; transform: none; }
.buildlist-panels { position: relative; min-height: 340px; }
.buildlist-panel { display: none; }
.buildlist-panel.is-active { display: block; animation: blFade .55s var(--ease-out); }
@keyframes blFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.buildlist-panel h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.buildlist-panel p { color: var(--fg-muted); font-size: var(--fs-small); margin-bottom: 1.25rem; max-width: 52ch; }
.buildlist-visual { border: 1px solid var(--rule); background: var(--panel); padding: clamp(1rem,2vw,1.6rem); }
.buildlist-visual svg { width: 100%; height: auto; }
@media (max-width: 880px) { .buildlist { grid-template-columns: 1fr; } .buildlist-panels { min-height: 0; } }

/* Schematic SVG shared styling */
.schematic { width: 100%; }
.schematic svg { width: 100%; height: auto; display: block; overflow: visible; }
.schematic .sc-box { fill: var(--panel); stroke: var(--rule-strong); stroke-width: 1.1; }
.schematic .sc-box-accent { fill: color-mix(in srgb, var(--accent) 10%, var(--bg)); stroke: var(--accent); stroke-width: 1.2; }
.schematic .sc-box-ink { fill: var(--ink); stroke: var(--ink); }
.schematic .sc-t { font-size: 11.5px; font-weight: 620; fill: var(--fg); }
.schematic .sc-t-light { fill: #fff; }
.schematic .sc-s { font-size: 9.5px; fill: var(--fg-muted); }
.schematic .sc-s-light { fill: rgba(255,255,255,.68); }
.schematic .sc-line { stroke: var(--rule-strong); stroke-width: 1.1; fill: none; }
.schematic .sc-line-accent { stroke: var(--accent); stroke-width: 1.4; fill: none; }
.schematic .sc-dash { stroke-dasharray: 4 4; }
.schematic .sc-cap { font-size: 9px; letter-spacing: .12em; font-weight: 660; fill: var(--fg-muted); text-transform: uppercase; }
.schematic .sc-draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
.schematic.is-in .sc-draw { animation: scDraw 1.4s var(--ease-out) forwards; }
.schematic.is-in .sc-draw-2 { animation-delay: .25s; }
.schematic.is-in .sc-draw-3 { animation-delay: .5s; }
.schematic.is-in .sc-draw-4 { animation-delay: .75s; }
@keyframes scDraw { to { stroke-dashoffset: 0; } }
.schematic .sc-fade { opacity: 0; }
.schematic.is-in .sc-fade { animation: scFade .7s var(--ease-out) forwards; }
.schematic.is-in .sc-fade-1 { animation-delay: .15s; }
.schematic.is-in .sc-fade-2 { animation-delay: .3s; }
.schematic.is-in .sc-fade-3 { animation-delay: .45s; }
.schematic.is-in .sc-fade-4 { animation-delay: .6s; }
.schematic.is-in .sc-fade-5 { animation-delay: .75s; }
.schematic.is-in .sc-fade-6 { animation-delay: .9s; }
@keyframes scFade { to { opacity: 1; } }
.schematic .sc-flow { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 3 14; }
.schematic.is-in .sc-flow { animation: scFlow 2.6s linear infinite; }
@keyframes scFlow { to { stroke-dashoffset: -34; } }

/* Layer stack diagram (architecture) */
.layers { display: grid; gap: .5rem; }
.layer {
  display: grid; grid-template-columns: minmax(0,.34fr) minmax(0,1fr); gap: 1rem;
  align-items: center; padding: 1rem 1.25rem;
  border: 1px solid var(--rule); background: var(--panel);
  transition: transform .4s var(--ease-out), border-color .3s, background-color .3s;
}
.layer:hover { transform: translateX(6px); border-color: var(--accent); }
.layer b { font-size: .95rem; letter-spacing: -0.01em; }
.layer span { font-size: var(--fs-micro); color: var(--fg-muted); }
.layer:nth-child(1) { margin-inline: 0 0; }
.layer--top { background: color-mix(in srgb, var(--accent) 9%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
@media (max-width: 560px) { .layer { grid-template-columns: 1fr; gap: .2rem; } }

/* Before / after comparison */
.compare { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: clamp(1rem,2.5vw,2.5rem); align-items: stretch; }
.compare-col { padding: clamp(1.25rem,2vw,1.9rem); border: 1px solid var(--rule); }
.compare-col--before { background: transparent; }
.compare-col--after { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.compare-col h3 { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; color: var(--fg-muted); }
.compare-col--after h4 { color: var(--accent); }
.compare-col li { display: grid; grid-template-columns: 16px 1fr; gap: .65rem; font-size: var(--fs-small); padding: .5rem 0; border-bottom: 1px dashed var(--rule); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col li svg { margin-top: 5px; opacity: .5; }
.compare-col--after li svg { color: var(--accent); opacity: 1; }
.compare-arrow { display: grid; place-items: center; color: var(--accent); }
@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } .compare-arrow { transform: rotate(90deg); padding: .25rem 0; } }

/* --------------------------------------------------------------------------
   15. PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.timeline { position: relative; display: grid; grid-template-columns: minmax(0,.36fr) minmax(0,1fr); gap: clamp(1.5rem,1rem + 3vw,4.5rem); align-items: start; }
.timeline > * { min-width: 0; }
.timeline-rail { position: sticky; top: calc(var(--header-h) + 2.5rem); min-width: 0; }
.timeline-rail ol { position: relative; padding-left: 1.9rem; }
.timeline-rail ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--rule); }
.timeline-rail-progress { position: absolute; left: 5px; top: 8px; width: 1.5px; background: var(--accent); height: 0; transition: height .3s linear; }
.timeline-rail li { position: relative; padding: .58rem 0; }
.timeline-rail li::before {
  content: ""; position: absolute; left: -1.9rem; top: 1.1rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--rule-strong);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease-out);
}
.timeline-rail li.is-active::before { border-color: var(--accent); background: var(--accent); transform: scale(1.18); }
.timeline-rail li a { display: flex; gap: .7rem; align-items: baseline; font-size: var(--fs-small); color: var(--fg-muted); transition: color .3s; }
.timeline-rail li.is-active a { color: var(--fg); font-weight: 620; }
.timeline-rail li a .tl-n { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); }

.timeline-stages { display: grid; gap: clamp(1.25rem,.8rem + 1.4vw,2rem); }

/* Each stage is a composed panel with a watermark numeral, a state rail and a
   three-column responsibility matrix. */
.tl-stage {
  position: relative; overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 2rem);
  background: var(--panel);
  border: 1px solid var(--panel-rule);
  border-radius: 4px;
  padding: clamp(1.4rem,1rem + 1.8vw,2.35rem) clamp(1.4rem,1rem + 1.8vw,2.35rem) clamp(1.4rem,1rem + 1.6vw,2rem);
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease-out);
}
.tl-stage::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--rule-strong);
  transform: scaleY(.2); transform-origin: top;
  transition: transform .6s var(--ease-out), background-color .45s var(--ease);
}
.tl-stage.is-current { border-color: color-mix(in srgb, var(--accent) 34%, transparent); box-shadow: var(--shadow-m); }
.tl-stage.is-current::after { background: var(--accent); transform: scaleY(1); }
.tl-watermark {
  position: absolute; right: -.04em; top: -.3em;
  font-family: var(--font-serif); font-size: clamp(6rem,4rem + 7vw,10rem); line-height: 1;
  color: var(--fg); opacity: .045; pointer-events: none; user-select: none;
}

.tl-stage-head { position: relative; display: flex; align-items: baseline; gap: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.tl-stage-head .tl-num {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  color: var(--accent); flex: none;
  padding: .3rem .5rem; border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 3px;
}
.tl-stage-head h2 { font-size: var(--fs-h3); }
.tl-stage-head p { font-size: var(--fs-small); color: var(--fg-muted); margin-top: .35rem; max-width: 54ch; }
.tl-stage .prose { position: relative; }

.tl-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); position: relative; }
.tl-cols > .tl-col { padding-inline: clamp(.9rem,1.8vw,1.6rem); border-left: 1px solid var(--rule); }
.tl-cols > .tl-col:first-child { padding-left: 0; border-left: 0; }
.tl-cols > .tl-col:last-child { padding-right: 0; }
.tl-col h3 {
  display: flex; align-items: center; gap: .55rem;
  font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .13em;
  color: var(--fg-muted); padding-bottom: .65rem; margin-bottom: .85rem; border-bottom: 1px solid var(--rule);
}
.tl-col h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--rule-strong); }
.tl-col--client h3::before { background: transparent; border: 1.5px solid var(--accent); }
.tl-col--vq h3::before { background: var(--accent); }
.tl-col--out h3::before { background: var(--fg); }
.tl-col li { font-size: var(--fs-small); padding: .34rem 0 .34rem 1rem; position: relative; color: var(--fg-muted); }
.tl-col li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 1px; background: var(--accent); }
.tl-col--out li { color: var(--fg); font-weight: 540; }
.tl-col--out li::before { background: var(--fg); }
@media (max-width: 720px) {
  .tl-cols > .tl-col { padding-inline: 0; border-left: 0; padding-top: 1.1rem; }
  .tl-cols > .tl-col:first-child { padding-top: 0; }
}

/* Faint blueprint ground, masked so it never fights the content */
.bg-blueprint { position: relative; isolation: isolate; }
.bg-blueprint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
  opacity: .55;
}

/* Rail readout */
.timeline-readout {
  display: flex; align-items: baseline; gap: .5rem;
  font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted);
  padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--rule);
}
.timeline-readout b { font-size: 1.5rem; color: var(--accent); font-family: var(--font-sans); font-weight: 660; letter-spacing: -0.02em; }
@media (max-width: 980px) { .timeline-readout { display: none; } }

/* Wide schematics scroll rather than shrink into illegibility */
.schematic--wide { overflow-x: auto; }
.schematic--wide svg { min-width: 780px; }
@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline-rail { position: static; }
  .timeline-rail ol { display: flex; overflow-x: auto; max-width: 100%; gap: 1.25rem; padding-left: 0; padding-bottom: .75rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .timeline-rail ol::before, .timeline-rail-progress { display: none; }
  .timeline-rail li::before { display: none; }
  .timeline-rail li { white-space: nowrap; border-bottom: 2px solid var(--rule); }
  .timeline-rail li.is-active { border-bottom-color: var(--accent); }
}
@media (max-width: 720px) { .tl-cols { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-trigger {
  width: 100%; display: grid; grid-template-columns: minmax(0,1fr) 32px; gap: 1.5rem; align-items: center;
  padding: 1.3rem 0; text-align: left;
  font-size: clamp(1rem,.96rem + .2vw,1.1rem); font-weight: 600; letter-spacing: -0.014em;
  transition: color .28s var(--ease);
}
.acc-trigger:hover { color: var(--accent); }
.acc-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; justify-self: end; transition: border-color .3s, background-color .3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: currentColor; transition: transform .38s var(--ease-out), opacity .3s; }
.acc-icon::before { width: 11px; height: 1.5px; }
.acc-icon::after  { width: 1.5px; height: 11px; }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); opacity: 0; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open > .acc-panel { grid-template-rows: 1fr; }
/* No-JS fallback: without scripting, every panel stays open and readable. */
html:not(.has-js) .acc-panel { grid-template-rows: 1fr; }
html:not(.has-js) .acc-icon { display: none; }
.acc-body { padding: 0 clamp(0rem,4vw,3.5rem) 1.6rem 0; }
.acc-body p { font-size: var(--fs-small); color: var(--fg-muted); max-width: 74ch; }
.acc-body p + p { margin-top: .8rem; }
.acc-body ul { margin-top: .7rem; display: grid; gap: .4rem; }
.acc-body ul li { font-size: var(--fs-small); color: var(--fg-muted); padding-left: 1rem; position: relative; }
.acc-body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 1px; background: var(--accent); }

/* FAQ category filter */
.faq-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.faq-filter button {
  padding: .5rem .95rem; border: 1px solid var(--rule-strong); border-radius: 100px;
  font-size: var(--fs-micro); font-weight: 600; color: var(--fg-muted);
  transition: all .28s var(--ease);
}
.faq-filter button:hover { border-color: var(--fg); color: var(--fg); }
.faq-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-group { margin-bottom: 3rem; }
.faq-group[hidden] { display: none; }
.faq-group-title { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .35rem; }
.faq-group-title h2 { font-size: 1.25rem; }
.faq-group-title span { font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   17. PRICING
   -------------------------------------------------------------------------- */
.price-table { border-top: 1px solid var(--rule); }
.price-row {
  position: relative;
  display: grid; grid-template-columns: 2.5rem minmax(0,1fr) auto auto;
  gap: 1rem clamp(.75rem,2vw,2rem); align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
  transition: background-color .3s var(--ease), padding-left .35s var(--ease);
}
.price-row:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); padding-left: .75rem; }
.price-row .pr-n { font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted); }
.price-row .pr-name { font-weight: 600; font-size: 1rem; letter-spacing: -0.012em; }
.price-row .pr-cat { font-size: var(--fs-micro); color: var(--fg-muted); display: block; margin-top: .15rem; }
.price-row .pr-price { font-weight: 660; font-size: 1.06rem; letter-spacing: -0.018em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row .pr-price small { display: block; font-size: var(--fs-micro); font-weight: 600; color: var(--fg-muted); letter-spacing: .1em; text-transform: uppercase; }
.price-row .pr-go { color: var(--fg-muted); transition: transform .34s var(--ease-out), color .3s; }
.price-row:hover .pr-go { color: var(--accent); transform: translateX(4px); }
.price-row .card-link { position: absolute; inset: 0; }
@media (max-width: 620px) {
  .price-row { grid-template-columns: 2.5rem minmax(0,1fr) auto; }
  .price-row .pr-go { display: none; }
}

.pricing-note {
  font-size: var(--fs-small); color: var(--fg-muted);
  border-left: 2px solid var(--accent); padding-left: 1.1rem; max-width: 62ch;
}

.price-hero {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: clamp(1.25rem,3vw,3rem); align-items: center;
  padding: clamp(1.5rem,1rem + 2vw,2.5rem); border: 1px solid var(--rule); background: var(--panel);
}
.price-hero .ph-value { font-size: clamp(2.1rem,1.5rem + 2vw,3.1rem); letter-spacing: -0.035em; line-height: 1; font-weight: 660; }
.price-hero .ph-from { font-size: var(--fs-micro); letter-spacing: .15em; text-transform: uppercase; color: var(--fg-muted); font-weight: 660; margin-bottom: .5rem; }
@media (max-width: 700px) { .price-hero { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   18. CTA BAND
   -------------------------------------------------------------------------- */
/* The CTA sits in an inset panel on a light band, so it never merges into the
   dark footer directly beneath it. The light band is the breathing space. */
.cta-band {
  position: relative;
  background: var(--paper);
  padding-block: clamp(3.25rem, 2rem + 4vw, 5.5rem) clamp(4rem, 2.5rem + 5vw, 7rem);
}
.cta-band--onalt { background: var(--paper-2); }
.cta-band--ondeep { background: var(--paper-3); }

.cta-panel {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-radius: 5px;
  padding: clamp(2.1rem, 1.4rem + 2.8vw, 3.75rem) clamp(1.5rem, 1rem + 3vw, 3.75rem);
  box-shadow: 0 30px 70px -30px rgba(14,20,32,.45);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 68% 92% at 82% 34%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 68% 92% at 82% 34%, #000, transparent 72%);
}
.cta-panel::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--cobalt-light), rgba(109,155,255,.15));
}
.cta-panel > .cta-inner { position: relative; }

.cta-inner {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: clamp(1.75rem,1rem + 3vw,4rem); align-items: center;
}
.cta-inner h2 { font-size: clamp(1.7rem,1.2rem + 1.9vw,2.5rem); margin-bottom: .9rem; max-width: 20ch; line-height: 1.14; }
.cta-inner p { color: #A6B0C0; font-size: var(--fs-lead); max-width: 46ch; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.cta-band--accent .cta-panel { background: #16295F; }
.cta-band--accent .cta-panel::after { background: linear-gradient(to bottom, var(--cobalt-light), rgba(109,155,255,.2)); }
.cta-band--teal .cta-panel { background: #0A3B39; }
.cta-band--teal .cta-panel::after { background: linear-gradient(to bottom, var(--teal-light), rgba(79,196,188,.2)); }
.cta-band--accent .cta-inner p, .cta-band--teal .cta-inner p { color: rgba(255,255,255,.84); }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   19. FORMS
   -------------------------------------------------------------------------- */
.form-shell { background: var(--panel); border: 1px solid var(--panel-rule); box-shadow: var(--shadow-m); }
.form-head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: clamp(1.25rem,2vw,1.75rem) clamp(1.25rem,2.6vw,2.5rem);
  border-bottom: 1px solid var(--panel-rule);
}
.form-head h2 { font-size: 1.16rem; }
.form-head p { font-size: var(--fs-micro); color: var(--fg-muted); margin-top: .15rem; }
.form-progress { display: flex; align-items: center; gap: .5rem; }
.form-progress-bar { width: clamp(90px,18vw,180px); height: 3px; background: var(--rule); overflow: hidden; border-radius: 2px; }
.form-progress-bar i { display: block; height: 100%; background: var(--accent); width: 14%; transition: width .5s var(--ease-out); }
.form-progress span { font-family: var(--font-mono); font-size: .72rem; color: var(--fg-muted); white-space: nowrap; }

.form-body { padding: clamp(1.5rem,2.6vw,2.5rem); }
.fstep { display: none; }
.fstep.is-active { display: block; animation: blFade .45s var(--ease-out); }
.fstep-title { margin-bottom: .4rem; font-size: 1.28rem; }
.fstep-hint { font-size: var(--fs-small); color: var(--fg-muted); margin-bottom: 1.85rem; max-width: 58ch; }

.field { margin-bottom: 1.35rem; }
.field label, .fieldset-legend {
  display: block; font-size: var(--fs-small); font-weight: 620; margin-bottom: .5rem; letter-spacing: -0.006em;
}
.field .opt { font-weight: 500; color: var(--fg-muted); font-size: var(--fs-micro); }
.field-hint { font-size: var(--fs-micro); color: var(--fg-muted); margin-top: .4rem; }
.input, .select, .textarea {
  width: 100%; padding: .82rem 1rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-s);
  font-size: var(--fs-small);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235A6577' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.35rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.err { display: none; font-size: var(--fs-micro); color: #B3261E; margin-top: .4rem; font-weight: 600; }
.field.has-error .err, .choice-group.has-error .err { display: block; }
.choice-group.has-error .choice-grid { outline: 1px solid #B3261E; outline-offset: 6px; }

.choice-grid { display: grid; gap: .65rem; }
.choice-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 720px) { .choice-grid--2, .choice-grid--3 { grid-template-columns: 1fr; } }

.choice {
  position: relative; display: flex; align-items: flex-start; gap: .75rem;
  padding: .95rem 1.1rem; border: 1px solid var(--rule-strong); border-radius: var(--radius-s);
  cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.choice:hover { border-color: var(--accent); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice .box {
  width: 19px; height: 19px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--rule-strong); border-radius: 4px;
  display: grid; place-items: center;
  transition: all .22s var(--ease);
}
.choice input[type="radio"] ~ .box { border-radius: 50%; }
.choice .box svg { opacity: 0; transform: scale(.5); transition: all .22s var(--ease-out); color: #fff; }
.choice input:checked ~ .box { background: var(--accent); border-color: var(--accent); }
.choice input:checked ~ .box svg { opacity: 1; transform: none; }
.choice input:focus-visible ~ .box { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.choice .ct { display: block; font-size: var(--fs-small); font-weight: 600; letter-spacing: -0.008em; }
.choice .cs { display: block; font-size: var(--fs-micro); color: var(--fg-muted); margin-top: .15rem; }

.form-nav {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: clamp(1.15rem,2vw,1.5rem) clamp(1.25rem,2.6vw,2.5rem);
  border-top: 1px solid var(--panel-rule); background: color-mix(in srgb, var(--fg) 2.5%, var(--panel));
}
.form-nav .step-count { font-size: var(--fs-micro); color: var(--fg-muted); font-family: var(--font-mono); }
.form-nav-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-left: auto; }
@media (max-width: 560px) {
  .form-nav-actions { width: 100%; margin-left: 0; }
  .form-nav-actions .btn { flex: 1 1 auto; }
  .form-nav .step-count { width: 100%; }
}

.summary-list { border-top: 1px solid var(--rule); margin-bottom: 1.5rem; }
.summary-list > div { display: grid; grid-template-columns: minmax(0,.4fr) minmax(0,1fr); gap: .35rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.summary-list dt { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .1em; color: var(--fg-muted); font-weight: 660; }
.summary-list dd { margin: 0; font-size: var(--fs-small); }
.summary-list dd.is-empty { color: var(--fg-muted); font-style: italic; }
@media (max-width: 560px) { .summary-list > div { grid-template-columns: 1fr; } }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: 1rem 1.15rem; border-radius: var(--radius-s); font-size: var(--fs-small); margin-bottom: 1.25rem; }
.form-status.is-shown { display: block; }
.form-status--error { background: rgba(179,38,30,.08); border: 1px solid rgba(179,38,30,.3); color: #8C1D18; }
.form-status--info { background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }

.form-success { display: none; text-align: center; padding: clamp(2.5rem,2rem + 3vw,4.5rem) clamp(1.25rem,2.6vw,2.5rem); }
.form-success.is-shown { display: block; animation: blFade .6s var(--ease-out); }
.form-success-mark { width: 68px; height: 68px; margin: 0 auto 1.5rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); display: grid; place-items: center; color: var(--accent); }
.form-success h2 { font-size: 1.6rem; margin-bottom: .7rem; }
.form-success p { color: var(--fg-muted); max-width: 48ch; margin: 0 auto 1.1rem; font-size: var(--fs-small); }
.form-success .cluster { justify-content: center; margin-top: 1.75rem; }

/* Contact detail rail */
.contact-rail { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.contact-rail > a, .contact-rail > div {
  display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 1rem; align-items: start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--rule);
  transition: padding-left .35s var(--ease);
}
.contact-rail > a:hover { padding-left: .6rem; }
.contact-rail .cr-ico { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.contact-rail dt, .contact-rail strong { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .13em; color: var(--fg-muted); font-weight: 660; display: block; margin-bottom: .3rem; }
.contact-rail b, .contact-rail address { font-size: 1.02rem; font-weight: 620; font-style: normal; letter-spacing: -0.012em; line-height: 1.5; }
.contact-rail small { display: block; font-size: var(--fs-micro); color: var(--fg-muted); margin-top: .3rem; font-weight: 400; letter-spacing: 0; text-transform: none; }

/* --------------------------------------------------------------------------
   20. LEGAL, 404, COOKIE NOTICE
   -------------------------------------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: minmax(0,.3fr) minmax(0,1fr); gap: clamp(1.75rem,1rem + 3vw,4.5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); }
.legal-toc h2 { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .14em; color: var(--fg-muted); margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule); }
.legal-toc li a { display: block; padding: .38rem 0 .38rem .9rem; font-size: var(--fs-small); color: var(--fg-muted); border-left: 1.5px solid var(--rule); transition: all .25s var(--ease); }
.legal-toc li a:hover, .legal-toc li a.is-active { color: var(--accent); border-left-color: var(--accent); padding-left: 1.15rem; }
.legal-body { max-width: 74ch; }
.legal-body section { scroll-margin-top: calc(var(--header-h) + 2rem); }
.legal-body section + section { margin-top: 2.75rem; padding-top: 2.75rem; border-top: 1px solid var(--rule); }
.legal-body h2 { font-size: 1.35rem; margin-bottom: .9rem; display: flex; gap: .8rem; align-items: baseline; }
.legal-body h2 .ln { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); flex: none; padding-top: .2rem; }
.legal-body h3 { font-size: 1.02rem; margin: 1.6rem 0 .55rem; }
.legal-body p { font-size: var(--fs-small); color: var(--fg-muted); }
.legal-body p + p { margin-top: .85rem; }
.legal-body ul { margin: .85rem 0; display: grid; gap: .5rem; }
.legal-body ul li { font-size: var(--fs-small); color: var(--fg-muted); padding-left: 1.15rem; position: relative; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: var(--accent); }
.legal-body strong { color: var(--fg); font-weight: 620; }
.legal-meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding: 1rem 0 2.5rem; font-size: var(--fs-micro); color: var(--fg-muted); }
.legal-callout {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  padding: clamp(1.15rem,2vw,1.75rem); margin: 1.5rem 0;
}
.legal-callout p { color: var(--fg); }
.legal-callout .phone-big {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: clamp(1.2rem,1rem + .9vw,1.6rem); font-weight: 680; letter-spacing: -0.02em;
  margin-top: .6rem; color: var(--accent);
}
.legal-callout .phone-big:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 940px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; }
  .legal-toc ul { display: flex; flex-wrap: wrap; gap: .4rem; }
  .legal-toc li a { border: 1px solid var(--rule); border-radius: 100px; padding: .35rem .8rem; font-size: var(--fs-micro); }
  .legal-toc li a:hover, .legal-toc li a.is-active { padding-left: .8rem; border-color: var(--accent); } }

.back-to-top {
  position: fixed; right: clamp(1rem,2.5vw,2rem); bottom: clamp(1rem,2.5vw,2rem); z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s var(--ease-out); box-shadow: var(--shadow-m);
}
.back-to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--cobalt); }

.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.notfound .code { font-family: var(--font-serif); font-size: clamp(5rem,3rem + 9vw,10rem); line-height: .85; color: var(--accent); opacity: .22; margin-bottom: -.2em; }

.cookie-notice {
  position: fixed; left: clamp(1rem,3vw,2rem); bottom: clamp(1rem,3vw,2rem); z-index: 95;
  max-width: 27rem; background: var(--ink); color: #E9EBEF;
  padding: 1.35rem 1.5rem; box-shadow: var(--shadow-l);
  border-left: 3px solid var(--cobalt);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.cookie-notice.is-shown { transform: none; }
.cookie-notice h2 { font-size: 1rem; margin-bottom: .5rem; color: #fff; }
.cookie-notice p { font-size: var(--fs-micro); color: #9BA5B6; line-height: 1.6; margin-bottom: 1rem; }
.cookie-notice a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .cluster { gap: .6rem; }
@media (max-width: 520px) { .cookie-notice { left: 0; right: 0; bottom: 0; max-width: none; border-left: 0; border-top: 3px solid var(--cobalt); } }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 1.75rem; }
.mt-l { margin-top: 2.75rem; }
.mb-m { margin-bottom: 1.75rem; }
.mb-l { margin-bottom: 2.75rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .grid--sidebar, .grid--sidebar-rev { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
  .mega-inner { grid-template-columns: 1fr; }
}
