/* ============================================================
   HOMEPAGE BELOW THE HERO (home-lab, 2026-09-24)
   Carries the Press Proof hero language down the page: channel
   colors as the only accents, halftone and registration marks as
   texture, real shop photography framed with the viewfinder.
   Every entrance still rides the fail-safe .rise system.
   ============================================================ */

/* shared: a faint halftone on dark bands */
.why,
#industries,
#faq {
  background-image: radial-gradient(
    circle,
    rgba(150, 255, 0, 0.07) 0.8px,
    transparent 1.3px
  );
  background-size: 9px 9px;
}

/* ---------- 01 the separation: the press panel shows the real work ---------- */
.press.px {
  aspect-ratio: 1 / 1;
  background: #05080a;
}
.press.px::before {
  z-index: 3;
  opacity: 0.6;
  pointer-events: none;
}
.press.px::after {
  z-index: 3;
  inset: 22px 22px 58px 22px;
  border-color: rgba(255, 255, 255, 0.22);
}
.press.px .layer {
  z-index: 2;
  place-items: end start;
  transition: opacity 0.45s var(--snap);
}
.press.px .layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.8);
  transform: scale(1.06);
  transition: transform 1.6s var(--snap);
}
.press.px .layer.on img {
  transform: scale(1);
}
.press.px .layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.82) 88%
  );
}
.press.px .layer::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 44px;
  height: 4px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--snap) 0.1s;
}
.press.px .layer.on::before {
  transform: scaleX(1);
}
.press.px .mark {
  position: relative;
  z-index: 3;
  font-size: clamp(44px, 6.4vw, 92px);
  padding: 0 28px 64px;
  text-align: left;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.press.px .ghost {
  z-index: 3;
  color: rgba(255, 255, 255, 0.12);
  bottom: auto;
  top: 18px;
  right: 26px;
  font-size: clamp(70px, 10vw, 140px);
}
.press.px .cap {
  z-index: 4;
}

/* ---------- bleed statement ---------- */
.bleed .pull {
  max-width: 26ch;
}
.bleed .pull em {
  font-style: normal;
  color: var(--volt);
}
.bleed-sw {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}
.bleed-sw i {
  display: block;
  width: 34px;
  height: 6px;
  background: var(--c);
}

/* ---------- 02 why: six numbered cards, flush 3 x 2 ---------- */
.wx-grid {
  grid-template-columns: repeat(3, 1fr);
}
.why-c.wx {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 30px;
  gap: 10px;
  background: linear-gradient(
    180deg,
    rgba(19, 30, 36, 0.96),
    rgba(11, 17, 22, 0.96)
  );
  transition:
    transform 0.35s var(--snap),
    border-color 0.25s linear;
}
.why-c.wx::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 0;
  background: var(--c);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.5s var(--snap);
}
.why-c.wx:hover {
  transform: translateY(-4px);
  border-color: #33424c;
}
.why-c.wx:hover::before {
  transform: scaleX(1);
}
.wx-n {
  font-family: "Staatliches", sans-serif;
  font-size: 40px;
  line-height: 1;
  color: var(--c);
}
.why-c.wx::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

/* ---------- 03 contract: the shop floor behind the credentials ---------- */
.creds.cx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cx-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cx-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.35) contrast(1.1) brightness(0.32);
}
.cx-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(150, 255, 0, 0.16) 0.9px, transparent 1.5px) 0
      0 / 8px 8px,
    linear-gradient(
      90deg,
      rgba(5, 9, 11, 0.95) 0%,
      rgba(5, 9, 11, 0.7) 60%,
      rgba(5, 9, 11, 0.85) 100%
    );
}
.creds.cx .cred {
  background: rgba(0, 0, 0, 0.72);
  transition:
    border-color 0.25s linear,
    transform 0.35s var(--snap);
}
.creds.cx .cred:hover {
  border-color: var(--volt);
  transform: translateY(-4px);
}

