/* G&C Residential — public site
   Brand: navy and blue from the logo, sky blue, light grey. Manrope headings, Poppins body. */
:root {
  --ink: #0D2447;
  --ink-soft: #44566B;
  --steel: #E1E7EE;
  --steel-deep: #A7B4C2;
  --paper: #F1F2F4;
  --white: #FFFFFF;
  --accent: #1470AF;
  --accent-deep: #0E5A8F;
  --sky: #A9D0F2;
  --ember: #B93420;
  --ok: #1E6B45;
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
}
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.04; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.03em; max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; font-weight: 750; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* Header */
.top-wrap { background: var(--white); }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 40px; width: auto; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; color: var(--ink); white-space: nowrap; }
.wordmark span { color: var(--accent); }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); font-weight: 500; font-size: .98rem; }
.top nav a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:not(.btn):hover { border-bottom-color: var(--accent); }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--white);
  font-family: var(--display); font-weight: 800; font-size: 1.06rem;
  padding: 15px 26px; border-radius: 6px;
  box-shadow: 0 3px 0 var(--ink);
}
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { padding: 10px 16px; font-size: .95rem; }
.text-link { font-weight: 600; text-underline-offset: 4px; }

/* Hero */
.hero { padding-top: clamp(36px, 6vw, 80px); background: linear-gradient(180deg, #C4DFF6 0%, #9CC7EC 100%); }
.hero-copy { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.lede { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; color: var(--ink); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.duct { margin: clamp(36px, 6vw, 72px) 0 0; overflow: hidden; }
.duct svg { display: block; width: 100%; height: clamp(96px, 12vw, 150px); }
.duct figcaption { display: flex; justify-content: space-between; max-width: var(--wrap); margin: 6px auto 0; padding: 0 var(--gut) 18px; font-family: var(--display); font-weight: 700; }
.flow path { stroke-dasharray: 26 20; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -92; } }

/* Straight talk */
.straight { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 104px) var(--gut); }
.straight > * { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.straight h2 { color: var(--sky); }
.straight-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px;
  border-top: 2px solid rgba(255,255,255,.22);
}
.straight-grid p {
  padding: 24px 28px 24px 0; font-family: var(--display); font-weight: 650; font-size: 1.25rem; line-height: 1.25;
}
.straight-grid p + p { padding-left: 28px; border-left: 2px solid rgba(255,255,255,.22); }
.straight-close {
  margin-top: 32px; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.1;
}

/* Shared section frame */
.services, .areas, .team, .quote { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gut) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.section-head p { color: var(--ink-soft); max-width: 48ch; }

/* Services */
.service-list { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: var(--white); border: 2px solid var(--steel); border-radius: 8px; padding: 24px; }
.service p { margin-top: 10px; color: var(--ink-soft); font-size: .98rem; }
.service-lead { grid-column: 1 / -1; background: var(--white); border-color: var(--accent); padding: 32px; display: flex; gap: 28px; align-items: center; }
.cdet { flex: none; width: 120px; height: 120px; object-fit: contain; }
.service-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
.service-lead p { font-size: 1.08rem; max-width: 62ch; color: var(--ink); }

/* Areas */
.area-list {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.area-list li {
  padding: 18px 0; border-bottom: 2px solid var(--steel);
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
}

/* Team */
.team-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-list li { display: flex; align-items: center; gap: 16px; background: var(--white); border: 2px solid var(--steel); border-radius: 8px; padding: 20px; }
.team-list strong { font-family: var(--display); font-weight: 750; font-size: 1.2rem; }
.avatar {
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--white); overflow: hidden;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Quote */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-bottom: clamp(56px, 8vw, 104px); align-items: start; }
.quote-intro p { margin-top: 18px; color: var(--ink-soft); max-width: 40ch; }
.quote-note { font-weight: 600; color: var(--ink) !important; border-left: 5px solid var(--accent); padding-left: 14px; }
.quote-form { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.quote-form input:not([type=checkbox]) {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  padding: 12px 13px; border: 2px solid var(--steel-deep); border-radius: 6px; background: var(--paper);
}
.quote-form input:not([type=checkbox]):focus { border-color: var(--ink); background: var(--white); outline: 3px solid var(--accent); outline-offset: 0; }
.quote-form input.bad { border-color: var(--ember); }
.row { display: grid; gap: 14px; }
.row.two { grid-template-columns: 1fr 1fr; }
.row.three { grid-template-columns: 2fr 1fr 1fr; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.quote-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1rem; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -9999px; }
.quote-form .btn { justify-self: start; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.err { color: var(--ember); }
.form-status.ok { color: var(--ok); }

/* Footer */
.foot { background: var(--ink); color: var(--white); padding: 40px var(--gut); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot strong { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.foot p { color: var(--steel); margin-top: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.foot a { text-underline-offset: 4px; }

/* Inner pages (services, towns, guides) */
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut) 0; font-size: .85rem; color: var(--ink-soft); }
.crumbs a { color: inherit; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { margin: 0 6px; }
.page-hero { background: linear-gradient(180deg, #C4DFF6 0%, #9CC7EC 100%); margin-top: 14px; }
.page-hero-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gut); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; }
.prose { max-width: 820px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gut) 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 14px; }
.prose > h2:first-child, .prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; max-width: 68ch; }
.prose ul:not(.link-grid) { margin: 0 0 16px; padding-left: 22px; max-width: 66ch; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); font-weight: 500; text-underline-offset: 3px; }
.prose .faq-list { margin-top: 20px; }
.prose .faq-list details p { padding-bottom: 20px; margin: 0; }
.source { font-size: .88rem; color: var(--ink-soft); }
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.link-grid a { display: block; height: 100%; background: var(--white); border: 2px solid var(--steel); border-radius: 8px; padding: 16px 18px; font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; }
.link-grid a:hover { border-color: var(--accent); }
.guides { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gut) 0; }
.guides .link-grid { margin-top: 40px; }
.cta-band { background: var(--ink); color: var(--white); margin-top: clamp(56px, 8vw, 96px); padding: clamp(40px, 6vw, 64px) var(--gut); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; }
.cta-band > div { max-width: 640px; }
.cta-band h2 { color: var(--sky); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { margin-top: 12px; color: var(--steel); }
.service h3 a, .area-list a { color: inherit; text-decoration: none; }
.service h3 a:hover, .area-list a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }

/* FAQ page */
.faq { max-width: 820px; margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--gut) clamp(56px, 8vw, 104px); }
.faq h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: none; }
.faq-list { margin-top: 40px; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 2px solid var(--steel); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 750; font-size: 1.25rem; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.8rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 24px; max-width: 66ch; color: var(--ink-soft); }
.faq-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* Responsive */
@media (max-width: 900px) {
  .top nav a:not(.btn) { display: none; }
  .section-head, .quote { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .team-list { grid-template-columns: 1fr; }
  .straight-grid { grid-template-columns: 1fr; }
  .straight-grid p, .straight-grid p + p { padding: 18px 0; border-left: 0; }
  .straight-grid p + p { border-top: 2px solid rgba(255,255,255,.22); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand img { height: 26px; }
  .top { gap: 10px; }
  .btn-small { padding: 9px 12px; font-size: .85rem; white-space: nowrap; }
  .service-lead { flex-direction: column; align-items: flex-start; }
  .service-list, .row.two, .row.three, fieldset { grid-template-columns: 1fr; }
  .quote-form .btn { justify-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow path { animation: none; }
}
