/* ==========================================================================
   President Engineering — steel fabrication
   --------------------------------------------------------------------------
   Design language: engineer's drawing. Small-caps callouts with leader lines,
   dimension rules under section heads and crop-mark corners carry the
   structure; arc-amber is the only accent, used the way heat is used on steel
   — sparingly, and where the work is happening.

   Type   Inter Tight (headings) · Inter (everything else)
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* steel palette — cold blacks, mill-scale greys, arc amber */
  --ink:        #08090c;
  --graphite:   #101318;
  --steel:      #171b22;
  --mill:       #222831;

  --arc:        #f4a62a;
  --arc-hot:    #ffc864;
  --arc-deep:   #9c6207;

  --chalk:      #f4f5f7;
  --paper:      #ffffff;

  /* Contrast raised across the board — the muted greys were failing WCAG AA
     on body copy and small labels, which reads as "unfinished" more than
     any styling choice does. */
  --txt-on-dark:      #ffffff;
  --txt-on-dark-soft: #c3ccd8;
  --txt-on-dark-mute: #93a0b0;
  --txt-on-light:     #0c1015;
  --txt-on-light-soft:#434d5a;

  --line-dark:  rgba(255, 255, 255, .085);
  --line-dark-2:rgba(255, 255, 255, .16);
  --line-light: rgba(8, 9, 12, .11);
  --line-light-2:rgba(8, 9, 12, .2);

  /* layout */
  --shell:   1560px;
  --gutter:  clamp(20px, 4.5vw, 68px);
  --sect-y:  clamp(72px, 8.5vw, 148px);

  --r-sm: 3px;
  --r:    5px;

  /* type */
  /* Legibility first. Inter Tight for headings gives the tight, confident set
     of a display face while staying a text face underneath; Inter for
     everything else. `--font-mono` is now Inter too, so the many small
     uppercase labels read as clean signage rather than code. */
  --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* one easing family, used everywhere */
  --ease:     cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--txt-on-light);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 .48em;
  text-wrap: balance;
}
h3, h4 { font-weight: 600; letter-spacing: -.015em; line-height: 1.16; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--arc);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--arc); color: var(--ink); }

/* -------------------------------------------------------------- helpers -- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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-link {
  position: absolute; top: -60px; left: 16px; z-index: 999;
  background: var(--arc); color: var(--ink);
  padding: 10px 18px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* hazard rule — the one piece of pure signage on the page */
.stripe {
  height: 5px;
  background: repeating-linear-gradient(-45deg, var(--arc) 0 12px, var(--ink) 12px 24px);
}
.stripe--thin { height: 3px; opacity: .9; }

.section { padding-block: var(--sect-y); }
section[id], article[id], div[id] { scroll-margin-top: 108px; }

/* ============================================ SIGNATURE: drawing callouts */
/* Part-code label with a leader line — reads like a drawing annotation.    */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--arc-deep);
  margin: 0 0 20px;
}
.on-dark .eyebrow, .on-steel .eyebrow, .hero .eyebrow, .pagehead .eyebrow { color: var(--arc); }

/* leader line grows on reveal */
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease) .1s;
}
.is-in .eyebrow::before,
.eyebrow.is-in::before { transform: scaleX(1); }
:root:not(.js) .eyebrow::before { transform: scaleX(1); }

/* ------------------------------------------------------------ section head */
/* Every section head sits on a dimension rule that draws in as it enters —
   the measurement line off an engineer's drawing, used as page rhythm.      */
