/* ============================================================
   DESIGN TOKENS — Editorial Dark-Premium
   League Spartan (display) + Poppins (body).
   Three-color system: ink / bone / brass. Clay is reserved
   ONLY for urgent/after-hours accents — never decorative.
   ============================================================ */
:root {
  /* Core palette */
  --ink:        #0e0e10;   /* primary dark — header, hero, footer, dark sections */
  --ink-soft:   #17171a;   /* slightly lighter dark, for cards on ink */
  --bone:       #f4efe6;   /* primary light — page background, light-section bg */
  --bone-dim:   #ece5d8;   /* subtle contrast on bone (card backgrounds, dividers) */
  --brass:      #c08a3e;   /* accent — rules, small text, icons, one CTA style */
  --brass-dim:  #a8763260; /* brass at low opacity, for washes/borders */
  --clay:       #7a2e22;   /* reserved: urgent/after-hours accent ONLY */
  --clay-soft:  #9c4a3a;

  /* Neutrals derived from the core palette (kept warm, not blue-gray) */
  --line:       rgba(14,14,16,0.10);     /* hairlines on bone */
  --line-onink: rgba(244,239,230,0.14);  /* hairlines on ink */
  --text:       #1b1a17;                 /* body text on bone */
  --text-soft:  #5b564c;                 /* secondary text on bone */
  --text-onink: #f4efe6;                 /* body text on ink */
  --text-onink-soft: rgba(244,239,230,0.68);

  /* Typography */
  --font-display: 'League Spartan', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4.5rem;
  --space-2xl: 7rem;

  /* Layout */
  --container-max: 1180px;
  --container-narrow: 760px;
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 4px;   /* editorial look prefers near-square corners */
  --shadow: 0 1px 2px rgba(14,14,16,0.06), 0 8px 24px rgba(14,14,16,0.06);
  --shadow-lg: 0 4px 8px rgba(14,14,16,0.08), 0 24px 48px rgba(14,14,16,0.14);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   BASE
   ============================================================ */
html {
  background: var(--bone);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bone);
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}

em, .accent-italic {
  font-style: italic;
  font-family: var(--font-display);
}

p {
  color: var(--text-soft);
  line-height: 1.7;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ============================================================
   ICONS — inline <svg class="icon"><use> consumers
   ============================================================ */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

/* ============================================================
   UTILITY / LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-2xl);
}

.section--ink {
  background: var(--ink);
  color: var(--text-onink);
}
.section--ink p { color: var(--text-onink-soft); }
.section--ink h2, .section--ink h3 { color: var(--bone); }

.section--dim {
  background: var(--bone-dim);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-sm);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--brass);
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--ink);
  margin-bottom: var(--space-sm);
  max-width: 18ch;
}

.section--ink .section-title { color: var(--bone); }

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 46ch;
  line-height: 1.7;
}

.section--ink .section-subtitle { color: var(--text-onink-soft); }

.section-head {
  margin-bottom: var(--space-xl);
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}
.section-head--center .section-eyebrow::before { display: none; }
.section-head--center .section-title,
.section-head--center .section-subtitle {
  margin-inline: auto;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin-block: var(--space-xl);
}
.section--ink .rule { border-top-color: var(--line-onink); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-brass {
  background: var(--brass);
  color: var(--ink);
}
.btn-brass:hover { background: #cf9a52; }

.btn-ink {
  background: var(--ink);
  color: var(--bone);
}
.btn-ink:hover { background: #232326; }

.btn-line-bone {
  background: transparent;
  color: var(--bone);
  border-color: rgba(244,239,230,0.4);
}
.btn-line-bone:hover { background: rgba(244,239,230,0.08); border-color: var(--bone); }

.btn-line-ink {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14,14,16,0.3);
}
.btn-line-ink:hover { background: rgba(14,14,16,0.05); border-color: var(--ink); }

.btn-clay {
  background: var(--clay);
  color: var(--bone);
}
.btn-clay:hover { background: var(--clay-soft); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-onink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--bone);
  letter-spacing: -0.01em;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--brass-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  flex-shrink: 0;
}
.nav-logo-mark .icon { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-onink-soft);
  transition: color 0.15s;
  padding-block: 0.25rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--bone);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-phone {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-phone .icon { color: var(--brass); }

.nav-urgent-btn {
  background: transparent;
  border: 1.5px solid var(--brass-dim);
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.nav-urgent-btn .icon { width: 14px; height: 14px; color: var(--brass); }
.nav-urgent-btn:hover { border-color: var(--brass); background: rgba(192,138,62,0.08); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  padding: 4px;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* ============================================================
   HERO — full-bleed photo, dark gradient overlay
   ============================================================ */
.hero {
  position: relative;
  color: var(--bone);
  padding-block: var(--space-2xl);
  overflow: hidden;
  background-color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.72) 55%, rgba(14,14,16,0.92) 100%),
    linear-gradient(90deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.15) 55%, rgba(14,14,16,0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(244,239,230,0.28);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--bone);
}
.hero-eyebrow .icon { width: 14px; height: 14px; color: var(--brass); }

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.08;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.hero h1 em {
  color: var(--brass);
  font-weight: 500;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(244,239,230,0.82);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(244,239,230,0.75);
}
.hero-trust-item .icon { width: 16px; height: 16px; color: var(--brass); }

