/* MASS Controls website styles
   Brand tokens are defined on :root below. Red (#E10600) is reserved for actions
   and for the control layer in the project diagrams. */

/* Base resets */
[hidden] { display: none !important; }
img { max-width: 100%; }

/* Brand system from the MASS Controls board.
   Layout: graphite hero carrying the brand photograph, then alternating white / cloud / graphite
   bands on a 1280 grid, left-aligned. Red is reserved for action and for the control layer
   in diagrams; everything else is graphite, metal, and cloud. One diagonal (the truck livery)
   appears once, behind the contact form. */
:root {
  --red: #E10600;          /* MASS Red */
  --red-press: #BD0500;
  --red-text: #FF4E42;     /* red for small text on graphite */
  --graphite: #0B0B0D;     /* Graphite */
  --graphite-2: #141417;
  --graphite-3: #202126;
  --graphite-4: #2E3036;
  --metal: #8A8F98;        /* Metal */
  --metal-ink: #5B6069;
  --metal-soft: #A9ADB4;
  --cloud: #F5F6F7;        /* Cloud */
  --white: #FFFFFF;
  --ink: #0B0B0D;
  --ink-2: #2B2D33;
  --rule: #E3E5E8;
  --rule-2: #CFD2D7;
  --sld-line: #E4E6E9;

  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --header-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--text); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 4px; border: 1px solid transparent; font: 600 15.5px/1 var(--text); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-press); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.36); background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: var(--graphite-4); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }

/* Logo lockup */
.lockup { display: block; width: 221px; height: 30px; color: #fff; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11,11,13,.92); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: block; text-decoration: none; }
.primary { display: flex; gap: 30px; }
.primary a { color: #C6C9CE; font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s; }
.primary a:hover { color: #fff; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.mnav { border-top: 1px solid rgba(255,255,255,.08); }
.mnav a { display: block; padding: 15px max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 17px; font-weight: 500; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--graphite); color: #fff; }
.hero-top { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; }
.hero-top::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,13,.95) 0%, rgba(11,11,13,.86) 28%, rgba(11,11,13,.42) 56%, rgba(11,11,13,.06) 78%),
    linear-gradient(0deg, rgba(11,11,13,.94) 0%, rgba(11,11,13,.55) 22%, rgba(11,11,13,0) 42%),
    linear-gradient(180deg, rgba(11,11,13,.5) 0%, rgba(11,11,13,0) 18%); }