/* ---------- 04 process: colored numerals on a drawn rail ---------- */
.px-steps {
  position: relative;
}
.px-steps li {
  border-top: 0;
  padding: 18px 0 18px 58px;
  display: block;
  position: relative;
}
.px-steps li::before {
  position: absolute;
  left: 0;
  top: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--c, var(--volt));
  border-radius: 50%;
  font-size: 18px;
  color: var(--c, var(--volt));
  background: var(--ink);
  z-index: 2;
}
.px-steps li:nth-child(1) {
  --c: #96ff00;
}
.px-steps li:nth-child(2) {
  --c: #f5b841;
}
.px-steps li:nth-child(3) {
  --c: #e6007e;
}
.px-steps li:nth-child(4) {
  --c: #00b4d8;
}
.px-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 58px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(var(--c), #243038);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--snap) 0.2s;
}
.px-steps li.in:not(:last-child)::after,
html:not(.js) .px-steps li:not(:last-child)::after,
html.no-anim .px-steps li:not(:last-child)::after {
  transform: scaleY(1);
}

/* ---------- 05 about: collage with a turning stamp ---------- */
.ab {
  position: relative;
  padding: 0 0 70px 0;
}
.ab-main {
  margin: 0;
  border: 2px solid var(--rule);
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.ab-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.86);
}
.ab-inset {
  position: absolute;
  margin: 0;
  right: -18px;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid #33424c;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  transform: rotate(2.5deg);
}
.ab-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-stamp {
  position: absolute;
  left: -26px;
  bottom: 18px;
  width: 128px;
  height: 128px;
  z-index: 4;
  animation: abSpin 26s linear infinite;
}
.ab-stamp > circle {
  fill: var(--volt);
}
.ab-stamp text {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  fill: #000;
}
.ab-t circle,
.ab-t line {
  fill: none;
  stroke: #000;
  stroke-width: 2.5;
}
@keyframes abSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 06 industries: numbered, channel-striped ---------- */
.ind {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 20px 20px;
}
.ind::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c);
  transform: scaleY(0.3);
  transform-origin: top;
  transition: transform 0.4s var(--snap);
}
.ind:hover::before {
  transform: scaleY(1);
}
.ind-n {
  position: absolute;
  right: 14px;
  top: 12px;
  font-family: "Staatliches", sans-serif;
  font-size: 22px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  transition: color 0.3s linear;
}
.ind:hover .ind-n {
  color: var(--c);
}
.ind b {
  padding-right: 34px;
}

/* ---------- 07 proof: rating panel + quotes ---------- */
.pv {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: 38px;
  align-items: stretch;
}
.pv-q {
  margin-top: 0;
}
.pv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px;
  border-radius: var(--r);
  background: var(--volt);
  color: #000;
  overflow: hidden;
  transition: transform 0.35s var(--snap);
}
.pv-card:hover {
  transform: translateY(-4px);
}
.pv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.12) 1px,
    transparent 1.6px
  );
  background-size: 8px 8px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%);
  mask-image: linear-gradient(200deg, #000, transparent 60%);
  pointer-events: none;
}
.pv-g {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: var(--volt);
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 24px;
}
.pv-num b {
  display: block;
  font-family: "Staatliches", sans-serif;
  font-weight: 400;
  font-size: clamp(72px, 7vw, 104px);
  line-height: 0.9;
}
.pv-num span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.pv-stars {
  font-size: 22px;
  letter-spacing: 4px;
}
.pv-note {
  font-size: 15px;
  font-weight: 500;
  color: #14260a;
}
.pv-card .more {
  margin-top: auto;
  color: #000;
}
.pv-card .more:hover {
  border-bottom-color: #000;
}
.pv-q .q {
  position: relative;
  padding-top: 44px;
}
.pv-q .q::before {
  content: "\201C";
  position: absolute;
  left: 22px;
  top: 6px;
  font-family: "Staatliches", sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--volt);
}
.pv-q .q:nth-child(2)::before {
  color: #f5b841;
}
.pv-q .q:nth-child(3)::before {
  color: #e6007e;
}
.pv-q .q:nth-child(4)::before {
  color: #00b4d8;
}

