/* ============================================================
   New Life Conversions — site styles
   Palette: warm paper, deep ink, copper accent
   Type: Source Serif 4 (display) + Inter (body)
   ============================================================ */

:root {
  --ink: #14171b;
  --ink-soft: #1d2127;
  --ink-card: #232830;
  --paper: #faf8f4;
  --paper-warm: #f2ecdf;
  --line: #e6dfd2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #2b2e34;
  --muted: #686d76;
  --muted-dark: #a9b0ba;
  --accent: #c2622a;
  --accent-deep: #9e4d1e;
  --accent-bright: #e07b3a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -18px rgba(20, 23, 27, 0.25);
  --shadow-soft: 0 10px 30px -12px rgba(20, 23, 27, 0.18);
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Type ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.h-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h-lg { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lead { font-size: 1.16rem; color: var(--muted); max-width: 60ch; }

.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: var(--muted-dark); }

/* ---------- Layout ---------- */

.container { width: min(1180px, 92vw); margin: 0 auto; }
.container-wide { width: min(1380px, 94vw); margin: 0 auto; }

section { padding: clamp(70px, 9vw, 120px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .lead { margin-top: 16px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
}

.btn svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -10px rgba(194, 98, 42, 0.55); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-warm); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header .bar {
  width: min(1380px, 94vw);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.1;
  color: #fff;
  transition: color 0.3s ease;
}
.brand .brand-name span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent-bright);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a:hover, .main-nav a.active { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 0.95rem; color: #fff;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--accent-bright); }
.header-phone:hover { color: var(--accent-bright); }
.header-cta .btn { padding: 11px 22px; font-size: 0.9rem; white-space: nowrap; }

@media (max-width: 1180px) {
  .main-nav { gap: 22px; }
  .header-phone span { display: none; }
}

/* solid header once scrolled */
.site-header.scrolled { background: rgba(250, 248, 244, 0.92); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.scrolled .brand .brand-name { color: var(--ink); }
.site-header.scrolled .brand .brand-name span { color: var(--accent); }
.site-header.scrolled .main-nav a { color: var(--muted); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { color: var(--ink); }
.site-header.scrolled .header-phone { color: var(--ink); }
.site-header.scrolled .header-phone svg { color: var(--accent); }
.site-header.scrolled .brand img { filter: brightness(0) opacity(0.85); }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  z-index: 130;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile drawer — sits BELOW the fixed header so the brand and the
   close toggle stay visible and tappable while the menu is open */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 23, 27, 0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding-top: var(--header-h);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}

/* while the menu is open, force the header onto the dark overlay style */
body.menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
}
body.menu-open .brand .brand-name { color: #fff; }
body.menu-open .brand .brand-name span { color: var(--accent-bright); }
body.menu-open .site-header .brand img { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
body.menu-open .site-header .header-phone { color: #fff; }
body.menu-open .site-header .nav-toggle span { background: #fff; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600; color: #fff;
  padding: 10px 0; opacity: 0.92;
}
.mobile-nav a.active, .mobile-nav a:hover { color: var(--accent-bright); }
.mobile-nav .mobile-contact { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mobile-nav .mobile-contact a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted-dark); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
}
.hero .hero-bg, .page-hero .hero-bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero .hero-bg img, .page-hero .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,23,27,0.55) 0%, rgba(20,23,27,0.15) 35%, rgba(20,23,27,0.82) 100%);
}

.hero-inner { width: min(1380px, 94vw); margin: 0 auto; padding: calc(var(--header-h) + 36px) 0 90px; }
.hero-inner .eyebrow { color: var(--accent-bright); }
.hero-inner .eyebrow::before { background: var(--accent-bright); }
.hero-inner h1 { color: #fff; max-width: 13ch; text-wrap: balance; }
.hero-inner .lead { color: rgba(255, 255, 255, 0.82); margin: 24px 0 38px; max-width: 52ch; font-size: 1.2rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  gap: clamp(28px, 5vw, 70px);
  flex-wrap: wrap;
}
.hero-meta .meta-item { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.hero-meta .meta-item strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 650; margin-bottom: 2px; }

.scroll-cue {
  position: absolute; right: 48px; bottom: 90px;
  width: 1px; height: 70px; background: rgba(255,255,255,0.25);
  overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; top: -40%; left: 0;
  width: 100%; height: 40%; background: #fff;
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop { to { top: 110%; } }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 58vh;
  padding: calc(var(--header-h) + 60px) 0 64px;
  background: var(--ink);
  overflow: hidden;
}
.page-hero .hero-bg img { animation: none; opacity: 0.55; }
.page-hero::after {
  background: linear-gradient(180deg, rgba(20,23,27,0.6) 0%, rgba(20,23,27,0.3) 45%, rgba(20,23,27,0.88) 100%);
}
.page-hero .hero-inner { padding-bottom: 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,0.8); margin-top: 18px; }
.page-hero .eyebrow { color: var(--accent-bright); }
.page-hero .eyebrow::before { background: var(--accent-bright); }

/* breadcrumb-ish kicker row */
.hero-kicker { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 26px; }

/* ---------- Services marquee ---------- */

.marquee {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-track span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex: none;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Builds mosaic (homepage) ---------- */

.builds-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 235px;
  gap: 22px;
}
.builds-mosaic .build-card .thumb { aspect-ratio: auto; height: 100%; }
.builds-mosaic .mosaic-lead { grid-column: span 2; grid-row: span 2; }
.builds-mosaic .mosaic-wide { grid-column: span 2; }
.builds-mosaic .mosaic-lead h3 { font-size: 1.5rem; }

/* ---------- Video section ---------- */

.video-section.bg-dark { background: var(--ink); }
.video-section {
  position: relative;
  overflow: hidden;
}
/* drifting topo backdrop — oversized so the slow pan never shows an edge */
.video-section::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("../img/topo-texture.svg") center / cover no-repeat;
  animation: topoDrift 70s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
@keyframes topoDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2.5%, 2%, 0) scale(1.08); }
}
.video-section .container { position: relative; }
.video-section .section-head { margin-bottom: 40px; }
.video-frame {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-card);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.6);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-poster {
  display: block;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  cursor: pointer;
  background: none;
  position: relative;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), opacity 0.3s ease; opacity: 0.85; }
