/* ForgeCRO v3.1 (2026-09-27): only what aso-v3.css does not already provide.
 *
 * aso-v3.css is the aqsashahzad.com sheet, @scope (.aso-v3). ForgeCRO pages now use its own
 * components by name: opener, ch/ch-grid, proc, pk-ladder, faq-list, stats, talk-stage, ftr-*,
 * aso-contact-card/-steps/-mail/-badges. This file holds the ForgeCRO chrome (header, drawer,
 * footer rows), plain-markup versions of rules aso-v3.css writes for Elementor wrappers (the
 * contact split, the article grid), the widgets carried from v2 (tool frame, hero video, URL
 * bar, quiz) and a light theme for the forms that now sit in a white card.
 *
 * TRAPS (all bit this port before):
 *  - inside @scope, a bare `.fc-hdr` never matches the scope ROOT: write :scope.fc-hdr.
 *  - a selector starting with `html` never matches inside @scope: keep html.js rules outside.
 *  - `:scope{padding-block:var(--section)!important}` hits every .aso-v3 root: chrome opts out.
 *  - never a blanket 44px min-height on footer links (it doubled the footer).
 *  - an <svg> without a size renders at 300x150: every icon here is sized.
 */

/* ---------- outside the scope: the page itself ---------- */
body.fc-p {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.fc-p main { display: block; }
html.fc-lock, html.fc-lock body { overflow: hidden; }

.fc-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 0.75rem 1.25rem; background: #ff7700; color: #000; font-weight: 600; border-radius: 0 0 8px 0;
}
.fc-skip:focus { left: 0; }

