/* Sunday Websites — page-specific components. Loaded after styles.css. */

.page-top { padding-top: clamp(48px, 6vw, 80px); }
.dark .glow, .dark .ring { z-index: 0; }
.glow {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: 420px; height: 420px; right: -140px; top: -160px;
  background: radial-gradient(circle at center, rgba(245, 159, 83, .3) 0%, rgba(245, 159, 83, 0) 62%);
}
.glow--center { width: 560px; height: 560px; right: -180px; top: -220px; }
.glow--plan { width: 320px; height: 320px; right: -110px; top: -110px; }

/* ----- Home ----- */
.home-hero { gap: 24px; padding-bottom: 24px; }
.home-hero__card {
  min-height: 600px; padding: clamp(32px, 4.5vw, 56px) clamp(28px, 4.5vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; box-shadow: var(--shadow-card);
}
.home-hero__photo { min-height: 600px; }
.home-stats { gap: 24px; }
.home-stats > * { min-height: 300px; }
.home-stats__dark { padding: 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; }
.stat-xl { font-size: clamp(64px, 7vw, 88px); font-weight: 300; line-height: 1; color: #fff; letter-spacing: -.02em; }
.home-stats__list { padding: 32px; justify-content: center; }
.stat-list { margin: 0; display: flex; flex-direction: column; gap: 0; height: 100%; justify-content: space-between; }
.stat-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 18px; border-top: 1px solid var(--color-hairline); }
.stat-list > div:first-child { border-top: 0; padding-top: 0; }
.stat-list > div:last-child { padding-bottom: 0; }
.stat-num { font-size: clamp(34px, 3.4vw, 44px); font-weight: 300; line-height: 1.1; color: var(--color-ink); }
.stat-list dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--color-ink-muted); max-width: 160px; text-align: right; }
.home-stats__photo img { position: absolute; inset: 0; }
.photo__badge {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px;
  padding: 6px 20px 6px 6px; background: #fff; border-radius: var(--radius-full); font-size: 15px; box-shadow: var(--shadow-chip);
}
.home-offer__photo { min-height: 560px; }
.service-list { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.service-list li + li { border-top: 1px solid var(--color-hairline); }
.service-list a { display: flex; align-items: center; gap: 20px; padding: 22px 28px; transition: background-color .15s ease; }
.service-list a:hover { background: var(--color-surface); }
.service-list a:hover .icon-bubble { background: var(--color-door); }
.service-list__num { width: 28px; flex-shrink: 0; font-size: 14px; font-weight: 500; color: var(--color-door-text); }
.service-list__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.service-list__text strong { font-size: 19px; font-weight: 500; line-height: 1.35; color: var(--color-ink); }
.service-list__text span { font-size: 15px; line-height: 1.5; color: var(--color-ink-muted); }
.toolkit-band { background: var(--color-door-tint); border-radius: var(--radius-xl); padding: clamp(24px, 3.4vw, 48px); }
.toolkit-band__photo { width: 340px; height: 450px; flex-shrink: 0; }
.toolkit-band .chip--small { padding: 8px 16px; line-height: 18px; box-shadow: none; }
.toolkit-band .body-17 { line-height: 27px; }
.home-quote__photo { min-height: 480px; }
.home-quote { margin: 0; padding: clamp(28px, 4vw, 56px); min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote-xl { margin: 0; font-size: clamp(22px, 2.1vw, 28px); font-weight: 300; line-height: 1.45; color: var(--color-on-dark); }
.price-teasers .card { min-height: 280px; }
.cta-copy { padding: clamp(28px, 4vw, 52px); }
.cta-photo { min-height: 420px; }

/* ----- About ----- */
.about-hero__photo { min-height: 480px; }
.about-story__photo { min-height: 560px; }
.callout { background: var(--color-door-tint); border-radius: var(--radius-md); padding: 20px 24px; }
.callout p { font-size: 20px; line-height: 1.5; color: var(--color-ink); }
.founder { display: flex; gap: 12px; padding: 12px; }
.founder__photo { flex: 5 1 0; min-height: 440px; border-radius: 32px; background: var(--color-ink-lift); display: grid; place-items: center; text-align: center; padding: 24px; font-size: 14px; color: var(--color-on-dark-muted); }
.founder__copy { flex: 7 1 0; min-width: 0; padding: clamp(24px, 4vw, 48px); justify-content: center; margin: 0; }
.about-values__photo { height: 360px; }
.reach { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.region-chip {
  padding: 10px 18px; border-radius: var(--radius-full); border: 1px solid rgba(255, 255, 255, .28); background: transparent;
  color: #fff; font-size: 14px; line-height: 18px; transition: background-color .15s ease, border-color .15s ease;
}
.region-chip:hover { border-color: rgba(255, 255, 255, .7); }
.region-chip.is-active { background: var(--color-door); border-color: var(--color-door); color: var(--color-ink); font-weight: 500; }
.map { position: relative; width: 100%; max-width: 1120px; margin-inline: auto; aspect-ratio: 1120 / 417; }
.map__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 20px; height: 20px; display: grid; place-items: center; transition: opacity .25s ease; }
.pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-door); }
.pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(245, 159, 83, .25); }
.pin__label { position: absolute; font-size: 13px; line-height: 16px; color: rgba(255, 255, 255, .8); white-space: nowrap; transition: opacity .25s ease; }
.map__card { position: absolute; left: 2.1%; top: 56.6%; width: min(286px, 40%); display: flex; flex-direction: column; gap: 8px; padding: 20px; background: #fff; border-radius: var(--radius-md); }
.territories { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.territories[hidden], [data-region-text][hidden] { display: none; }
.territories li { padding: 5px 12px; border-radius: var(--radius-full); background: var(--color-door-tint); color: var(--color-door-text); font-size: 14px; line-height: 20px; }
.stat-lg { font-size: clamp(40px, 4vw, 56px); font-weight: 300; line-height: 1.05; color: var(--color-ink); }
.cta-band { padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
.cta-band__title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 400; letter-spacing: -.02em; line-height: 1.13; color: #fff; max-width: 720px; text-wrap: balance; }
.cta-band__text { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 600px; }

/* ----- Services ----- */
.service-row { align-items: stretch; }
.service-row__copy { padding: clamp(24px, 3.4vw, 44px); justify-content: center; }
.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--color-door-tint); border-radius: 24px; padding: 8px 8px 8px 24px;
}

/* ----- How it works ----- */
.how-hero__photo { min-height: 460px; }
.photo__float {
  position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 2px; padding: 16px 24px;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-float);
}
.step { flex-direction: row; align-items: center; gap: 28px; padding: 28px; }
.step__main { flex: 6 1 0; min-width: 0; }
.step__aside { flex: 5 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--color-door-tint); border-radius: var(--radius-md); }
.step__aside p:last-child { font-size: 16px; line-height: 1.56; color: var(--color-ink); }
.quote-mark { font-size: 64px; line-height: 40px; height: 40px; color: var(--color-door); }

