/* ================================================================
   Cardinal Customs — Shared Site Styles
   Extracted from home.html for use across all pages.
   ================================================================ */

:root {
  --bg: #f4efe6;
  --bg-elev: #ede5d5;
  --ink: #14201a;
  --ink-soft: #3c4a42;
  --ink-mute: #6b7a70;
  --line: #d6cdb8;
  --accent: #8b3a2b;
  --accent-deep: #5c2419;
  --accent-warm: #c47a4d;
  --gold: #a8862a;
  --white: #fbf8f1;
  --shadow: 0 1px 0 rgba(20,32,26,.04), 0 30px 60px -30px rgba(20,32,26,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139,58,43,.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(168,134,42,.05) 0%, transparent 40%);
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

a[href^="tel:"], a[href^="mailto:"] {
  color: inherit;
  -webkit-text-fill-color: inherit;
  text-decoration: none;
}

/* ---------- URGENCY BAR ---------- */
.alert-bar {
  background: var(--ink);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  position: relative;
  z-index: 60;
}
.alert-bar strong { color: var(--accent-warm); font-weight: 600; }
.alert-bar a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent-warm); text-underline-offset: 3px; }
.pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent-warm);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,230,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo .word { line-height: 1; }
.logo .word em { font-style: italic; font-weight: 400; color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.phone-nav {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 15px;
}
.phone-nav svg { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-large { padding: 16px 28px; font-size: 16px; }

/* ---------- HERO ---------- */
.hero { padding: 70px 0 90px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-grid.single { grid-template-columns: 1fr; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
h1.hero-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 50, 'opsz' 144;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 580px;
}
.hero-trust.wide { max-width: 100%; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); }
.trust-item { font-size: 12.5px; color: var(--ink-mute); line-height: 1.4; }
.trust-item strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 50px; height: 50px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.panel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.panel-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.panel-list { list-style: none; }
.panel-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.panel-list li:first-child { border-top: none; }
.panel-list .status {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
  font-size: 13.5px;
  flex-shrink: 0;
}
.panel-list .status.live { color: var(--accent); }
.panel-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ---------- SECTIONS ---------- */
section { padding: 90px 0; position: relative; }
.section-eyebrow {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 40;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 820px;
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 60px;
  line-height: 1.55;
}

/* ---------- IEEPA PRIMARY (home) ---------- */
.ieepa { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ieepa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ieepa-side {
  background: var(--bg);
  padding: 40px;
  border: 1px solid var(--line);
  position: sticky;
  top: 110px;
}
.ieepa-side-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.ieepa-side h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.timeline { list-style: none; }
.timeline li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.timeline li:first-child { border-top: none; }
.timeline li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline .date {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.timeline strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }
.ieepa-main h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.ieepa-main h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.ieepa-main > p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}
.ieepa-main > p strong { color: var(--ink); font-weight: 600; }
.ieepa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0 36px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ieepa-stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.ieepa-stat .sub {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}
.service {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service:nth-child(2n) { border-right: none; }
.service:nth-last-child(-n+2) { border-bottom: none; }
.service:hover { background: var(--bg); }
.service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.service h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--ink);
}
.service p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.step { position: relative; padding-top: 32px; }
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.step::after {
  content: '';
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.step h4, .step h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- DIY GUIDE ---------- */
.guide { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.guide-intro-grid .section-intro { margin-bottom: 0; }
.guide-callout {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}
.guide-callout-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.guide-callout h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.guide-callout p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.guide-callout p:last-child { margin-bottom: 0; }
.guide-callout .btn { margin-top: 8px; }

.guide-prereqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 70px;
}
.prereq {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
}
.prereq-tag {
  position: absolute;
  top: -10px; left: 24px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 12px;
  padding: 4px 12px;
  letter-spacing: 0.05em;
}
.prereq h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  line-height: 1.2;
}
.prereq p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.prereq p strong { color: var(--ink); font-weight: 600; }

.guide-steps {
  counter-reset: guidestep;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  list-style: none;
}
.guide-step {
  counter-increment: guidestep;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 40px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.guide-step:last-child { border-bottom: none; }
.guide-step::before {
  content: counter(guidestep, decimal-leading-zero);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.guide-step-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.guide-step-body > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.guide-step-body > p:last-child { margin-bottom: 0; }
.guide-step-body strong { color: var(--ink); font-weight: 600; }
.guide-step-body code {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1px 7px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 13.5px;
  color: var(--accent-deep);
  border-radius: 3px;
}
.step-tip {
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--bg);
  border-left: 3px solid var(--accent-warm);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.step-tip strong {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  margin-right: 6px;
}

.guide-warning {
  margin-top: 60px;
  background: var(--ink);
  color: var(--white);
  padding: 50px;
  position: relative;
}
.guide-warning::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
.guide-warning-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 14px;
}
.guide-warning h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 22px;
}
.guide-warning ul { list-style: none; columns: 2; column-gap: 40px; }
.guide-warning li {
  padding: 10px 0 10px 20px;
  position: relative;
  color: rgba(251,248,241,.75);
  font-size: 14.5px;
  line-height: 1.5;
  break-inside: avoid;
}
.guide-warning li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: 600;
}

