/* ============================================================
   HUMBLE HANDS CONSTRUCTION: sitewide design system
   Palette from the client logo. Navy dominant, light blue
   section breaks, lime used sparingly for CTAs and accents.
   Fonts self-hosted: Fraunces (headings), Mulish (body/UI).
   ============================================================ */

@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('../fonts/mulish-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('../fonts/mulish-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('../fonts/mulish-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('../fonts/mulish-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #0E2A3D;
  --navy-2: #14384F;
  --navy-3: #1B4863;
  --blue: #0B6FB0;        /* text-safe blue on light backgrounds (5.4:1) */
  --teal: #0F97C6;        /* decorative only, not small text */
  --sky: #17A8E0;
  --lime: #9FC93A;
  --lime-hover: #B0D952;
  --lime-press: #8AB32C;
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --mist: #EAF4F7;        /* light blue section background */
  --mist-2: #D8EAF0;
  --ink: #12222E;
  --muted: #475B69;
  --on-dark: #C3D3DC;
  --line: rgba(14, 42, 61, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-label: 0.875rem;                                      /* 14px */
  --fs-body: 1.0625rem;                                      /* 17px */
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);       /* 17 to 20 */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);         /* 20 to 24 */
  --fs-h2: clamp(2rem, 1.55rem + 1.5vw, 2.75rem);            /* 32 to 44 */
  --fs-h1: clamp(2.5rem, 1.55rem + 3.6vw, 4.5rem);           /* 40 to 72 */

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px;
  --section: clamp(64px, 40px + 5.5vw, 112px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --shadow: 0 14px 34px rgba(14, 42, 61, 0.12);

  --container: 1240px;
  --measure: 62ch;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); font-weight: 900; line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: var(--measure); color: var(--muted); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.02em;
  color: var(--blue); margin-bottom: var(--s3);
}
.label::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--lime); }
.dark .label { color: var(--lime); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .lead { color: var(--on-dark); }

.section-head { margin-bottom: var(--s6); }
.section-head .lead { margin-top: var(--s3); }
.section-head--split { display: grid; gap: var(--s4); align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .section-head--split .lead { margin-top: 0; }
}
.section-head--row { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--pill); border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; line-height: 1;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--lime:active { background: var(--lime-press); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--ghost-navy { border-color: var(--navy); color: var(--navy); }
.btn--ghost-navy:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 800; color: var(--blue);
}
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { color: var(--navy); }

/* ---------- Image system ----------
   .media sets the frame and aspect ratio. Drop a real <img> inside
   and it fills with object-fit: cover. Until then .img-slot shows
   a numbered placeholder in the same frame, so nothing shifts.       */
.media { position: relative; overflow: hidden; aspect-ratio: var(--ar, 4 / 3); background: var(--mist-2); border-radius: var(--r-md); }
.media > img, .media > .img-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: var(--s4); text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(14,42,61,.045) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #E3F0F4, #CFE3EA);
  color: var(--navy);
}
.img-slot .slot-id { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.02em; }
.img-slot .slot-desc { font-size: var(--fs-label); font-weight: 600; color: var(--muted); max-width: 30ch; line-height: 1.4; }
.img-slot--dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 16px),
    radial-gradient(120% 90% at 80% 20%, #22587A 0%, #163F58 45%, #0E2A3D 100%);
  color: var(--white);
}
.img-slot--dark .slot-desc { color: var(--on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { width: 52px; height: 52px; border-radius: 10px; background: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.brand-text span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue); margin-top: 3px; }

.nav-links { display: none; align-items: center; gap: 36px; font-weight: 700; font-size: 1rem; color: var(--navy); }
.nav-top { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.nav-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-top:hover::after, .nav-top[aria-current="page"]::after { transform: scaleX(1); }
.nav-top svg { width: 14px; height: 14px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-call { display: none; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--navy); }
.nav-call svg { width: 18px; height: 18px; color: var(--blue); }
.nav-call:hover { color: var(--blue); }
.nav-quote { display: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--call { background: var(--mist); color: var(--blue); }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle { flex-direction: column; gap: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--white); }
.mobile-menu.is-open { display: block; }
.mobile-menu nav { padding-top: var(--s3); padding-bottom: var(--s4); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.mobile-menu .btn { width: 100%; margin-top: var(--s4); }
.mobile-menu .btn + .btn { margin-top: var(--s3); }

@media (max-width: 380px) {
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.05rem; }
}
@media (min-width: 1024px) {
  .nav-links, .nav-call { display: flex; }
  .nav-quote { display: inline-flex; }
  .icon-btn--call, .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media > img, .hero-media > video, .hero-media > .img-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .img-slot { align-items: flex-end; justify-content: flex-start; padding: 28px; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,42,61,.95) 0%, rgba(14,42,61,.82) 42%, rgba(14,42,61,.45) 100%),
    linear-gradient(0deg, rgba(10,30,44,.55) 0%, rgba(10,30,44,0) 40%);
}
.hero-tag {
  position: absolute; z-index: 1; right: 20px; top: 20px;
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right; color: var(--white);
  padding: 10px 14px; border: 1px dashed rgba(255,255,255,.4); border-radius: var(--r-sm);
  background: rgba(14,42,61,.35);
}
.hero-tag .slot-id { font-family: var(--font-display); font-weight: 900; font-size: 1rem; }
.hero-tag .slot-desc { font-size: 0.8rem; color: var(--on-dark); max-width: 26ch; }
@media (max-width: 719px) { .hero-tag { top: auto; bottom: 16px; right: 16px; } .hero-tag .slot-desc { display: none; } }

.hero-inner {
  position: relative; z-index: 1;
  min-height: clamp(580px, calc(92vh - var(--header-h)), 820px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 72px; padding-bottom: 96px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 8px 16px; border-radius: var(--pill);
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark);
  font-size: var(--fs-label); font-weight: 800; color: var(--white); margin-bottom: var(--s5);
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hero h1 { color: var(--white); max-width: 13em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: #D4EAF2; }
.hero .lead { color: #D2E1E8; margin-top: var(--s4); max-width: 48ch; }
.hero .btn-row { margin-top: var(--s6); }
.hero-owner {
  display: flex; align-items: center;
  margin-top: var(--s6); padding-top: var(--s4);
  border-top: 1px solid var(--line-dark); max-width: 620px; gap: 22px;
  font-size: 1.05rem; color: var(--on-dark);
}
.hero-owner img { width: clamp(128px, 64px + 10vw, 192px); height: auto; aspect-ratio: 1; border-radius: 20px; background: var(--white); flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-owner strong { color: var(--white); font-weight: 800; }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card .media { border-radius: 0; --ar: 4 / 3; }
.service-card .media > img { transition: transform .5s ease; }
.service-card:hover .media > img { transform: scale(1.03); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: var(--s4) 22px var(--s3); }
.service-card-body .text-link { font-size: 1rem; }
.service-card-body h3 { margin-bottom: var(--s2); }
.service-card-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.service-card-body .text-link { margin-top: var(--s3); }

/* ---------- Why Humble Hands ---------- */
.why { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: 5fr 6fr; gap: 72px; } }
.why .media { --ar: 4 / 5; border-radius: var(--r-lg); }
@media (max-width: 959px) { .why .media { --ar: 16 / 11; } }
.reasons { display: grid; gap: var(--s5) var(--s6); margin-top: var(--s6); }
@media (min-width: 600px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason { padding-top: var(--s4); border-top: 2px solid var(--mist-2); }
.reason-num { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: var(--blue); margin-bottom: var(--s2); }
.reason h3 { font-size: 1.25rem; margin-bottom: 6px; }
.reason p { color: var(--muted); font-size: 1rem; }

/* ---------- Projects ---------- */
.project-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .project-grid { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); } }
.project-card { display: flex; flex-direction: column; }
.project-card .media { --ar: 16 / 11; border-radius: var(--r-lg); }
.project-card .media > img { transition: transform .6s ease; }
.project-card:hover .media > img { transform: scale(1.03); }
.project-body { padding-top: var(--s4); }
.placeholder-pill {
  display: inline-block; margin-bottom: var(--s2);
  padding: 3px 10px; border-radius: var(--pill);
  border: 1px dashed var(--blue); color: var(--blue);
  font-size: 0.8rem; font-weight: 800;
}
.project-body h3 { margin-bottom: var(--s2); }
.project-meta { display: grid; gap: 2px; color: var(--muted); font-size: 1rem; }
.project-meta dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.project-meta .services { color: var(--navy); font-weight: 700; }
.project-body .text-link { margin-top: var(--s2); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  display: flex; flex-direction: column; gap: var(--s4);
  background: var(--white); border-radius: var(--r-lg); padding: var(--s5);
  border-top: 4px solid var(--lime);
}
.testimonial .media { --ar: 5 / 2; width: 150px; border-radius: var(--r-sm); }
.testimonial .media .img-slot { padding: 8px; }
.testimonial .media .slot-id { font-size: 0.95rem; }
.testimonial .media .slot-desc { font-size: 0.72rem; }
.testimonial blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.45; color: var(--navy); flex: 1; }
.testimonial blockquote .ph-note { display: block; font-family: var(--font-body); font-weight: 800; font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--blue); margin-bottom: var(--s2); }
.testimonial figcaption { font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--s3); }
.testimonial figcaption strong { display: block; color: var(--navy); font-weight: 800; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1fr 1fr; gap: 80px; } }
.founder-photo { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.founder-photo::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px;
  border-radius: var(--r-lg); background: var(--lime); z-index: 0;
}
.founder-photo .media { --ar: 4 / 5; border-radius: var(--r-lg); z-index: 1; box-shadow: var(--shadow); }
.founder-photo .media > img { object-position: center 18%; }
@media (max-width: 899px) { .founder-photo { max-width: 420px; } }
.founder-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.4; color: var(--navy); margin-top: var(--s4); max-width: 30ch; }
.founder-sig { margin-top: var(--s4); }
.founder-sig strong { display: block; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.founder-sig span { color: var(--muted); }
.founder .btn-row { margin-top: var(--s5); }

/* ---------- CTA ---------- */
.cta { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr 1fr; gap: var(--s6); } .cta .btn-row { justify-content: flex-end; } }
.cta h2 { max-width: 18ch; }
.cta .lead { margin-top: var(--s3); }
.cta-note { margin-top: var(--s3); font-size: 0.95rem; }
.cta-note a { color: var(--lime); font-weight: 800; }
.cta-note a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #0A2131; color: var(--on-dark); padding: var(--s7) 0 var(--s5); font-size: 0.95rem; }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s6); } .footer-about { grid-column: auto; } }
.footer-about .brand-text strong { color: var(--white); }
.footer-about .brand-text span { color: var(--lime); }
.footer-about p { margin-top: var(--s3); max-width: 36ch; }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.06em; color: var(--white); margin-bottom: var(--s3); }
.footer-col a, .footer-col span { display: flex; align-items: center; min-height: 44px; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line-dark);
  font-size: 0.875rem; color: #8FA5B2;
}
.footer-bottom a { color: var(--on-dark); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: var(--lime); }

