/* ============================================================
   BWAG SYSTEMS - Shared Components & Pages
   ============================================================ */

/* ---------- Cards ---------- */
.card{
  position:relative; display:flex; flex-direction:column; gap:14px;
  padding:26px; border-radius:var(--radius);
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}
.card:hover{ transform:translateY(-4px); border-color:var(--bwag-border-s); box-shadow:var(--shadow); }
.card__icon{ width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(37,99,235,0.10); border:1px solid var(--bwag-border-s); }
.card__icon svg{ width:24px; height:24px; }
.card__badge{ font-size:0.72rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--bwag-blue); }
.card h3{ font-size:1.25rem; }
.card p{ color:var(--bwag-muted); font-size:0.95rem; }
.card__link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; color:var(--bwag-blue); font-size:0.92rem; }
.card__link .ico{ transition:transform var(--speed) var(--ease-out); }
.card__link:hover .ico{ transform:translateX(4px); }
.card ul{ display:grid; gap:8px; }
.card ul li{ display:flex; gap:10px; color:var(--bwag-muted); font-size:0.93rem; }
.card ul li::before{ content:""; flex:none; width:7px; height:7px; border-radius:2px; background:var(--bwag-blue); margin-top:8px; }

.card--layer{ padding-bottom:18px; }
.card__tech{ margin-top:auto; padding-top:16px; border-top:1px dashed var(--bwag-border); display:flex; flex-wrap:wrap; gap:6px; }
.card__tech span{ font-size:0.72rem; font-weight:600; letter-spacing:0.03em; color:var(--bwag-muted); background:var(--bwag-tint); border:1px solid var(--bwag-border); padding:5px 10px; border-radius:var(--radius-pill); }
.card--layer .card__tech{ flex-direction:column; align-items:flex-start; }
.product-slot{ border-style:dashed; opacity:0.65; }
.product-slot h3{ color:var(--bwag-muted); }

/* ---------- Problem list (interactive) ---------- */
.problem-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start; }
.problem-list{ display:flex; flex-direction:column; gap:6px; }
.problem-btn{
  display:flex; align-items:flex-start; gap:16px; text-align:left; width:100%;
  padding:18px 20px; border-radius:var(--radius); border:1px solid var(--bwag-border);
  background:var(--bwag-surface); color:var(--bwag-text); cursor:pointer;
  transition: background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.problem-btn:hover{ transform:translateX(4px); border-color:var(--bwag-border-s); }
.problem-btn.is-on{ background:rgba(37,99,235,0.12); border-color:var(--bwag-blue); }
.problem-btn .num{ flex:none; font-weight:800; font-size:0.82rem; color:var(--bwag-muted); letter-spacing:0.05em; min-width:26px; padding-top:3px; }
.problem-btn.is-on .num{ color:var(--bwag-blue); }
.problem-btn .title{ font-weight:600; line-height:1.35; }
.problem-out{ position:sticky; top:calc(var(--nav-h) + 24px); }
.problem-out h3{ font-size:1.15rem; margin-bottom:18px; min-height:1.4em; }
.problem-block.is-off{ display:none; }
.leak-list{ display:grid; gap:10px; }
.leak-item{
  display:flex; align-items:center; gap:12px; text-align:left; width:100%;
  padding:15px 18px; border-radius:var(--radius-sm); border:1px solid var(--bwag-border);
  background:var(--bwag-surface); color:var(--bwag-text); font-size:0.94rem; cursor:pointer;
  transition: border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.leak-item:hover{ border-color:var(--bwag-border-s); transform:translateX(4px); }
.leak-item .dot{ width:8px; height:8px; flex:none; border-radius:50%; background:var(--bwag-muted-2); }
.leak-item:hover .dot{ background:var(--bwag-warn); }
.leak-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:center; }

/* ---------- Tech layers ---------- */
.techstack{ display:grid; gap:10px; }
.tlayer{
  display:grid; grid-template-columns:200px 1fr; gap:20px; align-items:center;
  padding:20px 22px; border-radius:var(--radius); border:1px solid var(--bwag-border);
  background:var(--bwag-surface);
  transition: border-color var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.tlayer:hover{ border-color:var(--bwag-border-s); transform:translateX(4px); }
.tlayer__k{ font-weight:700; color:var(--bwag-navy); letter-spacing:0.08em; font-size:0.92rem; text-transform:uppercase; }
.tlayer__k span{ display:block; color:var(--bwag-muted); font-weight:600; font-size:0.72rem; margin-top:2px; }
.tlayer__v{ color:var(--bwag-muted); font-size:0.93rem; }
.tlayer__v b{ color:var(--bwag-text); font-weight:600; }

/* ---------- Why Bwag (principles) ---------- */
.why-list{ display:grid; gap:0; }
.why-row{
  display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center;
  padding:26px 6px; border-bottom:1px solid var(--bwag-border);
}
.why-row:first-child{ border-top:1px solid var(--bwag-border); }
.why-row .num{ font-weight:800; color:var(--bwag-blue); font-size:0.9rem; letter-spacing:0.06em; }
.why-row h3{ font-size:clamp(1.3rem,2.3vw,1.8rem); letter-spacing:-0.01em; }
.why-row p{ color:var(--bwag-muted); margin-top:6px; max-width:640px; font-size:0.97rem; }

/* ---------- Who we help grid ---------- */
.who-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.who-tile{ padding:18px 20px; border-radius:var(--radius-sm); background:var(--bwag-surface); border:1px solid var(--bwag-border); font-weight:600; font-size:0.96rem; display:flex; align-items:center; gap:12px; transition:transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out); }
.who-tile:hover{ transform:translateY(-3px); border-color:var(--bwag-border-s); }
.who-tile .ico{ width:20px; height:20px; flex:none; color:var(--bwag-blue); }

/* ---------- Sticky CTA / banner ---------- */
.cta-banner{ border:1px solid var(--bwag-border-s); border-radius:calc(var(--radius) + 6px); background:var(--bwag-surface); padding:clamp(36px,6vw,64px); text-align:center; position:relative; overflow:hidden; }
.cta-banner h2{ max-width:720px; margin:0 auto 16px; }
.cta-banner p{ max-width:620px; margin:0 auto 28px; color:var(--bwag-muted); }
.cta-banner .btn-row{ justify-content:center; }

.sec-num{ font-weight:800; color:var(--bwag-blue); letter-spacing:0.08em; }

.philosophy{ display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:10px; }
.ph-step{ display:flex; align-items:center; gap:12px; padding:10px 18px; font-weight:600; font-size:clamp(0.95rem,1.4vw,1.08rem); background:var(--bwag-surface); border:1px solid var(--bwag-border); border-radius:var(--radius-pill); transition:border-color var(--speed) var(--ease-out); }
.ph-step:hover{ border-color:var(--bwag-border-s); }
.ph-step b{ color:var(--bwag-blue); font-weight:800; font-size:0.82rem; letter-spacing:0.1em; min-width:24px; }
.ph-arrow{ color:var(--bwag-muted); font-weight:700; line-height:1; }
.momentum{ margin-top:6px; }

/* ---------- two-col feature block ---------- */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,60px); align-items:center; }
.feature + .feature{ margin-top:clamp(56px,8vw,96px); }
.feature--rev .feature__media{ order:2; }
.feature__copy h2{ margin-bottom:18px; }
.feature__copy{ text-align:center; }
.feature__copy p{ color:var(--bwag-muted); margin-bottom:14px; max-width:560px; margin-inline:auto; }
.feature__copy p b{ color:var(--bwag-text); font-weight:600; }
.feature__media .frame{ border:1px solid var(--bwag-border); border-radius:var(--radius); background:var(--bwag-surface); padding:8px; }
.feature__media img{ border-radius:calc(var(--radius) - 6px); width:100%; }

/* ---------- Insight cards ---------- */
.insight-card{ display:block; padding:26px; border-radius:var(--radius); background:var(--bwag-surface); border:1px solid var(--bwag-border); transition:transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out); }
.insight-card:hover{ transform:translateY(-4px); border-color:var(--bwag-border-s); }
.insight-card .cat{ font-size:0.74rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--bwag-blue); }
.insight-card h3{ font-size:1.2rem; margin:10px 0 8px; line-height:1.3; }
.insight-card p{ color:var(--bwag-muted); font-size:0.93rem; }
.insight-card .meta{ margin-top:16px; display:flex; gap:12px; font-size:0.8rem; color:var(--bwag-muted); }

/* ---------- Article body ---------- */
.article{ max-width:780px; margin-inline:auto; }
.article__head{ margin-bottom:34px; text-align:center; }
.article__head .cat{ font-size:0.78rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--bwag-blue); }
.article__head h1{ font-size:clamp(1.8rem,3.4vw,2.6rem); margin:14px 0 14px; }
.article__head .meta{ display:flex; justify-content:center; flex-wrap:wrap; gap:18px; color:var(--bwag-muted); font-size:0.86rem; }
.article__prose{ font-size:1.04rem; line-height:1.75; color:var(--bwag-text); }
.article__prose h2{ font-size:1.5rem; margin:40px 0 14px; }
.article__prose h3{ font-size:1.2rem; margin:30px 0 10px; }
.article__prose p{ margin-bottom:18px; }
.article__prose ul, .article__prose ol{ margin:0 0 18px; display:grid; gap:8px; }
.article__prose ul{ list-style:none; padding-left:0; }
.article__prose ul li{ position:relative; padding-left:24px; }
.article__prose ul li::before{ content:""; position:absolute; left:2px; top:11px; width:9px; height:2px; background:var(--bwag-blue); }
.article__prose ol{ padding-left:22px; list-style:decimal; }
.article__prose ol li{ margin-bottom:6px; }
.article__prose blockquote{ margin:26px 0; padding:18px 22px; border-left:3px solid var(--bwag-blue); background:var(--bwag-surface); border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-size:1.05rem; }
.article__prose .callout{ border:1px solid var(--bwag-border); border-radius:var(--radius); padding:20px; background:var(--bwag-surface); margin:26px 0; }
.article__prose .callout b{ color:var(--bwag-navy); }
.article__prose a{ color:var(--bwag-blue); text-decoration:underline; text-underline-offset:3px; }

/* Progressive "Read more" (used on long Insights-style pages) */
.article__toc{ border:1px solid var(--bwag-border); border-radius:var(--radius); padding:20px 24px; background:var(--bwag-surface); margin-bottom:30px; text-align:center; }
.article__toc h4{ font-size:0.85rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--bwag-muted); margin-bottom:12px; }
.article__toc a{ display:block; padding:6px 0; color:var(--bwag-muted); font-size:0.95rem; }
.article__toc a:hover{ color:var(--bwag-white); }

/* ---------- Forms ---------- */
.field{ display:grid; gap:8px; }
.field label{ font-weight:600; font-size:1rem; color:var(--bwag-text); }
.field .req{ color:var(--bwag-warn); }
.field input, .field select, .field textarea{
  font-family:inherit; font-size:1rem; color:var(--bwag-text);
  background:var(--bwag-white); border:1px solid var(--bwag-border-s);
  border-radius:var(--radius-sm); padding:14px 16px; width:100%;
  transition: border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder{ color:var(--bwag-muted); }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--bwag-blue); box-shadow:0 0 0 3px rgba(37,99,235,0.18); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-grid .full{ grid-column:1/-1; }
