/* michaelmitov.com — "Midnight & Brass"
   Literata (headings) + Public Sans (text), self-hosted. Mobile first. */

@font-face { font-family: "Literata"; src: url("/assets/fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --midnight: #0B1B36;
  --harbour: #132B52;
  --harbour-2: #1A3866;
  --navy: #1C3F7A;
  --brass: #C99A45;
  --brass-hi: #E2BC72;
  --brass-deep: #7E5A1A;
  --fog: #EEF2F7;
  --white: #FFFFFF;
  --ink: #14223B;
  --slate: #4A5872;
  --line: #D6DDE8;
  --line-dark: #2A4673;
  --on-dark: #D7DFEC;
  --ok: #4CC08A;
  --ok-deep: #1D7A4F;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 6px;
  --r-lg: 12px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--midnight); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--midnight); text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.4rem + 2.8vw, 3.35rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
code { font-size: .92em; background: var(--fog); padding: .1em .35em; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brass); color: var(--midnight); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--slate); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: var(--r); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn--brass { background: var(--brass); color: var(--midnight); border-color: var(--brass); }
.btn--brass:hover { background: var(--brass-hi); border-color: var(--brass-hi); color: var(--midnight); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--line { color: var(--midnight); border-color: var(--midnight); background: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .95rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.link-strong { font-weight: 650; color: var(--navy); }
.link-light { color: var(--brass-hi); }
.link-light:hover { color: #fff; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--midnight); border-bottom: 1px solid var(--harbour); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.mark { width: 40px; height: 40px; flex: none; }
.brand__t { display: flex; flex-direction: column; line-height: 1.15; }
.brand__n { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.brand__r { font-size: .8rem; color: var(--brass-hi); letter-spacing: .01em; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list > li > a { color: var(--on-dark); text-decoration: none; font-weight: 550; font-size: .98rem; }
.nav__list > li > a:hover, .nav__list > li > a[aria-current] { color: #fff; }
.nav__list > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--brass); }
.hdr__cta { display: none; align-items: center; gap: 16px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.hdr__tel .ico { color: var(--brass); }
.nav__toggle { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; background: none; border: 1px solid var(--line-dark); border-radius: var(--r); cursor: pointer; }
.nav__toggle i { display: block; width: 20px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.nav__toggle[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.mega { display: none; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { text-decoration: none; }
.mega__h { font-family: var(--serif); font-weight: 600; margin: 0 0 .4em; }
.mega__all { margin: .6em 0 0; }

@media (max-width: 1099px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; }
  .nav__list { display: none; background: var(--midnight); border-top: 1px solid var(--harbour); padding: 8px var(--gut) 24px; max-height: calc(100vh - 72px); overflow: auto; }
  .nav__list.is-open { display: block; }
  .nav__list > li { border-bottom: 1px solid var(--harbour); }
  .nav__list > li > a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .has-sub.is-open .mega { display: block; padding: 0 0 14px 12px; }
  .mega__h { color: var(--brass-hi); font-size: .95rem; margin-top: .6em; }
  .mega a { display: block; padding: 7px 0; color: var(--on-dark); }
  .mega__all a { color: #fff; font-weight: 600; }
  .nav__cta { border: 0 !important; padding-top: 18px; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 1100px) {
  .nav__toggle, .nav__cta { display: none; }
  .hdr__cta { display: flex; }
  .nav { margin-left: auto; }
  .nav__list { display: flex; gap: 26px; align-items: center; }
  .nav__list > li { position: relative; }
  .nav__list > li > a { display: inline-block; padding: 24px 0; }
  .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
  .mega { position: absolute; top: 100%; left: -24px; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 24px 48px -18px rgba(11,27,54,.45); padding: 26px 28px 20px; display: grid; grid-template-columns: repeat(3, 210px); gap: 8px 28px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; border-top: 3px solid var(--brass); }
  .mega--narrow { grid-template-columns: 300px; }
  .has-sub:hover .mega, .has-sub:focus-within .mega, .has-sub.is-open .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__h { color: var(--midnight); font-size: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .4em; }
  .mega a { display: block; padding: 5px 0; color: var(--ink); font-size: .95rem; }
  .mega a:hover { color: var(--navy); text-decoration: underline; }
  .mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
  .mega__all a { font-weight: 650; color: var(--navy); }
}

/* ---------- Hero ---------- */
.hero { background: var(--midnight); color: var(--on-dark); padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero--inner h1 { max-width: 22ch; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 60ch; color: var(--on-dark); }
.hero__proof { margin-top: 1.6rem; font-size: .95rem; color: #A9B6CC; max-width: 52ch; border-left: 2px solid var(--brass); padding-left: 14px; }
.hero__pic { margin: 0; position: relative; }
.hero__pic img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__pic::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--brass); border-radius: var(--r-lg); z-index: -1; }
.hero__pic { z-index: 0; isolation: isolate; }
@media (max-width: 899px) { .hero__pic { margin-right: 10px; } .hero__pic::after { inset: 10px -10px -10px 10px; } }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: #A9B6CC; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6C7E9C; }
.crumbs a { color: #C9D3E3; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero--solo .hero__grid { grid-template-columns: 1fr; }
}

/* Home hero: photo with the monitor laid over it */
.hero--home { padding-bottom: clamp(56px, 8vw, 110px); }
.hero--home h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.7rem); max-width: 20ch; }
.hero__mon { position: relative; }
.hero__photo { margin: 0 0 0 auto; width: 72%; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.hero__mon .monitor { position: relative; width: 92%; margin-top: -42%; }
@media (max-width: 559px) { .hero__photo { width: 80%; } .hero__mon .monitor { width: 100%; margin-top: -40%; } .hero__mon .monitor__row:nth-child(n+6) { display: none; } }
@media (min-width: 900px) {
  .hero--home .hero__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Monitor (signature) ---------- */
.monitor { margin: 0; background: var(--harbour); border: 1px solid var(--line-dark); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; color: var(--on-dark); }
.monitor__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #0F2244; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.monitor__dots { display: flex; gap: 6px; }
.monitor__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2F4D7E; }
.monitor__site { font-size: .9rem; color: #fff; font-weight: 600; letter-spacing: .01em; }
.monitor__pill { margin-left: auto; font-size: .78rem; font-weight: 650; color: var(--midnight); background: var(--ok); padding: 3px 10px; border-radius: 999px; }
.monitor__rows { margin: 0; padding: 6px 0; }
.monitor__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 11px 16px; border-bottom: 1px solid rgba(42,70,115,.55); }
.monitor__row:last-child { border-bottom: 0; }
.monitor dt { font-weight: 600; color: #fff; font-size: .95rem; }
.monitor dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: .9rem; }
.monitor .ok { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 650; }
.monitor .ok .ico { width: 1em; height: 1em; stroke-width: 2.6; }
.monitor__d { color: #A9B6CC; }
.monitor figcaption { padding: 10px 16px 14px; font-size: .82rem; color: #93A3BE; border-top: 1px solid var(--line-dark); }
@media (min-width: 560px) {
  .monitor__row { grid-template-columns: 9.5em 1fr; align-items: baseline; }
}

/* ---------- Bands & section heads ---------- */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.band--fog { background: var(--fog); }
.band--night { background: var(--midnight); color: var(--on-dark); }
.band--night h2, .band--night h3 { color: #fff; }
.band + .band:not(.band--fog):not(.band--night):not(.band--cta) { padding-top: 0; }
.band--fog + .band, .band--night + .band { padding-top: clamp(56px, 7vw, 96px) !important; }
.sec-head { max-width: 760px; margin-bottom: 2.2rem; }
.sec-head p { color: var(--slate); font-size: 1.08rem; }
.band--night .sec-head p { color: #A9B6CC; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.sec-head--row h2 { margin: 0; }
.lede { font-size: 1.15rem; line-height: 1.65; }

/* ---------- Lifecycle (home) ---------- */
.life { display: grid; gap: 22px; margin-bottom: 2rem; }
.life__col { background: #fff; border-radius: var(--r-lg); padding: 28px 26px 22px; border-top: 4px solid var(--brass); }
.life__col h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; margin-bottom: .35em; }
.life__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--midnight); color: var(--brass-hi); font: 600 1rem/1 var(--sans); }
.life__col > p { color: var(--slate); }
.life__col ul { list-style: none; padding: 0; margin: 1em 0 0; border-top: 1px solid var(--line); }
.life__col li a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; }
.life__col li a:hover { color: var(--navy); }
.life__col li a .ico { color: var(--brass-deep); }
@media (min-width: 900px) { .life { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Split with photo ---------- */
.split { display: grid; gap: 36px; align-items: start; }
.split__pic img, .split__pic .mark { width: min(280px, 70%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 1px var(--brass), 0 20px 40px -24px rgba(11,27,54,.5); }
@media (min-width: 860px) { .split--photo { grid-template-columns: 300px 1fr; gap: 56px; } .split__pic img { width: 100%; } }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 1.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures > div { padding: 16px 12px 14px 0; display: flex; flex-direction: column-reverse; }
.figures > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.figures dt { font-size: .85rem; color: var(--slate); line-height: 1.35; }
.figures dd { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 600; color: var(--midnight); line-height: 1.1; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .35em; }
.article h2 { padding-top: .2em; }
.byline { font-size: .92rem; color: var(--slate); border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem; }
.source { font-size: .85rem; color: var(--slate); margin-top: -.4em; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border: 1.5px solid var(--navy); border-radius: 4px; }
.checklist li::after { content: ""; position: absolute; left: 7px; top: .5em; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist--warn li::before { border-color: #B4462E; }
.checklist--warn li::after { border: 0; width: 9px; height: 2px; background: #B4462E; transform: none; left: 5.5px; top: calc(.38em + 7px); }
.sources { font-size: .95rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-wrap table, table.data { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table-wrap caption { text-align: left; font-weight: 650; padding: 14px 16px 6px; color: var(--midnight); }
.table-wrap th, .table-wrap td { text-align: left; padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--fog); font-weight: 650; color: var(--midnight); border-top: 0; }

/* ---------- Ledger (client list) ---------- */
.ledger-wrap { overflow-x: auto; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.ledger { width: 100%; border-collapse: collapse; font-size: .98rem; }
@media (min-width: 641px) {
  .ledger { table-layout: fixed; }
  .ledger thead th:nth-child(1) { width: 36%; } .ledger thead th:nth-child(2) { width: 30%; }
  .ledger--ind thead th:nth-child(1) { width: 28%; } .ledger--ind thead th:nth-child(2) { width: 20%; } .ledger--ind thead th:nth-child(3) { width: 26%; }
  .ledger td a { white-space: normal; overflow-wrap: anywhere; }
}
.ledger caption { text-align: left; padding: 14px 18px; font-weight: 650; }
.ledger thead th { text-align: left; font-size: .82rem; font-weight: 650; color: var(--slate); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ledger tbody th, .ledger td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger tbody th { font-family: var(--serif); font-weight: 600; color: var(--midnight); font-size: 1.04rem; }
.ledger td { color: var(--slate); }
.ledger td a { color: var(--navy); font-weight: 550; white-space: nowrap; }
.ledger tbody tr:hover { background: #F7F9FC; }
@media (max-width: 640px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr { display: block; }
  .ledger tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .ledger tbody tr:last-child { border-bottom: 0; }
  .ledger tbody th, .ledger td { display: block; padding: 0; border: 0; }
  .ledger td { font-size: .92rem; }
  .ledger .ledger__ind { display: none; }
}

/* ---------- Quotes ---------- */
.quotes { display: grid; gap: 22px; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding: 28px 28px 24px; background: var(--harbour); border-radius: var(--r-lg); border-left: 3px solid var(--brass); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.2rem; }
.quote blockquote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; color: #fff; margin: 0; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .92rem; }
.quote figcaption b { color: var(--brass-hi); font-weight: 650; }
.quote figcaption span { color: #A9B6CC; }

/* ---------- Tiles (industries) ---------- */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles a { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s; }
.tiles a:hover { border-color: var(--navy); }
.tiles .ico { grid-row: span 2; width: 30px; height: 30px; color: var(--brass-deep); }
.tiles b { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--midnight); }
.tiles span { color: var(--slate); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 1.6rem; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding: 52px 0 0; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--midnight); color: var(--brass-hi); font-weight: 650; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 46px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--midnight); margin-bottom: .3em; }
.steps span { color: var(--slate); font-size: .97rem; display: block; padding-right: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps--five { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Two columns / aside ---------- */
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } .two-col--mid { align-items: center; } }
.with-aside { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  .with-aside--left { grid-template-columns: 340px minmax(0, 1fr); }
  .aside--sticky { position: sticky; top: 96px; }
}
.glance, .aside__box, .contact-card { background: var(--fog); border-radius: var(--r-lg); padding: 24px; border-top: 4px solid var(--midnight); }
.band--fog .glance, .band--fog .aside__box { background: #fff; }
.glance h2, .aside__box h2, .contact-card h2 { font-size: 1.2rem; margin-bottom: .8em; }
.glance dl { margin: 0 0 1.2rem; }
.glance dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-size: .82rem; color: var(--slate); }
.glance dd { margin: 0; font-weight: 600; color: var(--midnight); }
.glance__tel { margin: .9em 0 0; text-align: center; font-size: .95rem; }
.glance__tel a { font-weight: 650; }
.aside { display: grid; gap: 20px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border: 0; }

/* ---------- Check lists ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checks .ico { color: var(--ok-deep); margin-top: .2em; stroke-width: 2.4; width: 1.1em; height: 1.1em; }
@media (min-width: 700px) { .checks--cols { columns: 2; column-gap: 32px; } .checks--cols li { break-inside: avoid; } }

/* ---------- Deliverables ---------- */
.deliver { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 36px; }
.deliver li { padding: 22px 0; border-top: 1px solid #C7D1DF; }
.deliver h3 { margin-bottom: .35em; }
.deliver p { margin: 0; color: var(--slate); }
@media (min-width: 700px) { .deliver { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .deliver { grid-template-columns: repeat(3, 1fr); } .deliver--four { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Service lists ---------- */
.svc-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 14px; }
.svc-list a { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s, box-shadow .15s; }
.svc-list a:hover { border-color: var(--navy); box-shadow: 0 12px 30px -20px rgba(11,27,54,.5); }
.svc-list .ico { width: 28px; height: 28px; color: var(--brass-deep); margin-top: 2px; }
.svc-list b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--midnight); margin-bottom: .2em; }
.svc-list span span { color: var(--slate); font-size: .95rem; }
@media (min-width: 700px) { .svc-list--grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-list--grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Guides & articles ---------- */
.guide-card { display: block; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.guide-card span { display: block; padding: 16px 20px 20px; }
.guide-card small { display: block; color: var(--brass-deep); font-weight: 650; font-size: .85rem; }
.guide-card b { font-family: var(--serif); font-weight: 600; color: var(--midnight); font-size: 1.08rem; line-height: 1.3; }
.guide-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.guide-cards a { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--midnight); }
.guide-cards a:hover { border-color: var(--navy); }
.guide-cards .ico { width: 26px; height: 26px; color: var(--brass-deep); }
.guide-cards b { font-family: var(--serif); font-weight: 600; }
.guide-row { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
@media (min-width: 800px) { .guide-row { grid-template-columns: repeat(3, 1fr); } }
.guide-row a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.guide-row img { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 14px; }
.guide-row b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--midnight); line-height: 1.3; margin-bottom: .4em; }
.guide-row span { color: var(--slate); font-size: .95rem; }
.article-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.article-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.article-list a { font-family: var(--serif); font-weight: 600; color: var(--midnight); text-decoration: none; display: block; line-height: 1.35; }
.article-list a:hover { color: var(--navy); text-decoration: underline; }
.article-list span { font-size: .87rem; color: var(--slate); }
.pubs { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.pubs li { display: grid; gap: 4px 28px; padding: 20px 0; border-bottom: 1px solid #C7D1DF; }
.pubs time { font-size: .9rem; color: var(--slate); }
.pubs a { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--midnight); text-decoration: none; line-height: 1.3; }
.pubs a:hover { text-decoration: underline; }
.pubs p { margin: .3em 0 .4em; color: var(--slate); }
.tag { font-size: .8rem; font-weight: 650; color: var(--brass-deep); }
@media (min-width: 760px) { .pubs li { grid-template-columns: 170px 1fr; } }

/* ---------- FAQ ---------- */
.faq h2 { margin-top: 0; }
.faq + .faq { margin-top: 3rem; }
.faq details { border-bottom: 1px solid #C7D1DF; }
.faq details:first-of-type { border-top: 1px solid #C7D1DF; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--midnight); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 0 16px; color: var(--ink); max-width: 68ch; }

/* ---------- CTA band ---------- */
.band--cta { background: var(--midnight); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--harbour); }
.cta { display: grid; gap: 20px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 60ch; margin: 0; }
.cta .btns { margin-top: 0; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Author box ---------- */
.author { display: flex; gap: 20px; align-items: flex-start; margin-top: 2.4rem; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.author__pic { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--brass); }
.author__pic img, .author__pic .mark { width: 100%; height: 100%; object-fit: cover; }
.author__n { font-family: var(--serif); font-weight: 600; color: var(--midnight); margin: 0 0 .2em; font-size: 1.08rem; }
.author p:last-child { margin: 0; font-size: .95rem; color: var(--slate); }

/* ---------- Industry cards ---------- */
.ind-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
@media (min-width: 700px) { .ind-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .ind-cards { grid-template-columns: repeat(3, 1fr); } }
.ind-cards a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.ind-cards a:hover { border-color: var(--navy); }
.ind-cards img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ind-cards__t { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ind-cards b { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--midnight); }
.ind-cards span span { color: var(--slate); }
.ind-cards small { margin-top: auto; padding-top: 8px; color: var(--brass-deep); font-weight: 650; font-size: .88rem; }

/* ---------- Work page ---------- */
.jump ul { list-style: none; padding: 0; margin: 0 0 2.6rem; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--midnight); font-size: .92rem; font-weight: 550; }
.jump a:hover { border-color: var(--navy); background: var(--fog); }
.work-group { margin-bottom: 3rem; scroll-margin-top: 96px; }
.work-group .sec-head { margin-bottom: 1rem; }
.count { font-family: var(--sans); font-size: .9rem; font-weight: 650; color: var(--brass-deep); vertical-align: middle; margin-left: 6px; }

/* ---------- Toolkit ---------- */
.toolkit { display: grid; gap: 40px; margin-bottom: 2rem; }
@media (min-width: 900px) { .toolkit { grid-template-columns: 1fr 1fr; gap: 40px 64px; } }
.toolkit__g h2 { font-size: 1.35rem; border-bottom: 2px solid var(--midnight); padding-bottom: .4em; }
.toolkit__g ul { list-style: none; padding: 0; margin: 0; }
.toolkit__g li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.toolkit__g a { font-weight: 650; }
.toolkit__g span { color: var(--slate); font-size: .95rem; }

/* ---------- Process (how I work) ---------- */
.process { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.process li { counter-increment: p; position: relative; padding: 0 0 2.2rem 64px; border-left: 1px solid var(--line); margin-left: 19px; }
.process li:last-child { border-left-color: transparent; padding-bottom: 0; }
.process li::before { content: counter(p); position: absolute; left: -20px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--midnight); color: var(--brass-hi); display: grid; place-items: center; font-weight: 650; }
.process h2 { font-size: 1.4rem; padding-top: 4px; }
.process p { color: var(--slate); }

/* ---------- Timeline (about) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 1fr; gap: 4px 28px; padding: 18px 0; border-top: 1px solid #C7D1DF; }
.timeline__y { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--brass-deep); }
.timeline b { font-family: var(--serif); font-weight: 600; color: var(--midnight); font-size: 1.1rem; }
.timeline p { margin: .2em 0 0; color: var(--slate); }
@media (min-width: 760px) { .timeline li { grid-template-columns: 170px 1fr; } }
.cert-list { columns: 1; padding-left: 1.1em; }
.cert-list li { margin-bottom: .4em; break-inside: avoid; }

/* ---------- Contact / forms ---------- */
.contact-card__big a { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--midnight); }
.contact-card a .ico { color: var(--brass-deep); }
.contact-card p a { display: inline-flex; gap: 8px; align-items: center; }
.contact-card .social { display: flex; gap: 16px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--midnight); }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #B9C4D4; border-radius: var(--r); padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201,154,69,.45); }
.form .btn { justify-self: start; }
.form__note { font-size: .88rem; color: var(--slate); margin: 0; }
.form__err { display: none; margin: 0; padding: 12px 16px; border-radius: var(--r); background: #FBEDEA; color: #8A2A17; border-left: 4px solid #B4462E; font-weight: 550; }
.form__err.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mini-steps { padding-left: 1.2em; }
.mini-steps li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.ftr { background: #081428; color: #A9B6CC; padding: 64px 0 28px; font-size: .95rem; }
.ftr a { color: #D7DFEC; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__top { display: grid; gap: 36px; }
@media (min-width: 700px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__top { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; } }
.ftr__brand p { max-width: 36ch; }
.ftr__brand .brand { margin-bottom: 18px; }
.ftr__tel a { font-family: var(--serif); font-size: 1.35rem; color: #fff; font-weight: 600; }
.ftr h2 { font-family: var(--sans); font-size: .95rem; font-weight: 650; color: var(--brass-hi); margin-bottom: 1em; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: .55em; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; }
.social svg { width: 18px; height: 18px; }
.contact-card .social a { width: auto; height: auto; border: 0; border-radius: 0; }
.ftr__bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--harbour); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.ftr__bot p { margin: 0; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr__legal li { margin: 0; }

/* Mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,27,54,.97); border-top: 1px solid var(--harbour); }
.mbar .btn { min-height: 46px; }
.mbar .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 899px) { body { padding-bottom: 72px; } }
@media (min-width: 900px) { .mbar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .mbar, .band--cta { display: none; } .hero { background: none; color: #000; } .hero h1 { color: #000; } }