/* ---------- Utility ---------- */
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--r-sm); background: var(--lime); color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-6 { margin-top: var(--s6); }
@media (max-width: 459px) { .eyebrow-loc { display: none; } }

/* ============================================================
   INNER PAGE COMPONENTS
   ============================================================ */

/* ---------- Services dropdown (desktop) ---------- */
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -18px; padding-top: 10px; min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 8px; }
.dropdown-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); font-weight: 700; color: var(--navy); }
.dropdown-panel a:hover, .dropdown-panel a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.dropdown-panel .all { border-bottom: 1px solid var(--line); border-radius: var(--r-sm) var(--r-sm) 0 0; margin-bottom: 6px; }
.mobile-menu a.sub { min-height: 46px; padding-left: 18px; font-weight: 600; font-size: 1rem; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--on-dark); padding: clamp(48px, 30px + 4.5vw, 96px) 0; }
.page-hero-grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .page-hero-grid.has-media { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.page-hero h1 { color: var(--white); font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem); max-width: 16ch; }
.page-hero .lead { color: #D2E1E8; margin-top: var(--s4); }
.page-hero .btn-row { margin-top: var(--s5); }
.page-hero .media { --ar: 4 / 3; border-radius: var(--r-lg); }
.page-hero .label { color: var(--lime); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); font-size: var(--fs-label); font-weight: 700; color: var(--on-dark); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--lime); }
.crumbs span[aria-hidden] { display: inline-flex; align-items: center; opacity: .6; }
.crumbs [aria-current] { display: inline-flex; align-items: center; color: var(--white); }

