/* Shore Ready emblem palette. Darker text shades retain contrast on white. */
:root {
  --navy: #052449;
  --teal: #155176;
  --bronze: #a45f00;
  --gold: #c87900;
  --slate: #48545c;
  --pale: #f3f7f9;
  --ink: #263d53;
  --line: #d5dfe5;
}

/* Shared navigation, links, buttons, and form accents. */
.draft { background: var(--navy); }
nav a:hover, nav a[aria-current], .seo-content a,
.area-strip li a, .seo-breadcrumbs a { color: var(--teal); }
.button:hover { background: #17436b; }
.button span { color: #f2b44c; }
.form-field input:focus, .form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); }
.photo-list button { color: var(--navy); border-color: var(--gold); }
.form-field input::file-selector-button { background: var(--navy); }
.service-list a:hover { color: #a9d3e8; }
.waterfront .eyebrow, .winter-bubbler-feature h3,
.winter-bubbler-feature .eyebrow { color: #f2b44c; }

/* Handyman: warm bronze from the emblem, with a lighter gold border. */
.brand-handyman, .service-pair>a[href="handyman.html"] h3,
header #nav>a[href="handyman.html"], footer a[href="handyman.html"],
header .brand-handyman, .town-service-card:not(.town-service-seasonal):not(.town-service-waterfront) h3 {
  color: var(--bronze);
}
.service-pair>a[href="handyman.html"], .service-pair>a:nth-child(2)[href="handyman.html"] {
  background: #fbf4e9;
  border-top-color: var(--gold);
}
.handyman-project-list { background: #fcf8f2; }
.handyman-project-list li a { border-color: #e5d3b8; border-left-color: var(--gold); }
.handyman-project-list li a:hover { background: #fbf0df; }
.town-service-card:not(.town-service-seasonal):not(.town-service-waterfront) {
  background: #fbf4e9;
  border-top-color: var(--gold);
}

/* Waterfront: deep bay blue replaces the earlier bright teal. */
.brand-coastal, .service-pair>a[href="coastal-property-maintenance.html"] h3,
header #nav>a[href="coastal-property-maintenance.html"],
footer a[href="coastal-property-maintenance.html"], header .brand-coastal,
.waterfront-services h2, .waterfront-service-card h3,
.town-service-waterfront h3 { color: var(--teal); }
.service-pair>a[href="coastal-property-maintenance.html"],
.town-service-waterfront { background: #edf5f9; border-top-color: var(--teal); }
.waterfront-service-card { background: #edf5f9; border-color: #c5d9e5; border-top-color: var(--teal); }
.waterfront-service-card li { border-bottom-color: #d1e1ea; }
.waterfront-service-card li:before { color: var(--teal); }
.winter-bubbler-feature { border-left-color: var(--gold); }

/* Seasonal: the graphite roof and lettering in the emblem. */
header #nav>a[href="seasonal-preparation.html"],
footer a[href="seasonal-preparation.html"],
.seasonal-services h2, .seasonal-services .waterfront-service-card h3,
.service-pair>a[href="seasonal-preparation.html"] h3,
.seasonal-headline, .town-service-seasonal h3 { color: var(--slate); }
.service-pair>a[href="seasonal-preparation.html"],
.seasonal-services .waterfront-service-card,
.town-service-seasonal { background: #f1f4f5; border-top-color: var(--slate); }
.seasonal-services .waterfront-service-card { border-color: #d6dfe3; border-top-color: var(--slate); }
.seasonal-services .waterfront-service-card li:before { color: var(--slate); }
.seasonal-services .winter-bubbler-feature { border-left-color: var(--slate); }
.seasonal-services .winter-bubbler-feature h3 { color: #fff; }

/* The gold is used for small details, never body text. */
.text-link { border-bottom-color: var(--gold); }
.ribbon span:before { color: var(--gold); }
.mobile-estimate { background: var(--navy); box-shadow: 0 -2px 12px #05244920; }

/* A smaller message overlay leaves more of the homepage waterfront photo visible. */
.photo-note { padding: 11px 16px; font-size: 13px; line-height: 1.5; border-left-width: 4px; }
.photo-note>span { font-size: 12px; margin-top: 3px; }

/* A low, full-width message band reveals more of the hero photo on phones. */
@media (max-width: 760px) {
  .hero figure .photo-note {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 7px 12px 8px;
    border-left: 0;
    border-top: 3px solid var(--gold);
    background: rgba(255, 255, 255, .96);
    text-align: center;
    font-size: 11px;
    line-height: 1.25;
  }
  .hero figure .photo-note>span { display: block; margin-top: 1px; font-size: 11px; }
  .hero figure figcaption { bottom: 67px; right: 10px; }
}

/* One estimate CTA style across navigation, service pages, and closing sections. */
a.button[href^="estimate.html"], header #nav>a.button[href^="estimate.html"] {
  min-height: 46px;
  padding: 10px 16px;
  gap: 3px;
  font-size: 14px;
  line-height: 1.2;
  background: var(--navy);
  color: #fff!important;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
a.button[href^="estimate.html"] span { color: #f2b44c; font-size: 14px; line-height: 1; }
a.button[href^="estimate.html"]:hover { background: #17436b; }

/* The mobile sticky action uses the same button treatment at a compact width. */
@media(max-width:760px) {
  body { padding-bottom: 75px; }
  a.mobile-estimate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    left: 50%; right: auto; bottom: 12px;
    width: max-content;
    min-height: 46px;
    padding: 10px 16px;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 1.2;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px #05244950;
  }
  .mobile-estimate span { color: #f2b44c; }
}

/* The decorative arrow is replaced by the gold hammer from the emblem. */
a.button[href^="estimate.html"]>span,
.mobile-estimate span {
  display: inline-block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  background-image: url("images/shore-ready-hammer-logo-cutout.png");
  background-position: center;
  background-size: 24px 24px;
  background-repeat: no-repeat;
}

/* Keep the homepage process easy to scan without taking a full phone screen. */
@media (max-width: 760px) {
  #why-shore-ready + section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  #why-shore-ready + section .section-heading { margin-bottom: 15px; }
  #why-shore-ready + section .eyebrow { margin-bottom: 6px; }
  #why-shore-ready + section h2 { font-size: 28px; margin-bottom: 0; }
  #why-shore-ready + section .cards { gap: 0; }
  #why-shore-ready + section .cards article {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 10px;
    padding: 12px 0;
  }
  #why-shore-ready + section .cards .number {
    grid-row: 1 / span 2;
    margin-top: 2px;
    font-size: 11px;
  }
  #why-shore-ready + section .cards h3 {
    margin: 0 0 2px;
    font-size: 17px;
    line-height: 1.3;
  }
  #why-shore-ready + section .cards p {
    grid-column: 2;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }
}

/* Homepage questions and local guides share a clearer visual hierarchy. */
.home-faq { align-items: start; gap: 8%; }
.home-faq-intro { max-width: 430px; }
.home-faq-intro > p:last-child { max-width: 390px; margin-bottom: 0; }
.home-faq .faq { border-top: 1px solid var(--line); }
.home-faq details { padding: 0; }
.home-faq summary {
  display: list-item;
  position: relative;
  padding: 20px 46px 20px 0;
  list-style: none;
  line-height: 1.4;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.home-faq details[open] summary::after { content: "−"; }
.home-faq details p { max-width: 620px; margin: 0 42px 21px 0; font-size: 15px; line-height: 1.6; }

.home-towns { background: var(--pale); }
.home-towns-inner { max-width: 1200px; margin: 0 auto; }
.home-towns-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 30px; }
.home-towns-heading h2 { margin-bottom: 0; }
.home-towns-heading > p { max-width: 410px; margin: 0; }
.home-town-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-town-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  min-height: 104px;
  padding: 19px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  transition: box-shadow .15s, transform .15s;
}
.home-town-grid a:hover { box-shadow: 0 8px 22px #05244916; transform: translateY(-2px); }
.home-town-grid a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.home-town-name { font-family: Manrope, sans-serif; font-size: 19px; font-weight: 700; line-height: 1.25; }
.home-town-description { grid-column: 1; color: var(--ink); font-size: 13px; line-height: 1.45; }
.home-town-arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--teal); font-size: 20px; }
.home-towns-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; }
.home-towns-footer p { margin: 0; font-size: 13px; }
.home-towns-footer .text-link { flex: 0 0 auto; }
@media (max-width: 760px) {
  .home-faq { gap: 25px; }
  .home-faq-intro h2 { margin-bottom: 12px; }
  .home-faq-intro > p:last-child { font-size: 15px; }
  .home-faq summary { padding: 17px 0; font-size: 15px; }
  .home-towns-heading, .home-towns-footer { display: block; }
  .home-towns-heading h2 { margin-bottom: 14px; }
  .home-towns-heading > p { font-size: 15px; }
  .home-town-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-town-grid a { min-height: 82px; padding: 14px 17px; }
  .home-towns-footer .text-link { display: inline-block; margin-top: 14px; }
}

/* Estimate guidance now leads into the form in reading order. */
.estimate-intro { background: var(--pale); padding-bottom: 64px; }
.estimate-intro-inner, .estimate-prep-inner { max-width: 1200px; margin: 0 auto; }
.estimate-intro h1 { max-width: 760px; font-size: clamp(38px, 4.5vw, 58px); }
.estimate-intro p:not(.eyebrow) { max-width: 710px; }
.estimate-intro .check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 20px;
  list-style: none;
  line-height: 1.35;
}
.estimate-intro .check-list li { border-left: 3px solid var(--gold); background: #fff; padding: 10px 13px; font-size: 14px; }
.estimate-prep { padding-top: 68px; padding-bottom: 72px; }
.estimate-prep .section-heading { max-width: 760px; margin-bottom: 28px; }
.estimate-prep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.estimate-prep-grid article { padding: 26px; background: var(--pale); border-top: 3px solid var(--teal); }
.estimate-prep-grid h3 { margin: 15px 0 12px; font-size: 22px; }
.estimate-prep-grid p { margin-bottom: 0; font-size: 15px; line-height: 1.65; }
.estimate-prep-grid ul { padding-left: 19px; margin: 14px 0 0; font-size: 14px; line-height: 1.7; }
.estimate-prep-grid li { margin-bottom: 5px; }
.estimate-prep-grid a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.estimate-form-section { background: var(--pale); padding-top: 65px; padding-bottom: 85px; }
.estimate-form-section .form-panel { width: min(100%, 820px); margin: 0 auto; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .estimate-intro { padding-top: 45px; padding-bottom: 38px; }
  .estimate-intro h1 { font-size: 42px; }
  .estimate-intro .check-list { display: block; margin: 23px 0 18px; }
  .estimate-intro .check-list li { margin-bottom: 7px; }
  .estimate-prep { padding-top: 46px; padding-bottom: 48px; }
  .estimate-prep .section-heading { margin-bottom: 21px; }
  .estimate-prep-grid { grid-template-columns: 1fr; gap: 11px; }
  .estimate-prep-grid article { padding: 20px; }
  .estimate-prep-grid h3 { font-size: 20px; margin: 9px 0 8px; }
  .estimate-form-section { padding-top: 42px; padding-bottom: 55px; }
  .estimate-form-section .form-panel { padding: 25px 20px; }
}

/* Storm recovery is a fourth service, in a balanced two-column layout. */
.service-four>a{padding:30px}
.service-four>a[href="storm-cleanup.html"]{background:#e9f0f7;border-top-color:var(--navy)}
.service-four>a[href="storm-cleanup.html"] h3{color:var(--navy)}
@media(max-width:760px){.service-four{grid-template-columns:1fr}}

/* Individual Handyman pages in the primary navigation. */
header .handyman-menu { position: relative; }
header .handyman-menu-heading { display: flex; align-items: center; gap: 3px; }
header .handyman-menu-heading>a { padding: 10px 2px 10px 0; }
header .handyman-menu-toggle { border: 0; background: transparent; color: var(--bronze); font-size: 20px; padding: 6px 9px; cursor: pointer; line-height: 1; }
header .handyman-subnav[hidden] { display: none !important; }
header .handyman-subnav { position: absolute; left: 0; top: 100%; z-index: 50; width: min(790px, 88vw); max-height: min(70vh, 700px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 15px 32px #05244925; font-size: 14px; }
header .handyman-subnav a { display: block; padding: 11px 9px; border-bottom: 1px solid var(--line); line-height: 1.35; }
header .handyman-subnav a:hover, header .handyman-subnav a[aria-current] { color: var(--bronze); background: #fbf4e9; }
header .handyman-subnav .all-services-link { grid-column: 1/-1; font-weight: 800; color: var(--navy); }
@media (max-width: 1450px) { header .handyman-menu { width: 100%; } header .handyman-subnav { position: static; width: 100%; max-height: 340px; box-shadow: none; } }
@media (max-width: 600px) { header .handyman-subnav { grid-template-columns: 1fr; padding: 12px; } }

/* Waterfront service dropdown and linked service list. */
header .waterfront-menu { position: relative; }
header .waterfront-menu-heading { display: flex; align-items: center; gap: 3px; }
header .waterfront-menu-heading>a { padding: 10px 2px 10px 0; }
header .waterfront-menu-toggle { border: 0; background: transparent; color: var(--teal); font-size: 20px; padding: 6px 9px; cursor: pointer; line-height: 1; }
header .waterfront-subnav[hidden] { display: none !important; }
header .waterfront-subnav { position: absolute; left: 0; top: 100%; z-index: 50; width: min(760px, 88vw); max-height: min(70vh, 700px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); box-shadow: 0 15px 32px #05244925; font-size: 14px; }
header .waterfront-subnav a { display: block; padding: 11px 9px; border-bottom: 1px solid var(--line); line-height: 1.35; }
header .waterfront-subnav a:hover, header .waterfront-subnav a[aria-current] { color: var(--teal); background: #edf5f9; }
header .waterfront-subnav .all-services-link { grid-column: 1/-1; font-weight: 800; color: var(--navy); }
.waterfront-service-card li a { color: var(--navy); text-decoration: none; display: flex; justify-content: space-between; gap: 12px; }
.waterfront-service-card li a:hover { color: var(--teal); text-decoration: underline; }
.waterfront-service-card li a span { color: var(--teal); }
.waterfront-project-list { background: #edf5f9; }
.waterfront-project-list li a { border-left-color: var(--teal); }
.winter-bubbler-feature a:not(.button) { color: #bce7fb; text-decoration: underline; }
@media (max-width: 1450px) { header .waterfront-menu { width: 100%; } header .waterfront-subnav { position: static; width: 100%; max-height: 340px; box-shadow: none; } }
@media (max-width: 600px) { header .waterfront-subnav { grid-template-columns: 1fr; padding: 12px; } }

/* Seasonal and storm service dropdowns. */
header .seasonal-menu, header .storm-menu { position: relative; }
header .seasonal-menu-heading, header .storm-menu-heading { display: flex; align-items: center; gap: 3px; }
header .seasonal-menu-heading>a, header .storm-menu-heading>a { padding: 10px 2px 10px 0; }
header .seasonal-menu-heading>a { color: var(--slate); }
header .storm-menu-heading>a { color: var(--navy); }
header .seasonal-menu-toggle, header .storm-menu-toggle { border: 0; background: transparent; font-size: 20px; padding: 6px 9px; cursor: pointer; line-height: 1; }
header .seasonal-menu-toggle { color: var(--slate); }
header .storm-menu-toggle { color: var(--navy); }
header .seasonal-subnav[hidden], header .storm-subnav[hidden] { display: none !important; }
header .seasonal-subnav, header .storm-subnav { position: absolute; left: 0; top: 100%; z-index: 50; width: min(760px, 88vw); max-height: min(70vh, 700px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 15px 32px #05244925; font-size: 14px; }
header .seasonal-subnav { border-top: 3px solid var(--slate); }
header .storm-subnav { border-top: 3px solid var(--navy); }
header .seasonal-subnav a, header .storm-subnav a { display: block; padding: 11px 9px; border-bottom: 1px solid var(--line); line-height: 1.35; }
header .seasonal-subnav a:hover, header .seasonal-subnav a[aria-current] { color: var(--slate); background: #f1f4f5; }
header .storm-subnav a:hover, header .storm-subnav a[aria-current] { color: var(--navy); background: #e9f0f7; }
header .seasonal-subnav .all-services-link, header .storm-subnav .all-services-link { grid-column: 1/-1; font-weight: 800; color: var(--navy); }
.seasonal-services .waterfront-service-card li a { color: var(--navy); text-decoration: none; display: flex; justify-content: space-between; gap: 12px; }
.seasonal-services .waterfront-service-card li a:hover { color: var(--slate); text-decoration: underline; }
.seasonal-services .waterfront-service-card li a span { color: var(--slate); }
#storm-services .cards article { display: flex; flex-direction: column; }
#storm-services .cards article .text-link { align-self: flex-start; margin-top: auto; }
@media (min-width: 1451px) and (max-width: 1900px) { header #nav { gap: 12px; font-size: 15px; } header .brand img { width: 150px; } header #nav>.button { font-size: 14px; padding: 12px 15px; } header .handyman-menu-toggle, header .waterfront-menu-toggle, header .seasonal-menu-toggle, header .storm-menu-toggle { padding-inline: 5px; } }
@media (max-width: 1450px) { header .seasonal-menu, header .storm-menu { width: 100%; } header .seasonal-subnav, header .storm-subnav { position: static; width: 100%; max-height: 340px; box-shadow: none; } }
@media (max-width: 600px) { header .seasonal-subnav, header .storm-subnav { grid-template-columns: 1fr; padding: 12px; } }

/* Service area dropdown and town guides. */
header .areas-menu { position: relative; }
header .areas-menu-heading { display: flex; align-items: center; gap: 3px; }
header .areas-menu-heading>a { padding: 10px 2px 10px 0; color: var(--navy); }
header .areas-menu-toggle { border: 0; background: transparent; color: var(--navy); font-size: 20px; padding: 6px 9px; cursor: pointer; line-height: 1; }
header .areas-subnav[hidden] { display: none !important; }
header .areas-subnav { position: absolute; right: 0; top: 100%; z-index: 50; width: min(440px, 88vw); max-height: min(70vh, 700px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); box-shadow: 0 15px 32px #05244925; font-size: 14px; }
header .areas-subnav a { display: block; padding: 11px 9px; border-bottom: 1px solid var(--line); line-height: 1.35; }
header .areas-subnav a:hover, header .areas-subnav a[aria-current] { color: var(--navy); background: #e9f0f7; }
header .areas-subnav .all-services-link { grid-column: 1/-1; font-weight: 800; }
.town-grid a { transition: box-shadow .15s, transform .15s; border-top: 3px solid var(--navy); }
.town-grid a:hover { box-shadow: 0 8px 22px #05244916; transform: translateY(-2px); }
.town-grid a p { min-height: 78px; }
.town-deep-dive { background: #f5f7f8; }
.town-deep-dive .section-heading { max-width: 780px; }
.town-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.town-detail-grid article { background: #fff; border-top: 3px solid var(--navy); padding: 28px; }
.town-detail-grid h3 { font-size: 24px; line-height: 1.25; }
.town-detail-grid p { font-size: 15px; line-height: 1.75; }
.town-detail-links { margin: 0; padding: 0; list-style: none; }
.town-detail-links li { border-top: 1px solid var(--line); }
.town-detail-links a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.town-detail-links a:hover { text-decoration: underline; }
.town-detail-links span { color: var(--gold); }
.town-faq { border-top: 1px solid var(--line); }
.area-guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 25px 0; }
.area-guide-links a { display: block; padding: 18px; background: var(--pale); border-left: 3px solid var(--navy); font-weight: 700; text-decoration: none; }
.area-guide-links a:hover { text-decoration: underline; }
@media (min-width: 1451px) and (max-width: 1700px) { header { position: relative; min-height: 92px; flex-wrap: nowrap; justify-content: space-between; padding: 10px 5%; } #menu { display: block; background: #fff; border: 1px solid var(--line); padding: 12px 18px; color: var(--navy); border-radius: 3px; font-weight: 700; } header #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; background: #fff; z-index: 30; padding: 24px; border-bottom: 1px solid var(--line); gap: 8px; } header #nav.open { display: flex; flex-direction: column; align-items: stretch; } header #nav>a { padding: 12px; } header #nav>.button { align-self: flex-start; } }
@media (max-width: 1700px) { header .areas-menu { width: 100%; } header .areas-subnav { position: static; width: 100%; max-height: 340px; box-shadow: none; } }
@media (max-width: 850px) { .town-detail-grid { grid-template-columns: 1fr; } .town-grid a p { min-height: 0; } }
@media (max-width: 600px) { header .areas-subnav, .area-guide-links { grid-template-columns: 1fr; } header .areas-subnav { padding: 12px; } .town-grid { grid-template-columns: 1fr; } .town-detail-grid article { padding: 23px; } }

/* Search-focused service explanations. */
.service-search-detail { background: #f5f7f8; display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; align-items: start; }
.service-search-detail .section-heading { margin-bottom: 0; }
.service-search-detail h2 { font-size: clamp(28px, 3vw, 40px); }
.service-search-detail>p { margin: 0; max-width: 780px; line-height: 1.85; }
@media (max-width: 760px) { .service-search-detail { grid-template-columns: 1fr; gap: 18px; } }

/* 2026-11 homepage and navigation improvements */
.home-popular { padding-top: 68px; padding-bottom: 72px; }
.home-popular .section-heading { max-width: 740px; margin-bottom: 30px; }
.home-popular-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-popular-grid a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 7px 14px; min-height: 142px; padding: 21px; background: #f5f7f8; border-top: 3px solid var(--navy); transition: box-shadow .15s, transform .15s; }
.home-popular-grid a:hover { box-shadow: 0 8px 20px #0524491a; transform: translateY(-2px); }
.home-popular-grid h3 { font-size: 20px; line-height: 1.25; margin: 0; }
.home-popular-grid p { grid-column: 1; font-size: 14px; line-height: 1.5; margin: 0; }
.home-popular-grid span { grid-column: 2; grid-row: 1 / 3; color: #ac6500; font-size: 20px; }
.home-popular-more { font-size: 15px; margin: 22px 0 0; }
.home-popular-more a { text-decoration: underline; text-underline-offset: 3px; }
.home-about { background: #eef5f5; }
footer { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(260px, 1.25fr); }
footer a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (min-width: 1100px) and (max-width: 1700px) {
  header { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 0; padding: 8px 5% 0; gap: 0; }
  header .brand { flex: 0 0 100%; }
  header .brand img { width: 140px; }
  header #menu { display: none; }
  header #nav, header #nav.open { display: flex; position: static; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; width: 100%; padding: 0 0 7px; border: 0; gap: 4px; font-size: 12px; }
  header #nav > a:not(.button) { padding: 8px 3px; }
  header #nav > .button { position: absolute; right: 5%; top: 17px; align-self: auto; padding: 9px 12px; min-height: 42px; font-size: 12px; }
  header #nav > .button span { font-size: 16px; }
  header .handyman-menu, header .waterfront-menu, header .seasonal-menu, header .storm-menu, header .areas-menu { width: auto; flex: 0 0 auto; }
  header .handyman-menu-toggle, header .waterfront-menu-toggle, header .seasonal-menu-toggle, header .storm-menu-toggle, header .areas-menu-toggle { padding: 4px 3px; font-size: 16px; }
  header .handyman-subnav, header .waterfront-subnav, header .seasonal-subnav, header .storm-subnav, header .areas-subnav { position: absolute; top: 100%; width: min(700px, 85vw); max-height: min(70vh, 700px); box-shadow: 0 15px 32px #05244925; }
  header .areas-subnav { right: 0; width: min(440px, 85vw); }
}
@media (min-width: 1100px) and (max-width: 1240px) { header #nav, header #nav.open { font-size: 11px; } }
@media (max-width: 760px) {
  .home-popular { padding-top: 45px; padding-bottom: 48px; }
  .home-popular .section-heading { margin-bottom: 22px; }
  .home-popular-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 12px; }
  .home-popular-grid a { flex: 0 0 min(78vw, 300px); min-height: 130px; scroll-snap-align: start; padding: 15px 17px; }
  .home-popular-grid h3 { font-size: 18px; }
  .home-popular-grid p { font-size: 13px; }
  .service-four > a { padding: 21px; }
  .service-four .service-card-photo { height: 155px; aspect-ratio: auto; object-fit: cover; margin-bottom: 15px; }
  .service-four h3 { font-size: 27px; margin-top: 13px; }
  footer { grid-template-columns: 1fr; }
  footer > div:first-child { grid-column: auto; }
}

/* The updated homepage wording keeps the opening message and closing CTA readable. */
.hero-service-area { max-width: 520px; margin: -4px 0 24px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.hero h1 .headline-location { font-size: .48em; }
.closing-action { display: flex; flex: 0 0 min(370px, 40%); flex-direction: column; align-items: flex-start; gap: 12px; }
.closing-action .small { margin: 0; line-height: 1.5; }
@media (max-width: 760px) { .hero-service-area { margin-top: 0; font-size: 13px; } .closing-action { flex-basis: auto; width: 100%; } }

.footer-business { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1.5; }
.footer-business strong { font-size: 15px; }
.footer-business a { margin: 0; font-size: 14px; }
.footer-business span { max-width: 350px; }

/* Second-home owner guide and its small internal links. */
.second-home-page .second-home-hero h1 { font-size: clamp(34px, 3.5vw, 54px); line-height: 1.13; }
.second-home-hero > div > p:not(.breadcrumbs):not(.eyebrow) { max-width: 680px; }
.second-home-hero .actions { margin: 26px 0; }
.second-home-contact { font-size: 14px; line-height: 1.6; }
.second-home-contact a, .second-home-process-email a, .second-home-towns a, .hero-second-home-link a, .town-second-home-note a, .seasonal-second-home-link a { color: #006f76; text-decoration: underline; text-underline-offset: 3px; }
.second-home-who { align-items: start; }
.second-home-who p { max-width: 690px; }
.second-home-services { background: #fff; }
.second-home-services .section-heading { max-width: 760px; }
.second-home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.second-home-service-grid article { padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--slate); background: #f7f9fa; }
.second-home-service-grid article:nth-child(2), .second-home-service-grid article:nth-child(4) { border-top-color: var(--teal); background: #f0f8f8; }
.second-home-service-grid h3 { font-size: 27px; margin: 16px 0; }
.second-home-service-grid p { font-size: 15px; line-height: 1.75; }
.second-home-links { list-style: none; padding: 0; margin: 18px 0 25px; }
.second-home-links li { border-top: 1px solid var(--line); }
.second-home-links a { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: 14px; font-weight: 700; line-height: 1.45; }
.second-home-links a:hover { text-decoration: underline; }
.second-home-links span { color: var(--teal); }
.second-home-process { background: #f5f7f8; }
.second-home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.second-home-steps article { padding-top: 20px; border-top: 2px solid var(--navy); }
.second-home-steps h3 { font-size: 23px; margin: 16px 0; }
.second-home-steps p { font-size: 15px; line-height: 1.75; }
.second-home-process-email { margin: 26px 0 0; }
.second-home-faq details p { line-height: 1.7; }
.second-home-closing .second-home-contact { margin-bottom: 0; }
.hero-second-home-link, .seasonal-second-home-link, .town-second-home-note { font-size: 14px; line-height: 1.6; }
.hero-second-home-link { margin: -8px 0 22px; }
.town-second-home-note { max-width: 630px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .second-home-service-grid, .second-home-steps { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .second-home-page .second-home-hero h1 { font-size: clamp(30px, 8vw, 38px); } .second-home-service-grid article { padding: 22px; } }

.footer-areas { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
.footer-areas h3 { margin: 0 0 10px; }
.footer-areas ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-areas li { margin: 0; }
.footer-areas li a { display: inline-block; margin: 0; padding: 5px 0; }
.footer-areas p { margin: 12px 0 0; line-height: 1.6; }
.area-inquiry a { display: inline; margin: 0; font-size: inherit; text-decoration: underline; text-underline-offset: .16em; }
@media (max-width: 520px) { .footer-areas ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } }

.header-contact { display: grid; gap: 2px; max-width: 220px; line-height: 1.3; }
.header-contact a { color: var(--navy); font-size: 15px; font-weight: 700; white-space: nowrap; }
.header-contact small { font-size: 11px; font-weight: 400; }
@media (min-width: 1100px) and (max-width: 1700px) {
  #nav .header-contact { position: absolute; top: 13px; right: calc(5% + 175px); }
}
.mobile-contact-bar { display: none; }
@media (max-width: 760px) {
  .mobile-contact-bar { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: 5px; position: fixed; z-index: 25; bottom: 0; inset-inline: 0; padding: 6px 6px max(6px,env(safe-area-inset-bottom)); background: white; box-shadow: 0 -2px 12px #05244920; }
  .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; position: static; width: auto; transform: none; min-height: 44px; padding: 5px 3px; margin: 0; box-shadow: none; border: 1px solid var(--gold); border-radius: var(--radius); font-size: clamp(12px,3.45vw,14px); line-height: 1.2; font-weight: 700; text-align: center; }
  .mobile-contact-bar .mobile-call { background: white; color: var(--navy); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
