/* ==========================================================================
   INDIANA PAINTING EXPERTS — Design System
   Editorial Craftsman: Cormorant Garamond + DM Sans
   ========================================================================== */

:root {
  /* Palette */
  --ivory: #faf6ef;
  --ivory-deep: #f2ecdf;
  --charcoal: #15130f;
  --charcoal-soft: #211d17;
  --ink: #211d17;
  --ink-soft: #52493c;
  --gold: #c19a5b;
  --gold-soft: #d8bd8c;
  --terracotta: #a85c3f;
  --terracotta-soft: #c17c5f;
  --sage: #7c8768;
  --line: rgba(33, 29, 23, 0.12);
  --line-dark: rgba(250, 246, 239, 0.14);
  --shadow-soft: 0 20px 60px rgba(21, 19, 15, 0.10);
  --shadow-deep: 0 30px 80px rgba(21, 19, 15, 0.35);

  /* Type */
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "DM Sans", -apple-system, sans-serif;

  /* Rhythm */
  --section-pad: clamp(5rem, 9vw, 9rem);
  --container-max: 1320px;
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.75rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--charcoal-soft);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--ivory); }

h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

p { margin: 0 0 1rem; color: var(--ink-soft); }
.on-dark p { color: rgba(250, 246, 239, 0.72); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Brushstroke signature divider ---------- */
.brush-divider {
  width: 148px;
  height: 22px;
  margin: 1.5rem 0;
  display: block;
}
.brush-divider.center { margin-left: auto; margin-right: auto; }
.brush-divider path { fill: var(--gold); }
.on-dark .brush-divider path { fill: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0.95rem 0.95rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--terracotta);
  color: var(--ivory);
  box-shadow: 0 12px 30px rgba(168, 92, 63, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(168, 92, 63, 0.48); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal-soft);
  border: 1.5px solid var(--line);
  padding: 0.9rem 1.5rem;
}
.on-dark .btn-ghost { color: var(--ivory); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-ghost svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; flex-shrink: 0; }
.btn-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(250, 246, 239, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-soft);
  flex-shrink: 0;
}
.btn:hover .btn-icon { transform: translate(3px, -2px) scale(1.06); }
.btn-icon svg { width: 15px; height: 15px; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 1.1rem;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  border-radius: 999px;
  background: rgba(21, 19, 15, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(250, 246, 239, 0.1);
  box-shadow: var(--shadow-soft);
  transition: background 0.4s var(--ease-soft);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ivory);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--gold-soft); }
.nav-logo-icon { height: 34px; width: auto; flex-shrink: 0; display: block; }
@media (max-width: 480px) { .nav-logo-icon { height: 28px; } }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(250, 246, 239, 0.82);
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}
.nav-link:hover, .nav-link.active { background: rgba(250, 246, 239, 0.12); color: var(--ivory); }
.nav-link svg { width: 11px; height: 11px; transition: transform 0.35s var(--ease-soft); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: var(--ivory);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: var(--shadow-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft), visibility 0.4s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  transition: background 0.3s var(--ease-soft);
}
.mega-link:hover { background: var(--ivory-deep); }
.mega-link .name { font-weight: 700; font-size: 0.92rem; color: var(--charcoal-soft); }
.mega-link .sub { font-size: 0.78rem; color: var(--ink-soft); }
.mega-foot {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mega-foot a { font-size: 0.82rem; font-weight: 700; color: var(--terracotta); }

.nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.nav-phone {
  display: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ivory);
  padding: 0.5rem 0.9rem;
}
.nav-call-btn {
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}
.nav-quote-btn {
  display: none;
  align-items: center;
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(250, 246, 239, 0.32);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 0.35s var(--ease-soft), background 0.35s var(--ease-soft);
}
.nav-quote-btn:hover { border-color: var(--gold); background: rgba(193, 154, 91, 0.14); }
@media (min-width: 861px) { .nav-quote-btn { display: inline-flex; } }

.nav-burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(250, 246, 239, 0.12);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--ivory); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; width: 16px; height: 1.5px; background: var(--ivory); left: 0; transition: transform 0.4s var(--ease-soft); }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(21, 19, 15, 0.97);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  padding: 6rem 1.75rem 3rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(250,246,239,0.1); color: var(--ivory); border: 0; font-size: 1.45rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close svg { width: 16px; height: 16px; stroke: var(--ivory); }
.mobile-group { margin-bottom: 2rem; }
.mobile-group-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.9rem; font-weight: 700; }
.mobile-link {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  border-bottom: 1px solid rgba(250,246,239,0.08);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(21,19,15,0.55) 0%, rgba(21,19,15,0.35) 38%, rgba(21,19,15,0.82) 100%),
              linear-gradient(90deg, rgba(21,19,15,0.72) 0%, rgba(21,19,15,0.15) 55%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 720px; }