/* ---------- Split content ---------- */
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse > :first-child { order: 2; }
}
.split .media { border-radius: var(--r-lg); }
.prose p { color: var(--muted); max-width: var(--measure); }
.prose p + p { margin-top: var(--s3); }
.prose h2 + p, .prose h2 + .lead { margin-top: var(--s4); }
.split .btn-row, .prose .btn-row { margin-top: var(--s5); }

/* ---------- Check list ---------- */
.checks { display: grid; gap: 12px var(--s5); margin-top: var(--s5); }
@media (min-width: 560px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.5; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }

/* ---------- Reasons grid variants ---------- */
@media (min-width: 900px) { .reasons--3 { grid-template-columns: repeat(3, 1fr); } }
.reasons--flush { margin-top: 0; }

/* ---------- Process steps (a real sequence) ---------- */
.steps { display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { counter-increment: step; padding-top: var(--s4); border-top: 3px solid var(--navy); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--blue); margin-bottom: var(--s2); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 1rem; }
.section--mist .step, .dark .step { border-top-color: var(--lime); }

/* ---------- Link list (services / related trades) ---------- */
.link-list { border-top: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.link-list h3 { font-size: 1.3rem; }
.link-list p { color: var(--muted); font-size: 1rem; margin-top: 4px; }
.link-list .go { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--navy); transition: background-color .18s ease, color .18s ease; }
.link-list .go svg { width: 20px; height: 20px; }
.link-list a:hover .go { background: var(--lime); }
.link-list a:hover h3 { color: var(--blue); }