.guide-close {
  margin-top: 60px;
  text-align: center;
  padding: 50px 30px;
  background: var(--white);
  border: 1px solid var(--line);
}
.guide-close h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.guide-close h3 em { font-style: italic; color: var(--accent); font-weight: 300; }
.guide-close p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ---------- VALUE / WHY US ---------- */
.value { background: var(--ink); color: var(--white); padding: 110px 0; position: relative; overflow: hidden; }
.value::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,58,43,.4) 0%, transparent 60%);
  pointer-events: none;
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.value h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.value h2 em { font-style: italic; color: var(--accent-warm); }
.value-list { list-style: none; }
.value-list li {
  padding: 22px 0;
  border-top: 1px solid rgba(251,248,241,.15);
  display: flex; gap: 20px; align-items: flex-start;
}
.value-list li:last-child { border-bottom: 1px solid rgba(251,248,241,.15); }
.check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  margin-top: 2px;
}
.value-list strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}
.value-list p { color: rgba(251,248,241,.7); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}
.faq-a {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- CTA SECTION ---------- */
.cta-section { padding: 120px 0; background: var(--bg-elev); border-top: 1px solid var(--line); }
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cta-left { padding: 60px; border-right: 1px solid var(--line); }
.cta-left h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-left p { color: var(--ink-soft); font-size: 17px; margin-bottom: 32px; }
.cta-left .btn { width: 100%; justify-content: center; }
.cta-right {
  padding: 60px;
  background: var(--ink);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
}
.cta-right .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-warm);
  margin-bottom: 16px;
}
.cta-right .phone-big {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 18px;
  display: block;
  line-height: 1.05;
}
.cta-right .phone-big:hover { color: var(--accent-warm); }
.cta-right p { color: rgba(251,248,241,.7); font-size: 15px; }
.cta-right .hours {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(251,248,241,.15);
  font-size: 14px;
  color: rgba(251,248,241,.6);
}

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: var(--white); padding: 70px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 18px; }
.footer-brand p { color: rgba(251,248,241,.6); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer h5 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--accent-warm);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer ul span {
  color: rgba(251,248,241,.7);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer ul a:hover { color: var(--white); }

footer a, footer a:link, footer a:visited, footer a:hover, footer a:active {
  color: rgba(251,248,241,.7);
  -webkit-text-fill-color: rgba(251,248,241,.7);
  text-decoration: none;
}
footer a:hover { color: var(--white); -webkit-text-fill-color: var(--white); }
footer .logo, footer .logo:link, footer .logo:visited, footer .logo:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}
.footer-bot {
  border-top: 1px solid rgba(251,248,241,.12);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: rgba(251,248,241,.5);
}
.disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(251,248,241,.4);
  max-width: 800px;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   NEW COMPONENTS — Calculator, Eligibility, Tables, Inline links
   ================================================================ */

/* ---------- CALCULATOR ---------- */
.calc-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.calc-pane {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px;
  box-shadow: var(--shadow);
}
.calc-pane h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.slider-block { margin-bottom: 32px; }
.slider-block label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.slider-block label .val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
}
.preset-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px;
}
.preset-row button {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  transition: all .2s;
}
.preset-row button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Result pane */
.result-pane {
  background: var(--ink);
  color: var(--white);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.result-pane::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,122,77,.3), transparent 60%);
  pointer-events: none;
}
.result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-warm);
  margin-bottom: 16px;
  position: relative;
}
.result-number {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'SOFT' 50, 'opsz' 144;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
}
.result-sub {
  color: rgba(251,248,241,.7);
  font-size: 14.5px;
  margin-bottom: 28px;
  position: relative;
}
.result-breakdown {
  border-top: 1px solid rgba(251,248,241,.15);
  padding-top: 24px;
  position: relative;
}
.result-breakdown-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(251,248,241,.75);
}
.result-breakdown-row strong { color: var(--white); font-weight: 600; }
.result-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(251,248,241,.15);
  position: relative;
}
.result-cta .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.result-cta .btn-primary { background: var(--accent); color: var(--white); }
.result-cta .btn-primary:hover { background: var(--accent-warm); }
.result-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(251,248,241,.3);
}
.result-cta .btn-secondary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- ELIGIBILITY CHECKER ---------- */
.elig-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 56px;
  box-shadow: var(--shadow);
}
.elig-shell h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.elig-shell > p.lede {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 36px;
}
.elig-question {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  align-items: start;
}
.elig-question:last-of-type { border-bottom: 1px solid var(--line); }
.elig-question .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  line-height: 1.3;
}
.elig-question .body {
  display: flex; flex-direction: column; gap: 12px;
}
.elig-question label.q {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice {
  flex: 1;
  min-width: 120px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: all .15s ease;
}
.choice:hover { border-color: var(--ink); color: var(--ink); }
.choice.selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.choice.selected.yes { background: var(--accent); border-color: var(--accent); }
.elig-result {
  display: none;
  margin-top: 36px;
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.elig-result.show { display: block; }
.elig-result.eligible { background: var(--accent); color: var(--white); border-color: var(--accent); }
.elig-result.eligible::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: var(--accent-warm);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.elig-result.partial { background: var(--bg-elev); border-left: 4px solid var(--gold); }
.elig-result.ineligible { background: var(--bg-elev); border-left: 4px solid var(--ink-soft); }
.elig-result h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.elig-result.eligible h3 { font-style: italic; }
.elig-result p { font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; }
.elig-result.eligible p { color: rgba(251,248,241,.9); }
.elig-result.partial p, .elig-result.ineligible p { color: var(--ink-soft); }
.elig-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.elig-result.eligible .btn-primary { background: var(--white); color: var(--accent); }
.elig-result.eligible .btn-primary:hover { background: var(--accent-warm); color: var(--white); }
.elig-result.eligible .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(251,248,241,.4);
}
.elig-result.eligible .btn-secondary:hover { background: var(--white); color: var(--accent); }

/* ---------- TABLES ---------- */
table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14.5px;
}
table.data thead {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
table.data th {
  text-align: left;
  padding: 16px 20px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  font-size: 14px;
}
table.data td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.5;
}
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover { background: var(--bg); }
table.data strong { color: var(--ink); font-weight: 600; }