.form-note{ font-size:0.82rem; color:var(--bwag-muted); margin-top:16px; }
.form-msg{ display:none; margin-top:18px; padding:14px 18px; border-radius:var(--radius-sm); background:rgba(47,191,107,0.1); border:1px solid rgba(47,191,107,0.4); color:var(--bwag-success); font-size:0.95rem; }
.form-msg.is-visible{ display:block; }
.diagram .form-note{ color:var(--bwag-muted); }
.diagram .btn{ background:var(--bwag-blue); color:var(--bwag-white); }
.diagram .form-msg{ background:rgba(47,191,107,0.15); border-color:rgba(47,191,107,0.5); color:var(--bwag-white); }

/* ---------- Operational discovery form ---------- */
.section-head__note{ margin:12px 0 0; font-size:0.95rem; color:var(--bwag-muted); line-height:1.6; max-width:52ch; }
.discover{ display:grid; gap:30px; padding:30px; border:1px solid var(--bwag-border); border-radius:var(--radius); background:var(--bwag-surface); }
.discover .field__help{ margin:0; font-size:0.9rem; color:var(--bwag-muted); line-height:1.6; }
.discover .field__hint{ margin:0; font-size:0.8rem; color:var(--bwag-muted); }
.discover .field__err{ margin:0; font-size:0.84rem; color:var(--bwag-danger,#d92d20); min-height:0; }
.discover .field__err:empty{ display:none; }
.discover input.is-bad, .discover textarea.is-bad{ border-color:var(--bwag-danger,#d92d20); box-shadow:0 0 0 3px rgba(217,45,32,0.14); }
.discover .field--hero label{ font-size:1.12rem; }
.discover .field--hero textarea{ min-height:190px; font-size:1.04rem; line-height:1.7; }
.discover .field--other{ margin-top:16px; }
.fieldset{ border:0; padding:0; margin:0; display:grid; gap:14px; }
.fieldset legend{ font-weight:600; font-size:1rem; color:var(--bwag-text); padding:0; margin-bottom:4px; }
.field__opt{ font-weight:400; font-size:0.84rem; color:var(--bwag-muted); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:4px 0 2px; }
.chips__label{ font-size:0.82rem; color:var(--bwag-muted); margin-right:2px; }
.chip{ font:inherit; font-size:0.84rem; color:var(--bwag-navy); background:var(--bwag-white); border:1px solid var(--bwag-border-s); border-radius:999px; padding:7px 13px; cursor:pointer; transition:border-color .18s ease, background .18s ease; }
.chip:hover{ border-color:var(--bwag-blue); background:rgba(37,99,235,0.06); }
.chip:focus-visible{ outline:2px solid var(--bwag-blue); outline-offset:2px; }
.checks{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.check{ display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border:1px solid var(--bwag-border); border-radius:var(--radius-sm); background:var(--bwag-white); font-size:0.94rem; line-height:1.45; cursor:pointer; min-height:48px; }
.check:hover{ border-color:var(--bwag-blue); }
.check input{ flex:none; width:18px; height:18px; margin:2px 0 0; accent-color:var(--bwag-blue); }
.check:has(input:checked){ border-color:var(--bwag-blue); background:rgba(37,99,235,0.05); }
.check:has(input:focus-visible){ outline:2px solid var(--bwag-blue); outline-offset:2px; }
.discover__actions{ display:grid; gap:14px; justify-items:start; }
.discover__actions .btn{ font-size:1rem; padding:15px 30px; }
.discover__reassure{ margin:0; font-size:0.92rem; color:var(--bwag-muted); line-height:1.6; max-width:46ch; }
.discover__reassure strong{ color:var(--bwag-navy); }
.discover__status{ margin:0; font-size:0.92rem; line-height:1.6; }
.discover__status:empty{ display:none; }
.discover__status.is-bad{ color:var(--bwag-danger,#d92d20); }
.visually-hidden{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media (max-width:720px){
  .discover{ padding:22px 18px; gap:26px; }
  .discover .field--hero textarea{ min-height:170px; }
  .checks{ grid-template-columns:1fr; }
}

/* ---------- Contact methods ---------- */

/* ---------- Page hero (interior) ---------- */
.page-hero{ padding:clamp(120px,14vw,160px) 0 clamp(40px,6vw,64px); }
.page-hero__head{ max-width:800px; margin-inline:auto; text-align:center; }
.page-hero__head h1{ margin:20px 0 18px; }
.page-hero__head .lead{ max-width:700px; margin-inline:auto; }

.breadcrumb{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:0.82rem; color:var(--bwag-muted); }
.breadcrumb a{ color:var(--bwag-blue); }
.breadcrumb a:hover{ color:var(--bwag-navy); }

/* ---------- Footer ---------- */
.site-footer{ border-top:1px solid rgba(255,255,255,0.08); background:var(--bwag-navy); padding:clamp(48px,7vw,80px) 0 32px; }
.footer__grid{ display:grid; grid-template-columns:1.15fr 0.72fr 0.95fr 1.3fr; gap:clamp(22px,3vw,44px); align-items:start; }
.footer__brand p{ color:rgba(255,255,255,0.72); margin:16px 0 0; max-width:44ch; font-size:0.94rem; line-height:1.6; }
.footer__brand img{
  height:68px; width:auto;
  transition: transform var(--speed) var(--ease-out), filter var(--speed) var(--ease-out);
}
.footer__brand a{ display:inline-flex; border-radius:6px; }
.footer__brand a:hover img,
.footer__brand a:focus-visible img{ transform:scale(0.96); filter:brightness(1.12); }
.footer__brand a:focus-visible{ outline:2px solid var(--bwag-blue-light); outline-offset:4px; }
.site-footer h4{ font-size:0.82rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--bwag-blue-light); margin-bottom:18px; }
.site-footer ul{ display:grid; gap:10px; }
.site-footer ul a{ color:var(--bwag-white); font-size:0.95rem; }
.site-footer ul a:hover{ color:var(--bwag-blue-light); }
/* Newsletter form. Styles are set here rather than reusing .field, because
   the shared field styles assume a light background and this sits on navy. */
.footer__sub p{ color:rgba(255,255,255,0.72); font-size:0.92rem; margin:10px 0 0; max-width:36ch; }
/* Input and button share one row so the signup reads as a single action. */
.footer__form{ margin-top:16px; display:grid; gap:8px; }
.footer__row{ display:flex; gap:10px; align-items:stretch; }
.footer__row input{ flex:1 1 auto; min-width:0; }
.footer__row .footer__btn{ flex:none; }

.footer__label{ font-size:0.8rem; font-weight:600; color:rgba(255,255,255,0.82); }
.footer__form input{
  width:100%; padding:11px 13px; border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,0.18); background:rgba(255,255,255,0.06);
  color:var(--bwag-white); font-family:inherit; font-size:0.94rem;
  transition:border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}
.footer__form input::placeholder{ color:rgba(255,255,255,0.45); }
.footer__form input:focus{
  outline:none; border-color:var(--bwag-blue); box-shadow:0 0 0 3px rgba(37,99,235,0.35);
}
/* The button is a flex child here, so height and padding are set
   explicitly to line it up with the input rather than using the
   standalone .btn sizing. */
.footer__btn{ flex:none; padding:11px 20px; font-size:0.92rem; }
.footer__form .form-msg{
  margin-top:12px; background:rgba(47,191,107,0.14);
  border-color:rgba(47,191,107,0.5); color:#7BE3A6;
}

.footer__contact li{ color:var(--bwag-white); font-size:0.95rem; }
.footer__contact a{ display:inline-flex; align-items:center; gap:8px; overflow-wrap:anywhere; }
.footer__bottom{ border-top:1px solid rgba(255,255,255,0.08); margin-top:clamp(36px,5vw,56px); padding-top:24px; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; font-size:0.84rem; color:var(--bwag-white); opacity:0.72; }
.footer__bottom .loc{ display:inline-flex; align-items:center; gap:7px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
.nav-mobile-cta{ display:none; }

@media (max-width: 1080px){
  .g4{ grid-template-columns:repeat(2,1fr); }
  .footer__grid{ grid-template-columns:1fr 1fr 1fr; }
  .footer__sub{ grid-column:1/-1; }
  .footer__brand{ grid-column:1/-1; }
}

@media (max-width: 900px){
  .nav__links{ position:fixed; inset:var(--nav-h) 0 auto 0; flex-direction:column; align-items:stretch;
    background:var(--bwag-surface); border-bottom:1px solid var(--bwag-border);
    padding:18px 24px calc(28px + env(safe-area-inset-bottom, 0px)); gap:4px; transform:translateY(-8px); opacity:0; pointer-events:none;
    max-height:calc(100vh - var(--nav-h)); max-height:calc(100dvh - var(--nav-h)); overflow-y:auto; -webkit-overflow-scrolling:touch;
    transition:opacity 0.35s ease, transform 0.35s var(--ease-out); }
  .nav__links.is-open{ opacity:1; transform:none; pointer-events:auto; }
  .nav__links a{ padding:13px 8px; font-size:1.05rem; }
  .nav-mobile-cta{ display:inline-flex; margin-top:14px; justify-content:center; }
  .nav_dd{ width:100%; }
  .nav_dd_trigger{ width:100%; padding:13px 8px; font-size:1.05rem; }
  .nav__links a{ color:var(--bwag-text); }
  .nav__links a:hover{ color:var(--bwag-blue); background:rgba(37,99,235,0.10); }
  .nav__links a[aria-current="page"]{ color:var(--bwag-blue); }
  .nav_dd_trigger{ color:var(--bwag-text); }
  .nav_dd_trigger:hover,.nav_dd_trigger:focus-visible{ color:var(--bwag-blue); background:rgba(37,99,235,0.10); }
  .nav__links a.nav_dd_item:hover{ background:rgba(37,99,235,0.10); color:var(--bwag-blue); }
  .nav_dd_menu{
    position:static; margin-top:6px;
    opacity:1; visibility:visible; transform:none;
    box-shadow:none; padding:0; max-height:0; overflow:hidden;
    background:var(--bwag-surface); border:1px solid var(--bwag-border);
    transition:max-height 0.35s var(--ease-out);
  }
  .nav_dd.is-open .nav_dd_menu{ max-height:400px; }
  .nav__links .nav_dd_item{ padding:13px 8px; font-size:1.05rem; }
  .nav__logo img{ height:56px; }
  .nav__cta .btn--sm.nav-desktop{ display:none; }
  .nav-toggle{ display:flex; }

  .hero__grid{ grid-template-columns:1fr; }
  .hero__viz{ order:2; }
  .problem-grid{ grid-template-columns:1fr; }
  .problem-out{ position:relative; top:auto; }
  .dual{ grid-template-columns:1fr; }
  .leak-grid{ grid-template-columns:1fr; }
  .g3{ grid-template-columns:1fr 1fr; }
  .g2{ grid-template-columns:1fr; }
  .feature{ grid-template-columns:1fr; }
  .feature--rev .feature__media{ order:0; }
  .tlayer{ grid-template-columns:1fr; gap:8px; }
  .who-grid{ grid-template-columns:repeat(2,1fr); }
  .fp-body{ grid-template-columns:1fr; }
  .fp-side{ border-right:0; border-bottom:1px solid var(--bwag-border); flex-direction:row; overflow-x:auto; }
  .fp-item{ width:auto; flex:none; }
  .fp-item.is-on{ transform:none; }
  .form-grid{ grid-template-columns:1fr; }
}

@media (max-width: 560px){
  .g4,.g3{ grid-template-columns:1fr; }
  .map-grid{ grid-template-columns:1fr; }
  .who-grid{ grid-template-columns:1fr; }
  .fp-cards{ grid-template-columns:1fr; }
  .why-row{ grid-template-columns:1fr; gap:6px; }
  .btn{ width:100%; padding:15px 28px; font-size:1rem; }
  .btn-row{ flex-direction:column; align-items:stretch; }
  :root{ --nav-h:68px; --gutter:18px; }
  .nav__logo img{ height:50px; }
  .hero{ padding:calc(var(--nav-h) + 16px) 0 clamp(28px, 5vw, 48px); }
  .page-hero{ padding:calc(var(--nav-h) + 32px) 0 clamp(32px,5vw,56px); }
  .section{ padding:clamp(36px, 6vw, 72px) 0; }
  .lead{ font-size:clamp(1.125rem, 2.4vw, 1.4rem); }
  .h1{ font-size:clamp(2rem, 6vw, 2.6rem); }
  .h2{ font-size:clamp(1.5rem, 4.5vw, 2.1rem); }
  .card p{ font-size:1rem; }
  .field label{ font-size:1rem; }
  .hero__signal{ justify-content:center; }
  .footer__grid{ grid-template-columns:1fr 1fr; gap:24px 18px; }
  .footer__sub{ grid-column:1/-1; }
  .footer__brand{ grid-column:1/-1; }

  /* Philosophy steps - 3 per row on phones */
  .philosophy{ gap:8px; }
  .ph-step{ flex:0 0 calc((100% - 16px) / 3); padding:8px 12px; font-size:0.88rem; gap:8px; justify-content:flex-start; }
  .ph-step b{ font-size:0.72rem; min-width:18px; }
  .ph-arrow{ display:none; }

  /* Momentum pain list - vertical stack for readability */
  .philosophy.momentum{ flex-direction:column; align-items:stretch; gap:8px; }
  .philosophy.momentum .ph-step{ flex:auto; width:100%; padding:11px 14px; font-size:0.95rem; }
  .philosophy.momentum .ph-step b{ font-size:0.78rem; min-width:24px; }
}

/* ============================================================
   BRAND-BLUE HOVER - every card-style surface
   ============================================================ */
.card,
.insight-card,
.who-tile,
.tlayer,
.ph-step{
  transition:
    background var(--speed) var(--ease-out),
    border-color var(--speed) var(--ease-out),
    color var(--speed) var(--ease-out),
    transform var(--speed) var(--ease-out),
    box-shadow var(--speed) var(--ease-out);
}
.card:hover,
.insight-card:hover,
.who-tile:hover,
.tlayer:hover,
.ph-step:hover{
  background:rgba(37,99,235,0.09);
  border-color:var(--bwag-blue);
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.tlayer:hover,
.ph-step:hover{ transform:translateX(4px); }

/* Inner text flips to brand tones so contrast holds on the blue wash. */
.card:hover h3,
.card:hover h4,
.card:hover h5,
.insight-card:hover h3,
.insight-card:hover h4,
.who-tile:hover,
.tlayer:hover .tlayer__k,
.ph-step:hover b{ color:var(--bwag-blue-dark); }
.card:hover p,
.insight-card:hover p,
.insight-card:hover .meta,
.tlayer:hover .tlayer__v,
.tlayer:hover .tlayer__k span,
.ph-step:hover{ color:var(--bwag-navy); }
.card:hover ul li,
.card:hover ul li::before{ color:var(--bwag-navy); }
.card:hover ul li::before{ background:var(--bwag-blue); }
.card:hover .card__badge,
.card:hover .card__link,
.insight-card:hover .cat,
.card:hover .card__icon{ background:rgba(37,99,235,0.16); border-color:var(--bwag-blue); }
.card:hover .card__link .ico{ transform:translateX(4px); }
.card--layer:hover .card__tech{ border-top-color:rgba(37,99,235,0.35); }
.card--layer:hover .card__tech span{ background:rgba(37,99,235,0.10); border-color:rgba(37,99,235,0.30); color:var(--bwag-navy); }
@media (prefers-reduced-motion: reduce){
  .card:hover, .insight-card:hover, .who-tile:hover,
  .tlayer:hover, .ph-step:hover{ transform:none; }
}

/* ---------- Services (homepage) ---------- */
.services{ padding:110px 0; }
.services__head{ max-width:720px; margin:0 auto 56px; text-align:center; }
.services__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.services__title{ font-size:clamp(1.85rem,3.4vw,2.7rem); line-height:1.15; letter-spacing:-0.02em; }
.services__intro{ margin:20px auto 0; font-size:1.06rem; color:var(--bwag-muted); max-width:62ch; }

.services__grid{ align-items:stretch; }
.services__grid .card{ gap:18px; padding:30px; }
.services__grid .card h3{ font-size:1.12rem; letter-spacing:0.01em; line-height:1.3; }
.services__grid .card p{ flex:1 1 auto; }

/* Icons lift slightly on hover, matching the card's restrained movement. */
.services__grid .card__icon{ transition:transform var(--speed) var(--ease-out); }
.services__grid .card:hover .card__icon{ transform:translateY(-2px); }
.services__grid .card__icon svg{ display:block; }

/* Whole card is one link, so the focus ring belongs on the card itself. */
.services__grid a.card:focus-visible{ outline:2px solid var(--bwag-blue); outline-offset:3px; }

/* "Not sure?" reads as a different purpose without becoming a promotion:
   tinted surface and a dashed edge instead of a filled accent panel. */
.card--unsure{ background:var(--bwag-tint); border-style:dashed; border-color:var(--bwag-border-s); }
.card--unsure .card__icon{ background:var(--bwag-surface); }
.card--unsure:hover{ border-style:solid; }
.card--unsure .card__link{ color:var(--bwag-text); }

@media (max-width:900px){
  .services{ padding:84px 0; }
  .services__head{ margin-bottom:44px; }
}
@media (max-width:640px){
  .services{ padding:64px 0; }
  .services__head{ margin-bottom:34px; }
  .services__grid .card{ padding:26px; }
}

/* ---------- Clients & experiences ---------- */
.trust{ padding:110px 0 0; }
.trust__head{ max-width:760px; margin:0 auto 52px; text-align:center; }
.trust__label,.why__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.trust__title{ font-size:clamp(1.85rem,3.4vw,2.7rem); line-height:1.15; letter-spacing:-0.02em; }
.trust__intro{ margin:20px auto 0; font-size:1.06rem; color:var(--bwag-muted); max-width:62ch; }

/* ---------- Testimonial ---------- */
.quote{
  position:relative; background:var(--bwag-surface); border:1px solid var(--bwag-border);
  border-radius:var(--radius); padding:52px; min-height:340px;
  display:flex; flex-direction:column; justify-content:space-between; gap:36px; margin-bottom:clamp(36px,4.5vw,56px);
}
.quote__body{ transition:opacity 420ms ease, transform 420ms ease; }
.quote__body.is-out{ opacity:0; transform:translateY(10px); }
.quote__text{
  font-size:clamp(1.2rem,2.1vw,1.65rem); line-height:1.5; font-weight:500;
  letter-spacing:-0.01em; color:var(--bwag-text); max-width:30ch;
}
.quote__foot{ display:flex; align-items:center; gap:16px; }
.quote__avatar{
  flex:none; width:52px; height:52px; border-radius:50%; object-fit:cover;
  background:var(--bwag-tint); border:1px solid var(--bwag-border);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:1rem; color:var(--bwag-blue); letter-spacing:0.02em;
}
.quote__name{ font-weight:700; line-height:1.35; }
.quote__role{ font-size:0.92rem; color:var(--bwag-muted); }

/* Counter and controls. Hidden by JS when there is only one testimonial. */
.quote__bar{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.quote__count{ font-size:0.82rem; font-weight:700; letter-spacing:0.08em; color:var(--bwag-muted); font-variant-numeric:tabular-nums; }
.quote__nav{ display:flex; gap:8px; }
.quote__btn{
  width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--bwag-border); color:var(--bwag-text);
  transition:border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out);
}
.quote__btn:hover{ border-color:var(--bwag-blue); background:rgba(37,99,235,0.08); }
.quote__fallback{ color:var(--bwag-muted); }

/* ---------- Why BWAG ---------- */
/* Full-bleed tint band, matching the Craft section's background so the
   philosophy and the principles read as one continuous idea. */
.why{ background:var(--bwag-tint); padding:clamp(52px,6vw,84px) 0; text-align:center; }
.why__label{ display:block; font-size:inherit; font-weight:inherit; line-height:inherit; letter-spacing:0.14em; margin-bottom:clamp(20px,2.4vw,30px); }
.why__grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:44px 48px; }
.why__item{ border-top:1px solid var(--bwag-border); padding-top:24px; text-align:center; }
.why__num{ display:block; font-size:0.8rem; font-weight:800; letter-spacing:0.1em; color:var(--bwag-blue); margin-bottom:14px; }
.why__item h3{ font-size:1.15rem; margin-bottom:10px; letter-spacing:0.01em; }
.why__item p{ color:var(--bwag-muted); font-size:0.98rem; max-width:46ch; margin-inline:auto; }

@media (max-width:900px){
  .trust{ padding:84px 0 0; }
  .trust__head{ margin-bottom:40px; }
  .quote{ padding:38px; min-height:0; }
  .why{ padding:44px 0; }
  .why__grid{ gap:34px 40px; }
}
@media (max-width:640px){
  .trust{ padding:64px 0 0; }
  .quote{ padding:28px 24px; gap:28px; }
  .quote__text{ max-width:none; }
  .quote{ margin-bottom:30px; }
  .why{ padding:36px 0; }
  .why__grid{ grid-template-columns:1fr; gap:28px; }
}

@media (prefers-reduced-motion: reduce){
  .quote__body{ transition:none; }
  .quote__body.is-out{ transform:none; }
}

/* ---------- Results / impact strip ----------
   One deep brand band, four columns. No per-metric cards, borders or
   shadows; only hairline dividers between the columns. */
.results{ background:var(--bwag-navy); padding:clamp(30px,3.2vw,42px) 0; }
.results__head{ max-width:720px; margin:0 auto clamp(20px,2.2vw,28px); text-align:center; }
.results__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.14em;
  text-transform:uppercase; margin-bottom:8px; color:rgba(255,255,255,0.62);
}
.results__title{
  font-size:clamp(1.2rem,1.9vw,1.5rem); line-height:1.2; letter-spacing:-0.02em;
  color:var(--bwag-white);
}
.results__intro{
  margin:10px auto 0; max-width:62ch; font-size:0.92rem; line-height:1.55;
  color:rgba(255,255,255,0.72);
}

.results__grid{
  margin:0; display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(18px,2.2vw,28px);
}
.results__item{
  margin:0; padding-left:clamp(18px,2.2vw,28px);
  border-left:1px solid rgba(255,255,255,0.14);
}
.results__item:first-child{ padding-left:0; border-left:0; }
.results__num{
  margin:0; font-size:clamp(1.6rem,2.3vw,2rem); font-weight:800;
  line-height:1.05; letter-spacing:-0.03em; color:var(--bwag-white);
  font-variant-numeric:tabular-nums;
}
.results__label-sm{
  margin:7px 0 0; font-size:0.76rem; font-weight:600; line-height:1.35;
  letter-spacing:0.02em; color:rgba(255,255,255,0.66);
}

@media (max-width:900px){
  .results{ padding:28px 0; }
  .results__grid{ grid-template-columns:repeat(2,1fr); gap:24px; }
  .results__item{ padding-left:0; border-left:0; }
  .results__item:nth-child(even){ padding-left:24px; border-left:1px solid rgba(255,255,255,0.14); }
}
@media (max-width:560px){
  .results{ padding:24px 0; }
  .results__head{ margin-bottom:20px; }
  .results__grid{ gap:20px 16px; }
  .results__item:nth-child(even){ padding-left:16px; }
  .results__label-sm{ margin-top:6px; font-size:0.73rem; }
}

/* ---------- Client logo marquee ----------
   A single continuous row on the existing white background. No cards,
   tiles, borders or shadows. The only effect is movement plus the
   grey-to-colour reveal driven by distance from the centre. */
.clients{ background:var(--bwag-white); padding:clamp(44px,5vw,64px) 0 clamp(52px,6vw,80px); overflow:hidden; }
.clients__title{
  font-size:clamp(0.95rem,1.5vw,1.15rem); font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; text-align:center; color:var(--bwag-navy);
  margin-bottom:clamp(26px,3vw,36px);
}

.clients__marquee{
  position:relative;
  /* Fade the row into the page edges so logos never appear to be cut off. */
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
}
.clients__track{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; width:max-content;
  gap:clamp(40px,6vw,76px);
  animation:clients-scroll 46s linear infinite;
  will-change:transform;
}
.clients__marquee:hover .clients__track,
.clients__marquee:focus-within .clients__track{ animation-play-state:paused; }

.clients__item{ flex:none; }
/* --near is set per item by JS: 0 = far from centre, 1 = at centre. */
.clients__logo{
  display:flex; align-items:center; justify-content:center;
  height:34px; width:auto; color:var(--bwag-navy);
  opacity:calc(0.34 + (var(--near,0) * 0.56));
  filter:grayscale(calc((1 - var(--near,0)) * 100%));
  transition:opacity 260ms linear, filter 260ms linear, transform 260ms var(--ease-out);
}
.clients__logo img{ height:100%; width:auto; object-fit:contain; }
.clients__item:hover .clients__logo,
.clients__item:focus-within .clients__logo{
  opacity:1; filter:grayscale(0); transform:scale(1.03);
}
/* While a logo is hovered it is held at full colour regardless of --near. */
.clients__item.is-hover .clients__logo{ opacity:1; filter:grayscale(0); transform:scale(1.03); }

@keyframes clients-scroll{
  from{ transform:translate3d(0,0,0); }
  to{ transform:translate3d(-50%,0,0); }
}

@media (max-width:900px){
  .clients{ padding:38px 0 48px; }
  .clients__track{ gap:44px; animation-duration:52s; }
  .clients__logo{ height:28px; }
}
@media (max-width:560px){
  .clients{ padding:32px 0 40px; }
  .clients__track{ gap:34px; animation-duration:60s; }
  .clients__logo{ height:24px; }
}

@media (prefers-reduced-motion: reduce){
  .clients__track{ animation:none; flex-wrap:wrap; width:auto; justify-content:center; gap:24px 34px; }
  .clients__logo{ opacity:0.7; filter:grayscale(100%); }
  .clients__item:hover .clients__logo,
  .clients__item:focus-within .clients__logo{ opacity:1; filter:grayscale(0); }
}
@media (max-width:560px){
  /* Stack the signup on narrow screens so the button keeps a full
     touch target rather than being squeezed beside the input. */
  .footer__row{ flex-direction:column; }
  .footer__row .footer__btn{ width:100%; padding:13px 20px; }
}

/* ---------- Methodology pipeline (How We Work) ----------
   Five connected stages. The stage number sits in a narrow left column
   and a hairline rule runs down the whole list, so the stages read as one
   continuous progression rather than five separate cards. */
/* Small label introducing the method, plus the breathing room between
   the hero band and the first stage. */
.section--method{ padding-top:clamp(48px,6vw,80px); }
.method-head{ margin-bottom:clamp(32px,4vw,48px); }
.method-head__label{
  display:inline-block;
  font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue);
}

.pipeline{ list-style:none; margin:0; padding:0; counter-reset:stage; }
.pipe{
  position:relative; display:grid;
  grid-template-columns:96px 1fr; gap:clamp(24px,3.5vw,52px);
  padding-bottom:clamp(40px,5vw,64px);
}
.pipe:last-child{ padding-bottom:0; }

/* The connecting rule is drawn on the pipeline, not each stage, so it
   stops cleanly at the last stage instead of trailing off. The grey track
   is the full length; the blue fill grows as the reader scrolls. */
.pipeline{ position:relative; }
.pipeline::before,
.pipeline::after{
  content:""; position:absolute; left:47px; top:22px; bottom:0;
  width:2px; border-radius:2px;
}
.pipeline::before{ background:var(--bwag-border); }
/* --fill is the scroll progress through the pipeline, set by JS. */
.pipeline::after{
  background:var(--bwag-blue);
  transform:scaleY(var(--fill,0)); transform-origin:top center;
  transition:transform .25s linear;
}
.pipe__node{
  position:relative; z-index:1;
  display:flex; align-items:flex-start; justify-content:center;
}
.pipe__node span{
  display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  color:var(--bwag-navy); font-size:0.9rem; font-weight:800;
  font-variant-numeric:tabular-nums;
  transition:background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), color var(--speed) var(--ease-out);
}
/* Once the connector has reached a stage, the number takes the CTA blue. */
.pipe.is-reached .pipe__node span{
  background:var(--bwag-blue); border-color:var(--bwag-blue); color:var(--bwag-white);
}

.pipe__body{ padding-top:6px; min-width:0; }
.pipe__name{
  font-size:0.78rem; font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:10px;
}
.pipe__claim{
  font-size:clamp(1.25rem,2vw,1.6rem); line-height:1.22; letter-spacing:-0.02em;
  color:var(--bwag-navy); margin-bottom:12px; max-width:26ch;
}
.pipe__body > p{ color:var(--bwag-muted); font-size:1rem; max-width:58ch; }
.pipe__keys{
  list-style:none; margin:16px 0 0; padding:0;
  display:flex; flex-wrap:wrap; gap:8px;
}
.pipe__keys li{
  font-size:0.76rem; font-weight:600; letter-spacing:0.04em;
  color:var(--bwag-muted); background:var(--bwag-tint);
  border:1px solid var(--bwag-border); padding:5px 12px;
  border-radius:var(--radius-pill);
}

/* The one idea the page is built around. Given its own band so it does
   not compete with the stage copy, but is still clearly part of it. */
.principle{
  margin:clamp(52px,6vw,80px) 0 0;
  padding:clamp(32px,4.5vw,52px) clamp(24px,4vw,56px);
  background:var(--bwag-tint); border-radius:var(--radius);
  text-align:center;
}
.principle p{
  font-size:clamp(1.3rem,2.4vw,1.85rem); line-height:1.32;
  font-weight:800; letter-spacing:-0.025em; color:var(--bwag-navy);
  text-wrap:balance;
}

.cta-banner__more{ margin:26px 0 0; font-size:0.92rem; }
.cta-banner__more a{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--bwag-blue); font-weight:600;
}
.cta-banner__more a:hover{ color:var(--bwag-navy); }
.cta-banner__more .ico{ transition:transform var(--speed) var(--ease-out); }
.cta-banner__more a:hover .ico{ transform:translateX(4px); }

@media (max-width:760px){
  .pipe{ grid-template-columns:44px 1fr; gap:18px; }
  .pipeline::before,
  .pipeline::after{ left:21px; top:16px; }
  .pipe__node span{ width:44px; height:44px; font-size:0.84rem; }
  .pipe__body{ padding-top:2px; }
  .pipe__claim{ font-size:1.2rem; }
}

@media (prefers-reduced-motion: reduce){
  .pipe__node span{ transition:none; }
}

/* ---------- How We Work hero ----------
   Mirrors the About page hero: a compact navy band with the same blue
   geometry, so both company pages open with the same visual signature. */
.hw-hero{ padding:0; }
.hw-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(18px,2.4vw,32px)) 0 clamp(22px,2.8vw,38px);
  background:var(--bwag-navy);
}
.hw-hero__band::before,
.hw-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.hw-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.55;
  clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.hw-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.42;
  clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.hw-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
