/* Nick Fix site styles (Coastal & Clean design handoff). Base, header, footer and logo first; section blocks after. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/fonts/manrope-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/manrope-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
}


/* Coastal & Clean tokens from docs/handoff.md. Contrast measured:
   navy on white 13.96, navy on sand 12.3, white on teal 4.86,
   teal-ink on white 7.25. Teal on sand is 4.28, so links on sand use navy. */
:root {
  --white: #ffffff;
  --navy: #102d4d;
  --teal: #087d8c;
  --teal-hover: #066a77;
  --teal-ink: #06606c;
  --aqua: #eff9fa;
  --sand: #f5f0e7;
  --muted: #4a5b6e;
  --line: #d9e1e8;
  --line-sand: #e4dccd;
  --focus: #f0a33a;
  --error: #b42318;
  --success-bg: #e8f6ef;
  --success: #1d6b45;

  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 45, 77, 0.06), 0 4px 16px rgba(16, 45, 77, 0.06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--teal-ink);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(48px, 7vw, 88px) 0;
}
.section--sand {
  background: var(--sand);
}
.section--aqua {
  background: var(--aqua);
}
.section--sand a {
  color: var(--navy);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal-ink);
  margin-bottom: 0.5rem;
}

.prose {
  max-width: 70ch;
}
.prose h2 {
  margin-top: 1.5em;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
}
.prose li {
  margin-bottom: 0.4em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-hover);
  color: var(--white);
}
.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--teal);
}
.btn--outline:hover {
  background: var(--aqua);
  color: var(--navy);
}
/* Trailing chevron used on primary actions in the design ("Plan My Refresh ›"). */
.chev::after {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.15em;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.link-chev {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
}
.link-chev:hover {
  text-decoration: underline;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 767px) {
  .actions--stack-mobile {
    flex-direction: column;
  }
  .actions--stack-mobile .btn {
    width: 100%;
  }
}

/* Media frames keep a consistent aspect ratio so nothing shifts while loading. */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--aqua);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--4x3 {
  aspect-ratio: 4 / 3;
}
.media--hero {
  aspect-ratio: 5 / 4;
}
.media--wide {
  aspect-ratio: 16 / 9;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 20;
  }
.site-header .bar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 80px;
  }
.site-header .brand {
    text-decoration: none;
    margin-right: auto;
    display: flex;
    align-items: center;
    min-height: 44px;
  }
.site-header .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
  }
.site-header .menu a {
    text-decoration: none;
    color: var(--navy);
  }
.site-header .top {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
  }
.site-header .top:hover,
.site-header .top[aria-current='page'] {
    color: var(--teal-ink);
  }
.site-header .top[aria-current='page'] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
  }
.site-header .has-sub {
    position: relative;
    display: flex;
    align-items: center;
  }
.site-header .sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-height: 44px;
    margin-left: -10px;
    background: none;
    border: 0;
    color: var(--navy);
    cursor: pointer;
    border-radius: var(--radius-sm);
  }
.site-header .sub-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
  }
.site-header .sub-toggle[aria-expanded='true'] svg {
    transform: rotate(180deg);
  }
.site-header .sub {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: none;
  }
.site-header .sub-toggle[aria-expanded='true'] + .sub {
    display: block;
  }
.site-header .sub a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
  }
.site-header .sub a:hover,
.site-header .sub a[aria-current='page'] {
    background: var(--aqua);
  }
.site-header .menu-toggle,
.site-header .menu-contact {
    display: none;
  }
.site-header .call {
    font-size: 1.1rem;
    padding: 12px 22px;
  }
