/* Henare Construction Renovation Planner, scoped to the supplied main element. */
#renovation-planner {
  --rp-black: #101010;
  --rp-panel: #191919;
  --rp-panel-strong: #242424;
  --rp-line: #777777;
  --rp-line-soft: #323232;
  --rp-white: #ffffff;
  --rp-muted: #c8c8c8;
  --rp-subtle: #a5a5a5;
  --rp-red: #c90000;
  --rp-red-dark: #a80000;
  --rp-focus: #ffffff;
  --rp-radius: 2px;
  color: var(--rp-white);
  background: var(--rp-black);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: hidden;
}

#renovation-planner *,
#renovation-planner *::before,
#renovation-planner *::after { box-sizing: border-box; }

#renovation-planner h1,
#renovation-planner h2,
#renovation-planner h3,
#renovation-planner h4,
#renovation-planner p,
#renovation-planner ol,
#renovation-planner dl { margin: 0; }

#renovation-planner button,
#renovation-planner input,
#renovation-planner select,
#renovation-planner textarea { font: inherit; }

#renovation-planner button,
#renovation-planner label,
#renovation-planner select { -webkit-tap-highlight-color: transparent; }

#renovation-planner a { color: var(--rp-white); text-decoration-thickness: 1px; text-underline-offset: 3px; }
#renovation-planner a:hover { color: var(--rp-white); }
#renovation-planner a:focus-visible,
#renovation-planner button:focus-visible,
#renovation-planner input:focus-visible,
#renovation-planner select:focus-visible,
#renovation-planner textarea:focus-visible { outline: 3px solid var(--rp-focus); outline-offset: 3px; }

#renovation-planner .rp-container { width: min(100% - 40px, 1200px); margin: 0 auto; }
#renovation-planner .rp-container--planner { width: min(100% - 40px, 900px); }
#renovation-planner .rp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#renovation-planner .rp-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

#renovation-planner .rp-hero { padding: clamp(72px, 10vw, 144px) 0 clamp(64px, 9vw, 120px); background: var(--rp-black); border-bottom: 1px solid var(--rp-line-soft); }
#renovation-planner .rp-eyebrow { margin-bottom: 18px; color: var(--rp-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; line-height: 1.3; text-transform: uppercase; }
#renovation-planner h1,
#renovation-planner h2,
#renovation-planner h3,
#renovation-planner h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: -0.025em; }
#renovation-planner h1 { max-width: 920px; font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: 0.98; }
#renovation-planner .rp-hero-copy { max-width: 710px; margin-top: 28px; color: var(--rp-muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
#renovation-planner .rp-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 25px; margin: 25px 0 31px; color: var(--rp-subtle); font-size: 0.9rem; }
#renovation-planner .rp-hero-meta span + span { padding-left: 25px; border-left: 1px solid var(--rp-line); }
#renovation-planner .rp-trust-line { max-width: 540px; margin-top: 25px; color: var(--rp-subtle); font-size: 0.88rem; }

#renovation-planner .rp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--rp-radius); cursor: pointer; font-family: "DM Sans", Arial, sans-serif; font-size: 0.94rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
#renovation-planner .rp-button:hover:not(:disabled) { transform: translateY(-1px); }
#renovation-planner .rp-button:disabled { cursor: wait; opacity: 0.7; }
#renovation-planner .rp-button--primary { background: var(--rp-red); color: var(--rp-white); }
#renovation-planner .rp-button--primary:hover:not(:disabled),
#renovation-planner .rp-button--primary:focus-visible { background: var(--rp-red-dark); color: var(--rp-white); }
#renovation-planner .rp-button--quiet { border-color: var(--rp-line); background: transparent; color: var(--rp-white); }
#renovation-planner .rp-button--quiet:hover:not(:disabled),
#renovation-planner .rp-button--quiet:focus-visible { border-color: var(--rp-white); background: var(--rp-panel-strong); color: var(--rp-white); }

#renovation-planner .rp-process { padding: clamp(52px, 7vw, 96px) 0; background: var(--rp-panel); border-bottom: 1px solid var(--rp-line-soft); }
#renovation-planner .rp-section-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; }
#renovation-planner .rp-process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; padding: 0; list-style: none; }
#renovation-planner .rp-process-list li { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding-top: 17px; border-top: 1px solid var(--rp-line); }
#renovation-planner .rp-process-number { color: var(--rp-subtle); font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; line-height: 1; }
#renovation-planner .rp-process-list h3 { font-size: 1.25rem; line-height: 1.1; }
#renovation-planner .rp-process-list p { margin-top: 9px; color: var(--rp-muted); font-size: 0.92rem; }