.hw-hero h1{
  margin-bottom:12px;
  font-size:clamp(1.6rem,3.4vw,2.5rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  color:var(--bwag-white); max-width:20ch; text-wrap:balance;
}
.hw-hero__sub{
  max-width:52ch; color:#C3CDE0;
  font-size:clamp(0.94rem,1.2vw,1.05rem); line-height:1.58; text-wrap:pretty;
}

/* ---------- Contact page ----------
   Same navy hero band as About and How We Work, then a two-column
   layout: contact cards stacked on the left, the form on the right. */

/* Hero */
.ct-hero{ padding:0; }
.ct-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(18px,2.4vw,32px)) 0 clamp(22px,2.8vw,38px);
  background:var(--bwag-navy);
}
.ct-hero__band::before,
.ct-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.ct-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.55;
  clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.ct-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.42;
  clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.ct-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
.ct-hero h1{
  margin-bottom:12px;
  font-size:clamp(1.6rem,3.4vw,2.5rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  color:var(--bwag-white); max-width:20ch; text-wrap:balance;
}
.ct-hero__sub{
  max-width:52ch; color:#C3CDE0;
  font-size:clamp(0.94rem,1.2vw,1.05rem); line-height:1.58; text-wrap:pretty;
}

/* Centred section head */
.ct-head{ max-width:760px; margin:0 auto clamp(34px,4vw,48px); text-align:center; }
.ct-head__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.ct-head__title{
  font-size:clamp(1.2rem,2vw,1.55rem); line-height:1.24; letter-spacing:-0.02em;
  color:var(--bwag-navy); text-wrap:balance;
}
.ct-head__intro{ margin-top:14px; font-size:1.02rem; color:var(--bwag-muted); }

/* Two columns: cards left, form right. No dividing line between them so
   the form keeps a clear, calm surface to sit on. */
.ct-cols{
  display:grid; grid-template-columns:0.85fr 1.15fr;
  gap:clamp(28px,4vw,56px); align-items:start;
}

/* Cards stack down the left column, each with the shared icon box. */
.ct-cards{ display:grid; gap:14px; align-content:start; }
.ct-card{
  display:flex; align-items:flex-start; gap:16px;
  padding:22px 24px; border-radius:var(--radius);
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  /* Same transition set as .card so both card types respond identically. */
  transition: transform var(--speed) var(--ease-out), background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}
.ct-card__icon{
  flex:none; width:46px; height:46px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(37,99,235,0.10); border:1px solid var(--bwag-border-s);
  transition: transform var(--speed) var(--ease-out), background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
}
/* Matches the shared card hover: lift, blue edge, shadow, and inner text
   flipping to the brand tones so contrast holds on the blue wash. */
.ct-card:hover{ transform:translateY(-4px); background:rgba(37,99,235,0.05); border-color:var(--bwag-blue); box-shadow:var(--shadow); }
.ct-card:hover .ct-card__icon{ transform:translateY(-2px); background:rgba(37,99,235,0.16); border-color:var(--bwag-blue); }
.ct-card:hover a{ color:var(--bwag-blue); }
.ct-card:hover .k{ color:var(--bwag-blue-dark); }
.ct-card:hover .sub{ color:var(--bwag-navy); }
.ct-card__icon svg{ width:24px; height:24px; display:block; }
.ct-card__body{ display:flex; flex-direction:column; gap:4px; min-width:0; padding-top:2px; }
.ct-card .k{ font-size:0.74rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--bwag-muted); transition:color var(--speed) var(--ease-out); }
.ct-card a{ font-size:1.02rem; font-weight:700; color:var(--bwag-navy); overflow-wrap:anywhere; transition:color var(--speed) var(--ease-out); }
.ct-card a:hover{ color:var(--bwag-blue); }
.ct-card .sub{ color:var(--bwag-muted); font-size:0.88rem; }