.video-poster:hover img { transform: scale(1.03); opacity: 1; }
.video-poster .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%;
  background: rgba(194, 98, 42, 0.95);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-poster .play-btn svg { width: 34px; height: 34px; transform: translateX(3px); }
.video-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-bright); }
.video-caption {
  text-align: center;
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--muted-dark);
}
.video-caption a { color: var(--accent-bright); font-weight: 600; }
.video-caption a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: rgba(194, 98, 42, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  font-weight: 650;
  color: var(--ink);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(194, 98, 42, 0.1);
  position: relative;
  transition: background 0.25s ease, transform 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--muted); font-size: 0.97rem; max-width: 60ch; }
.faq-item p a { color: var(--accent); font-weight: 600; }

/* ---------- Cards: what we do ---------- */

.offer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.offer-card:hover img { transform: scale(1.05); }
.offer-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(20,23,27,0) 30%, rgba(20,23,27,0.88) 100%);
}
.offer-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: 8px; }
.offer-card p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-bottom: 14px; }
.offer-card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 0.9rem; color: var(--accent-bright);
}
.offer-card .card-link svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.offer-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Feature split ---------- */

.split-media { position: relative; }
.split-media .media-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media .media-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.4; }
.split-media .media-badge {
  position: absolute; left: -22px; bottom: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  max-width: 240px;
}
.split-media .media-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-bright); }
.split-media .media-badge span { font-size: 0.82rem; color: var(--muted-dark); line-height: 1.45; }

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .check {
  flex: none;
  width: 26px; height: 26px; margin-top: 2px;
  border-radius: 50%;
  background: rgba(194, 98, 42, 0.12);
  color: var(--accent);
  display: grid; place-items: center;
}
.check-list .check svg { width: 13px; height: 13px; }
.check-list strong { color: var(--ink); font-weight: 650; }
.check-list span { color: var(--muted); font-size: 0.95rem; display: block; }