/* ---------- INLINE NOTES (article body) ---------- */
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-body > p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 22px;
}
.article-body > p strong { color: var(--ink); font-weight: 600; }
.article-body h2.subh {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 60px 0 24px;
}
.article-body h2.subh em { font-style: italic; color: var(--accent); font-weight: 300; }
.article-body h3.subh3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
}
.article-body ul.bullets, .article-body ol.bullets {
  margin: 18px 0 22px 0;
  padding-left: 0;
  list-style: none;
}
.article-body ul.bullets li, .article-body ol.bullets li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.article-body ul.bullets li::before {
  content: '';
  position: absolute;
  left: 8px; top: 16px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.article-body ol.bullets { counter-reset: bull; }
.article-body ol.bullets li {
  counter-increment: bull;
}
.article-body ol.bullets li::before {
  content: counter(bull, decimal-leading-zero);
  position: absolute;
  left: 0; top: 6px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.article-body a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(139,58,43,.3);
  text-underline-offset: 3px;
  font-weight: 500;
}
.article-body a:not(.btn):hover { text-decoration-color: var(--accent); }

/* Inline callout block */
.callout-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  margin: 30px 0;
}
.callout-block .ct-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.callout-block p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.callout-block.warn { border-left-color: var(--accent-warm); }
.callout-block.warn .ct-label { color: var(--accent-warm); }

/* ---------- BREADCRUMB ---------- */
.crumb {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.crumb a {
  color: var(--ink-mute);
  text-decoration: none;
}
.crumb a:hover { color: var(--accent); }
.crumb .sep { margin: 0 6px; color: var(--line); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .container { padding: 0 22px; }
  .hero { padding: 40px 0 60px; }
  .hero-grid, .ieepa-grid, .value-grid, .faq-grid, .cta-card, .guide-intro-grid, .calc-shell { grid-template-columns: 1fr; gap: 40px; }
  .ieepa-side { position: static; }
  .cta-left, .cta-right { padding: 40px; border-right: none; }
  .cta-left { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .service { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .service:last-child { border-bottom: none !important; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  section { padding: 60px 0; }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ieepa-stats { grid-template-columns: 1fr; }
  .phone-nav span { display: none; }
  .alert-bar { font-size: 12px; padding: 8px 12px; }
  .guide-prereqs { grid-template-columns: 1fr; gap: 16px; }
  .guide-step { grid-template-columns: 1fr; gap: 12px; padding: 32px 24px; }
  .guide-step::before { font-size: 36px; }
  .guide-warning { padding: 36px 28px; }
  .guide-warning ul { columns: 1; }
  .guide-warning h3 { font-size: 24px; }
  .calc-pane, .result-pane, .elig-shell { padding: 32px 24px; }
  table.data { font-size: 13.5px; }
  table.data th, table.data td { padding: 12px 14px; }
}
@media (max-width: 540px) {
  .process-grid, .footer-grid, .hero-trust { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; gap: 10px; }
  .elig-question { grid-template-columns: 1fr; gap: 8px; }
  .elig-question .num { font-size: 16px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-title, .hero-sub, .hero-ctas, .hero-trust, .hero-panel {
  animation: fadeUp .8s ease backwards;
}
.hero-sub { animation-delay: .1s; }
.hero-ctas { animation-delay: .2s; }
.hero-trust { animation-delay: .3s; }
.hero-panel { animation-delay: .15s; }
