/* ============================================
   ARISE ABOVE CONSTRUCTION, Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --cream: #F6F4EF;
  --cream-2: #EDEAE2;
  --ivory: #F0E9DD;
  --dark: #1C1A17;
  --dark-2: #2A2622;
  --gold: #B8894A;
  --gold-soft: #C9A36A;
  --gold-dim: #8B6633;
  --line: rgba(28, 26, 23, 0.12);
  --line-dark: rgba(240, 233, 221, 0.14);
  --muted: rgba(28, 26, 23, 0.62);
  --muted-dark: rgba(240, 233, 221, 0.65);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-soft: 0 6px 24px rgba(28, 26, 23, 0.08);

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: clamp(48px, 6.5vw, 88px) 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 4.8vw, 60px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.9vw, 26px); }
h4 { font-size: clamp(16px, 1.4vw, 20px); }

p { text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 56ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 500;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
/* 2026-08-25: previously hid the gold line on centered eyebrows (Services,
   Process, Financing, 203K, Gallery, Blog, Testimonials, city-page heroes),
   which read as a sitewide inconsistency against the left-aligned pages that
   kept it (Home, About, Contact). Sean asked for one consistent treatment --
   showing the line everywhere, centered as a unit with the label. */
.eyebrow.center { justify-content: center; }

.gold-script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Trust bar (sitewide credentials strip) ---------- */
.trust-bar {
  background: var(--dark);
  color: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
}
.trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark);
  font-weight: 500;
}
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 137, 74, 0.18);
}
.trust-cta {
  margin-left: auto;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.trust-cta:hover { color: var(--ivory); }
@media (max-width: 760px) {
  .trust-inner { gap: 14px; padding: 8px var(--pad); font-size: 10px; }
  .trust-item:nth-child(2),
  .trust-item:nth-child(3) { display: none; }
  .trust-cta { margin-left: auto; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-phone:hover { border-color: var(--gold); color: var(--gold); }
.nav-phone svg { color: var(--gold); }
@media (max-width: 1100px) {
  .nav-phone .nav-phone-num { display: none; }
  .nav-phone { padding: 10px; }
}
@media (max-width: 700px) {
  .nav-cta { display: none; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.32em;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-text > span:first-child { white-space: nowrap; }
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; gap: 4px; }
.brand-text > span:first-child { letter-spacing: 0.34em; }
.brand-text .tag {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.62em;
  padding-left: 2px;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-weight: 500;
  margin-top: 4px;
}

/* Stacked wordmark: "Arise Above" (title case, serif) over "Construction"
   (gold, wide-tracked caps) -- matches the booking-page treatment at
   book.ariseaboveconstruction.com. Color comes from the ambient .brand
   color via `inherit`, so it reads dark on the light nav and ivory in the
   dark drawer/footer without a separate override per context. */
.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 1.8px;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-name {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.13em;
  color: inherit;
  line-height: 1;
}
/* letter-spacing adds a trailing gap after the LAST character too, which
   pushes the box wider on the right than the visible ink -- centering the
   box (via .brand-stack's align-items:center) then reads as "CONSTRUCTION"
   sitting left of center under the name. margin-right cancels that one
   trailing gap so the visible letters center correctly. */
.brand-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5em;
  margin-right: -1.5em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav .brand-stack { gap: 2.9px; }
.foot-brand { margin-bottom: 4px; }
/* On the booking-page source, CONSTRUCTION's tracked-out line is wider than
   the name line above it -- the gold word reads as the more prominent one.
   The footer column here is narrow (~247px), so matching that means sizing
   the name down rather than the sub up, or CONSTRUCTION would overflow. */
.foot-brand .brand-stack { gap: 2px; }
.foot-brand .brand-name { font-size: 27px; }
.foot-brand .brand-sub { font-size: 12px; letter-spacing: 0.9em; margin-right: -0.9em; }
@media (max-width: 900px) {
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 7.5px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--cream);
}
.btn-gold:hover {
  background: var(--gold-dim);
}
.btn-outline {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn-outline:hover {
  background: var(--ivory);
  color: var(--dark);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--cream);
}
.btn-outline-light {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn-outline-light:hover {
  background: var(--ivory);
  color: var(--dark);
}
.btn-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap 0.2s;
}
.btn-link:hover { gap: 14px; }
.btn-link svg { width: 12px; height: 12px; }

/* ---------- Image placeholder ---------- */
.img-slot {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(184, 137, 74, 0.06) 16px 17px),
    linear-gradient(180deg, #2A2520 0%, #1C1A17 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.img-slot.light {
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(184, 137, 74, 0.08) 16px 17px),
    linear-gradient(180deg, #E8E2D6 0%, #D6CFC0 100%);
  border-color: var(--line);
}
.img-slot .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(240, 233, 221, 0.55);
  padding: 14px 18px;
  border: 1px solid rgba(240, 233, 221, 0.15);
  margin: 16px;
  background: rgba(28, 26, 23, 0.4);
  backdrop-filter: blur(8px);
}
.img-slot.light .label {
  color: rgba(28, 26, 23, 0.55);
  border-color: rgba(28, 26, 23, 0.15);
  background: rgba(246, 244, 239, 0.5);
}

/* When the slot has a real photo, fill it and hide the placeholder label */
.img-slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-slot.has-img { background: var(--dark); border: none; }
.img-slot.has-img .label { display: none; }

/* ---------- Hero ---------- */
.hero-shell {
  background: var(--dark);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  min-height: 460px;
  align-items: stretch;
  gap: 0;
}
.hero-text {
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.hero-image {
  position: relative;
  background: #0E0D0B;
  overflow: hidden;
  aspect-ratio: 1400 / 947;
  align-self: start;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--dark) 0%, rgba(28,26,23,0.6) 8%, rgba(28,26,23,0.15) 25%, transparent 50%),
    linear-gradient(0deg, rgba(28,26,23,0.5) 0%, transparent 40%);
  z-index: 2;
}
.hero-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-card {
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.025);
  padding: 22px;
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}
.hero-card .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.hero-card h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-card p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  color: var(--ivory);
}

