/* Porch Creative Solutions: site layer (MIG-WO-11, refresh about 3). Tokens only (tokens.css). Loaded after
   os-refresh.css and wpbakery.css. Plan: refs/porchcreativesolutions/pre-build-audit.md sections 2, 5 and 9. Same
   sections, order and words as the live site; this file sets the header, the five live bands, the hero, the steps,
   the work cards, the forms and the slim footer. WO site rules: no underlines (links change colour and weight), no
   left-accent borders, card and step titles at most 2 lines, tap targets 44 px or more. */

:root {
  --pcs-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4l4 4-4 4M8.5 4l4 4-4 4'/%3E%3C/svg%3E");
  --pcs-chat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9.5a5.5 5 0 0 1-8 4.4L3 15l1-2.6A5 5 0 0 1 3 9.5 5.5 5 0 0 1 14 9.5z'/%3E%3Cpath d='M9.5 17a5.5 5 0 0 0 8.5 1.4L21 19.5l-1-2.6a5 5 0 0 0 1-2.9 5.3 4.8 0 0 0-4.6-4.7'/%3E%3C/svg%3E");
  --pcs-mail-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E");
  --pcs-external-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5H3.5v9h9V10M9 3.5h3.5V7M12.5 3.5 7 9'/%3E%3C/svg%3E");
  --pm-anchor-offset: 7.5rem;  /* 96 px header + 24 px gap (C2) */
  --pm-header-shadow: var(--shadow-header);
  --pm-focus-ring: 2px solid var(--color-focus);
}
html { scroll-padding-top: var(--pm-anchor-offset); background: var(--color-surface-1); }
body { overflow-x: clip; display: flex; flex-direction: column; min-height: 100svh; font-weight: 400; color: var(--color-on-teal); }
body > main { flex: 1 0 auto; }
body > .site-header, body > .site-footer { flex: none; }
.wrap { width: var(--porch-page-width); margin-inline: auto; }
strong, b { font-weight: 700; }
h2, .h2 { line-height: var(--lh-h2); }
h3, .h3 { font-family: var(--font-body); font-weight: 800; line-height: var(--lh-h3); }
h4 { font-family: var(--font-display); }

/* Links and focus (E4, WO site rule): no underlines. Inline links are bold and change colour on hover; a 2 px focus
   ring everywhere (white on the dark and teal bands). */
.entry-content :where(p, li) a { font-weight: 600; text-decoration: none; transition: color var(--pm-dur-micro) var(--pm-ease-micro); }
.entry-content :where(p, li) a:hover { color: var(--color-link-hover); }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: var(--pm-focus-ring); outline-offset: var(--pm-focus-offset); }
:is(.pcs-band--teal, .pcs-band--black, .pcs-band--brown, .site-header, .site-footer) :where(a, button, input, select, textarea):focus-visible { outline-color: var(--color-focus-on-dark); }

/* ---- Header (A1): one solid teal bar, sticky, 96 px (72 px phone). After 24 px of scroll the kit sets
   data-pm-scrolled: a soft shadow; the height never changes. */
.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 40;
  background: var(--color-header);
  color: var(--color-on-header);
  border-bottom: 0;
  transition: box-shadow var(--pm-dur-ui) var(--pm-ease-out);
}
.site-header__inner { height: var(--header-height); min-height: 0; padding-block: 0; gap: var(--space-lg); flex-wrap: nowrap; }
.site-header__brand { display: flex; align-items: center; min-height: 2.75rem; }
.site-header__brand img.site-header__logo { width: auto; height: 4.5rem; } /* 72 px: the live logo's words stay legible (NOLAN-TASTE: no tiny header images) */
.site-header__menu { justify-content: center; gap: var(--space-lg); }
.site-nav ul { gap: 0 0.25rem; flex-wrap: nowrap; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 0;
  border-radius: var(--btn-radius);
  color: var(--color-on-header);
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition: background-color var(--pm-dur-micro) var(--pm-ease-micro), color var(--pm-dur-micro) var(--pm-ease-micro);
}
/* Live menu hover: the accent pill behind the link (theme mods menu_link_hover_background, border-radius 40 px). */
.site-nav a:hover,
.site-nav a[aria-current="true"] { background: var(--color-pill); color: var(--color-on-pill); }