.hero-inner { padding-block: clamp(84px, 9vw, 120px) clamp(72px, 7vw, 104px); }
.hero h1 { font-weight: 300; font-size: clamp(38px, 6.4vw, 92px); line-height: 1.0; letter-spacing: -0.038em; }
.hero-lead { margin-top: 30px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; color: #C9CCD1; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px 34px 0; color: #fff; text-decoration: none; min-width: 0; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.pillar svg { width: 34px; height: 34px; flex: 0 0 auto; color: #fff; }
.pillar b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.pillar span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--metal-soft); }
.pillar:hover b { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Section frame ---------- */
main section { scroll-margin-top: var(--header-h); }
.sec { padding-block: clamp(80px, 10vw, 136px); }
.sec--cloud { background: var(--cloud); }
.sec--dark { background: var(--graphite); color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 76px); }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -0.032em; max-width: 15ch; }
.sec-head p { font-size: 18px; line-height: 1.6; color: var(--metal-ink); max-width: 52ch; }
.sec--dark .sec-head p { color: var(--metal-soft); }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 80px; align-items: start; }
.approach h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.038em; line-height: 1.02; max-width: 13ch; }
.approach .copy p { font-size: 18.5px; line-height: 1.62; color: var(--ink-2); max-width: 54ch; }
.approach .copy p + p { margin-top: 18px; }
.proof { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.proof > div { padding: 28px 32px 0 0; }
.proof > div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.proof h3 { font-size: 20px; letter-spacing: -0.015em; }
.proof p { margin-top: 10px; color: var(--metal-ink); font-size: 15.5px; max-width: 38ch; }

/* ---------- Solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); }
.sol { background: var(--white); padding: clamp(28px, 3.6vw, 48px); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 22px; scroll-margin-top: calc(var(--header-h) + 16px); }
.sol > svg { width: 44px; height: 44px; color: var(--graphite); }
.sol h3 { font-size: 26px; letter-spacing: -0.022em; }
.sol p { margin-top: 12px; color: var(--metal-ink); font-size: 16.5px; max-width: 46ch; }
.sol ul { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.sol li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }

/* ---------- Projects ---------- */
.proj-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--graphite-4); background: transparent; color: #C6C9CE; font: 500 14px/1 var(--text); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--metal); color: #fff; }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--graphite); }
.legend { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--metal); }
.legend svg { width: 34px; height: 10px; flex: 0 0 auto; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proj { display: flex; flex-direction: column; background: var(--graphite-2); border: 1px solid var(--graphite-3); min-width: 0; }
.dia { padding: 16px 16px 8px; border-bottom: 1px solid var(--graphite-3);
  background-color: var(--graphite-2);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 12px 12px; background-position: -1px -1px; }
.proj-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 24px; }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cat { font-size: 12.5px; line-height: 1; color: var(--metal-soft); border: 1px solid var(--graphite-4); border-radius: 999px; padding: 6px 10px; }
.proj h3 { font-size: 22px; letter-spacing: -0.018em; color: #fff; }
.proj p { color: var(--metal-soft); font-size: 15px; line-height: 1.55; }
.spec { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--graphite-3); display: grid; gap: 8px; }
.spec div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.45; }
.spec dt { color: var(--metal); }
.spec dd { margin: 0; color: #E4E6E9; font-variant-numeric: tabular-nums; }
.spec .scope dd { color: #fff; font-weight: 600; }
.proj-cta { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 30px 32px; border: 1px solid var(--graphite-4); }
.proj-cta h3 { font-size: 22px; color: #fff; }
.proj-cta p { margin-top: 6px; color: var(--metal-soft); font-size: 15.5px; max-width: 60ch; }

/* SLD diagrams */
.sld { display: block; width: 100%; height: auto; overflow: visible; }
.sld .w { fill: none; stroke: #7E838C; stroke-width: 1.3; }
.sld .bus { fill: none; stroke: var(--sld-line); stroke-width: 3; }
.sld .bus2 { fill: none; stroke: var(--sld-line); stroke-width: 2; }
.sld .eq { fill: var(--graphite-2); stroke: var(--sld-line); stroke-width: 1.3; }
.sld .xf { fill: none; stroke: var(--sld-line); stroke-width: 1.3; }
.sld .ln { fill: none; stroke: var(--sld-line); stroke-width: 1.1; }
.sld .ln2 { fill: none; stroke: var(--sld-line); stroke-width: 1.1; opacity: .45; }
.sld .bl { fill: var(--sld-line); }
.sld .ar { fill: var(--sld-line); }
.sld .t { fill: var(--sld-line); font: 600 9px var(--text); text-anchor: middle; }
.sld .lb { fill: var(--metal); font: 500 8.5px var(--text); }
.sld .c { fill: none; stroke: var(--red); stroke-width: 1.3; stroke-dasharray: 3.5 2.5; }
.sld .cs { fill: none; stroke: var(--red); stroke-width: 1.3; stroke-linejoin: round; }
.sld .cb { fill: rgba(225,6,0,.14); stroke: var(--red); stroke-width: 1.3; }
.sld .ct { fill: var(--red-text); font: 700 8.5px var(--text); text-anchor: middle; letter-spacing: .05em; }
.sld .cd { fill: var(--red); }
.sld .old { opacity: .5; }

/* ---------- Delivery ---------- */
.flow { border-top: 1px solid var(--ink); }
.phases, .lane { display: grid; grid-template-columns: 172px repeat(6, minmax(0, 1fr)); }
.phases .corner { padding: 22px 16px 0 0; font-size: 13.5px; color: var(--metal-ink); }
.phase { padding: 22px 16px 28px; border-left: 1px solid var(--rule); min-width: 0; }
.phase .n { font-size: 13px; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.phase h3 { margin-top: 8px; font-size: 19px; letter-spacing: -0.015em; }
.phase p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--metal-ink); }
.roles { display: none; }
.lanes { background-image: linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: calc((100% - 172px) / 6) 100%; background-position: 172px 0; background-repeat: repeat-x; }
.lane { align-items: center; min-height: 68px; border-top: 1px solid var(--rule); }
.lane:last-child { border-bottom: 1px solid var(--rule); }
.who b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.who span { display: block; font-size: 12.5px; color: var(--metal-ink); line-height: 1.35; margin-top: 2px; }
.seg-bar { height: 36px; margin: 0 8px; display: flex; align-items: center; padding: 0 14px; border-radius: 3px; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg-mass { grid-column: 2 / 8; background: var(--red); color: #fff; }
.seg-sel { grid-column: 4 / 5; border: 1px dashed var(--metal); color: var(--metal-ink); }
.seg-int { grid-column: 5 / 7; background: var(--graphite); color: #fff; }
.seg-om { grid-column: 7 / 8; border: 1px dashed var(--metal); color: var(--metal-ink); }
.touch { display: flex; align-items: center; gap: 8px; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.touch i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--graphite); background: var(--white); flex: 0 0 auto; }
.t1 { grid-column: 2; } .t2 { grid-column: 3; } .t5 { grid-column: 6; } .t6 { grid-column: 7; }

/* ---------- Integrators ---------- */
.int-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px 88px; align-items: start; }
.int-grid h2 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -0.032em; }
.int-lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.int-grid .btn { margin-top: 34px; }
.benefit { padding: 24px 0; border-top: 1px solid var(--rule-2); }
.benefit:first-child { border-top-color: var(--ink); }
.benefit h3 { font-size: 19px; letter-spacing: -0.015em; }
.benefit p { margin-top: 6px; font-size: 15.5px; color: var(--metal-ink); max-width: 52ch; }
.trades { padding-top: 24px; border-top: 1px solid var(--rule-2); }
.trades h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.trade-list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.trade-list li { font-size: 14px; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule-2); color: var(--ink-2); }

/* ---------- Company ---------- */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 88px; align-items: start; }
.co-grid h2 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -0.032em; }
.co-story p { margin-top: 22px; font-size: 18px; line-height: 1.62; color: var(--ink-2); max-width: 52ch; }
.co-story p + p { margin-top: 16px; }
.regions h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--metal-ink); padding-bottom: 14px; }
.region { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 6px 20px; padding: 20px 0; border-top: 1px solid var(--rule); }
.regions .region:first-of-type { border-top-color: var(--ink); }
.region:last-child { border-bottom: 1px solid var(--rule); }
.region b { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.region span { color: var(--metal-ink); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 70%; width: 46%; background: var(--red); transform: skewX(-36.3deg); transform-origin: 0 100%; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.contact h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.038em; color: #fff; }
.contact .lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: #C9CCD1; max-width: 44ch; }
.clist { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.16); }
.crow { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); min-width: 0; }
.crow .k { width: 74px; flex: 0 0 auto; font-size: 13.5px; color: var(--metal); }
.crow .v { font-family: var(--display); font-size: 18px; font-weight: 500; color: #fff; min-width: 0; overflow-wrap: anywhere; }
.crow .v.small { font-size: 16px; }
.copy-btn { margin-left: auto; flex: 0 0 auto; height: 32px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--graphite-4); background: transparent; color: #C6C9CE; font: 500 13px/1 var(--text); cursor: pointer; transition: border-color .15s, color .15s; }
.copy-btn:hover { border-color: #fff; color: #fff; }

.form-card { position: relative; background: var(--white); color: var(--ink); border-radius: 6px; padding: clamp(24px, 3vw, 38px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 6px; background: var(--cloud); }
.seg button { height: 42px; border: 0; border-radius: 4px; background: transparent; color: var(--metal-ink); font: 600 14.5px/1 var(--text); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(11,11,13,.14), 0 0 0 1px rgba(11,11,13,.06); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.fgrid > [data-group] { display: contents; }
.fgrid > [data-group][hidden] { display: none; }
.full { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--rule-2); background: var(--white); color: var(--ink); font: 400 15.5px var(--text); transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 108px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6069' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(225,6,0,.18); }
.field .emsg { display: none; margin-top: 6px; font-size: 13px; color: var(--red-press); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--red); }
.field.err .emsg { display: block; }
.form-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { font-size: 13px; color: var(--metal-ink); }
.done h3 { font-size: 26px; letter-spacing: -0.02em; }
.done h3:focus { outline: none; }
.done p { margin-top: 10px; font-size: 15.5px; color: var(--metal-ink); }
.done pre { margin: 18px 0 0; padding: 16px; max-height: 240px; overflow: auto; background: var(--cloud); border-radius: 4px; font: 13.5px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.done .acts { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-line { color: var(--ink); border-color: var(--rule-2); background: transparent; }
.btn-line:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--graphite); color: var(--metal-soft); border-top: 1px solid var(--graphite-3); padding-block: 64px 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { margin-top: 20px; font-size: 14.5px; line-height: 1.55; max-width: 34ch; }
.foot-col h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: #fff; }
.foot-col a, .foot-col span { display: block; padding: 5px 0; font-size: 14.5px; color: var(--metal-soft); text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { color: #fff; }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--graphite-3); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13.5px; color: #7D828B; }
.foot-base a { color: inherit; text-decoration: none; }
.foot-base a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary { gap: 22px; }
}
@media (max-width: 960px) {
  .primary, .head-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .sec-head, .approach, .int-grid, .co-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof > div, .proof > div + div { padding: 24px 0; border-left: 0; }
  .proof > div + div { border-top: 1px solid var(--rule); }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phases .corner, .lanes { display: none; }
  .phase { display: grid; grid-template-columns: 44px minmax(0, 1fr); border-left: 0; border-top: 1px solid var(--rule); padding: 22px 0; }
  .phase:first-of-type { border-top: 0; }
  .phase .n { grid-row: 1 / span 4; font-size: 15px; }
  .phase h3, .phase p, .roles { grid-column: 2; }
  .phase h3 { margin-top: 0; }
  .roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .role { font-size: 12.5px; line-height: 1; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--ink-2); }
  .role.m { background: var(--red); border-color: var(--red); color: #fff; }
  .role.i { background: var(--graphite); border-color: var(--graphite); color: #fff; }
  .contact::before { display: none; }
}
@media (max-width: 680px) {
  .lockup { width: 191px; height: 26px; }
  .hero-media img { object-position: 72% 50%; }
  .hero-top::before { background:
    linear-gradient(0deg, rgba(11,11,13,.96) 0%, rgba(11,11,13,.7) 40%, rgba(11,11,13,.6) 100%); }
  .hero-cta .btn { flex: 1 1 100%; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar, .pillar:nth-child(3) { padding: 18px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid rgba(255,255,255,.16); }
  .proj-grid, .sol-grid { grid-template-columns: minmax(0, 1fr); }
  .sol { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .proj-cta { padding: 24px; }
  .proj-cta .btn { width: 100%; }
  .region { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .crow { flex-wrap: wrap; gap: 4px 12px; }
  .crow .k { width: 100%; }
  .crow .v { overflow-wrap: normal; }
}

/* Honeypot: present for bots, not shown to people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.legal { padding: 72px 0 96px; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: -0.03em; margin: 0 0 12px; }
.legal .updated { color: var(--metal-ink); margin: 0 0 28px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); max-width: 68ch; }
.legal a { color: var(--ink); }

/* Clickable contact details on the live site */
.crow a.v { text-decoration: none; }
.crow a.v:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