/* ---------- Page header (dark band) ---------- */
.page-head {
  background: var(--dark);
  color: var(--ivory);
  padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { color: var(--muted-dark); margin-top: 28px; max-width: 60ch; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
/* ---------- Mobile nav toggle + drawer ---------- */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  height: 44px;
  padding: 0 16px 0 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle:hover .nav-toggle-label { color: var(--gold); }
.nav-toggle:hover .nav-toggle-bars span { background: var(--gold); }
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
  flex-shrink: 0;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--dark);
  transition: background 0.2s;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
  transition: color 0.2s;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
}
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--dark);
  color: var(--ivory);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer-inner { transform: translateX(0); }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.nav-drawer-head .brand { color: var(--ivory); font-size: 18px; }
.nav-drawer-head .brand-name { font-size: 20px; }
.nav-drawer-head .brand-sub { font-size: 8px; }
.nav-close {
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: var(--ivory);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s;
}
.nav-close:hover { border-color: var(--gold); color: var(--gold); }
.nav-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.nav-drawer-links li {
  border-bottom: 1px solid var(--line-dark);
}
.nav-drawer-links a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  padding: 18px 0;
  color: var(--ivory);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active {
  color: var(--gold);
  padding-left: 8px;
}
.nav-drawer-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.nav-drawer-phone {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold);
  text-align: center;
}
.nav-drawer-tag {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
  text-align: center;
  color: var(--muted-dark);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 1360px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { min-height: 320px; }
}

/* ---------- Pillars / Featurettes ---------- */
.pillar-row {
  background: var(--dark);
  color: var(--ivory);
  border-top: 1px solid var(--line-dark);
}
.pillar-row .pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark);
}
.pillar {
  padding: 28px 32px;
  border-right: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: center;
}
.pillar .ic {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
  color: var(--gold);
  display: grid; place-items: center;
}
.pillar h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  margin: 0 0 6px;
  font-weight: 500;
}
.pillar p { margin: 0; font-size: 13px; color: var(--muted-dark); line-height: 1.5; }
@media (max-width: 900px) { .pillar-row .pillars { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  position: relative;
}
.service-card .thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.service-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(28,26,23,0.42) 100%);
  z-index: 2;
}
.service-card .badge {
  /* Sits between .thumb and .body in the DOM — pulled up with a negative
     margin (not position:absolute) so it reliably overlaps the photo's
     bottom-left corner regardless of scroll-reveal/hover transforms
     being applied to ancestor elements. */
  margin: -22px 0 0 22px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--cream);
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(28, 26, 23, 0.22);
}
.service-card .body { padding: 34px 4px 8px; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 10px;
  color: var(--dark);
}
.service-card .desc { font-size: 14px; color: var(--muted); margin: 0 0 22px; line-height: 1.55; }

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.process .step {
  padding: 0 28px;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.process .step:first-child { border-left: none; padding-left: 0; }
.process .num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
}
.process .step h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  margin: 0 0 10px;
  font-weight: 600;
}
.process .step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; gap: 32px; } .process .step { border-left: none; padding-left: 0; } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 24px;
}
.stat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}
.stat .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--gold);
}
.stat .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}
.stat .lbl {
  display: block;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Form ---------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }

