/* ═══════════════════════════════════════════════════════════════════════════
   ORDER EXPERIENCE — Customized Feasibility Report
   /feasibility-report page (.order-page) and the flagship product card on
   the home page (.tp-flagship). Loaded after styles.css; uses its tokens.
   ═══════════════════════════════════════════════════════════════════════════ */

.order-page {
  --op-ink: var(--color-ink, #17191c);
  --op-ink-2: #1f2226;
  --op-bronze: var(--color-accent-bronze, #b08d57);
  --op-bronze-dark: var(--color-accent-bronze-dark, #8B6F47);
  --op-bronze-tint: #f3ede2;
  --op-line: var(--color-border, #e8e5df);
  --op-line-strong: var(--color-border-strong, #d4d0c8);
  --op-muted: #5f6168;          /* AA on white and on the warm ground */
  --op-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The fullscreen home hero points at a photograph that no longer ships
   (404). Swap in an existing Seattle photograph so the hero doesn't fall
   back to flat ink; the scrim and ::after fade in styles.css are unchanged. */
.fs-hero {
  background-image: url("/photos/seattle-neighborhood-dadu-location.jpg");
}

/* ── Hero band ──────────────────────────────────────────────────────────── */

.op-hero {
  position: relative;
  padding: 0;
  margin: 0 0 56px;
}

.op-hero-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 56px 56px 84px;
  border-radius: var(--radius-xl, 4px);
  background: var(--op-ink);
  color: #fff;
  border: 1px solid #2a2d32;
}

/* Faint architectural grid on the ink, like a plan sheet */
.op-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
}

.op-hero-copy {
  position: relative;
  z-index: 1;
}

.op-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--track-caps, 0.18em);
  text-transform: uppercase;
  color: #d8bf92;
}

.op-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--op-bronze);
}

.op-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.9vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 20px;
  max-width: 15ch;
}

.op-title em {
  font-style: italic;
  color: #dcc39a;
}

.op-lede {
  font-size: 1.04rem;
  line-height: 1.68;
  color: rgba(255,255,255,0.8);
  max-width: 50ch;
  margin: 0 0 26px;
}

.op-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.op-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.op-price-note {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}

.op-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.op-cta {
  min-height: 54px;
  padding: 0 30px;
}

.op-link-sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transition: border-color 160ms ease, color 160ms ease;
}

.op-link-sample svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--op-ease);
}

.op-link-sample:hover {
  border-color: #fff;
}

.op-link-sample:hover svg {
  transform: translateX(4px);
}

/* Photo collage — one hero frame, two offset detail frames */
.op-hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  aspect-ratio: 5 / 4;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.op-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl, 4px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  background: #23262b;
}

.op-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 900ms var(--op-ease);
}

.op-hero-media:hover .op-photo img {
  transform: scale(1.035);
}

.op-photo-main {
  grid-column: 1 / 6;
  grid-row: 1 / 5;
}

.op-photo-a {
  grid-column: 4 / 7;
  grid-row: 4 / 7;
  border-color: rgba(255,255,255,0.22);
}

.op-photo-b {
  grid-column: 1 / 3;
  grid-row: 5 / 7;
}

.op-photo-cap {
  position: absolute;
  left: 0;
  bottom: -30px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Fact strip — overlaps the bottom edge of the band */
.op-facts {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: -44px 32px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--op-line);
  border: 1px solid var(--op-line);
  border-radius: var(--radius-xl, 4px);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(23,25,28,0.35);
}

.op-facts li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 20px 22px;
  background: #fff;
}

.op-facts svg,
.op-chip svg {
  width: 22px;
  height: 22px;
  color: var(--op-bronze-dark);
  flex-shrink: 0;
}

.op-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.15;
  color: var(--color-heading, #0f1117);
  margin-bottom: 4px;
}

.op-facts span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--op-muted);
}

/* ── Body grid: info left, sticky form right ───────────────────────────── */

.op-body {
  padding: 0 0 72px;
}

.op-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}