/* The one filled header action ("Build Your Porch"): the live accent pill; ink text for contrast. */
.button,
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
  gap: 0.625rem;
  border-width: 1px;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition:
    background-color var(--pm-dur-micro) var(--pm-ease-micro),
    border-color var(--pm-dur-micro) var(--pm-ease-micro),
    color var(--pm-dur-micro) var(--pm-ease-micro),
    transform var(--pm-dur-micro) var(--pm-ease-micro);
}
.site-header__action.button,
.site-header__action.button:visited {
  flex: none;
  min-height: 2.75rem;
  padding-inline: 1.5rem;
  border-color: var(--color-pill);
  border-radius: var(--btn-radius);
  background: var(--color-pill);
  color: var(--color-on-pill);
  font-size: var(--fs-ui);
}
.site-header__action .pm-btn__icon { display: inline-flex; }
.site-header__action.button:hover,
.site-header__action.button:focus-visible { border-color: var(--color-pill-hover); background: var(--color-pill-hover); color: var(--color-on-pill); }
.site-header__action.button:active { border-color: var(--c-paper); background: var(--c-paper); color: var(--color-on-pill); }

/* The menu control is shown from the first paint when scripts run, so the header parts do not move after load (I3).
   Without JS it stays hidden and the menu is a list (I2). */
.js .site-header__toggle[data-pm-menu-toggle] { display: none; }
@media (max-width: 1023px) { .js .site-header__toggle[data-pm-menu-toggle] { display: inline-flex; } }

/* Phone menu (A2): text "Menu" control 44 px; the kit opens the panel as a dialog under the bar (240 ms fade and
   8 px drop, focus in, Tab trapped, Escape closes, focus returns, page locked). 48 px rows in the live order. */
@media (max-width: 1023px) {
  :root { --header-height: 4.5rem; --pm-anchor-offset: 6rem; }
  .site-header__brand img.site-header__logo { height: 3.25rem; }
  .js .site-header__inner { gap: 0.5rem; }
  .site-header__brand { margin-right: auto; }
  html:not(.js) .site-header__inner { height: auto; min-height: var(--header-height); flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
  html:not(.js) .site-header { position: relative; }
  .js .site-header__toggle {
    order: 3;
    justify-content: center;
    gap: 0.5rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin-left: 0;
    padding: 0 0.5rem;
    border: 0;
    color: var(--color-on-header);
    font: 600 var(--fs-ui) / var(--lh-ui) var(--font-ui);
    letter-spacing: 0;
    text-transform: none;
  }
  .js .site-header__toggle:hover { color: var(--color-pill); }
  .site-header__action.button { order: 2; min-height: 2.75rem; padding-inline: 1rem; font-size: 0.875rem; }
  .site-header__action .pm-btn__icon { display: none; }
  .js .site-header__menu[data-pm-menu-mode="overlay"] { display: flex; }
  .js .site-header__menu {
    position: fixed;
    inset: var(--pm-menu-top, var(--header-height)) 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: 0.5rem var(--gutter) 2rem;
    background: var(--color-header);
    box-shadow: var(--shadow-menu);
  }
  .js .site-nav ul { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; }
  .js .site-nav a {
    display: flex;
    min-height: 3rem;
    padding: 0;
    border-radius: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--c-paper) 22%, transparent);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.5rem;
  }
  .js .site-nav a:hover { background: transparent; color: var(--color-pill); }
}
@media (max-width: 400px) {
  .site-header__brand img.site-header__logo { height: 2.75rem; }
}
/* 320 to 374 px: the menu control shows its icon only (its name stays as aria-label), so logo, action and control fit. */
@media (max-width: 374px) {
  .site-header__brand img.site-header__logo { height: 2.5rem; }
  .site-header__action.button { padding-inline: 0.75rem; font-size: 0.8125rem; }
  .js .site-header__toggle { gap: 0; padding: 0; font-size: 0; }
}

