
.form-card .field { grid-column: 1 / -1; margin-bottom: 0; }

/* --- Static homepage scaffold ------------------------------------------ */
.rooflines::before { display: none; }

.nav__logo .word,
.footer__logo .word {
  width: auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.nav__logo .word strong,
.footer__logo .word strong { color: var(--orange); font-weight: 600; }

/* Use the brand's dark gradient in place of the reference site's unavailable
   photography until Tempered Trades has approved imagery. */
.hero {
  background-color: var(--ink);
  background-image:
    radial-gradient(58% 62% at 92% -14%, rgba(255,87,34,.20), rgba(255,87,34,0) 62%),
    radial-gradient(66% 60% at 2% 106%, rgba(26,58,99,.46), rgba(26,58,99,0) 64%),
    linear-gradient(180deg, #17171A 0%, #1A1A1D 46%, #121215 100%);
}
.home-hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(21rem, .95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}
.home-hero__grid .hero__copy { max-width: 46rem; }
.hero-art { position: relative; padding: 1rem 0 1.75rem; }
.hero .hero__stats { margin-top: clamp(2rem, 4vw, 3.5rem); }
.hero__stat b { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.hero__stat span { letter-spacing: .02em; text-transform: none; }

.about-note {
  position: relative;
  min-height: 340px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255,87,34,.12), transparent 55%),
    linear-gradient(145deg, #222329, #151519);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.about-note blockquote {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.about-note__signoff { margin-top: 1.5rem; color: #B8BDC4; font-size: .875rem; }
.product-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 1rem;
  padding: .35rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--orange-deep);
  font-size: var(--fs-caption);
  font-weight: 600;
}
.card--outline { border-style: dashed; background: #FCFCFD; }
.card .link-arrow { margin-top: 1rem; }
@media (max-width: 939.98px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 36rem); margin-inline: auto; }}
@media (max-width: 559.98px) {
  .about-note { min-height: 280px; }}
/* --- Tempered Trades identity pass ------------------------------------
   Squared buttons, flat outlined cards, and a diagonal line texture on the
   dark bands in place of the orange glow. Overrides the framework tokens
   above without touching layout. */
:root {
  --tt-radius: 6px;
  --tt-card-radius: 12px;
  --tt-charcoal: #2A2C33;
  --tt-charcoal-soft: #C9CCD2;
  --tt-lines:
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 16px);
}

/* Buttons: same weight and label, square edges. */
.btn, .skip { border-radius: var(--tt-radius); }
.btn--primary { box-shadow: none; }
.btn--primary:hover { box-shadow: none; transform: translateY(-1px); }
.btn--outline { border-width: 1.5px; }
.product-tag { border-radius: 4px; }

.card, .step, .form-card {
  border: 1px solid var(--tt-charcoal-soft);
  border-radius: var(--tt-card-radius);
  box-shadow: none;
}
.card:hover, .step:hover {
  border-color: var(--tt-charcoal);
  box-shadow: none;
  transform: none;
}
.card--outline { border-style: dashed; border-color: var(--tt-charcoal-soft); background: var(--white); }

