/* ============================================================
   ETS Network — static stylesheet (no build step)
   Light theme · red primary · engineered/blueprint aesthetic
   ============================================================ */

:root {
  --ink: #0e1116;
  --ink-2: #20242c;
  --ink-3: #080a0e;
  --muted: #646b78;
  --line: #e7e7e3;
  --line-dark: #2b3038;
  --paper: #ffffff;
  --bg: #f5f5f4;
  --bg-2: #efeeeb;
  --brand: #e21d24;
  --brand-2: #c1141b;
  --brand-ink: #7c0c11;
  --brand-50: #fff1f0;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --shadow-card: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 30px -16px rgba(14, 17, 22, .18);
  --shadow-lift: 0 2px 4px rgba(14, 17, 22, .05), 0 24px 48px -24px rgba(14, 17, 22, .28);
  --maxw: 1240px;
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: 96px 0; }
.red { color: var(--brand); }

.blueprint {
  background-image:
    linear-gradient(to right, rgba(14, 17, 22, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 17, 22, .05) 1px, transparent 1px);
  background-size: 54px 54px;
}
.blueprint-dark {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 54px 54px;
}
.mask-fade-b {
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.mask-radial {
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 0%, transparent 78%);
}
.ink-underline { background-image: linear-gradient(transparent 62%, rgba(226, 29, 36, .28) 0); }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brand); }
.eyebrow.light { color: rgba(255, 255, 255, .65); }

