/* Leach Construction Co. shared styles */
/* Self-hosted fonts (latin, trimmed to the weights and widths used here) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 600 800; font-stretch: 90% 100%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --ink: #1c1d1a;
  --ink-2: #262723;
  --ink-3: #31322d;
  --cream: #efede8;
  --paper: #fbfaf7;
  --stone: #dcd8d0;
  --muted: #6b675e;
  --blue: #2282c5;        /* Leach brand blue: accents, large text, icons */
  --blue-dark: #1a6aa3;   /* buttons and small text */
  --blue-deep: #145a8c;   /* hover */
  --blue-light: #7cc0ef;  /* on dark backgrounds */
  --sage: #5f6b55;
  --line: rgba(28,29,26,.12);
  --radius: 3px;
  --radius-sm: 2px;
  --shadow: 0 2px 0 rgba(28,29,26,.08);
  --sign: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1240px;
  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
h1,h2,h3 { font-family: var(--serif); font-stretch: 90%; font-weight: 800; line-height: 1.1; letter-spacing: -.015em; margin: 0; }
h2 em, h1 em, h3 em { font-style: normal; color: var(--blue); }
.eyebrow { font-family: var(--sans); line-height: 1.4; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
section { padding: 128px 0; position: relative; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; font-family: var(--sans); white-space: nowrap; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(20,20,18,.35); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }

/* ---------- Header ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 80; transition: transform .45s var(--ease); }
.topbar { background: rgba(20,20,18,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #d9d4c8; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.08); transition: background .4s; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a { text-decoration: none; color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-left { display: flex; gap: 26px; align-items: center; }
.topbar .tb-call { background: var(--blue-dark); padding: 5px 14px; border-radius: 999px; font-size: .95rem; white-space: nowrap; transition: background .2s; }
.topbar .tb-call:hover { background: var(--blue-deep); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7bc47f; margin-right: 8px; position: relative; vertical-align: 1px; }
header.nav { position: relative; transition: background .4s, box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; transition: color .4s; }
.brand svg { width: 46px; height: 46px; flex: none; transition: transform .5s var(--ease); }

.brand-text { line-height: 1; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .03em; }
.brand-text span { display: block; font-size: .62rem; letter-spacing: .32em; font-weight: 800; opacity: .7; margin-top: 5px; }
nav.links { display: flex; align-items: center; gap: 6px; }
nav.links a { text-decoration: none; font-weight: 600; font-size: .94rem; color: #fff; padding: 9px 14px; border-radius: var(--radius-sm); transition: color .3s, background .3s; }
nav.links a:not(.btn):hover { background: rgba(255,255,255,.12); }
nav.links a.active:not(.btn), nav.links a.current { background: rgba(255,255,255,.16); }
nav.links .btn { padding: 12px 22px; font-size: .9rem; margin-left: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-right: -10px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .35s var(--ease), opacity .25s, background .4s; }
.site-head.scrolled { transform: translateY(-40px); }
.site-head.scrolled header.nav, .site-head.menu-open header.nav { background: rgba(251,250,247,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0,0,0,.3); }
.site-head.scrolled header.nav .wrap { height: 72px; }
.site-head.scrolled .brand, .site-head.menu-open .brand, .site-head.scrolled nav.links a:not(.btn) { color: var(--ink); }
.site-head.scrolled nav.links a:not(.btn):hover { background: var(--cream); }
.site-head.scrolled nav.links a.active:not(.btn), .site-head.scrolled nav.links a.current { background: var(--cream); color: var(--blue-dark); }
.site-head.scrolled .menu-btn span, .site-head.menu-open .menu-btn span { background: var(--ink); }
.site-head.menu-open .topbar { background: var(--ink); }

/* ---------- Hero ---------- */
picture { display: contents; }
.hero { position: relative; min-height: 560px; margin-top: 124px; display: flex; align-items: center; padding: 0; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,30,48,.94) 0%, rgba(12,30,48,.82) 40%, rgba(12,30,48,0) 75%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 580px; padding: 72px 0; color: #fff; }
.hero-title { font-family: var(--serif); font-stretch: 90%; font-weight: 800; letter-spacing: -.015em; font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 18ch; margin: 22px 0 26px; line-height: 1.04; }
.hero-title em { font-style: normal; color: var(--blue-light); position: relative; white-space: nowrap; }
.hero .hero-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 0 0 20px; }
.hero .hero-title span { display: block; }
.hero .lead { color: #dfe7ee; font-size: 1.1rem; margin: 0 0 24px; max-width: 50ch; }
.hero-rule { display: block; width: 56px; height: 3px; background: var(--blue); margin-bottom: 18px; }
.hero-tag { font-weight: 600; margin: 0 0 30px; max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }


/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 60px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 15ch; margin-top: 16px; }
.section-head p { max-width: 420px; color: var(--muted); margin: 0; font-size: 1.06rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.svc { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; color: #fff; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; background: var(--ink); }
.svc.settled { transition: transform .5s var(--ease), box-shadow .5s; }
.svc:hover { box-shadow: var(--shadow); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(18,18,16,.9) 100%); transition: opacity .5s; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 45%); opacity: 0; transition: opacity .4s; }
.svc:hover::after { opacity: 1; }
.svc:hover img { transform: scale(1.03); }
.svc-body { padding: 30px; width: 100%; }
.svc-body .num { font-size: .74rem; font-weight: 800; letter-spacing: .16em; color: var(--blue-light); }
.svc h3 { font-size: 1.75rem; margin: 10px 0 8px; }
.svc p { margin: 0; color: #e2ddd1; font-size: .96rem; max-width: 46ch; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.svc .tags span { font-size: .74rem; font-weight: 700; padding: 6px 11px; border-radius: var(--radius-sm); background: rgba(20,20,18,.6); border: 1px solid rgba(255,255,255,.18); }
.svc .arrow { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(20,20,18,.6); border: 1px solid rgba(255,255,255,.25); transition: background .35s, transform .5s var(--ease); }
.svc .arrow svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.svc:hover .arrow { background: var(--blue); border-color: var(--blue-dark); }
.svc:hover .arrow svg { transform: translateX(3px); }
.svc.s-lg { grid-column: span 7; min-height: 520px; }
.svc.s-md { grid-column: span 5; min-height: 520px; }
.svc.s-sm { grid-column: span 4; }
.mini { background: var(--cream); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); transition: transform .4s var(--ease), background .4s, box-shadow .4s, border-color .4s; position: relative; overflow: hidden; }
.mini.in:hover { background: #fff; border-color: var(--ink); box-shadow: inset 0 3px 0 var(--blue); }
.mini .ic { width: 56px; height: 56px; border-radius: var(--radius); background: #fff; display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.mini:hover .ic { background: var(--blue); }
.mini svg { width: 28px; height: 28px; color: var(--blue-dark); transition: color .4s; }
.mini:hover svg { color: #fff; }
.mini h3, .mini h4 { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; margin: 18px 0 6px; letter-spacing: -.01em; }
a.mini { display: block; color: inherit; text-decoration: none; }
.mini p { margin: 0; color: var(--muted); font-size: .95rem; }



/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; padding: 6px; background: var(--paper); border-radius: var(--radius-sm); width: fit-content; border: 1px solid var(--line); position: relative; }
.filters .pill { position: absolute; top: 0; left: 0; background: var(--ink); border-radius: var(--radius-sm); transition: transform .5s var(--ease), width .5s var(--ease); z-index: 0; }
.filters button { font-family: var(--sans); font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: var(--radius-sm); border: 0; background: none; cursor: pointer; transition: color .35s; color: var(--ink); position: relative; z-index: 1; }
.filters button.active { color: #fff; }
.filters button .c { display: inline-block; min-width: 22px; margin-left: 6px; padding: 1px 6px; border-radius: var(--radius-sm); font-size: .74rem; background: rgba(28,29,26,.08); transition: background .35s; }
.filters button.active .c { background: rgba(255,255,255,.18); }
.grid { columns: 3 300px; column-gap: 18px; }
.grid figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--stone); }
.grid figure img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.grid figure:hover img { transform: scale(1.03); }
.grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; font-size: .86rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(10px); transition: .45s var(--ease); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.grid figcaption::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm); background: rgba(255,255,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/16px no-repeat; }
.grid figure:hover figcaption, .grid figure:focus-visible figcaption { opacity: 1; transform: none; }
.grid figure:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.grid figure.hide { display: none; }
.more-wrap { text-align: center; margin-top: 18px; }
.more-wrap[hidden] { display: none; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: none; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.grid figure.pop { animation: pop .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(14,14,12,.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 60px 90px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }  /* visible at once so focus can move in */
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px rgba(0,0,0,.5); transition: opacity .35s, transform .5s var(--ease); }
.lightbox img.swap { opacity: 0; transform: scale(.97); }
.lightbox .lb-meta { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; font-weight: 600; font-size: .95rem; }
.lightbox .lb-meta span { color: #8a857a; margin-left: 10px; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 54px; height: 54px; border-radius: var(--radius-sm); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .3s var(--ease); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: var(--blue); }
.lb-close { top: 22px; right: 22px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev { left: 22px; top: 50%; margin-top: -27px; }
.lb-next { right: 22px; top: 50%; margin-top: -27px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps-line { position: absolute; top: 38px; left: 38px; right: 38px; height: 2px; background: var(--stone); z-index: 0; }
.steps-line i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
.steps.in .steps-line i { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step .dot { width: 76px; height: 76px; border-radius: var(--radius-sm); background: var(--paper); border: 2px solid var(--stone); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--muted); transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease); transition-delay: var(--sd, 0s); }
.steps.in .step .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.step:hover .dot { background: var(--blue) !important; border-color: var(--blue) !important; transition-delay: 0s; }
.step h3 { font-size: 1.35rem; margin: 26px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; max-width: 30ch; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); overflow: hidden; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--paper); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.review.in:hover { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--blue); }
.review:nth-child(2) { margin-top: 40px; }
.review p { font-size: 1.04rem; margin: 18px 0 26px; flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; padding-top: 20px; border-top: 1px solid var(--line); }
.review .avatar { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--stone); display: grid; place-items: center; font-family: var(--serif); color: var(--blue-dark); font-weight: 600; }
.review .who small { display: block; color: var(--muted); font-weight: 500; }