/* ---------- Builds (featured + gallery) ---------- */

.build-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: var(--ink-soft);
}
.build-card .thumb { aspect-ratio: 4/3.2; overflow: hidden; }
.build-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.4s ease; }
.build-card:hover .thumb img { transform: scale(1.06); }
.build-card .build-info {
  position: absolute; inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(180deg, rgba(20,23,27,0) 0%, rgba(20,23,27,0.85) 60%);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.build-card h3 { color: #fff; font-size: 1.18rem; font-weight: 600; }
.build-card .tag {
  flex: none;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: rgba(194, 98, 42, 0.92);
  padding: 5px 11px; border-radius: 100px;
}

/* "N photos" badge — signals each card opens a multi-photo gallery */
.build-card .photo-count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 100px;
  background: rgba(20, 23, 27, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 650; line-height: 1;
  pointer-events: none;
}
.build-card .photo-count svg { width: 13px; height: 13px; }

/* gallery page grid */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-grid .build-card.hidden { display: none; }
.build-card .build-desc { display: none; }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 17, 20, 0.94);
  display: grid; place-items: center;
  padding: 4vmin;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(1100px, 94vw); text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 78vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox figcaption { margin-top: 18px; color: #fff; }
.lightbox figcaption strong { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.lightbox figcaption .lb-desc { display: block; color: var(--muted-dark); font-size: 0.95rem; max-width: 60ch; margin: 4px auto 0; }
.lightbox .lb-counter {
  display: block; margin-top: 12px;
  font-family: var(--font-body); font-weight: 650;
  font-size: 0.78rem; letter-spacing: 0.12em;
  color: var(--muted-dark);
}
.lightbox .lb-close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 3;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,0.16); }

/* prev / next photo controls */
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer; z-index: 3;
  transition: background 0.2s ease;
}
.lightbox .lb-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox .lb-nav svg { width: 24px; height: 24px; }
.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }
.lightbox.single-photo .lb-nav,
.lightbox.single-photo .lb-counter { display: none; }
@media (max-width: 600px) {
  .lightbox .lb-nav { width: 44px; height: 44px; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
}

/* ---------- Process ---------- */

.process { background: var(--ink); }
.process .grid-4 { gap: 0; border-left: 1px solid var(--line-dark); }
.process .step {
  padding: 34px 30px 10px;
  border-right: 1px solid var(--line-dark);
  position: relative;
}
.process .step .num {
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(255,255,255,0.35);
  line-height: 1;
  margin-bottom: 22px;
  transition: -webkit-text-stroke-color 0.3s ease, color 0.3s ease;
}
.process .step:hover .num { color: var(--accent-bright); -webkit-text-stroke-color: var(--accent-bright); }
.process .step h3 { color: #fff; font-size: 1.22rem; margin-bottom: 10px; }
.process .step p { color: var(--muted-dark); font-size: 0.94rem; }

/* ---------- Quote band ---------- */

.quote-band { background: var(--paper-warm); }
.quote-band blockquote {
  max-width: 880px; margin: 0 auto; text-align: center;
}
.quote-band .quote-mark {
  font-family: var(--font-display);
  font-size: 5rem; line-height: 0.6;
  color: var(--accent);
  display: block; margin-bottom: 26px;
}
.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  /* Upright: we load only the roman Source Serif 4, so font-style:italic would be
     browser-synthesized — slanting the serif shears its f/j descenders into
     "squiggly" shapes. font-synthesis:none keeps any fallback honest too. */
  font-style: normal;
  font-synthesis: none;
  color: var(--ink);
  line-height: 1.35;
}
.quote-band cite {
  display: block; margin-top: 28px;
  font-style: normal; font-size: 0.95rem; font-weight: 650; color: var(--muted);
}
.quote-band cite span { display: block; font-weight: 450; font-size: 0.85rem; }

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative; isolation: isolate;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  padding: clamp(60px, 8vw, 110px) clamp(28px, 6vw, 90px);
  text-align: center;
}
.cta-banner .hero-bg { position: absolute; inset: 0; z-index: -2; }
.cta-banner .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,23,27,0.72), rgba(20,23,27,0.55));
}
.cta-banner h2 { color: #fff; max-width: 18ch; margin: 0 auto 18px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 54ch; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Services page ---------- */

.service-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 1px solid var(--line); }
.service-block .service-intro .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(194, 98, 42, 0.1);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.service-block .service-intro .icon svg { width: 26px; height: 26px; }
.service-block h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-block .service-intro p { color: var(--muted); font-size: 0.97rem; }
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px 26px;
  align-content: start;
}
.service-items li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
  color: var(--text);
}
.service-items li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}

