/* Seidlin Inspections — page sections */

/* ---------- Hero ---------- */
.hero { padding-block: clamp(4rem, 8vw, 8rem) clamp(3rem, 6vw, 6rem); position: relative; overflow: clip; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 620;
  color: var(--color-blueprint);
}

.hero .lead {
  font-size: var(--text-lead);
  color: var(--color-ink-soft);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-phone {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}
.hero-phone a { font-weight: 700; color: var(--color-ink); text-decoration-color: var(--color-amber); }

/* Hero spec card — the "inspection tag" */
.spec-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 1.6rem 1.7rem;
  rotate: 1.2deg;
  position: relative;
}
.spec-card::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  translate: -50% 0;
  width: 4.5rem;
  height: 1.4rem;
  background: oklch(74% 0.145 70 / 0.55);
  border: 1px solid oklch(74% 0.145 70 / 0.7);
  rotate: -2deg;
}
.spec-card h2 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-blueprint);
  margin-bottom: 1rem;
}
.spec-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-sm);
  border-bottom: 1px dashed var(--color-blueprint-soft);
  padding-bottom: 0.7rem;
}
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list .k { color: var(--color-ink-soft); }
.spec-list .v { font-family: var(--font-mono); font-weight: 600; text-align: right; }
.spec-list .v.pass { color: var(--color-pass); }

/* Trust bar */
.trustbar { border-block: 1.5px solid var(--color-ink); background: var(--color-card); padding-block: 1.1rem; }
.trustbar ul {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trustbar li::before { content: "▸ "; color: var(--color-amber-hover); }

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--color-card);
  border: 1px solid var(--color-blueprint-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo),
              border-color var(--duration-fast) ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--color-blueprint); }
.svc .num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-blueprint);
  letter-spacing: 0.14em;
}
.svc h3 { font-size: var(--text-h3); margin: 0.5rem 0 0.6rem; }
.svc p { font-size: var(--text-sm); color: var(--color-ink-soft); }

/* ---------- The 3-hour difference / process ---------- */
.process { background: var(--color-ink); color: oklch(93% 0.008 85); }
.process .kicker { color: var(--color-amber); }
.process .kicker::before { background: var(--color-amber); }
.process h2 { color: oklch(98.5% 0 0); }
.process .lead { color: oklch(93% 0.008 85 / 0.75); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { border-top: 1.5px solid var(--color-amber); padding-top: 1.1rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-amber);
}
.step h3 { font-size: 1.15rem; margin: 0.5rem 0 0.5rem; color: oklch(98.5% 0 0); }
.step p { font-size: var(--text-sm); color: oklch(93% 0.008 85 / 0.72); }

/* ---------- Buyer's field guide ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

.house-fig { position: relative; margin: 0; }

.house-svg { width: 100%; height: auto; }
.hs-line {
  fill: none;
  stroke: var(--color-blueprint);
  stroke-width: 1.5;
  opacity: 0.75;
}
.hs-heavy { stroke-width: 2.5; opacity: 0.9; }
.hs-dash { stroke-dasharray: 5 5; opacity: 0.5; }

/* draw-in on scroll */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .house-svg .hs-line {
      stroke-dashoffset: 0;
      animation: draw-line linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    @keyframes draw-line { from { opacity: 0; } to { opacity: 0.75; } }
  }
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--color-amber-ink);
  background: var(--color-amber);
  color: var(--color-amber-ink);
  font: 700 0.9rem var(--font-mono);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: scale var(--duration-fast) var(--ease-out-expo);
}
.hotspot:hover { scale: 1.15; }
.hotspot[aria-pressed="true"] {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
  scale: 1.15;
}
@media (prefers-reduced-motion: no-preference) {
  .hotspot::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--color-amber-hover);
    animation: ping 2.4s var(--ease-out-expo) infinite;
  }
  .hotspot[aria-pressed="true"]::after { animation: none; }
  @keyframes ping {
    0% { scale: 1; opacity: 0.9; }
    70%, 100% { scale: 1.9; opacity: 0; }
  }
}