/* Form column. The type here is deliberately quieter than the section
   head so the form's top edge sits level with the first card. */
/* Form column */
.ct-form-head{ margin-bottom:18px; }
.ct-form-head__label{
  display:inline-block; font-size:0.7rem; font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:8px;
}
.ct-form-head__intro{ font-size:0.94rem; color:var(--bwag-muted); max-width:52ch; line-height:1.5; }
.ct-form-head--sub{
  margin-top:22px; margin-bottom:16px;
  padding-top:20px; border-top:1px solid var(--bwag-border);
}
.ct-form-head--sub h3{ font-size:1.08rem; margin-bottom:5px; }
.ct-form-head--sub p{ color:var(--bwag-muted); font-size:0.88rem; }

@media (max-width:900px){
  .ct-cols{ grid-template-columns:1fr; gap:34px; }
  .ct-cards{ max-width:560px; }
}
@media (max-width:560px){
  .ct-card{ padding:18px; gap:14px; }
  .ct-card__icon{ width:40px; height:40px; }
  .ct-card__icon svg{ width:21px; height:21px; }
  .ct-card a{ font-size:0.98rem; }
}

@media (prefers-reduced-motion: reduce){
  .ct-card:hover{ transform:none; }
  .ct-card:hover .ct-card__icon{ transform:none; }
}

