/* =========================================================
   BluCow Capital — design system
   Brand-faithful: sampled from the live site source.
   Type:    Quicksand (400/500/600/700) — headings + body + labels
   Colour:  Blu cyan #01BBD7 · ink teal-navy #0B2434 · wordmark grey
   Feel:    rounded cards, soft shadows, light translucent header
   ========================================================= */

:root {
  --cyan:       #01BBD7;   /* Blu cyan — sampled from brand logo   */
  --cyan-2:     #00B4D8;   /* alt cyan (emails/buttons)            */
  --cyan-deep:  #0193ab;   /* darker cyan — links on light bg      */
  --cyan-soft:  #E3F6FA;   /* tint — metric cards / focus ring     */
  --ink:        #0B2434;   /* deep teal-navy — hero/footer/heads   */
  --ink-soft:   #13344A;   /* raised panels on ink                 */
  --grey:       #5A5A5A;   /* wordmark grey — body copy            */
  --mist:       #F5F8FA;   /* light section background             */
  --line:       #E3E9ED;   /* hairlines                            */
  --line-dark:  rgba(255,255,255,.14);
  --white:      #FFFFFF;
  --hero-sub:   #B9CAD4;   /* muted text on ink                    */

  --sans: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --gap: clamp(1.5rem, 4vw, 3.5rem);
  --radius: 10px;    /* buttons / fields */
  --radius-lg: 14px; /* cards / panels   */
  --shadow: 0 10px 26px rgba(11,36,52,0.06);
  --shadow-lg: 0 14px 34px rgba(11,36,52,0.10);
}

*,*::before,*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--grey);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: var(--sans); font-weight: 700; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1.1em; }
a { color: var(--cyan-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 700; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 1.5rem); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* ---- eyebrow / labels : Quicksand caps ---- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
  display: inline-block;
}
.section--dark .eyebrow { color: var(--cyan); }

/* ---------------- header / nav (light, translucent) ---------------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }

/* stacked logo — mark above wordmark */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; line-height: 0; }
.brand .brand-mark { width: 56px; height: 56px; display: block; }
.brand .brand-word { height: 23px; width: auto; display: block; }

.nav-links { display: flex; gap: 1.1rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan-deep); }
.nav-cta { background: var(--cyan); color: var(--ink) !important; padding: .6rem 1.15rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem; transition: background .16s ease; }
.nav-cta:hover { background: var(--cyan-2); color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: .4rem .6rem; font-size: 1rem; cursor: pointer; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav-links { position: absolute; inset: 88px 0 auto 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 0; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); max-height: calc(100vh - 88px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .8rem clamp(1.1rem,4vw,1.5rem); width: 100%; }
  .nav-links .nav-cta { margin: .5rem clamp(1.1rem,4vw,1.5rem); display: inline-block; width: auto; }
  .drop-toggle { width:100%; justify-content:space-between; padding:.8rem clamp(1.1rem,4vw,1.5rem); }
  .has-drop > .drop { position:static; box-shadow:none; border:none; padding:.1rem 0 .3rem 1.4rem; margin:0; min-width:0; background:transparent; }
  .has-drop:hover > .drop { display:none; }
  .has-drop.open > .drop { display:block; }
  .has-drop > .drop::before { display:none; }
  .drop li a { white-space:normal; }
}