.section-head {
  position: relative;
  max-width: 780px;
  padding-bottom: 30px;
  margin-bottom: clamp(42px, 5vw, 76px);
  border-bottom: 1px solid var(--line-light);
}
.on-dark .section-head, .on-steel .section-head { border-bottom-color: var(--line-dark); }
.section-head::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 100%;
  background: var(--arc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.15s var(--ease) .18s;
}
.section-head.is-in::after { transform: scaleX(1); }
:root:not(.js) .section-head::after { transform: scaleX(1); }
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 62px);
  margin-bottom: 0;
}
.section-head p {
  font-size: clamp(16.5px, 1.15vw, 19px);
  color: var(--txt-on-light-soft);
  margin: 22px 0 0;
}
.on-dark .section-head p,
.on-steel .section-head p,
.on-dark .lede { color: var(--txt-on-dark-soft); }

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 3vw, 64px);
  align-items: end;
}
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* surfaces */
.on-dark  { background: var(--graphite); color: var(--txt-on-dark); }
.on-steel { background: var(--steel);    color: var(--txt-on-dark); }
.on-light { background: var(--chalk);    color: var(--txt-on-light); }
.on-white { background: var(--paper);    color: var(--txt-on-light); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--arc);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* heat sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--arc-hot);
  transform: translateY(101%);
  transition: transform .42s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 12px 30px -14px rgba(244, 166, 42, .8); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: var(--line-dark-2); }
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--ink); border-color: #fff; box-shadow: none; }

.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--txt-on-light); border-color: var(--line-light-2); }
.btn--ghost-dark::before { background: var(--ink); }
.btn--ghost-dark:hover { color: #fff; border-color: var(--ink); box-shadow: none; }

.btn--lg { padding: 19px 36px; font-size: 16.5px; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--arc-deep);
}
.on-dark .textlink, .on-steel .textlink { color: var(--arc); }
.textlink svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(5px); }

/* ---------------------------------------------------------------- header -- */
.topbar {
  background: var(--ink);
  color: var(--txt-on-dark-mute);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 40px; flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 9px; }
.topbar__list svg { width: 14px; height: 14px; color: var(--arc); flex: none; }
.topbar a:hover { color: #fff; }
.topbar__note { color: var(--arc); }
@media (max-width: 940px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 19, 24, .88);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(8, 9, 12, .94);
  box-shadow: 0 16px 44px -26px #000;
}

/* scroll progress — a fill gauge, not a decoration */
.site-header::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--arc);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 54px); min-height: 80px; }

.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; }
/* Mark: a P cut from steel plate with a bevelled corner. Colours live in
   CSS rather than the SVG so the same file themes on light and dark. */
.logo__mark { width: 40px; height: 40px; flex: none; display: block; }
.logo__mark svg { width: 100%; height: 100%; display: block; }
.logo__plate { fill: var(--mill); transition: fill .3s var(--ease); }
.logo__glyph  { fill: var(--arc);  transition: fill .3s var(--ease); }
.logo:hover .logo__plate { fill: var(--arc); }
.logo:hover .logo__glyph  { fill: var(--ink); }
/* on light surfaces the plate needs to be the dark element */
.on-light .logo__plate, .on-white .logo__plate { fill: var(--ink); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 19px; letter-spacing: -.02em;
  color: #fff; text-transform: uppercase;
}
.logo__sub {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--txt-on-dark-mute); margin-top: 6px;
}
@media (max-width: 420px) { .logo__sub { display: none; } }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 36px); margin-inline-start: auto; }
.nav__links a {
  position: relative;
  font-size: 15px; font-weight: 500;
  color: var(--txt-on-dark-soft);
  padding-block: 7px;
  transition: color .22s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--arc);
  transform: scaleX(0); transform-origin: right;
  transition: transform .34s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after,