.guide-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-ink);
  border-left: 6px solid var(--color-amber);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 3vw, 2rem);
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.guide-card.swap { animation: card-swap var(--duration-normal) var(--ease-out-expo); }
@keyframes card-swap {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .guide-card.swap { animation: none; } }

.guide-zone {
  font: 700 var(--text-xs) var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-blueprint);
}
.guide-card h3 { font-size: var(--text-h3); }
.guide-flag {
  font-size: var(--text-sm);
  background: oklch(55% 0.16 25 / 0.08);
  border-left: 3px solid oklch(55% 0.16 25);
  padding: 0.55rem 0.8rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.guide-card > p { font-size: var(--text-sm); color: var(--color-ink-soft); }
.guide-card .guide-std {
  margin-top: auto;
  font-weight: 600;
  color: var(--color-pass);
  border-top: 1px dashed var(--color-blueprint-soft);
  padding-top: 0.8rem;
}
.guide-std::before { content: "✓ SEIDLIN STANDARD — "; font: 700 var(--text-xs) var(--font-mono); letter-spacing: 0.1em; }

/* Five questions */
.quiz-title { font-size: var(--text-h3); margin-bottom: 0.4rem; }
.quiz-sub { color: var(--color-ink-soft); font-size: var(--text-sm); margin-bottom: 1.6rem; }
.quiz-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: quiz;
  margin-bottom: 1.8rem;
}
@media (max-width: 1080px) { .quiz-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .quiz-list { grid-template-columns: 1fr; } }

.quiz-item {
  background: var(--color-card);
  border: 1px solid var(--color-blueprint-soft);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
}
.quiz-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.quiz-item::before {
  counter-increment: quiz;
  content: "Q" counter(quiz);
  font: 700 var(--text-xs) var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--color-amber-hover);
}
.quiz-item .q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0.35rem 0 0.5rem;
}
.quiz-item .a { font-size: 0.83rem; color: var(--color-ink-soft); }
.quiz-item .a strong { color: var(--color-ink); }
.quiz-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Pricing ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.4rem;
}
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

.tier {
  background: var(--color-card);
  border: 1.5px solid var(--color-blueprint-soft);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-featured {
  border-color: var(--color-ink);
  box-shadow: var(--shadow-pop);
  scale: 1.03;
}
.tier .flag {
  position: absolute;
  top: -0.85rem;
  right: 1.2rem;
  background: var(--color-amber);
  color: var(--color-amber-ink);
  font: 700 var(--text-xs) var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}
.tier h3 { font-size: 1.25rem; }
.tier .sqft {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-blueprint);
  margin: 0.25rem 0 1.1rem;
}
.tier .price { font-family: var(--font-display); font-size: var(--text-price); font-weight: 600; line-height: 1; }
.tier .price sup { font-size: 0.45em; font-weight: 500; }
.tier .vs {
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
  margin: 0.5rem 0 1.2rem;
}
.tier .vs s { color: oklch(55% 0.12 25); }
.tier ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: var(--text-sm); margin-bottom: 1.6rem; }
.tier ul li::before { content: "✓ "; color: var(--color-pass); font-weight: 700; }
.tier .btn { margin-top: auto; }

.addons {
  background: var(--color-paper-deep);
  border: 1px dashed var(--color-blueprint);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-size: var(--text-sm);
}
.addons strong { font-family: var(--font-mono); }
.pricing-note { font-size: var(--text-xs); color: var(--color-ink-soft); margin-top: 1rem; max-width: var(--measure); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.about-figure {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, var(--color-blueprint-soft), transparent 60%),
    var(--color-paper-deep);
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  rotate: -1.2deg;
}
.about-body p { margin-bottom: 1rem; max-width: var(--measure); }
.about-body .quote {
  border-left: 3px solid var(--color-amber);
  padding: 0.9rem 0 0.9rem 1.3rem;
  margin: 1.6rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-ink);
}
.about-body .quote cite {
  display: block;
  margin-top: 0.6rem;
  font: 500 var(--text-xs) var(--font-mono);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

/* ---------- Service areas ---------- */
.areas { background: var(--color-card); border-block: 1.5px solid var(--color-ink); }
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .area-cols { grid-template-columns: 1fr; } }
.area-col h3 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blueprint);
  border-bottom: 1.5px solid var(--color-ink);
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
}
.area-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}
.areas .fineprint { margin-top: 2rem; font-size: var(--text-sm); color: var(--color-ink-soft); max-width: var(--measure); }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--color-blueprint-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--color-blueprint);
  transition: rotate var(--duration-fast) ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 1.3rem; color: var(--color-ink-soft); max-width: var(--measure); }

