@charset "utf-8";
/* ==========================================================================
   MIKRAS CONTRACTING & GENERAL MAINTENANCE CO. LLC
   "Site at dusk" — the palette is sampled from the hero photograph: midnight
   blue-black sky, sodium-orange site light, poured concrete. One typeface at
   two width extremes, one mono for data, one loud colour.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Concrete — the page. Cool grey-white, the colour of a poured slab. */
  --night-950: #f4f3f0;   /* page              */
  --night-900: #ecebe6;   /* alternating bay   */
  --night-850: #e3e1da;   /* raised surface    */
  --night-800: #d9d6ce;
  --night-700: #c6c2b8;
  --night-600: #9aa0a6;
  --concrete:   #fbfbfa;  /* the lighter bay   */
  --concrete-2: #efeee9;
  --concrete-3: #dedbd3;

  /* Hi-vis — the single loud colour, straight off a site vest */
  --hivis:      #ff6a00;
  --hivis-lit:  #d55600;  /* the accent at a weight that reads on light */
  --hivis-soft: #ff9a3d;
  --hivis-deep: #b34700;
  --caution:    #ffc300;

  /* Ink */
  --ink:    #14181c;
  --ink-2:  #4a5158;
  --ink-3:  #7b8288;
  --on-night:   #14181c;
  --on-night-2: #4a5158;
  --on-night-3: #7b8288;

  --rule-light: rgba(20, 24, 28, .13);
  --rule-dark:  rgba(20, 24, 28, .13);

  /* Type */
  --display: "Archivo", "Arial Narrow", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(18px, 4vw, 60px);
  --measure: 1360px;
  --bay: clamp(78px, 9vw, 144px);

  --ease: cubic-bezier(.22, .68, .3, 1);
  --tick: .26s var(--ease);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--night-950);
  color: var(--on-night);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.62;
  font-variation-settings: "wdth" 100, "wght" 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { display: block; }
svg:not(.u-sprite) { width: 18px; height: 18px; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--hivis); outline-offset: 3px; }
::selection { background: var(--hivis); color: #fff; }

.u-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.u-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; background: var(--hivis); color: #fff;
  font: 600 .8rem/1 var(--mono); letter-spacing: .08em; transition: top var(--tick);
}
.u-skip:focus { top: 12px; }
.u-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. TYPE
   -------------------------------------------------------------------------- */
.t-mono {
  font-family: var(--mono); font-size: .688rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
}
.t-display {
  font-variation-settings: "wdth" 112, "wght" 800;
  font-size: clamp(2.6rem, 8.4vw, 6.6rem);
  line-height: .88; letter-spacing: -.028em; text-transform: uppercase;
}
@media (max-width: 620px) {
  .t-display { font-variation-settings: "wdth" 82, "wght" 800; font-size: clamp(2.1rem, 9.4vw, 3.2rem); letter-spacing: -.012em; }
}
.t-head {
  font-variation-settings: "wdth" 68, "wght" 800;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  line-height: .96; letter-spacing: .008em; text-transform: uppercase;
}
.t-lede {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.6; max-width: 60ch; color: var(--on-night-2);
}

/* --------------------------------------------------------------------------
   4. BAYS
   -------------------------------------------------------------------------- */
.shell { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.bay { padding-block: var(--bay); position: relative; }
.bay--night    { background: var(--night-950); color: var(--on-night); }
.bay--night-2  { background: var(--night-900); color: var(--on-night); }
.bay--concrete { background: var(--concrete); color: var(--ink); }
.bay--concrete .t-lede { color: var(--ink-2); }
.bay > .shell { position: relative; z-index: 1; }


.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--caution) 0 13px, var(--ink) 13px 26px);
}

/* --------------------------------------------------------------------------
   5. MASTHEAD
   -------------------------------------------------------------------------- */