/* ---------- section head ---------- */
.section-head { max-width: 42rem; }
.section-head h2 { margin-top: 20px; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.section-head .intro { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.section-head.light h2 { color: #fff; }
.section-head.light .intro { color: rgba(255, 255, 255, .7); }

/* ---------- buttons & arrows ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 24px; font-size: 15px; font-weight: 500; line-height: 1;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(226, 29, 36, .7); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border: 1px solid rgba(14, 17, 22, .15); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(14, 17, 22, .45); background: rgba(14, 17, 22, .03); }
.btn-ghost-dark { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); }
.btn-light { background: #fff; color: var(--ink); }

/* currentColor arrow via mask — works on any text colour */
.with-arrow::after {
  content: ""; width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M10 5l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M10 5l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
.with-arrow:hover::after { transform: translateX(2px); }

.lnk-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.lnk-arrow.red { color: var(--brand-2); }

/* ---------- tick list (red check) ---------- */
.ticklist { display: flex; flex-direction: column; gap: 12px; }
.ticklist li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6' fill='none' stroke='%23e21d24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticklist.two { display: grid; gap: 12px 32px; }
@media (min-width: 640px) { .ticklist.two { grid-template-columns: repeat(2, 1fr); } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo .mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px;
  box-shadow: 0 6px 16px -8px rgba(226, 29, 36, .85);
}
.logo .txt { display: flex; flex-direction: column; line-height: 1; }
.logo .name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.logo .sub { margin-top: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); }
.logo.light .name { color: #fff; }
.logo.light .sub { color: rgba(255, 255, 255, .55); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav { display: none; }
.header-cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .header-cta { display: flex; align-items: center; gap: 20px; }
}
.nav a { padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.active { background: rgba(14, 17, 22, .05); color: var(--ink); }
.header-phone { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.header-phone:hover { color: var(--ink); }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* mobile menu — sibling of header (NOT inside it: header's backdrop-filter
   would otherwise become the fixed panel's containing block) */
.mobile-menu { position: fixed; inset: 68px 0 0; z-index: 40; background: var(--paper); overflow-y: auto; display: none; }
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu, .mobile-menu.open { display: none; } }
.mobile-menu .links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
}
.mobile-menu .links a.active { color: var(--brand); }
.mobile-menu .links a .with-arrow::after { opacity: .4; }
.mobile-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.mobile-cta .btn { padding: 16px 24px; font-size: 16px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink-3); color: #fff; }
.site-footer .blueprint-dark { position: absolute; inset: 0; opacity: .6; pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 48px; padding: 64px 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); padding: 80px 0; } }
.footer-brand { grid-column: span 12; }
@media (min-width: 768px) { .footer-brand { grid-column: span 5; } }
.footer-brand p { margin-top: 24px; max-width: 24rem; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .6); }
.footer-tagline { margin-top: 24px; font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255, 255, 255, .4); }
.footer-col h3 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: rgba(255, 255, 255, .4); }
.footer-col ul { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-nav { grid-column: span 6; }
.footer-contact { grid-column: span 12; }
@media (min-width: 768px) { .footer-nav { grid-column: span 3; } .footer-contact { grid-column: span 4; } }
.footer-contact .dim { color: rgba(255, 255, 255, .35); }
.footer-bottom { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px 0; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .copy { font-size: 13px; color: rgba(255, 255, 255, .4); }
.powered { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: rgba(255, 255, 255, .55); transition: border-color .2s, color .2s; }
.powered:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.powered .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.powered strong { font-weight: 500; color: rgba(255, 255, 255, .85); }

/* ---------- HERO (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero > .blueprint { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.hero-slab { display: none; }
@media (min-width: 1024px) {
  .hero-slab { display: block; position: absolute; top: 0; right: 0; height: 100%; width: 42%; pointer-events: none; }
  .hero-slab .fill { position: absolute; inset: 0; background: linear-gradient(to bottom right, var(--brand), var(--brand-ink)); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-slab .grid { position: absolute; inset: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); opacity: .4; }
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 56px 0; align-items: center; }
@media (min-width: 1024px) { .hero .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); padding: 96px 0; } }
.hero-copy { grid-column: span 12; }
@media (min-width: 1024px) { .hero-copy { grid-column: span 7; } }
.hero h1 { margin-top: 24px; font-size: clamp(2.6rem, 6.4vw, 4.9rem); line-height: .95; }
.hero .lead { margin-top: 28px; max-width: 36rem; font-size: 18px; line-height: 1.65; color: var(--muted); }
@media (min-width: 768px) { .hero .lead { font-size: 20px; } }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.ministats { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; }
.ministats .v { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
@media (min-width: 768px) { .ministats .v { font-size: 30px; } }
.ministats .l { margin-top: 4px; max-width: 140px; font-size: 13px; line-height: 1.3; color: var(--muted); }

.hero-visual { position: relative; grid-column: span 12; }
@media (min-width: 1024px) { .hero-visual { grid-column: span 5; } }
.schematic-card { position: relative; z-index: 10; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 20px; box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .schematic-card { padding: 28px; } }
.schematic-card .head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.schematic-card .live { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-2); }
.schematic-card .live .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.schematic-card svg { margin-top: 12px; }
.chip { display: none; }
@media (min-width: 1024px) {
  .chip { display: block; position: absolute; z-index: 20; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 16px; box-shadow: var(--shadow-lift); }
  .chip.tl { left: -28px; top: 40px; }
  .chip.bl { left: -16px; bottom: -28px; display: flex; align-items: center; gap: 12px; }
}
.chip .k { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.chip .v { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.chip .badge { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--brand-50); color: var(--brand-2); }
.chip .t1 { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1; }
.chip .t2 { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* ---------- client strip ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.clients .wrap { padding: 40px 0; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .clients .wrap { flex-direction: row; align-items: center; gap: 56px; } }
.clients .label { max-width: 210px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.clients .names { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.clients .names span { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: rgba(14, 17, 22, .65); transition: color .2s; }
.clients .names span:hover { color: var(--ink); }
@media (min-width: 768px) { .clients .names span { font-size: 20px; } }

/* ---------- cards ---------- */
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 32px; }
@media (min-width: 768px) { .card { padding: 40px; } }
.card-link { display: block; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-4px); border-color: rgba(14, 17, 22, .2); box-shadow: var(--shadow-lift); }
.ghost-num { position: absolute; right: 24px; top: 8px; font-family: var(--font-display); font-weight: 700; line-height: 1; color: rgba(14, 17, 22, .04); font-size: 96px; pointer-events: none; }
@media (min-width: 768px) { .ghost-num { font-size: 112px; } }