/* ---------- Booking ---------- */
.book { position: relative; }
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

.book-form {
  background: var(--color-card);
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.book-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .book-form .grid2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label {
  font: 600 var(--text-xs) var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.field input, .field select, .field textarea {
  font: 500 1rem var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  border: 1px solid var(--color-blueprint-soft);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color var(--duration-fast) ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-blueprint);
  outline: none;
}

.estimate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: var(--color-paper-deep);
  border: 1px dashed var(--color-blueprint);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: var(--text-sm);
}
.estimate output {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 620;
}

.book-form .btn { width: 100%; }
.form-status { margin-top: 0.9rem; font-size: var(--text-sm); min-height: 1.4em; }
.form-status.ok { color: var(--color-pass); font-weight: 600; }
.form-status.err { color: oklch(55% 0.16 25); font-weight: 600; }

.book-aside p { margin-bottom: 1rem; max-width: 36rem; }
.book-aside .bigphone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 620;
  text-decoration-color: var(--color-amber);
  text-underline-offset: 6px;
  margin: 0.4rem 0 1.4rem;
}
.guarantee {
  border: 1.5px solid var(--color-pass);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  font-size: var(--text-sm);
  background: oklch(58% 0.12 155 / 0.06);
}
.guarantee strong { color: var(--color-pass); }


/* ---------- The 9 PM Standard ---------- */
/* Splice-ready: append to styles/sections.css (between the field-guide
   and pricing blocks, to keep source order matching page order). */

.standard {
  position: relative;
  /* Denser blueprint grid: this section is the drawing itself */
  background-image:
    linear-gradient(var(--color-blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-blueprint-line) 1px, transparent 1px);
  background-size: 24px 24px;
  border-block: 1.5px solid var(--color-ink);
}

/* --- The three moats: editorial ledger, huge --- */
.standard .moats {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}

.standard .moat {
  display: grid;
  grid-template-columns: minmax(5.5rem, 9rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  border-top: 1.5px solid var(--color-ink);
  padding-block: clamp(1.6rem, 3.5vw, 2.8rem);
}
.standard .moat:last-child { border-bottom: 1.5px solid var(--color-ink); }

.standard .moat-num {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-blueprint);
  opacity: 0.28;
}

.standard .moat h3 {
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.6rem);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.standard .moat h3::after {
  /* dimension tick — blueprint punctuation, not decoration */
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 2px;
  background: var(--color-amber);
  margin-left: 0.35em;
  vertical-align: 0.18em;
}

.standard .moat-proof {
  font-size: var(--text-base);
  color: var(--color-ink-soft);
  max-width: 46rem;
}

@media (max-width: 640px) {
  .standard .moat { grid-template-columns: 1fr; gap: 0.5rem; }
  .standard .moat-num { font-size: 2.1rem; opacity: 0.35; }
}

/* --- The seven-point stamped checklist card --- */
.standard .std-card {
  position: relative;
  background: var(--color-card);
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  max-width: 56rem;
}

.standard .std-card-title {
  font-size: var(--text-h3);
  margin-bottom: 0.5rem;
  /* keep clear of the stamp on narrow widths */
  max-width: calc(100% - 7.5rem);
}
.standard .std-card-sub {
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.standard .std-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.standard .std-row {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 1.6rem;
  gap: 0.9rem;
  align-items: baseline;
  padding-block: 0.75rem;
  border-bottom: 1px dashed var(--color-blueprint-soft);
}
.standard .std-row:last-child { border-bottom: 0; }

.standard .std-n {
  font: 700 var(--text-xs) var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--color-blueprint);
}

.standard .std-pt { font-size: var(--text-sm); }

.standard .std-tick {
  justify-self: end;
  font: 700 1rem var(--font-mono);
  color: var(--color-pass);
}