.masthead {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  transition: background var(--tick), border-color var(--tick), backdrop-filter var(--tick);
  border-bottom: 1px solid transparent;
}
.masthead[data-stuck="true"] {
  background: color-mix(in srgb, var(--night-950) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--rule-dark);
}
.masthead__in {
  max-width: var(--measure); margin-inline: auto;
  padding: 13px var(--gutter);
  display: flex; align-items: center; gap: 18px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 34px; height: 34px; flex: none; background: var(--hivis);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.brand__mark::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.3) 0 4px, transparent 4px 8px);
}
.brand__mark::after {
  content: "M"; position: relative;
  font-variation-settings: "wdth" 68, "wght" 900;
  font-size: 1.22rem; color: #fff; line-height: 1;
}
.brand__name {
  font-variation-settings: "wdth" 70, "wght" 800;
  font-size: 1.36rem; letter-spacing: .06em; line-height: 1;
  text-transform: uppercase; color: currentColor;
}
.brand__tag {
  display: block; font-family: var(--mono); font-size: .5rem;
  letter-spacing: .18em; color: var(--on-night-3);
  text-transform: uppercase; margin-top: 4px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.7vw, 26px); }
.nav__link {
  font-family: var(--mono); font-size: .688rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--on-night-2); padding: 7px 0; position: relative;
  transition: color var(--tick);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background: var(--hivis); transition: width var(--tick);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--on-night); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { width: 100%; }
@media (max-width: 1079px) { .nav { display: none; } }

.masthead__cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 11px 19px; background: var(--hivis); color: #fff;
  font-family: var(--mono); font-size: .688rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background var(--tick);
}
.masthead__cta svg { width: 14px; height: 14px; }
.masthead__cta:hover { background: var(--hivis-deep); }
@media (max-width: 719px) { .masthead__cta { display: none; } }

.burger { display: none; width: 42px; height: 42px; flex: none; border: 1px solid var(--rule-dark); position: relative; }
.burger span {
  position: absolute; left: 12px; width: 18px; height: 2px; background: var(--on-night);
  transition: transform var(--tick), opacity var(--tick);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1079px) { .burger { display: block; margin-left: auto; } }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--night-900); color: var(--on-night);
  padding: 84px var(--gutter) 40px;
  display: flex; flex-direction: column; overflow-y: auto;
  translate: 0 -100%; visibility: hidden;
  transition: translate .4s var(--ease), visibility 0s linear .4s;
}
.drawer[data-open="true"] { translate: 0 0; visibility: visible; transition: translate .4s var(--ease), visibility 0s linear 0s; }
.drawer__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--rule-dark);
  font-variation-settings: "wdth" 72, "wght" 800;
  font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em;
}
.drawer__link span { font-family: var(--mono); font-size: .625rem; font-variation-settings: normal; letter-spacing: .12em; color: var(--hivis); }
.drawer__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 7px; }
.drawer__foot a { font-family: var(--mono); font-size: .813rem; color: var(--on-night-2); }
.drawer__close {
  position: absolute; top: 21px; right: var(--gutter);
  width: 42px; height: 42px; border: 1px solid var(--rule-dark);
  color: var(--on-night); display: grid; place-items: center;
}

/* --------------------------------------------------------------------------
   6. HERO — the parallax scene
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--night-950);
  isolation: isolate;
}

.scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Two depth planes cut from one photograph: the skyline and cranes behind,
   the working deck in front. Both are transparent PNG-style cut-outs, so the
   page colour IS the sky. */
.plane {
  position: absolute; left: -6%; right: -6%;
  will-change: transform; backface-visibility: hidden;
}
.plane img { width: 100%; height: 100%; object-fit: cover; }

/* One plane. The photograph is a single continuous structure, so moving parts
   of it at different rates would visibly shear the concrete; depth comes from
   the whole plate lagging the scroll instead. */
.plane--site { bottom: -2%; height: 84%; }
.plane--site img { object-position: center 34%; }

@media (max-width: 900px) {
  .plane { left: -14%; right: -14%; }
  .plane--site { bottom: -2%; height: 56%; }
}

/* Atmosphere: a warm glow at the horizon and a deep vignette at the edges */
/* No sky image ships: the page background IS the sky, and this glow supplies
   the dusk atmosphere the cut-out layers sit in. */
.scene__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg,
      var(--night-950) 0%,
      color-mix(in srgb, var(--night-950) 62%, transparent) 12%,
      transparent 34%),
    linear-gradient(90deg,
      var(--night-950) 0%,
      color-mix(in srgb, var(--night-950) 80%, transparent) 28%,
      color-mix(in srgb, var(--night-950) 24%, transparent) 54%,
      transparent 72%),
    linear-gradient(0deg, var(--night-950) 0%, transparent 10%);
}

