/* =====================================================================
   MARKTILLSON LAYER — loaded last on every page.
   Midnight + azure brand, Meridian M wordmark, MarcusTovia-style header
   (utility bar, seven mega menus on soft pearl panels), drawer, footer bits.
   ===================================================================== */
:root {
  --az: #5B9BFF; --az-2: #8FBCFF; --az-deep: #2F6FE0; --az-ink: #1F55C4;
  --mid: #050B1A; --mid-2: #0A1430; --mid-3: #0E1B3D;
  --pearl: #F6F4EF; --pearl-2: #EEEBE4; --pearl-line: #DEDAD1; --pearl-mute: #5D6577;
  --hdr-h: 112px;
}
@media (max-width: 1180px) { :root { --hdr-h: 72px; } }

/* ---------- wordmark ---------- */
/* Lockup: [azure seal] | MARKTILLSON over a ruled descriptor. Bold, capitalised, in charge. */
.logo { gap: 16px; }
.logo__mark { width: 50px; height: 50px; flex: none; box-shadow: 0 10px 28px -12px rgba(91,155,255,.75); transition: transform .35s var(--ease), box-shadow .35s; }
.logo:hover .logo__mark { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(91,155,255,.95); }
.logo__word { display: grid; gap: 7px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.22); font: 800 1.72rem/.92 var(--sans); }
.logo__word b { font-weight: 800; color: inherit; display: block; }
.wm { display: inline-flex; align-items: baseline; white-space: nowrap; letter-spacing: .015em; font-weight: 800; }
.wm__t { font-weight: 800; }
.logo__word small { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 .5rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: 1; color: var(--az-2); }
.logo__word small::before { content: ""; width: 14px; height: 2px; background: var(--az); flex: none; }
.ftr__lock-w { font: 800 clamp(2.8rem, 1rem + 8vw, 9rem)/.9 var(--sans); letter-spacing: 0; }
.ftr__lock-w .wm { letter-spacing: .01em; }
.ftr__lock-t i { background: var(--az); }
@media (max-width: 1400px) { .logo__word { font-size: 1.5rem; } .logo__mark { width: 44px; height: 44px; } }
@media (max-width: 1180px) { .logo__word { font-size: 1.42rem; padding-left: 13px; } .logo { gap: 13px; } .logo__mark { width: 42px; height: 42px; } }