#renovation-planner .rp-planner-section { padding: clamp(64px, 9vw, 112px) 0 58px; background: var(--rp-black); }
#renovation-planner .rp-section-intro { max-width: 700px; margin-top: 16px; color: var(--rp-muted); }
#renovation-planner .rp-noscript { margin-top: 32px; padding: 17px 18px; border: 1px solid var(--rp-line); background: var(--rp-panel); }
#renovation-planner .rp-noscript p { color: var(--rp-muted); }
#renovation-planner .rp-form { margin-top: 39px; }
#renovation-planner .rp-progress { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rp-line); }
#renovation-planner .rp-progress-labels { display: flex; justify-content: space-between; gap: 14px; color: var(--rp-muted); font-size: 0.84rem; font-weight: 700; }
#renovation-planner .rp-progress-labels span:last-child { color: var(--rp-white); text-align: right; }
#renovation-planner .rp-progress-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 15px 0 0; padding: 0; list-style: none; }
#renovation-planner .rp-progress-list li { height: 4px; background: var(--rp-line); }
#renovation-planner .rp-progress-list li.is-complete,
#renovation-planner .rp-progress-list li.is-current { background: var(--rp-red); }
#renovation-planner .rp-progress-list span { display: none; }
#renovation-planner .rp-status { min-height: 0; color: var(--rp-white); font-size: 0.94rem; }
#renovation-planner .rp-status:not(:empty) { margin-bottom: 22px; padding: 13px 15px; border-left: 3px solid var(--rp-red); background: var(--rp-panel); }
#renovation-planner .rp-status.is-error { color: var(--rp-white); }
#renovation-planner .rp-status.is-sending { border-left-color: var(--rp-white); }

#renovation-planner .rp-step { max-width: 900px; }
#renovation-planner .rp-step-heading { margin-bottom: 31px; }
#renovation-planner .rp-step-count { margin-bottom: 11px; color: var(--rp-subtle); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; }
#renovation-planner .rp-step-heading h3 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
#renovation-planner .rp-step-heading > p:last-child { max-width: 730px; margin-top: 13px; color: var(--rp-muted); }
#renovation-planner .rp-fieldset,
#renovation-planner .rp-project-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
#renovation-planner .rp-project-fields > legend { width: 100%; margin-bottom: 20px; color: var(--rp-white); font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; }
#renovation-planner .rp-project-fields + .rp-project-fields { margin-top: 24px; }
#renovation-planner .rp-fieldset > legend,
#renovation-planner .rp-label { display: block; margin-bottom: 11px; color: var(--rp-white); font-size: 0.96rem; font-weight: 700; }
#renovation-planner label { display: block; color: var(--rp-white); font-size: 0.96rem; font-weight: 700; }
#renovation-planner label > span:last-child,
#renovation-planner .rp-fieldset > legend > span { color: var(--rp-subtle); font-size: 0.84rem; font-weight: 400; }
#renovation-planner b { color: var(--rp-white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
#renovation-planner .rp-field { margin-top: 23px; }
#renovation-planner .rp-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
#renovation-planner input[type="text"],
#renovation-planner input[type="email"],
#renovation-planner input[type="tel"],
#renovation-planner select,
#renovation-planner textarea { display: block; width: 100%; min-height: 46px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: var(--rp-panel); color: var(--rp-white); box-shadow: none; }
#renovation-planner select { cursor: pointer; }
#renovation-planner textarea { min-height: 122px; resize: vertical; }
#renovation-planner input::placeholder,
#renovation-planner textarea::placeholder { color: var(--rp-subtle); opacity: 1; }
#renovation-planner input:hover,
#renovation-planner select:hover,
#renovation-planner textarea:hover { border-color: var(--rp-subtle); }
#renovation-planner input[aria-invalid="true"],
#renovation-planner select[aria-invalid="true"],
#renovation-planner textarea[aria-invalid="true"] { border-color: var(--rp-red); }
#renovation-planner .rp-field.is-invalid > .rp-label,
#renovation-planner .rp-field.is-invalid > label,
#renovation-planner .rp-fieldset.is-invalid > legend { color: var(--rp-white); }
#renovation-planner .rp-helper { margin-top: 7px; color: var(--rp-subtle); font-size: 0.82rem; line-height: 1.45; }
#renovation-planner .rp-field-error { margin-top: 7px; color: var(--rp-white); font-size: 0.86rem; font-weight: 700; }
#renovation-planner .rp-field-error::before { content: "Please check: "; color: var(--rp-white); }