/* Narrow screens put the copy straight over the photograph, so the reading
   scrim has to run top-to-bottom rather than left-to-right. */
@media (max-width: 900px) {
  .scene__glow {
    background:
      linear-gradient(180deg,
        var(--night-950) 0%,
        color-mix(in srgb, var(--night-950) 92%, transparent) 46%,
        color-mix(in srgb, var(--night-950) 62%, transparent) 62%,
        transparent 84%),
      linear-gradient(0deg, var(--night-950) 0%, transparent 14%);
  }
}

.hero__in {
  position: relative; z-index: 2;
  padding-top: max(clamp(112px, 15vh, 190px), 132px);
  max-width: var(--measure); margin-inline: auto; width: 100%;
  padding: clamp(96px, 11vh, 140px) var(--gutter) clamp(24px, 4vh, 48px);
  align-self: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-2); margin-bottom: 22px;
  background: color-mix(in srgb, var(--night-950) 76%, transparent);
  padding: 8px 14px 8px 12px;
  border-left: 2px solid var(--hivis);
  backdrop-filter: blur(3px);
}

.hero__title { color: var(--ink); }
.hero__title > span { display: block; overflow: hidden; }
.hero__title > span > b {
  display: block; font-weight: inherit;
  translate: 0 104%; animation: castUp .85s var(--ease) forwards;
}
.hero__title > span:nth-child(1) > b { animation-delay: .12s; }
.hero__title > span:nth-child(2) > b { animation-delay: .22s; }
.hero__title > span:nth-child(3) > b { animation-delay: .32s; }
.hero__stop { color: var(--hivis); }
@keyframes castUp { to { translate: 0 0; } }

.hero__lede {
  color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.6; max-width: 46ch; margin-top: 26px;
  opacity: 0; animation: fadeIn .8s var(--ease) .55s forwards;
}
.hero__lede strong { color: var(--ink); font-variation-settings: "wdth" 100, "wght" 650; }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px;
  opacity: 0; animation: fadeIn .8s var(--ease) .68s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* Facts sit on the hero's bottom edge */
.facts {
  position: relative; z-index: 2;
  border-top: 1px solid var(--rule-dark);
  background: color-mix(in srgb, var(--night-950) 82%, transparent);
  backdrop-filter: blur(10px);
}
.facts__in {
  max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 719px) { .facts__in { grid-template-columns: repeat(2, 1fr); } }
.fact { padding: 20px 18px; border-left: 1px solid var(--rule-dark); }
.fact:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 719px) {
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--rule-dark); }
  .fact:nth-child(odd) { padding-left: 0; }
}
.fact__n {
  display: block; font-variation-settings: "wdth" 86, "wght" 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1;
  letter-spacing: -.015em; color: var(--hivis-lit);
}
.fact__l {
  display: block; font-family: var(--mono); font-size: .625rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-night-3); margin-top: 8px;
}

/* --------------------------------------------------------------------------
   7. CLIENT MARQUEE
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--night-900);
  border-block: 1px solid var(--rule-dark);
  padding-block: 20px; overflow: hidden;
  display: flex; align-items: center; gap: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row { display: flex; align-items: center; flex: none; animation: slide 46s linear infinite; }
.ticker:hover .ticker__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.ticker__item {
  display: inline-flex; align-items: center; gap: 22px;
  padding-inline: 22px; flex: none;
  font-variation-settings: "wdth" 74, "wght" 800;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--on-night-2); white-space: nowrap;
}
.ticker__item::after { content: ""; width: 6px; height: 6px; background: var(--hivis); flex: none; }

/* --------------------------------------------------------------------------
   8. PANEL + BUTTONS
   -------------------------------------------------------------------------- */
