/* ==========================================================================
   ENIWAYS LIMITED — Master stylesheet
   Industrial editorial system. Fraunces + Instrument Sans.
   ========================================================================== */

/* -------- Tokens -------------------------------------------------------- */
:root {
  --bone: #F4F1EC;
  --bone-2: #EDE8DE;
  --paper: #FFFFFF;
  --asphalt: #0E0E0C;
  --ink: #1A1A17;
  --concrete: #8A847B;
  --concrete-light: #B8B1A6;
  --rule: #D9D3C7;
  --amber: #DD5F1F;
  --amber-deep: #B84C18;
  --forest: #1F2F2D;
  --rust: #7A2E0E;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --gap: clamp(16px, 2vw, 32px);

  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* -------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bone);
  color: var(--asphalt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grain overlay across whole site */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* -------- Typography ---------------------------------------------------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.025em;
  line-height: .95;
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--amber);
}
.label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--concrete);
}
.label--amber { color: var(--amber); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}

h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }

/* -------- Layout primitives -------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }
.section--dark { background: var(--asphalt); color: var(--bone); }
.section--paper { background: var(--paper); }
.section--bone-2 { background: var(--bone-2); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section--dark .rule { background: rgba(255,255,255,.12); }

/* -------- Top bar ------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--rule);
  isolation: isolate; /* contain ::before stacking context */
}
/* Glassy backdrop on a pseudo-element so the topbar itself isn't a
   containing block for position:fixed descendants (otherwise the mobile
   nav can't escape to viewport coords). */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 241, 236, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
          backdrop-filter: blur(12px) saturate(120%);
  z-index: -1;
}
.topbar__inner {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.brand {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.brand__logo {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity .2s var(--ease);
}
.brand:hover .brand__logo { opacity: .75; }
@media (max-width: 480px) {
  .brand__logo { height: 32px; }
}

.nav {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 38px);
}
.nav a {
  font-size: 14px; font-weight: 500;
  position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1px; background: var(--amber);
  transition: right .35s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--asphalt); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--asphalt);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__cta:hover { background: var(--asphalt); color: var(--bone); }
.nav__cta::after { display: none; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--asphalt);
  border-radius: 999px;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--asphalt);
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 24px; }
.menu-btn.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 72px 0 0 0;
    background: var(--bone);
    padding: 40px var(--pad);
    align-items: flex-start;
    gap: 28px;
    z-index: 99;
  }
  .nav.is-open a { font-size: 28px; font-family: var(--display); letter-spacing: -.02em; }
  .nav.is-open .nav__cta { font-family: var(--sans); font-size: 14px; }
  .menu-btn { display: block; }
}

/* -------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
}

.hero__lede {
  position: relative;
  min-width: 0;
}
.hero__lede .label { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 32px;
  overflow-wrap: break-word;
  hyphens: none;
}
.hero__title em {
  display: inline;
}
.hero__lede p {
  font-size: clamp(17px, 1.4vw, 21px);
  max-width: 52ch;
  color: var(--ink);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 36px;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--asphalt); color: var(--bone); }
.btn--primary:hover { background: var(--amber); }
.btn--ghost { background: transparent; color: var(--asphalt); border-color: var(--asphalt); }
.btn--ghost:hover { background: var(--asphalt); color: var(--bone); }
.btn__arrow {
  width: 18px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'><path d='M0 6h16M11 1l5 5-5 5' stroke='black' fill='none' stroke-width='1.6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'><path d='M0 6h16M11 1l5 5-5 5' stroke='black' fill='none' stroke-width='1.6'/></svg>") center/contain no-repeat;
}

/* Right side: technical illustration block */
.hero__plate {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(14,14,12,.25);
}
.hero__plate svg { width: 100%; height: 100%; display: block; }
.hero__plate__corner {
  position: absolute; top: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--concrete);
}
.hero__plate__corner strong { color: var(--asphalt); font-weight: 500; }
.hero__plate__stamp {
  position: absolute; bottom: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--concrete);
  text-align: right;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--rule);
  background: var(--bone);
  padding: 18px 0;
  overflow: hidden;
  display: flex;
  gap: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 56px;
  animation: scroll 38s linear infinite;
  flex-shrink: 0;
}
.marquee span {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after {
  content: "✦";
  font-style: normal;
  color: var(--amber);
  font-size: 14px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- Section heading layouts -------------------------------------- */
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
@media (max-width: 880px) {
  .section__head { grid-template-columns: 1fr; }
}
.section__title {
  font-size: clamp(40px, 6vw, 96px);
  line-height: .95;
  letter-spacing: -.03em;
}
.section__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink);
  max-width: 56ch;
}
.section__lede p:last-child { margin-bottom: 0; }