/* Dark bands: drop the orange bloom, add a faint diagonal line texture. */
.hero,
.page-hero,
.cta,
.site-footer {
  background-image:
    var(--tt-lines),
    linear-gradient(180deg, #17171A 0%, #1A1A1D 60%, #141417 100%);
}
.hero::before, .page-hero::before, .cta::before { display: none; }

.about-note {
  border-color: rgba(255,255,255,.12);
  border-radius: var(--tt-card-radius);
  box-shadow: none;
  background-image:
    var(--tt-lines),
    linear-gradient(145deg, #222329, #151519);
}

/* Hero product image: edges fade into the hero background so the
   rectangular frame of the render doesn't show. */
.hero-art { padding: 0; }
.hero-art__img {
  width: 100%;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent);
  mask-composite: intersect;
}

/* --- Cards: dark panels, icon beside the heading ------------------------
   Replaces the tinted icon tile stacked above each heading. Cards carry the
   same ink surface and line texture as the hero so they stand off the light
   bands; the call-to-action card is solid orange. */
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-color: var(--tt-charcoal);
  background-color: #1A1A1D;
  background-image: var(--tt-lines), linear-gradient(160deg, #24252B, #151519);
  color: var(--white);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.card::before { display: none; }
.card:hover, .card:focus-within { border-color: var(--orange); }
.card h3, .trio .card h3 {
  margin-bottom: .75rem;
  color: var(--white);
  font-size: clamp(1.3125rem, 1.1rem + .8vw, 1.625rem);
  letter-spacing: 0;
  text-transform: none;
}
.card__title { display: flex; align-items: flex-start; gap: .75rem; }
.card__glyph { flex: none; width: 30px; height: 30px; margin-top: .05em; color: var(--orange); }
.card p, .trio .card p { color: #B8BDC4; font-size: var(--fs-body); line-height: 1.6; }
.card .product-tag {
  margin-top: auto;
  background: rgba(255,87,34,.16);
  color: #FF8A65;
}
.card p + .product-tag, .card p + .link-arrow { margin-top: auto; }
.card p { margin-bottom: 1.25rem; }
.trio .card p { margin-bottom: 0; }
.card .link-arrow { color: var(--white); }

.card--outline {
  border: 1px solid var(--orange-cta);
  background: var(--orange-cta);
  background-image: none;
}
.card--outline:hover, .card--outline:focus-within { border-color: var(--white); }
.card--outline .card__glyph { color: var(--white); }
.card--outline p { color: #FFF1EB; }
.card--outline .link-arrow { text-decoration: underline; text-underline-offset: .25em; }
.card .link-arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

@media (min-width: 768px) {
  .card { padding: 2rem; }
  .card__glyph { width: 34px; height: 34px; }}
/* Two-column range: a lone last card spans the row instead of leaving a gap. */
@media (min-width: 680px) {
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }}
@media (min-width: 1020px) {
  .grid--3 > :last-child:nth-child(odd) { grid-column: auto; }}

/* --- Process steps: a path that draws through the steps in order ---------
   Each step has a node on a rail and a segment running to the next node.
   Without JS, or with reduced motion, the finished path simply shows.
   site.js arms the list (path undrawn) and draws it once on scroll into view.
   Works for any number of steps: timing comes from --i, set per step in JS. */
.steps {
  --step-rail: 2.25rem;
  --step-beat: 1400ms;
  --step-card-wait: 650ms; /* card waits for its dot to finish turning orange */
  --seg-undrawn: scaleY(0);
  grid-template-columns: 1fr;
  padding-left: var(--step-rail);
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: calc(var(--step-rail) * -1);
  top: 1.75rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--neutral);
  transition:
    background-color 200ms var(--ease) calc(var(--i, 0) * var(--step-beat)),
    box-shadow 200ms var(--ease) calc(var(--i, 0) * var(--step-beat));
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--step-rail) * -1 + 6px);
  top: 1.75rem;
  width: 2px;
  height: calc(100% + var(--s-2) + 2px);
  background: var(--orange);
  transform-origin: top left;
  transition: transform 1000ms ease-in-out calc(var(--i, 0) * var(--step-beat) + 300ms);
}
.steps--armed:not(.is-drawn) .step::before {
  background: var(--tt-charcoal-soft);
  transition: none;
}
.steps--armed:not(.is-drawn) .step::after { transform: var(--seg-undrawn); transition: none; }
.steps--armed.is-drawn .step {
  animation: step-lit 2800ms ease-in-out calc(var(--i, 0) * var(--step-beat) + var(--step-card-wait));
}
.steps--armed.is-drawn .step h3 {
  animation: step-lit-title 2800ms ease-in-out calc(var(--i, 0) * var(--step-beat) + var(--step-card-wait));
}
.steps--armed.is-drawn .step p {
  animation: step-lit-text 2800ms ease-in-out calc(var(--i, 0) * var(--step-beat) + var(--step-card-wait));
}
.steps--armed.is-drawn .step::before {
  animation: step-node 600ms var(--ease) calc(var(--i, 0) * var(--step-beat)) backwards;
}
/* The active step fills with the brand orange, holds briefly, then fades
   back as the path moves on. */
@keyframes step-lit {
  35%, 55% { background-color: var(--orange); border-color: var(--orange); }
}
/* Text flips quickly around the midpoint of each fade so it is never
   left grey-on-salmon for long. */