.op-info {
  display: grid;
  gap: 52px;
  min-width: 0;
}

.op-block-head {
  margin-bottom: 22px;
}

.op-block-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-heading, #0f1117);
  margin: 0 0 8px;
}

.op-block-head p {
  margin: 0;
  color: var(--op-muted);
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 60ch;
}

/* What you get — chips */
.op-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.op-chip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--op-line);
  border-radius: var(--radius-lg, 3px);
  transition: border-color 200ms ease, transform 260ms var(--op-ease), box-shadow 260ms ease;
}

.op-chip:hover {
  border-color: #cdbb98;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(23,25,28,0.35);
}

.op-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--op-bronze-tint);
  border: 1px solid #e6d9c1;
  border-radius: var(--radius-md, 3px);
}

.op-chip strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading, #0f1117);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.op-chip span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--op-muted);
}

/* How it works — numbered steps with staggered reveal */
.op-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: op-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--op-line);
  border-radius: var(--radius-xl, 4px);
  background: #fff;
  overflow: hidden;
}

.op-step {
  counter-increment: op-step;
  position: relative;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--op-line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--op-ease), transform 600ms var(--op-ease);
}

.op-step:last-child {
  border-right: 0;
}

.op-steps.is-visible .op-step {
  opacity: 1;
  transform: none;
}

.op-steps.is-visible .op-step:nth-child(2) { transition-delay: 140ms; }
.op-steps.is-visible .op-step:nth-child(3) { transition-delay: 280ms; }

.op-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--op-ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
}

.op-step-num::before {
  content: counter(op-step, decimal-leading-zero);
}

.op-step strong {
  display: block;
  font-size: 1rem;
  color: var(--color-heading, #0f1117);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.op-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--op-muted);
}

.op-step-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: var(--op-bronze-dark);
}

/* Sample report — screenshot frame card */
.op-sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  border: 1px solid var(--op-line);
  border-radius: var(--radius-xl, 4px);
  background: #fff;
  overflow: hidden;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 260ms ease, transform 260ms var(--op-ease);
}

.op-sample:hover {
  border-color: #cdbb98;
  box-shadow: 0 22px 44px -24px rgba(23,25,28,0.4);
  transform: translateY(-2px);
}

.op-sample-copy {
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.op-sample-copy .eyebrow {
  margin-bottom: 10px;
}

.op-sample-copy h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-heading, #0f1117);
  margin: 0 0 10px;
}

.op-sample-copy p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--op-muted);
  margin: 0 0 18px;
}

.op-sample-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: var(--color-heading, #0f1117);
}

.op-sample-link svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--op-ease);
}

.op-sample:hover .op-sample-link svg {
  transform: translateX(4px);
}

.op-sample-frame {
  position: relative;
  background: linear-gradient(160deg, #ece8e0 0%, #f5f3ee 100%);
  border-left: 1px solid var(--op-line);
  padding: 30px 0 0 30px;
  overflow: hidden;
  min-height: 240px;
}

.op-browser {
  border: 1px solid var(--op-line-strong);
  border-bottom: 0;
  border-right: 0;
  border-radius: var(--radius-lg, 3px) 0 0 0;
  background: #fff;
  box-shadow: -18px 0 40px -24px rgba(23,25,28,0.35);
  height: 100%;
}

.op-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--op-line);
  background: #fafaf8;
}

.op-browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--op-line-strong);
}

.op-browser-bar span {
  margin-left: 10px;
  flex: 1;
  height: 18px;
  border-radius: 2px;
  background: #f0eee9;
  /* Was 0.62rem/#8a8c92 — 9.9px at 2.90:1, the worst pair on the site. The
     fake URL is the one label that tells you what the mock is, so it is now
     11.5px at 5.4:1 and the bar grew to fit it. */
  font-size: 0.72rem;
  line-height: 18px;
  padding: 0 8px;
  color: #5c5e64;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-browser svg {
  display: block;
  width: 100%;
  height: auto;
}

