/* ==========================================================================
   TradeRise Systems — styles.css
   Palette derived from the logo: navy #1E2A38 / orange #E8551F
   Type: Archivo (display, expanded) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #101922;
  --navy-800: #16212D;
  --navy-700: #1E2A38;   /* logo navy */
  --navy-600: #2A3949;
  --navy-400: #566A7E;
  --steel:    #5F6E7D;
  --orange:   #E8551F;   /* logo orange — graphics, accents, text on dark */
  --orange-cta:  #C9450F; /* button fill: 4.8:1 with white text */
  --orange-cta-hover: #AB380B;
  --orange-ink:  #B33F10; /* orange text on light backgrounds */
  --orange-wash: #FDF1EC;

  /* Neutrals */
  --white:    #FFFFFF;
  --concrete: #F2F1EE;
  --concrete-deep: #E7E5E0;
  --line:     #DCDFE3;
  --line-dark: rgba(255, 255, 255, .14);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: 1240px;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --roof: 8deg; /* pitch echoed from the logo mark */
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-700);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); line-height: .98; }
h2 { font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); font-variation-settings: "wdth" 108; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-variation-settings: "wdth" 105; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--concrete { background: var(--concrete); }
.section--dark { background: var(--navy-900); color: #DDE3E9; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-ink);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--orange);
  transform: skewY(calc(var(--roof) * -1));
  flex: none;
}
.section--dark .eyebrow { color: var(--orange); }

.lede {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
  color: var(--steel);
  max-width: 62ch;
}
.section--dark .lede { color: #AEBAC6; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }

.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; left: 1rem; top: -100px; z-index: 999;
  background: var(--navy-900); color: #fff; padding: .75rem 1.15rem;
  font-family: var(--mono); font-size: .8rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Focus visibility (quality floor) */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible { outline-color: #FF8A5C; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange-cta);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1;
  padding: 1.05rem 1.6rem;
  border: 2px solid var(--btn-bg);
  border-radius: 2px;
  text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { --btn-bg: var(--orange-cta-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-700);
  border-color: var(--navy-700);
}
.btn--ghost:hover { --btn-bg: var(--navy-700); --btn-fg: #fff; border-color: var(--navy-700); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--sm { padding: .7rem 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Announcement bar
   -------------------------------------------------------------------------- */
.announce {
  background: var(--navy-900);
  color: #C6D0DA;
  font-size: .82rem;
  line-height: 1.4;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 44px;
  padding-block: .5rem;
  text-align: center;
}
.announce p { margin: 0; }
.announce strong { color: #fff; font-weight: 600; }
.announce a {
  color: var(--orange);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(232, 85, 31, .5);
}
.announce a:hover { border-bottom-color: var(--orange); }
@media (max-width: 900px) { .announce a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 800px) { .announce .announce-cta { display: none; } }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 25, 34, .07); }

.header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: clamp(148px, 17vw, 190px); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy-700);
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { color: var(--orange-ink); border-bottom-color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone {
  font-family: var(--mono);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--navy-700);
  display: flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--orange-ink); }
.header-phone svg { color: var(--orange); flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .6rem;
  color: var(--navy-700);
  line-height: 0;
}

@media (max-width: 1040px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 620px) {
  .header-phone span { display: none; }
  /* icon-only: keep a full-size tap target */
  .header-phone {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 2px;
  }
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  background: var(--navy-900);
  color: #fff;
  border-bottom: 3px solid var(--orange);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding: .5rem 0 1.5rem; }
.mobile-nav li + li { border-top: 1px solid var(--line-dark); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.mobile-nav .btn { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 6rem);
}

/* blueprint grid, very low contrast */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--orange); }
.hero-lede {
  font-size: clamp(1.06rem, 1rem + .4vw, 1.28rem);
  line-height: 1.55;
  color: #B9C4CF;
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-note {
  margin-top: 1.75rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #7E8EA0;
}

/* Photo panel — left edge cut on the logo's roof pitch */
.hero-media {
  position: relative;
  align-self: stretch;
  min-height: clamp(280px, 42vw, 520px);
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  filter: saturate(.82) contrast(1.06);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(105deg, rgba(16, 25, 34, .82) 0%, rgba(16, 25, 34, .18) 45%, rgba(16, 25, 34, .05) 100%);
}
/* orange rise-line tracing the cut */
.hero-media::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9%;
  width: 4px;
  background: var(--orange);
  transform-origin: top;
  transform: skewX(5.2deg) translateX(-2px);
  z-index: 2;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 2.5rem 0; }
  .hero-media { min-height: 260px; margin-inline: calc(var(--gutter) * -1); }
  .hero-media img, .hero-media::after { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .hero-media::before { display: none; }
  .hero-lede { max-width: 46ch; }
}