/* ---------- Footer ---------- */
.foot {
  background: var(--dark);
  color: var(--ivory);
  padding: 56px 0 28px;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.9fr;
  gap: 32px;
  margin-bottom: 40px;
}
.foot-tag { font-size: 18px; margin: 12px 0 20px; }
.foot h5 { margin-bottom: 14px; }
.foot ul li { margin-bottom: 8px; }
.foot h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 20px;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 10px; }
.foot ul a { font-size: 14px; color: var(--muted-dark); transition: color 0.2s; }
.foot ul a:hover { color: var(--ivory); }
.foot-tag {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ivory);
  margin: 14px 0 24px;
  max-width: 32ch;
}
.foot-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-dark);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } .foot-bottom { flex-direction: column; gap: 12px; } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Misc utility ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.divider .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
}
.tag-pill.dark {
  border-color: var(--line-dark);
  color: var(--muted-dark);
}

.signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 500;
  color: var(--ivory);
}
.signature-name {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 600;
}

.cert-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 32px;
}
.cert {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
}
.cert:last-child { border-right: none; }
.cert .ic { width: 32px; height: 32px; color: var(--gold); display: grid; place-items: center; }
.cert .lbl { font-size: 11px; line-height: 1.3; color: var(--dark); font-weight: 500; }
@media (max-width: 900px) { .cert-row { grid-template-columns: 1fr 1fr; } .cert:nth-child(2) { border-right: none; } }

/* ---------- Comparison table ---------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--cream);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div {
  padding: 18px 24px;
  font-size: 14px;
  color: var(--dark);
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.compare-row > div:first-child { border-left: none; }
.compare-cell.label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
}
.compare-head { background: var(--dark); color: var(--ivory); }
.compare-head > div {
  border-left: 1px solid var(--line-dark);
  padding: 22px 24px;
}
.compare-head > div:first-child { border-left: none; }
.compare-pill {
  display: inline-flex;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  border: 1px solid var(--muted-dark);
  border-radius: var(--radius-pill);
  color: var(--ivory);
}
.compare-pill.gold { background: var(--gold); border-color: var(--gold); color: var(--dark); }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-left: none; border-top: 1px solid var(--line); }
  .compare-row > div:first-child { border-top: none; }
  .compare-head > div { border-left: none; border-top: 1px solid var(--line-dark); }
  .compare-head > div:first-child { display: none; }
}

/* ---------- Pricing strip ---------- */
.pricing-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--cream);
}
.pricing-cell {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}
.pricing-cell:first-child { border-left: none; }
.pricing-cell .label-mini {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  font-weight: 600;
}
.pricing-cell .range {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 10px 0 6px;
  color: var(--dark);
}
.pricing-cell .note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 760px) {
  .pricing-strip { grid-template-columns: 1fr 1fr; }
  .pricing-cell:nth-child(3) { border-left: none; border-top: 1px solid var(--line); }
  .pricing-cell:nth-child(4) { border-top: 1px solid var(--line); }
}