.op-legal {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--op-muted);
  margin: 0;
  max-width: 72ch;
}

/* ── Order form card ───────────────────────────────────────────────────── */

.op-form-col {
  position: sticky;
  top: calc(var(--header-h, 78px) + 24px);
  min-width: 0;
}

.op-form {
  padding: 30px 30px 26px;
  gap: 16px;
  /* .report-intake-card makes this a grid with an implicit `auto` track, so the
     widest child's MIN-content width sized the whole card: the un-wrappable
     submit label measured 453px and dragged every field — and the page — past a
     390px viewport (measured scrollWidth 488px). A minmax(0, 1fr) track cannot
     be pushed wider than the card, whatever a child contains. */
  grid-template-columns: minmax(0, 1fr);
  border-color: var(--op-line-strong);
  box-shadow: 0 24px 56px -28px rgba(23,25,28,0.3), 0 1px 2px rgba(23,25,28,0.04);
  position: relative;
}

/* Bronze rule along the top edge marks this as the action card */
.op-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--op-bronze);
  border-radius: var(--radius-lg, 3px) var(--radius-lg, 3px) 0 0;
}

.op-form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 2px;
}

.op-form-head > div {
  min-width: 0;
}

.op-form-head h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-heading, #0f1117);
  margin: 0;
}

.op-form-head .mini-label {
  margin-bottom: 6px;
  color: var(--op-bronze-dark);
}

.op-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--op-line);
  border-radius: var(--radius-sm, 2px);
  background: #f7f5f1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3f4249;
  white-space: nowrap;
}

.op-secure svg {
  width: 13px;
  height: 13px;
  color: var(--op-bronze-dark);
}

.op-form .contact-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-heading, #0f1117);
}

.op-form .contact-label small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--op-muted);
}

.op-form input,
.op-form select,
.op-form textarea {
  border-color: var(--op-line-strong);
  border-radius: var(--radius-sm, 2px);
  padding: 13px 14px;
  background: #fff;
  color: var(--color-text, #1a1f26);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.op-form input::placeholder,
.op-form textarea::placeholder {
  color: #9a9ca3;
}

.op-form input:hover,
.op-form select:hover,
.op-form textarea:hover {
  border-color: #b9b3a8;
}

.op-form input:focus,
.op-form select:focus,
.op-form textarea:focus,
.op-form input:focus-visible,
.op-form select:focus-visible,
.op-form textarea:focus-visible {
  border-color: var(--op-ink);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.28);
  outline: 0;
}

.op-form select {
  appearance: none;
  -webkit-appearance: none;
  /* 16px, not 0.93rem (14.88px): under 16px iOS Safari zooms the page in when
     the select takes focus and does not zoom back out, so a buyer picking
     "Program" mid-order was left on a sideways-scrolling page. */
  font-size: 1rem;
  padding-left: 12px;
  padding-right: 30px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317191c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}

.op-form textarea {
  resize: vertical;
  min-height: 84px;
}

.op-address-wrap {
  position: relative;
}

.op-address-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: #8a8c92;
  pointer-events: none;
}

.op-address-wrap input {
  padding-left: 40px;
}

.op-form .report-intake-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dcb4a6;
  border-left: 3px solid #b4533a;
  background: #fbf3ef;
  color: #6f2f1c;
  font-size: 0.88rem;
  line-height: 1.5;
  border-radius: var(--radius-sm, 2px);
}

.op-form .report-intake-error::before {
  content: "!";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #b4533a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.op-form .report-intake-error[hidden] {
  display: none;
}

/* The label is a whole clause ("Find my parcel — then pay $149 securely"),
   uppercase and tracked out. `white-space: nowrap` made its min-content width
   453px, which is what actually broke the order page on every phone. It wraps
   instead: centred, balanced across its lines, with real vertical padding so
   two lines still clear the 56px tap target. */