@media (min-width: 1024px) {
.site-header .sub {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 240px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
.site-header .has-sub:hover .sub,
.site-header .has-sub:focus-within .sub {
      display: block;
    }
}
@media (max-width: 1023px) {
.site-header .bar {
      min-height: 68px;
      gap: 8px;
    }
.site-header .nav {
      order: 3;
    }
.site-header .menu-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      background: none;
      border: 0;
      color: var(--navy);
      cursor: pointer;
      border-radius: var(--radius-sm);
    }
.site-header .menu-toggle .when-open,
.site-header .menu-toggle[aria-expanded='true'] .when-closed {
      display: none;
    }
.site-header .menu-toggle[aria-expanded='true'] .when-open {
      display: inline-flex;
    }
.site-header .menu-toggle svg {
      width: 28px;
      height: 28px;
    }
.site-header .call {
      padding: 10px 14px;
      min-height: 44px;
      font-size: 1rem;
    }
.site-header .menu {
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      background: var(--white);
      border-bottom: 1px solid var(--line);
      box-shadow: var(--shadow);
      flex-direction: column;
      gap: 0;
      padding: 8px var(--gutter) 16px;
      max-height: calc(100vh - 72px);
      overflow-y: auto;
    }
.site-header .menu.is-open {
      display: flex;
    }
.site-header .menu > li {
      border-bottom: 1px solid var(--line);
    }
.site-header .menu > li:last-child {
      border-bottom: 0;
    }
.site-header .menu-contact {
      display: block;
    }
.site-header .has-sub {
      flex-wrap: wrap;
    }
.site-header .has-sub .top {
      flex: 1;
    }
.site-header .sub-toggle {
      width: 48px;
      margin-left: 0;
    }
.site-header .sub {
      width: 100%;
      padding: 0 0 8px 12px;
    }
}
@media (max-width: 400px) {
.site-header .call-label {
      display: none;
    }
.site-header .call {
      width: 48px;
      height: 48px;
      padding: 0;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--sand);
    color: var(--navy);
    padding: 40px 0 20px;
    border-top: 1px solid var(--line-sand);
  }
.site-footer a {
    color: var(--navy);
  }
.site-footer .cols {
    display: grid;
    gap: 24px 32px;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
.site-footer .group {
    padding-left: 32px;
    border-left: 1px solid var(--line-sand);
  }
.site-footer .brand {
    text-decoration: none;
    display: inline-flex;
  }
.site-footer .tagline {
    margin: 8px 0 4px;
  }
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
.site-footer summary {
    list-style: none;
    font-family: var(--font-head);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
.site-footer summary::-webkit-details-marker {
    display: none;
  }
.site-footer summary svg {
    display: none;
    width: 20px;
    height: 20px;
    transition: transform 0.15s ease;
  }
.site-footer .group li a {
    text-decoration: none;
  }
.site-footer .group li a:hover {
    text-decoration: underline;
  }
.site-footer .group li a,
.site-footer .contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
  }
.site-footer .contact svg {
    width: 20px;
    height: 20px;
  }
.site-footer .social {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }
.site-footer .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--navy);
  }
.site-footer .social svg {
    width: 26px;
    height: 26px;
  }
.site-footer .bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line-sand);
    text-align: center;
    font-size: 1rem;
  }
.site-footer .bottom p {
    margin: 0 auto 6px;
    max-width: 80ch;
  }
.site-footer .disclosure {
    color: var(--muted);
  }
.site-footer .site-credit {
    color: var(--muted);
    font-size: .875rem;
  }
.site-footer .site-credit a {
    color: inherit;
    text-decoration: underline;
  }
@media (max-width: 1023px) {
.site-footer .cols {
      grid-template-columns: 1fr 1fr 1fr;
    }
.site-footer .brand-col {
      grid-column: 1 / -1;
    }
.site-footer .group:first-of-type {
      padding-left: 0;
      border-left: 0;
    }
}
@media (max-width: 767px) {
.site-footer .cols {
      grid-template-columns: 1fr;
      gap: 0;
    }
.site-footer .brand-col {
      margin-bottom: 16px;
    }
.site-footer .group {
      padding-left: 0;
      border-left: 0;
      border-top: 1px solid var(--line-sand);
    }
.site-footer .group:last-of-type {
      border-bottom: 1px solid var(--line-sand);
    }
.site-footer summary {
      pointer-events: auto;
      cursor: pointer;
      min-height: 52px;
      margin: 0;
    }
.site-footer summary svg {
      display: block;
    }
.site-footer details[open] summary svg {
      transform: rotate(180deg);
    }
.site-footer .group ul {
      padding-bottom: 12px;
    }
}