/* -------- Capabilities grid -------------------------------------------- */
.caps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.caps__cell {
  grid-column: span 6;
  padding: clamp(28px, 3vw, 56px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  background: var(--bone);
  transition: background .3s var(--ease);
  display: flex; flex-direction: column; min-height: 320px;
}
.caps__cell:hover { background: var(--bone-2); }
.caps__cell--wide { grid-column: span 6; }
@media (min-width: 980px) {
  .caps__cell { grid-column: span 4; }
}
@media (max-width: 720px) {
  .caps__cell { grid-column: span 12; min-height: auto; }
}
.caps__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--concrete);
  letter-spacing: .12em;
}
.caps__title {
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 18px 0 16px;
  font-weight: 500;
}
.caps__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--amber);
}
.caps__body {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 24px;
}
.caps__list {
  list-style: none; padding: 0; margin: 0 0 24px;
  font-size: 13.5px;
  color: var(--ink);
}
.caps__list li {
  padding: 8px 0;
  border-top: 1px dashed var(--rule);
  display: flex; align-items: center; gap: 10px;
}
.caps__list li::before {
  content: ""; width: 6px; height: 6px;
  background: var(--amber);
  flex-shrink: 0;
}
.caps__icon {
  margin-top: auto;
  align-self: flex-end;
  width: 56px; height: 56px;
  color: var(--asphalt);
}

/* -------- Stat bar ----------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: clamp(28px, 3.5vw, 56px) clamp(20px, 2vw, 32px);
  border-right: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.stat:last-child { border-right: 0; }
@media (max-width: 880px) {
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--bone);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
}
.stat__num em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--amber);
}
.stat__label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--concrete-light);
  margin-top: 14px;
}

/* -------- Project preview ---------------------------------------------- */
.proj {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  padding: clamp(40px, 5vw, 80px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.proj:last-child { border-bottom: 0; }
.proj--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); direction: rtl; }
.proj--reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .proj, .proj--reverse { grid-template-columns: 1fr; }
}
.proj__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.proj__media svg { width: 100%; height: 100%; }
.proj__num {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 11px;
  color: var(--concrete);
  letter-spacing: .1em;
}
.proj__tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px;
  background: var(--amber); color: var(--bone);
  font-size: 10px; letter-spacing: .14em;
  font-weight: 700; text-transform: uppercase;
}
.proj__body .label { margin-bottom: 20px; }
.proj__title {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  font-weight: 500;
}
.proj__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.proj__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proj__meta dt {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 4px;
}
.proj__meta dd {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.015em;
  font-weight: 500;
}

/* -------- Compliance strip --------------------------------------------- */
.compliance {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--rule);
  background: var(--paper);
}
@media (max-width: 880px) {
  .compliance { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .compliance { grid-template-columns: repeat(2, 1fr); }
}
.compliance__item {
  padding: 28px 20px;
  border-right: 1px solid var(--rule);
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--concrete);
}
.compliance__item:last-child { border-right: 0; }
.compliance__item strong {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 22px;
  font-weight: 500;
  color: var(--asphalt);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}

/* -------- Leadership preview ------------------------------------------- */
.leaders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 880px) { .leaders { grid-template-columns: 1fr; } }
.leader {
  padding: clamp(28px, 3vw, 48px);
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.leader__name {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  color: var(--bone);
}
.leader__role {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
}
.leader__creds {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--concrete-light);
  line-height: 1.7;
}
.leader__creds span { display: block; }

/* -------- CTA banner --------------------------------------------------- */
.cta {
  background: var(--asphalt);
  color: var(--bone);
  padding: clamp(64px, 8vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 880px) {
  .cta__inner { grid-template-columns: 1fr; }
}
.cta__title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 96px);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--bone);
  font-weight: 500;
}
.cta__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--amber);
}
.cta__side .label { color: var(--concrete-light); margin-bottom: 12px; }
.cta__side a {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: -.015em;
  transition: color .2s var(--ease);
}
.cta__side a:hover { color: var(--amber); }
.cta__side address {
  font-style: normal;
  color: var(--concrete-light);
  font-size: 14px;
  line-height: 1.7;
}