/* ============================================
   BEFORE / AFTER PAIRS
   Static, no-JS, mobile-first.
   ============================================ */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  position: relative;
  isolation: isolate;
}
.ba-pair > .ba-side {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.ba-pair .img-slot { aspect-ratio: 4/3; height: 100%; }
.ba-pair .ba-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 600;
  padding: 8px 14px;
  background: var(--dark);
  color: var(--ivory);
  z-index: 2;
}
.ba-pair .ba-side.after .ba-label {
  background: var(--gold);
  color: var(--dark);
}
.ba-pair .ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 3;
}
.ba-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.ba-caption h4 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0;
  color: var(--dark);
}
.ba-caption .ba-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
  font-weight: 500;
}
@media (max-width: 720px) {
  .ba-pair { grid-template-columns: 1fr; gap: 2px; }
  .ba-pair .ba-divider { display: none; }
  .ba-pair .img-slot { aspect-ratio: 16/10; }
}

/* ============================================================
   PREMIUM ENHANCEMENTS  (added 2026-05-29, additive only,
   no brand-token changes). Respects prefers-reduced-motion.
   ============================================================ */

/* Nav quietly elevates once the page is scrolled */
.nav { transition: box-shadow 0.3s ease, background 0.3s ease; }
.nav.scrolled {
  background: rgba(246, 244, 239, 0.97);
  box-shadow: 0 8px 30px rgba(28, 26, 23, 0.10);
}

/* Tabular numerals so count-ups don't jitter the layout */
.stat .num { font-variant-numeric: tabular-nums; }

/* Primary buttons get a single, restrained gold sweep on hover */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: "";
  position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* Cinematic slow drift on the homepage hero image */
  .hero-image { overflow: hidden; }
  .hero-image.has-img img { animation: aac-kenburns 26s ease-in-out infinite alternate; will-change: transform; }
  @keyframes aac-kenburns {
    from { transform: scale(1.0); }
    to   { transform: scale(1.03); }
  }
  /* Button shimmer triggers only on hover */
  .btn-gold:hover::after { animation: aac-shimmer 0.85s ease; }
  @keyframes aac-shimmer { from { left: -130%; } to { left: 130%; } }

  /* Stat numbers and revealed headings rise in with a soft stagger */
  .reveal.in .stat { animation: aac-fadeup 0.7s ease both; }
  .reveal.in .stat:nth-child(2) { animation-delay: 0.08s; }
  .reveal.in .stat:nth-child(3) { animation-delay: 0.16s; }
  .reveal.in .stat:nth-child(4) { animation-delay: 0.24s; }
  .reveal.in .stat:nth-child(5) { animation-delay: 0.32s; }
  @keyframes aac-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Text-only cards (city + resource pages): real padding, proper serif title, hover */
.service-card.text-card { border: 1px solid var(--line); transition: border-color 0.2s ease, transform 0.2s ease; }
.service-card.text-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-card.text-card .body { padding: 32px 30px; }
.service-card.text-card h3 { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; margin: 0 0 12px; }
.service-card.text-card .tag-pill { margin-bottom: 6px; }

/* Remove the photo caption chips (read as watermarks) , Sean, 2026-05-29 */
.img-slot .label, .img-slot.light .label { display: none !important; }

/* ============================================================
   DESIGN PASS  (added 2026-06-07)
   Soft-skill premium direction + Emil Kowalski motion craft.
   Additive only. Warm charcoal + gold palette untouched.
   GPU-safe (transform/opacity only). Hover gated for touch.
   Honours prefers-reduced-motion. Appended last so it wins
   the cascade cleanly and reverts by deleting this block.
   ============================================================ */

:root {
  /* Emil's stronger custom ease-out, the built-in CSS curves are too weak */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  /* One soft, highly diffused ambient shadow (soft-skill Soft Structuralism) */
  --lift: 0 18px 40px -18px rgba(28, 26, 23, 0.30), 0 4px 12px -6px rgba(28, 26, 23, 0.12);
}

/* Smooth in-page anchor jumps */
html { scroll-behavior: smooth; }