/* ---------- header shell ---------- */
.th { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; }
.th .wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.th .ic { width: 18px; height: 18px; flex: none; }
.th-util { background: #030814; border-bottom: 1px solid rgba(255,255,255,.07); font: 500 12.5px/1 var(--sans); letter-spacing: .04em; color: rgba(255,255,255,.7); transition: background .35s, border-color .35s; }
.th-util-in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 24px; }
.th-util-l, .th-util-r { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.th-util-l .sq { width: 7px; height: 7px; background: var(--az); transform: rotate(45deg); }
.th-util a { color: inherit; text-decoration: none; transition: color .2s; }
.th-util a:hover { color: #fff; }
.th-sep { width: 1px; height: 12px; background: rgba(255,255,255,.2); }
.th-bar { position: relative; background: rgba(5,11,26,.96); border-bottom: 1px solid rgba(255,255,255,.07); transition: background .35s, border-color .35s; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.th-bar-in { display: flex; align-items: center; height: 76px; gap: 26px; }
.th.over:not(.solid) .th-bar { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.th.over:not(.solid) .th-util { background: rgba(3,8,20,.35); border-color: transparent; }
.th .logo { color: #fff; }
.th-nav { flex: 1; display: flex; justify-content: center; }
.th-nav ul { display: flex; gap: clamp(10px, 1.45vw, 26px); margin: 0; padding: 0; list-style: none; }
.th-a { position: relative; display: flex; align-items: center; height: 76px; white-space: nowrap; font: 600 14.5px/1 var(--sans); letter-spacing: -.005em; color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.th-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--az); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.th-a:hover, .th-a.open, .th-a.cur { color: #fff; }
.th-a.open::after, .th-a.cur::after { transform: scaleX(1); }
.th-cta { flex: none; }
.th-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; place-items: center; }
.th-burger .ic { width: 22px; height: 22px; }
.th-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.th-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--az-deep), var(--az-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 1400px) { .th-util-l .th-sep, .th-util-l .th-sep ~ * { display: none; } .th-a { font-size: 13.5px; } .logo__word small { display: none; } }
@media (max-width: 1180px) {
  .th-util, .th-nav, .th-cta, .th-megas { display: none; }
  .th-burger { display: grid; margin-left: auto; }
  .th-bar-in { height: 72px; }
}

/* ---------- shared bits ---------- */
.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 700 13px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; text-decoration: none; border: 0; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.tm-btn .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.tm-btn:hover .ic { transform: translate(2px, -2px); }
.tm-btn.azure { background: var(--az); color: #04122E; }
.tm-btn.azure:hover { background: #fff; color: var(--mid); box-shadow: 0 10px 30px -12px rgba(91,155,255,.7); }
.tm-btn.light { background: #fff; color: var(--mid); }
.tm-btn.light:hover { background: var(--az); color: #04122E; }
.tm-btn.ink { background: var(--mid-2); color: #fff; }
.tm-btn.ink:hover { background: var(--az-deep); }
.tm-btn.ghost { background: #fff; color: var(--mid); border: 1px solid var(--pearl-line); }
.tm-btn.ghost:hover { border-color: var(--mid); }
.tm-btn.block { display: flex; width: 100%; }
.tm-btn.sm { height: 40px; padding: 0 18px; font-size: 12px; }
.tm-btn.grow { flex: 1; }
.th-cta.tm-btn { height: 46px; }
.tm-rnd { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--mid); flex: none; }
.tm-rnd .ic { width: 16px; height: 16px; }
.tm-rnd.azure { background: var(--az); color: #04122E; }
.tm-rnd.light { background: rgba(255,255,255,.95); }
.tm-pill { display: inline-flex; align-items: center; gap: 7px; height: 27px; padding: 0 11px; border-radius: 999px; font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.tm-pill .ic { width: 12px; height: 12px; }
.tm-pill.light { background: #fff; color: var(--mid); }
.tm-pill.dark { background: rgba(5,11,26,.82); color: #fff; }
.tm-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--az); box-shadow: 0 0 0 3px rgba(91,155,255,.3); }

/* social links */
.soc { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.soc a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; border: 1px solid rgba(255,255,255,.18); transition: background .2s, color .2s, border-color .2s; }
.soc a:hover { background: var(--az); border-color: var(--az); color: #04122E; }
.soc svg { width: 15px; height: 15px; }
.soc--util { gap: 2px; }
.soc--util a { width: 24px; height: 24px; border: 0; }
.soc--util svg { width: 13px; height: 13px; }
.soc--ftr { margin-top: 18px; }
.soc--mega { margin: 6px 0 4px; }

/* ---------- mega panels ---------- */
.th-megas { position: absolute; left: 0; right: 0; top: 100%; }
.th-mega { background: var(--pearl); color: var(--mid-2); border-top: 1px solid var(--az); box-shadow: 0 0 0 100vmax rgba(3,8,20,.55), 0 40px 80px -20px rgba(0,0,0,.45); clip-path: inset(0 -100vmax -100vmax -100vmax); max-height: calc(100vh - var(--hdr-h) - 8px); overflow: auto; animation: tmIn .32s var(--ease); }
@keyframes tmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .th-mega { animation: none; } }
.th-mega .wrap { padding-top: 30px; padding-bottom: 36px; }
.th-mega a { color: inherit; text-decoration: none; }
.th-mega ul { list-style: none; margin: 0; padding: 0; }
.tm-grid { display: grid; grid-template-columns: 1fr 440px; gap: 40px; }
.tm-kicker { display: flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--pearl-mute); margin-bottom: 20px; }
.tm-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.tm-kicker.on-dark { color: rgba(255,255,255,.6); }
.tm-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mid-2); color: #fff; flex: none; }
.tm-ico .ico { width: 20px; height: 20px; }
.tm-ico.sm { width: 30px; height: 30px; }
.tm-ico.sm .ico { width: 15px; height: 15px; }
.tm-ico.ring { background: transparent; color: var(--mid-2); border: 1px solid var(--pearl-line); width: 40px; height: 40px; }
.tm-rows a { display: flex; align-items: center; gap: 18px; padding: 13px 16px; margin: 0 -16px; border-radius: 14px; transition: background .2s, box-shadow .2s; }
.tm-rows a:hover { background: #fff; box-shadow: 0 10px 26px -18px rgba(5,11,26,.35); }
.tm-rows--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.tm-txt { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.tm-txt b { font: 600 16.5px/1.2 var(--sans); letter-spacing: -.01em; color: var(--mid-2); }
.tm-txt small { font-size: 13.5px; line-height: 1.4; color: var(--pearl-mute); }
.tm-meta { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #98A3B6; white-space: nowrap; }
.tm-rows a:hover .tm-meta { color: var(--az-ink); }
.tm-rows .go { width: 16px; height: 16px; color: var(--az-ink); opacity: 0; transition: opacity .2s; }
.tm-rows a:hover .go { opacity: 1; }
.tm-side { display: flex; flex-direction: column; gap: 14px; }
.tm-dark { background: radial-gradient(120% 90% at 85% 0%, rgba(91,155,255,.3), transparent 55%), var(--mid-2); color: #fff; border-radius: 22px; padding: 26px; }
.tm-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tm-glance div { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 14px; padding: 14px; }
.tm-glance b { display: block; font: 700 28px/1 var(--sans); letter-spacing: -.04em; color: #fff; }
.tm-glance span { display: block; margin-top: 8px; font: 600 10.5px/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tm-photo { position: relative; display: block; height: 230px; border-radius: 16px; overflow: hidden; margin: 6px 0; color: #fff; }
.tm-photo.tall { height: 300px; margin: 0; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .8s var(--ease); }
.tm-photo:hover img { transform: scale(1.05); }
.tm-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3,8,20,.8)); }
.tm-photo .tm-pill { position: absolute; left: 14px; top: 14px; z-index: 1; }
.tm-photo-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.tm-photo-cap small { font-weight: 500; opacity: .75; font-size: 12.5px; }
.tm-photo-cap .ic { width: 16px; height: 16px; }

/* what we do */
.tm-what { grid-template-columns: 1fr 380px; gap: 34px; }
.tm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tm-colhead { display: flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; padding: 6px 0; }
.tm-colhead i { flex: 1; height: 1px; background: var(--pearl-line); }
.tm-colhead .ic { width: 15px; height: 15px; color: var(--az-ink); }
.tm-colhead:hover { color: var(--az-ink); }
.tm-gname { margin: 12px 0 4px; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #8C96A8; }
.tm-svc { position: relative; display: block; padding: 7px 30px 7px 12px; margin: 0 -12px 1px; border-radius: 10px; border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.tm-svc b { display: block; font: 500 14px/1.3 var(--sans); letter-spacing: -.005em; }
.tm-svc.is-core b { font-weight: 650; }
.tm-svc.is-core b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; background: var(--az); transform: rotate(45deg) translateY(-2px); }
.tm-svc .go { position: absolute; right: 10px; top: 9px; width: 14px; height: 14px; color: var(--az-ink); opacity: 0; transition: opacity .2s; }
.tm-svc:hover, .tm-svc.on { background: #fff; border-color: var(--pearl-line); box-shadow: 0 8px 24px -16px rgba(5,11,26,.3); }
.tm-svc:hover .go, .tm-svc.on .go { opacity: 1; }
.tm-card { border-radius: 22px; padding: 22px; }
.tm-life { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.tm-ll { display: grid; grid-template-columns: 14px auto 1fr; align-items: center; gap: 6px 12px; opacity: .5; transition: opacity .3s; }
.tm-ll i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); }
.tm-ll b { font: 700 12px/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tm-ll span { font-size: 12px; color: rgba(255,255,255,.55); text-align: right; }
.tm-ll em { grid-column: 2 / 4; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; position: relative; overflow: hidden; }
.tm-ll em::after { content: ""; position: absolute; inset: 0; background: var(--az); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.tm-ll.on { opacity: 1; }
.tm-ll.on i { border-color: var(--az); background: var(--az); box-shadow: 0 0 0 4px rgba(91,155,255,.25); }
.tm-ll.on em::after { transform: scaleX(1); }
.tm-preview { display: flex; gap: 14px; align-items: center; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 16px; padding: 12px; margin-bottom: 16px; }
.tm-preview img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.tm-preview b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.tm-preview span { display: block; font-size: 13px; color: rgba(255,255,255,.66); margin-top: 4px; line-height: 1.4; }
.tm-callout { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px 14px 20px; border-radius: 16px; background: var(--mid-2); color: #fff !important; }
.tm-callout b { display: block; font-size: 15px; }
.tm-callout small { display: block; font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 3px; }
.tm-callout.ghost { background: #fff; color: var(--mid-2) !important; border: 1px solid var(--pearl-line); }
.tm-callout.ghost small { color: var(--pearl-mute); }
.tm-callout.ghost .tm-rnd { background: var(--pearl); }
.tm-callout:hover { box-shadow: 0 14px 30px -18px rgba(5,11,26,.5); }

/* industries */
.tm-ind { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.tm-sectors { display: flex; flex-direction: column; gap: 10px; }
.tm-sector { display: flex; align-items: center; gap: 16px; padding: 13px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--pearl-line); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.tm-sector .tm-txt b { font: 700 13.5px/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tm-sector .tm-txt small { font-size: 12.5px; }
.tm-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pearl-line); flex: none; }
.tm-go .ic { width: 15px; height: 15px; }
.tm-sector.on { background: var(--mid-2); color: #fff; box-shadow: 0 18px 36px -18px rgba(3,8,20,.6); }
.tm-sector.on .tm-txt b { color: #fff; }
.tm-sector.on .tm-ico { background: var(--az); color: #04122E; }
.tm-sector.on small { color: rgba(255,255,255,.62); }
.tm-sector.on .tm-go { border-color: rgba(255,255,255,.3); }
.tm-chips { display: none; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tm-chips.on { display: flex; }
.tm-chips a { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--pearl-line); font-size: 13.5px; font-weight: 500; }
.tm-chips a:hover { background: var(--mid-2); color: #fff; }
.tm-feature { display: none; }
.tm-feature.on { display: block; }
.tm-feat { position: relative; display: block; height: 330px; border-radius: 22px; overflow: hidden; color: #fff !important; background: var(--mid-2); }
.tm-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tm-feat:hover img { transform: scale(1.04); }
.tm-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,26,.15), rgba(5,11,26,.9) 76%); }
.tm-feat::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--az); z-index: 2; }
.tm-feat-top { position: absolute; left: 18px; right: 18px; top: 18px; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.tm-feat-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.tm-feat-body b { display: block; font: 700 26px/1.06 var(--sans); letter-spacing: -.03em; max-width: 20ch; }
.tm-feat-meta { display: block; margin: 10px 0 14px; font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.tm-feat-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tm-feat-stats > span { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 13.5px; }
.tm-feat-stats small { display: block; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.tm-actions { display: flex; gap: 10px; margin-top: 12px; }

/* projects */
.tm-projhead { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.tm-projhead .tm-kicker { margin: 0; }
.tm-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--pearl-line); font: 600 12.5px/1 var(--sans); }
.tm-tabs a .ic, .tm-tabs a .ico { width: 15px; height: 15px; }
.tm-tabs a:hover { background: var(--mid-2); color: #fff; }
.tm-pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tm-pcard { display: block; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--pearl-line); transition: box-shadow .3s, transform .3s var(--ease); }
.tm-pcard:hover { box-shadow: 0 26px 50px -24px rgba(3,8,20,.35); transform: translateY(-3px); }
.tm-pcard-img { position: relative; display: block; height: 230px; overflow: hidden; color: #fff; }
.tm-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tm-pcard:hover .tm-pcard-img img { transform: scale(1.05); }
.tm-pcard-img::before { content: ""; position: absolute; right: 0; top: 0; width: 40%; height: 34%; background: var(--az); clip-path: polygon(0 0, 100% 0, 100% 100%); z-index: 1; opacity: .92; }
.tm-pcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,8,20,.75)); }
.tm-pcard-tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.tm-pcard-cap { position: absolute; left: 16px; right: 14px; bottom: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13.5px; }
.tm-pcard-body { display: block; padding: 16px 18px 18px; }
.tm-pcard-body b { display: block; font: 600 17px/1.28 var(--sans); letter-spacing: -.015em; color: var(--mid-2); }
.tm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tm-tags span { padding: 6px 10px; border-radius: 999px; background: var(--pearl); font-size: 12px; color: var(--pearl-mute); }
.tm-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--mid-2); color: #fff !important; font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }

/* insights */
.tm-ins { grid-template-columns: 1.15fr 1fr; }
.tm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.tm-insm { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--pearl-line); border-radius: 18px; padding: 12px 12px 18px; }
.tm-insm-img { display: block; height: 160px; border-radius: 12px; overflow: hidden; }
.tm-insm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tm-insm:hover img { transform: scale(1.05); }
.tm-lab { padding: 0 6px; font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--az-ink); }
.tm-insm b { padding: 0 6px; font: 600 16px/1.3 var(--sans); letter-spacing: -.015em; }
.tm-insm small { padding: 0 6px; color: var(--pearl-mute); font-size: 12.5px; }
.tm-chip-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border: 1px solid var(--pearl-line); border-radius: 999px; background: #fff; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.tm-chip-link .ic { width: 15px; height: 15px; }
.tm-chip-link:hover { border-color: var(--mid-2); }

/* careers + contact lists */
.tm-list { grid-template-columns: 1fr 400px; }
.tm-contact { display: grid; gap: 10px; margin-bottom: 8px !important; }
.tm-contact a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #fff !important; transition: border-color .2s; }
.tm-contact a:hover { border-color: var(--az); }
.tm-contact .ic { width: 18px; height: 18px; color: var(--az-2); }
.tm-contact span { display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: 15px; }
.tm-contact small { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }

@media (max-width: 1360px) { .tm-grid { grid-template-columns: 1fr 380px; gap: 30px; } .tm-what { grid-template-columns: 1fr 330px; } .tm-svc b { font-size: 13.5px; } }

/* ---------- drawer (mobile) ---------- */
.tdrawer { position: fixed; inset: var(--hdr-h) 0 0 0; background: var(--mid); overflow: auto; z-index: 99; border-top: 1px solid rgba(255,255,255,.08); }
.tdrawer-in { padding: 8px var(--gut) 40px; }
.tdr-sec { border-bottom: 1px solid rgba(255,255,255,.1); }
.tdr-sec summary { display: flex; justify-content: space-between; align-items: center; padding: 19px 0; font: 700 15px/1 var(--sans); letter-spacing: .04em; list-style: none; cursor: pointer; color: #fff; }
.tdr-sec summary::-webkit-details-marker { display: none; }
.tdr-sec summary .ic { width: 20px; height: 20px; transition: transform .3s; }
.tdr-sec[open] summary .ic { transform: rotate(45deg); color: var(--az); }
.tdr-sec ul { list-style: none; margin: 0; padding: 0 0 16px; }
.tdr-sec li a { display: block; padding: 9px 0; color: rgba(255,255,255,.78); font-size: 16px; text-decoration: none; }
.tdr-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.tdr-util { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-weight: 600; text-decoration: none; }
.tdr-util .ic { width: 18px; height: 18px; color: var(--az); }

/* ---------- footer additions ---------- */
.ftr__contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ftr__contact a, .ftr__contact span { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; }
.ftr__contact .ic { width: 16px; height: 16px; color: var(--az); }
.ftr__note a { color: inherit; }

/* hide the retired V8 header bits if any page still prints them */
.hdr, #drawer { display: none !important; }

/* footer socials sit in a row (beats .ftr ul grid) */
.ftr ul.soc { display: flex; gap: 8px; }
.ftr ul.soc a { width: 38px; height: 38px; color: #fff; }
.ftr ul.soc a:hover { color: #04122E; text-decoration: none; }

/* bold text inside the menus follows its container colour (base sets b/strong to --ink) */
.th-mega b, .th-mega strong { color: inherit; }
.tm-what .tm-kicker { letter-spacing: .12em; line-height: 1.45; align-items: flex-start; }
.tm-what .tm-kicker::before { margin-top: .7em; flex: none; }

@media (max-width: 1180px) { .th .th-cta.tm-btn { display: none; } .th .th-burger { display: grid; } }
@media (max-width: 420px) { .th .logo__word { font-size: 1.25rem; } }

/* footer signature = full lockup */
.ftr__lock-w { align-items: center; gap: .22em; }
.ftr__lock-w .logo__mark { width: .82em; height: .82em; box-shadow: 0 30px 70px -30px rgba(91,155,255,.8); }