.hero-content h1 { color: var(--ivory); margin-bottom: 1.5rem; }
.hero-content .lede { color: rgba(250,246,239,0.82); font-size: 1.2rem; max-width: 560px; margin-bottom: 2.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust { display: flex; gap: 1.75rem; margin-top: 2.75rem; flex-wrap: wrap; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item .num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-soft); font-weight: 600; }
.hero-trust-item .lbl { font-size: 0.78rem; color: rgba(250,246,239,0.65); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Section shells ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section.dark { background: var(--charcoal); }
.section.ivory-deep { background: var(--ivory-deep); }
.section-head { max-width: 700px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .brush-divider { margin-top: 0.25rem; }

/* ---------- Reveal (GSAP hook classes) ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-scale { opacity: 0; transform: scale(0.94); }

/* ---------- Bento / Card grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 1.25rem;
}
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }

.home-page .service-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.home-page .service-grid > .card:nth-child(1) { grid-column: span 7; }
.home-page .service-grid > .card:nth-child(2) { grid-column: span 5; }
.home-page .service-grid > .card:nth-child(3),
.home-page .service-grid > .card:nth-child(4),
.home-page .service-grid > .card:nth-child(5) { grid-column: span 4; }
.home-page .service-grid > .card:nth-child(6) { grid-column: span 5; }
.home-page .service-grid > .card:nth-child(7) { grid-column: span 4; }
.home-page .service-grid > .card:nth-child(8) { grid-column: span 3; }

.card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card-inner {
  background: var(--ivory-deep);
  border-radius: calc(var(--radius-lg) - 0.5rem);
  padding: 1.9rem;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
}
.on-dark .card { background: rgba(250,246,239,0.04); border-color: var(--line-dark); }
.on-dark .card-inner { background: rgba(250,246,239,0.03); box-shadow: inset 0 1px 1px rgba(255,255,255,0.05); }

.card-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(193, 154, 91, 0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; margin-bottom: 1.1rem; flex-grow: 1; }
.card-link { font-size: 0.85rem; font-weight: 700; color: var(--terracotta); display: inline-flex; align-items: center; gap: 0.4rem; }
.card-link svg { width: 12px; height: 12px; transition: transform 0.4s var(--ease-soft); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-soft); }
.card-price strong { color: var(--charcoal-soft); font-family: var(--font-display); font-size: 1.15rem; }
.on-dark .card-price { border-color: var(--line-dark); }
.on-dark .card-price strong { color: var(--ivory); }

/* Image card */
.img-card { overflow: hidden; }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-soft); min-height: 260px; }
.img-card:hover img { transform: scale(1.06); }
.img-card-cap { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; color: var(--ivory); z-index: 2; }
.img-card { position: relative; }
.img-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(21,19,15,0.75) 100%); z-index: 1; border-radius: inherit; }

/* ---------- Area / service list rows ---------- */
.row-list { display: flex; flex-direction: column; }
.row-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease-soft);
}
.on-dark .row-item { border-color: var(--line-dark); }
.row-item:hover { padding-left: 0.75rem; }
.row-item .row-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--charcoal-soft); }
.on-dark .row-item .row-name { color: var(--ivory); }
.row-item .row-meta { font-size: 0.85rem; color: var(--ink-soft); }
.row-arrow { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.4s var(--ease-soft), transform 0.4s var(--ease-soft); }
.on-dark .row-arrow { border-color: var(--line-dark); }
.row-item:hover .row-arrow { background: var(--gold); transform: rotate(45deg); }
.row-arrow svg { width: 14px; height: 14px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  position: absolute; top: 0; left: 0;
  letter-spacing: 0.05em;
}
.step-line { position: absolute; top: 0.7rem; left: 2.6rem; right: -1.5rem; height: 1px; background: var(--line); }
.on-dark .step-line { background: var(--line-dark); }
.step:last-child .step-line { display: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.on-dark .faq-item { border-color: var(--line-dark); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; }
.faq-q h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }
.faq-plus { width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; position: relative; transition: transform 0.4s var(--ease-soft); }
.on-dark .faq-plus { border-color: var(--line-dark); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--charcoal-soft); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.on-dark .faq-plus::before, .on-dark .faq-plus::after { background: var(--ivory); }
.faq-plus::before { width: 9px; height: 1.4px; }
.faq-plus::after { width: 1.4px; height: 9px; }
.faq-item.open .faq-plus { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-soft); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-top: 1rem; margin: 0; font-size: 0.98rem; }