/* ---------- Logo ---------- */
.logo .wordmark {
    display: inline-flex;
    align-items: flex-end;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--navy);
    padding-top: 12px;
  }
.logo .wordmark.lg {
    font-size: 2.1rem;
  }
.logo .fix {
    position: relative;
    color: var(--teal);
  }
.logo .roof {
    position: absolute;
    left: -6%;
    width: 112%;
    bottom: 82%;
    height: auto;
    color: var(--teal);
  }
.logo .logo-img {
    height: 44px;
    width: auto;
  }


/* ---------- Shared bits ---------- */
.center {
  text-align: center;
}
.lead.center {
  margin-left: auto;
  margin-right: auto;
}
.media--square {
  aspect-ratio: 1;
  max-width: 420px;
}
figure.media {
  margin: 0;
}
figure.media figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(16, 45, 77, 0.85);
  color: var(--white);
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 4px;
}
.fine {
  font-size: 1rem;
  color: var(--muted);
}
/* Consecutive white sections get a hairline between them. */
main > .section + .section:not(.section--sand):not(.quote-section) {
  border-top: 1px solid var(--line);
}

/* Check-mark lists: as markup (.ticks) and inside edited text (.prose.ticked ul). */
.ticks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}
.ticks svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--teal);
}
.ticks--no svg {
  color: var(--muted);
}
.prose.ticked ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.prose.ticked li {
  position: relative;
  padding-left: 36px;
  margin: 0;
  color: var(--navy);
}
.prose.ticked li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 24px;
  height: 24px;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  padding-top: 20px;
  font-size: 1rem;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.crumbs li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--muted);
}
.crumbs a,
.crumbs span {
  display: inline-block;
  padding: 10px 0;
}

/* ---------- Page headers ---------- */
/* Homepage: copy sits in the page container; the photo bleeds to the right edge. */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 32px var(--gutter) 28px;
}
.hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 45fr 55fr;
    min-height: 420px;
  }
  .hero-copy {
    align-self: center;
    padding: 48px 32px 48px max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  /* A fixed, width-based height keeps the hero compact on wide screens;
     the photo crops to fit instead of growing with the column. */
  .hero-media {
    aspect-ratio: auto;
    min-height: clamp(420px, 34vw, 560px);
  }
  .hero-media img {
    position: absolute;
    inset: 0;
    object-position: 60% 45%;
  }
  .hero-media::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 18%;
    background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0));
    z-index: 1;
  }
}
.hero h1 {
  font-size: clamp(2rem, 1.1rem + 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.3em;
}
.hero .subline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem);
  margin-bottom: 0.4rem;
}
.hero .service-line {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 36ch;
  margin-bottom: 1.25rem;
}
/* The senior-discount link that follows the service line. */
.hero .service-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--teal-ink);
  text-decoration: none;
}
.hero .service-line a:hover {
  text-decoration: underline;
}

/* Other pages with a photo (services, About). */
.intro {
  padding: 16px 0 clamp(40px, 5vw, 64px);
}
.intro-grid {
  display: grid;
  gap: 32px 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
.intro .lead,
.subhero .lead {
  font-size: 1.15rem;
}
.intro-body {
  max-width: 62ch;
  margin-bottom: 1.5rem;
}
.intro .actions,
.subhero .actions {
  margin-top: 8px;
}

/* Pages without a photo. */
.subhero {
  padding: 16px 0 clamp(8px, 2vw, 16px);
}
.subhero .intro-body {
  color: var(--muted);
}
.subhero + .section {
  padding-top: clamp(24px, 4vw, 40px);
}

/* ---------- Service cards ---------- */
.services {
  padding-top: clamp(32px, 5vw, 56px);
}
.services h2 {
  margin-bottom: 24px;
}
.subhero + .services {
  padding-top: 16px;
}
.svc-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .svc-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1200px) {
  .svc-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.svc-cards .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.svc-cards .pic {
  aspect-ratio: 11 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--aqua);
}
.svc-cards .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-cards .body {
  padding: 12px 8px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-cards .title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.svc-cards .body p {
  color: var(--muted);
  flex: 1;
  margin-bottom: 4px;
}
.svc-cards .more {
  align-self: flex-start;
}
/* Phones: compact horizontal cards (image left), as in the mobile design. */
@media (max-width: 639px) {
  .svc-cards .card {
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
  }
  .svc-cards .pic {
    flex: 0 0 38%;
    aspect-ratio: auto;
    min-height: 112px;
  }
  .svc-cards .body {
    padding: 4px 4px 0 0;
  }
  .svc-cards .title {
    font-size: 1.15rem;
  }
  .svc-cards .body p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* ---------- Image + text ---------- */
.spot-grid {
  display: grid;
  gap: 32px 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .spot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .spot-grid.image-right .spot-media {
    order: 2;
  }
}
.spot-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--aqua);
}
.spot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(16, 45, 77, 0.85);
  color: var(--white);
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 4px;
}
.spotlight .prose > p {
  color: var(--muted);
}

