/* ============================================================
   DKR PROJECTS — Design system
   Palette: charcoal / white / DKR orange
   Type: Archivo (display) · Karla (body) · IBM Plex Mono (data)
   ============================================================ */

:root {
  --ink: #101317;
  --ink-2: #171B21;
  --graphite: #20252C;
  --graphite-2: #2A3038;
  --orange: #F2A11B;
  --orange-2: #FFB63D;
  --orange-deep: #C87A06;
  --paper: #FFFFFF;
  --mist: #F5F6F8;
  --mist-2: #ECEEF1;
  --muted: #5F6874;
  --muted-d: #9AA3AE;
  --line-d: rgba(255, 255, 255, .10);
  --line-l: rgba(16, 19, 23, .12);

  --ff-display: "Archivo", "Arial Narrow", Helvetica, Arial, sans-serif;
  --ff-body: "Karla", "Segoe UI", Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --bevel: 18px;
  --r: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0
}

p {
  margin: 0 0 1.05em
}

p:last-child {
  margin-bottom: 0
}

ul {
  margin: 0;
  padding: 0
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px
}

/* ---------- utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--orange);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700
}

.skip:focus {
  left: 12px;
  top: 12px
}

.bevel {
  clip-path: polygon(0 0, calc(100% - var(--bevel)) 0, 100% var(--bevel), 100% 100%, 0 100%)
}

.bevel-tl {
  clip-path: polygon(var(--bevel) 0, 100% 0, 100% 100%, 0 100%, 0 var(--bevel))
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.eyebrow::before {
  display: none !important;
}

.on-dark .eyebrow {
  color: var(--orange)
}

.h-xl {
  font-size: clamp(38px, 6.2vw, 78px)
}

.h-lg {
  font-size: clamp(30px, 4.4vw, 52px)
}

.h-md {
  font-size: clamp(22px, 2.6vw, 30px)
}

.lede {
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--muted);
  max-width: 66ch
}

.on-dark .lede {
  color: var(--muted-d)
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  position: relative
}

.section--mist {
  background: var(--mist)
}

.section--dark {
  background: var(--ink);
  color: var(--paper)
}

.section--graphite {
  background: var(--graphite);
  color: var(--paper)
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 4.5vw, 56px)
}

/* signature: chainage rail */
.rail {
  height: 26px;
  width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--line-l) 0 1px, transparent 1px 40px) bottom/100% 10px no-repeat,
    linear-gradient(var(--line-l), var(--line-l)) bottom/100% 1px no-repeat;
  opacity: .9
}

.section--dark .rail,
.section--graphite .rail {
  background:
    repeating-linear-gradient(90deg, var(--line-d) 0 1px, transparent 1px 40px) bottom/100% 10px no-repeat,
    linear-gradient(var(--line-d), var(--line-d)) bottom/100% 1px no-repeat
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  white-space: nowrap;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  --bevel: 12px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.btn:hover {
  transform: translateY(-2px)
}

.btn--primary {
  background: var(--orange);
  color: var(--ink)
}

.btn--primary:hover {
  background: var(--orange-2)
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  clip-path: none
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.btn--dark {
  background: var(--ink);
  color: #fff
}

.btn--dark:hover {
  background: var(--graphite-2)
}

.btn__arrow {
  width: 16px;
  height: 16px;
  flex: none
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--muted-d);
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .03em
}

.topbar__in {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 9px
}

.topbar a {
  color: var(--muted-d);
  transition: color .2s
}

.topbar a:hover {
  color: var(--orange)
}

.topbar__set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center
}

.topbar__tag {
  color: var(--orange)
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 19, 23, .92);
  backdrop-filter: blur(10px);
  border-bottom: none
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding-block: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 58px;
  flex: none;
  color: #ffffff
}

.brand__name {
  display: none !important;
}

.brand__sub {
  display: none !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav a {
  font-family: var(--ff-display);
  font-size: clamp(11.5px, 0.95vw, 13.5px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #D7DBE0;
  padding: 6px clamp(4px, 0.6vw, 8px);
  position: relative;
  white-space: nowrap;
  transition: color .2s
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease)
}

.nav a:hover {
  color: #fff
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1)
}