/* ---------- Benefits list ---------- */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink-soft); }
.on-dark .check-list li { color: rgba(250,246,239,0.75); }
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.15rem; stroke: var(--gold); fill: none; stroke-width: 1.6; }

/* ---------- Local note / callout ---------- */
.callout {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.75rem;
  background: var(--ivory-deep);
  border-radius: 0 1rem 1rem 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.on-dark .callout { background: rgba(250,246,239,0.04); color: rgba(250,246,239,0.75); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: var(--ink-soft); flex-wrap: wrap; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(193,154,91,0.18), transparent 60%);
}
.cta-band .inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: var(--ivory); margin-bottom: 1rem; }
.cta-band p { color: rgba(250,246,239,0.72); margin-bottom: 2.25rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Sibling links grid (internal linking) ---------- */
.sibling-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.sibling-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.jump-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem; }
.cta-split { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center; max-width: 100%; }
.sibling-link {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.on-dark .sibling-link { border-color: var(--line-dark); color: var(--ivory); }
.sibling-link:hover { border-color: var(--gold); background: var(--ivory-deep); }
.on-dark .sibling-link:hover { background: rgba(250,246,239,0.05); }

/* ---------- Two-image pair (hero + 2 images pattern) ---------- */
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2.5rem 0; }
.img-pair .img-card { min-height: 340px; height: 100%; border-radius: var(--radius-md); }
@media (max-width: 700px) {
  .img-pair { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer { background: var(--charcoal); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); margin-bottom: 1.15rem; }
.footer-logo span { color: var(--gold-soft); }
.footer-logo-icon { height: 42px; width: auto; flex-shrink: 0; display: block; }
.footer-desc { color: rgba(250,246,239,0.6); font-size: 0.92rem; max-width: 320px; }
.footer-col-title { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: rgba(250,246,239,0.68); font-size: 0.92rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-region {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gold-soft); font-weight: 700; font-size: 0.92rem;
  padding: 0.6rem 0.85rem; margin-top: 0.25rem;
  background: rgba(193,154,91,0.1); border: 1px solid rgba(193,154,91,0.25); border-radius: 0.6rem;
}
.footer-region svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--gold-soft); fill: none; stroke-width: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.75rem; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { color: rgba(250,246,239,0.45); font-size: 0.82rem; margin: 0; }
.footer-credit { color: rgba(250,246,239,0.45); font-size: 0.82rem; }
.footer-credit a { color: var(--gold-soft); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Sticky mobile dual CTA bar ---------- */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  display: none;
  padding: 0.65rem 0.65rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  background: rgba(21,19,15,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-dark);
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
}
.mcb-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-soft);
}
.mcb-btn:active { transform: scale(0.97); }
.mcb-btn svg { width: 17px; height: 17px; flex-shrink: 0; stroke: currentColor; fill: none; }
.mcb-quote svg { display:none; }
.mcb-quote { background: rgba(250,246,239,0.08); color: var(--ivory); border: 1.5px solid rgba(250,246,239,0.3); }
.mcb-call { background: var(--terracotta); color: var(--ivory); box-shadow: 0 10px 24px rgba(168,92,63,0.4); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 861px) {
  .nav-phone { display: block; }
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { padding: 0.55rem 0.55rem 0.55rem 1.1rem; }
  .hero { align-items: flex-end; padding-bottom: 5rem; padding-top: 6.5rem; }
  .hero-content .eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; margin-bottom: 0.75rem; }
  .hero-content h1 { font-size: 2.15rem !important; line-height: 1.15; margin-bottom: 1rem !important; }
  .hero-content .lede { font-size: 1rem; margin-bottom: 1.5rem !important; }
  .hero-trust { margin-top: 1.5rem !important; gap: 1.1rem; }
  .hero-trust-item .num { font-size: 1.5rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .home-page .service-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .service-grid > .card { grid-column: span 2; }
  .bento .span-2, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-line { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .sibling-grid, .sibling-grid-2col { grid-template-columns: 1fr 1fr; }
  .jump-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-split { grid-template-columns: 1fr; text-align: center; }
  .cta-split .btn { justify-self: center !important; }
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 5rem; }
}