/* Urgent-page hero variant leans on clay, not brass */
.hero--urgent .hero-eyebrow { border-color: rgba(122,46,34,0.5); }
.hero--urgent .hero-eyebrow .icon { color: #e08a72; }
.hero--urgent h1 em { color: #e08a72; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line-onink);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  padding-block: var(--space-md);
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.trust-stat .icon {
  width: 20px;
  height: 20px;
  color: var(--brass);
}

.trust-stat-value {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--bone);
  font-family: var(--font-display);
}

.trust-stat-label {
  color: var(--text-onink-soft);
  font-size: 0.8rem;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-xl);
}

.service-card {
  background: var(--bone);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: background 0.25s var(--ease);
}

.service-card:hover {
  background: var(--bone-dim);
}

.service-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  margin-bottom: var(--space-xs);
}
.service-card-icon .icon { width: 20px; height: 20px; }

.service-card h3 {
  font-size: 1.15rem;
  color: var(--ink);
}

.service-card p {
  font-size: 0.94rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: var(--space-xs);
}
.service-card-link .icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.service-card-link:hover .icon { transform: translateX(3px); }

.service-card--urgent .service-card-icon { color: var(--clay); border-color: rgba(122,46,34,0.25); }
.service-card--urgent .service-card-link { color: var(--clay); }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.differentiator {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.differentiator-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  border-bottom: 2px solid var(--brass);
  margin-bottom: var(--space-xs);
}
.differentiator-icon .icon { width: 24px; height: 24px; }

.differentiator h3 {
  font-size: 1.05rem;
  color: var(--ink);
}
.section--ink .differentiator h3 { color: var(--bone); }

.differentiator p {
  font-size: 0.93rem;
}

/* ============================================================
   IMAGE + TEXT SPLIT (services detail, process, about)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.split-media:hover img {
  transform: scale(1.04);
}

.split-media--portrait {
  aspect-ratio: 4/5;
  max-width: 420px;
}

.split-eyebrow-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: var(--space-md);
}
.split-eyebrow-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--text-soft);
}
.split-eyebrow-list .icon { width: 16px; height: 16px; color: var(--brass); flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonial-card {
  border: 1px solid var(--line);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.section--ink .testimonial-card { border-color: var(--line-onink); }

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--brass);
}
.testimonial-stars .icon { width: 15px; height: 15px; }

.testimonial-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.section--ink .testimonial-quote { color: var(--bone); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brass-dim);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-soft);
}
.section--ink .testimonial-location { color: var(--text-onink-soft); }

/* ============================================================
   AI CAPTURE / VALUE BANNER (home)
   ============================================================ */
.capture-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.capture-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--brass-dim);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.capture-badge .icon { width: 26px; height: 26px; }

.capture-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.capture-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-onink-soft);
}
.capture-list .icon { width: 18px; height: 18px; color: var(--brass); flex-shrink: 0; margin-top: 0.1rem; }

.capture-visual {
  border: 1px solid var(--line-onink);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--ink-soft);
}

.capture-chat-line {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}
.capture-chat-line:last-child { margin-bottom: 0; }
.capture-chat-bubble {
  background: rgba(244,239,230,0.06);
  border: 1px solid var(--line-onink);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  color: var(--text-onink-soft);
}
.capture-chat-line--user .capture-chat-bubble {
  background: var(--brass);
  color: var(--ink);
  border-color: transparent;
  font-weight: 500;
}
.capture-chat-line--user { justify-content: flex-end; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: var(--space-xs);
  max-width: none;
}

.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--text-onink-soft);
  padding-block: var(--space-xl);
  border-top: 1px solid var(--line-onink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .nav-logo { color: var(--bone); margin-bottom: var(--space-sm); }

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 300px;
  color: var(--text-onink-soft);
}

.footer-col h4 {
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col li {
  font-size: 0.92rem;
  color: var(--text-onink-soft);
}

.footer-col a {
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--bone);
}

.footer-phone {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bone) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-phone .icon { color: var(--brass); width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid var(--line-onink);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-credit img { height: 18px; width: auto; opacity: 0.85; }

/* ============================================================
   FORMS
   ============================================================ */
.form-panel {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.form-group label {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bone);
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.required { color: var(--clay); margin-left: 2px; }

.form-success {
  display: none;
  background: var(--bone-dim);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: var(--space-md);
  text-align: center;
}
.form-success .icon { width: 28px; height: 28px; color: var(--brass); margin-bottom: 0.5rem; }

/* ============================================================
   SIDEBAR CARDS (contact page)
   ============================================================ */
.side-card {
  padding: var(--space-md);
}
.side-card--ink {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
}
.side-card--dim {
  background: var(--bone-dim);
}
.side-card--line {
  border: 1px solid var(--line);
}

.side-card-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--brass);
  margin-block: 0.5rem;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: steps;
}
.step-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-soft);
  counter-increment: steps;
}
.step-list li::before {
  content: counter(steps);
  background: var(--ink);
  color: var(--bone);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--font-body);
}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
.chat-launcher {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid var(--brass-dim);
  border-radius: 100px;
  padding: 0.85rem 1.3rem 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: transform 0.2s var(--ease), background 0.2s, opacity 0.3s var(--ease);
}
/* Fades in once the hero (which has its own "Ask AI" CTA) scrolls out of view —
   avoids stacking two identical actions in the same small mobile viewport. */