/* ---------- Two-image row ---------- */
.image-pair { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .image-pair { grid-template-columns: 1.4fr 1fr; } }
.image-pair .media { border-radius: var(--r-lg); }
.image-pair figcaption, .gallery figcaption { margin-top: 10px; font-size: var(--fs-label); font-weight: 700; color: var(--muted); }

/* ---------- Mission / vision ---------- */
.statement-grid { display: grid; gap: var(--s6); }
@media (min-width: 800px) { .statement-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.statement h2 { font-size: var(--fs-h3); color: var(--blue); font-family: var(--font-body); font-weight: 800; margin-bottom: var(--s3); }
.statement p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.4; color: var(--navy); }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s6); }
.filter {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white);
  font-weight: 800; font-size: .95rem; color: var(--navy);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (min-width: 1000px) { .project-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.project-grid--3 .media { --ar: 4 / 3; }
.project-grid--3 h3 { font-size: 1.25rem; }
.project-card[hidden] { display: none; }
.filter-empty { color: var(--muted); }

/* ---------- Project detail ---------- */
.detail-media { margin-top: calc(-1 * clamp(24px, 3vw, 48px)); }
.detail-media .media { --ar: 21 / 9; border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (max-width: 700px) { .detail-media .media { --ar: 4 / 3; } }
.detail-layout { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .detail-layout { grid-template-columns: 1.7fr 1fr; gap: 72px; align-items: start; } }
.facts { background: var(--mist); border-radius: var(--r-lg); padding: var(--s5); }
.facts h2 { font-size: 1.25rem; margin-bottom: var(--s3); }
.facts dl { display: grid; gap: var(--s3); }
.facts dt { font-size: var(--fs-label); font-weight: 800; color: var(--blue); }
.facts dd { font-weight: 700; color: var(--navy); }
.facts .btn { width: 100%; margin-top: var(--s5); }
.template-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; margin-bottom: var(--s5); border: 1.5px dashed var(--blue); border-radius: var(--r-md); background: var(--white); color: var(--navy); font-weight: 700; font-size: .95rem; }
.gallery { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } .gallery--2 { grid-template-columns: repeat(2, 1fr); } }
.gallery .media { border-radius: var(--r-md); }
.gallery + .gallery { margin-top: var(--s4); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.methods { display: grid; gap: var(--s3); margin-top: var(--s5); }
.method { display: flex; align-items: center; gap: var(--s4); padding: 20px 24px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .18s ease, box-shadow .18s ease; }
a.method:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.method-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mist); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.method-icon svg { width: 22px; height: 22px; }
.method small { display: block; font-size: var(--fs-label); font-weight: 800; color: var(--muted); }
.method strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.quote-panel { background: var(--navy); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
.quote-panel h2 { color: var(--white); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.quote-panel p { margin-top: var(--s3); }
.quote-panel .checks li { color: var(--white); }
.quote-panel .checks svg { color: var(--lime); }
.quote-panel .btn-row { margin-top: var(--s5); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 72px; padding: 14px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--blue); }
.faq-a { padding: 0 0 var(--s4); color: var(--muted); max-width: 70ch; }
.template-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
@media (max-width: 479px) { .hero-owner { flex-direction: column; align-items: flex-start; gap: 16px; } .hero-owner img { width: 160px; } }

/* ============================================================
   NO-PHOTO VERSION (built with HH_PHOTOS=0)
   ============================================================ */

/* Blueprint-grid hero background */
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(90% 90% at 85% 15%, #1E5577 0%, #123850 45%, #0E2A3D 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,42,61,.9) 0%, rgba(14,42,61,.35) 60%, rgba(14,42,61,.15) 100%);
}
@media (min-width: 1024px) {
  .hero--text .hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 64px; align-content: center; }
  .hero--text .hero-copy { display: contents; }
  .hero--text .hero-eyebrow, .hero--text h1 { grid-column: 1 / -1; }
  .hero--text .hero-eyebrow { justify-self: start; }
  .hero--text h1 { max-width: none; }
  .hero--text .lead, .hero--text .btn-row, .hero--text .hero-owner { grid-column: 1; }
  .hero--text .hero-panel { grid-column: 2; grid-row: 3 / span 3; align-self: center; margin-top: var(--s4); }
}
.hero--text .hero-inner { padding-bottom: 80px; }