/* ----- Pricing ----- */
.pricing-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; width: 100%; max-width: 860px; text-align: left; }
.pricing-paths .card { padding: 28px; }
.pkg { padding: 32px; gap: 16px; }
.pkg > :first-child { min-height: 28px; display: flex; align-items: center; }
.pkg > .row:first-child { justify-content: space-between; }
.pricing-paths .eyebrow, .pricing-paths .tag { white-space: nowrap; }
.pkg__name { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--color-ink); }
.pkg__list { flex: 1 1 auto; }
.pkg__facts { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pkg__facts > div { display: flex; gap: 12px; align-items: flex-start; }
.pkg__facts dt { width: 96px; flex-shrink: 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--color-ink); }
.pkg__facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--color-ink-muted); }
.pkg__facts--dark dt { color: #fff; }
.pkg__facts--dark dd { color: rgba(255, 255, 255, .78); }
.best-for { display: flex; gap: 8px; font-size: 14px; line-height: 1.45; }
.best-for strong { font-weight: 500; flex-shrink: 0; }
.best-for span { color: var(--color-ink-muted); }
.weight { font-style: normal; font-size: 13px; color: var(--color-door-text); margin-left: 4px; white-space: nowrap; }
.tag--price { background: var(--color-door-tint); color: var(--color-ink); font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 20px; }
.card.is-selected { box-shadow: 0 0 0 2px var(--color-door), var(--shadow-card); }
.builder { gap: 24px; }
.plan-summary { padding: 28px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 124px; }
.help-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); min-height: 460px; display: flex; align-items: flex-end; padding: 24px; }
.help-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.help-band__card { position: relative; display: flex; flex-direction: column; gap: 16px; width: min(520px, 100%); padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: var(--radius-lg); }

/* ----- Toolkit ----- */
.toolkit-form { flex: 0 0 537px; max-width: 100%; }
.toolkit-hero__photo img { position: absolute; inset: 0; }
.toolkit-hero__chips { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.toolkit-hero__chips li { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; background: #fff; border-radius: var(--radius-full); font-size: 15px; line-height: 18px; }
.mini-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-door-tint); color: var(--color-door-text); font-size: 13px; font-weight: 500; }