.notice-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 30px 36px;
}
.notice-strip h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.notice-strip p { color: var(--muted-dark); font-size: 0.95rem; max-width: 60ch; }

/* ---------- Team ---------- */

.team-card { text-align: left; }
.team-card .portrait {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/4.6;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.team-card .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .portrait img { transform: scale(1.04); }
.team-card h3 { font-size: 1.4rem; }
.team-card .role { color: var(--accent); font-weight: 650; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 0 12px; }
.team-card p { color: var(--muted); font-size: 0.96rem; }

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.value-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(194, 98, 42, 0.1);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.value-card .icon svg { width: 23px; height: 23px; }
.value-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }

.jobber-form-card { padding: 0; overflow: hidden; }
.jobber-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}
.jobber-form-head p { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }
.jobber-form-link {
  flex: none;
  padding: 11px 18px;
  font-size: 0.86rem;
  white-space: nowrap;
}
.jobber-form-embed {
  display: block;
  width: 100%;
  min-height: 980px;
  border: 0;
  background: #fff;
}
.jobber-form-fallback {
  padding: 16px clamp(24px, 3vw, 34px) 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.84rem; font-weight: 650; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 98, 42, 0.14);
}
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 0.8rem; max-width: 32ch; }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(194,98,42,0.4); }
.contact-card .icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(194, 98, 42, 0.1);
  color: var(--accent);
  display: grid; place-items: center;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--ink); font-size: 1rem; }