/* Profile band: small photo on sand (Meet Nick). */
.meet {
  background: var(--sand);
  padding: 28px 0;
}
.meet-grid {
  display: grid;
  gap: 16px 32px;
  grid-template-columns: 120px 1fr;
  align-items: center;
  max-width: 1000px;
}
@media (min-width: 768px) {
  .meet-grid {
    grid-template-columns: 190px 1fr;
  }
}
.meet-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.meet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.meet h2 {
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem);
  margin-bottom: 0.3em;
}
.meet .prose p {
  max-width: 60ch;
  margin-bottom: 0.25em;
}
.meet a {
  color: var(--navy);
}

/* ---------- Steps ---------- */
.steps {
  padding-top: clamp(40px, 5vw, 64px);
}
.step-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .step-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-list .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font: 700 1.2rem var(--font-head);
  margin-bottom: 12px;
}
.step-list h3 {
  margin-bottom: 6px;
}
.step-list p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Action cards (aqua planner band) ---------- */
.plan {
  background: var(--aqua);
  padding: clamp(36px, 5vw, 56px) 0;
}
.plan h2 {
  margin-bottom: 24px;
}
.plan-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .plan-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow);
}
.plan-media {
  height: 180px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-media figure {
  margin: 0;
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}
.plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare {
  position: relative;
  gap: 8px;
}
.compare figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(16, 45, 77, 0.85);
  color: var(--white);
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 4px;
}
.compare .arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1;
}
.calc-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-circle svg {
  width: 84px;
  height: 84px;
}
.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3em;
}
.plan-card p {
  color: var(--muted);
  flex: 1;
  max-width: 40ch;
  margin: 0 auto 20px;
}
.plan-card .btn {
  width: 100%;
}
.plan-note {
  text-align: center;
  margin: 20px 0 0;
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- Slim strip (senior savings) ---------- */
.strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.strip .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}
.strip .tag {
  width: 52px;
  height: 52px;
  color: var(--teal);
  flex: none;
}
.strip h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  margin: 0;
}
.strip p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
  padding-left: 24px;
  border-left: 2px solid var(--line);
}
.strip p a {
  display: inline-block;
  padding: 6px 0;
  font-weight: 600;
}
@media (max-width: 767px) {
  .strip .inner {
    justify-content: flex-start;
  }
  .strip .tag {
    width: 44px;
    height: 44px;
  }
  .strip h2 {
    flex: 1;
  }
  .strip p {
    flex-basis: 100%;
    max-width: none;
    padding-left: 0;
    border-left: 0;
  }
}
.strip + .section {
  border-top: 0;
}