/* what we do */
.whatwedo { background: var(--paper); padding-top: 96px; padding-bottom: 112px; }
@media (min-width: 768px) { .whatwedo { padding-bottom: 160px; } }
.offerings { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 768px) { .offerings { grid-template-columns: repeat(2, 1fr); } .offerings .card-link:nth-child(2) { margin-top: 64px; } }
.offerings .strip { color: rgba(14, 17, 22, .3); width: 160px; height: 32px; }
.offerings h3 { margin-top: 28px; font-size: 24px; }
@media (min-width: 768px) { .offerings h3 { font-size: 30px; } }
.offerings .desc { margin-top: 12px; max-width: 28rem; line-height: 1.65; color: var(--muted); }
.offerings .ticklist { margin-top: 28px; }
.offerings .more { margin-top: 32px; }

/* ---------- capabilities (dark + overlap) ---------- */
/* NOTE: no overflow:hidden — the stats card overlaps upward out of this section */
.capabilities { position: relative; background: var(--ink); color: #fff; }
.capabilities .blueprint-dark { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.capabilities .inner { position: relative; padding-bottom: 80px; }
@media (min-width: 768px) { .capabilities .inner { padding-bottom: 112px; } }
.stats-overlap { position: relative; z-index: 10; margin-top: -96px; margin-bottom: 64px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: var(--shadow-lift); }
@media (min-width: 768px) { .stats-overlap { margin-top: -128px; margin-bottom: 96px; } }
.stats-overlap .cap { border-bottom: 1px solid var(--line); padding: 16px 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
@media (min-width: 768px) { .stats-overlap .cap { padding: 16px 32px; } }

.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .statgrid { grid-template-columns: repeat(4, 1fr); } }
.statgrid .cell { padding: 32px 24px; }
@media (min-width: 768px) { .statgrid .cell { padding: 36px 32px; } }
.statgrid .cell:nth-child(even) { border-left: 1px solid var(--line); }
.statgrid .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .statgrid .cell:nth-child(n+3) { border-top: 0; }
  .statgrid .cell:not(:first-child) { border-left: 1px solid var(--line); }
}
.statgrid .dot { display: block; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.statgrid .v { margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -.02em; }
@media (min-width: 768px) { .statgrid .v { font-size: 44px; } }
.statgrid .l { margin-top: 12px; font-size: 15px; font-weight: 500; }
.statgrid .n { margin-top: 4px; font-size: 13px; color: var(--muted); }

.cap-head { display: grid; gap: 32px; }
@media (min-width: 768px) { .cap-head { grid-template-columns: repeat(12, 1fr); align-items: end; } }
.cap-head .t { grid-column: span 7; }
.cap-head .t h2 { margin-top: 20px; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.cap-head .d { grid-column: span 5; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .65); }
.tags { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }
.tag { border: 1px solid var(--line-dark); border-radius: 999px; padding: 10px 20px; font-size: 14px; color: rgba(255, 255, 255, .8); transition: border-color .2s, color .2s; }
.tag:hover { border-color: var(--brand); color: #fff; }
.oem { margin-top: 56px; border-top: 1px solid var(--line-dark); padding-top: 40px; }
.oem .label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255, 255, 255, .4); }
.oem .list { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.oem .list span { display: inline-flex; align-items: center; gap: 28px; font-family: var(--font-display); font-size: 18px; color: rgba(255, 255, 255, .75); }
.oem .list span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.oem .list span:first-child::before { display: none; }
.oem .list span:first-child { gap: 0; }

/* ---------- industries ---------- */
.industries-grid { margin-top: 56px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 640px) { .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.industries-grid .item { background: var(--paper); padding: 32px; transition: background-color .2s; }
.industries-grid .item:hover { background: var(--bg); }
.industries-grid .top { display: flex; align-items: center; gap: 12px; }
.industries-grid .top .num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--brand); }
.industries-grid .top .line { flex: 1; height: 1px; background: var(--line); }
.industries-grid h3 { margin-top: 20px; font-size: 20px; }
.industries-grid p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- values ---------- */
.values { background: var(--bg-2); padding: 96px 0; }
.values-grid { margin-top: 56px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } .values-grid .card:nth-child(2) { margin-top: 40px; } .values-grid .card:nth-child(3) { margin-top: 80px; } }
.values .bar { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--brand); }
.values .card h3 { margin-top: 24px; font-size: 20px; }
.values .card p { margin-top: 12px; line-height: 1.65; color: var(--muted); }
.values .ghost-num { font-size: 80px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 80px 0; }
@media (min-width: 768px) { .cta { padding: 112px 0; } }
.cta .blueprint-dark { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.cta .glow { position: absolute; left: -160px; top: 50%; transform: translateY(-50%); width: 460px; height: 460px; border-radius: 999px; background: rgba(226, 29, 36, .2); filter: blur(64px); pointer-events: none; }
.cta .grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 768px) { .cta .grid { grid-template-columns: repeat(12, 1fr); align-items: end; } }
.cta .text { grid-column: span 12; }
@media (min-width: 768px) { .cta .text { grid-column: span 8; } }
.cta h2 { margin-top: 20px; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; }
.cta .lead { margin-top: 24px; max-width: 36rem; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .65); }
.cta .actions { grid-column: span 12; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .cta .actions { grid-column: span 4; align-items: flex-end; } }