.nav a[aria-current="page"] {
  color: #fff
}

.header__cta {
  display: inline-flex;
  flex-shrink: 0;
  padding: 11px 20px;
  font-size: 13.5px;
  margin: 0;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line-d);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background .2s
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .28s var(--ease)
}

.burger span::before {
  top: -6px
}

.burger span::after {
  top: 6px
}

.burger[aria-expanded="true"] span {
  background: transparent
}

.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg)
}

.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg)
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden
}

.hero__art {
  display: none !important;
}

.hero__art svg {
  width: 100%;
  height: 100%
}

.hero__glow {
  position: absolute;
  right: -12%;
  top: -25%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle, rgba(242, 161, 27, .20), transparent 62%);
  pointer-events: none
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(64px, 9vw, 120px) clamp(64px, 8vw, 104px);
  align-items: center
}

.hero h1 {
  margin: 0 0 22px;
  text-transform: uppercase
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
  display: block
}

.hero__lede {
  color: #C6CCD4;
  font-size: clamp(17px, 1.4vw, 19.5px);
  max-width: 56ch;
  margin-bottom: 32px
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.hero__meta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-d)
}

.hero__meta span {
  display: flex;
  align-items: center;
  gap: 9px
}

.hero__meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  flex: none
}

/* hero panel: alignment drawing */
.hero__panel {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-d);
  padding: 26px 26px 22px;
  --bevel: 26px
}

.hero__panel h2 {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px
}

.hero__panel figure {
  margin: 0
}

.hero__panel figcaption {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted-d);
  letter-spacing: .08em;
  margin-top: 14px;
  line-height: 1.6
}

/* ---------- stat strip ---------- */
.stats {
  background: var(--orange);
  color: var(--ink)
}

.stats__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.stat {
  padding: clamp(26px, 3.2vw, 38px) clamp(14px, 2vw, 26px);
  border-right: 1px solid rgba(16, 19, 23, .16)
}

.stat:last-child {
  border-right: 0
}

.stat__num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.03em
}

.stat__num sup {
  font-size: .5em;
  top: -.6em;
  position: relative;
  font-weight: 700
}

.stat__lab {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 11px;
  color: rgba(16, 19, 23, .72);
  line-height: 1.5
}

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start
}

.timeline {
  list-style: none;
  margin: 34px 0 0;
  border-left: 2px solid var(--mist-2)
}

.timeline li {
  position: relative;
  padding: 0 0 26px 26px
}

.timeline li:last-child {
  padding-bottom: 0
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 2px solid var(--paper)
}

.timeline b {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--orange-deep);
  display: block;
  margin-bottom: 3px
}

.timeline span {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px
}

.timeline p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0
}

.factsheet {
  background: var(--ink);
  color: #fff;
  padding: clamp(26px, 3.4vw, 38px);
  --bevel: 28px
}

.factsheet h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 22px
}

.factsheet dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0
}

.factsheet .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-d)
}

.factsheet .row:last-child {
  border-bottom: 0
}

.factsheet dt {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-d);
  white-space: nowrap
}

.factsheet dd {
  margin: 0;
  font-weight: 600;
  font-size: 15.5px;
  text-align: right
}

/* ---------- services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 22px)
}

.svc {
  background: var(--paper);
  border: 1px solid var(--line-l);
  padding: clamp(26px, 3vw, 34px);
  --bevel: 22px;
  position: relative;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s
}

.svc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--orange);
  transition: height .38s var(--ease)
}

.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px -26px rgba(16, 19, 23, .45);
  border-color: transparent
}

.svc:hover::after {
  height: 100%
}

.svc__ico {
  width: 46px;
  height: 46px;
  color: var(--orange-deep);
  margin-bottom: 20px
}

.svc h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: -.01em
}

.svc p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0
}

/* ---------- vision + mission ---------- */
.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 26px)
}

.vm__card {
  padding: clamp(30px, 3.6vw, 46px);
  --bevel: 30px;
  position: relative;
  overflow: hidden
}

.vm__card--v {
  background: var(--orange);
  color: var(--ink)
}

.vm__card--m {
  background: var(--graphite);
  color: #fff
}

.vm__card h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px
}