/* --------------------------------------------------------------------------
   8. Value bar
   -------------------------------------------------------------------------- */
.valuebar { background: var(--navy-700); border-top: 1px solid rgba(255, 255, 255, .08); }
.valuebar ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.valuebar li {
  padding: 1.4rem clamp(.75rem, 2vw, 1.5rem);
  color: #fff;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.valuebar li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.valuebar li::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--orange);
  transform: skewY(calc(var(--roof) * -1));
  flex: none;
}
@media (max-width: 860px) {
  .valuebar ul { grid-template-columns: repeat(2, 1fr); }
  .valuebar li:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .valuebar li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .valuebar li:nth-child(2n+1) { border-left: 0; }
}
@media (max-width: 460px) {
  .valuebar ul { grid-template-columns: 1fr; }
  .valuebar li { border-left: 0 !important; }
  .valuebar li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* --------------------------------------------------------------------------
   9. The Job Line (signature element)
   -------------------------------------------------------------------------- */
.jobline-frame { margin-top: clamp(2.5rem, 5vw, 3.75rem); }

.jobline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 3.25rem;
}

/* the rail */
.jobline::before {
  content: "";
  position: absolute;
  top: 3.25rem;
  left: 10%;
  right: 10%;
  height: 2px;
  transform: translateY(7px);
}
.jobline--broken::before {
  background-image: linear-gradient(90deg, var(--concrete-deep) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
}
.jobline--live::before { background: rgba(255, 255, 255, .16); }

/* animated fill on the connected version */
.jobline--live::after {
  content: "";
  position: absolute;
  top: 3.25rem;
  left: 10%;
  right: 10%;
  height: 2px;
  transform: translateY(7px) scaleX(0);
  transform-origin: left center;
  background: var(--orange);
  transition: transform 1.15s var(--ease);
}
.jobline--live.is-revealed::after { transform: translateY(7px) scaleX(1); }

.jl-step {
  position: relative;
  padding-inline: .5rem;
  text-align: center;
}

.jl-node {
  position: relative;
  z-index: 2;
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto .95rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--concrete-deep);
}
.jobline--live .jl-node {
  background: var(--navy-900);
  border-color: rgba(255, 255, 255, .25);
  transition: background-color .3s var(--ease) var(--d, 0s), border-color .3s var(--ease) var(--d, 0s), box-shadow .3s var(--ease) var(--d, 0s);
}
.jobline--live.is-revealed .jl-node {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 5px rgba(232, 85, 31, .16);
}