.panel {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: stretch; margin-bottom: 34px; border: 1px solid var(--rule-dark);
}
.bay--concrete .panel { border-color: var(--rule-light); }
.panel__no {
  display: grid; place-items: center; padding: 11px 16px;
  background: var(--hivis); color: #fff;
  font-family: var(--mono); font-size: .688rem; font-weight: 600; letter-spacing: .1em;
}
.panel__name {
  display: flex; align-items: center; padding: 11px 16px;
  font-family: var(--mono); font-size: .688rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
}
.panel__meta {
  display: grid; place-items: center; padding: 11px 16px;
  border-left: 1px solid var(--rule-dark);
  font-family: var(--mono); font-size: .625rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-night-3); white-space: nowrap;
}
.bay--concrete .panel__meta { border-left-color: var(--rule-light); color: var(--ink-3); }
@media (max-width: 639px) {
  .panel { grid-template-columns: auto 1fr; }
  .panel__meta { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule-dark); place-items: center start; }
  .bay--concrete .panel__meta { border-top-color: var(--rule-light); }
}
.bay__head { margin-bottom: 46px; max-width: 74ch; }
.bay__head .t-head { margin-bottom: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px;
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--tick), color var(--tick), border-color var(--tick);
}
.btn svg { width: 15px; height: 15px; }
.btn--solid { background: var(--hivis); color: #fff; }
.btn--solid:hover { background: var(--hivis-deep); }
.btn--line { border-color: rgba(20,24,28,.26); color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--night-950); }
.bay--concrete .btn--line { border-color: var(--rule-light); color: var(--ink); backdrop-filter: none; }
.bay--concrete .btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--concrete); }

/* --------------------------------------------------------------------------
   9. COMPANY
   -------------------------------------------------------------------------- */
.overview {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4.5vw, 66px); align-items: start;
}
@media (max-width: 899px) { .overview { grid-template-columns: 1fr; } }
.overview__body > * + * { margin-top: 18px; }
.overview__body p { color: var(--ink-2); line-height: 1.72; }
.overview__quote {
  font-variation-settings: "wdth" 88, "wght" 500;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.55;
  color: var(--ink); border-left: 3px solid var(--hivis); padding-left: 20px;
}
.pledge { border: 1px solid var(--rule-light); background: #fff; }
.pledge__row { padding: 20px 22px; border-bottom: 1px solid var(--rule-light); }
.pledge__row:last-child { border-bottom: 0; }
.pledge__k {
  display: block; font-family: var(--mono); font-size: .625rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--hivis-deep); margin-bottom: 8px;
}
.pledge__v { color: var(--ink-2); font-size: .938rem; line-height: 1.6; }

.values { margin-top: 46px; border-top: 1px solid var(--rule-light); }
.values__row {
  display: grid; grid-template-columns: 48px minmax(0, 230px) minmax(0, 1fr);
  gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule-light);
}
@media (max-width: 699px) {
  .values__row { grid-template-columns: 34px 1fr; gap: 10px; }
  .values__row .values__d { grid-column: 2; }
}
.values__i { font-family: var(--mono); font-size: .625rem; color: var(--hivis-deep); }
.values__t { font-variation-settings: "wdth" 76, "wght" 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; }
.values__d { color: var(--ink-2); font-size: .938rem; }

/* --------------------------------------------------------------------------
   10. SERVICES — each row reveals a matching site photograph
   -------------------------------------------------------------------------- */
