/* Compass Builder Services — site styles (v4 "sleek", 2026-11-20)
   Rewritten from scratch (v3 backup: HTML/RESOURCES/site-v3-backup.css). Same plain layout and
   class names; refined type, deep navy surfaces, more space, quieter details.
   Motion stays subtle (Website Builder Playbook §2). admin.css loads after this
   and uses the same variables. */

:root {
  /* brand */
  --blue: #1D3F8F;          /* logo blue: links, accents */
  --blue-dark: #142C66;
  --navy: #0B1730;          /* dark surfaces */
  --navy-2: #12224A;
  --red: #C62B2B;           /* the one action color */
  --red-dark: #A82222;
  --gold: #E3A21A;          /* logo star, thin accents only */
  /* tinted neutrals */
  --text: #0F1729;
  --muted: #586179;
  --line: #E3E6EE;
  --line-2: #CBD1DD;
  --bg: #FFFFFF;
  --bg-alt: #F5F6F9;
  --blue-tint: #EDF1FA;
  /* type + layout */
  --font: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Manrope", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(11,23,48,.06), 0 2px 8px rgba(11,23,48,.05);
  --shadow: 0 2px 4px rgba(11,23,48,.04), 0 12px 32px rgba(11,23,48,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[id] { scroll-margin-top: 110px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.022em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.032em; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; letter-spacing: -0.015em; }
p { margin: 0 0 16px; text-wrap: pretty; }
blockquote { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1 var(--font); letter-spacing: -0.005em; padding: 16px 26px; border-radius: 8px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 1px 2px rgba(120,20,20,.25), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--line-2); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--text); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #EEF0F5; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn:disabled { opacity: .7; cursor: wait; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: #AEB7CB; font-size: 15px; }
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 40px; }
.topbar span { white-space: nowrap; }
.topbar .sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.topbar a svg { width: 14px; height: 14px; color: var(--gold); }
.topbar a:hover { color: var(--gold); }
@media (max-width: 960px) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: center; } .topbar a { margin-left: 0; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,23,48,.07); }
.site-header .wrap { display: flex; align-items: center; gap: 36px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.brand img { height: 54px; width: auto; }
.brand .wordmark { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.02em; }
.brand .wordmark b { display: block; font-size: 19px; font-weight: 800; color: var(--navy); }
.brand .wordmark span { display: block; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 0; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 13px 20px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) { .brand .wordmark { display: none; } }
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header .wrap { height: 70px; }
  .brand img { height: 48px; }
  .brand .wordmark { display: block; }
  .site-header.open .mobile-menu { display: block; }
}
@media (max-width: 400px) { .brand .wordmark b { font-size: 16px; } .brand .wordmark span { font-size: 15px; } }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,23,48,.08); padding: 6px var(--gutter) 22px; max-height: calc(100vh - 110px); overflow-y: auto; }
.mobile-menu a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-family: var(--font-head); font-size: 18px; letter-spacing: -0.01em; }
.mobile-menu .btn { width: 100%; margin-top: 14px; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(760px, 86vh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) both; transform-origin: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(8,17,38,.92) 0%, rgba(8,17,38,.72) 42%, rgba(8,17,38,.18) 100%),
  linear-gradient(0deg, rgba(8,17,38,.65) 0%, rgba(8,17,38,0) 40%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 136px; }