/* ---------------- hero ---------------- */
.hero { background: var(--ink); color: #EAF0F5; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.18rem; color: var(--hero-sub); max-width: 36ch; }
.hero .eyebrow { color: var(--cyan); }
@media (max-width: 820px){ .hero .wrap { grid-template-columns: 1fr; } .stack-fig { order: 2; } }

/* capital-stack signature graphic (brand-recoloured) */
.stack-fig { display: grid; gap: 6px; }
.tranche {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.1rem; border-radius: var(--radius); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: .85rem; letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.10);
}
.tranche small { color: rgba(255,255,255,.62); font-size: .74rem; font-weight: 500; }
.tranche.t1 { background: #0E2A40; }
.tranche.t2 { background: #123a55; }
.tranche.t3 { background: #17496b; }
.tranche.t4 { background: #1f6f8e; }
.tranche.t5 { background: var(--cyan); color: var(--ink); border-color: transparent; }
.tranche.t5 small { color: rgba(11,36,52,.7); }
.tranche.is-active { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .16s, color .16s, border-color .16s; }
.btn--primary { background: var(--cyan); color: var(--ink); }
.btn--primary:hover { background: var(--cyan-2); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color:#fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); color:#fff; }
.btn--outline { background: transparent; color: var(--cyan-deep); border-color: var(--cyan); }
.btn--outline:hover { background: var(--cyan-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------------- generic blocks ---------------- */
.section--paper2 { background: var(--mist); }
.section--dark { background: var(--ink); color: #DCE6EF; }
.section--dark h2, .section--dark h3 { color: #fff; }
.lede { font-size: 1.2rem; color: var(--grey); max-width: 62ch; }
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 820px){ .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); transition: box-shadow .16s ease, transform .16s ease; }
.card h3 { margin-bottom: .4rem; }
.card .kicker { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.card p { margin-bottom: .8rem; color: var(--grey); font-size: .98rem; }
.card a.more { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--cyan-deep); }
.card a.more::after { content: " →"; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* service link list */
.svc-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 700px){ .svc-index { grid-template-columns: 1fr; } }
.svc-index a { background: var(--white); display: block; padding: 1.2rem 1.4rem; text-decoration: none; color: var(--ink); }
.svc-index a:hover { background: var(--mist); }
.svc-index .t { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; display: block; color: var(--ink); }
.svc-index .d { color: var(--grey); font-size: .9rem; }

/* metrics / definition tables */
.spec { width: 100%; border-collapse: collapse; font-size: .98rem; margin: 1rem 0 1.6rem; }
.spec th, .spec td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); width: 34%; }

/* breadcrumb */
.crumbs { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--grey); padding-top: 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs a { color: var(--cyan-deep); text-decoration: none; }
.crumbs li+li::before { content: "/"; margin-right: .4rem; color: var(--line); }

/* page hero (interior) */
.page-hero { background: var(--ink); color:#DCE6EF; }
.page-hero h1 { color:#fff; max-width: 20ch; }
.page-hero .lead { color: var(--hero-sub); font-size: 1.15rem; max-width: 60ch; }
.page-hero .wrap { padding-block: clamp(2rem,4vw,3rem) clamp(2.4rem,5vw,3.5rem); }

/* content prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.callout { border-left: 3px solid var(--cyan); background: var(--mist); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6rem 0; }
.callout .kicker { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing:.12em; text-transform: uppercase; color: var(--cyan-deep); display:block; margin-bottom: .3rem; }

/* hero / feature image */
.feature-img { width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.media-figure { margin: 0; }
.media-figure figcaption { font-size: .82rem; color: var(--grey); margin-top: .5rem; }

/* two-column content + rail */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
@media (max-width: 900px){ .layout { grid-template-columns: 1fr; } .rail { order: 2; } }
.rail { position: sticky; top: 108px; display: grid; gap: 1.2rem; }
.rail .box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; background: var(--white); box-shadow: var(--shadow); }
.rail .box h4 { font-size: 1rem; margin-bottom: .6rem; color: var(--ink); }
.rail .stack-mini { display: grid; gap: 3px; }
.rail .stack-mini .tranche { padding: .5rem .7rem; font-size: .74rem; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq summary { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; color: var(--ink); cursor: pointer; padding: .95rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--cyan-deep); }

/* CTA band */
.cta-band { background: var(--ink); color:#fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color:#fff; margin: 0; max-width: 24ch; }

/* forms */
.form { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px){ .form { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .02em; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .98rem; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }

/* footer */
.site-footer { background: var(--ink); color: #A9B8C6; padding-block: 3rem 2rem; border-top: 3px solid var(--cyan); }
.site-footer a { color: #C9D6E2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color:#fff; font-family: var(--sans); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .92rem; }
.foot-brand .brand { align-items: center; margin-bottom: 1rem; }
.foot-brand p { color: #A9B8C6; font-size: .92rem; }
.foot-note { border-top: 1px solid var(--line-dark); margin-top: 2rem; padding-top: 1.4rem; font-size: .8rem; color: #7E8F9E; max-width: 96ch; }
.foot-note a { color:#9FB0BF; text-decoration: underline; }

/* skip link + focus */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: .6rem; background:#fff; color: var(--ink); padding: .5rem .8rem; border-radius: var(--radius); z-index: 100; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; }
.badge { font-family: var(--sans); font-weight: 600; font-size: .76rem; letter-spacing: .02em; color: var(--grey); border: 1px solid var(--line); border-radius: 100px; padding: .35rem .8rem; background: var(--white); }
.section--dark .badge, .hero .badge { color: var(--hero-sub); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }

/* footer social icons */
.foot-brand .social { display:flex; gap:.9rem; margin:.9rem 0 0; align-items:center; }
.foot-brand .social a { display:inline-flex; color:#A9B8C6; }
.foot-brand .social a:hover { color:#fff; }
.foot-brand .social svg { width:20px; height:20px; display:block; }

/* team profile card */
.profile { display:grid; grid-template-columns:130px 1fr; gap:1.3rem; align-items:start; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:1.4rem; box-shadow:var(--shadow); margin:1rem 0 1.6rem; }
.profile img { width:100%; height:auto; border-radius:10px; display:block; }
.profile h3 { margin:0 0 .15rem; }
.profile .role { margin:0 0 .6rem; color:var(--cyan-deep); font-weight:600; font-size:.95rem; }
.profile p:last-child { margin:0; }
@media (max-width:560px){ .profile { grid-template-columns:1fr; } .profile img { max-width:160px; } }

/* blog + case study */
.pullquote { border-left:3px solid var(--cyan); background:var(--mist); padding:1rem 1.2rem; margin:1.4rem 0; font-size:1.1rem; font-weight:600; color:var(--ink); border-radius:0 8px 8px 0; }
.prose blockquote.pullquote { font-style:normal; }
.badges { margin:1rem 0 0; }
.badge { display:inline-block; background:var(--mist); border:1px solid var(--line); color:var(--grey); font-size:.85rem; font-weight:600; padding:.25rem .7rem; border-radius:999px; }

/* dropdown navigation */
.has-drop { position: relative; }
.drop-toggle { background:none; border:none; font:inherit; font-size:.92rem; font-weight:600; color:var(--ink); cursor:pointer; padding:0; display:inline-flex; align-items:center; gap:.28rem; }
.drop-toggle:hover, .drop-toggle.cur, .nav-links .cur { color:var(--cyan-deep); }
.drop-toggle .caret { font-size:.62em; transition:transform .18s; }
.has-drop > .drop { position:absolute; top:100%; left:0; min-width:238px; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 34px rgba(11,36,52,.14); padding:.45rem; margin-top:.55rem; list-style:none; display:none; z-index:60; }
.has-drop:hover > .drop, .has-drop.open > .drop { display:block; }
.has-drop > .drop::before { content:""; position:absolute; left:0; right:0; top:-.65rem; height:.65rem; }
.has-drop.open > .drop-toggle .caret, .has-drop:hover > .drop-toggle .caret { transform:rotate(180deg); }
.drop li a { display:block; padding:.46rem .7rem; border-radius:7px; font-size:.9rem; white-space:nowrap; color:var(--ink); font-weight:500; }
.drop li a:hover { background:var(--mist); color:var(--cyan-deep); }
.drop .drop-head { font-size:.7rem; text-transform:uppercase; letter-spacing:.09em; color:var(--grey); padding:.55rem .7rem .15rem; font-weight:700; }
.drop .drop-div { border-top:1px solid var(--line); margin:.35rem .3rem; height:0; padding:0; }

/* feasibility wizard */
.feaso-stepper { display:flex; gap:1.2rem; max-width:560px; margin:0 0 1rem; }
.feaso-step { display:flex; align-items:center; gap:.5rem; font-weight:700; font-size:.9rem; color:var(--grey); }
.feaso-step .num { width:26px; height:26px; border-radius:50%; background:var(--line); color:var(--grey); display:grid; place-items:center; font-size:.82rem; }
.feaso-step.active { color:var(--ink); }
.feaso-step.active .num { background:var(--cyan); color:var(--ink); }
.feaso-reset { display:flex; justify-content:flex-end; max-width:1120px; margin:0 0 1.2rem; }
.feaso-reset button { font:inherit; font-weight:700; font-size:.8rem; color:var(--grey); background:none; border:1px solid var(--line); border-radius:8px; padding:.45rem .8rem; cursor:pointer; }
.feaso-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.75rem; align-items:start; }
@media (max-width:820px){ .feaso-grid{ grid-template-columns:1fr; } }
.feaso-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.6rem; }
.feaso-card h3 { margin:0 0 1rem; font-size:1rem; }
.feaso-sub { font-size:.85rem; color:var(--grey); margin:0 0 1.1rem; line-height:1.5; }
.feaso-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.65rem; }
.feaso-row label { font-size:.85rem; font-weight:600; color:var(--ink); flex:1; }
.feaso-row .inp { position:relative; width:132px; flex:none; }
.feaso-row .inp input { width:100%; padding:.45rem .55rem; border:1px solid var(--line); border-radius:8px; font:inherit; text-align:right; }
.feaso-row .inp .affix { position:absolute; top:50%; transform:translateY(-50%); color:var(--grey); font-size:.8rem; pointer-events:none; }
.feaso-row .inp .pre { left:.55rem; } .feaso-row .inp .suf { right:.55rem; }
.feaso-div { height:1px; background:var(--line); margin:.6rem 0 1rem; }
.feaso-hero-metric { background:var(--ink); border-radius:14px; padding:1.5rem 1.5rem; margin-bottom:1rem; }
.feaso-hero-metric .k { font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--cyan); margin-bottom:.4rem; }
.feaso-hero-metric .val { font-size:2.4rem; font-weight:700; color:#fff; line-height:1; letter-spacing:-.02em; }
.feaso-hero-metric .sub { font-size:.82rem; color:#9FB4C0; margin-top:.55rem; }
.metric { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.65rem .9rem; background:#fff; border:1px solid var(--line); border-radius:10px; margin-bottom:.5rem; }
.metric .l { font-size:.85rem; color:var(--grey); }
.metric .v { font-size:.95rem; font-weight:700; color:var(--ink); }
.metric.hi .v { color:var(--cyan-deep); }
.metric.big { padding:.9rem; } .metric.big .v { font-size:1.25rem; color:var(--cyan-deep); }
.feaso-slider { margin-bottom:1rem; }
.feaso-slider .top { display:flex; justify-content:space-between; font-size:.85rem; font-weight:600; margin-bottom:.35rem; }
.feaso-slider .top .num { color:var(--cyan-deep); }
.feaso-slider input[type=range] { width:100%; accent-color:var(--cyan); }
.feaso-stack { background:var(--ink); border-radius:14px; padding:1.1rem; margin-top:1rem; }
.feaso-stack .bar { display:flex; align-items:center; justify-content:space-between; padding:0 1rem; border-radius:9px; margin-bottom:.5rem; color:#fff; font-weight:700; font-size:.85rem; transition:height .25s cubic-bezier(.22,1,.36,1); }
.feaso-nav { display:flex; gap:.7rem; justify-content:center; flex-wrap:wrap; margin-top:1.8rem; }
.feaso-note { background:var(--ink); border-radius:10px; padding:1rem 1.1rem; margin-top:.6rem; }
.feaso-note p { font-size:.82rem; line-height:1.6; color:#B9CAD4; margin:0; }
.btn--ghost { background:#fff; border:1px solid var(--line); color:var(--ink); }

/* two-column services mega menu */
.drop--mega { display:flex; gap:1.4rem; min-width:470px; padding:.9rem 1.1rem; }
.drop--mega .drop-col { display:flex; flex-direction:column; min-width:205px; }
.drop--mega a { display:block; padding:.4rem .5rem; border-radius:7px; font-size:.9rem; color:var(--ink); font-weight:500; white-space:nowrap; text-decoration:none; }
.drop--mega a:hover { background:var(--mist); color:var(--cyan-deep); }
.drop--mega .drop-head { font-size:.7rem; text-transform:uppercase; letter-spacing:.09em; color:var(--grey); padding:.3rem .5rem .35rem; font-weight:700; }
.drop--mega .drop-all { margin-top:.35rem; color:var(--cyan-deep); font-weight:700; }
@media (max-width:1080px){ .drop--mega { flex-direction:column; gap:.2rem; min-width:0; padding:.1rem 0 .3rem 1.4rem; } .drop--mega .drop-col{ min-width:0; } }

/* worked-example tables */
.wex { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; margin:1.1rem 0; align-items:start; }
@media (max-width:760px){ .wex{ grid-template-columns:1fr; } }
.wex-table { width:100%; border-collapse:collapse; font-size:.9rem; }
.wex-table caption { text-align:left; font-weight:700; color:var(--ink); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; padding:0 0 .5rem; }
.wex-table th, .wex-table td { text-align:left; padding:.5rem .6rem; border-bottom:1px solid var(--line); }
.wex-table td:last-child, .wex-table th:last-child { text-align:right; }
.wex-table thead th { font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--grey); border-bottom:1.5px solid var(--line); }
.wex-table th { font-weight:600; color:var(--grey); }
.wex-table td { font-weight:700; color:var(--ink); }
.wex-table tr.tot td, .wex-table tr.tot th { border-top:1.5px solid var(--ink); border-bottom:none; color:var(--ink); }
.wex-table tr.hi td:last-child { color:var(--cyan-deep); }
.wex-cmp { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; margin:1.1rem 0; }
@media (max-width:760px){ .wex-cmp{ grid-template-columns:1fr; } }
.wex-card { border:1px solid var(--line); border-radius:12px; padding:1.1rem 1.2rem; }
.wex-card h4 { margin:0 0 .2rem; font-size:1rem; }
.wex-card .tag { font-size:.75rem; font-weight:700; color:var(--cyan-deep); text-transform:uppercase; letter-spacing:.06em; }
.illus { font-size:.85rem; color:var(--grey); margin:.6rem 0 0; }

/* full-width, prominent CTA button in cta-band (blog posts + case studies) */
.cta-band .wrap { row-gap: 1.15rem; }
.cta-band .btn--primary.btn-wide { flex: 1 1 100%; width: 100%; display: block; box-sizing: border-box; text-align: center; padding-top: .95rem; padding-bottom: .95rem; font-size: 1.02rem; }

/* blog inline CTAs, cross-links, related articles */
.inline-cta { text-align:center; margin:1.9rem 0; }
.cta-inline { background:var(--mist); border:1px solid var(--line); border-left:4px solid var(--cyan); border-radius:12px; padding:1.15rem 1.4rem; margin:1.9rem 0; display:flex; align-items:center; justify-content:space-between; gap:1rem 1.4rem; flex-wrap:wrap; }
.cta-inline p { margin:0; font-weight:600; color:var(--ink); }
.cta-inline .btn { flex:none; }
.cta-handbook { border-left-color:var(--cyan-deep); }
.related-read { background:var(--mist); border-radius:8px; padding:.6rem .95rem; margin:1.5rem 0; font-weight:600; font-size:.92rem; color:var(--grey); }
.related-read a { color:var(--cyan-deep); text-decoration:none; }
.related-read a:hover { text-decoration:underline; }
.related-articles { border-top:1px solid var(--line); }
.related-articles h2 { margin-top:0; }
.rel-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.2rem; }
@media (max-width:760px){ .rel-grid{ grid-template-columns:1fr; } }
.rel-card { display:block; border:1px solid var(--line); border-radius:12px; padding:1.2rem 1.3rem; text-decoration:none; transition:border-color .15s, transform .15s; }
.rel-card:hover { border-color:var(--cyan); transform:translateY(-2px); }
.rel-card h3 { margin:.3rem 0 .55rem; font-size:1.05rem; color:var(--ink); }
.rel-card .rel-go { color:var(--cyan-deep); font-weight:700; font-size:.9rem; }

/* blog CTA full-width */
.inline-cta .btn { display:block; width:100%; box-sizing:border-box; }
.cta-inline { flex-direction:column; align-items:stretch; text-align:center; }
.cta-inline .btn { display:block; width:100%; box-sizing:border-box; flex:none; }

/* article author byline (E-E-A-T) */
.byline { display:flex; align-items:center; gap:.9rem; margin:0 0 1.7rem; padding:0 0 1.4rem; border-bottom:1px solid var(--line); }
.byline-avatar { width:54px; height:54px; border-radius:50%; object-fit:cover; flex:none; }
.byline-name { margin:0; font-weight:700; color:var(--ink); font-size:.95rem; }
.byline-name a { color:var(--cyan-deep); text-decoration:none; }
.byline-name a:hover { text-decoration:underline; }
.byline-cred { margin:.15rem 0 0; font-size:.8rem; color:var(--grey); line-height:1.45; }
.byline-date { margin:.28rem 0 0; font-size:.78rem; color:var(--grey); }

/* blog topic filter */
.blog-filter { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.6rem; }
.blog-filter .chip { font:inherit; font-weight:700; font-size:.85rem; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:999px; padding:.45rem 1rem; cursor:pointer; transition:all .15s; }
.blog-filter .chip:hover { border-color:var(--cyan); }
.blog-filter .chip.active { background:var(--ink); color:#fff; border-color:var(--ink); }

/* inline blog images */
.blog-img { margin:2rem 0; padding:0; }
.blog-img img { display:block; width:100%; height:auto; margin:0; border-radius:14px; box-shadow:0 10px 26px rgba(11,36,52,.12); }

/* blog pagination */
.blog-filter-cell { align-self:start; }
.blog-filter-cell .blog-filter { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; align-content:start; margin:0; max-width:300px; }
.blog-filter-cell .chip { width:100%; aspect-ratio:1/1; border-radius:50%; display:flex; align-items:center; justify-content:center; text-align:center; padding:.5rem; line-height:1.2; font-size:.82rem; }
.blog-pager { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-top:2.6rem; }
.page-btn { min-width:2.7rem; padding:.55rem .95rem; border:1px solid var(--line); background:#fff; color:var(--ink); border-radius:10px; font:inherit; font-weight:600; cursor:pointer; transition:border-color .15s, color .15s, background .15s; }
.page-btn:hover:not(:disabled) { border-color:var(--cyan); color:var(--cyan-deep); }
.page-btn.active { background:var(--cyan); border-color:var(--cyan); color:#fff; }
.page-btn:disabled { opacity:.4; cursor:default; }