.nav__links a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current='page'] { color: #fff; }
.nav__links > li:last-child { display: none; }

.nav__cta { display: flex; align-items: center; gap: 16px; flex: none; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
  color: #fff;
}
.nav__phone svg { width: 16px; height: 16px; color: var(--arc); }

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.nav__burger span { display: block; width: 20px; height: 1.5px; background: #fff; position: relative; transition: background .2s var(--ease); }
.nav__burger span::before, .nav__burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 1.5px;
  background: #fff; transition: transform .3s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top:  6px; }
.nav__burger[aria-expanded='true'] span { background: transparent; }
.nav__burger[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav__burger { display: inline-flex; margin-inline-start: auto; }
  .nav__phone, .nav__cta .btn { display: none; }
  .nav__links > li:last-child { display: block; }
  .nav__links {
    position: fixed; inset: 80px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 6px var(--gutter) 28px;
    margin: 0;
    clip-path: inset(0 0 100% 0);
    opacity: 0; visibility: hidden;
    transition: clip-path .45s var(--ease), opacity .3s var(--ease), visibility .45s;
    max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; }
  .nav__links a {
    padding: 18px 2px;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 600; letter-spacing: -.02em;
    color: #fff;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__links a::after { display: none; }
  .nav__links a.btn {
    margin-top: 24px; padding: 17px 28px;
    font-size: 16px; color: var(--btn-fg);
    border: 1px solid var(--btn-bg);
  }
  .nav__links a.btn:hover { color: var(--btn-fg); }
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--graphite);
  background-image: var(--hero-img, none);
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(8,9,12,.97) 0%, rgba(8,9,12,.9) 44%, rgba(8,9,12,.64) 100%);
}
/* arc glow — the heat source, slowly breathing */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 62vw; height: 62vw;
  max-width: 900px; max-height: 900px;
  left: -12vw; top: -18vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,166,42,.20) 0%, rgba(244,166,42,.07) 38%, transparent 68%);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.09); }
}
/* mill-scale grain */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(102deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: center;
  padding-block: clamp(62px, 7.5vw, 124px);
}
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .98;
  margin-bottom: 30px;
}
.hero h1 em { font-style: normal; color: var(--arc); }

/* line mask for the load reveal */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; will-change: transform; }
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero.is-ready h1 .line > span { transform: translateY(0); }

.hero__lede {
  font-size: clamp(17px, 1.3vw, 20.5px);
  color: #b7c0cd;
  max-width: 54ch;
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero__rating {
  display: inline-flex; align-items: center; gap: 11px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--txt-on-dark-soft);
}
.hero__stars { display: inline-flex; gap: 3px; color: var(--arc); }
.hero__stars svg { width: 15px; height: 15px; }

/* Hero entrance: CSS only holds the *start* state. Motion animates it and
   adds .is-ready, which pins the end state once the spring has settled. */
/* Scoped to .hero — an unscoped .quotecard rule here left the contact page's
   form hidden forever, because only `.hero.is-ready` ever revealed it. */
.js .hero .hero__rating, .js .hero .hero__lede, .js .hero .hero__actions,
.js .hero .hero__stats, .js .hero .quotecard {
  opacity: 0; transform: translateY(22px);
}
.js .hero.is-ready .hero__rating,
.js .hero.is-ready .hero__lede,
.js .hero.is-ready .hero__actions,
.js .hero.is-ready .hero__stats,
.js .hero.is-ready .quotecard { opacity: 1; transform: none; }

/* spec strip — reads as a materials schedule */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.hero__stat {
  padding: 22px 20px 22px 20px;
  border-right: 1px solid var(--line-dark);
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: 0; }
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600; color: #fff;
  letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: 8px;
}
/* Sentence case, not uppercase: these are short sentences, and tracked-out
   caps wrapping to three lines is slow to read at phone width. */
.hero__stat span {
  font-size: 13.5px; line-height: 1.5; display: block;
  color: var(--txt-on-dark-soft);
}

/* Two columns: the first/last-child rules above describe a single row, so
   they have to be restated per row or the grid gets a stray divider on the
   right of row 1 and a misaligned left edge on row 2. */
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { padding: 18px 14px; }
  .hero__stat:nth-child(odd)  { padding-left: 0; }
  .hero__stat:nth-child(even) { border-right: 0; padding-right: 0; }
  .hero__stat:nth-child(n+3)  { border-top: 1px solid var(--line-dark); }
  .hero__stat b { font-size: 16.5px; }
  .hero__stat span { font-size: 13px; }
}

/* -------------------------------------------------------------- quote box -- */
.quotecard {
  position: relative;
  background: linear-gradient(178deg, var(--steel) 0%, #0d1116 100%);
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 2.8vw, 46px);
  box-shadow: 0 50px 110px -60px #000;
}
/* crop marks */
.quotecard::before, .quotecard::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--arc);
  pointer-events: none;
}
.quotecard::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.quotecard::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.quotecard h2 { font-size: clamp(25px, 2.3vw, 34px); margin-bottom: 8px; color: #fff; }
.quotecard__note { font-size: 14.5px; color: var(--txt-on-dark-soft); margin-bottom: 28px; }

.field { margin-bottom: 17px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--txt-on-dark-mute); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 15px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: #fff; font-size: 15.5px;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: #5c6673; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--arc); background: rgba(255, 255, 255, .06);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--steel); color: #fff; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field__err {
  display: none;
  font-family: var(--font-body);
  font-size: 12.5px; color: #ff8f6b; margin-top: 7px;
  text-transform: none; letter-spacing: 0;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff8f6b; }