/* ---------- Area + FAQ ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; }
.split h2 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); margin: 16px 0 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; transition: color .3s; }
summary:hover { color: var(--blue-dark); }
summary::-webkit-details-marker { display: none; }
summary .pm { flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease); }
summary .pm::before, summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary .pm { background: var(--blue); border-color: var(--blue-dark); transform: rotate(180deg); }
details[open] summary .pm::before, details[open] summary .pm::after { background: #fff; }
details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 50px 24px 0; }
details.opened .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; overflow: hidden; }
.contact-bg { position: absolute; inset: -15% 0; background: url("../images/slide-pool.jpg") center/cover; background-image: image-set(url("../images/slide-pool-800.webp") type("image/webp"), url("../images/slide-pool.jpg") type("image/jpeg")); opacity: .13; will-change: transform; }
.contact .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); margin: 16px 0 20px; }
.contact h2 em { color: var(--blue-light); }
.contact p { color: #c9c4b8; font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); transition: background .3s; }
.contact-list li:hover { background: rgba(255,255,255,.05); }
.contact-list .ic { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; transition: background .3s, transform .4s var(--ease); }
.contact-list li:hover .ic { background: var(--blue); }
.contact-list .ic svg { width: 22px; height: 22px; color: var(--blue-light); transition: color .3s; }
.contact-list li:hover .ic svg { color: #fff; }
.contact-list small { display: block; color: #a29d91; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a, .contact-list strong { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; word-break: break-word; }
form.quote { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 42px; border-top: 5px solid var(--blue); position: relative; }
form.quote h3 { font-size: 1.7rem; margin-bottom: 6px; }
form.quote .sub { color: var(--muted); font-size: .95rem; margin: 0 0 26px; display: flex; align-items: center; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; position: relative; }
.field > label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .96rem; padding: 14px 15px; border-radius: var(--radius); border: 1.5px solid var(--stone); background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-dark); box-shadow: 0 0 0 4px rgba(34,130,197,.14); }
.field.err input { border-color: #c0392b; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.field textarea { min-height: 110px; resize: vertical; }
.err-msg { display: block; margin-top: 6px; color: #b03a2e; font-size: .8rem; font-weight: 600; }
.err-msg:empty { display: none; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field > legend { display: block; padding: 0; font-size: .8rem; font-weight: 700; margin-bottom: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--stone); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); user-select: none; }
.chips span:hover { border-color: var(--ink); }
.chips span::before { content: ""; width: 0; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin: -3px 0 0; transition: transform .3s var(--ease), width .3s var(--ease), margin .3s; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:checked + span::before { width: 5px; transform: rotate(45deg) scale(1); margin: -3px 3px 0 1px; }
.chips input:active + span { transform: scale(.95); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
form.quote .btn { width: 100%; justify-content: center; margin-top: 10px; padding: 18px; }
form.quote .btn.loading { pointer-events: none; }
form.quote .btn .spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
form.quote .btn.loading .spin { display: block; }
form.quote .btn.loading .lbl, form.quote .btn.loading svg { display: none; }
.form-success { display: none; text-align: center; padding: 50px 10px; }
.form-success svg { width: 84px; height: 84px; margin: 0 auto 20px; }
.form-success circle { stroke: var(--sage); stroke-dasharray: 64; stroke-dashoffset: 64; animation: draw .7s var(--ease) forwards; }
.form-success path { stroke: var(--sage); stroke-dasharray: 16; stroke-dashoffset: 16; animation: draw .4s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { animation: pop .6s var(--ease) .4s both; }
.form-success p { animation: pop .6s var(--ease) .55s both; }
form.quote .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.quote .form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; background: #fdecea; color: #8a1c13; font-size: .95rem; }
form.quote .form-error a { color: inherit; font-weight: 700; }
form.quote.sent .form-body { display: none; }
form.quote.sent .form-success { display: block; }

/* ---------- Footer ---------- */
footer { background: #141513; color: #a29d91; padding: 90px 0 30px; font-size: .92rem; overflow: hidden; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-cta h2, .foot-cta h3 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.foot-cta h2 em, .foot-cta h3 em { color: var(--blue-light); }
.foot-cta .phone { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 14px; transition: color .3s; }
.foot-cta .phone:hover { color: var(--blue-light); }
.foot-cta .phone span { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--blue); display: grid; place-items: center; transition: transform .4s var(--ease); }
.foot-cta .phone:hover span { background: var(--blue-dark); }
.foot-cta .phone svg { width: 24px; height: 24px; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
footer .foot-h { color: #fff; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
footer a { text-decoration: none; color: #a29d91; transition: color .25s, padding .25s; }
footer ul a:hover { color: #fff; padding-left: 4px; }
footer .brand { color: #fff; margin-bottom: 20px; }
.foot-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

/* ---------- Floating UI ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 56px; height: 56px; border-radius: var(--radius-sm); border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
.to-top .arr { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.to-top:hover .arr { transform: translateY(-3px); }
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: rgba(28,29,26,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -8px 24px rgba(0,0,0,.2); transform: translateY(110%); transition: transform .45s var(--ease); }
.callbar.show { transform: none; }
.callbar a { flex: 1; justify-content: center; padding: 14px; font-size: .95rem; }
.callbar .btn-primary { flex: 1.7; }

/* ---------- Reveal (only hidden when JS is running; see the inline script in <head>) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.from-left { transform: translateX(-50px); }
.js .reveal.from-right { transform: translateX(50px); }
.js .reveal.in { opacity: 1; transform: none; }
/* once revealed, hand transitions back to each component so hovers stay snappy */
.btn.settled { transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; }
.mini.settled { transition: transform .4s var(--ease), background .4s, box-shadow .4s, border-color .4s; }
.review.settled { transition: transform .45s var(--ease), box-shadow .45s; }
.contact-list li.settled { transition: background .3s; }
.js .grid:not(.in) figure { opacity: 0; }
.js .clip { opacity: 0; transition: opacity 1s var(--ease) var(--d, 0s); }
.js .clip.in { opacity: 1; }
.js .split-h { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .split-h.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .split-h { opacity: 1 !important; transform: none !important; }
  .js .clip { opacity: 1; }
  html { scroll-behavior: auto; }
}

@media print {
  .reveal, .grid figure, .split-h { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .clip { opacity: 1; }
  .site-head, .callbar, .to-top, .lightbox { display: none !important; }
}

/* ---------- Home layout ---------- */
.site-head.solid .topbar { background: var(--ink); }
.site-head.solid header.nav { background: rgba(251,250,247,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.site-head.solid .brand, .site-head.solid nav.links a:not(.btn) { color: var(--ink); }
.site-head.solid nav.links a:not(.btn):hover { background: var(--cream); }
.site-head.solid nav.links a.active:not(.btn) { background: var(--cream); color: var(--blue-dark); }
.site-head.solid nav.links .btn:hover svg { transform: none; }
.site-head.solid .menu-btn span { background: var(--ink); }
.home main > section:not(.hero) { padding: 96px 0; }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.center-head h2 { display: inline-block; position: relative; padding: 0 84px; font-size: clamp(2rem, 3.6vw, 3rem); }
.center-head h2::before, .center-head h2::after { content: ""; position: absolute; top: 50%; width: 56px; height: 2px; background: var(--blue); }
.center-head h2::before { left: 0; } .center-head h2::after { right: 0; }
.center-head p { color: var(--muted); font-size: 1.08rem; max-width: 580px; margin: 12px auto 0; }
.center-head.long { max-width: 900px; }
.center-head.long h2 { padding: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.center-head.long h2::before, .center-head.long h2::after { display: none; }

/* our work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.work-card.settled { transition: border-color .3s, box-shadow .3s; }
.work-card:hover { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); }
.wc-img { position: relative; aspect-ratio: 16/10; background: var(--stone); overflow: hidden; }
.wc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .wc-img img { transform: scale(1.03); }
.wc-tag { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 8px; border-radius: var(--radius-sm); background: rgba(20,20,18,.72); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wc-body { padding: 18px 22px 20px; }
.wc-body h3 { font-size: 1.18rem; }
.wc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--blue-dark); font-size: .88rem; font-weight: 700; }
.wc-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.work-card:hover .wc-link svg { transform: translateX(3px); }

/* featured project */
.home .feature { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.feature-img { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 6px; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img source { display: none; }  /* <picture> is display: contents, so its <source> would take a grid cell */
.feature-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 14px 0 16px; }
.feature-copy p { color: var(--muted); font-size: 1.04rem; margin: 0 0 26px; }

/* services */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icon-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.icon-item.settled { transition: border-color .3s, box-shadow .3s; }
.icon-item:hover { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--blue); }
.icon-item svg { width: 42px; height: 42px; flex: none; color: var(--blue-dark); }
.icon-item strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; color: var(--ink); }

/* contact */
.start { background: var(--cream); }
.start-grid { display: grid; grid-template-columns: 1.75fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.start-grid form.quote { background: none; border: 0; padding: 36px 40px; }
.talk { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 40px 32px; border-left: 1px solid var(--line); text-align: center; }
.talk .ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: rgba(34,130,197,.12); color: var(--blue-dark); display: grid; place-items: center; }
.talk .ic svg { width: 26px; height: 26px; }
.talk h3 { font-size: 1.4rem; }
.talk small { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.talk .big { display: block; margin: 4px 0 6px; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 800; color: var(--blue-dark); text-decoration: none; }
.talk .big:hover { color: var(--blue-deep); }
.talk p { margin: 0; color: var(--muted); font-size: .95rem; }
.talk p a { color: var(--ink); font-weight: 600; word-break: break-word; }
.talk .area { padding-top: 28px; border-top: 1px solid var(--line); }

/* FAQ */
.home .faq-list { max-width: 900px; margin: 0 auto; }
.home .faq-list summary { font-size: 1.02rem; padding: 17px 0; }
.home .faq-list summary .pm { width: 30px; height: 30px; }

/* reviews */
.home .reviews { background: var(--cream); }
.reviews-more { text-align: center; margin-top: 44px; }
.review.empty { align-items: center; text-align: center; padding: 32px 28px; }
.review.empty:nth-child(2) { margin-top: 0; }
.review.empty .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(34,130,197,.12); color: var(--blue-dark); display: grid; place-items: center; }
.review.empty .ic svg { width: 24px; height: 24px; }
.review.empty h3 { margin: 16px 0 4px; font-family: var(--sans); font-size: 1.02rem; letter-spacing: 0; }
.review.empty p { flex: none; margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 1100px) {
  .home .review-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .contact .wrap, .split { grid-template-columns: 1fr; gap: 48px; }
  .work-grid, .icon-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .start-grid { grid-template-columns: 1fr; }
  .talk { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
  .talk .area { padding-top: 0; border-top: 0; }
}
@media (max-width: 880px) {
  .hero { min-height: 0; }
  .hero::before { background: rgba(12,30,48,.8); }
  .hero-copy { padding: 64px 0; }
}
@media (max-width: 600px) {
  .home main > section:not(.hero) { padding: 64px 0; }
  .center-head { margin-bottom: 32px; }
  .center-head h2 { padding: 0; }
  .center-head h2::before, .center-head h2::after { display: none; }
  .hero-copy { padding: 48px 0; }
  .hero .btn { width: 100%; justify-content: center; }
  .work-grid, .icon-grid, .home .review-grid { grid-template-columns: 1fr; }
  .work-grid { gap: 14px; }
  .icon-item { padding: 20px; }
  .start-grid form.quote { padding: 26px 18px; }
  .talk { flex-direction: column; padding: 32px 18px; }
}

/* ---------- Service pages ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 168px 0 100px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 20%, rgba(34,130,197,.22), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }  /* top-aligned so the photo doesn't jump when the web font loads */
.crumbs { font-size: .84rem; color: #a29d91; margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #d9d4c8; text-decoration: none; } .crumbs a:hover { color: #fff; }
.page-hero .eyebrow { color: var(--blue-light); }
.page-hero .hero-title { font-size: clamp(2.5rem, 5.2vw, 4.4rem); max-width: 15ch; margin: 18px 0 24px; }
.page-hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #d9d4c8; max-width: 540px; margin: 0 0 30px; }
.ph-points { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ph-points li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: #ece7dc; }
.ph-points svg { width: 20px; height: 20px; color: #fff; background: var(--blue); border-radius: var(--radius-sm); padding: 4px; flex: none; }
.ph-media { position: relative; padding: 0 0 40px 40px; }
.ph-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.ph-media .main img { width: 100%; height: 100%; object-fit: cover; }
.ph-media .main.wide { aspect-ratio: 4/3.4; }
.ph-media .inset { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--ink); }
.ph-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.ph-media .tag { position: absolute; right: -14px; top: 30px; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 14px 18px; box-shadow: 6px 6px 0 var(--blue); font-size: .82rem; font-weight: 700; line-height: 1.3; }
.ph-media .tag strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--blue-dark); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-grid .mini { background: var(--paper); }
.offer-grid .mini .ic { background: var(--cream); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { border-radius: var(--radius); padding: 36px 32px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier.dark { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 4px 0 var(--blue); }
.tier small { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-dark); }
.tier.dark small { color: var(--blue-light); }
.tier h3 { font-size: 1.6rem; margin: 10px 0 10px; }
.tier p { color: var(--muted); margin: 0 0 20px; }
.tier.dark p { color: #c9c4b8; }
.tier ul { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-weight: 600; font-size: .95rem; }
.tier.dark ul { border-color: rgba(255,255,255,.12); }
.tier li { display: flex; gap: 10px; align-items: flex-start; }
.tier li::before { content: ""; flex: none; width: 7px; height: 12px; margin: 4px 4px 0 2px; border: solid var(--sage); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tier.dark li::before { border-color: var(--blue-light); }
.prose-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: start; }
.prose h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 16px 0 22px; }
.prose h3 { font-size: 1.35rem; margin: 34px 0 10px; }
.prose p { color: var(--muted); font-size: 1.05rem; margin: 0 0 16px; }
.prose a { color: var(--blue-dark); font-weight: 700; }
.side-card { position: sticky; top: 110px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px; overflow: hidden; }
.side-card h3 { font-size: 1.5rem; margin: 0 0 10px; }
.side-card p { color: #c9c4b8; margin: 0 0 24px; font-size: .98rem; }
.side-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.side-card .btn-ghost { border-color: rgba(255,255,255,.3); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.related-grid .svc { min-height: 300px; }
.related-grid .svc h3 { font-size: 1.35rem; }
.mock-note { color: var(--muted); font-size: .86rem; text-align: center; margin: 26px 0 0; padding: 14px; border: 1.5px dashed var(--stone); border-radius: var(--radius); }
.bg-cream { background: var(--cream); }
.nf { min-height: 72vh; display: flex; align-items: center; }
.nf .wrap { grid-template-columns: 1fr; width: 100%; }
.nf-links { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.nf-links a { color: #d9d4c8; font-weight: 600; }
.nf-links a:hover { color: #fff; }
.grid.even { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.even figure { margin: 0; }
.grid.even figure img { aspect-ratio: var(--ar, 4/3); height: auto; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc.s-lg, .svc.s-md { grid-column: span 12; min-height: 440px; }
  .svc.s-sm { grid-column: span 6; }
  .svc.s-sm:nth-of-type(5) { grid-column: span 12; }
  .page-hero .wrap, .prose-split { grid-template-columns: 1fr; gap: 56px; }
  .side-card { position: static; }
  .offer-grid, .tiers { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .steps-line { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .review:nth-child(2) { margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  nav.links { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
  .site-head.menu-open nav.links { clip-path: inset(0 0 -40px 0); }
  nav.links a, .site-head nav.links a:not(.btn) { color: var(--ink); padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s var(--ease); }
  .site-head.menu-open nav.links a { opacity: 1; transform: none; }
  .site-head.menu-open nav.links a:nth-child(2) { transition-delay: .04s; } .site-head.menu-open nav.links a:nth-child(3) { transition-delay: .08s; } .site-head.menu-open nav.links a:nth-child(4) { transition-delay: .12s; } .site-head.menu-open nav.links a:nth-child(5) { transition-delay: .16s; } .site-head.menu-open nav.links a:nth-child(6) { transition-delay: .2s; }
  nav.links a:not(.btn):hover, nav.links a.active:not(.btn) { background: none !important; color: var(--blue) !important; }
  nav.links .btn { margin: 18px 0 0; justify-content: center; border: 0; color: #fff !important; }
  .menu-btn { display: block; }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar .tb-hide { display: none; }
  .callbar { display: flex; }
  .to-top { bottom: 90px; right: 16px; width: 50px; height: 50px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar .tb-left { font-size: .76rem; }
  section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; gap: 18px; }
  .svc.s-sm, .svc.s-sm:nth-of-type(5) { grid-column: span 12; min-height: 360px; }
  .svc.s-lg, .svc.s-md { min-height: 420px; }
  .steps, .row, .offer-grid, .tiers, .related-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 70px; }
  .grid.even { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid.even figure.odd-last { grid-column: 1 / -1; }
  .grid.even figure.odd-last img { aspect-ratio: 16/9; }
  .offer-grid { gap: 12px; }
  .offer-grid .mini { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 22px 20px; }
  .offer-grid .mini .ic { grid-row: span 2; width: 48px; height: 48px; }
  .offer-grid .mini h3 { margin: 2px 0 4px; font-size: 1.12rem; }
  .ph-media { padding: 0 0 30px 24px; }
  .ph-media .tag { right: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  form.quote { padding: 28px 20px; }
  .lightbox { padding: 70px 12px 110px; }
  .lb-prev, .lb-next { top: auto; bottom: 50px; margin: 0; }
  .lightbox .lb-meta { bottom: 14px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; padding: 15px 18px; }  /* stacked: side by side the label overflowed */
  .filters { border-radius: var(--radius); width: 100%; }
  .filters .pill { display: none; }
  .filters button.active { background: var(--ink); }
  .grid { columns: 2 150px; column-gap: 10px; } .grid figure { margin-bottom: 10px; border-radius: var(--radius); }
  .grid figcaption { display: none; }
}
@media (max-width: 400px) {
  .topbar .tb-word { display: none; }
  .topbar .tb-left span { white-space: nowrap; }
  .topbar .tb-call { font-size: .85rem; padding: 4px 11px; }
  .callbar a { padding: 14px 8px; font-size: .85rem; }
}
@media (max-width: 360px) {
  .topbar .wrap { gap: 8px; }
  .topbar .tb-left { font-size: .7rem; }
  .topbar .tb-call { font-size: .8rem; padding: 4px 9px; }
  .topbar .tb-call svg { display: none; }
}