/* ============================================================
   INSIGHTS - editorial thinking hub
   ============================================================ */

/* Hero: same navy band signature as the other company pages. */
.in-hero{ padding:0; }
.in-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(18px,2.4vw,32px)) 0 clamp(22px,2.8vw,38px);
  background:var(--bwag-navy);
}
.in-hero__band::before,
.in-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.in-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.55;
  clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.in-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.42;
  clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.in-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
.in-hero h1{
  margin-bottom:12px;
  font-size:clamp(1.6rem,3.4vw,2.5rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  /* 26ch keeps this longer headline on one line, so the band matches the
     height of the About and How We Work heroes. */
  color:var(--bwag-white); max-width:26ch; text-wrap:balance;
}
.in-hero__sub{
  max-width:52ch; color:#C3CDE0;
  font-size:clamp(0.94rem,1.2vw,1.05rem); line-height:1.58; text-wrap:pretty;
}

/* Shared section head */
.in-head{ max-width:760px; margin:0 auto clamp(38px,4.5vw,56px); }
.in-head--left{ margin-left:0; max-width:none; }
.in-head__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.in-head__title{
  font-size:clamp(1.5rem,2.8vw,2.2rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); text-wrap:balance;
}
.in-head__intro{ margin-top:16px; font-size:1.02rem; color:var(--bwag-muted); max-width:64ch; }

/* Problem entry points: an editorial strip, not cards. */
.in-probs{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(16px,2vw,28px); }
.in-prob{
  padding-top:20px; border-top:2px solid var(--bwag-border);
  transition:border-color var(--speed) var(--ease-out);
}
.in-prob:hover{ border-top-color:var(--bwag-blue); }
.in-prob__n{
  display:block; font-size:0.78rem; font-weight:800; letter-spacing:0.1em;
  color:var(--bwag-blue); margin-bottom:10px;
}
.in-prob__label{
  display:block; font-size:1rem; font-weight:700; line-height:1.34;
  letter-spacing:-0.01em; color:var(--bwag-navy);
}

/* Intellectual territories: typography-led, rule-top blocks. */
.in-topics{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(26px,3.5vw,44px); }
.in-topic{ padding-top:22px; border-top:1px solid var(--bwag-border); }
.in-topic__n{
  display:block; font-size:0.78rem; font-weight:800; letter-spacing:0.1em;
  color:var(--bwag-muted); margin-bottom:14px;
}
.in-topic h3{ font-size:1.18rem; letter-spacing:-0.01em; margin-bottom:10px; }
.in-topic p{ color:var(--bwag-muted); font-size:0.95rem; }

/* Featured insights: the dominant editorial block. A single navy panel that
   cross-fades between all five articles, with drag, arrows and dots.
   Only the visible slide is in the layout, so the panel height is stable. */
.in-feature{
  padding:clamp(32px,4.5vw,56px);
  background:var(--bwag-navy); border-radius:var(--radius);
}
.in-feature__viewport{ overflow:hidden; }
.in-feature__track{ list-style:none; margin:0; padding:0; position:relative; }
.in-feature__slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  transition:opacity .5s var(--ease-out);
  cursor:grab;
}
.in-feature__slide.is-active{ position:relative; opacity:1; visibility:visible; }
.in-feature.is-dragging .in-feature__slide{ transition:none; }
.in-feature__link{
  display:grid; grid-template-columns:0.7fr 1.3fr; gap:clamp(28px,4vw,64px);
  align-items:start;
}
.in-feature__meta{ display:flex; flex-direction:column; gap:8px; }
.in-feature__cat{
  font-size:0.74rem; font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--bwag-blue-light);
}
.in-feature__info{ font-size:0.84rem; color:rgba(255,255,255,0.62); }
.in-feature__body h2{
  font-size:clamp(1.5rem,2.8vw,2.2rem); line-height:1.16; letter-spacing:-0.025em;
  color:var(--bwag-white); margin-bottom:14px; text-wrap:balance;
}
.in-feature__body p{ font-size:1.04rem; color:rgba(255,255,255,0.75); max-width:48ch; }
.in-feature__cta{
  display:inline-flex; align-items:center; gap:8px; margin-top:24px;
  font-size:0.8rem; font-weight:800; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--bwag-blue-light);
  transition:color var(--speed) var(--ease-out);
}
.in-feature__cta .ico{ transition:transform var(--speed) var(--ease-out); }
.in-feature__link:hover .in-feature__cta{ color:var(--bwag-white); }
.in-feature__link:hover .in-feature__cta .ico{ transform:translateX(4px); }
.in-feature__link:focus-visible{ outline:2px solid var(--bwag-blue-light); outline-offset:4px; border-radius:4px; }

/* Controls */
.in-feature__bar{
  display:flex; align-items:center; gap:20px; margin-top:clamp(24px,3vw,36px);
  padding-top:20px; border-top:1px solid rgba(255,255,255,0.12);
}
.in-feature__count{
  font-size:0.8rem; font-weight:700; letter-spacing:0.1em;
  color:rgba(255,255,255,0.66); font-variant-numeric:tabular-nums;
}
.in-feature__dots{ display:flex; gap:8px; margin-left:auto; }
.in-feature__dot{
  width:9px; height:9px; padding:0; border-radius:50%; cursor:pointer;
  background:rgba(255,255,255,0.28); border:0;
  transition:background var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.in-feature__dot:hover{ background:rgba(255,255,255,0.5); }
.in-feature__dot.is-on{ background:var(--bwag-blue-light); transform:scale(1.25); }
.in-feature__dot:focus-visible{ outline:2px solid var(--bwag-blue-light); outline-offset:3px; }
.in-feature__nav{ display:flex; gap:8px; }
.in-feature__btn{
  width:38px; height:38px; border-radius:10px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.18);
  color:var(--bwag-white); font-size:0.95rem;
  transition:background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
}
.in-feature__btn:hover{ background:rgba(255,255,255,0.14); border-color:var(--bwag-blue-light); }
.in-feature__btn:focus-visible{ outline:2px solid var(--bwag-blue-light); outline-offset:3px; }

/* Viewport drag feedback */
.in-feature__viewport.is-swiping .in-feature__slide{ transition:none; cursor:grabbing; }
/* Field notes: a restrained empty state, no invented content. */
.in-coming{
  padding:clamp(28px,3.5vw,40px); border:1px dashed var(--bwag-border-s);
  border-radius:var(--radius); color:var(--bwag-muted); font-size:0.98rem;
  background:var(--bwag-surface);
}

/* Why insights */
.in-why{ max-width:820px; margin-inline:auto; text-align:center; }
.in-why__title{
  font-size:clamp(1.5rem,2.8vw,2.2rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); margin-bottom:16px; text-wrap:balance;
}
.in-why__body{ font-size:1.04rem; color:var(--bwag-muted); max-width:62ch; margin-inline:auto; }

@media (max-width:1000px){
  .in-probs{ grid-template-columns:repeat(2,1fr); }
  .in-topics{ grid-template-columns:repeat(2,1fr); }
  .in-feature__link{ grid-template-columns:1fr; gap:20px; }
}
@media (max-width:640px){
  .in-head{ margin-bottom:30px; }
  .in-probs{ grid-template-columns:1fr; gap:0; }
  .in-prob{ padding:16px 0; }
  .in-topics{ grid-template-columns:1fr; gap:24px; }
  .in-feature{ padding:26px 22px; }
  .in-feature__bar{ gap:12px; }
  .in-feature__dot{ width:8px; height:8px; }
}

@media (prefers-reduced-motion: reduce){
  .in-feature__slide{ transition:none; }
  .in-feature__link:hover .in-feature__cta .ico{ transform:none; }
}

/* ============================================================
   BWAG FLOW - product page
   ============================================================ */