/* ---- Text looks (Text Block "Text look"). */
.pcs-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.pcs-lead p { max-width: var(--measure-lead); }
/* Statement (Welcome): a lead paragraph, not a heading (PM review 2). Lead size token, the same ink colour and 800
   weight as before. */
.pcs-statement p:first-child { font-family: var(--font-body); font-size: var(--fs-lead); font-weight: 800; line-height: var(--lh-lead); color: var(--color-text-1); }
.pcs-statement p + p { margin-top: var(--space-sm); }
.pcs-heading-line.vc_custom_heading { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; line-height: 1.2; }
.pcs-heading-caps.vc_custom_heading { font-family: var(--font-body); font-size: var(--fs-h3); font-weight: 800; line-height: var(--lh-h3); text-transform: uppercase; }

/* ---- Bands: the five live band colours. Each band carries its own padding and sets its text colour. */
.entry-content > .wpb-content-wrapper > .pcs-band { padding-block: var(--section-pad); }
.entry-content > .wpb-content-wrapper > .pcs-band > .wpb_column { width: var(--porch-page-width); margin-inline: auto; flex: none; }
.entry-content > .wpb-content-wrapper > .pcs-band:has(> .wpb_column + .wpb_column) { padding-inline: max(var(--gutter), (100% - var(--content-width)) / 2); }
.entry-content > .wpb-content-wrapper > .pcs-band:has(> .wpb_column + .wpb_column) > .wpb_column { width: auto; flex: 1 1 100%; }
@media (min-width: 782px) {
  .entry-content > .wpb-content-wrapper > .pcs-band:has(> .wpb_column + .wpb_column) > .wpb_column { flex: 1 1 0; }
}
.entry-content > .wpb-content-wrapper > .pcs-band.pcs-band--join { padding-top: 0; }
.pcs-narrow { width: min(100%, var(--text-width)); margin-inline: auto; }
.entry-content > .wpb-content-wrapper > .pcs-band > .wpb_column.pcs-narrow { width: min(100% - 2 * var(--gutter), 50rem); }
.pcs-center { text-align: center; }
.pcs-center .wpb_wrapper > :is(h1, h2, h3) { margin-inline: auto; }
.pcs-center .wpb_text_column p { margin-inline: auto; }
.pcs-center .wpb_btn-container { justify-content: center; }

.pcs-band--teal { background: var(--color-header); color: var(--color-on-teal); }
.pcs-band--teal :is(p, li) { color: var(--color-on-teal); }
.pcs-band--teal :is(h1, h2) { color: var(--color-text-1); }
/* Welcome band: the live grey ground with the live people art at 25% (live: #e0e0e0 overlay at 75%), centred,
   contained. One planned treatment (F2). */
.pcs-band--grey {
  background:
    linear-gradient(color-mix(in srgb, var(--color-band-grey) 75%, transparent), color-mix(in srgb, var(--color-band-grey) 75%, transparent)),
    url("../../../uploads/2024/01/about-people-2.png") center / contain no-repeat,
    var(--color-band-grey);
  color: var(--color-text-1);
}
.pcs-band--grey :is(p, li, h1, h2, h3) { color: var(--color-text-1); }
.pcs-band--brown { background: var(--color-band-brown); color: var(--color-on-band); }
.pcs-band--brown :is(p, li, h3) { color: var(--color-on-band); }
.pcs-band--brown :is(h1, h2, h4) { color: var(--color-text-1); }
.pcs-band--brown .pcs-lead p { color: var(--color-on-band); }
.pcs-band--black { background: var(--color-band); color: var(--color-on-band); }
.pcs-band--black :is(p, li, h1, h2, h3) { color: var(--color-on-band); }
.pcs-band--mist { background: var(--color-band-mist); color: var(--color-text-1); }
.pcs-band--mist :is(p, li, h1, h2, h3) { color: var(--color-text-1); }
/* Section heading then its text: one gap. */
.pcs-band .wpb_wrapper > :is(h1, h2) + * { margin-top: var(--space-md); }
.pcs-band .wpb_wrapper > * + .wpb_btn-container { margin-top: var(--space-lg); }