/* Ticks draw in on scroll — gated exactly like .reveal */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .standard .std-tick {
      animation: std-tick-in linear both;
      animation-timeline: view();
      animation-range:
        entry calc(12% + var(--i, 0) * 5%)
        entry calc(42% + var(--i, 0) * 5%);
    }
    @keyframes std-tick-in {
      from { opacity: 0; transform: scale(0.4) rotate(-14deg); }
      to { opacity: 1; transform: none; }
    }
  }
}

/* --- Corner stamp: rotated, pure CSS/text --- */
.standard .std-stamp {
  position: absolute;
  top: clamp(1rem, 3vw, 1.8rem);
  right: clamp(1rem, 3.5vw, 2rem);
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--color-blueprint);
  border-radius: 3px;
  rotate: -7deg;
  color: var(--color-blueprint);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
}
.standard .std-stamp::before {
  /* inner ring, ink-stamp double border */
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--color-blueprint);
  border-radius: 2px;
}
.standard .std-stamp-rule {
  width: 100%;
  height: 1px;
  background: var(--color-blueprint);
  opacity: 0.6;
}
/* indent-compensate the tracking so the words sit optically centered */
.standard .std-stamp-top,
.standard .std-stamp-bottom { margin-right: -0.26em; }

@media (max-width: 560px) {
  .standard .std-stamp {
    font-size: 0.56rem;
    padding: 0.55rem 0.7rem;
    letter-spacing: 0.2em;
  }
  .standard .std-card-title { max-width: calc(100% - 6rem); }
}

/* --- Close line + CTA --- */
.standard .std-close {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  border-top: 1.5px solid var(--color-ink);
  padding-top: 1.3rem;
  margin-bottom: 1.4rem;
  max-width: 42rem;
}

.standard .std-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}
.standard .std-phone {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}
.standard .std-phone a {
  font-weight: 700;
  color: var(--color-ink);
  text-decoration-color: var(--color-amber);
}

.standard .std-fineprint {
  margin-top: 1.5rem;
  font: 500 var(--text-xs) var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   Seidlin Inspections — Cinematic hero upgrade ("The 9 PM Overture")
   Append-ready for styles/sections.css. Pure CSS — no JS required.

   Degradation contract:
   - prefers-reduced-motion: reduce  → zero animation, current static hero
     (plus a static faint watermark + static amber dot on the 9:00 PM row).
   - No animation-timeline support   → everything works except the watermark
     parallax drift, which simply doesn't run.
   All motion is compositor-only: transform / translate / rotate / opacity.
   ========================================================================== */

/* --- Local derived tokens (from tokens.css — do not restyle globally) ----- */
.hero {
  /* Text-safe amber depth, derived live from the token family so it tracks
     any future retune of --color-amber / --color-amber-ink.
     57% of amber (74% L) into amber-ink (28% L) lands at ~54% lightness. */
  --hero-amber-text: color-mix(in oklch, var(--color-amber) 57%, var(--color-amber-ink));
}

/* --- Stacking prep (static, unconditional) --------------------------------
   ::before (grid draw-sweep cover)  z1 — motion-gated, otherwise absent
   .hero-watermark                   z0 — behind everything in the hero
   .hero-grid (content)              z2 — always on top                    */
.hero .hero-grid {
  position: relative;
  z-index: 2;
}

/* --- "9 PM" watermark numeral (static base — new element) -----------------
   Oversized Fraunces italic, clipped by the hero's existing overflow: clip.
   Alpha lives in the color (not opacity) so the load fade can own opacity. */
.hero-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -0.06em;               /* tucks the "M" off the clipped edge */
  translate: 0 -54%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(15rem, 24vw, 24rem);
  line-height: 0.75;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: color-mix(in oklab, var(--color-blueprint) 7%, transparent);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 900px) {
  /* Hero collapses to one column — the numeral would sit under body copy */
  .hero-watermark { display: none; }
}

/* --- "Report by / 9:00 PM" spec row (static base — new .v-time class) ---- */
.spec-list .v-time {
  color: var(--hero-amber-text);
}
.spec-list .v-time::before {
  /* status light: the report clock is live */
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--color-amber);
  margin-right: 0.5em;
  vertical-align: 8%;
}