.bf-hero{ padding:0; }
.bf-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(26px,3.4vw,46px)) 0 clamp(32px,4vw,56px);
  background:var(--bwag-navy);
}
.bf-hero__band::before,
.bf-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.bf-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.5; clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.bf-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.38; clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.bf-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
/* Breadcrumb sits light on the navy field rather than using the dark-on-light default. */
.bf-hero__crumb{ margin-bottom:18px; justify-content:center; color:rgba(255,255,255,0.6); }
.bf-hero__crumb a{ color:rgba(255,255,255,0.85); }
.bf-hero__crumb a:hover{ color:var(--bwag-white); }
.bf-hero__product{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--bwag-blue-light); margin-bottom:16px;
}
.bf-hero h1{
  margin-bottom:16px;
  font-size:clamp(1.7rem,3.6vw,2.65rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  color:var(--bwag-white); max-width:22ch; text-wrap:balance;
}
.bf-hero__lead{ max-width:56ch; color:#D5DDEC; font-size:clamp(0.98rem,1.3vw,1.1rem); line-height:1.6; }
.bf-hero__note{ max-width:52ch; margin-top:14px; font-size:0.86rem; color:rgba(255,255,255,0.6); }
.bf-hero__cta{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:30px; }
/* The hero sits on navy, and .btn--ghost defaults to navy text, so the
   secondary button needs light text and a light edge to be readable here. */
.bf-hero__cta .btn--ghost{ background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.34); color:var(--bwag-white); }
.bf-hero__cta .btn--ghost:hover,
.bf-hero__cta .btn--ghost:focus-visible{ background:rgba(255,255,255,0.14); border-color:var(--bwag-white); }

/* Shared section head */
.bf-head{ max-width:740px; margin:0 auto clamp(36px,4.5vw,54px); }
.bf-head__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.bf-head__title{
  font-size:clamp(1.5rem,2.8vw,2.15rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); text-wrap:balance;
}
.bf-head__intro{ margin-top:16px; font-size:1.02rem; color:var(--bwag-muted); max-width:64ch; }
.bf-head__intro + .bf-head__intro{ margin-top:12px; }

/* Operating signals: an editorial strip, rule-topped. */
.bf-signals{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.6vw,34px); }
.bf-signal{
  display:flex; align-items:baseline; gap:14px; padding-top:18px;
  border-top:2px solid var(--bwag-border); color:var(--bwag-navy);
  font-size:1rem; font-weight:700; line-height:1.35; letter-spacing:-0.01em;
}
.bf-signal__n{ font-size:0.76rem; font-weight:800; letter-spacing:0.1em; color:var(--bwag-blue); flex:none; }

/* Capabilities: rule-topped editorial blocks, not filled cards. */
.bf-caps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(30px,4vw,52px); }
.bf-cap{ padding-top:24px; border-top:1px solid var(--bwag-border); }
.bf-cap__k{
  display:block; font-size:0.74rem; font-weight:800; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:14px;
}
.bf-cap h3{ font-size:1.2rem; letter-spacing:-0.015em; margin-bottom:10px; }
.bf-cap p{ color:var(--bwag-muted); font-size:0.97rem; }

/* Why BWAG built it */
.bf-why{ max-width:800px; margin-inline:auto; text-align:center; }
.bf-why__title{
  font-size:clamp(1.5rem,2.8vw,2.15rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); margin-bottom:18px; text-wrap:balance;
}
.bf-why__body{ font-size:1.02rem; color:var(--bwag-muted); max-width:62ch; margin-inline:auto; }
.bf-why__punch{
  margin-top:30px; font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.42;
  font-weight:800; letter-spacing:-0.02em; color:var(--bwag-navy);
}

/* Transaction to visibility */
.bf-flow{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(14px,2vw,26px); }
.bf-flow__step{ position:relative; padding-top:20px; border-top:2px solid var(--bwag-border); }
.bf-flow__step + .bf-flow__step::before{
  content:""; position:absolute; left:calc(-1 * clamp(14px,2vw,26px)); top:-3px;
  width:6px; height:6px; border-top:2px solid var(--bwag-border-s); border-right:2px solid var(--bwag-border-s);
  transform:rotate(45deg);
}
.bf-flow__k{
  font-size:clamp(0.95rem,1.3vw,1.1rem); font-weight:800; letter-spacing:-0.01em;
  color:var(--bwag-navy);
}

/* Screenshot placeholders: framed slots, no fabricated UI. */
.bf-shots{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,24px); }
.bf-shots__item{
  aspect-ratio:4/3; display:flex; align-items:flex-end; padding:16px;
  border:1px dashed var(--bwag-border-s); border-radius:var(--radius);
  background:var(--bwag-surface);
}
.bf-shots__k{ font-size:0.78rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--bwag-muted); }
.bf-shots__note{ margin-top:20px; font-size:0.9rem; color:var(--bwag-muted); }

/* CTA banner label */
.cta-banner__label{
  display:block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:14px;
}

@media (max-width:1000px){
  .bf-signals{ grid-template-columns:repeat(2,1fr); }
  .bf-caps{ grid-template-columns:repeat(2,1fr); }
  .bf-shots{ grid-template-columns:repeat(2,1fr); }
  .bf-flow{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  .bf-signals{ grid-template-columns:1fr; gap:18px; }
  .bf-caps{ grid-template-columns:1fr; gap:26px; }
  .bf-shots{ grid-template-columns:1fr; }
  .bf-flow{ grid-template-columns:1fr; gap:16px; }
  .bf-flow__step + .bf-flow__step::before{ display:none; }
  .bf-hero__cta{ width:100%; }
  .bf-hero__cta .btn{ justify-content:center; width:100%; }
}

/* ---------- Contact product context ----------
   Shown only when the visitor arrives from a product page. */
.ct-hero__context{
  display:inline-block; margin-bottom:16px; padding:6px 14px;
  border:1px solid rgba(255,255,255,0.28); border-radius:var(--radius-pill);
  font-size:0.72rem; font-weight:800; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--bwag-white);
}
.ct-context{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  margin-bottom:22px; padding:16px 20px;
  background:var(--bwag-tint); border:1px solid var(--bwag-border);
  border-radius:var(--radius);
}
.ct-context__label{
  font-size:0.72rem; font-weight:800; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--bwag-blue);
}
.ct-context__list{ display:flex; flex-wrap:wrap; gap:8px 28px; margin:0; }
.ct-context__list > div{ display:flex; align-items:baseline; gap:8px; }
.ct-context__list dt{ font-size:0.86rem; color:var(--bwag-muted); }
.ct-context__list dd{ margin:0; font-size:0.92rem; font-weight:700; color:var(--bwag-navy); }
.ct-context input[type="hidden"]{ display:none; }

/* ---------- Bwag Flow demo booking ----------
   A deliberately short form. `.diagram` is reused for the shared field
   styling, and the grid reverts to a single column because the fields are
   wide and the visitor is only filling in a few details. */
.book{ max-width:720px; margin-inline:auto; }
.book__form{ display:grid; gap:18px; }
.book__submit{ margin-top:6px; }

/* Inline validation message shown by the enquiry form handler. */
.field__err{ display:block; margin-top:2px; font-size:0.82rem; color:#B42318; }
.field [aria-invalid="true"]{ border-color:#D92D20; box-shadow:0 0 0 3px rgba(217,45,32,0.14); }

/* ============================================================
   BUSINESS SYSTEMS - solution page
   Editorial diagrams for how work moves, not software architecture.
   ============================================================ */
.bs-hero{ padding:0; }
.bs-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(18px,2.4vw,32px)) 0 clamp(22px,2.8vw,38px);
  background:var(--bwag-navy);
}
.bs-hero__band::before,
.bs-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.bs-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.55; clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.bs-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.42; clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.bs-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
.bs-hero__crumb{ margin-bottom:18px; justify-content:center; color:rgba(255,255,255,0.6); }
.bs-hero__crumb a{ color:rgba(255,255,255,0.85); }
.bs-hero__crumb a:hover{ color:var(--bwag-white); }
.bs-hero__id{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue-light); margin-bottom:16px;
}
.bs-hero h1{
  margin-bottom:14px;
  font-size:clamp(1.6rem,3.4vw,2.5rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  color:var(--bwag-white); max-width:22ch; text-wrap:balance;
}
.bs-hero__lead{
  max-width:52ch; color:#C3CDE0;
  font-size:clamp(0.94rem,1.2vw,1.05rem); line-height:1.58; text-wrap:pretty;
}

/* Shared section head */
.bs-head{ max-width:760px; margin:0 auto clamp(36px,4.5vw,54px); }
.bs-head__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.bs-head__title{
  font-size:clamp(1.5rem,2.8vw,2.15rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); text-wrap:balance;
}
.bs-head__intro{ margin-top:16px; font-size:1.02rem; color:var(--bwag-muted); max-width:64ch; }

/* The eight things growth adds */
.bs-parts{ list-style:none; margin:0 0 clamp(48px,6vw,72px); padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(18px,2.4vw,30px); }
.bs-part{
  display:flex; align-items:baseline; gap:12px; padding-top:16px;
  border-top:2px solid var(--bwag-border);
  font-size:0.98rem; font-weight:700; color:var(--bwag-navy); line-height:1.3;
}
.bs-part__n{ font-size:0.74rem; font-weight:800; letter-spacing:0.1em; color:var(--bwag-blue); flex:none; }

/* The founder dependency statement */
.bs-highlight{
  padding:clamp(28px,3.6vw,44px) clamp(24px,3.4vw,44px);
  background:var(--bwag-navy); border-radius:var(--radius); text-align:center;
}
.bs-highlight h3{
  font-size:clamp(1.3rem,2.3vw,1.8rem); line-height:1.2; letter-spacing:-0.025em;
  color:var(--bwag-white); margin-bottom:16px;
}
.bs-highlight p{ color:rgba(255,255,255,0.76); max-width:60ch; margin-inline:auto; font-size:1.02rem; }

/* System elements flow */
.bs-sysflow{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(14px,2vw,26px); }
.bs-sysflow__step{ position:relative; padding-top:20px; border-top:2px solid var(--bwag-border); }
.bs-sysflow__step + .bs-sysflow__step::before{
  content:""; position:absolute; left:calc(-1 * clamp(14px,2vw,26px)); top:-3px;
  width:6px; height:6px; border-top:2px solid var(--bwag-border-s); border-right:2px solid var(--bwag-border-s);
  transform:rotate(45deg);
}
.bs-sysflow__k{
  font-size:clamp(0.98rem,1.4vw,1.15rem); font-weight:800; letter-spacing:-0.01em; color:var(--bwag-navy);
}
.bs-principle{
  margin-top:clamp(36px,4.5vw,56px); text-align:center;
  font-size:clamp(1.15rem,2vw,1.45rem); font-weight:800; letter-spacing:-0.02em;
  color:var(--bwag-navy);
}

/* Worked examples */
.bs-examples{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,3.5vw,48px); }
.bs-example{ padding-top:24px; border-top:1px solid var(--bwag-border); }
.bs-example h3{ font-size:1.2rem; letter-spacing:-0.015em; margin-bottom:16px; }
.bs-example__flow{
  list-style:none; margin:0 0 16px; padding:0; display:flex; flex-wrap:wrap;
  align-items:center; gap:6px;
}
.bs-example__flow li{
  font-size:0.78rem; font-weight:600; letter-spacing:0.03em; color:var(--bwag-muted);
  background:var(--bwag-tint); border:1px solid var(--bwag-border);
  padding:5px 11px; border-radius:var(--radius-pill);
}
.bs-example p{ color:var(--bwag-muted); font-size:0.97rem; }
.bs-example__q{
  margin-top:14px; color:var(--bwag-navy) !important; font-weight:700; font-size:1rem !important;
}

/* Five-step method. Same construction as the How We Work pipeline: a real
   node element holding the number, with the connecting rule drawn on the
   list so it stops cleanly at the last stage. */