.vm__quote {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  font-weight: 500;
  font-style: italic
}

.vm__list {
  list-style: none
}

.vm__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #D7DBE0
}

.vm__list li:last-child {
  margin-bottom: 0
}

.vm__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background: var(--orange)
}

.qm {
  width: 34px;
  height: 26px;
  flex: none;
  opacity: .55
}

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d)
}

.why {
  background: var(--ink);
  padding: clamp(24px, 2.6vw, 32px);
  transition: background .3s
}

.why:hover {
  background: var(--graphite)
}

.why__k {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--orange);
  margin-bottom: 22px
}

.why h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 9px;
  color: #fff
}

.why p {
  font-size: 15px;
  color: var(--muted-d);
  margin: 0
}

/* ---------- projects ---------- */
.pj-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.chip {
  background: transparent;
  border: 1px solid var(--line-l);
  padding: 9px 16px;
  cursor: pointer;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: .22s
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink)
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.search {
  position: relative;
  min-width: 270px;
  flex: 1 1 270px;
  max-width: 380px
}

.search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--line-l);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  border-radius: 0
}

.search input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 161, 27, .18)
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted)
}

.pj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px
}

.pj-table thead th {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  text-align: left;
  padding: 14px 16px;
  font-weight: 500;
  white-space: nowrap
}

.pj-table tbody tr {
  border-bottom: 1px solid var(--line-l);
  transition: background .2s
}

.pj-table tbody tr:hover {
  background: var(--paper)
}

.section--mist .pj-table tbody tr:hover {
  background: #fff
}

.pj-table td {
  padding: 16px;
  vertical-align: top
}

.pj-table .t-name {
  font-weight: 600;
  line-height: 1.45;
  min-width: 280px
}

.pj-table .t-scope {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: 6px
}

.pj-table .t-client {
  color: var(--muted);
  font-size: 14.5px;
  white-space: nowrap
}

.pj-table .t-fy {
  font-family: var(--ff-mono);
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap
}

.pj-table .t-val {
  font-family: var(--ff-mono);
  font-size: 14.5px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap
}

.pj-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--muted)
}

.pj-count {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px
}

.pj-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 80ch
}

.pj-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.is-hidden {
  display: none !important
}

.more-wrap {
  margin-top: 26px;
  display: flex;
  justify-content: center
}

/* ---------- machinery ---------- */
.mach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12)
}

.mach {
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  transition: background .25s
}

.mach:hover {
  background: var(--graphite-2)
}

.mach__n {
  font-size: 15px;
  color: #E6E9ED;
  line-height: 1.4
}

.mach__q {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap
}

.mach-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px
}

.mach-cat {
  border: 1px solid var(--line-d);
  padding: 20px;
  --bevel: 16px
}

.mach-cat b {
  display: block;
  font-family: var(--ff-display);
  font-size: 26px;
  color: var(--orange);
  line-height: 1
}

.mach-cat span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-d);
  display: block;
  margin-top: 8px
}