/* generic dark section (trading / onsite / principles) */
.darksec { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 96px 0; }
.darksec > .blueprint-dark { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.darksec > .container { position: relative; }

/* responsive line break */
.br-sm { display: none; }
@media (min-width: 640px) { .br-sm { display: initial; } }

/* ============================================================
   IMAGERY — photos & logos carried over from the legacy site
   ============================================================ */

/* client logos (replaces the text list) */
.clients .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.clients .logos img { height: 26px; width: auto; max-width: 116px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s; }
.clients .logos img:hover { filter: grayscale(0); opacity: 1; }
@media (min-width: 768px) { .clients .logos img { height: 30px; } }

/* hero: real photo + overlapping mini schematic */
.hero-photo { position: relative; z-index: 5; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.hero-photo img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 1024px) { .hero-photo img { height: 432px; } }
.photo-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(8, 10, 14, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.photo-tag .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.schematic-mini { position: relative; z-index: 10; margin: -44px 12px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: var(--shadow-lift); color: var(--ink); }
@media (min-width: 1024px) { .schematic-mini { position: absolute; left: -28px; bottom: -26px; width: 290px; margin: 0; } }
.schematic-mini .head { display: flex; align-items: center; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.schematic-mini .live { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-2); }
.schematic-mini .live .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.schematic-mini svg { margin-top: 6px; }

/* capabilities: ensure content sits above the bg layers, + faded photo */
.capabilities > .container { position: relative; z-index: 1; }
.cap-photo { position: absolute; inset: 0; pointer-events: none; background-size: cover; background-position: center right; opacity: .12; -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 92%); mask-image: linear-gradient(to right, transparent 8%, #000 92%); }

/* industries: photo cards */
.industries-grid .item { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.industries-grid .item:hover { background: var(--paper); }
.ind-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.industries-grid .item:hover .ind-photo img { transform: scale(1.05); }
.ind-num { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; background: rgba(8, 10, 14, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.ind-body { padding: 22px 26px 30px; }
.ind-body h3 { margin-top: 0; font-size: 20px; }
.ind-body p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* products: brand logos on a white chip */
.brand-card .blogo { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 18px; background: #fff; border-radius: 10px; }
.brand-card .blogo img { max-height: 26px; max-width: 150px; width: auto; object-fit: contain; }

/* services: duo photos */
.duo-photo { margin-bottom: 28px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 14px; aspect-ratio: 16 / 9; }
.duo-photo img { width: 100%; height: 100%; object-fit: cover; }

/* about: feature band */
.about-band { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.about-band img { display: block; width: 100%; height: 300px; object-fit: cover; }
@media (min-width: 768px) { .about-band img { height: 380px; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero .blueprint { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.page-hero .tint { display: none; }
@media (min-width: 1024px) { .page-hero .tint { display: block; position: absolute; right: 0; top: 0; height: 100%; width: 33%; background: linear-gradient(to left, var(--brand-50), transparent); pointer-events: none; } }
.page-hero .wrap { position: relative; display: grid; gap: 40px; padding: 56px 0; align-items: end; }
@media (min-width: 768px) { .page-hero .wrap { grid-template-columns: repeat(12, 1fr); padding: 80px 0; } }
.page-hero .head { grid-column: span 12; }
@media (min-width: 768px) { .page-hero .head { grid-column: span 8; } .page-hero .head.wide { grid-column: span 10; } }
.page-hero h1 { margin-top: 24px; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .98; }
.page-hero .intro { margin-top: 24px; max-width: 42rem; font-size: 18px; line-height: 1.65; color: var(--muted); }
@media (min-width: 768px) { .page-hero .intro { font-size: 20px; } }
.page-hero .aside { grid-column: span 12; }
@media (min-width: 768px) { .page-hero .aside { grid-column: span 4; } }

.infocard { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); padding: 24px; }
.infocard .k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.infocard .big { font-family: var(--font-display); font-size: 36px; font-weight: 600; }
.infocard .sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.infocard .rule { height: 1px; background: var(--line); margin: 24px 0; }

/* ---------- products: zig-zag ---------- */
.zigzag { margin-top: 64px; display: flex; flex-direction: column; gap: 64px; }
@media (min-width: 768px) { .zigzag { gap: 96px; } }
.zz-row { display: grid; gap: 40px; align-items: center; }
@media (min-width: 768px) { .zz-row { grid-template-columns: repeat(12, 1fr); } }
.zz-text { grid-column: span 12; }
.zz-panel { grid-column: span 12; }
@media (min-width: 768px) {
  .zz-text { grid-column: span 5; }
  .zz-panel { grid-column: span 7; }
  .zz-row.rev .zz-text { order: 2; }
  .zz-row.rev .zz-panel { order: 1; }
}
.zz-index { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--brand); }
.zz-text h3 { margin-top: 16px; font-size: 30px; }
@media (min-width: 768px) { .zz-text h3 { font-size: 36px; } }
.zz-text p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); padding: 32px; }
@media (min-width: 768px) { .panel { padding: 40px; } }
.panel .strip { color: rgba(14, 17, 22, .3); width: 160px; height: 32px; }
.points { margin-top: 28px; display: grid; gap: 16px 32px; }
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, 1fr); } }

/* ---------- brands (dark) ---------- */
.brands { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 768px) { .brands { grid-template-columns: repeat(3, 1fr); } }
.brand-card { border: 1px solid var(--line-dark); border-radius: 16px; padding: 32px; transition: border-color .2s; }
.brand-card:hover { border-color: var(--brand); }
.brand-card .bar { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--brand); }
.brand-card h3 { margin-top: 24px; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.brand-card p { margin-top: 12px; line-height: 1.65; color: rgba(255, 255, 255, .65); }

/* ---------- services ---------- */
.sublabel { display: flex; align-items: center; gap: 12px; }
.sublabel .t { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--brand-2); white-space: nowrap; }
.sublabel .line { flex: 1; height: 1px; background: var(--line); }
.steps { margin-top: 32px; display: grid; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step .no { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: rgba(14, 17, 22, .15); }
.step h3 { margin-top: 16px; font-size: 20px; }
.step p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.pills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.pill-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.pill-chip::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6' fill='none' stroke='%23e21d24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.spare { margin-top: 48px; display: grid; gap: 24px; }
@media (min-width: 768px) { .spare { grid-template-columns: repeat(2, 1fr); } }
.spare-quote { position: relative; overflow: hidden; border-radius: 16px; background: var(--brand); color: #fff; padding: 36px; }
@media (min-width: 768px) { .spare-quote { padding: 44px; } }
.spare-quote .blueprint-dark { position: absolute; inset: 0; opacity: .3; }
.spare-quote .label { position: relative; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: rgba(255, 255, 255, .7); }
.spare-quote blockquote { position: relative; margin-top: 24px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.3; }
.spare-cols { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 36px; display: grid; gap: 32px; }
@media (min-width: 640px) { .spare-cols { grid-template-columns: repeat(2, 1fr); } }
.spare-cols h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.spare-cols .ticklist { margin-top: 16px; }

.duo { display: grid; gap: 56px; }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(2, 1fr); gap: 80px; } }
.duo h2 { margin-top: 20px; font-size: 30px; }
@media (min-width: 768px) { .duo h2 { font-size: 36px; } }
.duo p { margin-top: 20px; line-height: 1.65; color: rgba(255, 255, 255, .65); }
.duo .ticklist { margin-top: 32px; }
.duo .ticklist li { color: rgba(255, 255, 255, .85); }

/* ---------- about ---------- */
.facts { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.facts .row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.facts .row:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.facts dd { text-align: right; font-size: 15px; font-weight: 500; }
.story { display: grid; gap: 48px; }
@media (min-width: 768px) { .story { grid-template-columns: repeat(12, 1fr); } }
.story .body { grid-column: span 12; }
@media (min-width: 768px) { .story .body { grid-column: span 7; } }
.story .body .p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.story .side { grid-column: span 12; }
@media (min-width: 768px) { .story .side { grid-column: span 5; } }
.chip-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-pill { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.dotlist { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.dotlist li { display: flex; align-items: center; gap: 12px; }
.dotlist li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); flex: none; }
.label-sm { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.statwrap { margin-top: 64px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.statwrap .cap { border-bottom: 1px solid var(--line); background: var(--bg); padding: 16px 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
@media (min-width: 768px) { .statwrap .cap { padding: 16px 32px; } }
.principles { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { border: 1px solid var(--line-dark); border-radius: 16px; padding: 32px; }
.principle .bar { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--brand); }
.principle h3 { margin-top: 24px; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.principle p { margin-top: 12px; line-height: 1.65; color: rgba(255, 255, 255, .7); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(12, 1fr); } }
@media (min-width: 1024px) { .contact-grid { gap: 64px; } }
.contact-info { grid-column: span 12; }
@media (min-width: 768px) { .contact-info { grid-column: span 5; } }
.contact-info h1 { margin-top: 24px; font-size: clamp(2.4rem, 6vw, 4rem); line-height: .98; }
.contact-info .intro { margin-top: 24px; max-width: 28rem; font-size: 18px; line-height: 1.65; color: var(--muted); }
.detail-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.detail { display: flex; gap: 16px; }
.detail .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--brand-2); }
.detail .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.detail .v { margin-top: 4px; font-size: 15px; line-height: 1.6; }
.detail a.v:hover { color: var(--brand-2); }
.contact-form-wrap { grid-column: span 12; }
@media (min-width: 768px) { .contact-form-wrap { grid-column: span 7; } }
.form-card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 28px; box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.grid2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field > span { font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 16px; font-size: 15px; color: var(--ink); transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(100, 107, 120, .7); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: none; }
.form-foot { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { font-weight: 500; color: var(--ink); }
.form-note a:hover { color: var(--brand-2); }
.form-success { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-success .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--brand-50); color: var(--brand-2); }
.form-success h2 { margin-top: 24px; font-size: 24px; }
.form-success p { margin-top: 12px; max-width: 24rem; color: var(--muted); }
.form-success button { margin-top: 28px; color: var(--brand-2); }
.map iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.2); }
.map { background: var(--bg); }
@media (min-width: 768px) { .map iframe { height: 440px; } }

/* ---------- preview lock ---------- */
.lock { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: var(--bg); color: var(--ink); padding: 64px 24px; text-align: center; }
.lock .blueprint { position: absolute; inset: 0; opacity: .7; pointer-events: none; }
.lock .glow { position: absolute; right: -96px; top: -96px; width: 320px; height: 320px; border-radius: 999px; background: rgba(226, 29, 36, .1); filter: blur(48px); pointer-events: none; }
.lock .inner { position: relative; max-width: 36rem; }
.lock .badge { margin-top: 40px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(226, 29, 36, .2); background: var(--brand-50); border-radius: 999px; padding: 6px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--brand-2); }
.lock .badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.lock h1 { margin-top: 28px; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.05; }
.lock p { margin: 20px auto 0; max-width: 28rem; font-size: 18px; line-height: 1.65; color: var(--muted); }
.lock .actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
@media (min-width: 640px) { .lock .actions { flex-direction: row; } }
.lock .powered-line { margin-top: 56px; font-size: 13px; color: var(--muted); }
.lock .powered-line a { font-weight: 500; color: var(--ink); text-underline-offset: 4px; }
.lock .powered-line a:hover { text-decoration: underline; }

/* ---------- misc ---------- */
.body-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ============================================================
   MOBILE STACKING — must be LAST so it overrides the grid
   definitions above. Below each grid's breakpoint, stack as a
   flex column: this neutralises `grid-column: span N` (which
   would otherwise spawn content-sized implicit columns and
   overflow the viewport) while preserving the `gap`.
   ============================================================ */
@media (max-width: 1023px) {
  .hero .wrap { display: flex; flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
  .page-hero .wrap,
  .cta .grid,
  .cap-head,
  .story,
  .contact-grid,
  .footer-grid,
  .duo,
  .offerings,
  .values-grid,
  .brands,
  .steps,
  .spare,
  .principles,
  .zz-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 639px) {
  .industries-grid,
  .spare-cols,
  .points,
  .ticklist.two,
  .grid2 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   PER-PAGE LAYOUTS — each inner page gets its own signature.
   All flex-based (column on mobile → row at breakpoint).
   ============================================================ */

.section-alt { background: var(--bg); }

/* ---- PRODUCTS: dark image-forward hero ---- */
.phero-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.phero-dark > .blueprint-dark { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.phero-dark > .container { position: relative; }
.phero-dark-grid { display: flex; flex-direction: column; gap: 36px; padding: 52px 0; }
@media (min-width: 900px) { .phero-dark-grid { flex-direction: row; align-items: center; gap: 56px; padding: 90px 0; } }
.phero-dark-copy { min-width: 0; }
@media (min-width: 900px) { .phero-dark-copy { flex: 1.05 1 0; } }
.phero-dark h1 { margin-top: 22px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1; }
.phero-dark .lead { margin-top: 22px; max-width: 38rem; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .7); }
.phero-dark .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.chip-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list span { border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.phero-dark-media { position: relative; min-width: 0; }
@media (min-width: 900px) { .phero-dark-media { flex: .95 1 0; } }
.phero-dark-media img { width: 100%; height: 300px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-dark); }
@media (min-width: 900px) { .phero-dark-media img { height: 460px; } }
.media-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(8, 10, 14, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.media-badge .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--brand); }
.media-badge .v { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1; }
.media-badge .k { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .6); }

/* PRODUCTS: engineering cards (image header) */
.eng-cards { margin-top: 52px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 860px) { .eng-cards { flex-direction: row; } .eng-cards > * { flex: 1 1 0; min-width: 0; } }
.eng-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.ec-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.ec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.eng-card:hover .ec-media img { transform: scale(1.04); }
.ec-num { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; background: rgba(8, 10, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-family: var(--font-display); font-weight: 600; }
.ec-body { padding: 28px 28px 32px; }
.ec-body h3 { font-size: 24px; }
.ec-sum { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.ec-body .ticklist { margin-top: 22px; }

/* PRODUCTS: brand strip (light tiles) */
.brand-strip { margin-top: 52px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 760px) { .brand-strip { flex-direction: row; } .brand-strip > * { flex: 1 1 0; min-width: 0; } }
.brand-tile { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.brand-tile:hover { border-color: rgba(14, 17, 22, .18); box-shadow: var(--shadow-card); }
.bt-logo { height: 38px; display: flex; align-items: center; }
.bt-logo img { max-height: 28px; max-width: 150px; width: auto; object-fit: contain; }
.brand-tile h3 { margin-top: 18px; font-size: 18px; }
.brand-tile p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---- SERVICES: pillar-menu hero ---- */
.phero-menu { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.phero-menu .blueprint { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.phero-menu .container { position: relative; }
.phero-menu-top { max-width: 46rem; padding-top: 56px; }
@media (min-width: 768px) { .phero-menu-top { padding-top: 84px; } }
.phero-menu h1 { margin-top: 22px; font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: .98; }
.phero-menu .lead { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.pillars { margin-top: 44px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 820px) { .pillars { flex-direction: row; padding-bottom: 84px; } .pillars > * { flex: 1 1 0; min-width: 0; } }
.pillar { display: block; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 26px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pillar:hover { border-color: rgba(14, 17, 22, .2); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pillar .p-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--brand); }
.pillar h3 { margin-top: 12px; font-size: 20px; }
.pillar p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pillar .p-go { margin-top: 16px; color: var(--brand-2); }

/* SERVICES: alternating feature blocks */
.feat { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 860px) { .feat { flex-direction: row; align-items: center; gap: 56px; } .feat.rev { flex-direction: row-reverse; } .feat > * { flex: 1 1 0; min-width: 0; } }
.feat + .feat { margin-top: 56px; }
@media (min-width: 860px) { .feat + .feat { margin-top: 80px; } }
.feat-media { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 16 / 11; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-body h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.feat-body .lead { margin-top: 16px; color: var(--muted); line-height: 1.65; }
.feat-body .ticklist { margin-top: 24px; }

/* ---- ABOUT: centered hero + fact bar ---- */
.phero-center { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.phero-center .blueprint { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.phero-center .container { position: relative; }
.phero-center .inner { max-width: 52rem; margin: 0 auto; padding-top: 64px; text-align: center; }
@media (min-width: 768px) { .phero-center .inner { padding-top: 92px; } }
.phero-center .eyebrow { justify-content: center; }
.phero-center h1 { margin-top: 22px; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; }
.phero-center .lead { margin: 22px auto 0; max-width: 40rem; font-size: 18px; line-height: 1.65; color: var(--muted); }
.fact-bar { margin-top: 48px; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.fact-bar .fb { flex: 1 1 50%; min-width: 0; padding: 22px 18px; border-bottom: 1px solid var(--line); }
.fact-bar .fb:nth-child(even) { border-left: 1px solid var(--line); }
@media (min-width: 768px) { .fact-bar .fb { flex: 1 1 0; border-bottom: 0; border-left: 1px solid var(--line); } .fact-bar .fb:first-child { border-left: 0; } }
.fact-bar .k { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.fact-bar .v { margin-top: 6px; font-family: var(--font-display); font-size: 16px; font-weight: 600; }

/* ABOUT: timeline */
.story2 { display: flex; flex-direction: column; gap: 36px; }
@media (min-width: 900px) { .story2 { flex-direction: row; gap: 64px; } .story2-head { flex: 0 0 34%; } .story2-body { flex: 1 1 0; min-width: 0; } }
.timeline { position: relative; display: flex; flex-direction: column; gap: 30px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-left: 46px; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 3px; width: 16px; height: 16px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.tl-year { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--brand); }
.tl-item h3 { margin-top: 4px; font-size: 20px; }
.tl-item p { margin-top: 8px; color: var(--muted); line-height: 1.65; }

/* ABOUT: manifesto (dark big statements) */
.manifesto { margin-top: 44px; }
.mf-item { display: flex; flex-direction: column; gap: 14px; padding: 34px 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 820px) { .mf-item { flex-direction: row; gap: 48px; } }
.mf-label { display: flex; align-items: flex-start; gap: 12px; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: #fff; }
@media (min-width: 820px) { .mf-label { flex: 0 0 220px; } }
.mf-label::before { content: ""; width: 26px; height: 2px; margin-top: 13px; background: var(--brand); }
.mf-text { flex: 1 1 0; min-width: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.7rem); line-height: 1.4; color: rgba(255, 255, 255, .85); }

/* ---- CONTACT: split screen ---- */
.contact-split { display: flex; flex-direction: column; }
@media (min-width: 920px) { .contact-split { flex-direction: row; align-items: stretch; } .contact-split > * { flex: 1 1 0; min-width: 0; } }
.cs-left { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cs-left .blueprint-dark { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.cs-right { background: var(--bg); }
.cs-pad { position: relative; width: 100%; max-width: 600px; margin: 0 auto; padding: 56px 20px; }
@media (min-width: 640px) { .cs-pad { padding: 56px 32px; } }
@media (min-width: 920px) {
  .cs-left .cs-pad { margin: 0 0 0 auto; padding: 96px 56px 96px 40px; }
  .cs-right .cs-pad { margin: 0 auto 0 0; padding: 96px 40px 96px 56px; }
}
.cs-left h1 { margin-top: 22px; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; }
.cs-left .lead { margin-top: 20px; max-width: 30rem; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.cs-detail-list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.cs-detail { display: flex; gap: 14px; }
.cs-detail .ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: #fff; }
.cs-detail .k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: rgba(255, 255, 255, .5); }
.cs-detail .v { margin-top: 4px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.cs-detail a.v:hover { color: #fff; }
.cs-right .form-card { box-shadow: var(--shadow-card); }
