/* ============================================================
   STANISH GENERAL CONTRACTING LLC - blueprint theme
   Palette: cyanotype #173d63 / deeper #10293f / line-white #edf3f9
   Accent: markup orange #d9702b (single accent, ~70% sat)
   ============================================================ */

:root {
  --blue: #173d63;
  --blue-deep: #10293f;
  --blue-wash: #0e2740;
  --paper: #edf3f9;
  --paper-dim: #c3d3e2;
  --paper-faint: #93a9bf;
  --accent: #d9702b;
  --accent-deep: #b95a1e;
  --ink: #10293f;
  --line: rgba(237, 243, 249, 0.16);
  --line-soft: rgba(237, 243, 249, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.44rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --step-6: clamp(3rem, 1.7rem + 6.5vw, 6.2rem);
  --container: 1200px;
  --font-display: "Suez One", "Georgia", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--paper);
  background: var(--blue-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint blueprint grid across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(237,243,249,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237,243,249,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--accent); color: var(--ink);
  padding: 0.6rem 1rem; border-radius: 4px; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 1rem; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 100% - 48px); }

/* ---------- type ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-faint);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.eyebrow-ink { color: rgba(16, 41, 63, 0.72); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 0.9rem;
}
.section-title em, .final-title em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0;
}
.lede {
  color: var(--paper-dim);
  max-width: 62ch;
  margin-bottom: 2.6rem;
}
.lede p { color: var(--paper-dim); }

section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 3vw, 2rem);
  background: rgba(16, 41, 63, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  line-height: 1;
}
.brand-cell {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--paper);
  padding: 0.28rem 0.55rem 0.22rem;
  border-radius: 2px;
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--paper-faint);
  font-weight: 600;
}
.site-nav { display: flex; gap: 1.8rem; }
.site-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper-dim);
  position: relative;
  padding: 0.3rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.site-nav a:hover { color: var(--paper); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--accent);
  color: var(--ink);
  padding: 0.62rem 1.05rem;
  border-radius: 5px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.header-call:hover { transform: translateY(-2px); background: #e67f37; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7.5rem 0 5rem;
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(46, 110, 168, 0.55), transparent 70%),
    radial-gradient(800px 500px at 90% 110%, rgba(217, 112, 43, 0.14), transparent 60%),
    linear-gradient(var(--blue), var(--blue-deep));
}
.hero-inner { width: min(1020px, 100% - 48px); position: relative; z-index: 2; }
.hero .eyebrow { color: var(--accent); }

/* title-block registration frame */
.hero-frame { position: absolute; inset: clamp(1rem, 3vw, 2.5rem); z-index: 1; pointer-events: none; }
.hb { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(237,243,249,0.4); }
.hb.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hb.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hb.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hb.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.reg {
  position: absolute;
  font-size: 0.62rem; letter-spacing: 0.24em; font-weight: 600;
  color: var(--paper-faint);
}
.reg-1 { top: 0.5rem; left: 3rem; }
.reg-2 { bottom: 0.5rem; right: 3rem; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 1.9rem + 8.5vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.hero-title .accent {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0;
}
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask > span {
  display: inline-block;
  transform: translateY(112%);
  animation: rise 0.72s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--d, 0) * 0.07s);
}
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem);
  color: var(--paper-dim);
  max-width: 56ch;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 0.7s forwards;
}
.hero-ctas {
  display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 0.82s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.95rem 1.7rem;
  border-radius: 5px;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--ink); font-variant-numeric: tabular-nums; }
.btn-primary:hover { transform: translateY(-3px); background: #e67f37; box-shadow: 0 12px 28px rgba(217,112,43,0.35); }
.btn-ghost { border: 2px solid var(--line); color: var(--paper); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--paper); }

.trust-row {
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 0.94s forwards;
}
.trust-row li { display: flex; flex-direction: column; gap: 0.1rem; }
.trust-row strong { font-size: 1.02rem; font-weight: 800; letter-spacing: 0.01em; }
.trust-row span { font-size: 0.8rem; color: var(--paper-faint); letter-spacing: 0.04em; }

.hero-scroll {
  position: absolute;
  bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  color: var(--paper-faint);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 1.1s forwards, bob 2.4s ease-in-out 1.8s infinite;
  z-index: 2;
}
@keyframes bob { 0%,100% { margin-bottom: 0; } 50% { margin-bottom: 8px; } }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 0.5rem 0; }
.marquee {
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.85rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-0.6deg);
  width: 104%;
  margin-left: -2%;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}
