/* A&M v2 — premium design layer (loaded after style.css) */
:root {
  --text-hero: clamp(3.1rem, 1.2rem + 7.4vw, 7.6rem);
  --text-display: clamp(2.3rem, 1.3rem + 3.6vw, 4.6rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --navy-deep: #0a1a21;
}

/* ---------- Type ---------- */
h1, h2 { font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.02; }
h2.display { font-size: var(--text-display); line-height: 0.98; text-wrap: balance; }
.hl { color: var(--gold-text); }
.on-dark .hl, .section-navy .hl, .hero-x .hl { color: var(--gold); }
.hl-outline { color: transparent; -webkit-text-stroke: 2px var(--gold); }
@supports not (-webkit-text-stroke: 1px black) { .hl-outline { color: var(--gold); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn { min-height: 54px; padding: 0 var(--space-8); border-radius: 2px; letter-spacing: 0.01em; position: relative; overflow: hidden; transition: background var(--transition-interactive), color var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.btn svg { transition: transform 300ms var(--ease-out); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn-gold { box-shadow: 0 10px 30px -10px rgba(215, 154, 74, 0.65); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(215, 154, 74, 0.8); }
.btn-navy:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { transition: box-shadow 300ms var(--ease-out), background 300ms; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 26, 33, 0.45); }
.main-nav a { position: relative; }

/* ---------- Home hero ---------- */
.hero-x {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 900px);
  display: flex; align-items: center;
  background: var(--navy-deep);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides .slide { position: absolute; inset: 0; opacity: 0; animation: heroFade 21s infinite; }
.hero-slides .slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.hero-slides .slide:nth-child(2) { animation-delay: 7s; }
.hero-slides .slide:nth-child(3) { animation-delay: 14s; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 21s linear infinite; transform-origin: 60% 50%; }
.hero-slides .slide:nth-child(2) img { animation-delay: 7s; }
.hero-slides .slide:nth-child(3) img { animation-delay: 14s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes heroZoom { 0% { transform: scale(1.02); } 40% { transform: scale(1.12); } 100% { transform: scale(1.12); } }
.hero-x::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 33, 0.94) 0%, rgba(10, 26, 33, 0.82) 38%, rgba(10, 26, 33, 0.35) 75%, rgba(10, 26, 33, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 26, 33, 0.85) 0%, transparent 35%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero-x-inner { padding-block: clamp(3.5rem, 9vh, 7rem); }
.hero-x .tagline { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: var(--text-lg); margin-bottom: var(--space-5); }
.hero-x h1 { font-size: var(--text-hero); line-height: 0.9; letter-spacing: -0.045em; color: #fff; margin-bottom: var(--space-8); }
.hero-x .lede { color: #d3dde1; font-size: var(--text-lg); max-width: 46ch; margin-bottom: var(--space-10); line-height: 1.5; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-10); font-size: var(--text-sm); color: #b9c7cc; }
.hero-proof li { display: inline-flex; align-items: center; gap: 10px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.hero-proof a { color: #fff; text-underline-offset: 4px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: var(--space-8); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: #9fb0b7; display: none; align-items: center; gap: 12px; writing-mode: vertical-rl; }
.hero-scroll span { width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s var(--ease-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 960px) { .hero-scroll { display: inline-flex; } }
@media (max-width: 640px) {
  .hero-x { min-height: 0; }
  .hero-x::before { background: linear-gradient(0deg, rgba(10,26,33,0.96) 10%, rgba(10,26,33,0.75) 60%, rgba(10,26,33,0.55) 100%); }
  .hero-x .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--navy-deep); overflow: hidden; border-block: 1px solid rgba(10,26,33,0.15); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; flex: none; }
.marquee li { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); letter-spacing: -0.02em; padding: 0.55em 0; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee li::after { content: ""; width: 0.38em; height: 0.38em; background: var(--navy-deep); transform: rotate(45deg); margin-inline: 0.9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy-deep); padding-block: clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.stats ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); }
.stats li { border-left: 1px solid var(--navy-line); padding-left: var(--space-5); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.2rem, 2rem + 4vw, 5.6rem); line-height: 0.9; color: var(--gold); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats li > span { display: block; margin-top: var(--space-3); color: #c3cfd4; font-size: var(--text-sm); max-width: 22ch; }
@media (min-width: 900px) { .stats ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Offer band ---------- */
.offer { position: relative; }
.offer h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); }

/* ---------- Service cards ---------- */
.svc-grid { list-style: none; display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(340px, 42vw, 460px); padding: var(--space-6); overflow: hidden; isolation: isolate;
  border-radius: 4px; text-decoration: none; color: #fff; background: var(--navy);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,26,33,0.15) 0%, rgba(10,26,33,0.55) 45%, rgba(10,26,33,0.95) 100%); transition: background 500ms var(--ease-out); }
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover::before { background: linear-gradient(180deg, rgba(10,26,33,0.3) 0%, rgba(10,26,33,0.75) 40%, rgba(10,26,33,0.97) 100%); }
.svc-num { position: absolute; top: var(--space-5); left: var(--space-6); font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.75); letter-spacing: -0.04em; }
.svc-card h3 { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: var(--space-3); }
.svc-card p { color: #d3dde1; font-size: var(--text-sm); line-height: 1.55; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-5); font-weight: 700; font-size: var(--text-sm); color: var(--gold); }
.svc-more svg { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
.svc-card:hover .svc-more svg { transform: translateX(5px); }
.svc-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
.svc-card:hover::after, .svc-card:focus-visible::after { transform: scaleX(1); }

/* ---------- Before/after slider ---------- */
.bas { position: relative; width: 100%; overflow: hidden; border-radius: 4px; background: var(--navy); user-select: none; touch-action: pan-y; }
.bas-layer { position: absolute; inset: 0; }
.bas-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bas-after { clip-path: inset(0 0 0 var(--pos)); }
.bas .tag { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2; }
.bas .tag.after { left: auto; right: var(--space-4); }
.bas-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--gold); transform: translateX(-50%); z-index: 2; pointer-events: none; }
.bas-handle > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.bas-handle svg { width: 18px; height: 18px; }
.bas-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.bas-range:focus-visible ~ .bas-handle > span, .bas:has(.bas-range:focus-visible) .bas-handle > span { outline: 3px solid #fff; outline-offset: 3px; }
.bas.wide { aspect-ratio: 1.95; }
.compare-grid { display: grid; gap: var(--space-10); align-items: center; }
.compare-media { max-width: 440px; width: 100%; justify-self: center; }
@media (min-width: 960px) { .compare-grid { grid-template-columns: 1fr 1fr; gap: var(--space-16); } .compare-media { justify-self: end; } }

/* ---------- Navy sections: blueprint texture ---------- */
.section-navy { position: relative; isolation: isolate; overflow: hidden; }
.section-navy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
}

/* ---------- Work grid polish ---------- */
.work-card { border-radius: 4px; }
.work-card img { transition: transform 900ms var(--ease-out); }
.work-card:hover img { transform: scale(1.05); }
.work-card .cap strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.02em; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.page-hero::before {
  content: attr(data-word); position: absolute; z-index: -1; pointer-events: none;
  left: -0.04em; bottom: -0.2em; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(6rem, 3rem + 14vw, 17rem); line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(215, 154, 74, 0.22); white-space: nowrap;
}
.page-hero-copy h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5rem); line-height: 0.95; letter-spacing: -0.04em; max-width: 14ch; }
@media (min-width: 960px) {
  .page-hero-grid { min-height: 560px; }
  .page-hero-media { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
}

/* ---------- CTA band ---------- */
.cta-band h2 { font-size: var(--text-display); line-height: 0.98; }
.footer-cta { display: grid; gap: var(--space-8); padding-bottom: var(--space-12); margin-bottom: var(--space-12); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-big { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 1.5rem + 6.5vw, 7.5rem); line-height: 0.9; letter-spacing: -0.045em; color: #fff; font-size-adjust: none; }
.site-footer p.footer-big { font-size: clamp(3rem, 1.5rem + 6.5vw, 7.5rem); }
.footer-big .hl { color: var(--gold); }
.footer-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); }
.site-footer .footer-cta-actions .btn { color: var(--navy-deep); min-height: 54px; }
.site-footer .footer-cta-actions .btn:hover { color: var(--navy-deep); }
.site-footer a.footer-phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.02em; color: #fff; border-bottom: 2px solid var(--gold); min-height: 0; line-height: 1.15; }
.site-footer a.footer-phone:hover { color: var(--gold); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.svc-grid li:nth-child(3n+2) .reveal { transition-delay: 90ms; }
.svc-grid li:nth-child(3n) .reveal { transition-delay: 180ms; }
.stats li:nth-child(2) { transition-delay: 80ms; }
.stats li:nth-child(3) { transition-delay: 160ms; }
.stats li:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-slides .slide, .hero-slides img, .marquee-track, .hero-scroll span { animation: none !important; }
  .hero-slides .slide:not(:first-child) { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- v2 refinements ---------- */
.bas:not(.wide) { max-width: 440px; margin-inline: auto; }
.project .bas:not(.wide) { max-width: 400px; }
.page-hero-copy h1 { max-width: 16ch; font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.4rem); }
@media (max-width: 640px) {
  .hero-x::before { background: linear-gradient(0deg, rgba(10,26,33,0.95) 0%, rgba(10,26,33,0.7) 55%, rgba(10,26,33,0.35) 100%); }
  .hero-slides img { object-position: 70% 50%; }
}

/* ---------- Roof warranty ---------- */
.stats strong small { font-size: 0.38em; letter-spacing: 0; margin-left: 0.08em; vertical-align: 0.15em; }
.warranty { padding-block: clamp(3.5rem, 8vw, 6rem); }
.warranty .section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.warranty .section-head .lede { color: #c3cfd4; }
@media (min-width: 900px) { .warranty ul { grid-template-columns: repeat(3, 1fr); } }
.warranty-note { margin-top: var(--space-8); font-size: var(--text-xs); color: #8fa1a8; }

/* ---------- Share tab + panel ---------- */
.share-tab {
  position: fixed; right: 0; top: 50%; z-index: 55; display: none; align-items: center; gap: 8px;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  padding: 18px 11px; background: var(--gold); color: var(--navy-deep); border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 0 6px 6px 0; box-shadow: 0 10px 30px -10px rgba(10,26,33,0.5);
  transition: padding 250ms var(--ease-out), background 200ms;
}
.share-tab svg { width: 18px; height: 18px; transform: rotate(90deg); }
.share-tab:hover { padding-left: 16px; background: #e4a95b; }
.share-tab:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (min-width: 1160px) { .share-tab { display: inline-flex; } }

.action-bar { grid-template-columns: 1fr 1fr 50px; }
.ab-share { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.4); border-radius: 2px; background: transparent; color: #fff; cursor: pointer; }
.ab-share svg { width: 20px; height: 20px; }

.share-panel { margin: auto; overflow-y: auto; inset: 0; position: fixed; border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 6px; background: var(--cream, #f6f2ea); color: var(--navy); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); }
.share-panel::backdrop { background: rgba(10, 26, 33, 0.7); backdrop-filter: blur(3px); }
.share-inner { padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: var(--space-3); }
.share-top { display: flex; justify-content: space-between; align-items: start; gap: var(--space-4); margin-bottom: var(--space-2); }
.share-top h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); line-height: 1.05; margin-top: var(--space-2); }
.share-close { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(16,38,48,0.2); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; }
.share-close svg { width: 18px; height: 18px; }
.share-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6b72; margin-top: var(--space-2); }
.share-pick, .share-text { width: 100%; font: inherit; font-size: var(--text-sm); color: var(--navy); background: #fff; border: 1px solid rgba(16,38,48,0.2); border-radius: 4px; padding: 12px 14px; }
.share-pick { min-height: 48px; }
.share-text { line-height: 1.5; resize: vertical; }
.share-pick:focus-visible, .share-text:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; }
.share-main { display: grid; gap: var(--space-2); margin-top: var(--space-2); }
@media (min-width: 520px) { .share-main { grid-template-columns: 1.3fr 1fr; } }
.share-main .btn { width: 100%; justify-content: center; }
.share-main .btn-ghost { color: var(--navy); border-color: rgba(16,38,48,0.35); }
.share-apps { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.share-apps a, .share-apps button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(16,38,48,0.2); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: var(--text-sm); font-weight: 600; text-decoration: none; cursor: pointer; }
.share-apps a:hover, .share-apps button:hover { border-color: var(--gold-text); color: var(--gold-text); }
.share-hint { font-size: var(--text-xs); color: #5b6b72; line-height: 1.5; margin-top: var(--space-2); }
.share-status { min-height: 1.4em; font-size: var(--text-sm); font-weight: 700; color: #2f6b3a; opacity: 0; transition: opacity 200ms; }
.share-status.show { opacity: 1; }

/* ---------- Copy-post buttons ---------- */
.svc-li { position: relative; }
.svc-copy {
  position: absolute; top: var(--space-4); right: var(--space-4); z-index: 3;
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; background: rgba(10,26,33,0.55); backdrop-filter: blur(6px);
  color: #fff; font: inherit; font-size: var(--text-xs); font-weight: 700; cursor: pointer; transition: background 200ms, color 200ms, border-color 200ms;
}
.svc-copy svg { width: 15px; height: 15px; }
.svc-copy:hover, .svc-copy:focus-visible { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.svc-copy.is-copied, .copy-post.is-copied { background: #2f6b3a; border-color: #2f6b3a; color: #fff; }
.svc-copy span { max-width: 22ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-5); }
.copy-post {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px dashed rgba(215,154,74,0.7); border-radius: 999px; background: transparent; color: var(--gold);
  font: inherit; font-size: var(--text-sm); font-weight: 700; cursor: pointer; transition: background 200ms, color 200ms;
}
.copy-post svg { width: 16px; height: 16px; }
.copy-post:hover, .copy-post:focus-visible { background: var(--gold); color: var(--navy-deep); border-style: solid; }
.hero-share-edit { background: none; border: 0; color: #c3cfd4; font: inherit; font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.hero-share-edit:hover { color: #fff; }
.related .svc-card { min-height: clamp(300px, 34vw, 380px); }
.svc-copy.is-copied:hover, .copy-post.is-copied:hover { background: #2f6b3a; border-color: #2f6b3a; color: #fff; }

/* ---------- Photo pair (projects) ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-3); }
.pair figure { margin: 0; border-radius: 4px; overflow: hidden; background: var(--navy); position: relative; }
.pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.pair figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: var(--text-xs); font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(10,26,33,0.85)); }
.project .bas:not(.wide) + .pair { max-width: 400px; margin-inline: auto; }
.project .ba + .clip, .project .clip { margin: var(--space-3) 0 0; }
.clip video { width: 100%; height: auto; display: block; border-radius: 4px; background: var(--navy-deep); aspect-ratio: 3 / 4; }
.clip figcaption { font-size: var(--text-xs); color: var(--color-text-muted, #5b6b72); margin-top: var(--space-2); }
.project .bas:not(.wide) ~ .ba, .project .bas:not(.wide) ~ .clip { max-width: 400px; margin-inline: auto; }
.single { max-width: 400px; margin-inline: auto; border-radius: 4px; overflow: hidden; }
.single img { width: 100%; height: auto; display: block; }

/* Consulting section: dark stone texture */
.consult { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 9vw, 8rem); background: #0a1a21 url(img/consult-texture-1920.webp) center / cover no-repeat; overflow: hidden; }
.consult::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,26,33,0.92) 0%, rgba(10,26,33,0.70) 48%, rgba(10,26,33,0.40) 100%); }
@media (max-width: 760px) { .consult { background-image: url(img/consult-texture-960.webp); } .consult::before { background: rgba(10,26,33,0.78); } }
.consult-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .consult-grid { grid-template-columns: 1.05fr 1fr; } }
.consult .display { color: #fff; }
.consult .lede { color: rgba(233,238,240,0.86); margin-top: var(--space-4); max-width: 34rem; }
.consult-note { margin-top: var(--space-4); color: #f6f2ea; font-weight: 500; padding-left: 14px; border-left: 2px solid var(--gold); max-width: 32rem; }
.consult-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.consult-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.75rem; padding: 1.25rem 0; border-top: 1px solid rgba(215,154,74,0.32); }
.consult-list li:last-child { border-bottom: 1px solid rgba(215,154,74,0.32); }
.consult-list .n { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; color: var(--gold); font-size: 1rem; letter-spacing: 0.04em; padding-top: 0.2rem; }
.consult-list h3 { color: #fff; font-size: 1.2rem; line-height: 1.25; margin: 0 0 0.3rem; }
.consult-list p { color: rgba(233,238,240,0.78); margin: 0; max-width: 34rem; }

/* =====================================================================
   v4: top bar (phone + estimate on every page), Why A&M, warranty,
   reviews/booking placeholders, audience links, trade chips
   ===================================================================== */
:root { --topbar-h: 46px; }
html { scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px); }
.topbar { background: var(--navy-deep, #0a1a21); color: #e9eef0; font-size: var(--text-sm); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--topbar-h); }
.tb-lic { display: none; margin: 0; color: #c3cfd4; font-size: var(--text-xs); letter-spacing: 0.02em; white-space: nowrap; }
.tb-lic a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(215,154,74,0.6); text-underline-offset: 3px; }
.tb-lic span { margin: 0 8px; color: var(--gold); }
.tb-actions { display: flex; align-items: center; gap: var(--space-2); width: 100%; justify-content: space-between; }
.tb-phone { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; font-size: 0.95rem; }
.tb-phone svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.tb-call { display: none; }
.tb-book { display: none; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(215,154,74,0.7); text-underline-offset: 4px; white-space: nowrap; min-height: 44px; align-items: center; }
.tb-book:hover, .tb-phone:hover { color: var(--gold); }
.tb-lang { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; }
.tb-lang span { padding: 4px 7px; border: 1px solid rgba(255,255,255,0.3); color: #c3cfd4; }
.tb-lang span:first-child { border-radius: 3px 0 0 3px; border-right: 0; }
.tb-lang span:last-child { border-radius: 0 3px 3px 0; }
.tb-lang span.on { background: var(--gold); border-color: var(--gold); color: var(--navy-deep, #0a1a21); }
.tb-est.btn { min-height: 38px; padding: 0 14px; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 359px) { .tb-est.btn { padding: 0 10px; font-size: 0.8rem; } .tb-phone { font-size: 0.88rem; } }
@media (min-width: 560px) { .tb-call { display: inline; } }
@media (min-width: 760px) {
  .tb-actions { width: auto; justify-content: flex-end; gap: var(--space-4); }
  .tb-book { display: inline-flex; }
}
@media (min-width: 1000px) { .tb-lic { display: block; } }
/* header CTA no longer needs to fight for space with a phone number */
@media (min-width: 1160px) and (max-width: 1360px) {
  .main-nav ul { gap: 0.95rem; }
  .header-inner { gap: var(--space-4); }
}

/* hero "book a walkthrough" line */
.book-line { margin-top: var(--space-3); font-size: var(--text-sm); }
.book-line a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.book-line a svg { width: 15px; height: 15px; }
.on-dark .book-line a, .hero-x .book-line a, .page-hero.has-media .book-line a { color: #fff; }
.book-line a:hover { color: var(--gold-text); }
.on-dark .book-line a:hover { color: var(--gold); }

/* audience links on home */
.audience { margin-top: clamp(2.5rem, 5vw, 4rem); }
.audience ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .audience ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1160px) { .audience ul { grid-template-columns: repeat(4, 1fr); } }
.audience a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; height: 100%; padding: var(--space-5); background: #fff; border: 1px solid var(--color-line); border-left: 3px solid var(--gold); border-radius: 4px; text-decoration: none; color: var(--color-text); transition: border-color 200ms, transform 200ms; }
.audience a:hover { border-color: var(--gold); transform: translateY(-2px); }
.audience strong { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; font-size: 1.12rem; line-height: 1.2; color: var(--navy); grid-column: 1; }
.audience span { grid-column: 1; font-size: var(--text-sm); color: var(--color-text-muted, #5b6b72); }
.audience svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--gold-text); }

/* Why A&M */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(5, 1fr); } .pm-grid { grid-template-columns: repeat(5, 1fr); } }
.why-grid li { padding: var(--space-6) var(--space-5); background: #fff; border: 1px solid var(--color-line); border-top: 3px solid var(--gold); border-radius: 4px; }
.section-paper .why-grid li { background: var(--cream, #f6f2ea); }
.why-n { display: block; font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; color: var(--gold-text); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: var(--space-3); }
.why-grid h3 { font-size: 1.15rem; line-height: 1.25; margin: 0 0 var(--space-2); color: var(--navy); }
.why-grid p { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted, #5b6b72); }
.why-grid a { color: var(--gold-text); font-weight: 700; }

/* Warranty band */
.warranty-band { background: var(--navy); color: #e9eef0; }
.wb-inner { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: center; }
.wb-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep, #0a1a21); }
.wb-icon svg { width: 28px; height: 28px; }
.warranty-band h2 { color: #fff; margin: 4px 0 6px; }
.warranty-band p { margin: 0; color: rgba(233,238,240,0.86); max-width: 46rem; }
.warranty-band .eyebrow { color: var(--gold); }
@media (max-width: 520px) { .wb-inner { grid-template-columns: 1fr; } }

/* Reviews placeholder */
.review-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.review-ph { padding: var(--space-5); border: 2px dashed rgba(138,87,22,0.45); border-radius: 4px; color: var(--color-text-muted, #5b6b72); font-size: var(--text-sm); text-align: center; background: rgba(255,255,255,0.5); }
.review-list .review { padding: var(--space-5); background: #fff; border: 1px solid var(--color-line); border-radius: 4px; }
.review-list .review span { display: block; margin-top: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--navy); }

/* Booking placeholder */
.booking-ph { padding: var(--space-6); border: 2px dashed rgba(138,87,22,0.5); border-radius: 4px; background: #fff; }
.ph-tag { display: inline-block; margin: 0 0 var(--space-3); padding: 4px 10px; border-radius: 999px; background: rgba(215,154,74,0.18); color: var(--gold-text); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.booking-ph p { margin: 0; }

/* Trade chips + footer */
.trade-chips { margin-top: var(--space-5); }
.footer-name { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; color: #fff; font-size: 1.1rem; margin: var(--space-3) 0 var(--space-2); }
.f-label { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.back-home { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: var(--text-sm); text-decoration: none; }
.back-home:hover { color: var(--gold); text-decoration: underline; }
/* phones: top bar = phone + estimate only; EN/ES moves next to the menu button */
.hdr-lang { color: var(--navy); }
.hdr-lang span { border-color: rgba(16,38,48,0.35); color: var(--navy); }
.hdr-lang span.on { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 759px) {
  .topbar .tb-lang { display: none; }
  .tb-actions { gap: 6px; }
  .tb-est.btn { box-shadow: none; }
}
@media (min-width: 760px) { .hdr-lang { display: none; } }
@media (max-width: 379px) { .tb-est.btn { padding: 0 9px; font-size: 0.78rem; } .tb-phone { font-size: 0.86rem; gap: 4px; } .tb-phone svg { width: 14px; height: 14px; } }
@media (max-width: 400px) { .reviews .btn { white-space: normal; text-align: center; } .reviews > div { min-width: 0; } }