.op-submit {
  position: relative;
  min-height: 56px;
  padding: 13px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  gap: 10px;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  line-height: 1.35;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.op-submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.op-submit:disabled {
  cursor: progress;
  opacity: 0.92;
}

/* Spinner hook — app.js toggles .is-loading while the parcel is located */
.op-submit.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  animation: op-spin 0.8s linear infinite;
}

@keyframes op-spin {
  to { transform: rotate(360deg); }
}

.op-form .purchase-form-legal {
  margin-top: 0;
}

.op-trust {
  list-style: none;
  margin: 2px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--op-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
}

.op-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: #3f4249;
}

.op-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--op-bronze-dark);
}

/* ── Parcel confirmation (step 2 of the order card) ────────────────────── */
/* products.js adds .is-confirming to the form once the intake has matched a
   parcel: the step-1 fields give way to the confirmation panel, the trust
   list stays. The panel itself is server-rendered (parcelConfirm.panelMarkup)
   so the copy is the same with and without JavaScript. */

.op-form.is-confirming > :not([data-parcel-confirm]):not(.op-trust) {
  display: none;
}

.op-confirm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.op-confirm[hidden] {
  display: none;
}

.op-confirm-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--op-muted);
}

.op-confirm-match {
  padding: 16px 18px;
  border: 1px solid var(--op-line-strong);
  border-left: 3px solid var(--op-bronze-dark);
  background: var(--op-bronze-tint);
  border-radius: var(--radius-sm, 2px);
}

.op-confirm-match[data-unverified] {
  border-left-color: #b4533a;
  background: #fbf3ef;
}

.op-confirm-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-heading, #0f1117);
}

.op-confirm-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--op-bronze-dark);
  color: #fff;
}

.op-confirm-mark svg {
  width: 13px;
  height: 13px;
}

.op-confirm-match[data-unverified] .op-confirm-mark {
  background: #b4533a;
}

.op-confirm-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.op-confirm-row {
  display: contents;
}

.op-confirm-row[hidden] {
  display: none;
}

.op-confirm-facts dt {
  color: var(--op-muted);
}

.op-confirm-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-heading, #0f1117);
  font-variant-numeric: tabular-nums;
}

.op-confirm-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6f2f1c;
}

/* The "no" button carries a full sentence too (.op-submit already wraps). */
.op-confirm-no {
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  line-height: 1.35;
  padding-top: 12px;
  padding-bottom: 12px;
}

.op-confirm-no {
  min-height: 48px;
}

.op-confirm-address strong {
  overflow-wrap: anywhere;
}

/* ── Home page: flagship product card ──────────────────────────────────── */

.tp-flagship {
  position: relative;
  border-color: #d9ccb3;
  box-shadow: 0 1px 2px rgba(23,25,28,0.04), 0 24px 48px -30px rgba(23,25,28,0.35);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease, border-color 200ms ease;
}

.tp-flagship::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--color-accent-bronze, #b08d57);
  border-radius: var(--radius-xl, 4px) var(--radius-xl, 4px) 0 0;
}

.tp-flagship:hover {
  transform: translateY(-4px);
  border-color: #c9b58f;
  box-shadow: 0 1px 2px rgba(23,25,28,0.04), 0 32px 56px -28px rgba(23,25,28,0.45);
}