.chat-launcher.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.chat-launcher:hover { transform: translateY(-2px); background: #1c1c1f; }
.chat-launcher .icon { color: var(--brass); width: 20px; height: 20px; }
.chat-launcher-dot {
  position: absolute;
  top: -3px; right: -3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brass);
  border: 2px solid var(--bone);
}

.chat-panel {
  position: fixed;
  right: var(--space-md);
  bottom: calc(var(--space-md) + 70px);
  z-index: 201;
  width: min(380px, calc(100vw - 2 * var(--space-md)));
  max-height: min(600px, calc(100vh - 140px));
  background: var(--bone);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
.chat-panel.open { display: flex; }

.chat-header {
  background: var(--ink);
  color: var(--bone);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.chat-header-title .icon { color: var(--brass); width: 18px; height: 18px; }

.chat-header-sub {
  font-size: 0.74rem;
  color: var(--text-onink-soft);
  margin-top: 0.1rem;
}

.chat-close {
  color: var(--text-onink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.chat-close:hover { color: var(--bone); }
.chat-close .icon { width: 18px; height: 18px; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.chat-msg {
  display: flex;
  gap: 0.5rem;
  max-width: 88%;
}
.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }

.chat-bubble {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}
.chat-msg--user .chat-bubble {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.chat-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.chat-chip {
  border: 1.5px solid var(--line);
  background: var(--bone);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.chat-chip:hover { border-color: var(--brass); background: var(--bone-dim); }
.chat-chip.is-selected {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.chat-chip--urgent {
  border-color: rgba(122,46,34,0.3);
  color: var(--clay);
}
.chat-chip--urgent:hover { border-color: var(--clay); background: rgba(122,46,34,0.06); }

.chat-input-row {
  border-top: 1px solid var(--line);
  padding: var(--space-sm);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input-row input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.chat-input-row input:focus {
  outline: none;
  border-color: var(--brass);
}

.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send:hover { background: #232326; }
.chat-send .icon { width: 16px; height: 16px; }

.chat-typing {
  display: inline-flex;
  gap: 3px;
  padding: 0.4rem 0;
}
.chat-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-soft);
  animation: chat-typing-bounce 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ============================================================
   SCROLL-REVEAL (motion that whispers)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  transition-delay: calc(var(--stagger-i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST
   Layout choices below are deliberate for phone, not just a
   squeeze of the desktop grid (checklist #7).
   ============================================================ */
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

@media (max-width: 900px) {
  .capture-banner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-onink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-sm) var(--space-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line-onink);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }
  .nav-phone-text { display: none; }

  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero-media img { object-position: center 72%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .split { grid-template-columns: 1fr; }
  .split-media--portrait { max-width: 280px; margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding-block: var(--space-xl); }

  /* Sticky mobile action bar sits above the chat launcher */
  .mobile-action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    display: flex;
    background: var(--ink);
    border-top: 1px solid var(--line-onink);
  }
  .mobile-action-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bone);
  }
  .mobile-action-bar a:first-child { border-right: 1px solid var(--line-onink); }
  .mobile-action-bar .icon { width: 16px; height: 16px; color: var(--brass); }

  body { padding-bottom: 56px; }

  .chat-launcher { bottom: calc(var(--space-md) + 56px); }
  .chat-panel { bottom: calc(var(--space-md) + 56px + 70px); }
}

@media (min-width: 768px) {
  .mobile-action-bar { display: none; }
}

/* ============================================================
   SMALL UTILITIES — targeted one-off layout tweaks only.
   Not a general utility framework; used sparingly by design.
   ============================================================ */
.u-mb-sm  { margin-bottom: var(--space-sm); }
.u-mb-md  { margin-bottom: var(--space-md); }
.u-mb-lg  { margin-bottom: var(--space-lg); }
.u-mt-md  { margin-top: var(--space-md); }
.u-mt-lg  { margin-top: var(--space-lg); }
.u-mt-xl  { margin-top: var(--space-xl); }
.u-center { text-align: center; }
.u-title-wide { max-width: none; }
.u-order-first { order: -1; }
.u-narrow-560 { max-width: 560px; }
.u-icon-brass { color: var(--brass); }
.u-icon-clay  { color: var(--clay); }
.u-actions-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.u-actions-row--center { justify-content: center; }