/* ----- Contact / forms side panels ----- */
.info-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--color-hairline); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--color-ink-muted); }
.info-list dd { margin: 0; font-size: 16px; color: var(--color-ink); text-align: right; }
.side-dark { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.side-dark__title { font-size: 26px; font-weight: 400; line-height: 1.3; color: #fff; }
.side-dark__rule { width: 100%; height: 1px; border: 0; margin: 0; background: rgba(255, 255, 255, .16); }
.expect-steps { display: flex; flex-direction: column; gap: 20px; }
.expect-steps li { display: flex; gap: 14px; padding: 16px; background: #fff; border-radius: var(--radius-md); }
.expect-steps strong { display: block; font-size: 16px; font-weight: 500; line-height: 20px; color: var(--color-ink); }
.expect-steps span:not(.num-bubble) { display: block; margin-top: 2px; font-size: 14px; line-height: 21px; color: var(--color-ink-muted); }
.side-dark .faq__item .faq__body a { color: var(--color-door-text); }

/* ----- Blog post ----- */
.prose { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; }
.prose p, .prose .pencil-richtext { font-size: 18px; line-height: 1.67; color: #3F3A36; }
.prose .pencil-richtext > p { font-size: inherit; line-height: inherit; color: inherit; }
.prose .prose__lead { font-size: clamp(19px, 1.7vw, 21px); line-height: 1.62; color: var(--color-ink); }
.prose h2 { padding-top: 16px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; letter-spacing: -.01em; line-height: 1.27; color: var(--color-ink); }
.pullquote {
  display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 56px; text-align: center;
  border-block: 1px solid var(--color-hairline); margin-block: 8px;
}
.pullquote blockquote { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; letter-spacing: -.02em; line-height: 1.24; color: var(--color-ink); max-width: 760px; text-wrap: balance; }
.pullquote figcaption { font-size: 13px; font-weight: 500; letter-spacing: .14em; line-height: 16px; text-transform: uppercase; color: var(--color-ink-muted); }

.prose ul { display: flex; flex-direction: column; gap: 10px; padding-left: 22px; list-style: disc; font-size: 18px; line-height: 1.6; color: #3F3A36; }
.prose li::marker { color: var(--color-door-deep); }
.prose a { color: var(--color-door-text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 500; color: var(--color-ink); }

/* ----- Project detail ----- */
.project-facts > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.project-facts dt { font-size: 12px; font-weight: 500; letter-spacing: .14em; line-height: 16px; text-transform: uppercase; color: var(--color-ink-muted); }
.project-facts dd { margin: 0; font-size: 17px; line-height: 24px; color: var(--color-ink); }

/* ----- Responsive ----- */
@media (max-width: 1000px) {
  .home-hero__card, .home-hero__photo { min-height: 0; }
  .home-hero__photo { min-height: 340px; }
  .home-stats > * { min-height: 260px; }
  .home-offer__photo { min-height: 360px; }
  .toolkit-band__photo { width: 100%; height: 320px; }
  .toolkit-band { gap: 32px; }
  .home-quote__photo { min-height: 320px; }
  .cta-photo { min-height: 300px; }
  .about-hero__photo { min-height: 320px; }
  .about-story__photo { min-height: 360px; }
  .founder { flex-direction: column; }
  .founder__photo { min-height: 260px; flex: none; }
  .service-row__photo { min-height: 280px !important; }
  .how-hero__photo { min-height: 340px; }
  .step { flex-direction: column; align-items: stretch; gap: 20px; }
  .toolkit-form { flex: none; width: 100%; }
  .toolkit-hero__photo { min-height: 420px !important; }
  .plan-summary { position: relative; top: auto; }
  .quote-photo { min-height: 280px !important; }
  .pricing-paths { grid-template-columns: 1fr; }
  .founder__copy { flex: none; }
  .project-facts { flex-wrap: wrap; }
  .project-facts > div { flex: 1 1 40%; }
}
@media (max-width: 760px) {
  .table__row > .table__label, .table__row > .table__desc { flex: 1 1 100%; }
  .table__row .stepper { margin-left: 0; justify-content: flex-start; width: auto; }
  .map__card { position: static; width: 100%; margin-top: 12px; }
  .map { aspect-ratio: auto; }
  .map__dots { position: relative; }
  .pin, .pin__label { display: none; }
  .stat-list dd { max-width: 140px; }
  .help-band { min-height: 0; padding: 12px; padding-top: 220px; }
  .help-band__img { height: 240px; bottom: auto; }
  .info-list > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .info-list dd { text-align: left; }
  .author-card { flex-direction: column !important; }
  .toolkit-hero__chips li { font-size: 14px; }
}

/* Our work: load more */
.load-more { display: flex; justify-content: center; padding-top: 24px; }
.load-more[hidden] { display: none; }

/* ---------- Form spacing: match the Paper design ----------
   Buttons are 52px tall in Paper; the transparent 1px border added 2px. Contact Form 7 wraps each control in an
   inline span, which added 1 to 8px of descender space under inputs and textareas. */
.btn--door { border-width: 0; }
.field .wpcf7-form-control-wrap { display: block; }
.field .wpcf7-form-control-wrap > :is(input, select, textarea) { display: block; }
.choice-group .form-grid .field label { line-height: 18px; }
.toolkit-form .field label { font-size: 14px; line-height: 18px; }
.toolkit-form .small { line-height: 20px; }
/* The optional hint inside a label sat on a different baseline and made the label 21px tall instead of 20px. */
.field label small { line-height: 1; }

/* ---------- Touch targets on phones ----------
   Small pill buttons (Read more, filters) were 32px tall; 44px is the comfortable minimum for a thumb. */
@media (max-width: 640px) {
  .btn--xs, .btn--sm { min-height: 44px; }
}