/* ================= HEADER: the aqsashahzad bar, measured ================= */
@scope (.aso-v3) {
  :scope.fc-hdr {
    padding-block: 0 !important;
    position: sticky;
    top: 0;
    z-index: 60;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .fc-hdr-in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
  .fc-brand { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
  .fc-brand img { display: block; height: 33px; width: auto; }

  .fc-nav { display: flex; align-items: stretch; align-self: stretch; margin-inline-start: auto; }
  .fc-menu { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
  .fc-menu > li { display: flex; align-items: center; }
  .fc-top {
    display: inline-flex; align-items: center; gap: 0.35rem;
    min-height: 44px; padding: 0 0.95rem;
    font: 500 0.94rem/1 var(--font-body); letter-spacing: -0.005em;
    color: rgba(255, 255, 255, 0.84);
    background: none; border: 0; cursor: pointer; text-decoration: none;
    text-underline-offset: 0.45em; text-decoration-thickness: 1px;
    transition: color var(--dur) var(--ease);
  }
  .fc-top:hover, .fc-top:focus-visible { color: #fff; }
  .fc-chev { display: inline-grid; place-items: center; color: var(--grey-2); }
  .fc-chev .i { width: 0.8rem; height: 0.8rem; transition: transform var(--dur) var(--ease); }
  .fc-has.is-sub > .fc-top { color: #fff; text-decoration: underline; }
  .fc-has.is-sub > .fc-top .fc-chev .i { transform: rotate(180deg); }

  .fc-hdr-cta { flex: none; min-height: 44px; padding: 0 1.3rem; font-size: 0.94rem; font-weight: 500; gap: 0.6rem; }

  /* the mega panel: full width under the bar, grouped columns + one feature card */
  .fc-mm {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #0a0a0a; border-bottom: 1px solid var(--edge);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
  }
  .fc-has.is-sub > .fc-mm { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .fc-mm-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 20rem); gap: 2.5rem 3rem; padding-block: 2.25rem 2.75rem; }
  .fc-mm-h { margin: 0 0 1.25rem; font: 600 0.68rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); }
  .fc-mm-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem; }
  .fc-mm-col a { display: grid; gap: 0.4rem; text-decoration: none; }
  .fc-mm-col b { font: 600 0.94rem/1.3 var(--font-body); color: #fff; }
  .fc-mm-col span { font-size: 0.8125rem; line-height: 1.4; color: rgba(255, 255, 255, 0.5); }
  .fc-mm-col a:hover b, .fc-mm-col a:focus-visible b { text-decoration: underline; text-underline-offset: 0.25em; }
  .fc-mm-card { align-self: start; display: grid; gap: 0.9rem; padding: 1.75rem; border: 1px solid var(--edge-2); border-radius: 14px; background: #141414; }
  .fc-mm-k { margin: 0; font: 600 0.68rem/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--or); }
  .fc-mm-t { margin: 0; font: 500 1.3rem/1.2 var(--font-display); letter-spacing: -0.02em; color: #fff; }
  .fc-mm-p { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--grey); }
  .fc-mm-card .pill { justify-self: start; min-height: 40px; padding: 0 1.1rem; font-size: 0.875rem; gap: 0.55rem; }

  .fc-dr-head, .fc-dr-foot { display: none; }
  .fc-burger {
    display: none; flex: none; width: 46px; height: 46px; padding: 0;
    border: 1px solid var(--edge-2); border-radius: 12px; background: transparent; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  }
  .fc-burger span { display: block; width: 18px; height: 1.5px; background: #fff; }
  .fc-scrim { display: none; }

  /* 1025-1280: tighten the links so "Book a call" never wraps (aqsashahzad fix, same band) */
  @media (min-width: 1025px) and (max-width: 1280px) {
    .fc-top { padding: 0 0.7rem; }
    .fc-hdr-cta { padding: 0 1.05rem; }
  }
  /* a desktop pointer opens a panel on hover as well as on click */
  @media (min-width: 1025px) and (hover: hover) {
    .fc-has:hover > .fc-mm { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .fc-has:hover > .fc-top { color: #fff; }
  }

  /* <=1024 without JS: the links stay visible, stacked under the bar (script never owns visibility) */
  @media (max-width: 1024px) {
    .fc-hdr-in { flex-wrap: wrap; }
    .fc-hdr-cta { display: none; }
    .fc-nav { order: 3; width: 100%; margin: 0; flex-direction: column; }
    .fc-menu { flex-direction: column; }
    .fc-menu > li { display: block; border-top: 1px solid var(--edge); }
    .fc-top { width: 100%; justify-content: space-between; min-height: 54px; padding: 0; font: 600 1.0625rem/1.2 var(--font-body); color: #fff; }
    .fc-mm { position: static; visibility: visible; opacity: 1; transform: none; background: transparent; border: 0; display: none; transition: none; }
    .fc-has.is-sub > .fc-mm { display: block; }
    .fc-mm-in { grid-template-columns: 1fr; gap: 1.5rem; padding: 0.25rem 0 1.25rem; width: auto; }
    .fc-mm-card { display: none; }
    .fc-mm-h { margin-bottom: 0.6rem; }
    .fc-mm-col ul { gap: 0; }
    .fc-mm-col a { min-height: 44px; align-content: center; }
    .fc-mm-col b { font-weight: 500; }
    .fc-mm-col span { display: none; }
    .fc-chev { width: 42px; height: 24px; border: 1px solid var(--or); border-radius: 999px; color: var(--or); }
  }
}

/* The drawer (JS proven). OUTSIDE @scope on purpose: html is not inside the scope root. */
@media (max-width: 1024px) {
  html.js .aso-v3.fc-hdr .fc-burger { display: inline-flex; }
  html.js .aso-v3.fc-hdr .fc-nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 90;
    width: min(92vw, 345px); order: 0;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(120% 45% at 0% 0%, rgba(255, 119, 0, 0.22), transparent 60%), #000;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    transform: translateX(-100%); visibility: hidden;
    transition: transform 280ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear 280ms;
  }
  html.js .aso-v3.fc-hdr.is-open .fc-nav { transform: none; visibility: visible; transition: transform 280ms cubic-bezier(0.2, 0, 0, 1); }
  html.js .aso-v3.fc-hdr .fc-dr-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 80px; padding: 0 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  html.js .aso-v3.fc-hdr .fc-dr-head .fc-brand img { height: 28px; }
  html.js .aso-v3.fc-hdr .fc-dr-close {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: #fff;
  }
  html.js .aso-v3.fc-hdr .fc-dr-close .i { width: 18px; height: 18px; }
  html.js .aso-v3.fc-hdr .fc-menu { padding: 0 1.25rem; }
  html.js .aso-v3.fc-hdr .fc-menu > li:first-child { border-top: 0; }
  html.js .aso-v3.fc-hdr .fc-menu > li { border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  html.js .aso-v3.fc-hdr .fc-dr-foot {
    display: grid; gap: 0.55rem; margin-top: auto; padding: 1.5rem 1.25rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
  html.js .aso-v3.fc-hdr .fc-dr-foot .pill { justify-content: space-between; min-height: 52px; padding: 0 1.25rem; margin-bottom: 0.9rem; }
  html.js .aso-v3.fc-hdr .fc-dr-lbl { margin: 0; font: 600 0.68rem/1.2 "Inter", system-ui, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #8a8a85; }
  html.js .aso-v3.fc-hdr .fc-dr-mail { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.84); text-decoration: none; font-size: 0.95rem; }
  html.js .aso-v3.fc-hdr .fc-scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, 0.6); }
  html.js .aso-v3.fc-hdr .fc-scrim[hidden] { display: none; }
}
@media (max-width: 640px) {
  .aso-v3.fc-hdr .fc-hdr-in > .fc-brand img { height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-mm, .fc-nav, .fc-chev .i { transition: none !important; }
}

/* ================= FOOTER: the aqsashahzad footer, four columns ================= */
@scope (.aso-v3) {
  :scope.fc-ftr { padding: 72px 0 28px !important; border-top: 1px solid var(--edge); }
  :scope.fc-ftr .ftr-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr-logo img { height: 33px; }

  /* the newsletter keeps its handler (fc_newsletter); it sits in the slim-row slot */
  .fc-news { align-items: center; justify-content: space-between; gap: 1rem 2rem; }
  .fc-news .lbl { margin: 0; }
  .fc-news-row { display: flex; gap: 0.5rem; flex: 1 1 22rem; max-width: 30rem; }
  .fc-news-row input[type="email"] {
    flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0.6rem 1rem;
    border: 1px solid var(--edge-2); border-radius: var(--pill); background: var(--glass);
    color: #fff; font: inherit; font-size: var(--text-sm);
  }
  .fc-news-row input[type="email"]::placeholder { color: var(--grey-2); }
  .fc-news-row input[type="email"]:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; border-color: transparent; }
  .fc-news-row button { flex: none; min-height: 44px; padding: 0 1.2rem; border: 0; cursor: pointer; font-size: var(--text-sm); }
  .fc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

  /* "Ask AI for a summary": the aqsashahzad row (its CSS lives in a mu-plugin there) */
  .aso-ai { display: block; padding: 1.75rem 0 1.5rem; border-top: 1px solid var(--edge); margin-top: 1.75rem; }
  .aso-ai-in { display: flex; align-items: center; gap: 2rem 3rem; flex-wrap: wrap; justify-content: space-between; }
  .aso-ai h3 { font: 600 0.68rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin: 0 0 0.5rem; }
  .aso-ai-note { font-size: 0.845rem; color: rgba(255, 255, 255, 0.64); max-width: 54ch; line-height: 1.55; margin: 0; }
  .aso-ai-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: flex-start; }
  a.aso-ai-b { display: grid; justify-items: center; gap: 0.45rem; text-decoration: none; color: rgba(255, 255, 255, 0.64); font-size: 0.72rem; line-height: 1; transition: color 0.2s ease; }
  a.aso-ai-b i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--aso-ai-bg); color: var(--aso-ai-fg); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform 0.2s ease, box-shadow 0.2s ease; }
  a.aso-ai-b svg { width: 24px; height: 24px; display: block; }
  a.aso-ai-b:hover { color: #fff; }
  a.aso-ai-b:hover i { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
  .aso-ai-copy { font-size: 0.72rem; color: var(--or); opacity: 0; transition: opacity 0.3s; white-space: nowrap; align-self: center; }
  .aso-ai-copy.on { opacity: 1; }

  @media (max-width: 900px) { :scope.fc-ftr .ftr-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; } }
  @media (max-width: 640px) {
    .fc-news-row { flex-basis: 100%; max-width: none; }
    .aso-ai-btns { gap: 0.6rem; }
    a.aso-ai-b i { width: 42px; height: 42px; }
  }
}
@media (prefers-reduced-motion: reduce) { .aso-ai * { transition: none !important; } }

/* ================= SHARED SECTION PIECES ================= */
@scope (.aso-v3) {
  .fc-em, h1 .peach, h2 .peach { color: var(--peach); font-style: normal; }
  :scope.light .fc-em { color: var(--or-ink); }

  a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--or-ink, var(--or)); outline-offset: 3px;
  }

  /* breadcrumb */
  .fc-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.45rem; margin: 0 0 1.5rem; font-size: var(--text-sm); color: var(--grey-2); }
  .fc-crumb a { display: inline-flex; align-items: center; min-height: 2rem; color: var(--grey); text-decoration: none; border-bottom: 1px solid var(--edge-2); }
  .fc-crumb a:hover { color: var(--white); }

  /* the opener sits under an in-flow header (aqsashahzad's overlays it): trim the top */
  :scope.fc-op { padding-top: clamp(3rem, 2rem + 3vw, 5rem) !important; }
  .fc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2rem; width: 100%; margin: 0.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--edge); }
  .fc-facts div { display: flex; flex-direction: column-reverse; gap: 0.3rem; }
  .fc-facts dt { font-size: var(--text-xs); color: var(--grey-2); }
  .fc-facts dd { margin: 0; font: 400 1.6rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--white); white-space: nowrap; }

  /* the process rail: aso-v3.css fixes it at five columns */
  @media (min-width: 961px) { .proc { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); } }
  .proc h3 { text-wrap: balance; }
  .proc li { align-content: start; }

  /* aso-v3.css colours .pill-black with var(--white), which a light sheet flips to black: the label vanished */
  .pill-black, a.pill-black, .pill-black:hover, .pill-black:focus { color: #fff; }

  /* row markers and qualifiers in .ch-grid */
  .fc-mark { font: 500 var(--text-sm)/1.6 var(--font-display); color: var(--or-ink, var(--or)); letter-spacing: 0.02em; }
  .fc-meta { margin-top: 0.25rem !important; color: var(--grey-2) !important; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; }

  /* the aqsashahzad FAQ section: centred heading, centred list */
  .fc-faq-e { justify-content: center; margin: 0 auto 1rem !important; }
  .fc-faq-h { font: 500 var(--text-3xl)/1.06 var(--font-display); letter-spacing: -0.03em; text-align: center; max-width: 22ch; margin: 0 auto 3.5rem; text-wrap: balance; }

  /* the talk band */
  .fc-talk-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin: 0.5rem 0 0; }
  .fc-talk-ctas .pill { margin: 0; }

  /* two supporting lists (tool pages) */
  .fc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 5rem; margin-top: 3rem; }
  .fc-two h3 { margin: 0 0 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--edge); font: 600 0.72rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); }
  .fc-two .pk-incl li { color: var(--grey); }
  .fc-srcs { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--edge); }
  .fc-srcs p { color: var(--grey-2); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.9rem; }
  .fc-srcs ul { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
  .fc-srcs li { padding: 0.45rem 0.85rem; border: 1px solid var(--edge); border-radius: var(--pill); font-size: var(--text-sm); color: var(--grey); }
  .fc-watch { max-width: 60rem; margin: 3rem auto 0; }

  @media (max-width: 960px) { .fc-two { grid-template-columns: 1fr; gap: 2rem; } }
}