@media (max-width: 540px) {
  .bento .span-2, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 1; }
  .bento { grid-template-columns: 1fr; }
  .home-page .service-grid { grid-template-columns: 1fr; }
  .home-page .service-grid > .card { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .sibling-grid, .sibling-grid-2col, .jump-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.25rem; }
  .mega { min-width: 88vw; left: 50%; }
}

/* ---------- Lead form ---------- */
.lead-form-wrap {
  scroll-margin-top: 6.5rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
.on-dark .lead-form-wrap { background: rgba(250,246,239,0.04); border-color: var(--line-dark); }
.lead-form-head { text-align: center; margin-bottom: 1.75rem; }
.lead-form-head h3 { margin-bottom: 0.5rem; }
.lead-form-head p { font-size: 0.95rem; margin: 0; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.lf-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.lf-row .lf-field { margin-bottom: 0; }
.lf-field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-soft); }
.on-dark .lf-field label { color: rgba(250,246,239,0.7); }
.lf-field input, .lf-field select, .lf-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  border: 1.5px solid var(--line);
  background: var(--ivory-deep);
  color: var(--ink);
  transition: border-color 0.3s var(--ease-soft);
  width: 100%;
  box-sizing: border-box;
}
.on-dark .lf-field input, .on-dark .lf-field select, .on-dark .lf-field textarea {
  border-color: var(--line-dark); background: rgba(250,246,239,0.05); color: var(--ivory);
}
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.lf-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.lf-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.lf-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.lf-status { margin-top: 1rem; font-size: 0.92rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.lf-status.success { color: var(--sage); }
.lf-status.error { color: var(--terracotta); }
.lf-fineprint { text-align: center; font-size: 0.82rem; margin-top: 1.25rem; margin-bottom: 0; color: var(--ink-soft); }
.on-dark .lf-fineprint { color: rgba(250,246,239,0.6); }
.lf-fineprint a { color: var(--terracotta); font-weight: 700; }
.on-dark .lf-fineprint a { color: var(--gold-soft); }

@media (max-width: 600px) {
  .lf-row { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   LEGENDARY SPLASH INTRO (homepage only, session-gated)
   ========================================================================== */
.splash { display: none; }
html.splash-pending .splash {
  display: flex;
  position: fixed; inset: 0; z-index: 900;
  align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.splash-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 65% at 50% 38%, rgba(193,154,91,0.16) 0%, rgba(21,19,15,0) 62%),
    linear-gradient(180deg, #18150f 0%, #0d0b08 100%);
}
.splash-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem;
}
.splash-stroke {
  width: min(230px, 55vw); height: auto;
  stroke: var(--gold); stroke-width: 1.6; fill: none; stroke-linecap: round;
  margin-bottom: 1.5rem; opacity: 0.8;
}
.splash-mark { width: min(210px, 40vw); margin-bottom: 1.35rem; opacity: 0; transform: scale(0.72); }
.splash-mark img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 46px rgba(0,0,0,0.55)); }
.splash-word { display: flex; flex-direction: column; align-items: center; }
.sw-line { display: block; overflow: hidden; line-height: 1.12; }
.sw-line span {
  display: block;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em;
  color: var(--ivory);
  font-size: clamp(1.55rem, 5.2vw, 2.55rem);
  transform: translateY(115%);
}
.sw-line2 span { color: var(--gold-soft); }
.splash-tagline {
  margin-top: 1.4rem; display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,246,239,0.55);
  opacity: 0;
}
.splash-divider { width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.splash-skip {
  position: absolute; bottom: 1.75rem; right: 1.75rem; z-index: 3;
  background: transparent; border: 1px solid rgba(250,246,239,0.25); color: rgba(250,246,239,0.72);
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 0.6rem 1.1rem; border-radius: 999px;
  opacity: 0; pointer-events: none; cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.splash-skip:hover { border-color: var(--gold); color: var(--ivory); }
@media (max-width: 600px) {
  .splash-skip { bottom: 1.1rem; right: 1.1rem; padding: 0.55rem 0.95rem; }
}

/* ==========================================================================
   BLOG — hub grid + article typography
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.85rem; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.blog-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease-soft); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(21,19,15,0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--gold-soft); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: 999px;
}
.blog-card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-meta { font-size: 0.74rem; color: var(--ink-soft); opacity: 0.7; margin-bottom: 0.55rem; letter-spacing: 0.03em; }
.blog-card h3 { font-size: 1.24rem; margin-bottom: 0.6rem; line-height: 1.22; }
.blog-card p { font-size: 0.91rem; margin-bottom: 1.1rem; flex-grow: 1; }
.blog-card .card-link { margin-top: auto; }
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.blog-featured .blog-card-img { aspect-ratio: 16/11; border-radius: var(--radius-lg); }
.blog-featured-body .eyebrow { margin-bottom: 0.9rem; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ========================================================================
   HOMEPAGE HERO — editorial media loop + conversion polish
   Scoped to the homepage so service, guide, and article heroes keep their
   original proportions and content.
   ======================================================================== */
.home-hero {
  min-height: max(720px, 100dvh);
  padding-top: clamp(8rem, 13vh, 10.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 6.5rem);
  isolation: isolate;
}

.home-hero .hero-media {
  background: var(--charcoal);
  isolation: isolate;
}

.home-hero .hero-poster,
.home-hero .hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero .hero-poster { z-index: 0; }
.home-hero .hero-poster img,
.home-hero .hero-video { object-fit: cover; object-position: center center; }
.home-hero .hero-video { z-index: 1; }
.home-hero .hero-video-mobile { display: none; }

.home-page .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(250,246,239,0.11) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.8s var(--ease-soft), transform 8s var(--ease-out);
  will-change: opacity, transform;
}

.home-hero .hero-slide.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.home-hero .hero-slide picture,
.home-hero .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero .hero-slide img {
  object-fit: cover;
  object-position: center 34%;
}

.home-hero .hero-slide:nth-child(2) img { object-position: center 42%; }
.home-hero .hero-slide:nth-child(3) img { object-position: center 46%; }

.home-hero .hero-scrim {
  background:
    linear-gradient(102deg, rgba(21, 19, 15, 0.9) 0%, rgba(21, 19, 15, 0.74) 31%, rgba(21, 19, 15, 0.28) 66%, rgba(21, 19, 15, 0.34) 100%),
    linear-gradient(180deg, rgba(21, 19, 15, 0.42) 0%, rgba(21, 19, 15, 0.06) 42%, rgba(21, 19, 15, 0.78) 100%);
}

.home-hero .hero-content {
  max-width: 670px;
  padding-left: 1.35rem;
  border-left: 1px solid rgba(216, 189, 140, 0.72);
}

.home-hero .hero-content h1 {
  max-width: 13ch;
  font-size: clamp(3.4rem, 5.3vw, 5.35rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.home-hero .hero-content .lede {
  max-width: 575px;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.home-hero .hero-ctas { gap: 0.85rem; }

.home-hero .btn-primary,
.home-hero .btn-ghost {
  min-height: 58px;
}

.home-hero .btn-primary {
  padding-left: 1.55rem;
  padding-right: 0.5rem;
  box-shadow: 0 14px 32px rgba(61, 28, 18, 0.34);
}

.home-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(61, 28, 18, 0.44);
}

.home-hero .btn-ghost {
  background: rgba(21, 19, 15, 0.24);
  border-color: rgba(250, 246, 239, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-hero .btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(21, 19, 15, 0.42);
  border-color: var(--gold-soft);
}

.home-hero .btn:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

.home-hero .hero-trust {
  max-width: 610px;
  margin-top: 2.35rem;
  padding-top: 1.2rem;
  gap: 0;
  border-top: 1px solid rgba(250, 246, 239, 0.22);
}

.home-hero .hero-trust-item {
  flex: 1 1 0;
  padding: 0 1.05rem;
}

.home-hero .hero-trust-item:first-child { padding-left: 0; }
.home-hero .hero-trust-item + .hero-trust-item { border-left: 1px solid rgba(250, 246, 239, 0.2); }
.home-hero .hero-trust-item .num { line-height: 1; }

/* The standalone circular arrow affordance was visually noisy on dark sections. */
.row-arrow { display: none; }
.row-item { justify-content: flex-start; }

/* Extractable, readable content blocks for new GEO/AEO articles. */
.article-prose .answer-block {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--ivory-deep);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-prose .answer-block p:last-child { margin-bottom: 0; }
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0 2.25rem;
  font-size: 0.96rem;
}
.article-prose th,
.article-prose td {
  padding: 0.85rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.article-prose th {
  color: var(--charcoal-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-prose .source-note {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}
.article-prose .source-note a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.article-prose .article-cta { margin-top: 2.25rem; }

@media (max-width: 860px) {
  .home-hero {
    min-height: max(720px, 100dvh);
    padding-top: 7.25rem;
    padding-bottom: clamp(5rem, 11vw, 6.25rem);
  }

  .home-hero .hero-slide { transform: scale(1.018); }
  .home-hero .hero-slide.is-active { transform: scale(1.045); }
  .home-hero .hero-slide img { object-position: center 36%; }
  .home-hero .hero-slide:nth-child(2) img { object-position: 54% center; }
  .home-hero .hero-slide:nth-child(3) img { object-position: 64% center; }

  .home-hero .hero-scrim {
    background:
      linear-gradient(180deg, rgba(21, 19, 15, 0.2) 0%, rgba(21, 19, 15, 0.18) 30%, rgba(21, 19, 15, 0.74) 59%, rgba(21, 19, 15, 0.96) 100%),
      linear-gradient(90deg, rgba(21, 19, 15, 0.64) 0%, rgba(21, 19, 15, 0.08) 78%);
  }

  .home-hero .hero-content {
    max-width: 100%;
    padding-left: 0;
    border-left: 0;
  }

  .home-hero .hero-content h1 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 9.6vw, 3.35rem) !important;
    line-height: 1.02;
  }

  .home-hero .hero-content .lede {
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.52;
  }

  .home-hero .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-hero .hero-ctas .btn {
    width: 100%;
    justify-content: space-between;
  }

  .home-hero .hero-ctas .btn-ghost { justify-content: center; }

  .home-hero .hero-trust {
    width: 100%;
    margin-top: 1.65rem !important;
    padding-top: 1rem;
  }

  .home-hero .hero-trust-item {
    padding: 0 0.55rem;
  }

  .home-hero .hero-trust-item:first-child { padding-left: 0; }
  .home-hero .hero-trust-item .num { font-size: 1.55rem; }
  .home-hero .hero-trust-item .lbl { font-size: 0.64rem; letter-spacing: 0.06em; }

  .home-hero .hero-video-desktop { display: none; }
  .home-hero .hero-video-mobile { display: block; object-position: center center; }
  .home-hero .hero-poster img { object-position: center center; }
}

@media (max-width: 540px) {
  .home-hero { padding-top: 6.7rem; }
  .home-hero .hero-content h1 { max-width: 14ch; }
  .home-hero .hero-trust-item .num { font-size: 1.4rem; }
  .home-hero .hero-trust-item .lbl { font-size: 0.58rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-video { display: none; }
  .home-hero .hero-slide,
  .home-hero .hero-slide.is-active {
    transform: none;
    transition: none;
  }
}

/* ========================================================================
   GLOBAL VISUAL QA — fixed navigation, hero clearance, and responsive fit
   ======================================================================== */
html { scroll-padding-top: 7.5rem; }

.nav-wrap {
  top: max(1rem, env(safe-area-inset-top));
}

.nav-pill {
  max-width: 1280px;
}

.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.nav-link,
.nav-phone {
  white-space: nowrap;
}

.nav-cta { flex-shrink: 0; }

.hero:not(.home-hero) {
  align-items: center;
  padding-top: clamp(7.25rem, 12vh, 10rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hero:not(.home-hero) .hero-content h1 {
  text-wrap: balance;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

@media (min-width: 861px) and (max-width: 1120px) {
  .nav-pill {
    gap: 0.65rem;
    padding-left: 1rem;
  }

  .nav-logo {
    gap: 0.45rem;
    font-size: 1.05rem;
  }

  .nav-logo-icon { height: 30px; }
  .nav-links { gap: 0.05rem; }
  .nav-link { padding: 0.55rem 0.52rem; font-size: 0.82rem; }
  .nav-phone { padding: 0.4rem 0.45rem; font-size: 0.78rem; }
  .nav-quote-btn { padding: 0.55rem 0.78rem; font-size: 0.78rem; }
  .nav-call-btn { padding: 0.6rem 0.82rem; font-size: 0.78rem; }
}

@media (max-width: 860px) {
  .nav-logo { font-size: 1rem; }
  .nav-logo-icon { height: 30px; }

  .hero:not(.home-hero) {
    align-items: center;
    padding-top: 7.25rem;
    padding-bottom: 5.75rem;
  }
}

/* ---------- Article body (blog post) ---------- */
.article-shell { max-width: 740px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.article-meta .tag {
  background: rgba(193,154,91,0.15); color: var(--terracotta); font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; padding: 0.38rem 0.75rem; border-radius: 999px;
}
.article-prose h2 { margin-top: 2.8rem; margin-bottom: 1.1rem; font-size: clamp(1.55rem, 2.6vw, 2.05rem); }
.article-prose h3 { margin-top: 2.1rem; margin-bottom: 0.9rem; font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.article-prose p { font-size: 1.06rem; line-height: 1.78; color: var(--ink-soft); margin-bottom: 1.3rem; }
.article-prose ul, .article-prose ol { margin: 0 0 1.5rem; padding-left: 1.35rem; color: var(--ink-soft); }
.article-prose li { margin-bottom: 0.6rem; line-height: 1.68; font-size: 1.02rem; }
.article-prose strong { color: var(--charcoal-soft); }
.article-prose .callout { margin: 2.25rem 0; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.article-prose .callout h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--terracotta); margin-bottom: 0.85rem; }
.article-prose .callout ul { margin-bottom: 0; }
.article-prose .callout ul li { margin-bottom: 0.5rem; }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0 2.75rem; box-shadow: var(--shadow-soft); }
.article-hero-img img { width: 100%; height: auto; display: block; max-height: 480px; object-fit: cover; }
.article-share-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid var(--line); }
.article-share-row .author-line { font-size: 0.88rem; color: var(--ink-soft); }
.article-share-row .author-line strong { color: var(--charcoal-soft); }
.related-heading { margin-bottom: 2rem; }




/* Accessibility and long-form content additions - 2026-09-12 */
.skip-link { position: fixed; top: 0.6rem; left: 0.6rem; z-index: 300; padding: 0.7rem 1rem; color: var(--ivory); background: var(--terracotta); border-radius: 0.35rem; transform: translateY(-150%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 720px) {
  .article-prose { overflow-wrap: anywhere; }
  .article-prose table { display: block; overflow-x: auto; white-space: normal; }
  .article-prose th, .article-prose td { min-width: 9.5rem; }
}
/* ========================================================================
   MOBILE AND DESKTOP POLISH - 2026-09-13
   Prevent narrow navigation and grid overflow while preserving the existing
   editorial design language.
   ======================================================================== */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-bottom: 6rem;
}

body {
  min-width: 0;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

.container,
.nav-pill,
.nav-logo,
.nav-cta,
.hero-content,
.card,
.card-inner,
.section-head {
  min-width: 0;
}

.section-head h2,
.card h3,
.blog-card h3,
.hero-content h1 {
  text-wrap: balance;
}

@media (hover: none) {
  .card:hover,
  .blog-card:hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  :root {
    --section-pad: clamp(4rem, 12vw, 5.75rem);
  }

  .nav-wrap {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .nav-pill {
    gap: 0.7rem;
    overflow: hidden;
  }

  .nav-logo {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    flex: 0 0 auto;
    gap: 0.45rem;
    margin-left: auto;
  }

  .home-page .service-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }

  .home-page .service-grid > .card:nth-child(n) {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .home-page .service-grid .card-inner {
    min-height: 0;
  }

  .reveal,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .mobile-menu {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    overscroll-behavior: contain;
  }

  .mobile-call-bar {
    background: var(--charcoal);
    box-shadow: 0 -12px 30px rgba(21, 19, 15, 0.2);
  }

  body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 540px) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .section-head {
    margin-bottom: 2.25rem;
  }

  .section-head h2 {
    font-size: clamp(2rem, 10.5vw, 2.7rem);
  }

  .section-head p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .home-page .service-grid {
    gap: 0.9rem;
  }

  .card {
    padding: 0.35rem;
    border-radius: 1.45rem;
  }

  .card-inner {
    padding: 1.4rem;
    border-radius: 1.1rem;
  }

  .card-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.05rem;
  }

  .card h3 {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
    line-height: 1.08;
  }

  .card p,
  .card-link {
    overflow-wrap: anywhere;
  }

  .home-page .img-card[style] {
    min-height: 270px !important;
  }

  .article-prose p,
  .article-prose li {
    font-size: 1rem;
  }

  .lead-form-wrap {
    padding: 1.35rem;
    border-radius: 1.45rem;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    top: max(0.6rem, env(safe-area-inset-top));
  }

  .nav-pill {
    min-height: 3.65rem;
    padding: 0.4rem 0.4rem 0.4rem 0.8rem;
    gap: 0.55rem;
  }

  .nav-call-btn {
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.82rem;
    font-size: 0.78rem;
  }

  .nav-burger {
    width: 2.65rem;
    height: 2.65rem;
  }

  .home-hero {
    min-height: max(700px, 100svh);
    padding-top: 6.25rem;
    padding-bottom: 5rem;
  }

  .home-hero .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 2.65rem) !important;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem !important;
  }

  .home-hero .hero-content .lede {
    max-width: 34ch;
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 1.2rem !important;
  }

  .home-hero .hero-content .eyebrow {
    display: block;
    max-width: 34ch;
    font-size: 0.59rem;
    line-height: 1.5;
    letter-spacing: 0.11em;
  }

  .home-hero .hero-content .eyebrow::before {
    width: 18px;
    margin-right: 0.4rem;
    vertical-align: middle;
  }

  .home-hero .hero-ctas .btn {
    min-height: 3.2rem;
    padding-top: 0.78rem;
    padding-bottom: 0.78rem;
    font-size: 0.93rem;
  }

  .home-hero .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .home-hero .hero-trust-item {
    min-width: 0;
    padding: 0 0.45rem;
  }

  .home-hero .hero-trust-item .num {
    font-size: 1.3rem;
  }

  .home-hero .hero-trust-item .lbl {
    font-size: 0.56rem;
    line-height: 1.35;
    overflow-wrap: normal;
  }

  .hero:not(.home-hero) {
    min-height: max(560px, 82svh);
    padding-top: 6.5rem;
    padding-bottom: 4.5rem;
  }

  .hero:not(.home-hero) .hero-content h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 10vw, 2.55rem) !important;
    line-height: 1.05;
  }

  .hero:not(.home-hero) .hero-content .lede {
    max-width: 35ch;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .mobile-call-bar {
    gap: 0.5rem;
    padding: 0.55rem;
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
  }

  .mcb-btn {
    min-height: 3rem;
    padding: 0.7rem 0.45rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 400px) {
  .nav-logo {
    flex: 0 1 auto;
    gap: 0.45rem;
    font-size: 0;
    overflow: visible;
  }

  .nav-logo span {
    display: none;
  }

  .nav-logo::after {
    content: "North Indy";
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .nav-logo-icon {
    height: 29px;
  }

  .nav-cta {
    gap: 0.35rem;
  }

  .nav-call-btn {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }
}

@media (max-width: 340px) {
  .nav-pill {
    padding-left: 0.65rem;
  }

  .nav-logo::after {
    font-size: 0.84rem;
  }

  .nav-logo-icon {
    height: 27px;
  }

  .nav-call-btn {
    min-height: 2.55rem;
    padding-left: 0.62rem;
    padding-right: 0.62rem;
    font-size: 0.74rem;
  }

  .nav-burger {
    width: 2.55rem;
    height: 2.55rem;
  }

  .home-hero .hero-content h1 {
    font-size: 2rem !important;
  }
}
/* COMPACT PHONE BRAND - 2026-09-13 */
@media (max-width: 540px) {
  .nav-logo {
    flex: 0 1 auto;
    gap: 0.45rem;
    font-size: 0;
    overflow: visible;
  }

  .nav-logo span {
    display: none;
  }

  .nav-logo::after {
    content: "North Indy";
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .nav-logo-icon {
    height: 29px;
  }
}
/* MOBILE MIN-CONTENT CONTAINMENT - 2026-09-13 */
@media (max-width: 860px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento > *,
  .steps > *,
  .sibling-grid > *,
  .sibling-grid-2col > *,
  .jump-grid > *,
  .img-pair > *,
  .blog-grid > *,
  .footer-top > * {
    min-width: 0;
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  .bento,
  .steps,
  .sibling-grid,
  .sibling-grid-2col,
  .jump-grid,
  .img-pair,
  .blog-grid,
  .lf-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .img-pair,
  .article-prose table {
    max-width: 100%;
  }

  .footer-logo {
    gap: 0.55rem;
    max-width: 100%;
    font-size: 1.22rem;
    line-height: 1.1;
  }

  .footer-logo-icon {
    height: 34px;
  }

  .footer-links,
  .footer-desc,
  .footer-region {
    max-width: 100%;
  }
}
/* NARROW PHONE FOOTER FIT - 2026-09-13 */
@media (max-width: 340px) {
  .footer-logo {
    gap: 0.4rem;
    font-size: 1.05rem;
  }

  .footer-logo-icon {
    height: 30px;
  }
}