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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F7F5F0;
  color: #0F1B2D;
  overflow-x: clip;         /* bulletproof horizontal clamp */
  min-width: 320px;
}

img, svg, video, canvas { max-width: 100%; display: block; }

::selection { background: rgba(212, 136, 15, 0.20); color: #0F1B2D; }
input::placeholder, textarea::placeholder { color: #9CA3AF; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(15, 27, 45, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15, 27, 45, 0.25); }
::-webkit-scrollbar-track { background: transparent; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Accessibility: visible keyboard focus + skip-to-content link */
:focus-visible { outline: 3px solid #F5A623; outline-offset: 2px; border-radius: 3px; }
main:focus-visible { outline: none; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: #0F1B2D; color: #fff; padding: 10px 16px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

/* Wrap long words only as a last resort — no auto-hyphenation */
h1, h2, h3, h4 { overflow-wrap: break-word; }

/* Hide the default reveal icon in number-like inputs */
input { font: inherit; }

/* ────────────────────────────────────────────────────────────
   Responsive utility classes — CSS-driven so they're correct
   on the first paint, regardless of JS hydration.
   ──────────────────────────────────────────────────────────── */

/* Visibility helpers */
.etw-mobile-only { display: initial; }
.etw-desktop-only { display: none; }
@media (min-width: 768px) {
  .etw-mobile-only { display: none !important; }
  .etw-desktop-only { display: initial !important; }
}

/* Grids */
.etw-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .etw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.etw-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) {
  .etw-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .etw-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.etw-grid-5 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .etw-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.etw-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
}
@media (min-width: 1024px) {
  .etw-hero-grid {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 64px;
  }
}

.etw-norms-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 1024px) {
  .etw-norms-head {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
  }
}

.etw-connect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 1024px) {
  .etw-connect-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 40px;
  }
}

.etw-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 720px) {
  .etw-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 1024px) {
  .etw-footer-grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 48px;
  }
}

.etw-roles {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 -4px;
  padding-inline: 4px;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
}
.etw-roles::-webkit-scrollbar { display: none; }
.etw-roles > * { flex-shrink: 0; }
@media (min-width: 1024px) {
  .etw-roles {
    flex-direction: column;
    overflow: visible;
    position: sticky;
    top: 96px;
    margin: 0;
    padding: 0;
  }
  .etw-roles > * { width: 100%; }
}

/* Animations */
@keyframes etw-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes etw-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ────────────────────────────────────────────────────────────
   Content pages (service / financing / location / blog).
   Static, zero-JS. Shared so every content template matches.
   ──────────────────────────────────────────────────────────── */
.cwrap { max-width: 880px; margin-inline: auto; padding-inline: 24px; }

.cpage-hero { background: #F7F5F0; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(217, 212, 200, 0.5); }
.cpage-hero h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.02em; color: #0F1B2D; margin: 0 0 24px; max-width: 18ch; }
.eyebrow { font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600; color: #9C6608; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; }
.lead { font-family: 'DM Sans', sans-serif; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.65; color: #5C6677; margin: 0 0 16px; max-width: 64ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 999px; font-family: 'DM Sans', sans-serif; font-size: 14.5px; font-weight: 600; letter-spacing: -0.1px; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.btn:active { transform: translateY(1px); }
.btn-navy { background: #0F1B2D; color: #fff; }
.btn-navy:hover { box-shadow: 0 8px 24px rgba(15, 27, 45, 0.22); }
.btn-ghost { background: transparent; color: #0F1B2D; border: 1px solid #D9D4C8; }
.btn-ghost:hover { border-color: #0F1B2D; }
.btn-amber { background: #F5A623; color: #0F1B2D; }
.btn-amber:hover { box-shadow: 0 10px 32px rgba(245, 166, 35, 0.4); }

.cpage-body { padding-block: clamp(40px, 7vw, 72px); }
.block { margin-bottom: clamp(36px, 5vw, 56px); }
.block h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.16; letter-spacing: -0.015em; color: #0F1B2D; margin: 0 0 18px; }
.block h3 { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 600; color: #0F1B2D; margin: 24px 0 8px; }
.block p { font-family: 'DM Sans', sans-serif; font-size: 16.5px; line-height: 1.7; color: #303a47; margin: 0 0 16px; }
.block ul { list-style: none; margin: 8px 0 0; padding: 0; }
.block li { position: relative; font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.6; color: #303a47; padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(217, 212, 200, 0.45); }
.block li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: #D4880F; }
.block p a { color: #9C6608; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color 160ms ease; }
.block p a:hover { color: #D4880F; }

.faq details { border-bottom: 1px solid rgba(217, 212, 200, 0.6); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; color: #0F1B2D; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: #9C6608; font-weight: 400; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; color: #5C6677; margin: 0 0 18px; max-width: 70ch; }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr; } }
.related-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: #FDFBF6; border: 1px solid rgba(217, 212, 200, 0.8); border-radius: 14px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: #0F1B2D; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.related-card:hover { border-color: #D4880F; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 27, 45, 0.06); }
.related-card .arrow { color: #9C6608; }

.cta-band { background: #0F1B2D; padding: clamp(56px, 8vw, 88px) 0; text-align: center; }
.cta-band h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(28px, 4vw, 40px); color: #fff; margin: 0 0 14px; }
.cta-band p { font-family: 'DM Sans', sans-serif; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin: 0 auto 28px; max-width: 56ch; }