.field.is-invalid .field__err { display: block; }

.form__foot { font-size: 12.5px; color: var(--txt-on-dark-mute); margin-top: 16px; line-height: 1.55; }
.form__status {
  display: none; margin-top: 16px; padding: 14px 16px;
  border-radius: var(--r-sm); font-size: 14.5px;
  background: rgba(244, 166, 42, .1);
  border: 1px solid rgba(244, 166, 42, .35);
  color: var(--arc-hot);
}
.form__status.is-shown { display: block; }

.form--light .field label { color: var(--txt-on-light-soft); }
.form--light .field input, .form--light .field select, .form--light .field textarea {
  background: var(--paper); border-color: var(--line-light); color: var(--txt-on-light);
}
.form--light .field input::placeholder, .form--light .field textarea::placeholder { color: #98a1af; }
.form--light .field select option { background: #fff; color: var(--txt-on-light); }

/* ---------------------------------------------------- materials marquee -- */
.brandbar {
  background: var(--ink);
  border-block: 1px solid var(--line-dark);
  padding-block: 30px;
  overflow: hidden;
  position: relative;
}
.brandbar__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--txt-on-dark-mute);
  margin-bottom: 24px;
}
.marquee { display: flex; width: max-content; animation: slide 52s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(26px, 3.4vw, 54px); padding-inline: clamp(13px, 1.7vw, 27px); }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600; letter-spacing: -.015em;
  color: #4e5866;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.marquee__item:hover { color: var(--arc); }
@keyframes slide { to { transform: translateX(-50%); } }
.brandbar::before, .brandbar::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 9vw, 160px); z-index: 2; pointer-events: none;
}
.brandbar::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.brandbar::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

/* ----------------------------------------------------------------- cards -- */
/* Hairlines come from the cards, not a filled container — so a part-full
   last row leaves empty space rather than orphaned grey cells. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.on-dark .cards, .on-steel .cards { border-color: var(--line-dark); }

/* cards sit flush in a grid like plate laid out on a bench */
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 32px;
  background: var(--paper);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  transition: background .35s var(--ease);
}
.on-light .cards .cat { background: var(--chalk); }
.on-dark .cards .cat, .on-steel .cards .cat { border-color: var(--line-dark); }
.cat::before {
  content: '';
  position: absolute; inset: auto 0 0 0;
  height: 2px; background: var(--arc);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.cat:hover::before { transform: scaleX(1); }
.cat:hover { background: var(--paper); }
.on-light .cards .cat:hover { background: var(--paper); }

.cat__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--arc-deep);
  margin-bottom: 26px;
  transition: color .3s var(--ease), transform .45s var(--ease);
}
.cat__icon svg { width: 30px; height: 30px; stroke-width: 1.4; }
.cat:hover .cat__icon { transform: translateY(-3px); }