/* ---- Hero (`/`): H1, lead and the two buttons left, the real illustration right at its live weight (audit
   section 7, option 1). The illustration enters once (kit pm-enter on the image). At phone width the illustration
   shows under the buttons at full width (live hid it). */
.entry-content > .wpb-content-wrapper > .pcs-hero { padding-block: var(--space-xl) var(--section-pad); align-items: center; }
.pcs-hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); max-width: none; }
.pcs-hero .wpb_single_image img { width: 100%; height: auto; }
/* PM review (titles at most 2 lines): the text column takes 56% of the 1080 px row and the gap is 32 px, so the H1
   needs the fewest lines at the hero size (3 at 1440, measured) while the illustration keeps 443 px (41% of the row,
   checklist B2). Two lines would need 44 px (the H2 size) and a 362 px illustration: rejected, open question 8. */
@media (min-width: 782px) {
  .entry-content > .wpb-content-wrapper > .pcs-hero { gap: var(--space-lg); }
  .entry-content > .wpb-content-wrapper > .pcs-band.pcs-hero:has(> .wpb_column + .wpb_column) > .wpb_column:first-child { flex: 0 0 56%; }
}

/* ---- Welcome (`#about`): heading and the yellow action left; the statement, text and the ink action right, tops
   aligned (G2). */
.entry-content > .wpb-content-wrapper > .pcs-band--grey { align-items: flex-start; }
.pcs-band--grey h2 { max-width: 11ch; }

/* ---- Solutions (`#services`): heading, lead and the three numbered steps on one line (live vcex steps, rebuilt
   from an Inner Row: a theme CSS counter draws the number in the live accent circle; a thin line joins the circles).
   Step titles at most 2 lines (WO rule). */
.pcs-band--brown h2 { max-width: 13ch; }
.pcs-band--brown .pcs-lead { margin-top: var(--space-md); }
.pcs-band--brown .pcs-lead p + p { margin-top: var(--space-md); }
.entry-content .pcs-steps.vc_row { counter-reset: pcs-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); }
.entry-content .pcs-steps > .wpb_column { position: relative; counter-increment: pcs-step; padding-top: 4.25rem; }
.entry-content .pcs-steps > .wpb_column::before {
  content: counter(pcs-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-pill);
  color: var(--c-paper);
  font: 600 1.125rem / 1 var(--font-body);
  font-variant-numeric: proportional-nums;
}
.entry-content .pcs-steps > .wpb_column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 3.5rem;
  right: calc(-1 * var(--space-lg) + 0.5rem);
  height: 1px;
  background: color-mix(in srgb, var(--c-paper) 45%, transparent);
}
.entry-content .pcs-steps h3 { font-size: var(--fs-h3); color: var(--color-on-band); }
.entry-content .pcs-steps .wpb_wrapper > * + * { margin-top: 0.75rem; }
.entry-content .pcs-steps p { font-size: var(--fs-body); color: var(--color-on-band); }
.pcs-band--brown .pcs-heading-line { margin-top: var(--space-xl); }
@media (max-width: 781px) {
  .entry-content .pcs-steps.vc_row { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .entry-content .pcs-steps > .wpb_column { padding-top: 0; padding-left: 4rem; }
  .entry-content .pcs-steps > .wpb_column:not(:last-child)::after { top: 3.5rem; bottom: calc(-1 * var(--space-lg) + 0.5rem); left: 1.5rem; right: auto; width: 1px; height: auto; }
}

/* ---- Latest Work (`#work`): the black band, the heading centred, two cards on the 1080 line (live: full width).
   Card title in capitals (live), text, the accent pill, then the screenshot as a link (hover 1.03, D2). */
.pcs-band--black h2 { text-align: center; }
.pcs-band--black .wpb_text_column { text-align: center; }
.pcs-band--black .wpb_text_column p { margin-inline: auto; max-width: 50rem; }
.entry-content .pcs-work.vc_row { margin-top: var(--space-xl); align-items: flex-start; }
.pcs-work .wpb_text_column p { max-width: 32rem; }
.pcs-work .wpb_btn-container { justify-content: center; }
.pcs-work .wpb_wrapper > .wpb_single_image { margin-top: var(--space-lg); }
.entry-content .pcs-shot .vc_single_image-wrapper { display: block; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-shot); }
.entry-content .pcs-shot a { display: block; overflow: hidden; border-radius: var(--radius-card); }
.entry-content .pcs-shot img { width: 100%; height: auto; border-radius: var(--radius-card); transition: transform var(--pm-dur-image) var(--pm-ease-out); }
.entry-content .pcs-shot a:hover img,
.entry-content .pcs-shot a:focus-visible img { transform: scale(var(--pm-image-hover-scale)); }
.entry-content .pcs-shot a:focus-visible { outline: var(--pm-focus-ring); outline-color: var(--color-focus-on-dark); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .entry-content .pcs-shot a:hover img { transform: none; }
}