@keyframes step-lit-title {
  12%, 80% { color: var(--navy); }
  24%, 68% { color: var(--white); }
}
@keyframes step-lit-text {
  12%, 80% { color: var(--slate); }
  24%, 68% { color: var(--white); }
}
@keyframes step-node {
  0% { transform: scale(1); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
@media (min-width: 680px) {
  .steps { grid-template-columns: 1fr; }
  .step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: var(--s-2);
    align-items: baseline;
  }
  .step h3 { margin-bottom: 0; }}
@media (min-width: 1040px) {
  .steps {
    --seg-undrawn: scaleX(0);
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    padding-left: 0;
    padding-top: 2.5rem;
  }
  .step { display: block; }
  .step h3 { margin-bottom: .5rem; }
  .step::before { left: 0; top: -2.5rem; }
  .step:not(:last-child)::after {
    left: 0;
    top: calc(-2.5rem + 6px);
    width: calc(100% + var(--s-2) + 2px);
    height: 2px;
  }}

/* --- Home hero: dusk job-site photograph --------------------------------
   The photo hangs off the stat panel, so the horizon always lands just above
   the panel whatever the hero's height. It is full-bleed, never narrower than
   1100px (so the trucks stay legible on phones), and fades out at the top and
   bottom into the hero's own dark background. */
.hero { isolation: isolate; }
.hero .hero__stats {
  position: relative;
  overflow: visible;              /* the photo hangs outside the panel */
  margin-top: 5.5rem;
  background: #17171A;            /* solid, not frosted, over a photograph */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero .hero__stats::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: calc(100% - 2.75rem);
  width: max(100vw, 1100px);
  aspect-ratio: 1916 / 821;
  transform: translateX(-50%);
  background: url("images/home/hero-bg-1100.webp") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 68%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 30%, #000 68%, #000 90%, transparent 100%);
  pointer-events: none;
}
/* Lets the photo's glow show through the dark surround of the product render
   instead of the render sitting on it as a black box. */
.hero-art__img { mix-blend-mode: lighten; }
@media (min-width: 768px) {
  .hero .hero__stats::before { background-image: url("images/home/hero-bg-1916.webp"); }}
@media (min-width: 940px) {
  .hero .hero__stats { margin-top: 6.5rem; }
  .hero .hero__stats::before { bottom: calc(100% - 4.5rem); }}
/* --- Content components added with the real copy ------------------------- */
.page-hero h1 { max-width: 24ch; }
.section-more { margin-top: var(--s-2); }
.split__body .checks + .link-arrow { margin-top: var(--s-2); }

/* Product list: name, what it does, price. Stacks on phones, three columns
   from 900px so the whole row reads left to right. */
.suite { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.suite__item {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--tt-charcoal-soft);
  border-radius: var(--tt-card-radius);
  background: var(--white);
  scroll-margin-top: 6rem;
}
.suite__name h3 { font-size: clamp(1.3125rem, 1.1rem + .8vw, 1.625rem); }
.suite__name .product-tag { margin-top: .625rem; }
.suite__head { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--navy); margin-bottom: .375rem; }
.suite__body p:last-child { color: var(--slate); }
.suite__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--navy);
  white-space: nowrap;
}
.suite__price small { display: block; font-family: var(--font); font-size: var(--fs-caption); font-weight: 500; color: var(--slate); }
.suite__price--ask { font-size: 1rem; }
.suite__price--ask a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--orange-deep); text-decoration: underline; text-underline-offset: .25em;
}
@media (min-width: 900px) {
  .suite__item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) 10rem;
    gap: 2.5rem;
    align-items: start;
    padding: 2rem;
  }
  .suite__price { text-align: right; }
}

/* Questions and answers: always visible, two columns on wide screens. */
.faq { display: grid; gap: 1.5rem; margin: 0; }
.faq__item { padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.faq dt { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--navy); margin-bottom: .5rem; }
.faq dd { margin: 0; color: var(--slate); }
.faq a, .legal a, .footer__tag a, .footer__legal a { text-decoration: underline; text-underline-offset: .2em; }
.faq a, .legal a { color: var(--orange-deep); }
@media (min-width: 768px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; } }
@media (min-width: 1200px) { .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Contact page email */
.contact-email { margin: .5rem 0 1.25rem; }
.contact-email a {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, .9rem + 1.8vw, 2rem);
  color: var(--orange-deep); overflow-wrap: anywhere;
  text-decoration: underline; text-underline-offset: .2em;
}
.form-card .btn-row { margin-top: var(--s-2); }

/* Legal pages: heading left, text right on wide screens. */
.legal section { display: grid; gap: .75rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.25rem; }
.legal p { color: var(--slate); }
.legal p + p { margin-top: .875rem; }
@media (min-width: 900px) {
  .legal section { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 3rem; padding-block: 2rem; }
}

/* Image placeholder: stands in for a photo or screenshot until one is supplied.
   WordPress build: an ACF image field; this block shows only while it is empty. */
.img-slot {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .5rem;
  margin: 0;
  padding: 1.5rem;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--tt-charcoal-soft);
  border-radius: var(--tt-card-radius);
  background: var(--neutral);
  color: var(--slate);
  text-align: center;
}
.section--tint .img-slot { background: var(--white); }
.img-slot__label { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--navy); }
.img-slot__note { max-width: 34ch; }
.img-slot__size { font-size: var(--fs-caption); }
address { font-style: normal; }
.footer__tag a { display: inline-block; margin-top: .5rem; }