.scope { border-top: 1px solid var(--rule-dark); position: relative; }
.scope__item {
  display: grid; grid-template-columns: 66px minmax(0, 300px) minmax(0, 1fr) 34px;
  gap: clamp(12px, 2.2vw, 30px); align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--rule-dark);
  position: relative; transition: background var(--tick);
}
.scope__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--hivis); transition: width var(--tick);
}
.scope__item:hover { background: #fff; }
.scope__item:hover::before { width: 3px; }
.scope__no { font-family: var(--mono); font-size: .688rem; color: var(--on-night-3); transition: color var(--tick); }
.scope__item:hover .scope__no { color: var(--hivis); }
.scope__t {
  font-variation-settings: "wdth" 74, "wght" 800;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  text-transform: uppercase; letter-spacing: .015em; line-height: 1.08;
}
.scope__d { color: var(--on-night-2); font-size: .938rem; line-height: 1.6; }
.scope__arrow {
  justify-self: end; color: var(--night-600); translate: -6px 0; opacity: 0;
  transition: opacity var(--tick), translate var(--tick), color var(--tick);
}
.scope__item:hover .scope__arrow { opacity: 1; translate: 0 0; color: var(--hivis); }

/* Floating preview that follows the pointer across the service list */
.peek {
  position: absolute; z-index: 5; width: 300px; aspect-ratio: 4 / 3;
  pointer-events: none; overflow: hidden;
  border: 1px solid var(--rule-dark);
  box-shadow: 0 20px 44px rgba(20, 24, 28, .22), 0 3px 10px rgba(20, 24, 28, .10);
  opacity: 0; scale: .94; translate: 0 0;
  transition: opacity .22s var(--ease), scale .22s var(--ease);
}
.peek[data-on="true"] { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
@media (max-width: 1023px), (pointer: coarse) { .peek { display: none; } }

@media (max-width: 819px) {
  .scope__item { grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 22px 0 22px 12px; }
  .scope__d { grid-column: 2; margin-top: 6px; }
  .scope__arrow { display: none; }
}

/* --------------------------------------------------------------------------
   11. WHY
   -------------------------------------------------------------------------- */
.why {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  border-top: 1px solid var(--rule-light); border-left: 1px solid var(--rule-light);
}
.why__cell {
  padding: 26px 22px 30px;
  border-right: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light);
  position: relative; transition: background var(--tick);
}
.why__cell:hover { background: #fff; }
.why__cell::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--hivis); scale: 0 1; transform-origin: 0 50%; transition: scale var(--tick);
}
.why__cell:hover::before { scale: 1 1; }
.why__t { font-variation-settings: "wdth" 76, "wght" 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.why__d { color: var(--ink-2); font-size: .875rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. CLIENTS
   -------------------------------------------------------------------------- */
.clients {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark); border-left: 1px solid var(--rule-dark);
}
@media (max-width: 1023px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px)  { .clients { grid-template-columns: 1fr; } }
.client {
  padding: 26px 20px; min-height: 128px;
  border-right: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  transition: background var(--tick);
}
.client:hover { background: #fff; }
.client__n { font-variation-settings: "wdth" 76, "wght" 800; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.client__r { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-3); line-height: 1.6; }

.subs { margin-top: 44px; }
.subs__k { font-family: var(--mono); font-size: .625rem; letter-spacing: .15em; text-transform: uppercase; color: var(--hivis); margin-bottom: 16px; }
.subs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.subs__item { padding: 9px 15px; border: 1px solid var(--rule-dark); font-family: var(--mono); font-size: .688rem; color: var(--on-night-2); letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   13. REGISTER
   -------------------------------------------------------------------------- */
.bars { margin-bottom: 44px; }
.bars__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 46px; gap: 16px; align-items: center; padding: 7px 0; }
.bars__yr { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.bars__track { display: block; height: 22px; background: rgba(20,24,28,.08); position: relative; }
.bars__fill { display: block; height: 100%; width: 0; background: var(--hivis); transition: width .9s var(--ease); }
.bars__fill[data-grown="true"] { width: var(--w); }
.bars__n { font-family: var(--mono); font-size: .813rem; font-weight: 600; color: var(--ink); text-align: right; }
.bars__note { font-family: var(--mono); font-size: .625rem; line-height: 1.7; letter-spacing: .04em; color: var(--ink-3); margin-top: 14px; max-width: 68ch; }

.reg__tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.reg__search { position: relative; flex: 1 1 250px; max-width: 370px; }
.reg__search svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 15px; height: 15px; color: var(--ink-3); pointer-events: none; }
.reg__search input {
  width: 100%; padding: 12px 13px 12px 36px;
  background: #fff; border: 1px solid var(--rule-light);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
}
.reg__search input::placeholder { color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.reg__search input:focus { border-color: var(--ink); outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 9px 14px; border: 1px solid var(--rule-light);
  font-family: var(--mono); font-size: .688rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
  transition: background var(--tick), color var(--tick), border-color var(--tick);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--hivis); border-color: var(--hivis); color: #fff; }
.bay--night .chip, .bay--night-2 .chip { border-color: var(--rule-dark); color: var(--on-night-2); }
.bay--night .chip:hover, .bay--night-2 .chip:hover { border-color: var(--on-night); color: var(--on-night); }
.bay--night .chip[aria-pressed="true"], .bay--night-2 .chip[aria-pressed="true"] { background: var(--hivis); border-color: var(--hivis); color: #fff; }

.reg__wrap { border: 1px solid var(--rule-light); background: #fff; overflow-x: auto; }
.reg__table { min-width: 730px; font-size: .875rem; }
.reg__table thead th {
  text-align: left; padding: 12px 16px;
  background: var(--ink); color: var(--night-950);
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; position: sticky; top: 0; z-index: 2;
}
.reg__table td { padding: 13px 16px; border-top: 1px solid var(--rule-light); vertical-align: top; color: var(--ink-2); line-height: 1.5; }
.reg__table tbody tr:hover td { background: var(--night-900); }
.reg__yr { font-family: var(--mono); font-size: .75rem; color: var(--hivis-deep); white-space: nowrap; }
.reg__sc { color: var(--ink); max-width: 46ch; }
.reg__cl { font-variation-settings: "wdth" 84, "wght" 700; color: var(--ink); white-space: nowrap; }
.reg__ro { font-family: var(--mono); font-size: .688rem; color: var(--ink-3); }
.reg__foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 18px; }
.reg__count { font-family: var(--mono); font-size: .688rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bay--night .reg__count, .bay--night-2 .reg__count { color: var(--on-night-3); }
.reg__empty { padding: 40px 16px; text-align: center; color: var(--ink-3); font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 739px) {
  .reg__table { min-width: 0; }
  .reg__table thead { display: none; }
  .reg__table tbody tr { display: block; border-top: 1px solid var(--rule-light); padding: 16px; }
  .reg__table tbody tr:first-child { border-top: 0; }
  .reg__table td { display: block; padding: 0; border: 0; }
  .reg__table td + td { margin-top: 6px; }
  .reg__wrap { overflow-x: visible; }
  .bars__row { grid-template-columns: 78px 1fr 38px; gap: 10px; }
}

/* --------------------------------------------------------------------------
   14. GALLERY
   -------------------------------------------------------------------------- */
.gal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 3px; }
.gal__item {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--night-800); cursor: zoom-in;
}
.gal__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: scale .6s var(--ease), filter var(--tick);
  filter: saturate(.9) contrast(1.03);
}
.gal__item:hover img, .gal__item:focus-visible img { scale: 1.06; filter: saturate(1.05); }
.gal__cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 30px 12px 11px;
  background: linear-gradient(transparent, rgba(20,24,28,.88));
  color: #fff; font-family: var(--mono); font-size: .625rem;
  letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; translate: 0 6px; transition: opacity var(--tick), translate var(--tick);
}
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { opacity: 1; translate: 0 0; }
.gal__item[hidden] { display: none; }

/* --------------------------------------------------------------------------
   15. CERTIFICATES
   -------------------------------------------------------------------------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 20px; }
.cert {
  border: 1px solid var(--rule-light); background: #fff;
  display: flex; flex-direction: column; text-align: left; width: 100%;
  cursor: zoom-in; transition: border-color var(--tick);
}
.cert:hover { border-color: var(--ink); }
.cert__img { aspect-ratio: 3 / 4; overflow: hidden; background: #fff; border-bottom: 1px solid var(--rule-light); }
.cert__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cert__meta { padding: 15px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cert__text { display: grid; gap: 5px; min-width: 0; }
.cert__t { font-variation-settings: "wdth" 76, "wght" 800; font-size: .98rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.12; }
.cert__s { font-size: .813rem; color: var(--ink-2); line-height: 1.4; }
.cert__r { font-family: var(--mono); font-size: .563rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); line-height: 1.55; }
.cert__r[data-lapsed="true"] { color: var(--hivis-deep); font-weight: 600; }
.cert__meta svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; margin-top: 3px; }
.cert:hover .cert__meta svg { color: var(--hivis); }
.certs__note { margin-top: 20px; font-family: var(--mono); font-size: .625rem; line-height: 1.8; letter-spacing: .04em; color: var(--ink-3); max-width: 76ch; }

/* --------------------------------------------------------------------------
   16. ORG CHART
   -------------------------------------------------------------------------- */
.org { display: grid; }
.org__tier { display: grid; justify-items: center; }
.org__node {
  border: 1px solid var(--rule-dark); padding: 14px 24px;
  font-variation-settings: "wdth" 76, "wght" 800; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .03em; text-align: center;
  min-width: 200px; background: #fff;
}
.org__node--lead { background: var(--hivis); border-color: var(--hivis); color: #fff; }
.org__drop { width: 1px; height: 26px; background: var(--rule-dark); justify-self: center; }
.org__branches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 26px; position: relative; --bus: 12.5%; }
.org__branches::before { content: ""; position: absolute; top: 0; left: var(--bus); right: var(--bus); height: 1px; background: var(--rule-dark); }
.org__branch { display: grid; gap: 7px; align-content: start; position: relative; }
.org__branch::before { content: ""; position: absolute; top: -26px; left: 50%; width: 1px; height: 26px; background: var(--rule-dark); }
.org__head { padding: 13px 16px; border: 1px solid var(--rule-dark); background: var(--night-850); font-variation-settings: "wdth" 76, "wght" 800; font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; text-align: center; }
.org__leaf { padding: 11px 16px; border: 1px solid var(--rule-dark); border-left: 3px solid var(--hivis); font-family: var(--mono); font-size: .688rem; letter-spacing: .07em; text-transform: uppercase; color: var(--on-night-2); }
@media (max-width: 899px) { .org__branches { grid-template-columns: repeat(2, minmax(0, 1fr)); --bus: 25%; } }
@media (max-width: 539px) { .org__branches { grid-template-columns: 1fr; } .org__branches::before, .org__branch::before { display: none; } }

/* --------------------------------------------------------------------------
   17. CONTACT
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
.coords { border-top: 1px solid var(--rule-light); }
.coord { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-light); align-items: baseline; }
@media (max-width: 479px) { .coord { grid-template-columns: 1fr; gap: 4px; } }
.coord__k { font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.coord__v { font-size: .95rem; color: var(--ink); line-height: 1.5; }
.coord__v a { border-bottom: 1px solid var(--rule-light); transition: color var(--tick), border-color var(--tick); }
.coord__v a:hover { color: var(--hivis-deep); border-color: var(--hivis); }
.map { margin-top: 24px; border: 1px solid var(--rule-light); aspect-ratio: 16 / 10; background: var(--concrete-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

.form { border: 1px solid var(--rule-light); background: #fff; padding: clamp(22px, 3.2vw, 34px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 599px) { .form__grid { grid-template-columns: 1fr; } }
.field--wide { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field label .req { color: var(--hivis-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--night-950);
  border: 1px solid var(--rule-light); font-size: .938rem; transition: border-color var(--tick);
}
.field textarea { resize: vertical; min-height: 116px; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--hivis); }
.field__err { font-family: var(--mono); font-size: .625rem; letter-spacing: .06em; color: var(--hivis-deep); }
.field__err:empty { display: none; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__note { grid-column: 1 / -1; font-family: var(--mono); font-size: .625rem; line-height: 1.75; letter-spacing: .04em; color: var(--ink-3); }
.form__status { grid-column: 1 / -1; padding: 13px 15px; border-left: 3px solid var(--hivis); background: var(--night-900); font-size: .875rem; color: var(--ink-2); }
.form__status:empty { display: none; }
.pot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* --------------------------------------------------------------------------
   18. FOOTER + DOCK + LIGHTBOX
   -------------------------------------------------------------------------- */
.foot { background: var(--ink); color: #e8e9ea; padding-top: clamp(50px, 6vw, 80px); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 50px); padding-bottom: 44px; }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 519px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__blurb { color: #99a0a7; font-size: .875rem; line-height: 1.65; margin-top: 18px; max-width: 40ch; }
.foot__h { font-family: var(--mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hivis); margin-bottom: 16px; }
.foot__list { display: grid; gap: 9px; }
.foot__list a, .foot__list li { font-size: .875rem; color: #99a0a7; transition: color var(--tick); }
.foot__list a:hover { color: #fff; }
.foot__bar {
  border-top: 1px solid rgba(255,255,255,.15); padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-3);
}

.dock { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: grid; gap: 9px; justify-items: end; }
.dock__btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--rule-dark); background: #fff; color: var(--ink);
  box-shadow: 0 4px 16px rgba(20,24,28,.15);
  transition: background var(--tick), color var(--tick), opacity var(--tick), translate var(--tick), visibility var(--tick);
}
.dock__btn svg { width: 21px; height: 21px; }
.dock__btn:hover { background: var(--ink); color: var(--night-950); }
.dock__btn--wa { background: var(--hivis); border-color: var(--hivis); color: #fff; }
.dock__btn--wa:hover { background: var(--hivis-deep); border-color: var(--hivis-deep); color: #fff; }
.dock__btn--top[data-show="false"] { opacity: 0; visibility: hidden; translate: 0 8px; }

.lbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(244, 243, 240, .985);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), visibility 0s linear .28s;
}
.lbox[data-open="true"] { opacity: 1; visibility: visible; transition: opacity .28s var(--ease), visibility 0s linear 0s; }
.lbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--rule-dark); font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.lbox__stage { display: grid; place-items: center; padding: 18px; min-height: 0; }
.lbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .2s linear; border: 1px solid var(--rule-dark); }
.lbox__nav { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-top: 1px solid var(--rule-dark); }
.lbox__btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--rule-dark); color: var(--ink); transition: background var(--tick), border-color var(--tick), color var(--tick); }
.lbox__btn:hover { background: var(--hivis); border-color: var(--hivis); color: #fff; }
.lbox__btn svg { width: 19px; height: 19px; }
.lbox__btn--close { width: auto; padding-inline: 18px; grid-auto-flow: column; gap: 8px; font-family: var(--mono); font-size: .688rem; letter-spacing: .12em; }

/* --------------------------------------------------------------------------
   19. REVEAL
   -------------------------------------------------------------------------- */
.js .rise { clip-path: inset(0 0 100% 0); opacity: 0; transition: clip-path .85s var(--ease), opacity .5s linear; }
.rise[data-in="true"] { clip-path: inset(0 0 0 0); opacity: 1; }
.rise[data-delay="1"] { transition-delay: .1s; }
.rise[data-delay="2"] { transition-delay: .2s; }

/* --------------------------------------------------------------------------
   20. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0ms !important;
  }
  .rise { clip-path: none; opacity: 1; }
  .hero__title > span > b { translate: 0 0; }
  .hero__lede, .hero__actions, .hero__cue { opacity: 1; }
  .ticker__row { animation: none; }
  .plane { transform: none !important; }
  .hero__cue i { animation: none; transform: none; }
}

/* --------------------------------------------------------------------------
   21. PRINT
   -------------------------------------------------------------------------- */
@media print {
  :root { --concrete: #fff; --night-950: #fff; --night-900: #fff; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .scene, .hero__cue, .ticker, .dock, .lbox, .burger, .drawer, .masthead__cta,
  .map, .gal__grid, .hero__actions, .reg__tools, .form, .hazard, .peek { display: none !important; }
  .masthead { position: static; border-bottom: 2px solid #000; }
  .hero { min-height: 0; }
  .hero__in { padding: 12pt 0; }
  .bay { padding-block: 16pt; border-top: 1px solid #999; }
  .bay--night, .bay--night-2, .hero, .foot, .facts { background: #fff !important; color: #000 !important; }
  .bay--night::before, .bay--night-2::before { display: none; }
  .t-lede, .scope__d, .client__r, .foot__blurb, .hero__lede { color: #333 !important; }
  .hero__title, .brand__name, .org__node, .org__head, .scope__t, .client__n { color: #000 !important; text-shadow: none !important; }
  .client, .org__node, .org__head, .org__leaf, .panel, .subs__item { border-color: #999 !important; }
  .panel__no, .fact__n { color: #000 !important; background: none !important; }
  .reg__table { min-width: 0; font-size: 8.5pt; }
  .reg__table thead th { background: #000 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .reg__wrap { overflow: visible; border-color: #999; }
  .rise { clip-path: none !important; opacity: 1 !important; }
  .bars__fill { width: var(--w) !important; background: #555 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