.cat h3 { font-size: 21px; margin-bottom: 11px; }
.cat p {
  font-size: 15.3px;
  color: var(--txt-on-light-soft);
  margin-bottom: 22px;
  flex: 1;
}
/* spec tags — real information, not decoration */
.cat ul { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.cat ul li {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--txt-on-light-soft);
  border: 1px solid var(--line-light);
  padding: 5px 9px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.cat:hover ul li { border-color: var(--line-light-2); }

/* dark card variant */
.cat--dark { background: var(--steel); color: #fff; }
.on-dark .cards .cat--dark, .on-steel .cards .cat--dark { background: var(--graphite); }
.cat--dark:hover, .on-dark .cards .cat--dark:hover, .on-steel .cards .cat--dark:hover { background: var(--steel); }
.cat--dark p { color: var(--txt-on-dark-soft); }
.cat--dark .cat__icon { color: var(--arc); }
.cat--dark ul li { border-color: var(--line-dark); color: var(--txt-on-dark-mute); }
.cat--dark:hover ul li { border-color: var(--line-dark-2); }



/* ----------------------------------------------------------------- split -- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 92px);
  align-items: center;
}
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.split--reverse .split__media { order: 2; }
@media (max-width: 960px) { .split--reverse .split__media { order: 0; } }

.split h2 { font-size: clamp(30px, 3.8vw, 52px); }
.split .lede { font-size: clamp(16.5px, 1.15vw, 19px); color: var(--txt-on-light-soft); margin-bottom: 32px; }

/* image slot */
.media-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--mill);
  background-image: var(--img, none);
  background-size: cover; background-position: center;
  border: 1px solid var(--line-light);
}
.on-dark .media-slot, .on-steel .media-slot { border-color: var(--line-dark); }
.media-slot--tall { aspect-ratio: 3 / 4; }
.media-slot--wide { aspect-ratio: 16 / 10; }
/* Kept deliberately quiet. A loud "PHOTO SLOT — set --img" panel makes a
   finished site read as an unfinished template; this stays a neutral steel
   panel until a real photo replaces it. The how-to lives in the HTML comment
   above each slot and in the README. */
.media-slot__ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  text-align: center; padding: 26px;
  color: #5d6874;
  background:
    radial-gradient(620px 420px at 32% 22%, rgba(244,166,42,.06), transparent 62%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0 11px, transparent 11px 22px);
}
.media-slot__ph svg { width: 28px; height: 28px; opacity: .32; }
.media-slot__ph b {
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  text-transform: none; opacity: .75;
}
.media-slot__ph small { display: none; }   /* instructions live in the source */

.media-badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; align-items: center; gap: 16px;
  background: rgba(8, 9, 12, .84);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  padding: 16px 19px; color: #fff;
}
.media-badge b { font-family: var(--font-display); font-size: 28px; color: var(--arc); line-height: 1; }
.media-badge span { font-size: 13.5px; color: var(--txt-on-dark-soft); line-height: 1.45; }

/* ticked list */
.ticks { display: grid; gap: 15px; margin-bottom: 34px; }
.ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: 14px;
  align-items: start; font-size: 15.8px;
}
.ticks li svg { width: 20px; height: 20px; color: var(--arc-deep); margin-top: 2px; }
.on-dark .ticks li svg, .on-steel .ticks li svg { color: var(--arc); }
.ticks li b { font-weight: 700; }
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 15px 34px; }
@media (max-width: 720px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- steps -- */
/* genuine sequence — numbering carries information here */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(22px, 2.6vw, 40px);
}
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-light); }
.on-dark .step, .on-steel .step { border-color: var(--line-dark); }
.step__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .08em;
  color: var(--arc-deep);
  margin-bottom: 20px;
}
.on-dark .step__n, .on-steel .step__n { color: var(--arc); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.2px; color: var(--txt-on-light-soft); margin: 0; }
.on-dark .step p, .on-steel .step p { color: var(--txt-on-dark-soft); }