/* ---------- staff ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px
}

.staff-table th {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 500
}

.staff-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-l)
}

.staff-table .s-n {
  font-family: var(--ff-mono);
  font-weight: 600;
  text-align: right;
  white-space: nowrap
}

.staff-table .s-site {
  color: var(--muted);
  font-size: 13.5px
}

.staff-sum {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px
}

.staff-sum div {
  background: var(--mist);
  padding: 22px;
  --bevel: 16px
}

.staff-sum b {
  font-family: var(--ff-display);
  font-size: 32px;
  line-height: 1;
  display: block
}

.staff-sum span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 8px
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: var(--ink);
  padding: clamp(44px, 5vw, 64px) 0
}

.cta-band__in {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 38px);
  text-transform: uppercase;
  max-width: 22ch
}

.cta-band p {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 12px;
  color: rgba(16, 19, 23, .72)
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: start
}

.cinfo {
  list-style: none
}

.cinfo li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-d)
}

.cinfo li:first-child {
  padding-top: 0
}

.cinfo svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex: none;
  margin-top: 3px
}

.cinfo dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-d);
  margin-bottom: 6px
}

.cinfo dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6
}

.cinfo a:hover {
  color: var(--orange)
}

.form {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-d);
  padding: clamp(24px, 3vw, 36px);
  --bevel: 26px
}

.section--light .form {
  background: var(--mist);
  border-color: var(--line-l)
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted-d)
}

.section--light .field label {
  color: var(--muted)
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-d);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  border-radius: 0;
  transition: border-color .2s, box-shadow .2s
}

.section--light .field input,
.section--light .field textarea,
.section--light .field select {
  background: #fff;
  border-color: var(--line-l);
  color: var(--ink)
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7C8792
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 161, 27, .2)
}

.field textarea {
  resize: vertical;
  min-height: 130px
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A11B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px
}

.field select option {
  color: #111;
  background: #fff
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.err {
  display: block;
  font-size: 13px;
  color: #FF9E8A;
  margin-top: 6px;
  min-height: 0
}

.section--light .err {
  color: #C43B14
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: #FF7A55
}

.form__note {
  font-size: 13.5px;
  color: var(--muted-d);
  margin-top: 14px
}

.section--light .form__note {
  color: var(--muted)
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--orange);
  background: rgba(242, 161, 27, .12);
  font-size: 15px;
  display: none
}

.form-status.show {
  display: block
}

.map-embed {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line-d);
  margin-top: 24px;
  --bevel: 20px;
  background: var(--graphite)
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink-2);
  color: #B9C0C9;
  padding-top: clamp(52px, 6vw, 76px);
  border-top: 3px solid var(--orange)
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 3.4vw, 48px);
  padding-bottom: 46px
}

.footer h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px
}

.footer p {
  font-size: 15px;
  line-height: 1.7
}

.footer ul {
  list-style: none
}

.footer li {
  margin-bottom: 11px;
  font-size: 15px
}

.footer a {
  transition: color .2s, padding-left .2s
}

.footer a:hover {
  color: var(--orange);
  padding-left: 4px
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: #fff
}

.footer__bar {
  border-top: 1px solid var(--line-d);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: #7F8894
}

.footer__bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px
}

/* ---------- page hero (inner pages) ---------- */
.phero {
  background: var(--ink);
  color: #fff;
  padding: clamp(52px, 7vw, 86px) 0 clamp(44px, 5vw, 64px);
  position: relative;
  overflow: hidden
}

.phero__art {
  position: absolute;
  inset: 0;
  opacity: .42;
  pointer-events: none
}

.phero h1 {
  font-size: clamp(32px, 5vw, 58px);
  text-transform: uppercase;
  margin-bottom: 16px
}

.crumb {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-d);
  margin-bottom: 22px
}

.crumb a:hover {
  color: var(--orange)
}

.crumb span {
  color: var(--orange)
}

/* ---------- legal / prose ---------- */
.prose {
  max-width: 840px
}

.prose h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  text-transform: uppercase;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line-l)
}

.prose h2:first-of-type {
  margin-top: 0;
  border-top: 0;
  padding-top: 0
}

.prose h3 {
  font-size: 18px;
  margin: 26px 0 10px
}

.prose p,
.prose li {
  color: #3E464F;
  font-size: 16.5px
}

.prose ul {
  list-style: none;
  margin: 0 0 18px
}

.prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  background: var(--orange)
}

.prose .updated {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 3px solid var(--orange);
  padding: 10px 0 10px 16px;
  margin-bottom: 38px
}

.callout {
  background: var(--mist);
  border-left: 3px solid var(--orange);
  padding: 22px 24px;
  margin: 24px 0
}

.callout p {
  margin: 0
}

/* ---------- reveal animation ---------- */
.reveal {
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px)
}

.js .reveal.in {
  opacity: 1;
  transform: none
}

.reveal[data-d="1"] {
  transition-delay: .08s
}

.reveal[data-d="2"] {
  transition-delay: .16s
}

.reveal[data-d="3"] {
  transition-delay: .24s
}

.reveal[data-d="4"] {
  transition-delay: .32s
}

/* draw the alignment line in hero */
.draw {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.6s var(--ease) .3s forwards
}

@keyframes draw {
  to {
    stroke-dashoffset: 0
  }
}

/* back to top */
.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s var(--ease);
  z-index: 90
}