#renovation-planner .rp-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#renovation-planner .rp-choice-grid--project { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#renovation-planner .rp-choice-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#renovation-planner .rp-choice-card,
#renovation-planner .rp-choice { position: relative; display: flex; min-width: 0; min-height: 66px; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: var(--rp-panel); cursor: pointer; color: var(--rp-white); font-weight: 400; transition: border-color 160ms ease, background-color 160ms ease; }
#renovation-planner .rp-choice-card { min-height: 128px; flex-direction: column; align-items: flex-start; justify-content: center; }
#renovation-planner .rp-choice-card:hover,
#renovation-planner .rp-choice:hover { border-color: var(--rp-subtle); background: var(--rp-panel-strong); }
#renovation-planner .rp-choice-card:has(input:checked),
#renovation-planner .rp-choice:has(input:checked) { border-color: var(--rp-red); background: var(--rp-panel-strong); }
#renovation-planner .rp-choice-card__title { font-family: "Playfair Display", Georgia, serif; font-size: 1.18rem; line-height: 1.05; }
#renovation-planner .rp-choice-card__detail { color: var(--rp-muted); font-size: 0.83rem; font-weight: 400; line-height: 1.42; }
#renovation-planner input[type="radio"],
#renovation-planner input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--rp-red); cursor: pointer; }
#renovation-planner .rp-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#renovation-planner .rp-check-grid label,
#renovation-planner .rp-check-field label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 400; line-height: 1.4; }
#renovation-planner .rp-fieldset--optional { margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--rp-line-soft); }
#renovation-planner .rp-step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rp-line); }
#renovation-planner .rp-step-actions > span { display: block; }

#renovation-planner .rp-review { margin: 0 0 30px; padding: 22px; border: 1px solid var(--rp-line); background: var(--rp-panel); }
#renovation-planner .rp-review-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--rp-line); }
#renovation-planner .rp-review h4 { font-size: 1.55rem; line-height: 1.1; }
#renovation-planner .rp-review-heading p { max-width: 380px; color: var(--rp-muted); font-size: 0.83rem; text-align: right; }
#renovation-planner .rp-summary-list { margin-top: 16px; }
#renovation-planner .rp-summary-row { display: grid; grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1.25fr); gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--rp-line-soft); }
#renovation-planner .rp-summary-row dt { color: var(--rp-subtle); font-size: 0.83rem; }
#renovation-planner .rp-summary-row dd { margin: 0; overflow-wrap: anywhere; }
#renovation-planner .rp-readiness-note { margin-top: 18px; padding: 14px; border-left: 3px solid var(--rp-red); background: var(--rp-black); color: var(--rp-muted); font-size: 0.9rem; }
#renovation-planner .rp-summary-actions { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px; }
#renovation-planner .rp-text-button { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--rp-subtle); background: transparent; color: var(--rp-white); cursor: pointer; font-family: "DM Sans", Arial, sans-serif; font-size: 0.9rem; font-weight: 700; text-align: left; }
#renovation-planner .rp-text-button:hover { border-color: var(--rp-white); }
#renovation-planner .rp-consent-group { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rp-line); }
#renovation-planner .rp-check-field + .rp-check-field { margin-top: 8px; }
#renovation-planner .rp-check-field a { text-decoration-thickness: 1px; }
#renovation-planner .rp-submit-note { margin-top: 20px; padding: 13px 15px; border: 1px solid var(--rp-line-soft); color: var(--rp-subtle); font-size: 0.81rem; }