/* Accessible focus, gold ring instead of the browser default */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Buttons, specific transitions (never `all`) + real press feedback */
.btn {
  transition: background-color 0.22s var(--ease-out),
              border-color 0.22s var(--ease-out),
              color 0.22s var(--ease-out),
              transform 0.16s var(--ease-out),
              box-shadow 0.22s var(--ease-out);
}
.btn-gold:hover { box-shadow: var(--lift); }
.btn-link { transition: gap 0.22s var(--ease-out), color 0.2s var(--ease-out); }
.btn-link svg { transition: transform 0.22s var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  /* Nothing in the real world disappears, slight lift, never scale-from-zero */
  .service-card { transition: transform 0.4s var(--ease-out); }
  .service-card:hover { transform: translateY(-6px); }
  .service-card .thumb img { transition: transform 0.7s var(--ease-out); }
  .service-card:hover .thumb img { transform: scale(1.06); }

  /* Project + before/after photos earn a quiet zoom on hover */
  .grid.cols-3 > div { transition: transform 0.4s var(--ease-out); }
  .grid.cols-3 > div .img-slot.has-img > img { transition: transform 0.7s var(--ease-out); }
  .grid.cols-3 > div:hover .img-slot.has-img > img { transform: scale(1.05); }
  .ba-pair .ba-side .img-slot.has-img > img { transition: transform 0.7s var(--ease-out); }
  .ba-pair .ba-side:hover .img-slot.has-img > img { transform: scale(1.05); }

  /* Buttons feel pressed */
  .btn:active { transform: scale(0.97); }
  .btn-link:hover svg { transform: translateX(3px); }
}

/* Scroll reveal, upgraded with blur-in + custom easing (soft-skill entry) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transform: translateY(24px);
    filter: blur(6px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out),
                filter 0.8s var(--ease-out);
  }
  .reveal.in { filter: blur(0); }

  /* Card + step grids cascade in with a short, tasteful stagger (30-80ms) */
  .reveal.in .service-card,
  .reveal.in .grid.cols-3 > div,
  .reveal.in .process .step {
    animation: aac-fadeup 0.6s var(--ease-out) both;
  }
  .reveal.in .service-card:nth-child(2),
  .reveal.in .grid.cols-3 > div:nth-child(2),
  .reveal.in .process .step:nth-child(2) { animation-delay: 0.06s; }
  .reveal.in .service-card:nth-child(3),
  .reveal.in .grid.cols-3 > div:nth-child(3),
  .reveal.in .process .step:nth-child(3) { animation-delay: 0.12s; }
  .reveal.in .service-card:nth-child(4),
  .reveal.in .process .step:nth-child(4) { animation-delay: 0.18s; }

  /* Delight moment, the five-star line breathes once when revealed */
  .reveal.in .stars-line { animation: aac-stars 1.1s var(--ease-out) both; }
}
@keyframes aac-stars {
  0%   { opacity: 0; transform: translateY(6px); letter-spacing: 0.30em; }
  60%  { opacity: 1; letter-spacing: 0.02em; }
  100% { opacity: 1; transform: none; letter-spacing: 0.05em; }
}

/* Reduced-motion users, keep gentle fades, drop all movement + blur */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; filter: none; transition: opacity 0.4s ease; }
  .hero-image.has-img img { animation: none; }
  * { scroll-behavior: auto; }
}

/* ── Mobile responsive grid utilities ──────────────────────────────────
   These handle inline-style multi-column grids that can't use @media
   natively. Adding class="stack-mobile" collapses them to 1-col on phone.
   ────────────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Collapse any 2-col inline grid to single column */
  .stack-mobile {
    grid-template-columns: 1fr !important;
    gap: clamp(28px, 6vw, 40px) !important;
  }

  /* Financing band: was 4-col icon/text/spacer/btn, stack vertically */
  .fin-band-inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 24px 20px !important;
  }
  /* Hide the empty spacer column that existed only for desktop layout */
  .fin-band-inner > div:nth-child(3) { display: none; }

  /* Founder image: let portrait scale naturally rather than fixed height */
  .founder-img { min-height: 260px !important; aspect-ratio: 4/3 !important; }
}

/* AAC sticky mobile call bar (added 2026-10-23) */
.mobile-callbar{display:none}
@media (max-width:900px){
  .mobile-callbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:900;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#1C1A17;border-top:1px solid rgba(184,137,74,.5)}
  .mobile-callbar a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none}
  .mobile-callbar .mc-call{background:#B8894A;color:#1C1A17}
  .mobile-callbar .mc-book{border:1px solid #B8894A;color:#F6F4EF}
  body{padding-bottom:72px}
  footer a{display:inline-block;padding:10px 0}
}

/* launch fix: prevent button overflow on small screens */
.btn { max-width: 100%; box-sizing: border-box; }