.totop.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

.totop:hover {
  background: var(--orange-2)
}

.totop svg {
  width: 20px;
  height: 20px
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1080px) {
  .hero__in {
    grid-template-columns: 1fr;
    padding-block: clamp(52px, 8vw, 76px)
  }

  .hero__panel {
    max-width: 560px
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .mach-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .mach-cats {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }

  .about__grid,
  .staff-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .stats__in {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat:nth-child(2) {
    border-right: 0
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid rgba(16, 19, 23, .16)
  }
}

@media (max-width:768px) {

  /* the nav plus the CTA stop fitting below this width — switch to the menu button */
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: var(--nav-top, 74px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-d);
    padding: 8px var(--gut) 22px;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .28s var(--ease)
  }

  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible
  }

  .nav a {
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line-d)
  }

  .nav a::after {
    display: none
  }

  .burger {
    display: flex
  }

  .header__cta {
    display: none
  }

  .vm {
    grid-template-columns: 1fr
  }

  .topbar__in {
    justify-content: center;
    text-align: center
  }
}

@media (max-width:720px) {
  body {
    font-size: 16.5px
  }

  .svc-grid {
    grid-template-columns: 1fr
  }

  .why-grid {
    grid-template-columns: 1fr
  }

  .mach-grid {
    grid-template-columns: 1fr
  }

  .staff-sum {
    grid-template-columns: 1fr
  }

  .field-row {
    grid-template-columns: 1fr
  }

  .footer__grid {
    grid-template-columns: 1fr
  }

  .cta-band__in {
    flex-direction: column;
    align-items: flex-start
  }

  .topbar__set--right {
    display: none
  }

  /* projects: table becomes stacked cards */
  .pj-wrap {
    overflow: visible
  }

  .pj-table thead {
    display: none
  }

  .pj-table,
  .pj-table tbody,
  .pj-table tr,
  .pj-table td {
    display: block;
    width: 100%
  }

  .pj-table tr {
    background: #fff;
    border: 1px solid var(--line-l);
    margin-bottom: 14px;
    padding: 16px
  }

  .pj-table td {
    padding: 6px 0;
    border: 0
  }

  .pj-table td[data-l]::before {
    content: attr(data-l);
    display: block;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px
  }

  .pj-table .t-name {
    min-width: 0;
    font-size: 16px
  }

  .pj-table .t-val {
    text-align: left;
    font-size: 16px
  }

  .staff-table .s-site {
    font-size: 13px
  }

  .staff-table th,
  .staff-table td {
    padding: 10px 8px
  }
}

@media print {

  .header,
  .topbar,
  .totop,
  .burger,
  .form,
  .pj-tools {
    display: none
  }

  body {
    color: #000;
    background: #fff
  }

  .section {
    padding: 18px 0
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  .js .reveal {
    opacity: 1;
    transform: none
  }

  .draw {
    stroke-dashoffset: 0
  }
}

/* ============================================================
   Verification / trust components
   ============================================================ */

/* trust strip under the hero */
.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line-l)
}

.trust__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-l)
}

.trust__i {
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 28px)
}

.trust__i svg {
  width: 24px;
  height: 24px;
  color: var(--orange-deep);
  margin-bottom: 14px
}

.trust__i b {
  display: block;
  font-family: var(--ff-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 6px
}

.trust__i span {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55
}

/* page hero lede */
.phero__lede {
  font-size: clamp(16.5px, 1.35vw, 19px);
  color: #C6CCD4;
  max-width: 66ch;
  margin: 0
}

/* policy cross-navigation */
.policy-nav {
  border: 1px solid var(--line-l);
  padding: 20px 22px;
  margin: 0 0 40px;
  background: var(--mist)
}

.policy-nav__k {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px
}

.policy-nav__set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.policy-nav__item {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 7px 13px;
  border: 1px solid var(--line-l);
  background: #fff;
  color: var(--muted);
  transition: .2s
}

a.policy-nav__item:hover {
  border-color: var(--ink);
  color: var(--ink)
}

.policy-nav__item.is-current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

/* definition table used on the business-information page */
.dtable {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px
}

.dtable th,
.dtable td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-l);
  vertical-align: top;
  font-size: 16px
}