/* ---------- 08 faq: accordion ---------- */
.fx {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(18px, 3vw, 40px);
  margin-top: 30px;
  align-items: start;
}
.fx-i {
  border-top: 2px solid var(--rule);
}
.fx-i:nth-last-child(-n + 2) {
  border-bottom: 2px solid var(--rule);
}
.fx-i summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  min-height: 44px;
}
.fx-i summary::-webkit-details-marker {
  display: none;
}
.fx-i summary h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  color: var(--paper);
  transition: color 0.2s linear;
}
.fx-i summary:hover h3,
.fx-i[open] summary h3 {
  color: var(--volt);
}
.fx-i summary i {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 2px solid #33424c;
  border-radius: 50%;
  transition:
    border-color 0.2s linear,
    transform 0.35s var(--snap);
}
.fx-i summary i::before,
.fx-i summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--paper);
  transform: translate(-50%, -50%);
}
.fx-i summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s var(--snap);
}
.fx-i[open] summary i {
  border-color: var(--volt);
  transform: rotate(180deg);
}
.fx-i[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.fx-i p {
  padding: 0 44px 22px 0;
  font-size: 15.5px;
  color: #aab5af;
}

/* ---------- 09 area: county chips ---------- */
.ax-counties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ax-counties a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--rule);
  border-radius: var(--r);
  background: var(--panel-2);
  font-family: "Staatliches", sans-serif;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s linear;
}
.ax-counties a::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--c);
}
.ax-counties a:hover {
  border-color: var(--c);
}

/* ---------- 10 closer: halftone and the color bar ---------- */
.closer.cl-x {
  overflow: hidden;
  isolation: isolate;
}
.closer.cl-x::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.16) 1px,
    transparent 1.7px
  );
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 120%,
    #000 10%,
    transparent 70%
  );
  mask-image: radial-gradient(ellipse at 50% 120%, #000 10%, transparent 70%);
}
.closer.cl-x::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    #96ff00 0 16.66%,
    #f5b841 16.66% 33.33%,
    #e6007e 33.33% 50%,
    #00b4d8 50% 66.66%,
    #7a4dff 66.66% 83.33%,
    #ff6b35 83.33% 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .ab-stamp {
    animation: none;
  }
  .press.px .layer img,
  .why-c.wx,
  .creds.cx .cred,
  .pv-card {
    transition: none;
  }
}

/* ---------- sizes ---------- */
@media (max-width: 1020px) {
  .wx-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pv {
    grid-template-columns: 1fr;
  }
  .pv-card {
    align-items: center;
    text-align: center;
  }
  .fx {
    grid-template-columns: 1fr;
  }
  .fx-i:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .fx-i:last-child {
    border-bottom: 2px solid var(--rule);
  }
  .fx-i summary h3 {
    text-align: left;
  }
  .fx-i p {
    text-align: left;
  }
  .ax-counties {
    justify-content: center;
  }
  .ab {
    max-width: 620px;
    margin: 0 auto;
  }
  .ab-inset {
    right: 0;
  }
  .ab-stamp {
    left: 0;
  }
  .px-steps li {
    text-align: left;
  }
  .press.px .mark {
    text-align: left;
  }
}
@media (max-width: 640px) {
  .wx-grid {
    grid-template-columns: 1fr;
  }
  .ab-stamp {
    width: 96px;
    height: 96px;
    bottom: 26px;
  }
  .ab {
    padding-bottom: 54px;
  }
  .fx-i p {
    padding-right: 0;
  }
}

/* ---------- fixes after first review ---------- */
.why-c .wx-n {
  font-size: 40px;
  color: var(--c);
  letter-spacing: 0;
}
.why-c.wx b {
  line-height: 1.02;
}
.bleed .pull {
  max-width: none;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}
.fx {
  align-items: start;
}
.fx-col {
  display: grid;
}
.fx-i:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.fx-col .fx-i:last-child {
  border-bottom: 2px solid var(--rule);
}
.ax-counties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ax-counties a {
  justify-content: center;
  padding: 8px 10px;
  font-size: 15px;
  white-space: nowrap;
}
@media (max-width: 1020px) {
  .fx {
    gap: 0;
  }
  .fx-col + .fx-col .fx-i:first-child {
    border-top: 0;
  }
  .fx-col:first-child .fx-i:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 560px) {
  .ax-counties {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .area .towns {
    grid-template-columns: 1fr 1fr;
  }
}