/* progress line that fills as the steps reveal */
.step::after {
  content: '';
  position: absolute; top: -1px; left: 0;
  height: 1px; width: 100%;
  background: var(--arc);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.step.is-in::after { transform: scaleX(1); }
:root:not(.js) .step::after { transform: scaleX(1); }

/* ------------------------------------------------------------- industries -- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 17px;
  border: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--txt-on-dark-soft);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.chip svg { width: 14px; height: 14px; color: var(--arc); }
.chip:hover { border-color: var(--arc); color: #fff; background: rgba(244, 166, 42, .07); }
.on-light .chip, .on-white .chip { border-color: var(--line-light); color: var(--txt-on-light-soft); }
.on-light .chip svg, .on-white .chip svg { color: var(--arc-deep); }
.on-light .chip:hover, .on-white .chip:hover { color: var(--txt-on-light); border-color: var(--arc-deep); }



/* --------------------------------------------------------------- cta band -- */
.ctaband { position: relative; background: var(--arc); color: var(--ink); overflow: hidden; }
.ctaband::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(8,9,12,.045) 0 20px, transparent 20px 40px);
}
.ctaband__in {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(26px, 4vw, 64px); flex-wrap: wrap;
  padding-block: clamp(50px, 5.5vw, 84px);
}
.ctaband h2 { font-size: clamp(30px, 3.8vw, 54px); margin-bottom: 12px; max-width: 19ch; }
.ctaband p { font-size: 17px; margin: 0; max-width: 50ch; color: rgba(8, 9, 12, .72); }
.ctaband__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ctaband .btn { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.ctaband .btn::before { background: #1f242c; }
.ctaband .btn:hover { color: #fff; box-shadow: 0 14px 32px -16px rgba(8, 9, 12, .85); }
.ctaband .btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(8, 9, 12, .3); }
.ctaband .btn--ghost-dark::before { background: var(--ink); }
.ctaband .btn--ghost-dark:hover { color: #fff; border-color: var(--ink); }

/* --------------------------------------------------------------- contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 4.5vw, 82px);
  align-items: start;
}
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }

.infolist { display: grid; margin-bottom: 34px; }
.infolist li {
  display: grid; grid-template-columns: 42px 1fr; gap: 18px;
  align-items: start; padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.on-light .infolist li, .on-white .infolist li { border-color: var(--line-light); }
.infolist__ico { width: 42px; height: 42px; display: grid; place-items: center; color: var(--arc); }
.on-light .infolist__ico, .on-white .infolist__ico { color: var(--arc-deep); }
.infolist__ico svg { width: 22px; height: 22px; stroke-width: 1.4; }
.infolist__label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--txt-on-dark-mute); margin-bottom: 6px;
}
.on-light .infolist__label, .on-white .infolist__label { color: var(--txt-on-light-soft); }
.infolist__val { font-size: 17px; font-weight: 500; line-height: 1.45; }
.infolist__val a { transition: color .2s var(--ease); }
.infolist__val a:hover { color: var(--arc); }
.on-light .infolist__val a:hover, .on-white .infolist__val a:hover { color: var(--arc-deep); }
.infolist__val small {
  display: block; font-size: 13.5px; font-weight: 400;
  color: var(--txt-on-dark-mute); margin-top: 4px;
}
.on-light .infolist__val small, .on-white .infolist__val small { color: var(--txt-on-light-soft); }

/* Hours read as a schedule strip across the full width. Stacked in a single
   column they left a large void beside the form and the map. */
.hours-band { margin-top: clamp(46px, 5vw, 76px); }
.hours-band__head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}
.on-dark .hours-band__head, .on-steel .hours-band__head { border-bottom-color: var(--line-dark); }
.hours-band__head h3 { font-size: 20px; margin: 0; }
.hours-band__status {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt-on-light-soft);
}
.on-dark .hours-band__status, .on-steel .hours-band__status { color: var(--txt-on-dark-mute); }

.hours-band__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line-light);
}
.on-dark .hours-band__days, .on-steel .hours-band__days { border-left-color: var(--line-dark); }
.hours-band__days li {
  padding: 22px 18px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.on-dark .hours-band__days li, .on-steel .hours-band__days li { border-color: var(--line-dark); }
.hours-band__days dt,
.hours-band__day {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt-on-light-soft);
  margin-bottom: 10px;
}
.on-dark .hours-band__day, .on-steel .hours-band__day { color: var(--txt-on-dark-mute); }
.hours-band__time {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; line-height: 1.3;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.hours-band__days li.is-closed .hours-band__time { color: var(--txt-on-light-soft); font-weight: 500; }
.on-dark .hours-band__days li.is-closed .hours-band__time,
.on-steel .hours-band__days li.is-closed .hours-band__time { color: var(--txt-on-dark-mute); }

@media (max-width: 1100px) { .hours-band__days { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .hours-band__days { grid-template-columns: repeat(2, 1fr); } }



.map-slot {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--mill);
}
.on-dark .map-slot { border-color: var(--line-dark); }
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
.map-slot:hover iframe { filter: none; }
/* Touch devices never hover, so the map would stay grey forever — show it in
   full colour where there's no pointer to reveal it with. */
@media (hover: none) { .map-slot iframe { filter: none; } }

/* ------------------------------------------------------------------- faq -- */
.faq { display: grid; max-width: 940px; }
.faq__item { border-bottom: 1px solid var(--line-light); }
.on-dark .faq__item, .on-steel .faq__item { border-color: var(--line-dark); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600; letter-spacing: -.018em;
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--arc-deep); }
.on-dark .faq__q:hover, .on-steel .faq__q:hover { color: var(--arc); }
.faq__q svg {
  width: 20px; height: 20px; flex: none;
  color: var(--arc-deep);
  transition: transform .4s var(--ease);
}
.on-dark .faq__q svg, .on-steel .faq__q svg { color: var(--arc); }
.faq__q[aria-expanded='true'] svg { transform: rotate(135deg); }
.faq__a {
  overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height .42s var(--ease), opacity .26s var(--ease);
}
.faq__q[aria-expanded='true'] + .faq__a { max-height: 40rem; opacity: 1; }
.faq__a p {
  padding-bottom: 28px; max-width: 74ch;
  color: var(--txt-on-light-soft); font-size: 16px;
}
.on-dark .faq__a p, .on-steel .faq__a p { color: var(--txt-on-dark-soft); }