/* Community lines (same black section): H2 centred, text, the five site links in the live accent colour, bold,
   one per line, each with a small external-link line icon (no underline; 44 px rows). */
.pcs-band--black .pcs-narrow h2 { max-width: 20ch; }
.pcs-links p { display: flex; flex-direction: column; align-items: center; gap: 0; }
.pcs-links br { display: none; }
.entry-content .pcs-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--color-link-on-dark);
  font-weight: 600;
}
.entry-content .pcs-links a::after { content: ""; width: 0.875rem; height: 0.875rem; background: currentColor; -webkit-mask: var(--pcs-external-mask) center / contain no-repeat; mask: var(--pcs-external-mask) center / contain no-repeat; }
.entry-content .pcs-links a:hover { color: var(--c-paper); }
.pcs-band--black .wpb_text_column.pcs-links { margin-top: var(--space-sm); }

/* ---- Contact (`#contact`): heading, text and the e-mail as a clear action (mail line icon, bold, no underline)
   left; the Contact form right. */
.entry-content > .wpb-content-wrapper > .pcs-band--mist { align-items: flex-start; }
.pcs-band--mist h2 { max-width: 10ch; }
.pcs-band--mist .wpb_text_column h3 { margin-top: var(--space-lg); font-size: clamp(1rem, 0.55rem + 2.3vw, var(--fs-h3)); } /* the address fits on one line from 320 px */
.pcs-band--mist .wpb_text_column h3 a { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; color: var(--color-text-1); font-weight: 800; overflow-wrap: anywhere; }
@media (min-width: 360px) { .pcs-band--mist .wpb_text_column h3 a { overflow-wrap: normal; white-space: nowrap; } }
.pcs-band--mist .wpb_text_column h3 a::before { content: ""; flex: none; width: 1.375rem; height: 1.375rem; background: currentColor; -webkit-mask: var(--pcs-mail-mask) center / contain no-repeat; mask: var(--pcs-mail-mask) center / contain no-repeat; }
.pcs-band--mist .wpb_text_column h3 a:hover { color: var(--color-link-hover); }

/* ---- Discovery (`/discovery/`): the teal page with its H1, the form description as a lead, then the form. */
.pcs-discovery h1 { font-family: var(--font-body); font-weight: 800; font-size: var(--fs-display-2); max-width: none; }

/* ---- Gravity Forms with its default CSS off: the shared control tokens from os-refresh.css, plus what these forms
   need (multi-page: progress bar, Next and Previous). Base form CSS that holds plugin markup (FACELIFT-GUIDE 7.2).
   Our CSS only; no form setting changed. */
