/* ============================================================
   Simple page template — used for /book, /guide, /about, /faq,
   /contact, legal pages, /thanks
   ============================================================ */

.page-hero {
  padding: clamp(64px, 8vw, 128px) 0 clamp(40px, 5vw, 64px);
  border-bottom: var(--hairline-soft);
}
.page-hero .eyebrow { margin-bottom: 16px; display: block; }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  max-width: 18ch;
  margin-bottom: 20px;
}
.page-hero .lede { max-width: 60ch; }

.page-body { padding: clamp(40px, 5vw, 80px) 0; }
.page-body p { font-size: 16px; line-height: 1.65; color: rgba(28,28,26,0.82); }
.page-body h2 { margin: 48px 0 16px; font-size: clamp(26px, 2.6vw, 36px); }
.page-body h3 { margin: 32px 0 8px; font-size: clamp(20px, 2vw, 24px); }

.narrow { max-width: 720px; margin: 0 auto; }

/* Inquiry form */
.book-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.form-card {
  background: var(--cream);
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-card .field { margin-bottom: 16px; }
.form-card .form-row .field { margin: 0; }
.form-card button[type="submit"] { width: 100%; margin-top: 16px; padding: 16px; font-size: 16px; }
.form-card .reassurance {
  background: var(--taupe-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  color: rgba(28,28,26,0.78);
  margin-bottom: 24px;
  line-height: 1.5;
}
.form-card .reassurance strong { color: var(--evergreen); }

.book-summary {
  position: sticky;
  top: 96px;
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--cream);
}
.book-summary h3 { margin: 0 0 16px; font-size: 22px; }
.book-summary .step {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-top: var(--hairline-soft);
}
.book-summary .step:first-of-type { border-top: 0; padding-top: 0; }
.book-summary .step .num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brick);
  flex-shrink: 0;
  width: 24px;
}
.book-summary .step h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.book-summary .step p { margin: 0; font-size: 13px; color: rgba(28,28,26,0.7); line-height: 1.5; }

@media (max-width: 980px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-summary { position: static; }
  .form-card .form-row { grid-template-columns: 1fr; }
}

/* Guide */
.guide-section { margin-bottom: clamp(56px, 7vw, 96px); }
.guide-section h2 {
  font-size: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 12px;
  margin-bottom: 32px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}
.guide-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: var(--hairline-soft);
}
.guide-entry .head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.guide-entry h3 { margin: 0; font-size: 22px; line-height: 1.15; }
.guide-entry .dist { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: rgba(28,28,26,0.55); white-space: nowrap; }
.guide-entry .desc { color: rgba(28,28,26,0.78); font-size: 15px; margin: 4px 0; }
.guide-entry .why { font-style: italic; color: var(--evergreen); font-size: 14px; line-height: 1.5; margin: 0; }
.guide-entry .placeholder-tag {
  display: inline-block;
  background: var(--taupe-soft);
  color: var(--brick);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }

/* FAQ page categorized */
.faq-cat-head {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 48px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--charcoal);
}

/* About page sections */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.about-section:nth-child(even) { grid-template-columns: 1.4fr 1fr; direction: rtl; }
.about-section:nth-child(even) > * { direction: ltr; }
.about-section .aspect { aspect-ratio: 4 / 5; }
.about-section h2 { margin: 0 0 16px; }
.about-section--text { grid-template-columns: 1fr !important; max-width: 760px; direction: ltr !important; }
.about-section--text > * { direction: ltr !important; }
@media (max-width: 880px) {
  .about-section, .about-section:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}

/* Thanks page */
.thanks-hero {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
}
.thanks-hero h1 { margin: 0 auto 20px; max-width: 18ch; }
.thanks-hero .lede { max-width: 56ch; margin: 0 auto 32px; }
.thanks-hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Legal page lists */
.legal-list { padding-left: 20px; }
.legal-list li { margin-bottom: 8px; line-height: 1.6; }

/* Stays index — comparison + whole-building CTA */
.compare-strip {
  margin: clamp(64px, 9vw, 112px) auto 0;
  max-width: 880px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--cream);
  border: 1px solid rgba(28,28,26,0.08);
  border-radius: var(--radius);
}
.compare-strip h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 36px); }
.compare-table { display: flex; flex-direction: column; gap: 0; }
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(28,28,26,0.08);
  align-items: baseline;
  font-size: 15px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row > span:first-child { color: rgba(28,28,26,0.6); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.compare-row > span:not(:first-child) { font-weight: 500; }
.compare-row--head { padding-bottom: 18px; border-bottom-width: 2px; }
.compare-row--head > span:first-child { background: transparent; }
.compare-row--head strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.compare-row--head small {
  display: block;
  font-size: 12px;
  color: rgba(28,28,26,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}
.compare-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: rgba(28,28,26,0.65);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .compare-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
}

.whole-building-cta {
  margin: clamp(48px, 7vw, 88px) auto 0;
  max-width: 880px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--evergreen);
  color: var(--cream);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.whole-building-cta .eyebrow { color: rgba(250,246,240,0.7); }
.whole-building-cta h2 { margin: 8px 0 12px; color: var(--cream); font-size: clamp(28px, 3vw, 36px); }
.whole-building-cta p { color: rgba(250,246,240,0.85); font-size: 15px; line-height: 1.6; max-width: 60ch; }
@media (max-width: 720px) {
  .whole-building-cta { grid-template-columns: 1fr; text-align: left; }
}