.hero-panel {
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  backdrop-filter: blur(4px); margin-top: var(--s6);
}
@media (min-width: 1024px) { .hero-panel { margin-top: 0; } }
.hero-panel h2 { color: var(--white); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin-bottom: var(--s3); }
.hero-panel-list a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line-dark); min-height: 44px;
}
.hero-panel-list a > span:not(.trade-icon) { display: flex; flex-direction: column; line-height: 1.35; }
.hero-panel-list strong { color: var(--white); font-weight: 800; font-size: 1.05rem; }
.hero-panel-list span span { color: var(--on-dark); font-size: .92rem; }
.hero-panel-list > a > svg { width: 18px; height: 18px; color: var(--lime); transition: transform .18s ease; }
.hero-panel-list a:hover > svg { transform: translateX(3px); }
.hero-panel-list a:hover strong { color: var(--lime); }

/* Trade icons */
.trade-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.trade-icon svg { width: 22px; height: 22px; }
.trade-icon.lg { width: 64px; height: 64px; }
.trade-icon.lg svg { width: 28px; height: 28px; }
.trade-icon.xl { width: 88px; height: 88px; }
.trade-icon.xl svg { width: 38px; height: 38px; }
.t-teal { background: var(--teal); }
.t-sky { background: var(--sky); }
.t-blue { background: var(--blue); }
.t-lime { background: var(--lime); color: var(--navy); }

/* Service cards without photos */
.service-card-head { padding: var(--s5) 22px 0; }

/* Why section without photo */
.why--text { grid-template-columns: 1fr; }
@media (min-width: 1100px) { .why--text .reasons { grid-template-columns: repeat(4, 1fr); } }

/* Facts, statements, scope panels */
.facts--lg { padding: clamp(28px, 4vw, 48px); }
.facts--lg dl { gap: var(--s4); }
.facts--lg dd { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; }
.facts dl > div { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.big-statement { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.1; color: var(--navy); letter-spacing: -0.02em; }
.big-statement + .lead { margin-top: var(--s4); }
.scope-panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); }
.scope-panel .checks { margin-top: 0; }
.section:not(.section--mist) .testimonial { border: 1px solid var(--line); border-top: 4px solid var(--lime); }
.prose > .trade-icon { display: flex; }

/* ---------- Walkthrough video ---------- */
.walkthrough { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 860px) { .walkthrough { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.walk-video { justify-self: center; width: 100%; max-width: 340px; }
.walk-video video { width: 100%; height: auto; aspect-ratio: 368 / 496; border-radius: var(--r-lg); background: var(--navy); box-shadow: var(--shadow); }