.mq-x { font-size: 0.9rem; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services { background: var(--blue-deep); }
.sheet-index { border-top: 2px solid var(--line); }
.sheet-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0.5rem;
  border-bottom: 2px solid var(--line);
  transition: background 0.2s var(--ease), padding 0.2s var(--ease);
}
.sheet-row:hover { background: rgba(237,243,249,0.04); padding-left: 1.2rem; }
.sheet-no {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 4px;
  text-align: center;
  padding: 0.35rem 0;
}
.sheet-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}
.sheet-body p { color: var(--paper-dim); max-width: 58ch; }
.sheet-call {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  padding: 0.7rem 1.1rem;
  border-radius: 5px;
  white-space: nowrap;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s var(--ease);
}
.sheet-call:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- dimension-line divider ---------- */
.dim-divider { padding: 0.4rem 0; background: transparent; }
.dim-divider svg { display: block; width: 100%; height: 64px; }
.dim-label {
  fill: var(--paper-faint);
  font-size: 15px;
  letter-spacing: 0.3em;
  font-weight: 600;
}
.dim-line, .dim-tick { stroke: var(--accent); stroke-width: 2; }
.js .dim-line {
  stroke-dasharray: 1104; stroke-dashoffset: 1104;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.js .dim-tick { opacity: 0; transition: opacity 0.4s var(--ease) 1s; }
.js .dim-label { opacity: 0; transition: opacity 0.6s var(--ease) 1.1s; }
.js .dim-divider.draw .dim-line { stroke-dashoffset: 0; }
.js .dim-divider.draw .dim-tick, .js .dim-divider.draw .dim-label { opacity: 1; }

/* ---------- proof / timeline ---------- */
.proof { background: var(--blue-wash); }
.proof-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.timeline { position: relative; padding-left: 1.9rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.timeline li { position: relative; padding: 0.75rem 0; }
.timeline li::before {
  content: ""; position: absolute; left: -1.9rem; top: 1.15rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-wash);
  border: 3px solid var(--accent);
}
.timeline time {
  font-size: 0.78rem; letter-spacing: 0.18em; font-weight: 700;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.timeline p { color: var(--paper); font-size: 1.02rem; }
.stats { display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 7rem; }
.stat {
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem;
  background: rgba(237,243,249,0.03);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 1;
  color: var(--accent);
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--paper-dim); font-size: 0.92rem; display: block; margin-top: 0.4rem; }

/* ---------- title-block wipe band ---------- */
.wipe { background: var(--blue-deep); padding: 0; overflow: hidden; }
.wipe-inner {
  display: flex;
  flex-wrap: wrap;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.js .wipe-inner {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease);
}
.wipe.wipe-in .wipe-inner { clip-path: inset(0 0 0 0); }
.wipe-inner span {
  flex: 1 1 auto;
  font-size: 0.72rem; letter-spacing: 0.2em; font-weight: 700;
  color: var(--paper-faint);
  padding: 0.9rem 1.4rem;
  border-right: 2px solid var(--line);
  white-space: nowrap;
}
.wipe-inner span:first-child { color: var(--paper); }

/* ---------- elevation band (working drawing) ---------- */
.elevation {
  background: var(--blue-deep);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  overflow: hidden;
}
.elevation-svg {
  display: block;
  width: min(1100px, 100% - 48px);
  height: auto;
  margin-inline: auto;
}
.el-line {
  stroke: rgba(237, 243, 249, 0.55);
  stroke-width: 2.5;
  fill: none;
}
.el-line.el-accent { stroke: var(--accent); }
.el-label, .el-tag {
  fill: var(--paper-faint);
  font-size: 17px;
  letter-spacing: 0.28em;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.4s;
}
.el-tag { font-size: 14px; }
.js .el-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.js .elevation.drawn .el-line { stroke-dashoffset: 0; }
.js .elevation.drawn .el-label, .js .elevation.drawn .el-tag { opacity: 1; }

/* ---------- process ---------- */
.process { background: var(--blue-deep); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.process-steps li {
  padding: 2rem 1.6rem;
  border-right: 2px solid var(--line);
  transition: background 0.2s var(--ease);
}
.process-steps li:last-child { border-right: 0; }
.process-steps li:hover { background: rgba(237,243,249,0.045); }
.step-no {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}
.process-steps h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.process-steps p { color: var(--paper-dim); font-size: 0.95rem; }

/* ---------- service area / title block ---------- */
.area { background: var(--blue-wash); }
.title-block {
  border: 3px solid var(--paper);
  border-radius: 4px;
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
}
.tb-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 2px solid var(--line);
}
.tb-row:last-child { border-bottom: 0; }
.tb-row > span { padding: 1.1rem 1.5rem; }
.tb-row > span:first-child { border-right: 2px solid var(--line); }
.tb-head {
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.tb-head > span:last-child { text-align: right; font-size: 0.85rem; align-self: center; }
.tb-label { font-size: 0.72rem; letter-spacing: 0.22em; font-weight: 700; color: var(--paper-faint); align-self: center; }
.tb-row a { font-weight: 700; color: var(--paper); }
.tb-row a:hover { color: var(--accent); }

/* ---------- faq ---------- */
.faq { background: var(--blue-deep); }
.faq-list { border-top: 2px solid var(--line); }
.faq-item { border-bottom: 2px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-align: left;
  padding: 1.4rem 0.4rem;
  cursor: pointer;
  letter-spacing: 0;
}
.faq-q:hover { color: var(--accent); }
.faq-plus {
  flex: none;
  width: 38px; height: 38px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-family: var(--font-body); font-weight: 400;
  transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item.open .faq-plus { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq-a { overflow: hidden; }
.js .faq-a { max-height: 0; transition: max-height 0.45s var(--ease); }
.js .faq-item.open .faq-a { max-height: 24em; }
.faq-a p { color: var(--paper-dim); padding: 0 0.4rem 1.6rem; max-width: 64ch; }
.faq-a a { font-weight: 700; color: var(--paper); }

/* ---------- final cta ---------- */
.final-cta {
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(16,41,63,0.25), transparent 60%),
    var(--accent);
  color: var(--ink);
  text-align: center;
  padding: clamp(5rem, 11vw, 9rem) 0;
}
.final-cta .eyebrow-ink { color: rgba(16,41,63,0.7); }
.final-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.6rem + 5.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1.6rem;
}
.final-title em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--ink);
}
.final-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.2rem + 6vw, 5.6rem);
  text-decoration: none;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 2rem;
  transition: transform 0.2s var(--ease);
}
.final-phone:hover { transform: scale(1.03); }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 2.8rem;
}
.btn-ink:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,41,63,0.4); }
.trust-ink strong { color: var(--ink); }
.trust-ink span { color: rgba(16,41,63,0.7); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--blue-deep);
  border-top: 2px solid var(--line);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.footer-name { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; }