.bs-steps{ list-style:none; margin:0; padding:0; position:relative; }
.bs-step{
  position:relative; display:grid;
  grid-template-columns:96px 1fr; gap:clamp(24px,3.5vw,52px);
  padding-bottom:clamp(40px,5vw,64px);
}
.bs-step:last-child{ padding-bottom:0; }
.bs-step__n{ position:relative; z-index:1; display:flex; align-items:flex-start; justify-content:center; }
.bs-step__n span{
  display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  color:var(--bwag-navy); font-size:0.9rem; font-weight:800;
  font-variant-numeric:tabular-nums;
  transition:background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), color var(--speed) var(--ease-out);
}
/* Once the connector has reached a stage, the number takes the CTA blue. */
.bs-step.is-reached .bs-step__n span{ background:var(--bwag-blue); border-color:var(--bwag-blue); color:var(--bwag-white); }
.bs-steps::before,
.bs-steps::after{
  content:""; position:absolute; left:47px; top:22px; bottom:0;
  width:2px; border-radius:2px;
}
.bs-steps::before{ background:var(--bwag-border); }
/* --fill is scroll progress through the list, set by JS. */
.bs-steps::after{
  background:var(--bwag-blue);
  transform:scaleY(var(--fill,0)); transform-origin:top center;
  transition:transform .25s linear;
}
.bs-step__body{ min-width:0; padding-top:2px; }
.bs-step__body h3{
  font-size:0.78rem; font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:10px;
}
.bs-step__claim{
  font-size:clamp(1.2rem,2vw,1.5rem); line-height:1.24; letter-spacing:-0.02em;
  color:var(--bwag-navy); margin-bottom:10px;
}
.bs-step__body > p:not(.bs-step__claim):not(.bs-step__focus){ color:var(--bwag-muted); font-size:0.99rem; max-width:62ch; }
.bs-step__focus{
  margin-top:12px; font-size:0.8rem; font-weight:600; letter-spacing:0.05em; color:var(--bwag-muted);
}

/* Systems thinking consequences */
.bs-links{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,2.6vw,34px); }
.bs-link{
  padding:20px 24px; border-left:2px solid var(--bwag-blue);
  background:var(--bwag-surface); color:var(--bwag-navy);
  font-size:1rem; font-weight:600; line-height:1.45;
}
.bs-closer{
  margin-top:clamp(30px,3.6vw,44px); text-align:center;
  font-size:clamp(1.1rem,1.9vw,1.4rem); font-weight:700; letter-spacing:-0.015em; color:var(--bwag-navy);
}

/* Decision path: problem to right-fit solution */
.bs-decision{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,2vw,26px); }
.bs-decision__step{
  padding:20px 22px; border:1px solid var(--bwag-border); border-radius:var(--radius);
  background:var(--bwag-surface); text-align:center;
  font-size:0.98rem; font-weight:800; letter-spacing:-0.01em; color:var(--bwag-navy);
}
.bs-decision__step:last-child{ background:var(--bwag-blue); border-color:var(--bwag-blue); color:var(--bwag-white); }

/* Links to the other solutions */
.bs-others{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(20px,2.6vw,34px); }
.bs-other{
  display:block; padding:24px 26px; border-radius:var(--radius);
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}
.bs-other:hover{ transform:translateY(-3px); border-color:var(--bwag-blue); box-shadow:var(--shadow); }
.bs-other:focus-visible{ outline:2px solid var(--bwag-blue); outline-offset:3px; }
.bs-other__k{
  display:block; font-size:0.72rem; font-weight:800; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:10px;
}
.bs-other h3{ font-size:1.05rem; font-weight:700; letter-spacing:-0.01em; line-height:1.35; }

@media (max-width:1000px){
  .bs-parts{ grid-template-columns:repeat(2,1fr); }
  .bs-sysflow{ grid-template-columns:repeat(3,1fr); }
  .bs-links{ grid-template-columns:1fr; }
  .bs-decision{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .bs-examples{ grid-template-columns:1fr; }
  .bs-others{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .bs-head{ margin-bottom:30px; }
  .bs-parts{ grid-template-columns:1fr; gap:14px; }
  .bs-sysflow{ grid-template-columns:1fr; gap:14px; }
  .bs-sysflow__step + .bs-sysflow__step::before{ display:none; }
  .bs-decision{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce){
  .bs-other:hover{ transform:none; }
}
/* Inline CTA placed mid-page. A lighter treatment than the closing
   cta-banner so the two do not compete. Shared by both solution pages. */
.bs-inline,
.ai-inline{
  display:flex; align-items:center; justify-content:space-between; gap:clamp(20px,3vw,44px);
  flex-wrap:wrap; padding:clamp(24px,3vw,36px) clamp(24px,3.2vw,40px);
  background:var(--bwag-tint); border-radius:var(--radius);
}
.bs-inline__copy,
.ai-inline__copy{ max-width:56ch; }
.bs-inline__copy h2,
.ai-inline__copy h2{
  font-size:clamp(1.2rem,2vw,1.5rem); line-height:1.24; letter-spacing:-0.02em;
  color:var(--bwag-navy); margin-bottom:10px; text-wrap:balance;
}
.bs-inline__copy p,
.ai-inline__copy p{ color:var(--bwag-muted); font-size:0.98rem; }
.bs-inline__actions,
.ai-inline__actions{ display:flex; flex-wrap:wrap; gap:12px; }
.bs-inline__actions .btn,
.ai-inline__actions .btn{ white-space:nowrap; }

@media (max-width:760px){
  .bs-inline__actions,
  .ai-inline__actions{ width:100%; }
  .bs-inline__actions .btn,
  .ai-inline__actions .btn{ flex:1 1 auto; justify-content:center; }
}
/* ============================================================
   AUTOMATION & INTEGRATION - solution page
   Aliased onto the Business Systems system so both solution pages
   share one visual language.
   ============================================================ */
/* The hero, head, step connector, example cards and other links reuse the
   Business Systems rules directly. These aliases map the ai- names onto
   them so the two pages cannot drift apart. */
.ai-hero{ padding:0; }

.ai-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(18px,2.4vw,32px)) 0 clamp(22px,2.8vw,38px);
  background:var(--bwag-navy);
}
.ai-hero__band::before,
.ai-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.ai-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.55; clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.ai-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.42; clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.ai-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
.ai-hero__crumb{ margin-bottom:18px; justify-content:center; color:rgba(255,255,255,0.6); }
.ai-hero__crumb a{ color:rgba(255,255,255,0.85); }
.ai-hero__crumb a:hover{ color:var(--bwag-white); }
.ai-hero__id{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue-light); margin-bottom:16px;
}
.ai-hero h1{
  margin-bottom:14px;
  font-size:clamp(1.6rem,3.4vw,2.5rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  color:var(--bwag-white); max-width:24ch; text-wrap:balance;
}
.ai-hero__lead{
  max-width:56ch; color:#C3CDE0;
  font-size:clamp(0.94rem,1.2vw,1.05rem); line-height:1.58; text-wrap:pretty;
}
.ai-head{ max-width:760px; margin:0 auto clamp(36px,4.5vw,54px); }
.ai-head__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.ai-head__title{
  font-size:clamp(1.5rem,2.8vw,2.15rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); text-wrap:balance;
}
.ai-head__intro{ margin-top:16px; font-size:1.02rem; color:var(--bwag-muted); max-width:64ch; }

/* Operational load: three situations */
.ai-load{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(28px,3.5vw,46px); }
.ai-load__item{ padding-top:24px; border-top:1px solid var(--bwag-border); }
.ai-load__n{
  display:block; font-size:0.78rem; font-weight:800; letter-spacing:0.1em;
  color:var(--bwag-blue); margin-bottom:14px;
}
.ai-load__item h3{ font-size:1.2rem; letter-spacing:-0.015em; margin-bottom:12px; }
.ai-load__item p{ color:var(--bwag-muted); font-size:0.97rem; }
.ai-load__note{ margin-top:12px; color:var(--bwag-navy) !important; font-weight:700; }

/* Three kinds of work */
.ai-kinds{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,3vw,40px); }
.ai-kind{ padding:24px 26px; background:var(--bwag-surface); border:1px solid var(--bwag-border); border-radius:var(--radius); }
.ai-kind h3{ font-size:1.1rem; letter-spacing:-0.01em; margin-bottom:14px; }
.ai-kind ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.ai-kind li{
  position:relative; padding-left:16px; font-size:0.93rem; color:var(--bwag-muted);
}
.ai-kind li::before{
  content:""; position:absolute; left:0; top:9px; width:6px; height:6px;
  border-radius:2px; background:var(--bwag-blue);
}
.ai-punch{
  margin-top:clamp(32px,4vw,48px); text-align:center;
  font-size:clamp(1.15rem,2vw,1.45rem); font-weight:800; letter-spacing:-0.02em; color:var(--bwag-navy);
}

/* Five-step method, same construction as the Business Systems steps */
.ai-steps{ list-style:none; margin:0; padding:0; position:relative; }
.ai-step{
  position:relative; display:grid;
  grid-template-columns:96px 1fr; gap:clamp(24px,3.5vw,52px);
  padding-bottom:clamp(40px,5vw,64px);
}
.ai-step:last-child{ padding-bottom:0; }
.ai-step__n{ position:relative; z-index:1; display:flex; align-items:flex-start; justify-content:center; }
.ai-step__n span{
  display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  color:var(--bwag-navy); font-size:0.9rem; font-weight:800;
  font-variant-numeric:tabular-nums;
  transition:background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), color var(--speed) var(--ease-out);
}
.ai-step.is-reached .ai-step__n span{ background:var(--bwag-blue); border-color:var(--bwag-blue); color:var(--bwag-white); }
.ai-steps::before,
.ai-steps::after{
  content:""; position:absolute; left:47px; top:22px; bottom:0;
  width:2px; border-radius:2px;
}
.ai-steps::before{ background:var(--bwag-border); }
.ai-steps::after{
  background:var(--bwag-blue);
  transform:scaleY(var(--fill,0)); transform-origin:top center;
  transition:transform .25s linear;
}
.ai-step__body{ min-width:0; padding-top:2px; }
.ai-step__body h3{
  font-size:0.78rem; font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:10px;
}
.ai-step__claim{
  font-size:clamp(1.2rem,2vw,1.5rem); line-height:1.24; letter-spacing:-0.02em;
  color:var(--bwag-navy); margin-bottom:10px;
}
.ai-step__body > p:not(.ai-step__claim):not(.ai-step__focus){ color:var(--bwag-muted); font-size:0.99rem; max-width:62ch; }
.ai-step__focus{ margin-top:12px; font-size:0.8rem; font-weight:600; letter-spacing:0.05em; color:var(--bwag-muted); }

/* Worked scenarios, each splitting human from automated work */
.ai-cases{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,4vw,52px); }
.ai-case{ padding-top:24px; border-top:1px solid var(--bwag-border); }
.ai-case h3{ font-size:1.2rem; letter-spacing:-0.015em; margin-bottom:16px; }
.ai-case__flow{
  list-style:none; margin:0 0 16px; padding:0; display:flex; flex-wrap:wrap; gap:6px;
}
.ai-case__flow li{
  font-size:0.78rem; font-weight:600; letter-spacing:0.03em; color:var(--bwag-muted);
  background:var(--bwag-tint); border:1px solid var(--bwag-border);
  padding:5px 11px; border-radius:var(--radius-pill);
}
.ai-case p{ color:var(--bwag-muted); font-size:0.97rem; }
.ai-case__split{ margin:16px 0 0; display:grid; gap:10px; }
.ai-case__split > div{ display:grid; gap:3px; }
.ai-case__split dt{ font-size:0.74rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--bwag-blue); }
.ai-case__split > div:last-child dt{ color:var(--bwag-muted); }
.ai-case__split dd{ margin:0; font-size:0.9rem; color:var(--bwag-navy); font-weight:600; }

