/* =========================================================
   Arturo's Home Improvements LLC
   ========================================================= */

:root {
  --navy: #161d2b;
  --navy-2: #1f2838;
  --navy-3: #2b3649;
  --gold: #e9b52c;
  --gold-2: #f5cd62;
  --gold-deep: #b8860b;
  --cream: #faf7f1;
  --sand: #f1ebdf;
  --white: #ffffff;
  --text: #1c2230;
  --muted: #626a78;
  --line: rgba(28, 34, 48, .1);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 26px 60px -28px rgba(22, 29, 43, .55);
  --max: 1220px;
  --display: "DM Serif Display", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.white { background: var(--white); }
.section.sand { background: var(--sand); }
.section.dark { background: var(--navy); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 0; }
.dark .section-head p { color: rgba(255, 255, 255, .7); }
.gold { color: var(--gold-deep); font-style: italic; }
.dark .gold, .hero .gold, .page-hero .gold, .cta-band .gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(233, 181, 44, .8); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar-group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 58px; height: 58px; flex: none; object-fit: contain; margin: -6px -2px -6px -4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--body); font-weight: 800; font-size: 1.85rem; letter-spacing: -.02em; color: #344a63; }
.brand-text span { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #4a6180; padding: .22rem .5rem; border-radius: 3px; margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: .5rem .95rem; border-radius: 8px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--sand); }
.nav-links a[aria-current="page"] { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-links .btn { margin-left: 12px; padding: .7rem 1.15rem; }
.nav-links .btn:hover { background: var(--gold-2); }

.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; color: var(--navy); cursor: pointer; border-radius: 10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2.5px; background: currentColor; margin: auto; position: relative; border-radius: 2px; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle { color: #fff; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/hero-house.jpg") center / cover no-repeat;
  transform: scale(1.06);
  animation: slowzoom 18s ease-out forwards;
}
@keyframes slowzoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 29, 43, .95) 0%, rgba(22, 29, 43, .8) 45%, rgba(22, 29, 43, .35) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: clamp(72px, 10vw, 130px) 0; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); }
.hero .tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--gold); margin: 1rem 0 0; }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 560px; margin: 1.1rem 0 2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hero-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .88); }
.hero-card li svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.hero-card .btn { width: 100%; }
.hero-card small { display: block; text-align: center; margin-top: 10px; color: rgba(255, 255, 255, .6); }