.jl-label {
  display: block;
  font-family: var(--mono);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.jobline--broken .jl-label { color: var(--navy-700); }
.jobline--live .jl-label { color: #fff; }

.jl-note {
  display: block;
  font-size: .87rem;
  line-height: 1.45;
  color: var(--steel);
  max-width: 20ch;
  margin-inline: auto;
}
.jobline--live .jl-note { color: #9DAAB7; }

/* leak markers sit exactly on the gap between two nodes */
.jl-step[data-leak]::before {
  content: attr(data-leak);
  position: absolute;
  top: -3.05rem;
  left: 0;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #A2311C;
  background: var(--orange-wash);
  border: 1px solid #F1CFC3;
  border-radius: 2px;
  padding: .3rem .5rem;
  white-space: nowrap;
}
.jl-step[data-leak]::after {
  content: "";
  position: absolute;
  top: -1.35rem;
  left: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 1.5rem;
  background: #E3BCAE;
}

@media (max-width: 760px) {
  .jobline { grid-template-columns: 1fr; padding-top: 0; gap: 1.6rem; }

  /* rail turns vertical so the "line" metaphor survives on phones */
  .jobline::before,
  .jobline--live::after {
    top: .4rem;
    bottom: 1.6rem;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
  }
  .jobline--broken::before {
    background-image: linear-gradient(180deg, var(--concrete-deep) 0 10px, transparent 10px 20px);
    background-size: 2px 20px;
  }
  .jobline--live::after {
    transform: scaleY(0);
    transform-origin: top center;
  }
  .jobline--live.is-revealed::after { transform: scaleY(1); }

  .jl-step {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: .9rem;
    text-align: left;
    padding-inline: 0;
    align-items: start;
  }
  .jl-node { margin: .35rem 0 0; grid-row: span 2; }
  .jl-label, .jl-note { margin-inline: 0; max-width: none; }
  .jl-step[data-leak]::before {
    position: static;
    transform: none;
    display: inline-block;
    grid-column: 2;
    margin-bottom: .5rem;
  }
  .jl-step[data-leak]::after { display: none; }
}

/* --------------------------------------------------------------------------
   10. Problems section
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.problem-quote {
  border-left: 4px solid var(--orange);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy-700);
}
.problem-list { margin-top: 1.75rem; display: grid; gap: .65rem; }
.problem-list li {
  display: flex;
  gap: .7rem;
  font-size: .97rem;
  color: var(--steel);
  line-height: 1.5;
}
.problem-list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: .58rem;
  background: var(--concrete-deep);
  transform: rotate(45deg);
}
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Services
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-decoration: none;
  position: relative;
  transition: background-color .2s var(--ease);
}
.service:hover { background: var(--concrete); }
.service::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.service:hover::after { transform: scaleX(1); }

.service-icon { color: var(--orange); }
.service h3 { margin: 0; }
.service p { color: var(--steel); font-size: .95rem; line-height: 1.55; margin: 0; }
.service .outcome {
  margin-top: auto;
  padding-top: .85rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-ink);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.services-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.services-foot p { margin: 0; color: var(--steel); font-size: .95rem; max-width: 46ch; }

/* --------------------------------------------------------------------------
   12. Process
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.5rem; border-top: 2px solid var(--navy-700); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 0;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--orange-ink);
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--steel); font-size: .97rem; margin: 0; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Industries
   -------------------------------------------------------------------------- */
.industries {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.industries-media { position: relative; }
.industries-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}
.industries-media::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 62%;
  height: 6px;
  background: var(--orange);
}
.trade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.75rem;
}
.trade {
  background: var(--white);
  padding: 1rem 1.1rem;
  font-size: .93rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.trade::before {
  content: "";
  flex: none;
  width: 14px; height: 3px;
  background: var(--orange);
  transform: skewY(calc(var(--roof) * -1));
}
.section--concrete .trade { background: var(--concrete); }
.trade-note { margin-top: 1.5rem; color: var(--steel); font-size: .95rem; }
@media (max-width: 900px) {
  .industries { grid-template-columns: 1fr; }
  .industries-media img { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------------------
   14. Benefits
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
}
.benefit {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 1rem;
  line-height: 1.45;
  color: #DDE3E9;
}
.benefit svg { color: var(--orange); flex: none; margin-top: .18rem; }

/* --------------------------------------------------------------------------
   15. Why / connected job line
   -------------------------------------------------------------------------- */
.why-quote {
  font-family: var(--display);
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 30ch;
  margin: 0;
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. Results placeholder
   -------------------------------------------------------------------------- */
.results-note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px dashed var(--line);
  background: var(--white);
  padding: .5rem .75rem;
  margin-bottom: 1.5rem;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.result-card {
  border: 1px dashed var(--concrete-deep);
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(30, 42, 56, .022) 9px 18px);
  padding: 1.5rem 1.25rem;
  text-align: left;
}
.result-card .metric {
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--concrete-deep);
  display: block;
  margin-bottom: .6rem;
}
.result-card .metric-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 54rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 2.75rem 1.4rem 0;
  position: relative;
  font-family: var(--display);
  font-variation-settings: "wdth" 106;
  font-weight: 700;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  line-height: 1.3;
  letter-spacing: -.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--orange-ink); }
.faq .answer { padding: 0 3rem 1.6rem 0; color: var(--steel); font-size: .99rem; }

/* --------------------------------------------------------------------------
   18. Final CTA + form
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: grayscale(.5);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 25, 34, .9), rgba(16, 25, 34, .97));
}
.cta .wrap { position: relative; z-index: 2; }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.cta h2 { color: #fff; }
.cta-points { margin-top: 2rem; display: grid; gap: .85rem; }
.cta-points li {
  display: flex;
  gap: .7rem;
  font-size: .95rem;
  color: #B9C4CF;
  line-height: 1.45;
}
.cta-points svg { color: var(--orange); flex: none; margin-top: .2rem; }
.cta-direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
  line-height: 1.9;
  color: #93A2B0;
}
.cta-direct a {
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}
.cta-direct a:hover { text-decoration: underline; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* Form */
.form-card {
  background: var(--white);
  color: var(--navy-700);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-top: 4px solid var(--orange);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 1rem; }