.gform_wrapper { color: var(--color-text-1); }
.gform_wrapper .gform_fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.gform_wrapper .gform_fields > * { grid-column: 1 / -1; min-width: 0; }
.gform_wrapper .gform_fields > :empty,
.gform_wrapper p:empty { display: none; }
.gform_wrapper :is(iframe, .g-recaptcha, .cf-turnstile, .h-captcha) { max-width: 100%; }
.gform_wrapper form { container-type: inline-size; }
@container (max-width: 303.98px) {
  .gform_wrapper form > :not(.gform-body, .gform_body, .gform_footer, .gform_page_footer, .gform_heading, .gform_validation_errors, .gf_progressbar_wrapper, .gf_page_steps, input, style, script),
  .gform_wrapper .gfield--type-captcha .ginput_container { transform: scale(0.92); transform-origin: 0 0; margin-bottom: -0.4rem; }
}
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label { display: block; margin-bottom: 0.375rem; padding: 0; color: var(--color-text-1); font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; }
.gform_wrapper fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gform_wrapper .gfield_required { color: var(--color-error); font-size: 0.8125rem; font-weight: 500; }
.gform_wrapper .ginput_complex { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-sm); }
.gform_wrapper .ginput_complex > span { display: flex; flex-direction: column-reverse; gap: 0.25rem; min-width: 0; }
.gform_wrapper .gform-field-label--type-sub { font-size: var(--fs-small); color: var(--color-text-3); }
.gform_wrapper .gfield_description { margin-top: 0.375rem; font-size: var(--fs-small); color: var(--color-text-3); }
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message { margin-top: 0.375rem; color: var(--color-error); font-size: var(--fs-small); }
.gform_wrapper .gform_validation_errors { margin-bottom: var(--space-md); padding: var(--space-sm); border: 1px solid var(--color-error); border-radius: var(--radius); background: var(--c-paper); color: var(--color-error); }
.gform_wrapper .gform_validation_errors h2 { font-family: var(--font-body); font-size: var(--fs-small); color: inherit; }
.gform_wrapper .gsection { padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.gform_wrapper .gsection_title { font-family: var(--font-body); font-size: var(--fs-h3); font-weight: 800; }
/* Gravity Forms prints a form with conditional logic hidden (inline display: none) and shows it when its script has
   run, so the footer jumped down after load (Discovery CLS 0.043 at 390) and the form was missing without JavaScript
   (I2). The theme shows it from the first paint on Discovery (its first page has no field that conditional logic
   hides: checked with JS on and off) and on every page without JavaScript. The Contact form on Home keeps Gravity
   Forms' own reveal (two of its fields are hidden by its script; it sits below the first screen, CLS 0). Gravity
   Forms files and settings are unchanged. */
.pcs-discovery .gform_wrapper[style*="display:none"],
html:not(.js) .gform_wrapper[style*="display:none"] { display: block !important; }
.gform_wrapper :is(.gfield_radio, .gfield_checkbox) { display: grid; gap: 0.25rem; }
.gform_wrapper :is(.gchoice) { display: flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; }
.gform_wrapper .gchoice input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--c-ink); }
.gform_wrapper .gchoice label { font-size: var(--fs-body); }
.gform_wrapper textarea { min-height: 9rem; }
/* Progress bar ("Step 1 of 2"): the live bar, teal on the contact band, yellow on the teal Discovery page. */
.gform_wrapper .gf_progressbar_wrapper { width: 100%; max-width: none; margin: 0 0 var(--space-lg); padding: 0; }
.gform_wrapper .gf_progressbar_title { margin: 0 0 0.5rem; font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; color: var(--color-text-1); }
.gform_wrapper .gf_progressbar { overflow: hidden; height: 0.625rem; border-radius: var(--btn-radius); background: color-mix(in srgb, var(--c-ink) 12%, transparent); }
.gform_wrapper .gf_progressbar_percentage { height: 100%; border-radius: var(--btn-radius); background: var(--color-header); }
/* The percentage stays for screen readers (visually hidden, as live showed no number on the bar). */
.gform_wrapper .gf_progressbar_percentage span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gform_wrapper .gform_page_footer,
.gform_wrapper .gform_footer { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  min-height: var(--btn-height);
  padding: 0 var(--btn-pad-x);
  border: 1px solid var(--color-accent);
  border-radius: var(--btn-radius);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--fs-ui);
  line-height: var(--lh-ui);
  cursor: pointer;
}
.gform_wrapper :is(.gform_button, .gform_next_button):hover,
.gform_wrapper :is(.gform_button, .gform_next_button):focus-visible { border-color: var(--color-accent-hover); background: var(--color-accent-hover); color: var(--c-paper); }
.gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button):active { transform: translateY(var(--pm-press-shift)); }
.gform_wrapper .gform_previous_button { border-color: var(--color-text-1); background: transparent; color: var(--color-text-1); }
.gform_wrapper .gform_previous_button:hover,
.gform_wrapper .gform_previous_button:focus-visible { background: var(--color-text-1); color: var(--c-paper); }
.gform_confirmation_message { color: var(--color-text-1); font-size: var(--fs-lead); }
.gform_wrapper .gform_hidden,
.gform_wrapper .gform_validation_container { display: none; }
.gform_wrapper .gform_ajax_spinner { width: 1.25rem; height: 1.25rem; align-self: center; }
@media (max-width: 599px) {
  .gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button) { flex: 1 1 100%; width: 100%; }
}
@media (min-width: 600px) {
  .gform_wrapper .gform_fields { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); }
  .gform_wrapper .gform_fields > .gfield--width-half { grid-column: span 1; }
}
/* On the teal Discovery page: white labels and text; fields stay white (contrast kept); the live yellow progress. */
.pcs-band--teal .gform_wrapper :is(.gfield_label, legend.gfield_label, .gf_progressbar_title, .gchoice label, .gsection_title, .gform_confirmation_message) { color: var(--color-on-teal); }
.pcs-band--teal .gform_wrapper .gform-field-label--type-sub,
.pcs-band--teal .gform_wrapper .gfield_description { color: var(--color-on-teal); }
.pcs-band--teal .gform_wrapper .gfield_required { color: var(--c-paper); }
.pcs-band--teal .gform_wrapper .gsection_title { text-transform: uppercase; } /* live Discovery page CSS */
.pcs-band--teal .gform_wrapper .gsection { border-bottom-color: color-mix(in srgb, var(--c-paper) 30%, transparent); }
.pcs-band--teal .gform_wrapper .gf_progressbar { background: var(--c-paper); }
.pcs-band--teal .gform_wrapper .gf_progressbar_percentage { background: var(--color-statistics); }
.pcs-band--teal .gform_wrapper .gchoice input { accent-color: var(--color-statistics); }
.pcs-band--teal .gform_wrapper .gform_previous_button { border-color: var(--c-paper); color: var(--c-paper); }
.pcs-band--teal .gform_wrapper .gform_previous_button:hover { background: var(--c-paper); color: var(--color-text-1); }

/* ---- Footer: a slim deep-teal bar, copyright left and the Porch credit right (stacked on phones). */
.site-footer__bar { line-height: var(--lh-small); padding-block: var(--space-md); background: var(--color-footer); color: var(--color-on-band); text-align: left; font-size: var(--fs-small); }
.site-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); }
.site-footer__bar a { color: var(--color-on-band); text-decoration: none; }
.site-footer__bar a:hover { color: var(--color-pill); }
.site-footer__bar p + p { margin-top: 0; }
.site-footer .site-footer__credit .site-footer__heart { display: inline-flex; vertical-align: -0.1em; color: var(--color-pill); }
@media (max-width: 599px) {
  .site-footer__row { flex-direction: column; align-items: center; text-align: center; }
}