.contact-card span { color: var(--muted); font-size: 0.88rem; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: clamp(60px, 7vw, 90px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { width: 64px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.93rem; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.95rem; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.93rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--accent-bright); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }

.footer-verse {
  font-family: var(--font-display);
  /* Upright (see .quote-band note): synthesized italic squiggles the f/j. */
  font-style: normal;
  font-synthesis: none;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 0 0 42px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
  min-height: 5.8em;
  transition: opacity 1.2s ease;
}
.footer-verse.verse-fading { opacity: 0; }
.verse-text { display: block; max-width: 58ch; margin: 0 auto; }
.verse-ref {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.verse-ref::before { content: "\2014  "; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll & entrance animations ----------
   Hidden states are scoped to html.js (set by an inline script in <head>)
   so content stays visible if JavaScript never runs. */

/* hero content rises in on page load, line by line */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .hero-inner > *, .page-hero .hero-inner > * {
  animation: riseIn 0.95s var(--ease-out) backwards;
}
.hero .hero-inner > :nth-child(1), .page-hero .hero-inner > :nth-child(1) { animation-delay: 0.12s; }
.hero .hero-inner > :nth-child(2), .page-hero .hero-inner > :nth-child(2) { animation-delay: 0.24s; }
.hero .hero-inner > :nth-child(3), .page-hero .hero-inner > :nth-child(3) { animation-delay: 0.36s; }
.hero .hero-inner > :nth-child(4), .page-hero .hero-inner > :nth-child(4) { animation-delay: 0.48s; }
.hero .hero-inner > :nth-child(5), .page-hero .hero-inner > :nth-child(5) { animation-delay: 0.60s; }

/* scroll reveals — base hidden states */
html.js .reveal,
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal="left"]  { transform: translateX(-48px); }
html.js [data-reveal="right"] { transform: translateX(48px); }
html.js [data-reveal="fade"]  { transform: none; }
html.js [data-reveal="zoom"]  { transform: translateY(22px) scale(0.95); }

.reveal.in, [data-reveal].in,
html.js .reveal.in, html.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* staggered groups — per-child delay (--d) is set by main.js */
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-stagger.in > *,
html.js .reveal-stagger.in > * { opacity: 1; transform: none; }

/* split-section portrait settles from a slight zoom as it reveals */
html.js .reveal .media-main img {
  transform: scale(1.08);
  transition: transform 1.6s var(--ease-out);
}
.reveal.in .media-main img,
html.js .reveal.in .media-main img { transform: scale(1); }

/* eyebrow rule draws in once its section reveals */
html.js .reveal .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out) 0.25s;
}
.reveal.in .eyebrow::before,
html.js .reveal.in .eyebrow::before { transform: scaleX(1); }

/* parallax backdrops — main.js adds the class and drives the transform */
.hero .hero-bg.parallax-bg,
.page-hero .hero-bg.parallax-bg,
.cta-banner .hero-bg.parallax-bg {
  top: -10%;
  bottom: -10%;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js [data-reveal], html.js .reveal-stagger > * {
    opacity: 1; transform: none; transition: none;
  }
  html.js .reveal .media-main img { transform: none; transition: none; }
  html.js .reveal .eyebrow::before { transform: none; transition: none; }
  .hero .hero-inner > *, .page-hero .hero-inner > * { animation: none; }
  .hero .hero-bg img { animation: none; }
  .scroll-cue::after { animation: none; }
  .hero .hero-bg.parallax-bg,
  .page-hero .hero-bg.parallax-bg,
  .cta-banner .hero-bg.parallax-bg {
    top: 0;
    bottom: 0;
  }
  .marquee-track { animation: none; }
  .video-section::before { animation: none; }
}

/* ---------- Utility ---------- */

.bg-warm { background: var(--paper-warm); }
.bg-dark { background: var(--ink); }
.mt-0 { margin-top: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(194, 98, 42, 0.55);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .builds-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 225px; }
  .process .grid-4 { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .process .step { border-left: 1px solid var(--line-dark); margin-bottom: 26px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .jobber-form-head { flex-direction: column; }
  .jobber-form-link { width: 100%; justify-content: center; }
  .split-media .media-badge {
    position: static;
    margin: -28px 16px 0;
    max-width: none;
  }
  .hero-inner { padding-bottom: 70px; }
  .scroll-cue { display: none; }
  .offer-card { min-height: 380px; }
  .page-hero { min-height: 46vh; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .grid-4 { grid-template-columns: 1fr; }
  .builds-mosaic { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .builds-mosaic .mosaic-lead, .builds-mosaic .mosaic-wide { grid-column: span 1; }
  .builds-mosaic .mosaic-lead { grid-row: span 1; }
  .video-poster .play-btn { width: 64px; height: 64px; }
  .video-poster .play-btn svg { width: 26px; height: 26px; }
  .process .grid-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .jobber-form-embed { min-height: 900px; }
  .header-phone span { display: none; }
  .hero-meta { gap: 20px; }
  .filters { gap: 8px; }
  .filter-btn { padding: 9px 16px; font-size: 0.82rem; }
}