/* ================= HOMEPAGE (ForgeCRO only) ================= */
@scope (.aso-v3) {
  :scope.fc-hero { text-align: center; padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
  :scope.fc-hero .wrap > * { margin-inline: auto; }
  .fc-count { display: block; text-align: center; text-wrap: balance; }
  .fc-count b { color: var(--white); font-weight: 500; }
  :scope.fc-hero .sub { max-width: 60ch; margin-top: 1.75rem; color: var(--grey); }

  .fc-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.75rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--grey); }
  .fc-checks li { display: flex; align-items: center; gap: 0.5rem; }
  .fc-checks li::before {
    content: ""; flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%;
    background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 64% 64% no-repeat;
  }

  .fc-run { margin-top: 2.75rem; max-width: 44rem; }
  .fc-run-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fc-run-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.5rem 0.5rem 1.1rem; border: 1px solid var(--edge-2); border-radius: var(--pill); background: var(--glass); }
  .fc-run-row:focus-within { border-color: var(--or); }
  .fc-run-pre { flex: none; color: var(--grey-2); font-size: var(--text-sm); }
  .fc-run-row input { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--white); font: inherit; }
  .fc-run-row input::placeholder { color: var(--grey-2); }
  .fc-run-row input:focus, .fc-run-row input:focus-visible { outline: none; }
  .fc-run-row button { flex: none; min-height: 44px; border: 0; cursor: pointer; }
  .fc-run-fine { margin-top: 0.9rem; color: var(--grey-2); font-size: var(--text-xs); }

  .fc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; text-align: start; }
  .fc-tile { display: grid; gap: 0.45rem; align-content: start; padding: 1.25rem 1.35rem 1.5rem; border: 1px solid var(--edge); border-radius: var(--card); background: var(--glass); text-decoration: none; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
  .fc-tile:hover, .fc-tile:focus-visible { border-color: var(--edge-2); background: var(--glass-2); }
  .fc-tile-h { font: 500 var(--text-lg)/1.2 var(--font-display); color: var(--white); }
  .fc-tile-p { color: var(--grey); font-size: var(--text-sm); line-height: 1.45; }

  .fc-human { margin-top: 2.25rem; color: var(--grey); font-size: var(--text-sm); }
  .fc-human a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 0.3em; }

  /* the symptoms: a three-column dash list */
  .fc-sym { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
  .fc-sym li { position: relative; padding: 0.95rem 0 0.95rem 1.4rem; border-top: 1px solid var(--edge); color: var(--grey); font-size: var(--text-base); line-height: 1.45; }
  .fc-sym li::before { content: ""; position: absolute; left: 0; top: calc(0.95rem + 0.72em); width: 0.7rem; height: 1px; background: var(--or); }

  .fc-compare-head { margin-top: 4.5rem; }
  .fc-compare-head h3 { font: 500 var(--text-2xl)/1.15 var(--font-display); letter-spacing: -0.025em; }
  .fc-compare-wrap { margin-top: 1.5rem; overflow-x: auto; }
  .fc-compare { width: 100%; min-width: 0; }
  .fc-compare td:last-child { color: var(--white); }
  .fc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  @media (max-width: 1100px) { .fc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 960px) { .fc-sym { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 640px) {
    .fc-tiles { grid-template-columns: 1fr; }
    .fc-sym { grid-template-columns: 1fr; }
    .fc-count { font-size: 0.7rem; letter-spacing: 0.1em; }
    :scope.fc-hero .fc-checks { justify-content: flex-start; text-align: start; }
    .fc-run-row { flex-wrap: wrap; border-radius: var(--card); padding: 0.85rem; }
    .fc-run-pre { display: none; }
    .fc-run-row input { flex-basis: 100%; }
    .fc-run-row button { width: 100%; }
  }
}

/* ================= THE CONTACT SPLIT (plain-markup version of :scope.aso-contact) ================= */
@scope (.aso-v3) {
  :scope.fc-split { padding-top: 0 !important; }
  .fc-split-l, .fc-split-more {
    display: grid; align-content: start; gap: 1.5rem;
    padding: 0 clamp(2rem, 5vw, 6rem) 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  .fc-split-l { grid-area: intro; padding-top: clamp(3rem, 6vw, 5.5rem); }
  .fc-split-more { grid-area: more; padding-top: 2.5rem; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
  .fc-split-r {
    grid-area: form; align-self: stretch; background: #fff; color: #000;
    padding: calc(clamp(3rem, 6vw, 5.5rem) - clamp(1.25rem, 2.5vw, 2rem)) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 6rem);
  }
  .fc-split-l > * { margin: 0; }
  .fc-split-l .fc-crumb { margin-bottom: -0.5rem; }
  .fc-split-l h1 { font: 400 clamp(2.5rem, 1.4rem + 4vw, 4.75rem)/1.02 var(--font-display); letter-spacing: -0.035em; color: var(--white); max-width: 15ch; text-wrap: balance; }
  .fc-split-l .sub { max-width: 46ch; font-size: var(--text-lg); line-height: 1.55; color: var(--grey); }
  .fc-split-more > .eyebrow { margin: 0; }
  /* the stats in the black column: aso-v3.css zeroes every stat's left padding and colours the rules
     with --line (a light-sheet grey), so on black the number sat on a bright separator. Two columns:
     the right one carries the rule and the padding, the rows split with the dark hairline. */
  :scope.fc-split .stats { margin-top: 0; border-top-color: var(--edge-2); }
  :scope.fc-split .stats .stat { padding: 1.5rem 1.25rem; border-left: 1px solid var(--edge-2); border-bottom: 0; }
  :scope.fc-split .stats .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  :scope.fc-split .stats .stat:nth-child(even) { padding-right: 0; }
  :scope.fc-split .stats .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--edge-2); }
  :scope.fc-split .stats .stat-n { margin-bottom: 0.6rem; }
  /* the steps list already ends on a rule: a second one above the stats read as a doubled line */
  :scope.fc-split .aso-contact-steps + .stats { border-top: 0; margin-top: -1.5rem; }
  :scope.fc-split .stats .stat-l { font-weight: 500; color: var(--grey); }

  /* the booking page, step 2: the brief is in, the calendar opens in the card */
  .fc-book { display: grid; gap: 1rem; }
  .fc-book[hidden] { display: none; }
  .fc-book > * { margin: 0; }
  .fc-book h2 { font: 500 var(--text-2xl)/1.15 var(--font-display); letter-spacing: -0.025em; color: #000; outline: 0; }
  .fc-book p:not(.fine) { color: #3d3d39; }
  .fc-cal { min-height: 520px; }
  .fc-cal iframe { width: 100% !important; }
  .fc-cal-wait { padding: 1rem 0; }
  .fc-cal-alt a, .fc-book .fine a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
  .aso-contact-card.is-booking { position: static; }

  /* the card takes the light tokens (it is not a .light sheet: no radius, no background swap) */
  .fc-card {
    --white: #000; --grey: #5c5c57; --grey-2: #6b6b66; --edge: #e6e5e1; --edge-2: #cfcec9;
    --glass: #f6f6f4; --glass-2: #ededea; --or-ink: #b54f00;
    display: grid; gap: 1.25rem; color: #000;
  }
  .fc-card .aso-contact-card-head .eyebrow { color: #000; }

  /* the embedded audit, on white */
  .fc-card .tool-frame { border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: 520px; }
  .fc-card .tool-frame::before { display: none; }
  .fc-card .tool-frame iframe { height: 760px; min-height: 520px; }
  .fc-card .tool-cover { background: #fff; }
  .fc-card .tool-cover__in b { color: #000; }
  .fc-card .tool-cover__in p { color: #5c5c57; }
  .fc-card .tool-cover__in a { color: #000; border-bottom-color: #000; }

  /* the launcher (the calculator refuses to be framed) */
  .fc-launch { display: grid; gap: 1.1rem; }
  .fc-launch > * { margin: 0; }
  .fc-launch-h { font: 500 var(--text-2xl)/1.15 var(--font-display); letter-spacing: -0.025em; color: #000; }
  .fc-launch p { color: #3d3d39; }
  .fc-launch .pk-incl li { color: #3d3d39; }
  .fc-launch .pill { justify-content: center; min-height: 52px; margin-top: 0.4rem; }
  .fc-card .fine { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: #6b6b66; }

  /* contact: the pricing summary in the dark column */
  .fc-cprice { margin: 0; display: grid; }
  .fc-cprice div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--edge); }
  .fc-cprice div:last-child { border-bottom: 1px solid var(--edge); }
  .fc-cprice dt { color: var(--grey); font-size: var(--text-sm); }
  .fc-cprice dd { margin: 0; font: 400 var(--text-xl)/1 var(--font-display); letter-spacing: -0.02em; color: var(--white); }
  .fc-cprice-link { margin: 0; }

  /* the contact form, in the aqsashahzad card style */
  .cform { display: grid; gap: 1rem; }
  .cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .cform__row:has(select) { grid-template-columns: 1fr; }
  .cform label { display: grid; gap: 0.45rem; margin: 0; }
  .cform label > span { font: 600 0.72rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #000; }
  .cform label:has(> [required]) > span::after { content: " *"; color: #ff7700; }
  .cform label em { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: #6b6b66; }
  .cform input:not([type="file"]):not([type="hidden"]), .cform select, .cform textarea {
    width: 100%; min-height: 48px; padding: 0.7rem 1rem; box-sizing: border-box;
    border: 1px solid #cfcec9; border-radius: 6px; background: #fff; color: #000;
    font: 400 var(--text-base)/1.4 var(--font-body);
  }
  .cform select {
    appearance: none; padding-right: 2.5rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1rem no-repeat;
  }
  .cform textarea { min-height: 8rem; resize: vertical; }
  .cform input::placeholder, .cform textarea::placeholder { color: #8a8a85; }
  .cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 2px solid #000; outline-offset: 1px; border-color: #000; }
  .cform input[type="file"] { width: 100%; box-sizing: border-box; padding: 0.75rem; border: 1px dashed #cfcec9; border-radius: 6px; background: #fafaf8; color: #3d3d39; font: 400 var(--text-sm) var(--font-body); }
  .cform input[type="file"]::file-selector-button { margin-right: 0.9rem; padding: 0.55rem 1rem; border: 1px solid #000; border-radius: 999px; background: #fff; color: #000; font: 500 var(--text-sm) var(--font-body); cursor: pointer; }
  .cform__send { width: 100%; min-height: 52px; justify-content: center; position: relative; border: 0; cursor: pointer; font-size: var(--text-base); }
  .cform__send .i { position: absolute; right: 1.4rem; }
  .form__note { margin: 0; padding: 0.75rem 1rem; border: 1px solid #f0c9a8; border-radius: 8px; background: #fff6ee; color: #7a3a00; font-size: var(--text-sm); }
  .csent { display: grid; gap: 0.9rem; padding: 0.5rem 0; }
  .csent > * { margin: 0; }
  .csent h2 { font: 500 var(--text-2xl)/1.15 var(--font-display); letter-spacing: -0.025em; color: #000; }
  .csent p:not(.eyebrow) { color: #3d3d39; }
  .csent .pill { justify-self: start; }

  @media (max-width: 1023px) {
    .fc-split-l, .fc-split-more { padding-left: var(--gutter); padding-right: var(--gutter); }
    .fc-split-l { padding-bottom: 2.5rem; }
    .fc-split-r { padding: 2rem var(--gutter); }
    .fc-split-more { padding-top: 3rem; }
  }
  @media (max-width: 480px) { .cform__row { grid-template-columns: 1fr; } }
}

/* the quiz, light, inside the white card (unscoped: quiz.css is unscoped too) */
.fc-card .fc-quiz { --bk: #000; --wh: #fff; --muted: #6b6b66; --bd: #cfcec9; --bg: transparent; --surface: #fff; background: transparent; color: #000; }
.fc-card .fc-quiz .screen { padding: 1.5rem 0 0.5rem; max-width: none; }
.fc-card .fc-quiz #progress-bar { position: static; height: 3px; margin: 0; border-radius: 2px; background: #efeeea; }
.fc-card .fc-quiz .welcome-title, .fc-card .fc-quiz .question { font: 500 clamp(1.5rem, 1.2rem + 1vw, 1.9rem)/1.15 "Instrument Sans", system-ui, sans-serif; letter-spacing: -0.025em; color: #000; }
.fc-card .fc-quiz .welcome-title span { color: #b54f00; }
.fc-card .fc-quiz .welcome-body, .fc-card .fc-quiz .sub, .fc-card .fc-quiz .step-label, .fc-card .fc-quiz .opt-hint, .fc-card .fc-quiz .welcome-meta { color: #5c5c57; }
.fc-card .fc-quiz .chip { background: #fff; color: #000; border-color: #cfcec9; }
.fc-card .fc-quiz .chip:hover { border-color: #000; background: #fafaf8; }
.fc-card .fc-quiz .chip.selected, .fc-card .fc-quiz .chip.or-selected { background: #000; color: #fff; border-color: #000; }
.fc-card .fc-quiz .btn-next, .fc-card .fc-quiz .btn-next.orange, .fc-card .fc-quiz .btn-cta { background: #000 !important; background-color: #000 !important; color: #fff !important; }
.fc-card .fc-quiz .btn-next:hover, .fc-card .fc-quiz .btn-next.orange:hover { background: #222 !important; background-color: #222 !important; color: #fff !important; }
.fc-card .fc-quiz .btn-next.orange::before, .fc-card .fc-quiz .btn-cta::before { display: none; }
.fc-card .fc-quiz .btn-next:disabled { background: #f1f1ef !important; color: #8a8a85 !important; }
.fc-card .fc-quiz .btn-back { color: #5c5c57; }
.fc-card .fc-quiz .field-group label { color: #000; }
.fc-card .fc-quiz .field-group input, .fc-card .fc-quiz .field-group select, .fc-card .fc-quiz .field-group textarea { background: #fff; color: #000; border-color: #cfcec9; border-radius: 6px; }
.fc-card .fc-quiz .field-group input::placeholder, .fc-card .fc-quiz .field-group textarea::placeholder { color: #8a8a85; }
.fc-card .fc-quiz .field-group input:focus, .fc-card .fc-quiz .field-group select:focus, .fc-card .fc-quiz .field-group textarea:focus { outline: 2px solid #000; outline-offset: 1px; border-color: #000; }
.fc-card .fc-quiz .field-group select option { background: #fff; color: #000; }
.fc-card .fc-quiz .next-step-box { background: #fafaf8; border: 1px solid #e6e5e1; }
.fc-card .fc-quiz .opt-tag { border-color: #cfcec9; color: #5c5c57; }
.fc-card .fc-quiz .err { color: #a3261a; }

/* ================= SUBPAGE WIDGETS carried from v2 ================= */
@scope (.aso-v3) {
  .tool-frame { position: relative; border: 1px solid var(--edge-2); border-radius: 20px; overflow: hidden; background: #111112; min-height: 640px; }
  .tool-frame iframe { display: block; width: 100%; height: 640px; min-height: 640px; border: 0; background: transparent; color-scheme: light; }
  .tool-cover { position: absolute; inset: 0; display: grid; place-items: center; background: #111112; transition: opacity 0.4s; z-index: 1; }
  .tool-cover.off { opacity: 0; pointer-events: none; }
  .tool-cover__in { text-align: center; max-width: 44ch; padding: 1.5rem; }
  .tool-cover__in b { display: block; font: 500 var(--text-xl)/1.2 var(--font-display); margin: 0.875rem 0 0.5rem; color: var(--white); }
  .tool-cover__in p { color: var(--grey); font-size: var(--text-sm); }
  .tool-cover__in a { color: var(--white); border-bottom: 1px solid var(--or); text-decoration: none; }
  .spin { display: inline-block; width: 1.5rem; height: 1.5rem; border: 2px solid #e6e5e1; border-top-color: #ff7700; border-radius: 50%; animation: fc-spin 900ms linear infinite; }

  .hvid { margin: 0; min-width: 0; }
  .hvid__frame { position: relative; aspect-ratio: 16/9; border: 1px solid var(--edge-2); border-radius: 18px; overflow: hidden; background: #111112; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85); }
  .hvid__v { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
  .hvid__snd {
    position: absolute; left: 0.875rem; bottom: 0.875rem; z-index: 3;
    display: inline-flex; align-items: center; gap: 0.55rem;
    min-height: 44px; padding: 0.5rem 0.875rem 0.5rem 0.5rem;
    border-radius: var(--pill); border: 1px solid var(--edge-2); background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(8px);
    color: #fff; font: 600 var(--text-xs)/1 var(--font-body); cursor: pointer;
  }
  .hvid__snd:hover { border-color: var(--or); background: rgba(0, 0, 0, 0.92); }
  .hvid__ico { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--or); display: grid; place-items: center; }
  .hvid__ico::before { content: ""; width: 0; height: 0; border-left: 9px solid #1a0d06; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; margin-left: 3px; }
  .hvid.is-sound .hvid__ico::before { width: 8px; height: 8px; border: 0; background: #1a0d06; border-radius: 1.5px; margin: 0; }
  .hvid__lbl { white-space: nowrap; }
  .hvid__cap { margin-top: 0.75rem; color: var(--grey-2); font-size: var(--text-xs); }

  @media (max-width: 960px) { .tool-frame, .tool-frame iframe { min-height: 560px; height: 560px; } }
}
@keyframes fc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* ================= THE GUIDE: aqsashahzad article body, plain-markup grid ================= */
@scope (.aso-v3) {
  .fc-post { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 3rem 4rem; align-items: start; }
  .fc-toc { position: sticky; top: 6.5rem; }
  .fc-toc .lbl { margin: 0 0 0.75rem; font: 600 0.62rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-2); }
  .fc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--edge); }
  .fc-toc a { display: block; margin-left: -1px; padding: 0.35rem 0 0.35rem 0.9rem; border-left: 2px solid transparent; font-size: var(--text-sm); line-height: 1.45; color: var(--grey); text-decoration: none; }
  .fc-toc a:hover { color: #000; border-left-color: #000; }
  .content .fc-lead { font-size: 1.25rem; line-height: 1.6; color: #000; }
  .content > * + * { margin-top: 1rem; }
  .content ul li, .content ol li { margin-top: 0.4rem; }
  .content .fc-quote { margin: 2rem 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--or-ink); font-size: var(--text-xl); color: #000; }
  .content .fc-table { margin: 1.5rem 0; }
  .content .faq-list { max-width: none; margin: 1.25rem 0 0; }
  .content .faq-list summary { font-size: var(--text-lg); }
  .content .faq-list details > p { padding-bottom: 1.25rem; }
  .content .fc-cta { margin: 3rem 0; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--edge); border-radius: 18px; background: var(--glass); }
  .content .fc-cta h2 { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
  .content a.fc-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; margin-top: 1rem; padding: 0 1.4rem; border: 0; border-radius: 999px; background: #000; color: #fff; font-weight: 500; text-decoration: none; }
  .content a.fc-btn:hover { background: #222; color: #fff; }
  /* aso-v3 colours every article link #000 at (0,3,1): the button needs to outrank it or it reads black on black */
  :scope.aso-post-body .content a.fc-btn, :scope.aso-post-body .content a.fc-btn:hover { color: #fff; border-bottom: 0; }
  .content .fc-fine { font-size: var(--text-sm); color: var(--grey); }
  @media (max-width: 1024px) { .fc-post { grid-template-columns: 1fr; } .fc-toc { display: none; } }
}

/* ================= SERVICE PAGES: the skalum section order, aqsashahzad components ================= */
@scope (.aso-v3) {
  .fc-logos { margin-top: 2.5rem !important; padding-block: 0 !important; }
  .fc-kv { margin-top: 2.5rem; border-top: 1px solid var(--edge); }
  .fc-kv-link { margin: 2rem 0 0; }
  .fc-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
  .fc-rel .pk-proof { min-height: 6.5rem; align-content: space-between; }
  .fc-rel .pk-proof span:not(.lbl) { font-size: var(--text-base); }
  @media (min-width: 1025px) and (hover: hover) { .fc-has:hover > .fc-top { text-decoration: underline; } }
  @media (max-width: 960px) {
    .fc-rel { grid-template-columns: 1fr; }
    .case-stack.fc-logos { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  }
  @media (max-width: 640px) { .aso-kv.fc-kv { grid-template-columns: 1fr; } .aso-kv.fc-kv dt { padding-bottom: 0.25rem; border-bottom: 0; } .aso-kv.fc-kv dd { padding-top: 0.25rem; padding-right: 0; } }
}

/* talk band: below 900px the tilted frames sat under the buttons (owner, 2026-09-27) */
@scope (.aso-v3) { @media (max-width: 900px) { :scope.fc-talk .talk-media { display: none; } } }

/* ================= THE FREE-TOOLS HUB: tabs in the white card ================= */
@scope (.aso-v3) {
  .fc-tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0.3rem; border: 1px solid #e6e5e1; border-radius: 999px; background: #f6f6f4; }
  .fc-tabs [role="tab"] { flex: 1 1 auto; min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; background: transparent; color: #3d3d39; font: 500 0.9rem/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
  .fc-tabs [role="tab"]:hover { color: #000; }
  .fc-tabs [role="tab"][aria-selected="true"] { background: #000; color: #fff; }
  .fc-tabs [role="tab"]:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
  .fc-panel { display: grid; gap: 1rem; }
  .fc-panel[hidden] { display: none; }
  .fc-panel:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
  .fc-panel-p { margin: 0; color: #3d3d39; font-size: var(--text-sm); line-height: 1.55; }
  .fc-panel .tool-frame { min-height: 520px; }
  .fc-panel .tool-frame iframe { height: 680px; min-height: 420px; }
  .fc-panel .fine .alt { color: #000; text-decoration: underline; text-underline-offset: 0.15em; text-decoration-color: #cfcec9; }
  :scope.fc-hub .aso-contact-card { max-width: 640px !important; }
  @media (max-width: 520px) { .fc-tabs { border-radius: 16px; } .fc-tabs [role="tab"] { flex: 1 1 calc(50% - 0.3rem); padding: 0 0.6rem; } }
}

/* embed mode (?embed=1 inside a frame): the page shows its card only. OUTSIDE @scope: it keys on html. */
html.fc-embed body.fc-p { background: #fff; }
html.fc-embed .fc-skip, html.fc-embed .aso-v3.fc-hdr, html.fc-embed .aso-v3.fc-ftr, html.fc-embed .aso-v3.fc-talk,
html.fc-embed .fc-split-l, html.fc-embed .fc-split-more, html.fc-embed .aso-contact-card-head { display: none !important; }
html.fc-embed .aso-v3.fc-split { display: block !important; padding: 0 !important; background: #fff; }
html.fc-embed .fc-split-r { padding: 0 !important; }
html.fc-embed .aso-contact-card { position: static !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }

/* the burger sits at the right edge (it followed the logo because the nav leaves the flow in drawer mode) */
@scope (.aso-v3) { .fc-burger { margin-inline-start: auto; } :scope.fc-split .fc-split-more { padding-top: 1.5rem; } @media (max-width: 1023px) { :scope.fc-split .fc-split-more { padding-top: 2.5rem; } } }