/* ---------- Links: pills and cards ---------- */
.areas {
  text-align: center;
}
.areas .lead {
  margin-left: auto;
  margin-right: auto;
}
.area-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.areas .area-links {
  justify-content: center;
  max-width: 900px;
  margin: 24px auto 0;
}
.area-links a,
.area-links span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.area-links a:hover {
  background: var(--aqua);
}
.related h2 {
  font-size: 1.4rem;
}
.links-plain {
  padding: 8px 0 0;
}
.link-cards {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.link-cards li {
  display: grid;
  align-content: start;
  gap: 2px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 12px 20px 16px;
}
.link-cards a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.link-cards span {
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 1100px;
  margin-top: 24px;
}
/* Two columns on wider screens; columns (not a grid) so opening one
   question doesn't stretch the one beside it. */
@media (min-width: 900px) {
  .faq-list {
    column-count: 2;
    column-gap: 24px;
  }
}
.page-home .faq h2 {
  text-align: center;
}
.page-home .faq-list {
  margin-left: auto;
  margin-right: auto;
}
.faq-list details {
  break-inside: avoid;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 14px 0;
  min-height: 44px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--teal-ink);
  font: 700 1.25rem/28px var(--font-head);
  text-align: center;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* ---------- Details + side box (included / not included, profile card) ---------- */
.scope-grid {
  display: grid;
  gap: 32px 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .scope-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
.scope-box h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}
.scope-box .scope-note {
  color: var(--muted);
}
.scope-box--profile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  background: var(--white);
  max-width: 420px;
}
@media (min-width: 900px) {
  .scope-box--profile {
    position: sticky;
    top: 24px;
  }
}
.profile-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
}
.profile-role {
  color: var(--teal-ink);
  font-weight: 600;
  margin: 0 0 12px;
}
.scope-box--profile .ticks {
  gap: 8px;
  margin-bottom: 16px;
}
.scope-box--profile .ticks li {
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 1rem;
}
.scope-box--profile .ticks svg {
  width: 22px;
  height: 22px;
}
.profile-actions {
  display: grid;
  gap: 10px;
}
.profile-actions .btn {
  width: 100%;
}

/* ---------- Cost factors ---------- */
.factors {
  display: grid;
  gap: 16px 32px;
  margin: 24px 0 0;
}
@media (min-width: 768px) {
  .factors {
    grid-template-columns: 1fr 1fr;
  }
}
.factors div {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
}
.factors dt {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 4px;
}
.factors dd {
  margin: 0;
  color: var(--muted);
}
.costs .note {
  margin: 24px 0 0;
  font-weight: 600;
}

/* ---------- Text sections ---------- */
.text h2:first-child {
  margin-top: 0;
}
.subhero + .links-plain + .text,
.links-plain + .text {
  border-top: 0;
}

/* ---------- Quote section ---------- */
.quote-section {
  border-top: 1px solid var(--line);
}
.quote-grid {
  display: grid;
  gap: 24px 48px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .quote-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}
.quote-heading {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  font-weight: 700;
}
.direct {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 4px;
}
.direct a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.1rem;
}
.direct svg {
  width: 22px;
  height: 22px;
}
.quote-note {
  margin-top: 24px;
}
.quote-note .label {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- Quote form ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.quote h3 {
  margin-bottom: 16px;
}
.quote form {
  display: grid;
  gap: 16px;
}
.quote .hp {
  position: absolute;
  left: -9999px;
}
.quote .grid {
  display: grid;
  gap: 16px 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .quote .grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote .full {
    grid-column: 1 / -1;
  }
}
.quote .field {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.quote label,
.quote .label {
  font-weight: 600;
}
.quote .req {
  color: var(--error);
}
.quote .opt {
  font-weight: 400;
  color: var(--muted);
}
.quote input[type='text'],
.quote input[type='tel'],
.quote input[type='email'],
.quote input[type='number'],
.quote select,
.quote textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #8a9aab;
  border-radius: 6px;
}
.quote textarea {
  resize: vertical;
}
.quote ::placeholder {
  color: #6b7a8a;
}
.quote [aria-invalid='true'] {
  border-color: var(--error);
}
.quote .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 1rem;
  color: var(--muted);
}
.quote .check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--teal);
}
.quote .drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px;
  border: 1.5px dashed #8a9aab;
  border-radius: 6px;
  background: var(--aqua);
  cursor: pointer;
  font-weight: 400;
  text-align: left;
}
.quote .drop.is-over,
.quote .drop:hover {
  border-color: var(--teal);
}
.quote .drop svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--navy);
}
.quote .drop-main,
.quote .drop-sub,
.quote .drop-files {
  display: block;
}
.quote .drop-link {
  color: var(--teal-ink);
  font-weight: 600;
  text-decoration: underline;
}
.quote .drop-sub,
.quote .drop-files {
  font-size: 1rem;
  color: var(--muted);
}
.quote .file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.quote .field:has(.file:focus-visible) .drop {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.quote .fine {
  margin: 0;
}
.quote .error {
  margin: 0;
  font-size: 1rem;
  color: var(--error);
  font-weight: 600;
}
.quote .submit {
  width: 100%;
}
.quote .status {
  margin: 0;
  min-height: 1.6em;
  font-weight: 600;
}
.quote .status:empty {
  display: none;
}
.quote .estimate-attached {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--aqua);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.quote .estimate-attached[hidden] {
  display: none;
}
.quote .estimate-attached svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--teal);
  margin-top: 3px;
}
.done {
  background: var(--success-bg);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.done svg {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  color: var(--success);
}
.done-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
}