/* ==========================================================================
   MOTION — everything below is gated. Reduced motion = none of it exists.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* --- 1 · Blueprint grid draw-sweep (one-time, on ::before) --------------
     A paper-colored cover with a feathered blueprint leading edge sits over
     the hero and exits stage right; the body's grid appears to be drawn in
     left-to-right behind it. Transform + opacity only; ends at opacity 0,
     leaving the hero pixel-identical to its static state.                  */
  .hero::before {
    content: "";
    position: absolute;
    inset: -1px 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in oklab, var(--color-blueprint) 14%, transparent) 5%,
      color-mix(in oklab, var(--color-blueprint) 5%, var(--color-paper)) 9%,
      var(--color-paper) 16% 100%
    );
    animation: hero-grid-sweep 1.6s cubic-bezier(0.45, 0.05, 0.2, 1) both;
  }

  /* --- 2 · Load choreography: staggered rise ------------------------------
     kicker → headline line 1 → line 2 → lead → CTAs → spec card → watermark.
     One keyframe, per-element delays. `both` keeps elements hidden through
     their delay, so nothing pops.                                          */
  .hero .kicker      { animation: hero-rise 0.75s var(--ease-out-expo) 0.10s both; }
  .hero .lead        { animation: hero-rise 0.75s var(--ease-out-expo) 0.48s both; }
  .hero .hero-ctas   { animation: hero-rise 0.75s var(--ease-out-expo) 0.60s both; }

  /* Headline lines (spans added in markup — see hero-upgrade.md) */
  .hero .hero-line {
    display: block;
    animation: hero-rise 0.8s var(--ease-out-expo) 0.22s both;
  }
  .hero .hero-line:nth-child(2) { animation-delay: 0.34s; }
  .hero .hero-line:nth-child(3) { animation-delay: 0.46s; }

  /* Fallback: markup not yet split → whole headline rises as one line-set */
  .hero h1:not(:has(.hero-line)) {
    animation: hero-rise 0.8s var(--ease-out-expo) 0.22s both;
  }

  /* --- 3 · Spec-card settle-in ---------------------------------------------
     Rises while relaxing from 2.4deg to its resting 1.2deg tilt — a tag
     being pinned to the board. animation-timeline reset to auto so this
     load-time animation wins over the scroll-driven .reveal utility.       */
  .hero .spec-card {
    animation: hero-card-settle 0.95s var(--ease-out-expo) 0.68s both;
    animation-timeline: auto;
    animation-range: normal;
  }

  /* --- 4 · Watermark: fade up, then parallax drift ------------------------ */
  .hero-watermark {
    animation: hero-wm-in 1.8s ease-out 0.9s both;
  }
  @supports (animation-timeline: scroll()) {
    .hero-watermark {
      animation:
        hero-wm-in 1.8s ease-out 0.9s both,
        hero-wm-drift linear both;
      animation-timeline: auto, scroll();
      animation-range: normal, 0 120vh;
    }
  }

  /* --- 5 · 9:00 PM status light: slow amber pulse -------------------------
     Text stays legible and still; only the dot breathes. Starts after the
     card has settled. Opacity-only — compositor-safe.                      */
  .spec-list .v-time::before {
    animation: hero-ninepm-pulse 3.2s ease-in-out 2s infinite;
  }

  /* --- Keyframes ----------------------------------------------------------- */
  @keyframes hero-rise {
    from { opacity: 0; translate: 0 26px; }
    to   { opacity: 1; translate: 0 0; }
  }
  @keyframes hero-card-settle {
    from { opacity: 0; translate: 0 30px; rotate: 2.4deg; }
    to   { opacity: 1; translate: 0 0;    rotate: 1.2deg; }
  }
  @keyframes hero-grid-sweep {
    0%   { transform: translateX(0);    opacity: 1; }
    80%  {                              opacity: 1; }
    100% { transform: translateX(102%); opacity: 0; }
  }
  @keyframes hero-wm-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes hero-wm-drift {
    from { translate: 0 -54%; }
    to   { translate: 0 calc(-54% + 5rem); }
  }
  @keyframes hero-ninepm-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
  }
}