/* ---------- Stats ---------- */
.stats-bar { background: var(--gold); color: var(--navy); }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(22, 29, 43, .18); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.stat span { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.split p { color: var(--muted); font-size: 1.08rem; }
.dark .split p { color: rgba(255, 255, 255, .75); }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.collage .a { left: 0; top: 0; width: 70%; height: 72%; }
.collage .b { right: 0; bottom: 0; width: 55%; height: 55%; border: 8px solid var(--cream); }
.white .collage .b { border-color: var(--white); }
.collage .badge {
  position: absolute;
  left: 6%;
  bottom: 6%;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.collage .badge b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.collage .badge span { font-size: .88rem; font-weight: 600; }

/* ---------- Core services ---------- */
.core { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.core-card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.core-card:hover { transform: translateY(-6px); border-color: rgba(233, 181, 44, .5); }
.core-card .num { position: absolute; right: 24px; top: 18px; font-family: var(--display); font-size: 3.6rem; color: rgba(255, 255, 255, .06); line-height: 1; }
.core-card .ic { width: 58px; height: 58px; border-radius: 14px; background: var(--gold); color: var(--navy); display: grid; place-items: center; margin-bottom: 22px; }
.core-card .ic svg { width: 28px; height: 28px; }
.core-card h3 { font-size: 1.85rem; margin-bottom: .6rem; }
.core-card p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 1rem; }

/* ---------- Specialties ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
  background: var(--navy);
}
.spec img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.spec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 29, 43, 0) 30%, rgba(22, 29, 43, .92)); }
.spec:hover img { transform: scale(1.07); }
.spec-body { padding: 22px; }
.spec-body h3 { font-size: 1.6rem; }
.spec-body p { margin: .35rem 0 0; font-size: .94rem; color: rgba(255, 255, 255, .82); }
.spec.plain { background: var(--gold); color: var(--navy); }
.spec.plain::before { display: none; }
.spec.plain p { color: rgba(22, 29, 43, .8); }
.spec.plain .big-ic { position: absolute; top: 22px; left: 22px; width: 54px; height: 54px; }
.spec.wide { grid-column: span 2; }

/* ---------- Project cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.proj {
  grid-column: span 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.proj:nth-child(4), .proj:nth-child(5) { grid-column: span 3; }
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover .proj-img img { transform: scale(1.06); }
.proj-count { position: absolute; top: 14px; right: 14px; background: rgba(22, 29, 43, .82); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.proj-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.proj-body h3 { font-size: 1.65rem; margin-bottom: .4rem; }
.proj-body p { margin: 0 0 14px; color: var(--muted); font-size: .98rem; flex: 1; }
.proj-body .more { font-weight: 700; color: var(--gold-deep); display: inline-flex; gap: 6px; align-items: center; }
.proj-body .more svg { width: 18px; height: 18px; transition: transform .2s; }
.proj:hover .more svg { transform: translateX(4px); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { border-top: 3px solid var(--gold); padding-top: 22px; }
.pillar h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("images/projects/roofing-07.jpg") center / cover no-repeat; opacity: .16; }
.cta-band .container { padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.cta-band h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 1.12rem; margin: .8rem auto 2rem; max-width: 560px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 110px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg, url("images/hero-house.jpg")) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 29, 43, .95), rgba(22, 29, 43, .6)); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 620px; margin: 1rem 0 0; }

/* ---------- About ---------- */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.svc-item .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.svc-item .ic svg { width: 24px; height: 24px; }
.svc-item h3 { font-size: 1.4rem; margin-bottom: 4px; }
.svc-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.quote-block { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; border-left: 4px solid var(--gold); padding-left: 24px; margin: 0; }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter {
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
}
.filter:hover { border-color: var(--navy); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter small { opacity: .6; font-weight: 600; margin-left: 4px; }
.filter-desc { color: var(--muted); font-size: 1.08rem; max-width: 760px; margin: 0 0 28px; min-height: 2em; }
.gallery { columns: 4 230px; column-gap: 14px; }
.gallery .tile { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--sand); position: relative; }
.gallery .tile[hidden] { display: none; }
.gallery img { width: 100%; height: auto; transition: transform .5s ease; }
.gallery .tile:hover img { transform: scale(1.04); }
.gallery .tile .cat { position: absolute; left: 10px; bottom: 10px; background: rgba(22, 29, 43, .8); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 13, 20, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 100%); border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
a.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.c-card .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--gold); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.c-card .ic svg { width: 26px; height: 26px; }
.c-card h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.c-card p { margin: 0 0 14px; color: var(--muted); font-size: .98rem; flex: 1; }
.c-card strong { font-weight: 700; word-break: break-word; }
.c-card .go { margin-top: 10px; font-weight: 700; color: var(--gold-deep); font-size: .95rem; }
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; margin-top: 24px; }
.visit-info { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.visit-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.visit-info dl { margin: 0; display: grid; gap: 16px; }
.visit-info dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.visit-info dd { margin: 2px 0 0; font-size: 1.08rem; }
.visit-info a { text-decoration: none; }
.visit-info a:hover { color: var(--gold); }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--sand); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1520; color: rgba(255, 255, 255, .7); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 14px 18px; }
.footer-logo img { width: 220px; height: auto; }
.site-footer h4 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { max-width: 36ch; margin: 16px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .9rem; }
.footer-bottom a { color: var(--gold); font-weight: 700; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; padding: 8px; background: rgba(22, 29, 43, .95); border-radius: 14px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.mobile-bar .btn { flex: 1; padding: .8rem .5rem; font-size: .95rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj, .proj:nth-child(4), .proj:nth-child(5) { grid-column: auto; }
  .proj:nth-child(5) { grid-column: span 2; }
  .topbar .hide-md { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-toggle { display: grid; place-items: center; position: relative; z-index: 2; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-links a { color: #fff; font-family: var(--display); font-weight: 400; font-size: 2.3rem; }
  .nav-links a:hover { background: none; color: var(--gold); }
  .nav-links a[aria-current="page"] { color: var(--gold); box-shadow: none; }
  .nav-links .btn { font-family: var(--body); font-size: 1.1rem; font-weight: 700; margin: 18px 0 0; color: var(--navy); }
  .nav-open .brand { position: relative; z-index: 2; color: #fff; }
  .nav-open .brand-text strong { color: #fff; }
  .nav-open .mobile-bar { display: none !important; }

  .hero-grid, .split, .visit { grid-template-columns: 1fr; }
  .core, .pillars { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(22, 29, 43, .18); }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc-list { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar .hide-sm { display: none; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-text strong { font-size: 1.45rem; }
  .brand-text span { font-size: .52rem; letter-spacing: .1em; }
  .spec-grid, .proj-grid, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .spec.wide, .proj:nth-child(5) { grid-column: auto; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery .tile { margin-bottom: 10px; }
}

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