.hero h1 { color: #fff; max-width: 11.5em; }
.hero .brandname { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 22px; letter-spacing: -0.005em; }
.hero .brandname::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 32em; margin: 22px 0 36px; }
.hero .slogan { display: block; margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.6); }
.hero .btn-white { box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .in-1, .hero .in-2, .hero .in-3, .hero .in-4 { animation: rise .7s var(--ease) both; }
.hero .in-2 { animation-delay: .08s; } .hero .in-3 { animation-delay: .16s; } .hero .in-4 { animation-delay: .24s; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hero { min-height: 600px; }
  .hero::before { background: linear-gradient(0deg, rgba(8,17,38,.94) 0%, rgba(8,17,38,.7) 55%, rgba(8,17,38,.45) 100%); }
  .hero .wrap { padding-top: 90px; padding-bottom: 72px; }
  .actions .btn { flex: 1 1 100%; }
}

/* trust card (overlaps the hero bottom) */
.trust { position: relative; z-index: 3; margin-top: -64px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.trust li { display: flex; align-items: center; gap: 16px; padding: 28px 26px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.trust .ic svg { width: 22px; height: 22px; }
.trust b { display: block; font-family: var(--font-head); font-size: 16.5px; line-height: 1.25; letter-spacing: -0.01em; }
.trust span { color: var(--muted); font-size: 15px; line-height: 1.4; }
@media (max-width: 960px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust { margin-top: -36px; }
  .trust li { padding: 18px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .trust .ic { width: 36px; height: 36px; } .trust .ic svg { width: 18px; height: 18px; }
  .trust b { font-size: 15px; } .trust span { font-size: 15px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section.tight-top { padding-top: clamp(56px, 6vw, 80px); }
.section.dark { background: var(--navy); color: #C9D0E0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.section-title h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 18px; }
.section-title p { margin: 12px 0 0; color: var(--muted); max-width: 34em; font-size: 18px; }
.section.dark .section-title p { color: #AEB7CB; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap; color: var(--navy); padding-bottom: 2px; border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }
.section.dark .link-arrow { color: #fff; border-color: rgba(255,255,255,.3); }
.section.dark .link-arrow:hover { border-color: #fff; }

/* ---------- service cards (photo with title on it) ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; background: var(--navy); isolation: isolate; }
.service .ph { position: relative; }
.service img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform .8s var(--ease); }
.service .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,17,38,.88) 0%, rgba(8,17,38,.35) 45%, rgba(8,17,38,0) 70%); }
.service:hover img { transform: scale(1.02); }
.service .body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3vw, 34px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.service h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.025em; }
.service .sub { color: rgba(255,255,255,.78); font-size: 16px; margin-top: 6px; }
.service .go { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 0; transition: background .25s, color .25s; }
.service .go i { font-style: normal; font-size: 20px; transition: transform .25s var(--ease); }
.service:hover .go { background: var(--red); color: #fff; }
.service:hover .go i { transform: translateX(2px); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; gap: 16px; } .service img { aspect-ratio: 4/3; } .service .go { width: 44px; height: 44px; } }

/* ---------- project photos ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button { position: relative; border: 0; padding: 0; cursor: zoom-in; border-radius: 8px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.02); }
.gallery button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* feature layout: first photo large */
.gallery.feature { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
.gallery.feature button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery.feature img { aspect-ratio: auto; min-height: 100%; }
.gallery.feature button:not(:first-child) img { aspect-ratio: 4/3; }
@media (max-width: 860px) {
  .gallery, .gallery.feature { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery.feature button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery.feature button:first-child img { aspect-ratio: 16/10; }
}

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,12,26,.95); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; animation: fade .25s var(--ease) both; }
.lightbox img { max-height: 86vh; max-width: min(1400px, 100%); object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; width: 48px; height: 48px; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .x { top: 20px; right: 20px; }
.lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-caption { font-size: 15px; color: var(--muted); margin: 12px 0 0; }
.section.dark .media-caption { color: #8E98B0; }

/* ---------- testimonial + video ---------- */
.proof { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.proof .quote { position: relative; }
.proof .stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; margin-bottom: 18px; }
.proof blockquote { margin: 0 0 28px; font-family: var(--font-head); font-weight: 600; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.45; letter-spacing: -0.015em; color: var(--text); }
.proof cite { display: flex; align-items: center; gap: 14px; font-style: normal; color: var(--muted); font-size: 15.5px; }
.proof cite::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.proof cite b { display: block; color: var(--text); font-size: 17px; }
.section.dark .proof blockquote { color: #fff; }
.section.dark .proof cite { color: #AEB7CB; }
.section.dark .proof cite b { color: #fff; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } }

/* older single testimonial block */
.testimonial { max-width: 860px; margin: 0 auto; text-align: center; }
.testimonial blockquote { margin: 0 0 20px; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.5; }
.testimonial cite { font-style: normal; color: var(--muted); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { margin: 0; }
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; border-radius: var(--radius); background: var(--line); filter: saturate(.95); }
.member h3 { margin-top: 18px; font-size: 20px; }
.member p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.member .todo { color: var(--red); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; gap: 16px; } .member h3 { font-size: 17px; margin-top: 12px; } .member p { font-size: 15px; } }

/* ---------- FAQ (lines, no boxes) ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-title { margin-bottom: 0; position: sticky; top: 130px; }
.faq-layout .section-title p a { font-weight: 600; }
.faq { max-width: 860px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.012em; position: relative; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 48px 24px 0; margin: 0; color: var(--muted); animation: rise .4s var(--ease) both; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-title { position: static; margin-bottom: 8px; } .faq summary { font-size: 17.5px; } }

/* ---------- contact band ---------- */
.contact-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.contact-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 30%, rgba(11,23,48,.6)); }
.contact-band .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); flex-wrap: wrap; }
.contact-band h2 { color: #fff; }
.contact-band p { margin: 12px 0 0; font-size: 18px; color: rgba(255,255,255,.78); }
@media (max-width: 700px) { .contact-band .actions { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: #070F22; color: #98A2B9; font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { display: inline-block; background: #fff; padding: 8px 10px; border-radius: 8px; }
.foot-logo img { height: 64px; width: auto; }
.foot-name { margin: 18px 0 0; font-size: 15px; max-width: 22em; }
.foot-name b { display: block; color: #fff; font-family: var(--font-head); font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; margin: 4px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #D5DAE5; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- inner page heads (photo banner) ---------- */
.page-head { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) both; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,17,38,.94) 0%, rgba(8,17,38,.78) 45%, rgba(8,17,38,.35) 100%); }
.page-head .wrap { position: relative; z-index: 2; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-head h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); animation: rise .7s var(--ease) both; }
.page-head p { margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.5vw, 20px); max-width: 36em; animation: rise .7s var(--ease) .08s both; }
.page-head p a { color: #fff; }
.crumbs { display: flex; gap: 8px; font-size: 15px; color: rgba(255,255,255,.6); margin: 0 0 18px; animation: rise .7s var(--ease) both; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > img, .split .ph img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split h2 + p, .split h2 + .list { margin-top: 20px; }
.split .lede { font-size: 18px; color: var(--muted); }
.list { list-style: none; padding: 0; margin: 20px 0 32px; border-top: 1px solid var(--line); }
.list li { padding: 15px 0 15px 38px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-tint); }
.list li::after { content: ""; position: absolute; left: 8px; top: 21px; width: 8px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > img, .split .ph img { aspect-ratio: 4/3; } }

.licenses { font-size: 15px; color: var(--muted); }

/* ---------- contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-intro { margin-bottom: 28px; }
.form-intro h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-intro p { margin: 8px 0 0; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.row.one { grid-template-columns: 1fr; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--text); padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9B2C3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,63,143,.12); }
.field input[type=file] { padding: 11px; background: var(--bg-alt); border-style: dashed; cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 15px; color: var(--muted); margin-top: 6px; }
.form .btn[type=submit] { width: 100%; margin-top: 8px; padding: 18px; font-size: 17px; }
.form .note { font-size: 15px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success.show { display: block; animation: rise .5s var(--ease) both; }
.form-success:focus { outline: none; }
.form-success .ok-ic { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: #E7F5EC; color: #1F7A43; display: grid; place-items: center; }
.form-success .ok-ic svg { width: 28px; height: 28px; }
.form-error { color: var(--red); font-weight: 600; margin: 12px 0 0; font-size: 15px; }
.turnstile { margin: 4px 0 10px; }

.info { background: var(--navy); color: #C9D0E0; border-radius: 14px; padding: clamp(26px, 3vw, 36px); position: sticky; top: 110px; }
.info h3 { color: #fff; margin-bottom: 24px; font-size: 22px; }
.info dl { margin: 0; display: grid; gap: 0; }
.info dl > div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.info dl > div:first-child { border-top: 0; padding-top: 0; }
.info dt { font-size: 15px; color: #8E98B0; }
.info dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 21px; font-weight: 700; color: #fff; letter-spacing: -0.015em; }
.info dd a { color: #fff; text-decoration: none; }
.info dd a:hover { color: var(--gold); }
.info dd.email { font-size: 16px; word-break: break-word; }
.info .licenses { color: #8E98B0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .info { position: static; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

/* work type checkboxes */
.checks-field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.checks-field legend { font-weight: 600; font-size: 15px; margin-bottom: 12px; padding: 0; }
.hint-inline { font-weight: 400; color: var(--muted); font-size: 15px; margin-left: 4px; }
.checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.check:hover { border-color: #A9B2C3; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.check b { display: block; font-size: 15px; line-height: 1.3; }
.check small { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 3px; }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); box-shadow: 0 0 0 1px var(--blue) inset; }
.checks-field .err { color: var(--red); font-size: 15px; margin: 8px 0 0; }
@media (max-width: 640px) { .checks-grid { grid-template-columns: 1fr; } }

/* ---------- mobile tap-to-call bar ---------- */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(11,23,48,.08); transform: translateY(110%); transition: transform .4s var(--ease); }
  .call-bar.show { transform: none; }
  .call-bar .btn { padding: 14px 10px; font-size: 15.5px; }
  body { padding-bottom: 76px; }
}

/* ---------- scroll reveal (hidden only once JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- testimonial stories + About statement (2026-11-29) ---------- */
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.story { display: grid; grid-template-columns: minmax(0, 240px) 1fr; gap: 28px; align-items: center; background: var(--navy-2); border-radius: var(--radius); padding: 24px; }
.video.tall { aspect-ratio: 9/16; box-shadow: none; }
.story blockquote { margin: 0 0 18px; color: #fff; font: 600 20px/1.45 var(--font-head); }
.story cite { font-style: normal; color: #fff; }
.section.dark .media-caption, .section.dark .media-caption a { color: #AEB7CB; }
.section.dark :focus-visible, .page-head :focus-visible, .contact-band :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .hero :focus-visible, .info :focus-visible, .lightbox :focus-visible { outline-color: #fff; }
.statement p { max-width: 920px; margin: 0 auto 20px; font-size: 20px; }
.statement .strong { color: #fff; font: 700 clamp(22px, 2.4vw, 30px)/1.35 var(--font-head); margin: 0 auto; }
.story.text { grid-template-columns: 1fr; padding: clamp(24px, 3vw, 44px); }
.info dd.email a { display: inline-block; padding: 6px 0; }
.play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #08112A; color: #fff; font-weight: 600; text-decoration: none; }
.play img, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play .tri { position: relative; width: 68px; height: 68px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: background .2s; }
.play .tri::after { content: ""; margin-left: 5px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.play:hover .tri { background: var(--red-dark); }
/* larger click targets */
.nav a, .link-arrow, .story .media-caption a { padding-top: 10px; padding-bottom: 10px; display: inline-block; }
.site-footer li a, .crumbs a, .topbar a { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer ul { gap: 2px; }
.btn { min-height: 48px; }
@media (max-width: 1100px) { .story { grid-template-columns: 1fr; } .video.tall { max-width: 320px; width: 100%; margin: 0 auto; } }
@media (max-width: 640px) { .stories { grid-template-columns: 1fr; } .story { padding: 18px; } }

/* project by job (2026-11-29) */
.job { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 32px; }
.video.tall.r34 { aspect-ratio: 3/4; }
.job .lede { font-size: 20px; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; } }

/* ---------- statement on Home, finished-roof video (2026-11-30) ---------- */
.statement-home h2 { max-width: 920px; margin: 0 auto 20px; }
.statement-home .strong { color: var(--navy); max-width: 920px; }
.job.finished { margin-bottom: 0; }
.job.finished .gallery { grid-template-columns: 1fr 1fr; }
.job.finished .gallery button:first-child { grid-column: span 2; }
.crumbs { align-items: center; }
.head-call { display: none; }

/* ==========================================================================
   MOBILE BUILD (2026-11-30). Everything phone-specific lives here, last, so it
   wins. Desktop (over 1000px) is untouched.
   ========================================================================== */
@media (max-width: 1000px) {
  .topbar { display: none; }
  .head-call { display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; border-radius: 10px; background: var(--red); color: #fff; flex: none; }
  .head-call svg { width: 22px; height: 22px; }
  .menu-btn { margin-left: 0; width: 48px; height: 48px; border-color: var(--line-2); flex: none; }
  .site-header .wrap { gap: 10px; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu { padding-bottom: 28px; height: calc(100vh - 70px); height: calc(100dvh - 70px); max-height: none; }
  .mobile-menu a:not(.btn) { padding: 17px 0; font-size: 20px; }
  .mobile-menu a[aria-current="page"] { color: var(--red); }
  html.menu-open { overflow: hidden; } /* html only: locking body too would unstick the header */
  .menu-open .call-bar { display: none; }
  [id] { scroll-margin-top: 86px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.6; padding-bottom: 0; }
  :root { --gutter: 20px; }
  h1 { font-size: 40px; }
  h2 { font-size: 29px; }
  .brand { gap: 10px; min-width: 0; }
  .brand .wordmark b { font-size: 18px; }
  .brand .wordmark span { font-size: 14px; white-space: nowrap; }
  .btn { min-height: 54px; font-size: 17px; }
  .actions { gap: 10px; }
  .actions .btn { flex: 1 1 100%; }
  .section, .section.tight-top { padding: 52px 0; }
  .section-title { margin-bottom: 22px; gap: 8px 16px; align-items: center; }
  .section-title h2::before { margin-bottom: 12px; }

  /* hero: photo fills the screen behind, crew in view, both buttons above the fold */
  .hero { min-height: 0; height: calc(100svh - 70px); max-height: 640px; min-height: 480px; }
  .hero > img { object-position: 22% 50%; animation: none; }
  .hero::before { background: linear-gradient(0deg, rgba(8,17,38,.97) 0%, rgba(8,17,38,.86) 48%, rgba(8,17,38,.1) 88%); }
  .hero .wrap { padding-top: 40px; padding-bottom: 28px; }
  .hero .brandname { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(32px, 10.2vw, 42px); }
  .hero .lede { font-size: 18px; line-height: 1.45; margin: 14px 0 22px; }
  .hero .slogan { color: rgba(255,255,255,.78); }

  /* licenses: one clean list, no floating card */
  .trust { margin-top: 0; border-bottom: 1px solid var(--line); }
  .trust ul { grid-template-columns: 1fr; box-shadow: none; border: 0; border-radius: 0; }
  .trust li, .trust li:nth-child(n) { flex-direction: row; align-items: center; gap: 14px; padding: 15px 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust li:first-child { border-top: 0; }
  .trust .ic { width: 44px; height: 44px; }
  .trust .ic svg { width: 22px; height: 22px; }
  .trust b { font-size: 17px; } .trust span { font-size: 16px; }

  .service img { aspect-ratio: 16/11; }
  .service .body { padding: 20px; }
  .service h3 { font-size: 27px; }
  .service .go { width: 48px; height: 48px; }

  .statement p { font-size: 18px; }
  .statement .strong { font-size: 22px; }

  .proof { gap: 28px; }
  .proof blockquote { font-size: 20px; margin-bottom: 18px; }
  .stories { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .story, .story.text { padding: 18px; gap: 18px; }
  .story blockquote { font-size: 18px; margin-bottom: 12px; }
  .video.tall { max-width: none; aspect-ratio: 4/5; }
  .video.tall.r34 { aspect-ratio: 3/4; }
  .video.tall:not(.r34):has(video) { aspect-ratio: 9/16; }

  /* team: photo beside name, no leftover gap */
  .team { grid-template-columns: 1fr; gap: 0; }
  .member { display: grid; grid-template-columns: 108px 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
  .member:first-child { border-top: 0; }
  .member img { grid-row: 1 / -1; width: 108px; height: 124px; aspect-ratio: auto; }
  .member h3 { grid-column: 2; grid-row: 2; margin: 0; font-size: 20px; }
  .member p { grid-column: 2; grid-row: 3; font-size: 16px; line-height: 1.4; }

  .faq summary { font-size: 18px; padding: 20px 44px 20px 0; line-height: 1.35; }
  .faq details p { padding: 0 0 22px; }

  .page-head .wrap { padding-top: 44px; padding-bottom: 36px; }
  .page-head::before { background: linear-gradient(0deg, rgba(8,17,38,.94), rgba(8,17,38,.62)); }
  .page-head h1 { font-size: 38px; }
  .page-head p { font-size: 18px; margin-top: 10px; }
  .page-head > img { animation: none; }
  .crumbs { margin-bottom: 4px; font-size: 16px; }
  .split { gap: 28px; }
  .split > img { aspect-ratio: 3/2; }
  .job { gap: 20px; margin-bottom: 20px; }
  .job .lede { font-size: 18px; }
  .gallery, .job.finished .gallery { gap: 8px; }
  .lightbox { padding: 12px; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 24px; transform: none; width: 56px; height: 56px; }
  .lightbox .x { width: 56px; height: 56px; }

  /* form: a detail line shows once its box is picked, so the list stays short */
  .form { border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .field label, .checks-field legend { font-size: 17px; }
  .field input, .field select, .field textarea { font-size: 17px; min-height: 54px; }
  .checks-grid { grid-template-columns: 1fr; gap: 8px; }
  .check { padding: 14px; min-height: 56px; align-items: center; }
  .check input { margin: 0; }
  .check b { font-size: 17px; }
  .check small { display: none; }
  .check:has(input:checked) small { display: block; }
  .hint-inline { display: block; margin: 2px 0 0; font-size: 16px; }
  .contact-layout { gap: 40px; }
  .info { padding: 24px; }

  .contact-band::before { background: rgba(11,23,48,.7); }
  .contact-band .wrap { gap: 22px; padding-top: 48px; padding-bottom: 48px; }
  .site-footer .wrap { padding-top: 40px; padding-bottom: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot-grid > div:first-child, .foot-grid > div:nth-child(2) { grid-column: 1 / -1; }
  .foot-brand { display: flex; align-items: center; gap: 16px; }
  .foot-brand .foot-name { margin: 0; }
  .foot-logo { flex: none; }
  .site-footer, .site-footer h4, .foot-name { font-size: 16px; }
  .site-footer h4 { margin-bottom: 4px; }
  .site-footer li a { min-height: 44px; }
  .foot-bottom { margin-top: 24px; flex-direction: column; gap: 4px; }
  .call-bar .btn { min-height: 52px; font-size: 17px; padding: 10px; }
}
@media (max-width: 350px) { .brand .wordmark { display: none; } }
@media (max-width: 1000px) {
  .crumbs a, .site-footer li a, .info dd a, .info dd.email a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .info dd.email a { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  /* phones: content is there the moment you scroll to it, no fade-ins */
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .in-1, .hero .in-2, .hero .in-3, .hero .in-4, .page-head h1, .page-head p, .crumbs { animation: none; }
  .member picture { grid-row: 1 / -1; grid-column: 1; }
  .member img { object-position: center !important; filter: none; }
  .member h3 { align-self: end; }
}