#renovation-planner .rp-success { margin-top: 40px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--rp-line); background: var(--rp-panel); }
#renovation-planner .rp-success h2 { max-width: 690px; font-size: clamp(2.15rem, 4.5vw, 4rem); line-height: 1.03; }
#renovation-planner .rp-success > p:not(.rp-eyebrow) { max-width: 700px; margin-top: 18px; color: var(--rp-muted); }
#renovation-planner .rp-success-summary { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rp-line); }
#renovation-planner .rp-success-summary h3 { font-size: 1.5rem; line-height: 1.1; }
#renovation-planner .rp-success > .rp-text-button { margin-top: 24px; }
#renovation-planner .rp-disclaimer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rp-line); }
#renovation-planner .rp-disclaimer p { max-width: 850px; color: var(--rp-subtle); font-size: 0.86rem; }
#renovation-planner .rp-disclaimer strong { color: var(--rp-white); }

@media (max-width: 680px) {
  #renovation-planner .rp-container,
  #renovation-planner .rp-container--planner { width: min(100% - 30px, 900px); }
  #renovation-planner .rp-hero { padding-top: 66px; }
  #renovation-planner .rp-hero-meta span + span { padding-left: 0; border-left: 0; }
  #renovation-planner .rp-process-list { grid-template-columns: 1fr; gap: 23px; margin-top: 35px; }
  #renovation-planner .rp-choice-grid,
  #renovation-planner .rp-choice-grid--project,
  #renovation-planner .rp-choice-grid--compact,
  #renovation-planner .rp-field-grid,
  #renovation-planner .rp-check-grid { grid-template-columns: 1fr; }
  #renovation-planner .rp-choice-card { min-height: 104px; }
  #renovation-planner .rp-step-actions { flex-direction: column-reverse; }
  #renovation-planner .rp-step-actions .rp-button { width: 100%; }
  #renovation-planner .rp-step-actions > span { display: none; }
  #renovation-planner .rp-review { padding: 18px; }
  #renovation-planner .rp-review-heading { display: block; }
  #renovation-planner .rp-review-heading p { margin-top: 9px; text-align: left; }
  #renovation-planner .rp-summary-row { grid-template-columns: 1fr; gap: 3px; }
  #renovation-planner .rp-summary-actions { flex-direction: column; align-items: flex-start; }
  #renovation-planner .rp-summary-actions .rp-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  #renovation-planner *,
  #renovation-planner *::before,
  #renovation-planner *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  #renovation-planner { color: #000; background: #fff; }
  #renovation-planner .rp-hero,
  #renovation-planner .rp-process,
  #renovation-planner .rp-progress,
  #renovation-planner .rp-step:not([data-step="6"]),
  #renovation-planner .rp-step-actions,
  #renovation-planner .rp-summary-actions,
  #renovation-planner .rp-consent-group,
  #renovation-planner .rp-submit-note,
  #renovation-planner .rp-disclaimer,
  #renovation-planner .rp-success > .rp-text-button { display: none !important; }
  #renovation-planner .rp-planner-section,
  #renovation-planner .rp-review,
  #renovation-planner .rp-success { background: #fff; border-color: #777; }
  #renovation-planner h1,
  #renovation-planner h2,
  #renovation-planner h3,
  #renovation-planner h4,
  #renovation-planner p,
  #renovation-planner dt,
  #renovation-planner dd { color: #000 !important; }
}

/* Integration fixes stay inside this planner. */
#renovation-planner [hidden] { display: none !important; }
#renovation-planner h1, #renovation-planner h2, #renovation-planner h3, #renovation-planner h4 { color: #fff; }
#renovation-planner .rp-step-heading h3 { scroll-margin-top: 24px; }
#renovation-planner .rp-choice-card__title { color: #fff; }
#renovation-planner .rp-privacy-content { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
#renovation-planner .rp-privacy-content h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; margin-bottom: 28px; }
#renovation-planner .rp-privacy-content h2 { font-size: 1.7rem; margin: 38px 0 14px; }
#renovation-planner .rp-privacy-content p { color: #c8c8c8; margin: 14px 0; }
#renovation-planner .rp-privacy-content a { overflow-wrap: anywhere; }
#renovation-planner .rp-step-actions button:active { transform: scale(.98); }
@media print {
  #renovation-planner { overflow: visible; }
  #renovation-planner .rp-step[data-step="6"] > .rp-field-grid,
  #renovation-planner .rp-step[data-step="6"] > .rp-fieldset,
  #renovation-planner .rp-step[data-step="6"] > .rp-step-heading { display: none !important; }
  #renovation-planner .rp-planner-section { padding: 0; }
  #renovation-planner .rp-readiness-note, #renovation-planner .rp-summary-list { background: #fff; color: #000; }
}
