/* Whitty Water Works — flyer palette and responsive HTML layout.
   Representative colors sampled from references/flyer-original.png. */
:root {
  --navy: #001027;
  --dark: #001027;
  --blue: #033A97;
  --royal: #06109E;
  --bright-blue: #0064D4;
  --green: #0F3512;
  --body: #001027;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-display: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
}
body { color: var(--navy); background: var(--navy); }
body > main { flex: 0 0 auto; background: #fff; }
body > main.subpage { flex: 1 0 auto; background: #f7fafc; }
.container { width: min(100% - 64px, 1180px); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 15px; background: white; color: var(--navy); }
.skip-link:focus { top: 12px; }

/* Continuous coastal photograph; assembly sits to the right of the copy. */
.hero-shell {
  position: relative; min-height: clamp(437px, 33.6vw, 645px);
  display: flex; flex-direction: column;
  background-color: #edf7fd;
  background-image: linear-gradient(90deg, rgba(242,249,254,.94), rgba(242,249,254,.84) 25%, rgba(242,249,254,.48) 39%, transparent 60%), url('hero-rpba-coast-compact.png');
  background-size: cover; background-position: center bottom;
}
.site-header { background: transparent; }
.header-row { height: 172px; padding-top: 5px; }
.brand-block { flex: 0 0 300px; width: 300px; gap: 4px; }
.brand-block .header-logo { width: 100%; }
.header-logo img { filter: none; opacity: 1; background: transparent; }
.license-oval {
  width: 100%; min-height: 26px; padding: 4px 12px;
  gap: 12px; background: var(--navy); box-shadow: none;
  font: 700 15px/1 var(--font-display); letter-spacing: .1px;
}
.license-oval i { font-size: 14px; }
.navigation-region { padding-top: 13px; }
.site-nav {
  max-width: 660px; flex-wrap: wrap; gap: 4px 25px;
  padding: 12px 0; border-radius: 0; background: transparent; box-shadow: none;
}
.site-nav a { color: var(--navy); font: 700 16px/1.3 var(--font-body); min-height: 34px; text-shadow: 0 1px 2px #fff, 0 0 7px #ffffffd9; }
.site-nav a:hover, .site-nav a.is-active { color: var(--blue); border-color: var(--bright-blue); }
.site-nav a:focus-visible { outline-color: var(--blue); }
.site-nav .records-nav {
  flex-basis: 100%; justify-content: flex-end; align-self: flex-end;
  color: var(--navy); border: 0; font: 500 13px/1.2 var(--font-body);
  min-height: 22px; gap: 5px;
}
.site-nav .records-nav:hover { color: var(--blue); text-decoration: underline; }
.hero { flex: 1; }
.hero, .hero-layout { min-height: 265px; }
.hero-copy { padding: 18px 0 28px; max-width: 610px; }
.hero-eyebrow {
  color: var(--green); text-transform: none; letter-spacing: -.55px;
  font: 900 clamp(29px,2.6vw,37px)/1.05 var(--font-display);
  margin: 0 0 5px; text-shadow: none;
}
.hero h1, .hero h1 span {
  color: var(--navy); font: 900 clamp(47px,4.35vw,63px)/1.02 var(--font-body);
  letter-spacing: -1.7px; margin: 0 0 13px; white-space: nowrap;
}
.hero-summary { max-width: 505px; margin: 0; color: var(--navy); font: 400 22px/1.25 var(--font-body); }
.hero-assembly-mobile { display: none; }
.schedule-invitation { display: flex; width: 100%; justify-content: center; margin-top: 12px; padding: 0; flex: none; }
.schedule-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px;
  padding: 4px 0 6px; color: var(--blue);
  font: 700 17px/1.15 var(--font-body); text-decoration: none;
  border-bottom: 1px solid #033a9777;
}
.schedule-link .icon { width: 24px; height: 24px; }
.schedule-link .link-arrow { padding-left: 12px; font-size: 26px; line-height: 1; transition: transform .2s; }
.schedule-link:hover { color: var(--royal); border-color: var(--royal); }
.schedule-link:hover .link-arrow { transform: translateX(4px); }

/* The five service highlights use the WATER WORKS blue. */
.features { background: linear-gradient(#fff,#eff7fc); border-bottom: 0; }
.feature-grid { padding: 24px 0 26px; }
.feature { padding-inline: 10px; }
.feature-icon {
  width: 56px; height: 56px; margin-bottom: 10px;
  background: var(--blue); box-shadow: inset 0 0 0 1px #ffffff55;
}
.feature-icon .icon { width: 34px; height: 34px; stroke-width: 1.8; }
.features .feature h2 {
  margin: 0 0 7px; color: var(--blue);
  font: 800 18px/1.08 var(--font-display); letter-spacing: -.2px; text-transform: uppercase;
}
.features .feature p { margin: 0; color: var(--navy); font: 400 14px/1.3 var(--font-body); }

/* Three aligned panels with flexible internal spacing. */
.details-grid { grid-template-columns: 1.08fr .94fr 1.08fr; gap: 17px; padding-block: 18px 22px; align-items: stretch; }
.info-panel { min-height: 0; border-radius: 7px; background: linear-gradient(#fff,#fbfdff); }
.panel-title { min-height: 47px; padding: 10px 18px; font: 800 25px/1.05 var(--font-display); letter-spacing: -.25px; text-transform: uppercase; }
.panel-blue { background: var(--blue); }
.pricing-panel { border-color: var(--blue); }
.repairs-panel { border-color: #86a18a; }
.repairs-panel .panel-green { background: var(--green); }
.pricing-panel .panel-content { padding: 0 18px 17px; }
.price-row { grid-template-columns: 46px minmax(0,1fr) auto; gap: 9px; min-height: 58px; padding: 6px 0; flex: 0 0 auto; }
.price-icon { width: 40px; height: 44px; color: var(--blue); }
.price-icon .icon { width: 38px; height: 38px; }
.price-label strong, .repair-rate strong { font: 700 17px/1.08 var(--font-display); color: var(--navy); text-transform: uppercase; }
.price-label span, .repair-rate small { font: 400 13px/1.15 var(--font-body); margin-top: 4px; color: #34475e; }
.price-label span { text-transform: uppercase; }
.price-row .amount { font: 800 31px/1 var(--font-display); color: var(--royal); }
.panel-note { font: 400 13px/1.35 var(--font-body); color: #34475e; padding-top: 12px; margin-top: 0; }
.why-panel { border-color: #a9c2e0; }
.why-content { padding: 12px 15px 13px; }
.why-panel h2 { padding: 0 0 12px; margin: 0 0 14px; border-bottom: 1px solid #a9c2e0; color: var(--blue); font: 900 27px/1.02 var(--font-display); letter-spacing: -.3px; }
.why-list { padding: 0; }
.why-list li { gap: 9px; margin-bottom: 10px; color: #34475e; font: 400 14px/1.25 var(--font-body); }
.check-icon { width: 21px; height: 21px; background: var(--blue); }
.check-icon .icon { width: 15px; height: 15px; }
.reminder-callout { margin-top: 5px; padding: 12px 11px 8px; border: 1px solid var(--blue); border-radius: 9px; background: #fff; }
.reminder-callout h3 { color: var(--blue); margin: 0 0 9px; text-align: center; font: 800 21px/1.05 var(--font-display); }
.reminder-main { gap: 11px; align-items: center; justify-content: center; }
.reminder-round { width: 57px; height: 57px; flex-basis: 57px; background: var(--blue); }
.reminder-round .icon { width: 33px; height: 33px; }
.reminder-main p { margin: 0; color: #34475e; font: 400 13px/1.25 var(--font-body); }
.reminder-script { color: var(--royal); font-size: 27px; margin: 8px 0 3px; line-height: 1.1; }
.repairs-panel .panel-content { padding: 0 16px 16px; }
.repair-rate { min-height: 67px; grid-template-columns: 43px minmax(0,1fr) auto; gap: 8px; padding: 8px 0; }
.repair-round { width: 40px; height: 40px; background: var(--green); }
.repair-round .icon { width: 27px; height: 27px; }
.repair-rate .repair-amount { color: var(--green); font: 800 30px/1 var(--font-display); }
.repair-amount small { font: 700 18px/1 var(--font-display); color: var(--green); text-transform: none; }
.repairs-panel h3 { margin: 13px 0 9px; font: 700 19px/1.1 var(--font-display); color: var(--navy); letter-spacing: -.3px; text-transform: uppercase; }
.repairs-panel h3 span { padding: 0 2px; }
.repairs-list { padding-left: 21px; margin-bottom: 14px; font: 400 15px/1.35 var(--font-body); color: #34475e; }
.materials-callout { padding: 12px 10px; min-height: 76px; gap: 10px; margin-top: auto; }
.materials-callout > .icon { width: 35px; height: 35px; flex-basis: 35px; color: var(--green); }
.materials-callout strong { color: var(--green); font: 700 17px/1.08 var(--font-display); text-transform: uppercase; }
.materials-callout p { color: #254e43; font: 400 12px/1.25 var(--font-body); }

/* Visible shoreline, with the audience message replacing repeated service points. */
.coast-band {
  min-height: 124px; height: auto; padding: 21px 0;
  background-image: linear-gradient(90deg,transparent 10%,rgba(240,249,255,.14) 23%,rgba(240,249,255,.72) 42%,rgba(240,249,255,.78)),url('coast-strip-scenic.png');
  background-size: cover; background-position: center 60%; border-bottom: 2px solid #5bb3e8;
}
.coast-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 26px; padding-left: 170px; align-items: center; }
.coast-heading { display: flex; min-width: 0; flex-direction: column; gap: 1px; margin: 0; align-items: center; white-space: nowrap; text-shadow: 0 1px 3px #fff; }
.coast-heading strong { font: 800 20px/1.1 var(--font-display); }
.coast-heading span { color: var(--green); font: italic 700 39px/1.1 'Lobster Two',Georgia,serif; }
.coast-audience-block { text-align: center; border-left: 1px solid #7e9dbb; padding-left: 22px; }
.coast-audience { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 12px; margin: 0; color: var(--navy); font: 800 18px/1.2 var(--font-display); text-transform: uppercase; }
.coast-audience span { white-space: nowrap; }
.coast-audience i { font-style: normal; color: var(--blue); }
.coast-trust { margin: 9px 0 0; color: var(--blue); font: 700 15px/1.2 var(--font-body); letter-spacing: .4px; }
.site-footer { margin-top: 0; background: var(--navy); }
.footer-inner { padding: 12px 0 10px; }
.footer-nav { flex-wrap: wrap; white-space: normal; gap: 8px 27px; padding: 4px 0 11px; border: 0; }
.footer-nav a { font: 400 12px/1.2 var(--font-body); }
.footer-nav .records-nav { display: inline-flex; align-items: center; gap: 4px; }

/* Continuous navy footer; the original Tech4 pixels receive a display-only color treatment. */
.copyright-band { background: var(--navy); color: #dce7f4; border: 0; }
.copyright { border: 0; margin: 0 auto; padding: 11px 0; min-height: 38px; color: #dce7f4; font: 400 11px/1.3 var(--font-body); gap: 5px; }
.compact-page .copyright { padding-bottom: 20px; }
.website-credit { color: #dce7f4; gap: 7px; align-items: center; }
.website-credit .credit-label { padding: 0; line-height: 1.3; }
.website-credit img { width: 78px; height: auto; margin: 0; transform: none; padding: 0; border-radius: 0; background: transparent; filter: none; opacity: 1; }

/* Secondary headers end at the logo tagline: no license oval. */
.inner-header { background: #f6fbff; border-bottom: 1px solid #dbe6ee; }
.inner-header .header-row { height: 154px; }
.subpage-card h2, .subpage-kicker { color: var(--blue); }
.subpage-hero h1 { font-family: var(--font-display); }
.cta-primary { background: var(--blue); border-color: var(--blue); }
.cta-outline { color: var(--blue); }

@media (max-width: 1110px) {
  .container { width: calc(100% - 48px); }
  .brand-block { flex-basis: 280px; width: 280px; }
  .header-row { height: 162px; }
  .inner-header .header-row { height: 146px; }
  .site-nav { max-width: 590px; gap: 3px 17px; padding: 11px 15px; }
  .site-nav a { font-size: 14px; }
  .hero-copy { max-width: 560px; }
  .hero-eyebrow { font-size: 32px; }
  .hero h1 { font-size: 53px; }
  .hero-summary { font-size: 20px; max-width: 450px; }
  .details-grid { gap: 12px; }
  .panel-title { padding-inline: 12px; font-size: 23px; }
  .pricing-panel .panel-content { padding-inline: 12px; }
  .price-row { grid-template-columns: 35px minmax(0,1fr) auto; gap: 7px; }
  .price-icon, .price-icon .icon { width: 32px; }
  .price-label strong, .repair-rate strong { font-size: 15px; }
  .price-row .amount, .repair-rate .repair-amount { font-size: 28px; }
  .why-content { padding-inline: 11px; }
  .why-panel h2 { font-size: 28px; }
  .why-list li { font-size: 13px; }
  .reminder-callout { padding-inline: 9px; }
  .reminder-callout h3 { font-size: 19px; }
  .reminder-round { width: 46px; height: 46px; flex-basis: 46px; }
  .reminder-main { gap: 8px; }
  .reminder-main p { font-size: 12px; }
  .reminder-script { font-size: 24px; }
  .repairs-panel .panel-content { padding-inline: 12px; }
  .repair-rate { grid-template-columns: 35px minmax(0,1fr) auto; gap: 6px; }
  .repair-round { width: 33px; height: 33px; }
  .repair-round .icon { width: 23px; height: 23px; }
  .repairs-panel h3 { font-size: 17px; }
  .repairs-list { font-size: 14px; }
  .materials-callout > .icon { width: 28px; height: 28px; flex-basis: 28px; }
  .coast-line { gap: 15px; }
  .coast-heading { flex-basis: 38%; flex-direction: column; gap: 0; }
  .coast-heading span { font-size: 36px; }
  .coast-heading strong { font-size: 16px; }
  .coast-point { padding: 0 8px; gap: 6px; }
  .coast-point strong { font-size: 12px; }
}
@media (max-width: 940px) {
  .hero-shell { min-height: 0; background: #edf7fd; }
  .hero, .hero-layout { min-height: 0; }
  .hero-copy { padding: 20px 0 28px; }
  .hero-assembly-mobile { display: block; aspect-ratio: 2.7; background: url('hero-rpba-coast.png') center bottom / cover no-repeat; }
  .schedule-invitation { width: 100%; }
}
@media (max-width: 940px) and (min-width: 731px) {
  .brand-block { flex-basis: 270px; width: 270px; }
  .header-row { height: 156px; }
  .inner-header .header-row { height: 142px; }
  .license-oval { font-size: 14px; min-height: 25px; gap: 10px; }
  .navigation-region { padding-top: 9px; }
  .site-nav { gap: 2px 13px; max-width: 470px; }
  .site-nav a { font-size: 13px; }
  .hero-eyebrow { font-size: 32px; }
  .hero h1 { font-size: 52px; }
  .hero-summary { max-width: 520px; font-size: 21px; }
  .features .feature h2 { font-size: 15px; }
  .features .feature p { font-size: 12px; }
  .feature-icon { width: 48px; height: 48px; }
  .feature-icon .icon { width: 29px; height: 29px; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .pricing-panel { grid-column: 1; grid-row: 1; }
  .repairs-panel { grid-column: 2; grid-row: 1; }
  .why-panel { grid-column: 1/-1; grid-row: 2; min-height: 0; }
  .why-content { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 25px; padding: 20px; }
  .why-panel h2 { grid-column: 1/-1; margin: 0; }
  .why-panel h2 br { display: none; }
  .why-panel h2 br::after { content: ' '; }
  .why-list { display: block; grid-column: 1; }
  .why-list li { font-size: 14px; }
  .reminder-callout { margin: 0; align-self: start; }
  .reminder-main p { font-size: 13px; }
  .coast-point { flex-direction: column; text-align: center; gap: 5px; }
}
@media (max-width: 730px) {
  .container { width: calc(100% - 34px); }
  .header-row { height: auto; min-height: 157px; padding: 6px 0 8px; }
  .inner-header .header-row { height: auto; min-height: 137px; }
  .brand-block { flex: 0 1 270px; width: min(70vw,270px); gap: 4px; }
  .license-oval { width: 100%; min-height: 25px; font-size: clamp(11px,2.4vw,14px); padding: 5px 7px; gap: 8px; }
  .menu-toggle { margin-top: 0; color: var(--navy); background: transparent; border-color: transparent; }
  .navigation-region { padding: 0; background: #fff; }
  .site-nav { max-width: none; gap: 0; padding: 10px 12px; }
  .site-nav a, .site-nav .records-nav { flex-basis: auto; justify-content: flex-start; align-self: stretch; font-size: 16px; min-height: 43px; border-color: #d8e4ef; }
  .site-nav a.is-active { background: #edf5fd; color: var(--blue); }
  .hero-copy { padding: 17px 0 28px; max-width: 100%; }
  .hero-eyebrow { font-size: clamp(25px,5.7vw,34px); letter-spacing: -.5px; }
  .hero h1, .hero h1 span { font-size: clamp(33px,7.2vw,50px); letter-spacing: -1px; line-height: 1.08; margin-bottom: 13px; white-space: normal; }
  .hero-summary { max-width: 450px; font-size: 18px; line-height: 1.3; }
  .hero-assembly-mobile { aspect-ratio: 1.55; background-size: 200% auto; background-position: right bottom; }
  .schedule-link { font-size: 18px; min-height: 44px; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 24px; gap: 25px 0; }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:last-child { grid-column: 1/-1; }
  .features .feature h2 { font-size: 18px; }
  .features .feature p { font-size: 14px; }
  .details-grid { grid-template-columns: 1fr; padding-block: 18px; gap: 18px; }
  .info-panel { min-height: 0; }
  .panel-title { min-height: 47px; padding: 10px 17px; font-size: 26px; }
  .pricing-panel .panel-content { padding: 0 17px 18px; }
  .price-row { min-height: 60px; grid-template-columns: 45px minmax(0,1fr) auto; gap: 9px; }
  .price-icon, .price-icon .icon { width: 38px; }
  .price-label strong, .repair-rate strong { font-size: 17px; }
  .price-label span, .repair-rate small { font-size: 13px; }
  .price-row .amount, .repair-rate .repair-amount { font-size: 31px; }
  .panel-note { font-size: 13px; }
  .why-content { display: flex; padding: 20px 17px; }
  .why-panel h2 { font-size: 32px; margin-bottom: 18px; }
  .why-list { display: block; }
  .why-list li { font-size: 15px; line-height: 1.3; margin-bottom: 13px; }
  .reminder-callout { margin-top: 13px; padding: 14px 13px 9px; }
  .reminder-callout h3 { font-size: 23px; }
  .reminder-round { width: 61px; height: 61px; flex-basis: 61px; }
  .reminder-main { gap: 14px; }
  .reminder-main p { font-size: 14px; }
  .reminder-script { font-size: 30px; }
  .repairs-panel .panel-content { padding: 0 16px 18px; }
  .repair-rate { min-height: 81px; grid-template-columns: 42px minmax(0,1fr) auto; gap: 8px; }
  .repair-round { width: 39px; height: 39px; }
  .repairs-panel h3 { font-size: 19px; margin-top: 17px; }
  .repairs-list { font-size: 15px; line-height: 1.5; }
  .materials-callout { margin-top: 8px; padding: 13px 11px; }
  .materials-callout strong { font-size: 18px; }
  .materials-callout p { font-size: 13px; }
  .coast-band { padding: 22px 0; }
  .coast-line { flex-direction: column; gap: 20px; }
  .coast-heading { min-width: 0; flex: none; flex-direction: column; gap: 0; }
  .coast-heading strong { font-size: 18px; }
  .coast-heading span { font-size: 41px; }
  .coast-point { flex-direction: column; padding: 0 5px; text-align: center; gap: 7px; }
  .coast-point:first-child { border-left: 0; }
  .coast-point strong { font-size: 12px; }
  .footer-nav { gap: 10px 17px; }
  .copyright { padding: 10px 0; gap: 4px 5px; font-size: 11px; }
  .website-credit img { width: 72px; }
}
@media (max-width: 430px) {
  .brand-block { flex: 0 1 min(70vw,270px); width: min(70vw,270px); }
  .header-row { min-height: 146px; }
  .inner-header .header-row { min-height: 126px; }
  .hero h1 { font-size: clamp(31px,7.7vw,34px); }
  .hero-eyebrow { font-size: clamp(24px,5.7vw,27px); }
  .coast-point strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .schedule-link .link-arrow { transition: none; }
}

/* Flyer seal sits above the brass assembly and stays independent of the photo. */
.hero-badge { position: absolute; width: 115px; height: auto; right: max(32px,calc((100vw - 1180px)/2)); top: 105px; z-index: 2; pointer-events: none; }
/* Shared footer navigation. */
.footer-top, .footer-navigation { width: 100%; }

/* A useful calendar download on the scheduling page, without stretching home panels. */
.calendar-reminder-card { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; }
.calendar-reminder-card .subpage-kicker { font-size: 11px; letter-spacing: 1px; margin: 0 0 7px; }
.calendar-reminder-card h2 { margin-bottom: 8px; }
.calendar-reminder-card p { margin: 0; font-size: 15px; }
.calendar-reminder-card label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.reminder-controls { display: flex; gap: 10px; align-items: center; }
.reminder-controls input { flex: 1; min-width: 0; }
.reminder-controls .cta { margin: 0; font-size: 15px; min-height: 42px; padding: 10px 13px; cursor: pointer; }
.calendar-reminder-card #calendar-reminder-note { margin-top: 10px; font-size: 12px !important; }
.calendar-reminder-card .calendar-reminder-status { margin-top: 8px; color: var(--blue); font-size: 13px; font-weight: 700; }
@media (max-width: 1110px) {
 .coast-layout { padding-left: 115px; grid-template-columns: 1fr 1.45fr; gap: 18px; }
 .coast-audience { font-size: 16px; gap: 4px 9px; }
 .coast-audience-block { padding-left: 16px; }

}
@media (max-width: 940px) {
 .hero-badge { top: auto; bottom: calc(100vw / 2.7 - 110px); right: 25px; width: 96px; }
 .coast-layout { padding-left: 85px; grid-template-columns: 1fr 1.4fr; }
 .coast-heading strong { font-size: 16px; }
 .coast-heading span { font-size: 34px; }
 .coast-audience { gap: 4px 8px; font-size: 15px; }
 .coast-trust { font-size: 13px; }

 .calendar-reminder-card { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 730px) {
 .site-nav { background: transparent; }
 .site-nav a { text-shadow: none; }
 .hero-badge { bottom: calc(100vw / 1.55 - 104px); right: 16px; width: 88px; }
 .why-panel h2 { font-size: 29px; }
 .coast-band { padding: 26px 0; min-height: 186px; background-image: linear-gradient(90deg,rgba(240,249,255,.69),rgba(240,249,255,.86)),url('coast-strip-scenic.png'); background-size: auto 600px; background-position: left 60%; }
 .coast-layout { padding-left: 0; grid-template-columns: 1fr; gap: 16px; }
 .coast-heading strong { font-size: 17px; }
 .coast-heading span { font-size: 39px; }
 .coast-audience-block { padding-left: 0; border-left: 0; }
 .coast-audience { font-size: 16px; gap: 4px 9px; }
 .coast-trust { font-size: 14px; margin-top: 8px; }

 .reminder-controls { flex-wrap: wrap; }
 .reminder-controls input { flex-basis: 150px; }
 .reminder-controls .cta { flex: 1 1 auto; }
}

/* October 16 refinement: equal columns, with space shared by the content. */
.details-grid { align-items: stretch; }
.info-panel { height: 100%; }
.pricing-panel .price-row { min-height: 54px; flex: 1 0 54px; }
.pricing-panel .panel-note { flex: none; }
.why-panel .why-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.why-panel .reminder-callout { margin-top: 10px; }
.repairs-panel .repair-rate { flex: 1 0 67px; }
.repairs-panel .repairs-list { flex: 2 0 auto; display: flex; flex-direction: column; justify-content: space-around; margin-bottom: 12px; }
.repairs-panel .repairs-list li { padding-block: 2px; }
.repairs-panel .materials-callout { flex: none; margin-top: 0; }
.pricing-panel .schedule-link { min-height: 42px; }
/* Keep the existing green script and proudly-serving heading; add the callout at the end. */
.coast-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) minmax(0,1.2fr); gap: 18px; padding-left: 85px; }
.coast-audience { font-size: 16px; gap: 5px 9px; }
.coast-audience-block { padding-left: 16px; }
.coast-call { display: flex; align-items: center; justify-content: flex-end; gap: 11px; padding-left: 18px; border-left: 1px solid #7e9dbb; }
.coast-phone-icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #fff; background: var(--blue); display: grid; place-items: center; color: #fff; flex: none; }
.coast-phone-icon svg { width: 27px; height: 27px; }
.coast-schedule-label { display: block; color: var(--blue); font: 800 21px/1.1 var(--font-display); text-decoration: none; }
.coast-schedule-label:hover { color: var(--royal); text-decoration: underline; text-underline-offset: 4px; }
.coast-phone-number { display: block; width: max-content; color: var(--navy); font: 900 43px/1.05 var(--font-display); letter-spacing: -.5px; text-decoration: none; }
.coast-phone-number:hover { color: var(--blue); }
.credit-color-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.back-to-top { display: none; }
@media (max-width: 1110px) {
 .coast-layout { padding-left: 0; }
 .coast-call { padding-left: 13px; gap: 9px; }
 .coast-phone-icon { width: 43px; height: 43px; }
 .coast-phone-icon svg { width: 24px; height: 24px; }
 .coast-schedule-label { font-size: 19px; }
 .coast-phone-number { font-size: 39px; }
}
@media (max-width: 1000px) {
 .coast-layout { grid-template-columns: 1fr 1.25fr; gap: 18px 24px; }
 .coast-call { grid-column: 1/-1; justify-content: center; border-left: 0; padding-left: 0; }
 .coast-schedule-label { font-size: 21px; }
 .coast-phone-number { font-size: 43px; }
 .coast-band { background-size: auto 620px; }
}
@media (max-width: 940px) and (min-width: 731px) {
 .why-panel .why-list { display: flex; }
 .why-panel .reminder-callout { margin: 0; }
}
@media (max-width: 730px) {
 .info-panel { height: auto; }
 .pricing-panel .price-row { min-height: 60px; flex: none; }
 .repairs-panel .repair-rate { flex: none; }
 .repairs-panel .repairs-list { flex: none; display: block; }
 .why-panel .why-list { display: block; flex: none; }
 .coast-layout { grid-template-columns: 1fr; gap: 17px; }
 .coast-call { grid-column: auto; padding-top: 5px; }
 .coast-schedule-label { font-size: clamp(18px,4.8vw,23px); }
 .coast-phone-number { font-size: clamp(36px,10vw,47px); }
 .coast-band { background-size: auto 830px; }
 .back-to-top { display: inline-flex; align-items: center; justify-content: center; align-self: center; gap: 7px; padding: 9px 14px; min-height: 44px; margin: 0 0 6px; color: #dce7f4; font: 500 13px/1.2 var(--font-body); text-underline-offset: 4px; }
 .back-to-top .icon { width: 17px; height: 17px; }
 .back-to-top:hover { color: #fff; }
 .copyright { gap: 7px 12px; }
}

/* October 16 refinement: full-width banners, mobile composition and clear navigation. */
body { background: #fff; }
.hero-shell, body > .inner-header, body > main, body > .coast-band {
  width: 100%;
  margin-inline: auto;
}
main > .coast-band { width: 100%; }
.hero-shell { min-height: clamp(437px, 33.6vw, 645px); }
.hero-visual { display: contents; }
.hero-badge { right: max(32px,calc((100vw - 1180px)/2)); }
/* White edging follows only the navigation letters, leaving the sky visible. */
.home-header::before { content: none; }
.site-nav a, .hero-account {
  font-weight: 800;
  text-shadow: -2px -2px 0 #fff, 0 -2px 0 #fff, 2px -2px 0 #fff,
               -2px 0 0 #fff, 2px 0 0 #fff,
               -2px 2px 0 #fff, 0 2px 0 #fff, 2px 2px 0 #fff,
               0 0 4px #fff;
}
.site-nav .small-lock, .hero-account .small-lock { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 1px #fff); }
.site-nav .records-nav {
  color: var(--blue); font-size: 16px; font-weight: 800; min-height: 36px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.site-nav .records-nav .small-lock { width: 16px; height: 16px; }
.site-nav a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
/* The transparent left margin no longer adds a second gap after “Website by”. */
.website-credit { --credit-image-width: 78px; gap: .25em; }
.credit-logo {
  display: block; flex: none; overflow: hidden;
  width: calc(var(--credit-image-width) * 123 / 148);
  height: calc(var(--credit-image-width) * 59 / 148);
}
.website-credit .credit-logo img {
  width: var(--credit-image-width); height: auto; max-width: none;
  margin: 0 0 0 calc(var(--credit-image-width) * -12 / 148);
}
.site-footer { text-align: center; }
@media (max-width: 940px) {
  /* One photograph extends from behind the logo to the bottom of the assembly. */
  .hero-shell {
    min-height: clamp(480px,150vw,840px);
    background-image: url('hero-rpba-coast-mobile-sky.png');
    background-position: center bottom; background-size: cover; background-repeat: no-repeat;
  }
  .hero-badge { top: 105px; bottom: auto; right: 25px; width: 88px; }
}
@media (max-width: 730px) {
  .hero-shell, body > .inner-header, body > main, body > .coast-band { width: 100%; }
  .header-row { min-height: 0; padding: 12px 0 8px; }
  .inner-header .header-row { min-height: 0; }
  .menu-toggle {
    height: 44px; width: 44px; flex: none; position: relative; z-index: 3;
    color: var(--navy); border: 1px solid #92abc2; background: rgba(255,255,255,.94);
  }
  .navigation-region { background: #fff; border: 1px solid #c6d7e7; }
  .site-nav { padding: 8px; }
  .site-nav a, .site-nav .records-nav { min-height: 44px; text-shadow: none; }
  .site-nav .records-nav { margin-top: 5px; color: var(--blue); background: #eef5fc; }
  .hero-copy { padding: 18px 0 24px; }
  .hero-summary { font-size: 17px; }
  .hero-badge { width: clamp(66px,18vw,84px); top: 68px; bottom: auto; right: 16px; }
  /* Five equal hexagonal tiles, arranged 2–1–2 without a leftover corner. */
  .features { padding-block: 16px 8px; }
  .feature-grid {
    --tile-height: 184px;
    width: min(calc(100% - 34px),420px);
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-template-rows: repeat(3,calc(var(--tile-height) * .8));
    grid-auto-rows: auto; gap: 8px;
    padding: 0 0 calc(var(--tile-height) * .2);
  }
  .feature-grid::before { content: none; }
  .feature-grid > .feature {
    position: relative; isolation: isolate; transform: none;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    height: var(--tile-height); min-height: 0; padding: 20px 10px;
    border: 0; gap: 0;
    filter: drop-shadow(0 2px 3px #033a970d);
  }
  .feature-grid > .feature:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .feature-grid > .feature:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
  .feature-grid > .feature:nth-child(3) { grid-column: 2 / 4; grid-row: 2; }
  .feature-grid > .feature:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
  .feature-grid > .feature:nth-child(5) { grid-column: 3 / 5; grid-row: 3; }
  .feature-grid > .feature::before, .feature-grid > .feature::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    clip-path: polygon(50% 0,100% 20%,100% 80%,50% 100%,0 80%,0 20%);
    background: #bed3e9;
  }
  .feature-grid > .feature::after { inset: 1px; background: linear-gradient(#fff,#eef6fd); }
  .feature-icon {
    flex: none; width: 36px; height: 36px; margin: 0 0 6px;
  }
  .feature-icon .icon { width: 23px; height: 23px; }
  .features .feature h2 {
    margin: 0 0 5px; width: 100%; min-height: 32.48px;
    font-size: 14.5px; line-height: 1.12; letter-spacing: -.15px;
  }
  .features .feature p {
    margin: 0; width: 100%; min-height: 45px;
    font-size: 12px; line-height: 1.25;
  }
  .feature h2 br, .feature p br { display: none; }
  .coast-call { text-align: center; }
  .coast-phone-icon { display: none; }
  .coast-call > div { width: 100%; }
  .coast-phone-number { margin-inline: auto; }
  .website-credit { --credit-image-width: 72px; }
  .back-to-top { margin: 0 auto 10px; padding-top: 6px; }
}
@media (max-width: 430px) {
  .brand-block { flex: 0 1 min(63vw,243px); width: min(63vw,243px); }
  .hero-eyebrow { font-size: clamp(22px,5.2vw,25px); }
  .hero h1, .hero h1 span { font-size: clamp(28px,6.9vw,31px); }
}

/* The property-owner audience has its own line, so no trailing separator is needed. */
.coast-audience { flex-direction: column; gap: 5px; }
.coast-audience-first { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }

/* October 16 seventh revision: compact phone layout and balanced hero framing. */
.coast-property-separator { display: none; }
@media (min-width: 941px) and (max-width: 1110px) {
  .hero h1 { font-size: clamp(45px,4.35vw,49px); }
  .hero-summary { max-width: min(42vw,450px); }
}
@media (min-width: 731px) and (max-width: 940px) {
  .hero-shell { min-height: clamp(790px,calc(44vw + 470px),884px); }
}
@media (max-width: 730px) {
  /* Crop sky from the top of the existing portrait; keep the assembly in the photo. */
  .hero-shell { min-height: clamp(465px,calc(60vw + 275px),680px); }
  .coast-audience {
    flex-direction: row; flex-wrap: nowrap; gap: 5px;
    font-size: clamp(12.5px,3.9vw,16px); letter-spacing: -.1px;
  }
  .coast-audience-first { gap: 5px; }
  .coast-property-separator { display: inline; }
  .copyright {
    display: grid; grid-template-columns: minmax(0,1fr) auto;
    align-items: center; gap: 1px 12px; padding: 8px 0 6px; text-align: left;
  }
  .copyright-owner { grid-column: 1 / -1; text-align: center; }
  .website-credit { justify-self: start; }
  .back-to-top { justify-self: end; margin: 0; padding: 2px 0 2px 8px; }
}

/* October 16 eighth revision: shared audience line and deliberate desktop hero placement. */
.coast-audience-block, .coast-call { border-left: 0; padding-left: 0; }
.coast-audience { flex-direction: row; flex-wrap: nowrap; gap: 5px; }
.coast-audience-first { gap: 5px; }
.coast-property-separator { display: inline; }
@media (min-width: 1001px) {
  .coast-layout {
    grid-template-columns: minmax(180px,.85fr) minmax(350px,1.35fr) minmax(290px,1fr);
    gap: 18px; padding-left: 0;
  }
}
.hero-account { display: none; }
@media (min-width: 941px) {
  .home-header .site-nav .records-nav { display: none; }
  .hero-shell {
    min-height: 0;
    background-image: linear-gradient(90deg,rgba(242,249,254,.94),rgba(242,249,254,.84) 25%,rgba(242,249,254,.48) 39%,transparent 60%),url('hero-rpba-coast-raised.png');
    background-size: 100% 100%,var(--desktop-photo-size,cover);
    background-position: center,center var(--desktop-photo-top,center);
    background-repeat: no-repeat;
  }
  .hero, .hero-layout { min-height: 0; }
  .hero-copy { padding-bottom: 18px; }
  .features .feature-grid { padding-top: 16px; }
  .hero-badge {
    width: 92px; right: auto;
    left: var(--desktop-badge-left,calc(50% - 140px));
    top: var(--desktop-badge-top,110px); bottom: auto;
  }
  .hero-account {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    position: absolute; z-index: 3;
    left: var(--desktop-account-left,60%); top: var(--desktop-account-top,228px); bottom: auto;
    transform: translateX(-50%); min-height: 44px; padding: 10px 15px;
    color: #fff; background: var(--blue); border: 1px solid #fff; border-radius: 6px;
    box-shadow: 0 2px 6px #00102726;
    font: 800 18px/1.2 var(--font-body); text-decoration: none; text-shadow: none;
  }
  .hero-account .small-lock { width: 18px; height: 18px; filter: none; }
  .hero-account:hover { color: #fff; background: var(--royal); }
  .hero-account:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
}
@media (min-width: 941px) and (max-width: 1110px) {
  .hero-badge { width: 72px; }
}
@media (min-width: 2200px) {
  .home-header .navigation-region { padding-top: 0; }
}
@media (max-width: 730px) {
  .copyright { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 1px 0; }
  .website-credit { grid-column: 2; justify-self: center; }
  .back-to-top {
    grid-column: 3; justify-self: end; font-size: 12px; gap: 4px;
    padding: 2px 0; white-space: nowrap;
  }
  .back-to-top .icon { width: 16px; height: 16px; }
  /* The 44px top-link target is taller than the centered 72px-wide logo.
     Subtract that lower half-gap so the visible logo still ends 20px above the footer edge. */
  .compact-page .copyright { padding-bottom: calc(20px - (44px - 72px * 59 / 148) / 2); }
}

/* A close white edge follows the letters; the mobile photograph stays untouched. */
@media (max-width: 940px) {
  .hero-summary {
    font-weight: 500;
    text-shadow: -1.5px -1.5px 0 #fff,0 -1.5px 0 #fff,1.5px -1.5px 0 #fff,
                 -1.5px 0 0 #fff,1.5px 0 0 #fff,
                 -1.5px 1.5px 0 #fff,0 1.5px 0 #fff,1.5px 1.5px 0 #fff;
  }
}


.hp-field{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
/* October 19, 2026: footer-only attribution and copyright layout.
   Keep the approved site's main design unchanged. */
@media (min-width: 731px) {
  .site-footer { position: relative; }
  .site-footer .footer-inner { padding-bottom: 0; }
  .site-footer .footer-nav { padding-bottom: 0; }
  .site-footer .copyright-band .copyright {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50px;
    margin: 0 auto;
    padding: 15px 86px 13px;
    gap: 0;
    border: 0;
  }
  .site-footer .copyright-owner { white-space: nowrap; text-align: center; }
  /* Anchor to the full-width footer, not its centered content container.
     Eight pixels keeps the logo visibly at the screen's lower-right edge. */
  .site-footer .footer-tech4 {
    position: absolute;
    right: 8px;
    bottom: 10px;
  }
}
.site-footer .footer-tech4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 74px;
  height: 30px;
  text-decoration: none;
  background: transparent;
  border: 0;
  flex: none;
}
.site-footer .footer-tech4 img {
  display: block;
  box-sizing: border-box;
  width: 74px;
  height: 30px;
  max-width: none;
  object-fit: contain;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.site-footer .footer-tech4:focus-visible {
  outline: 2px solid #b9d8ff;
  outline-offset: 3px;
}
@media (max-width: 730px) {
  /* Keep the approved footer typography and desktop positioning intact.
     On phones: copyright on top; left Back to top / right Tech4 in one row. */
  .site-footer .footer-inner { padding-bottom: 0; }
  .site-footer .footer-nav { padding-bottom: 0; }
  .site-footer .copyright-band .copyright {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(44px, auto);
    align-items: center;
    justify-content: stretch;
    width: min(calc(100% - 24px), 1180px);
    min-height: 0;
    margin: 0 auto;
    padding: 17px 0 12px;
    gap: 10px 0;
    text-align: center;
    border: 0;
  }
  .site-footer .copyright-owner {
    grid-row: 1;
    grid-column: 1 / -1;
    order: initial;
    justify-self: center;
    text-align: center;
    white-space: nowrap;
    font: 400 11px/1.25 var(--font-body);
    letter-spacing: -0.05px;
  }
  .site-footer .back-to-top {
    grid-row: 2;
    grid-column: 1;
    order: initial;
    display: inline-flex;
    justify-self: start;
    align-self: center;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    min-height: 44px;
    margin: 0;
    padding: 8px 0;
    white-space: nowrap;
  }
  .site-footer .footer-tech4 {
    grid-row: 2;
    grid-column: 2;
    order: initial;
    position: static;
    justify-self: end;
    align-self: center;
    margin: 0;
  }
}
@media (max-width: 335px) {
  .site-footer .copyright-owner { font-size: 10px; letter-spacing: -0.1px; }
}