.tp-flagship .tp-badge {
  background: var(--color-ink, #17191c);
}

.tp-visual {
  margin: 0 0 22px;
  border: 1px solid var(--color-border, #e8e5df);
  border-radius: var(--radius-lg, 3px);
  background: #f7f5f1;
  overflow: hidden;
}

.tp-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.tp-visual .tv-dadu {
  transform-origin: center;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tp-flagship:hover .tv-dadu {
  transform: scale(1.04);
}

.tp-sample-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: var(--color-heading, #0f1117);
  border: 1px solid var(--color-border-strong, #d4d0c8);
  border-radius: var(--radius-sm, 2px);
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease;
}

.tp-sample-link svg {
  width: 15px;
  height: 15px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tp-sample-link:hover {
  border-color: var(--color-ink, #17191c);
}

.tp-sample-link:hover svg {
  transform: translateX(3px);
}

/* The flagship card pins its CTA with margin-top:auto; the legal line no
   longer sits directly after the CTA, so stop it from also claiming the gap. */
.tp-flagship .tp-legal {
  margin-top: 0;
  padding-top: 0;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .op-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
  }
  .op-hero-band {
    padding: 48px 40px 80px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .op-hero-band {
    grid-template-columns: 1fr;
    padding: 40px 32px 76px;
  }
  .op-hero-media {
    max-width: none;
    justify-self: stretch;
    aspect-ratio: 16 / 10;
  }
  .op-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 20px;
  }
  .op-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .op-form-col {
    position: static;
  }
  .op-steps {
    grid-template-columns: 1fr;
  }
  .op-step {
    border-right: 0;
    border-bottom: 1px solid var(--op-line);
  }
  .op-step:last-child {
    border-bottom: 0;
  }
  .op-sample {
    grid-template-columns: 1fr;
  }
  .op-sample-frame {
    border-left: 0;
    border-top: 1px solid var(--op-line);
    padding: 24px 0 0 24px;
    min-height: 200px;
  }
}

@media (max-width: 760px) {
  .op-hero {
    margin-bottom: 40px;
  }
  .op-hero-band {
    padding: 32px 20px 72px;
    gap: 28px;
  }
  .op-title {
    max-width: none;
  }
  .op-price {
    font-size: 2rem;
  }
  .op-hero-actions .op-cta {
    width: 100%;
  }
  .op-hero-media {
    aspect-ratio: 4 / 3;
  }
  .op-photo-b {
    display: none;
  }
  .op-photo-main {
    grid-column: 1 / 7;
    grid-row: 1 / 5;
  }
  .op-photo-a {
    grid-column: 4 / 7;
    grid-row: 4 / 7;
  }
  .op-facts {
    grid-template-columns: 1fr 1fr;
    margin: -40px 12px 0;
  }
  .op-facts li {
    padding: 14px 14px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }
  .op-facts svg {
    width: 18px;
    height: 18px;
  }
  .op-facts strong {
    font-size: 0.98rem;
  }
  .op-facts span {
    font-size: 0.74rem;
  }
  .op-info {
    gap: 40px;
  }
  .op-chips {
    grid-template-columns: 1fr;
  }
  .op-form {
    padding: 22px 18px 20px;
  }
  .op-form-head {
    flex-direction: column;
    gap: 10px;
  }
  .op-trust {
    justify-content: flex-start;
    gap: 6px 16px;
  }
  .op-body {
    padding-bottom: 40px;
  }
}

@media (max-width: 420px) {
  .op-facts {
    grid-template-columns: 1fr;
  }
}

/* ── Blog post CTA: sample link on the dark panel ──────────────────────── */

.blog-post-cta-sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: border-color 160ms ease;
}

.blog-post-cta-sample:hover {
  border-color: #fff;
}

.blog-post-cta-sample::after {
  content: "→";
  transition: transform 220ms var(--op-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.blog-post-cta-sample:hover::after {
  transform: translateX(4px);
}

/* ── Pro Guide vs. Customized Report comparison (/start) ───────────────── */

.compare-section {
  padding: 72px 0 88px;
  border-top: 1px solid var(--op-line, #e8e5df);
}

.compare-inner {
  max-width: 960px;
  margin: 0 auto;
}

.compare-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.compare-head .eyebrow {
  /* #8B6F47 as text on the warm ground is 4.32:1; the text bronze is 5.47:1. */
  color: var(--color-bronze-text, #7a5f3a);
}

.compare-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-heading, #0f1117);
  margin: 0 0 12px;
}

.compare-sub {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--op-muted, #5f6168);
  margin: 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.compare-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  background: #fff;
  border: 1px solid var(--op-line, #e8e5df);
  border-radius: var(--radius-xl, 4px);
}

.compare-card-recommended {
  border-color: #d9ccb3;
  box-shadow: 0 24px 48px -30px rgba(23, 25, 28, 0.35);
}

.compare-card-recommended::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--op-bronze, #b08d57);
  border-radius: var(--radius-xl, 4px) var(--radius-xl, 4px) 0 0;
}

.compare-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--color-ink, #17191c);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-card-eyebrow {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--track-caps, 0.18em);
  text-transform: uppercase;
  color: var(--op-muted, #5f6168);
}

.compare-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-heading, #0f1117);
  margin: 0 0 12px;
}

.compare-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--op-line, #e8e5df);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--op-bronze-dark, #8B6F47);
}

.compare-card-price span {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  color: var(--op-muted, #5f6168);
}

.compare-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.compare-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  border-bottom: 1px solid var(--op-line, #e8e5df);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--op-muted, #5f6168);
}

.compare-list li:last-child {
  border-bottom: 0;
}

.compare-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 7px;
  font-size: 0.78rem;
  color: var(--op-bronze, #b08d57);
}

.compare-btn {
  margin-top: auto;
  width: 100%;
}

/* ── Thank-you cross-sell ──────────────────────────────────────────────── */

.thankyou-crosssell {
  margin-top: 28px;
  padding: 32px 30px;
  text-align: center;
  background: var(--color-ink, #17191c);
  color: #fff;
  border: 1px solid #2a2d32;
}

.thankyou-crosssell .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.thankyou-crosssell h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.thankyou-crosssell p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 auto 20px;
  max-width: 460px;
}

.thankyou-crosssell-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.thankyou-crosssell-actions .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.thankyou-crosssell-actions .button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 760px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .compare-card {
    padding: 26px 22px 24px;
  }
  .compare-section {
    padding: 48px 0 56px;
  }
}

/* ── Motion ────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .order-page [data-reveal] {
    opacity: 1;
    animation: none;
  }
  .op-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .op-photo img,
  .op-chip,
  .op-sample,
  .op-submit,
  .op-link-sample svg,
  .op-sample-link svg,
  .tp-flagship,
  .tp-flagship .tv-dadu,
  .tp-sample-link svg {
    transition: none;
  }
  .op-hero-media:hover .op-photo img,
  .op-chip:hover,
  .op-sample:hover,
  .op-submit:hover:not(:disabled),
  .tp-flagship:hover,
  .tp-flagship:hover .tv-dadu {
    transform: none;
  }
  .op-submit.is-loading::before {
    animation: none;
    border-top-color: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.7);
  }
}

/* ─── Photos of your house and yard (imagery-variety upload) ───────────────── */

.photo-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 12px 14px;
  border: 1px dashed var(--op-line-strong, #dfe3e8);
  border-radius: var(--radius-sm, 2px);
  background: var(--op-ground-soft, #faf9f6);
}

/* The native control shipped the browser-default grey "Choose Files" chip next
   to a designed form. The field itself is left as a real <input type="file"> —
   it keeps its own focus ring, its keyboard behaviour and the browser's
   "No file chosen" text — and only the chip is restyled, as a small secondary
   button in the site's language (see .button / .button-secondary / .button-sm
   in styles.css). Keyboard focus is left where the browser puts it — on the
   input — which `.op-form input:focus-visible` already rings in bronze like
   every other field in the card; a second ring on the chip would only double
   it. max-width keeps the control inside the card: a file input has a wide
   intrinsic size and would otherwise widen the form. */
.photo-upload input[type="file"] {
  display: block;
  max-width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--op-muted, #6b7280);
  cursor: pointer;
}

.photo-upload input[type="file"]::file-selector-button {
  margin: 0 10px 0 0;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--op-line-strong, #d4d0c8);
  border-radius: var(--radius-sm, 2px);
  background: #fff;
  color: var(--color-heading, #0f1117);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.photo-upload input[type="file"]:hover::file-selector-button {
  border-color: var(--op-ink, #17191c);
  background: #faf9f6;
}

/* Safari before 14.1 knows only the -webkit- pseudo-element. Kept in its own
   rule: one unknown selector in a list would void the whole block. */
.photo-upload input[type="file"]::-webkit-file-upload-button {
  margin: 0 10px 0 0;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--op-line-strong, #d4d0c8);
  border-radius: var(--radius-sm, 2px);
  background: #fff;
  color: var(--color-heading, #0f1117);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--track-nav, 0.11em);
  text-transform: uppercase;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .photo-upload input[type="file"]::file-selector-button {
    transition: none;
  }
}

/* .op-form .contact-label puts the hint on the right of the label; inside the
   320px-wide upload box on a phone that leaves two ragged columns, so the hint
   goes under the label instead. */
.photo-upload .contact-label {
  display: block;
}

.photo-upload .contact-label small {
  display: block;
  margin-top: 3px;
}

.photo-upload-note {
  font-size: 0.75rem;
  color: var(--op-bronze-dark, #8a6a33);
}

.photo-upload-consent {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--op-muted, #6b7280);
}

/* ─── Agent co-branding (records dossier order form) ───────────────────────── */
/* Collapsed by default so a homeowner ordering their own records sees one line
   rather than six brokerage fields. Same ink, rules and tokens as the rest of
   the card: no new colours, nothing that needs its own contrast check. */

.cobrand-upload {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border: 1px dashed var(--op-line-strong, #dfe3e8);
  border-radius: var(--radius-sm, 2px);
  background: var(--op-ground-soft, #faf9f6);
}

.cobrand-upload > summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-heading, #0f1117);
  list-style: none;
}

.cobrand-upload > summary::-webkit-details-marker { display: none; }

.cobrand-upload > summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: var(--op-muted, #6b7280);
}

.cobrand-upload[open] > summary::after { content: "\2013"; }

.cobrand-upload > summary small {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--op-muted, #6b7280);
}

.cobrand-copy {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--op-muted, #6b7280);
}

.cobrand-upload .report-intake-row { margin-top: 10px; }

.cobrand-upload .photo-upload { margin: 10px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .cobrand-upload { transition: none; }
}

.os-photos {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--op-line, #e7e3da);
  text-align: left;
}

.os-photos .eyebrow {
  margin: 0 0 6px;
}

.os-photos-copy {
  font-size: 0.82rem;
  color: var(--op-muted, #6b7280);
  margin: 0 0 12px;
}

.os-photos-status {
  font-size: 0.8rem;
  color: var(--op-bronze-dark, #8a6a33);
  margin-top: 10px;
}

/* ── Legibility pass 2026-09-23 · see the block at the end of styles.css ──── */
.op-step p,
.op-block-head p {
  font-size: 1rem;      /* was 14.1–15.5px */
  line-height: 1.65;
}

/* The template gives this an inline font-size:0.9rem, so only !important can
   reach it; it is the refund promise under the hero price. */
.op-hero .op-refund-line {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* ── Legibility pass, round two ─────────────────────────────────────────────- */
body .op-sample-copy p,
body .op-confirm-lead,
body .compare-sub {
  font-size: 1rem;        /* 14.7–15.7 -> 16 */
  line-height: 1.65;
}

/* Address autocomplete on the order form. The field was a plain text box, so a
   buyer learned their address was unmatched (or out of the service area) only
   after submitting — which reads as the site being broken rather than the
   address being wrong. The list is positioned against .op-address-wrap. */
.op-address-wrap { position: relative; }

.op-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 264px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--color-border, #e3e0da);
  border-radius: var(--radius-sm, 8px);
  box-shadow: 0 14px 34px rgba(23, 25, 28, 0.14);
}

.op-suggest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  min-height: 44px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-ink, #17191c);
}
.op-suggest-item.is-active,
.op-suggest-item:hover { background: var(--color-surface-2, #f5f3ee); }

.op-suggest-address { font-weight: 600; }
.op-suggest-zip { color: var(--color-text-muted, #67635b); font-size: 0.85rem; }

.op-suggest-note {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted, #67635b);
}