.site-footer p { color: var(--paper-dim); }
.site-footer a { font-weight: 600; }
.footer-note { max-width: 34ch; }
.photo-credit {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  font-size: 0.75rem;
  color: var(--paper-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 1.2rem;
}

/* ---------- sticky mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    background: var(--accent);
    border-top: 2px solid var(--ink);
  }
  .callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
  }
  body { padding-bottom: 60px; }
}

/* ---------- reveal system ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .stats { position: static; flex-direction: row; }
  .stat { flex: 1; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li:nth-child(2) { border-right: 0; }
  .process-steps li:nth-child(1), .process-steps li:nth-child(2) { border-bottom: 2px solid var(--line); }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .brand-sub { display: none; }
  .sheet-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .sheet-no { width: 84px; }
  .sheet-call { justify-self: start; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { border-right: 0; border-bottom: 2px solid var(--line); }
  .process-steps li:last-child { border-bottom: 0; }
  .tb-row { grid-template-columns: 1fr; }
  .tb-row > span:first-child { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .tb-row > span { padding: 0.8rem 1.2rem; }
  .reg-1 { left: 2.4rem; }
  .hero-scroll { display: none; }
}
@media (max-width: 460px) {
  .stats { flex-direction: column; }
  .header-call { font-size: 0.85rem; padding: 0.55rem 0.8rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .mask > span { transform: none; }
  .js .reveal, .hero-sub, .hero-ctas, .trust-row, .hero-scroll { opacity: 1 !important; transform: none !important; }
  .dim-line { stroke-dashoffset: 0 !important; }
  .dim-tick, .dim-label { opacity: 1 !important; }
  .wipe-inner { clip-path: inset(0 0 0 0) !important; }
  .marquee-track { animation: none !important; }
  .js .faq-a { grid-template-rows: 1fr; }
}

/* ---------- field record (cyanotype job-site illustration) ---------- */
.field-record { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--blue-deep); position: relative; z-index: 1; }
.fr-sheet { border: 1px solid var(--line); background: var(--blue-wash); padding: clamp(1.2rem, 3vw, 2.5rem); }
.fr-frame { border: 1px solid var(--line-soft); background: #164063; overflow: hidden; }
.fr-svg { display: block; width: 100%; height: auto; }
.fr-meta { margin-top: 1.75rem; max-width: 62ch; }
.fr-meta .section-title { margin: 0.4rem 0 0.8rem; }
.fr-titleblock { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: space-between; margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.78rem; letter-spacing: 0.18em; color: var(--paper-faint); }
@media (max-width: 640px) {
  .fr-titleblock { font-size: 0.7rem; }
}
