/* IMI Design — corporate engineering consultancy.
   Layout: white and mist sections, one navy hero with the isometric building, left-aligned text, generous space.
   One family (Manrope); brand red only for primary actions and the sprinkler mains in the drawing. */
:root {
  --white: #ffffff;
  --mist: #f3f5f8;
  --navy: #0e1a2b;
  --navy-2: #16253b;
  --ink: #0e1a2b;
  --slate: #4b5563;
  --line: #e2e6eb;
  --red: #d71920;
  --red-dark: #b4141a;
  --red-text: #c0151b;
  --on-navy: #e8edf3;
  --on-navy-2: #a9b6c6;
  --steel: #8fa7c2;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --r: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--slate); }
.mono { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--red-text); letter-spacing: 0; }
.eyebrow a { text-decoration: none; }
.lede { font-size: 19px; line-height: 1.65; color: var(--slate); max-width: 40em; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 42px; width: auto; display: block; }
.wordmark { font-size: 23px; font-weight: 800; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.wordmark b { color: var(--red); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--slate); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 4px; }
.nav .login { color: var(--slate); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 48px -24px rgba(14, 26, 43, .35); padding: 8px; display: grid; }
.menu-panel a { padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 8px; color: var(--ink); }
.menu-panel a:hover { background: var(--mist); }
.menu-panel .sub { padding-left: 28px; font-weight: 500; font-size: 15px; color: var(--slate); }
@media (max-width: 1020px) { .nav .full-only { display: none; } .menu { display: block; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 700 15px/1 var(--font); text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { border-color: var(--ink); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dark .btn:not(.red), .band .btn:not(.red) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.dark .btn:not(.red):hover, .band .btn:not(.red):hover { border-color: #fff; }

/* ---------- home hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-block: 72px 56px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); color: #fff; line-height: 1.06; letter-spacing: -0.03em; }
.hero .lede { color: var(--on-navy-2); margin-top: 24px; max-width: 34em; }
.hero-art { width: 100%; height: auto; max-height: 600px; display: block; }
.hero-art .slab { fill: rgba(143, 167, 194, .07); stroke: rgba(143, 167, 194, .45); stroke-width: 1; }
.hero-art .slab.ground { fill: rgba(143, 167, 194, .04); stroke-dasharray: 3 4; }
.hero-art .col { stroke: #c9d6e4; stroke-width: 2.2; stroke-linecap: round; }
.hero-art .beam { stroke: rgba(201, 214, 228, .75); stroke-width: 1.4; }
.hero-art .duct.f-top { fill: #5f7894; } .hero-art .duct.f-side { fill: #455d79; } .hero-art .duct.f-end { fill: #3a4f68; }
.hero-art .tray.f-top { fill: #d9a441; } .hero-art .tray.f-side { fill: #b98622; } .hero-art .tray.f-end { fill: #9c701b; }
.hero-art .pipe { stroke: #ef3b42; stroke-width: 3.2; stroke-linecap: round; }
.hero-art .pipe.drop { stroke-width: 2; }
.hero-art .water { stroke: #5aa9e6; stroke-width: 2.6; stroke-linecap: round; }
.hero-art .riser { fill: rgba(239, 59, 66, .12); stroke: rgba(239, 59, 66, .5); stroke-width: 1; }
.hero-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 16px; font-size: 13.5px; color: var(--on-navy-2); padding-left: 8px; }
.hero-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hero-legend i { width: 18px; height: 4px; border-radius: 2px; display: inline-block; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 48px 40px; } }

/* trust strip */
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 26px; }
.strip p { font-size: 15px; color: var(--slate); font-weight: 600; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.strip li { font-size: 19px; font-weight: 800; color: #8a96a6; letter-spacing: -0.01em; }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--navy); color: var(--on-navy); }
.page-hero .wrap { padding-bottom: 64px; }
.page-hero .head-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-top: 36px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); color: #fff; letter-spacing: -0.03em; margin-top: 10px; }
.page-hero .eyebrow { color: #ff7b80; }
.page-hero .lede { color: var(--on-navy-2); }
.page-hero .ctas { margin-top: 26px; }
.page-hero .btn:not(.red) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-hero .btn:not(.red):hover { border-color: #fff; }
@media (max-width: 860px) { .page-hero .head-row { grid-template-columns: minmax(0, 1fr); } }

/* breadcrumbs */
.crumbs { font-size: 14px; color: var(--on-navy-2); padding-top: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- sections ---------- */
section.block { padding-block: 96px; }
section.block.tight { padding-top: 0; }
section.block.alt { background: var(--mist); }
section.block.rule-top { border-top: 1px solid var(--line); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; }
.head .eyebrow { margin-bottom: 10px; }
.head p { color: var(--slate); max-width: 36em; }
.head a { color: var(--red-text); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 820px) { .head { grid-template-columns: minmax(0, 1fr); } section.block { padding-block: 64px; } }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
a.svc:hover { border-color: #c6ced8; box-shadow: 0 18px 40px -28px rgba(14, 26, 43, .45); }
.svc-ic { width: 48px; height: 48px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; color: var(--ink); }
.svc-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 21px; letter-spacing: -0.015em; }
.svc p { color: var(--slate); font-size: 16px; }
.svc .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--red-text); }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--slate); }
.svc li { padding-left: 18px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--red); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 1; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* why us */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.why h3 { font-size: 20px; margin-bottom: 10px; }
.why p { color: var(--slate); font-size: 16px; }
.why .bar { width: 36px; height: 3px; background: var(--red); margin-bottom: 20px; }
@media (max-width: 820px) { .why { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* software */
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tool { padding: 28px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tool .name { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.tool .for { font-size: 14px; font-weight: 700; color: var(--red-text); }
.tool p { color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tools { grid-template-columns: minmax(0, 1fr); } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { min-width: 0; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--red); }
.steps .n { font-size: 14px; font-weight: 800; color: var(--red-text); }
.steps h3 { font-size: 18px; margin: 6px 0 8px; }
.steps p { font-size: 15.5px; color: var(--slate); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* industries */
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors li { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; background: #fff; min-width: 0; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips a, .chips li > span { display: inline-block; font-weight: 600; font-size: 15px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* industry detail cards */
.ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ind { padding: 32px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 12px; align-content: start; min-width: 0; }
.ind h2 { font-size: 22px; letter-spacing: -0.015em; }
.ind p { color: var(--slate); }
.ind ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 15px; }
.ind li { padding-left: 18px; position: relative; }
.ind li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--red); }
.ind .svcs { font-size: 14px; color: var(--slate); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.ind .svcs b { color: var(--ink); }
@media (max-width: 820px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .ind ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- prose + side panel ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.prose { max-width: 72ch; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(24px, 2.8vw, 30px); margin-top: 28px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 10px; }
.prose a { color: var(--red-text); text-underline-offset: 3px; font-weight: 600; }
.prose ul.ticks, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .74em; width: 9px; height: 2px; background: var(--red); }
.ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
@media (max-width: 600px) { .ticks.cols { grid-template-columns: minmax(0, 1fr); } }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: var(--mist); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; }
.aside-card h2, .aside-card h3 { font-size: 17px; }
.aside-card p { font-size: 15px; color: var(--slate); }
.aside-card a { text-decoration: none; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; }
.aside-card ul a { display: block; padding: 10px 0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line); color: var(--ink); }
.aside-card ul li:last-child a { border-bottom: 0; }
.aside-card ul a:hover, .aside-card ul a[aria-current="page"] { color: var(--red-text); }
.aside-card .btn { width: 100%; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child td { border-bottom: 0; }
.spec th { font-size: 14px; font-weight: 700; color: var(--slate); background: var(--mist); }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); gap: 48px; } .aside { position: static; } }

/* FAQ */
.faq { display: grid; max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 18px; line-height: 1.4; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 26px; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 22px; color: var(--slate); max-width: 70ch; }
.faq .a a { color: var(--red-text); font-weight: 600; }

/* CTA band */
.band { background: var(--navy); color: var(--on-navy); }
.band .muted { color: var(--on-navy-2); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 72px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); color: #fff; max-width: 20em; letter-spacing: -0.025em; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.cards { display: grid; gap: 14px; }
.card { background: var(--mist); border-radius: var(--r); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-width: 0; }
.card .l { font-size: 14px; font-weight: 700; color: var(--slate); }
.card .v { font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.card .v a { text-decoration: none; }
.card address { font-style: normal; font-size: 16px; line-height: 1.6; }
.copy { flex: none; font: 600 13px var(--font); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; cursor: pointer; color: var(--ink); text-decoration: none; }
.copy:hover { border-color: var(--ink); }
.enq { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; box-shadow: 0 24px 48px -36px rgba(14, 26, 43, .35); }
.enq h2 { grid-column: 1 / -1; font-size: 24px; }
.enq .full { grid-column: 1 / -1; }
.enq label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.enq input, .enq select, .enq textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid #cfd6de; border-radius: 8px; padding: 12px 14px; width: 100%; min-width: 0; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14, 26, 43, .1); }
.enq textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-note { font-size: 14px; color: var(--slate); }
.msg { grid-column: 1 / -1; font-weight: 600; font-size: 15px; }
.msg.err { color: var(--red-text); }
.msg.ok { color: #1f7a45; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 540px) { .enq { grid-template-columns: minmax(0, 1fr); padding: 22px; } }

/* ---------- footer ---------- */
footer { background: var(--navy); color: var(--on-navy-2); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
.foot h2 { font-size: 15px; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-navy-2); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot address { font-style: normal; line-height: 1.7; }
.foot .wordmark { color: #fff; }
.foot .about { margin-top: 14px; max-width: 30em; line-height: 1.65; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8494a8; }
.legal a { color: inherit; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: minmax(0, 1fr); } }

.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { background: #17834a; }
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 96px; }
.center-page .stack { display: grid; gap: 18px; justify-items: center; max-width: 560px; }
.center-page h1 { font-size: clamp(32px, 5vw, 52px); }
.center-page .ctas { justify-content: center; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card { min-width: 0; }
.post-card-link { display: flex; flex-direction: column; gap: 0; height: 100%; text-decoration: none; color: inherit; }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r); background: var(--navy); }
.post-card-b { padding: 18px 2px 0; display: grid; gap: 8px; }
.post-card h2, .post-card h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.post-card-link:hover h2, .post-card-link:hover h3 { color: var(--red-text); }
.post-card-b > p:not(.eyebrow):not(.post-meta) { color: var(--slate); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: 14px; color: var(--slate); }
.cat-nav { margin-bottom: 36px; }
.cat-nav .chips li { padding: 0; border: 0; background: none; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; }
.post-hero .wrap { padding-bottom: 56px; }
.post-head { max-width: 860px; margin-top: 32px; display: grid; gap: 16px; }
.post-head h1 { font-size: clamp(32px, 4.2vw, 50px); color: #fff; margin: 0; letter-spacing: -0.03em; }
.post-head .post-meta { color: var(--on-navy-2); }
.post-wrap { padding-block: 0 96px; }
.post-cover { margin: 48px 0 48px; max-width: 860px; border-radius: var(--r); overflow: hidden; }
.post-cover img { display: block; width: 100%; height: auto; }
.post-body { font-size: 18px; line-height: 1.75; }
.post-body h2, .post-body h3 { scroll-margin-top: 100px; }
.post-body ul, .post-body ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; list-style: revert; }
.post-body img { border-radius: var(--r); }
.post-body code { font-size: .9em; background: var(--mist); padding: 2px 6px; border-radius: 4px; }
blockquote.note { margin: 4px 0; padding: 18px 22px; border-left: 3px solid var(--red); background: var(--mist); border-radius: 0 var(--r) var(--r) 0; color: var(--slate); }
blockquote.note p { color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.tags .l, .share .l { font-size: 14px; font-weight: 700; color: var(--slate); margin-right: 4px; }
.tag { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--mist); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 10px; }
.share a, .prose .share a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.share a:hover { border-color: var(--ink); }
.toc ul a { font-weight: 500 !important; }

/* additions */
.hero-fig { margin: 0; min-width: 0; }
.svc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid.two .svc { grid-column: span 1; }
@media (max-width: 640px) { .svc-grid.two { grid-template-columns: minmax(0, 1fr); } }
.hero .btn:not(.red) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn:not(.red):hover { border-color: #fff; }
.nav .btn.red { color: #fff; }
@media (max-width: 440px) { .nav .quote { display: none; } }
.nav { gap: 28px; }
@media (max-width: 1020px) { .nav { gap: 12px; } }
.cta-band .wrap > div:first-child { max-width: 680px; }
.faq + .band, section.block.rule-top + .band { margin-top: 0; }
.why.global { margin-bottom: 56px; }