.field label,
.fieldset-legend {
  display: block;
  font-family: var(--mono);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: .4rem;
}
.field .opt { color: var(--line); text-transform: none; letter-spacing: 0; font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* below 16px, iOS Safari zooms on focus — do not lower */
  color: var(--navy-700);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .85rem .85rem;
  min-height: 48px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 85, 31, .14);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #A9B3BD; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .15rem .9rem; }
.check {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding-block: .35rem;
  font-size: .95rem;
  cursor: pointer;
}
.check input {
  width: 21px;
  height: 21px;
  accent-color: var(--orange-cta);
  flex: none;
  margin: 0;
}

fieldset { border: 0; padding: 0; margin: 0 0 1rem; }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.form-consent { font-size: .8rem; color: var(--steel); line-height: 1.5; margin: .9rem 0 1.25rem; }
.form-consent a { color: var(--orange-ink); }

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--orange);
  background: var(--orange-wash);
  font-size: .95rem;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-left-color: #A2311C; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-700); color: #A9B7C4; font-size: .92rem; }
.footer .wrap { padding-block: clamp(3rem, 5vw, 4.25rem); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer img { width: 200px; margin-bottom: 1.1rem; }
.footer h4 {
  font-family: var(--mono);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer ul { display: grid; gap: .1rem; }
.footer li { line-height: 1.4; }
.footer a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.footer a:hover { color: var(--orange); }
.footer-tagline { max-width: 34ch; line-height: 1.55; }

.footer-base {
  border-top: 1px solid var(--line-dark);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: #8595A4;
}
.footer-base ul { display: flex; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   20. Sticky mobile action bar
   -------------------------------------------------------------------------- */
.mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobilebar ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.mobilebar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  padding: .7rem .5rem .75rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mobilebar li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.mobilebar li:last-child a { background: var(--orange-cta); }
.mobilebar svg { color: var(--orange); }
.mobilebar li:last-child svg { color: #fff; }

@media (max-width: 900px) {
  .mobilebar { display: block; }
  body { padding-bottom: 68px; }
}

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .jobline--live::after { transform: translateY(7px) scaleX(1); }
}

/* --------------------------------------------------------------------------
   22. Service area
   -------------------------------------------------------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.area-label {
  font-family: var(--mono);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: .9rem;
}
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.area-list li {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-700);
  display: flex;
}
/* A plain chip pads itself; a linked chip lets the <a> carry the padding
   so the entire chip is one 40px+ tap target, not just the text. */
.area-list li:not(:has(a)) {
  padding: .6rem .85rem;
  align-items: center;
  min-height: 40px;
}
.area-list li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: .6rem .85rem;
  width: 100%;
}
.area-list li a:hover { color: var(--orange-ink); }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   23. Inner pages — breadcrumb, text hero, light benefit list, active nav
   -------------------------------------------------------------------------- */
.nav a.is-active { color: var(--orange-ink); border-bottom-color: var(--orange); }
.mobile-nav a.is-active { color: var(--orange); }

.breadcrumb {
  padding-top: 1.15rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
}
.breadcrumb a {
  color: var(--steel);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.breadcrumb a:hover { color: var(--orange-ink); }
.breadcrumb .sep { margin: 0 .5rem; color: var(--line); }
.breadcrumb [aria-current] { color: var(--navy-700); }

.page-hero {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 6vw, 4.5rem);
  max-width: 46rem;
}
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #B9C4CF; max-width: 52ch; }

.benefits--light .benefit {
  color: var(--navy-700);
  border-top-color: var(--line);
}
.benefits--light .benefit svg { color: var(--orange); }

.stack-note {
  border-left: 4px solid var(--orange);
  padding-left: clamp(1.1rem, 3vw, 1.6rem);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--navy-700);
  max-width: 58ch;
}

/* GoHighLevel embedded form wrapper. The iframe's internal styling is
   controlled inside GHL, not here — this just reserves the space and
   keeps it flush with the card. */
.ghl-embed {
  width: 100%;
  margin: 0 -.25rem;
}
.ghl-embed iframe {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
  background: transparent;
}