/* -------- Footer ------------------------------------------------------- */
.foot {
  background: var(--asphalt);
  color: var(--concrete-light);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__top > div:first-child { grid-column: span 2; }
}
.foot__brand {
  font-family: var(--display);
  font-size: 32px;
  color: var(--bone);
  letter-spacing: -.02em;
  font-weight: 500;
}
.foot__brand em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--amber);
}
.foot__tag {
  font-size: 14px;
  margin-top: 18px;
  max-width: 36ch;
}
.foot h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 18px;
  font-weight: 600;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 10px; font-size: 14px; }
.foot li a { transition: color .2s var(--ease); }
.foot li a:hover { color: var(--amber); }
.foot__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--concrete);
  flex-wrap: wrap;
  gap: 14px;
}

/* -------- Page header (interior pages) -------------------------------- */
.page-head {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
}
.page-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
}
@media (max-width: 880px) { .page-head__row { grid-template-columns: 1fr; } }
.page-head__title {
  font-size: clamp(52px, 8vw, 144px);
  line-height: .9;
  letter-spacing: -.035em;
}
.page-head__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--concrete);
  text-transform: uppercase;
}
.page-head__meta strong { display: block; color: var(--asphalt); font-weight: 500; margin-bottom: 4px; }
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 24px;
}
.crumbs a { color: var(--concrete); transition: color .2s; }
.crumbs a:hover { color: var(--asphalt); }
.crumbs span { color: var(--asphalt); }

/* -------- Service deep block ------------------------------------------ */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 80px);
  padding: clamp(60px, 7vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
@media (max-width: 880px) { .service-block { grid-template-columns: 1fr; } }
.service-block__num {
  font-family: var(--display);
  font-size: clamp(80px, 12vw, 200px);
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--amber);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-style: italic;
  margin-bottom: 28px;
}
.service-block__title {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: .95;
  letter-spacing: -.025em;
  margin-bottom: 24px;
  font-weight: 500;
}
.service-block__body {
  font-size: 17px;
  max-width: 60ch;
  color: var(--ink);
}
.service-block__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 600px) { .service-block__cols { grid-template-columns: 1fr; } }
.service-block__cols h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--amber);
}
.service-block__cols ul { list-style: none; padding: 0; margin: 0; }
.service-block__cols li {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

/* -------- Project tile ------------------------------------------------- */
.projgrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.projtile {
  grid-column: span 6;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  display: flex; flex-direction: column;
}
.projtile:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(14,14,12,.18);
}
@media (max-width: 880px) { .projtile { grid-column: span 12; } }
.projtile--lg { grid-column: span 12; }
.projtile__media {
  aspect-ratio: 5 / 3;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.projtile__media svg { width: 100%; height: 100%; }
.projtile__body {
  padding: 28px;
  display: flex; flex-direction: column;
  flex: 1;
}
.projtile__cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--amber); text-transform: uppercase;
  margin-bottom: 12px;
}
.projtile__title {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 500;
  margin-bottom: 12px;
}
.projtile__desc {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 20px;
  flex: 1;
}
.projtile__foot {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em;
  color: var(--concrete);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* -------- Equipment table ---------------------------------------------- */
.equip {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.equip th, .equip td {
  text-align: left;
  padding: 18px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.equip th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--concrete);
  font-weight: 500;
  border-bottom-color: var(--asphalt);
}
.equip tr:hover td { background: var(--bone-2); }
.equip__qty {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -.01em;
}
.equip__name {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.01em;
  font-weight: 500;
}
.equip__status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--bone-2);
  color: var(--asphalt);
  font-weight: 500;
}
.equip__status--new { background: var(--amber); color: var(--bone); }
.equip__status--good { background: var(--forest); color: var(--bone); }

/* -------- Contact form ------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 48px);
}
.contact-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.contact-card dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: 16px 28px;
  margin: 0;
}
.contact-card dt {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--concrete);
  padding-top: 4px;
}
.contact-card dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.contact-card dd a { transition: color .2s; }
.contact-card dd a:hover { color: var(--amber); }

.form {
  display: grid;
  gap: 24px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--concrete);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  color: var(--asphalt);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--asphalt);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) { .field--row { grid-template-columns: 1fr; } }
.form__msg {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--forest);
  display: none;
  padding: 14px 16px;
  background: rgba(31,47,45,.08);
  border-left: 3px solid var(--forest);
}
.form__msg.is-on { display: block; }

/* -------- Reveal animation -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* -------- Misc ---------------------------------------------------------- */
::selection { background: var(--amber); color: var(--bone); }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