/* Integration flow */
.ai-flow{ list-style:none; margin:0 0 clamp(28px,3.4vw,40px); padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,2vw,26px); }
.ai-flow__step{
  position:relative; padding:18px 20px; text-align:center;
  border:1px solid var(--bwag-border); border-radius:var(--radius);
  background:var(--bwag-surface);
  font-size:0.95rem; font-weight:800; letter-spacing:-0.01em; color:var(--bwag-navy);
}
.ai-flow__step + .ai-flow__step::before{
  content:""; position:absolute; left:calc(-1 * clamp(14px,2vw,26px) - 2px); top:50%;
  width:6px; height:6px; border-top:2px solid var(--bwag-border-s); border-right:2px solid var(--bwag-border-s);
  transform:translateY(-50%) rotate(45deg);
}
.ai-flow__step:last-child{ background:var(--bwag-blue); border-color:var(--bwag-blue); color:var(--bwag-white); }
.ai-pairs{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(14px,2vw,24px); }
.ai-pair{
  padding:16px 20px; border-left:2px solid var(--bwag-blue);
  background:var(--bwag-surface); color:var(--bwag-navy);
  font-size:0.97rem; font-weight:600;
}
.ai-closer{
  margin-top:clamp(30px,3.6vw,44px); text-align:center;
  font-size:clamp(1.1rem,1.9vw,1.4rem); font-weight:700; letter-spacing:-0.015em; color:var(--bwag-navy);
}

/* When not to automate */
.ai-wait{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,3vw,40px); }
.ai-wait__item{ padding-top:22px; border-top:2px solid var(--bwag-border-s); }
.ai-wait__item h3{ font-size:1.12rem; letter-spacing:-0.015em; margin-bottom:10px; }
.ai-wait__item p{ color:var(--bwag-muted); font-size:0.97rem; }
.ai-order{
  margin-top:clamp(32px,4vw,48px); text-align:center;
  font-size:clamp(1.15rem,2vw,1.45rem); font-weight:800; letter-spacing:-0.02em; color:var(--bwag-navy);
}
.ai-hierarchy{ list-style:none; margin:clamp(28px,3.4vw,40px) 0 0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,2vw,26px); }
.ai-hierarchy__step{
  position:relative; padding-top:18px; border-top:2px solid var(--bwag-border);
  text-align:center; font-size:0.95rem; font-weight:800;
  letter-spacing:0.08em; text-transform:uppercase; color:var(--bwag-navy);
}
.ai-hierarchy__step:last-child{ border-top-color:var(--bwag-blue); color:var(--bwag-blue); }

/* Relationship to Business Systems */
.ai-chain{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,2vw,26px); }
.ai-chain__step{
  position:relative; padding:18px 20px; text-align:center;
  border:1px solid var(--bwag-border); border-radius:var(--radius);
  background:var(--bwag-surface);
  font-size:0.95rem; font-weight:700; color:var(--bwag-navy);
}
.ai-chain__step:last-child{ background:var(--bwag-blue); border-color:var(--bwag-blue); color:var(--bwag-white); }
.ai-more{ margin-top:26px; }
.ai-more a{
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.8rem; font-weight:800; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--bwag-blue); transition:color var(--speed) var(--ease-out);
}
.ai-more a:hover{ color:var(--bwag-navy); }
.ai-more .ico{ transition:transform var(--speed) var(--ease-out); }
.ai-more a:hover .ico{ transform:translateX(4px); }
.ai-more a:focus-visible{ outline:2px solid var(--bwag-blue); outline-offset:3px; }

/* Links to the other solutions */
.ai-others{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(20px,2.6vw,34px); }
.ai-other{
  display:block; padding:24px 26px; border-radius:var(--radius);
  background:var(--bwag-surface); border:1px solid var(--bwag-border);
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}
.ai-other:hover{ transform:translateY(-3px); border-color:var(--bwag-blue); box-shadow:var(--shadow); }
.ai-other:focus-visible{ outline:2px solid var(--bwag-blue); outline-offset:3px; }
.ai-other__k{
  display:block; font-size:0.72rem; font-weight:800; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:10px;
}
.ai-other h3{ font-size:1.05rem; font-weight:700; letter-spacing:-0.01em; line-height:1.35; }

@media (max-width:1000px){
  .ai-load{ grid-template-columns:1fr; }
  .ai-kinds{ grid-template-columns:1fr; }
  .ai-wait{ grid-template-columns:1fr; }
  .ai-flow{ grid-template-columns:repeat(2,1fr); }
  .ai-flow__step + .ai-flow__step::before{ display:none; }
  .ai-pairs{ grid-template-columns:1fr; }
  .ai-hierarchy{ grid-template-columns:repeat(2,1fr); }
  .ai-chain{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .ai-cases{ grid-template-columns:1fr; }
  .ai-others{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .ai-head{ margin-bottom:30px; }
  .ai-flow{ grid-template-columns:1fr; }
  .ai-hierarchy{ grid-template-columns:1fr; gap:12px; }
  .ai-chain{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce){
  .ai-other:hover{ transform:none; }
  .ai-more a:hover .ico{ transform:none; }
}
/* ============================================================
   NOT SURE? - problem-first entry point
   Two columns: a quiet editorial aside and the form. The form is the
   dominant element, so the aside stays secondary by design.
   ============================================================ */
.ns-hero{ padding:0; }
.ns-hero__band{
  position:relative; overflow:hidden; isolation:isolate;
  padding:calc(var(--nav-h) + clamp(18px,2.4vw,32px)) 0 clamp(22px,2.8vw,38px);
  background:var(--bwag-navy);
}
.ns-hero__band::before,
.ns-hero__band::after{ content:""; position:absolute; z-index:-1; pointer-events:none; }
.ns-hero__band::before{
  top:0; bottom:0; left:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(160deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.55; clip-path:polygon(0 0,100% 0,58% 44%,88% 100%,0 100%);
}
.ns-hero__band::after{
  top:0; bottom:0; right:0; width:clamp(220px,30vw,400px);
  background:linear-gradient(200deg,var(--bwag-blue) 0%,var(--bwag-blue-dark) 100%);
  opacity:.42; clip-path:polygon(42% 0,100% 0,100% 100%,14% 100%,0 52%);
}
.ns-hero__inner{ position:relative; text-align:center; display:grid; justify-items:center; }
.ns-hero__crumb{ margin-bottom:18px; justify-content:center; color:rgba(255,255,255,0.6); }
.ns-hero__crumb a{ color:rgba(255,255,255,0.85); }
.ns-hero__crumb a:hover{ color:var(--bwag-white); }
.ns-hero__id{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue-light); margin-bottom:16px;
}
.ns-hero h1{
  margin-bottom:14px;
  font-size:clamp(1.6rem,3.4vw,2.5rem); line-height:1.1; letter-spacing:-0.035em; font-weight:800;
  color:var(--bwag-white); max-width:22ch; text-wrap:balance;
}
.ns-hero__lead{
  max-width:58ch; color:#C3CDE0;
  font-size:clamp(0.94rem,1.2vw,1.05rem); line-height:1.58; text-wrap:pretty;
}

.ns-head{ max-width:760px; margin:0 auto clamp(38px,4.5vw,56px); text-align:center; }
.ns-head__label{
  display:inline-block; font-size:0.74rem; font-weight:800; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--bwag-blue); margin-bottom:16px;
}
.ns-head__title{
  font-size:clamp(1.5rem,2.8vw,2.15rem); line-height:1.18; letter-spacing:-0.025em;
  color:var(--bwag-navy); text-wrap:balance;
}
.ns-head__intro{ margin-top:16px; font-size:1.02rem; color:var(--bwag-muted); max-width:62ch; margin-inline:auto; }

/* Form gets the wider column; the aside is deliberately narrow. */
.ns-layout{ display:grid; grid-template-columns:0.62fr 1.38fr; gap:clamp(28px,4vw,64px); align-items:start; }
.ns-form-col{ min-width:0; }

/* The aside is sticky so it stays with the form as a reader scrolls. */
.ns-aside{ position:sticky; top:calc(var(--nav-h) + 32px); }
.ns-aside__label{
  font-size:0.74rem; font-weight:800; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--bwag-blue); margin:0 0 18px;
}
.ns-path{ list-style:none; margin:0; padding:0; }
.ns-path__step{
  position:relative; padding:12px 0 12px 26px;
  font-size:0.95rem; font-weight:700; color:var(--bwag-navy);
}
.ns-path__step::before{
  content:""; position:absolute; left:4px; top:22px;
  width:7px; height:7px; border-radius:50%;
  background:var(--bwag-surface); border:2px solid var(--bwag-blue);
}
.ns-path__step + .ns-path__step::after{
  content:""; position:absolute; left:7px; top:0; bottom:0; width:1px;
  background:var(--bwag-border);
}
.ns-path__step:last-child::before{ background:var(--bwag-blue); }
.ns-aside__note{
  margin-top:20px; padding-top:18px; border-top:1px solid var(--bwag-border);
  font-size:0.9rem; color:var(--bwag-muted); line-height:1.6;
}

/* Grouped fieldsets inside the form. */
.ns-group{ border-top:2px solid var(--bwag-border); border-bottom:0; }
.ns-group legend{
  font-size:0.78rem; font-weight:800; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--bwag-blue); padding:0; margin-bottom:16px;
  width:100%;
}
.ns-group .field__help{ margin-bottom:14px; }
.ns-group + .ns-group,
.ns-group + .field--hero,
.field--hero + .ns-group,
.ns-group + .discover__actions{ margin-top:clamp(30px,3.6vw,44px); }
.field--hero{ margin-top:clamp(30px,3.6vw,44px); }
.ns-group .field--other{ margin-top:18px; }

/* The problem textarea is the focal point of the page. */
.discover .field--hero{ padding:clamp(22px,2.6vw,32px); background:var(--bwag-surface); border:1px solid var(--bwag-border); border-radius:var(--radius); }
.discover .field--hero textarea{ min-height:230px; font-size:1.05rem; line-height:1.72; }


@media (max-width:900px){
  .ns-layout{ grid-template-columns:1fr; }
  .ns-aside{ position:static; }
  .ns-aside{ order:2; }
  .ns-form-col{ order:1; }
  .ns-path{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 20px; }
  .ns-path__step + .ns-path__step::after{ display:none; }
}
@media (max-width:640px){
  .ns-head{ margin-bottom:30px; }
  .discover .field--hero textarea{ min-height:190px; }
  .checks{ grid-template-columns:1fr; }
  .ns-path{ grid-template-columns:1fr; }
}

/* Heading that introduces the form, sitting above it in the right column. */
.ns-form-head{ margin-bottom:clamp(24px,3vw,34px); }
.ns-form-head h2{
  font-size:clamp(1.3rem,2.2vw,1.7rem); line-height:1.22; letter-spacing:-0.02em;
  color:var(--bwag-navy); margin-bottom:10px;
}
.ns-form-head p{ font-size:1rem; color:var(--bwag-muted); max-width:52ch; }