/* ---------- Closing call to action ---------- */
.cta {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.cta .inner {
  display: grid;
  gap: 16px 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta .inner {
    grid-template-columns: 1fr auto;
  }
}
.cta p {
  margin: 0;
  color: var(--navy);
  max-width: 60ch;
}

/* ---------- Gallery and other hub blocks ---------- */
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.ticker {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 12px 0;
}
.ticker .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: center;
}

/* ---------- Cost estimator ---------- */
.estimator {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .estimator {
    grid-template-columns: 1fr 360px;
  }
}
.calc-area {
  background: var(--aqua);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
}
.estimator .tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.estimator.is-tabbed .tabs {
  display: flex;
}
.estimator [role='tab'] {
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--teal);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font: 600 1rem var(--font-head);
  cursor: pointer;
}
.estimator [role='tab'][aria-selected='true'] {
  background: var(--teal);
  color: var(--white);
}
.estimator .panel {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}
.estimator.is-tabbed .panel {
  margin-bottom: 0;
}
.estimator .panel h2 {
  font-size: 1.4rem;
}
.estimator .fields {
  display: grid;
  gap: 16px 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .estimator .fields {
    grid-template-columns: 1fr 1fr;
  }
}
.estimator .fields label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: start;
  gap: 6px;
  font-weight: 600;
}
.estimator .fields label:not(.check) > input,
.estimator .fields label > select,
.estimator .fields label > small {
  flex-basis: 100%;
}
.estimator .fields label[hidden] {
  display: none;
}
.estimator .unit {
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}
.estimator .unit::before {
  content: '(';
}
.estimator .unit::after {
  content: ')';
}
.estimator .fields small {
  font-weight: 400;
  color: var(--muted);
  font-size: 1rem;
}
.estimator .fields input,
.estimator .fields select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #8a9aab;
  border-radius: 6px;
}
.estimator .fields .check {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 400;
}
.estimator .fields .check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  accent-color: var(--teal);
}
.estimator .howto {
  margin: 16px 0;
  color: var(--muted);
}
.estimator .calc-actions .btn {
  width: 100%;
}
@media (min-width: 640px) {
  .estimator .calc-actions .btn {
    width: auto;
  }
}
.estimator .calc-error {
  color: var(--error);
  font-weight: 600;
  margin: 10px 0 0;
}
.estimator .calc-result {
  color: var(--success);
  font-weight: 600;
  margin-top: 10px;
}
.estimator .plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
@media (min-width: 1024px) {
  .estimator .plan {
    position: sticky;
    top: 16px;
  }
}
.estimator .plan h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}
.plan-items {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 12px;
}
.plan-items > li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.plan-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.plan-items ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 1rem;
}
.linklike {
  background: none;
  border: 0;
  color: var(--teal-ink);
  text-decoration: underline;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  min-height: 44px;
}
.estimator .range {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0;
}
.estimator .breakdown,
.estimator .plan-note,
.estimator .plan-empty {
  color: var(--muted);
  font-size: 1rem;
  text-align: left;
}
.estimator .plan-send {
  width: 100%;
}

/* Small text link to the admin sign-in, in the footer's last line. */
.site-footer .login-link {
  color: var(--muted);
  text-decoration: none;
}
.site-footer .login-link:hover {
  text-decoration: underline;
}