.dtable th {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  width: 34%;
  font-weight: 500
}

.dtable tr:first-child th,
.dtable tr:first-child td {
  border-top: 1px solid var(--line-l)
}

/* notice box */
.notice {
  border-left: 3px solid var(--orange);
  background: var(--mist);
  padding: 20px 24px;
  margin: 26px 0
}

.notice h3 {
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 8px
}

.notice p {
  margin: 0;
  font-size: 15.5px;
  color: #3E464F
}

.notice--plain {
  border-left-color: #9AA3AE
}

/* support channel cards */
.chan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  margin-bottom: 40px
}

.chan__c {
  border: 1px solid var(--line-l);
  padding: clamp(22px, 2.6vw, 30px);
  --bevel: 20px;
  background: var(--paper)
}

.chan__c svg {
  width: 26px;
  height: 26px;
  color: var(--orange-deep);
  margin-bottom: 16px
}

.chan__c h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px
}

.chan__c p {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 12px
}

.chan__c a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px
}

.chan__c a:hover {
  color: var(--orange-deep)
}

/* service detail blocks */
.sdetail {
  border-top: 2px solid var(--ink);
  padding: 34px 0 40px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(24px, 4vw, 56px)
}

.sdetail:last-of-type {
  border-bottom: 2px solid var(--ink)
}

.sdetail__k {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 12px
}

.sdetail h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
  line-height: 1.06
}

.sdetail p {
  color: #3E464F
}

.sdetail ul {
  list-style: none;
  margin: 16px 0 0
}

.sdetail li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 16px;
  color: #3E464F
}

.sdetail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  background: var(--orange)
}

/* footer additions */
.footer address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px
}

.footer__contact {
  font-size: 15px;
  margin-bottom: 14px
}

.footer__cur {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: #8A93A0
}

.footer__support {
  font-weight: 600;
  color: var(--orange)
}

.footer__support:hover {
  color: var(--orange-2)
}

.footer__bar nav {
  max-width: none
}

@media (max-width:1080px) {
  .trust__in {
    grid-template-columns: repeat(2, 1fr)
  }

  .chan {
    grid-template-columns: 1fr
  }

  .sdetail {
    grid-template-columns: 1fr;
    gap: 14px
  }
}

@media (max-width:720px) {
  .trust__in {
    grid-template-columns: 1fr
  }

  .dtable th,
  .dtable td {
    display: block;
    width: 100%;
    border-bottom: 0;
    padding: 4px 0
  }

  .dtable td {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-l)
  }

  .dtable tr:first-child th {
    border-top: 0
  }

  .policy-nav__set {
    flex-direction: column
  }

  .policy-nav__item {
    text-align: center
  }
}

/* policy tab panel visibility */
.tab-panel {
  display: none
}

.tab-panel.is-active {
  display: block
}

/* smooth highlight and tab button styles */
button.policy-nav__item {
  cursor: pointer;
  font-family: inherit
}

.about__grid>*,
.contact-grid>*,
.staff-grid>*,
.sdetail>*,
.footer__grid>* {
  min-width: 0
}

.prose,
.prose p,
.prose li,
.footer,
.cinfo dd,
.dtable td {
  overflow-wrap: break-word
}

/* the factsheet's two-column rows stop fitting on the narrowest phones */
@media (max-width:560px) {

  /* nowrap keeps buttons tidy on desktop but pushes them past a narrow phone */
  .btn {
    white-space: normal;
    text-align: left
  }

  .factsheet .row {
    grid-template-columns: 1fr;
    gap: 4px
  }

  .factsheet dt {
    white-space: normal
  }

  .factsheet dd {
    text-align: left
  }
}

/* very narrow phones (≤360px): a single long word like INFRASTRUCTURE
   is wider than the viewport at the display size used above */
@media (max-width:400px) {
  .h-xl {
    font-size: clamp(26px, 8vw, 78px)
  }

  .staff-table {
    display: block;
    overflow-x: auto
  }

  .hero__glow {
    right: -40%
  }

  .pj-table tr {
    padding: 14px
  }

  .pj-table .t-name {
    overflow-wrap: break-word
  }
}