/* ---------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink); color: var(--txt-on-dark-soft); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 64px);
  padding-block: clamp(56px, 5.5vw, 92px);
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__about { max-width: 40ch; font-size: 14.8px; margin: 24px 0 26px; }
.footer h3 {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--arc); margin-bottom: 22px;
}
.footer__list { display: grid; gap: 13px; font-size: 14.8px; }
.footer__list a { transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--arc); }

.socials { display: flex; gap: 9px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.socials a:hover { background: var(--arc); border-color: var(--arc); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

.footer__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt-on-dark-mute);
}
.footer__bar a:hover { color: var(--arc); }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ------------------------------------------------------------ page header -- */
.pagehead {
  position: relative;
  background: var(--ink); color: #fff;
  overflow: hidden; isolation: isolate;
}
.pagehead::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 420px at 4% 0%, rgba(244,166,42,.16), transparent 64%),
    repeating-linear-gradient(102deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px);
}
.pagehead__in { padding-block: clamp(56px, 6.5vw, 108px); }
.pagehead h1 { font-size: clamp(38px, 5.4vw, 76px); max-width: 16ch; margin-bottom: 22px; }
.pagehead p { font-size: clamp(16.5px, 1.25vw, 19.5px); color: #b7c0cd; max-width: 60ch; margin: 0; }

.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt-on-dark-mute);
  margin-bottom: 26px; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--arc); }
.crumbs span[aria-hidden] { color: #444d5a; }
.crumbs [aria-current] { color: var(--arc); }

/* ------------------------------------------------------------- utilities -- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 38px); }
@media (max-width: 840px) { .grid-2 { grid-template-columns: 1fr; } }

.pricecue {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 17px;
  border: 1px solid rgba(244, 166, 42, .34);
  background: rgba(244, 166, 42, .07);
  color: var(--arc-deep);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.on-dark .pricecue, .on-steel .pricecue { color: var(--arc); }
.pricecue svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------- animation -- */
/* Start state only — Motion animates these and pins the end with .is-in. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
  .js .hero__rating, .js .hero__lede, .js .hero__actions,
  .js .hero .hero__stats, .js .hero .quotecard { opacity: 1; transform: none; }
  .hero::before { animation: none; }
}

/* ----------------------------------------------------------------- print -- */
@media print {
  .site-header, .topbar, .ctaband, .quotecard, .nav__burger, .brandbar { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ---------- Laneway demo bar ----------
   Present only in the copy hosted inside laneway.studio. Frames the site as a
   studio sample and gives a way back out. Self-contained on purpose — it must
   survive any restyle of the site it sits on top of. */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem 1rem;
  padding: 11px 20px;
  background: #1a1917; color: #f5f7f2;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px; letter-spacing: .02em; text-align: center;
}
.demo-bar__tag {
  background: #f4a62a; color: #1a1917;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; font-size: 10.5px;
}
.demo-bar__txt { opacity: .74; }
.demo-bar a { color: #f5f7f2; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-bar a:hover { color: #f4a62a; }

@media (max-width: 620px) {
  .demo-bar { font-size: 11.5px; gap: .4rem .75rem; }
  .demo-bar__txt { display: none; }
}
