/* =============================================
   CHON ENTERPRISES, LLC — Iteration 2 Redesign
   Layout: Editorial / Typographic / Institutional
   Palette: Ink + Cream + Dark Gold
   Fonts: Playfair Display (serif) + Plus Jakarta Sans
   ============================================= */

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

/* ── TOKENS ──────────────────────────────────── */
:root {
  --ink:        #090f1a;   /* near-black, hero bg, footer */
  --navy:       #0c1c38;   /* dark navy, capability section */
  --navy-mid:   #162c54;

  --gold:       #b5870b;   /* dark gold accent */
  --gold-hover: #9a720a;
  --gold-light: #fdf4db;
  --gold-rule:  #d4a91e;

  --cream:      #f7f3ec;   /* warm off-white, about section */
  --white:      #ffffff;
  --smoke:      #f4f2ee;

  --rule:       #e2ddd5;   /* section dividers */
  --rule-dark:  rgba(255,255,255,0.10);

  --text:       #18180f;
  --muted:      #6b6860;
  --faint:      #a09d97;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:  0 1px 4px rgba(10,8,5,0.06);
  --shadow-md:  0 6px 24px rgba(10,8,5,0.09);
  --shadow-lg:  0 16px 56px rgba(10,8,5,0.13);

  --r:     6px;
  --r-lg:  12px;
  --t:     0.25s ease;
  --t-f:   0.15s ease;

  --max:   1160px;
  --pad:   clamp(20px, 4vw, 48px);
  --sec:   clamp(72px, 10vw, 120px);
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--sans); cursor: pointer; }

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

/* ── LAYOUT ──────────────────────────────────── */
.section-wrap { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--pad); }

/* ── EYEBROW LABELS ──────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--dim  { color: rgba(255,255,255,0.35); }

/* ── SKIP LINK ───────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--gold); color: #fff;
  padding: 8px 18px; border-radius: 0 0 4px 4px;
  font-size: 0.875rem; font-weight: 600; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── REVEAL ANIMATION ────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid var(--gold); border-radius: var(--r);
  transition: background var(--t), border-color var(--t), transform var(--t-f), box-shadow var(--t);
  cursor: pointer; white-space: nowrap;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--gold-hover); border-color: var(--gold-hover);
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(181,135,11,0.28);
}
.btn-primary:focus-visible { outline: 3px solid rgba(181,135,11,0.45); outline-offset: 3px; }

.btn-ghost-hero {
  display: inline-flex; align-items: center;
  padding: 14px 26px;
  background: transparent; color: rgba(255,255,255,0.72);
  font-size: 0.875rem; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.22); border-radius: var(--r);
  transition: color var(--t), border-color var(--t), background var(--t);
  white-space: nowrap;
}
.btn-ghost-hero:hover, .btn-ghost-hero:focus-visible {
  color: #fff; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07);
}
.btn-ghost-hero:focus-visible { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 3px; }

/* ── COOKIE BANNER ───────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 5000;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
.cookie-wrap {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-wrap p { font-size: 0.82rem; color: rgba(255,255,255,0.72); line-height: 1.55; flex: 1; min-width: 200px; }
.cookie-wrap a { color: var(--gold-rule); text-decoration: underline; text-underline-offset: 2px; }
.cookie-wrap a:hover { color: #fff; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-accept {
  padding: 8px 20px; background: var(--gold); color: #fff;
  font-size: 0.8rem; font-weight: 700; border: none; border-radius: 4px;
  transition: background var(--t-f);
}
#cookie-accept:hover { background: var(--gold-hover); }
#cookie-decline {
  padding: 8px 16px; background: transparent; color: rgba(255,255,255,0.55);
  font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 4px;
  transition: color var(--t-f), border-color var(--t-f);
}
#cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.45); }
#cookie-accept:focus-visible, #cookie-decline:focus-visible { outline: 2px solid var(--gold-rule); outline-offset: 2px; }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--t), box-shadow var(--t);
}
#navbar.scrolled {
  background: rgba(9,15,26,0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.nav-wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 1.575rem; font-weight: 800;
  color: #fff; letter-spacing: -0.01em; flex-shrink: 0;
}
.nav-brand img { border-radius: 4px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.72);
  padding: 7px 12px; border-radius: 4px;
  transition: color var(--t-f), background var(--t-f);
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a:focus-visible { outline: 2px solid var(--gold-rule); outline-offset: 1px; }
.nav-consult {
  background: var(--gold) !important; color: #fff !important;
  padding: 8px 16px !important; border-radius: 4px !important; font-weight: 700 !important;
  margin-left: 8px;
}
.nav-consult:hover { background: var(--gold-hover) !important; }

/* Hamburger */
#hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 22px; height: 16px;
  background: none; border: none; padding: 0;
}
#hamburger span {
  display: block; height: 1.5px; background: rgba(255,255,255,0.88); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
#hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
#hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
#mobile-nav {
  display: flex; flex-direction: column;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.07);
  padding: 10px 0 16px;
}
#mobile-nav[hidden] { display: none; }
#mobile-nav a {
  padding: 13px var(--pad); font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.78); border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--t-f), color var(--t-f);
}
#mobile-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.mobile-consult {
  margin: 12px var(--pad) 0; padding: 12px 20px !important;
  background: var(--gold) !important; color: #fff !important;
  border-radius: var(--r); text-align: center; font-weight: 700 !important;
  border-bottom: none !important;
}
.mobile-consult:hover { background: var(--gold-hover) !important; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ink); overflow: hidden;
}
.hero-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) 60px;
  width: 100%;
}

/* Eyebrow line with rules on each side */
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.38);
  margin-bottom: 44px;
  animation: fadeUp 0.7s ease both;
}
.hero-eyebrow-rule {
  display: block; flex: 1; height: 1px; background: rgba(255,255,255,0.12);
}

/* Hero headline — Playfair Display, massive */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.0;
  margin-bottom: 32px;
  animation: fadeUp 0.75s 0.1s ease both;
}
.hero-title em {
  font-style: normal; font-weight: 700;
  background: linear-gradient(90deg, #e8c850 0%, #c89020 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Thin horizontal rule below headline */
.hero-rule {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--gold-rule), transparent);
  margin-bottom: 32px;
  animation: fadeUp 0.75s 0.2s ease both;
}

/* Bottom row: subtitle + CTAs */
.hero-bottom {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  animation: fadeUp 0.75s 0.25s ease both;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem); color: rgba(255,255,255,0.60);
  line-height: 1.78; max-width: 540px;
}
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Credential strip — pinned at base of hero */
.hero-creds {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeIn 1s 0.5s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-cred {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 22px var(--pad); text-align: center;
}
.hero-cred-val {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 800;
  color: #fff; letter-spacing: -0.01em; line-height: 1.2;
}
.hero-cred-lbl {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-top: 4px;
}
.hero-cred-div { width: 1px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ════════════════════════════════════════════
   SERVICES  — numbered editorial list
════════════════════════════════════════════ */
#services { background: var(--white); }

.section-hd { margin-bottom: 52px; }
.section-hd h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1.12;
  margin-bottom: 16px;
}
.section-intro { font-size: 1rem; color: var(--muted); line-height: 1.78; max-width: 560px; }
.br-d { display: none; }

/* Numbered list */
.svc-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 0; padding: 44px 0;
  border-bottom: 1px solid var(--rule);
  transition: background var(--t);
}
.svc-row:hover { background: rgba(181,135,11,0.03); }

.svc-num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 800;
  color: var(--rule); line-height: 1; letter-spacing: -0.04em;
  padding-top: 4px; user-select: none;
  transition: color var(--t);
}
.svc-row:hover .svc-num { color: var(--gold-rule); }

.svc-content { padding-right: 40px; }
.svc-title {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.025em; margin-bottom: 12px;
  transition: color var(--t);
}
.svc-row:hover .svc-title { color: var(--navy); }
.svc-desc { font-size: 0.925rem; color: var(--muted); line-height: 1.78; margin-bottom: 18px; }
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
}
.svc-tags li {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gold); background: var(--gold-light);
  padding: 4px 11px; border-radius: 100px;
}

/* ════════════════════════════════════════════
   ABOUT  — editorial 2-column split
════════════════════════════════════════════ */
#about { background: var(--cream); }

.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}

/* Left: pull quote */
.about-left {}
.about-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy); line-height: 1.3;
  letter-spacing: -0.02em;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  margin-bottom: 44px;
}
.about-quote p { margin: 0; }

.about-values { display: flex; flex-direction: column; gap: 26px; }
.about-val { display: flex; align-items: flex-start; gap: 16px; }
.about-val-mark {
  display: block; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--gold); border-radius: 50%; margin-top: 8px;
}
.about-val h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 5px;
}
.about-val p { font-size: 0.875rem; color: var(--muted); line-height: 1.72; }

/* Right: company card */
.about-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.about-card-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.about-card > p {
  font-size: 0.875rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px;
}
.about-dl { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 20px; }
.about-dl-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--smoke);
}
.about-dl-row:last-child { border-bottom: none; }
.about-dl dt { font-size: 0.78rem; color: var(--faint); font-weight: 500; flex-shrink: 0; }
.about-dl dd { font-size: 0.82rem; color: var(--text); font-weight: 600; text-align: right; }
.about-dl dd a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.about-dl dd a:hover { color: var(--gold-hover); }

/* ════════════════════════════════════════════
   CAPABILITY  — dark section, table + list
════════════════════════════════════════════ */
.dark-section { background: var(--navy); }
.dark-section .section-wrap {}

.cap-split {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 72px; align-items: start;
}
.cap-left h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 36px;
}

.cap-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg); overflow: hidden;
}
.cap-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.cap-table tr:last-child { border-bottom: none; }
.cap-table th, .cap-table td { padding: 14px 18px; text-align: left; vertical-align: top; font-size: 0.84rem; }
.cap-table th {
  font-weight: 600; color: rgba(255,255,255,0.35);
  white-space: nowrap; width: 36%;
  background: rgba(255,255,255,0.03);
}
.cap-table td { color: rgba(255,255,255,0.80); font-weight: 500; }

.badge-active {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700;
  color: #34d399; background: rgba(52,211,153,0.12);
  padding: 3px 10px; border-radius: 100px;
}
.badge-active::before {
  content: ''; width: 6px; height: 6px; background: #34d399;
  border-radius: 50%; display: block;
}

.naics-stack { display: flex; flex-direction: column; gap: 9px; }
.naics-row { display: flex; flex-direction: column; gap: 2px; }
.naics-row code { font-size: 0.78rem; font-weight: 800; color: var(--gold-rule); font-family: monospace; letter-spacing: 0.05em; }
.naics-row span { font-size: 0.77rem; color: rgba(255,255,255,0.50); line-height: 1.4; }

/* Right col */
.cap-right-title {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  color: #fff; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px;
}
.check-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.check-list li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 6px 12px; border-radius: 100px;
}
.check-list li svg { color: var(--gold-rule); flex-shrink: 0; }

.diff-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
.diff-item { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.diff-item:last-child { border-bottom: none; }
.diff-item h4 { font-size: 0.82rem; font-weight: 700; color: var(--gold-rule); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.06em; }
.diff-item p { font-size: 0.875rem; color: rgba(255,255,255,0.52); line-height: 1.72; }

/* ════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════ */
#contact { background: var(--white); }

.contact-split {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 72px; align-items: start;
}

.contact-left h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1.12;
  margin-bottom: 16px;
}
.contact-intro { font-size: 0.925rem; color: var(--muted); line-height: 1.78; margin-bottom: 36px; }
.contact-meta { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.contact-meta-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.contact-meta-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.contact-meta-val { font-size: 0.9rem; font-weight: 600; color: var(--text); }
a.contact-meta-val { color: var(--gold); }
a.contact-meta-val:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Form */
.contact-right {}

.form-success {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 20px; background: #d1fae5; border: 1px solid #6ee7b7;
  border-radius: var(--r); margin-bottom: 24px; color: #065f46;
}
.form-success[hidden] { display: none; }
.form-success svg { flex-shrink: 0; margin-top: 2px; }
.form-success strong { font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 3px; }
.form-success p { font-size: 0.82rem; opacity: 0.85; }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; margin-bottom: 18px; }
.fg label {
  font-size: 0.8rem; font-weight: 600; color: var(--gray-700, #334155);
  margin-bottom: 6px; color: #374151;
}
.req { color: var(--gold); margin-left: 1px; }

.fg input, .fg select, .fg textarea {
  font-family: var(--sans); font-size: 0.9rem; color: var(--text);
  background: var(--smoke); border: 1.5px solid var(--rule);
  border-radius: var(--r); padding: 11px 14px;
  transition: border-color var(--t-f), background var(--t-f), box-shadow var(--t-f);
  appearance: none; -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--faint); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--gold);
  background: var(--white); box-shadow: 0 0 0 3px rgba(181,135,11,0.12);
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a09d97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 16px; padding-right: 38px; cursor: pointer;
}
.fg textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.fg input[aria-invalid="true"], .fg textarea[aria-invalid="true"] {
  border-color: #dc2626; background: #fff5f5;
}
.ferr { font-size: 0.77rem; color: #dc2626; margin-top: 5px; min-height: 14px; font-weight: 500; }

.form-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 4px;
}
.form-privacy { font-size: 0.77rem; color: var(--muted); }
.form-privacy a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.btn-submit { min-width: 148px; justify-content: center; border: none; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn-spin { display: inline-flex; align-items: center; gap: 7px; }
.btn-spin[hidden] { display: none; }
.spin-svg { animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  padding: 12px 16px; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--r); font-size: 0.82rem; color: #dc2626; margin-top: 14px; font-weight: 500;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer { background: var(--ink); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 60px var(--pad) 28px; }

.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; margin-bottom: 48px; }

.footer-brand {}
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 800; color: #fff;
  text-decoration: none; margin-bottom: 14px;
}
.footer-logo img { border-radius: 4px; object-fit: contain; }
.footer-brand p {
  font-size: 0.82rem; color: rgba(255,255,255,0.42);
  line-height: 1.7; max-width: 320px; margin-bottom: 16px;
}
.footer-email {
  font-size: 0.82rem; color: var(--gold-rule); font-weight: 600;
  text-decoration: none; transition: color var(--t-f);
}
.footer-email:hover { color: #fff; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 14px;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-cols a {
  font-size: 0.82rem; color: rgba(255,255,255,0.48); font-weight: 500;
  text-decoration: none; transition: color var(--t-f);
}
.footer-cols a:hover, .footer-cols a:focus-visible { color: #fff; }
.footer-cols a:focus-visible { outline: 1px solid var(--gold-rule); outline-offset: 2px; border-radius: 2px; }

.footer-rule { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.28); }
.footer-creds { font-size: 0.68rem; color: rgba(255,255,255,0.20); letter-spacing: 0.04em; }

/* ════════════════════════════════════════════
   LEGAL PAGES
════════════════════════════════════════════ */
.legal-page { padding: 108px 0 80px; }
.legal-content { max-width: 740px; margin: 0 auto; padding: 0 var(--pad); }
.legal-content h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin-bottom: 8px; }
.legal-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.legal-content h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--text); margin: 36px 0 12px; }
.legal-content h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.legal-content p, .legal-content li { font-size: 0.9rem; color: var(--muted); line-height: 1.78; margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { font-weight: 700; color: #374151; }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.legal-content th, .legal-content td { padding: 10px 14px; font-size: 0.82rem; border: 1px solid var(--rule); text-align: left; }
.legal-content th { background: var(--smoke); font-weight: 700; color: var(--text); }
.legal-content td { color: var(--muted); }
.legal-content code { font-family: monospace; font-size: 0.85em; background: var(--smoke); padding: 2px 5px; border-radius: 3px; color: var(--gold); }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (min-width: 1100px) {
  .br-d { display: block; }
}

@media (max-width: 960px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { align-items: flex-start; flex-direction: row; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .cap-split { grid-template-columns: 1fr; gap: 48px; }
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  #hamburger { display: flex; }

  .hero-creds { flex-wrap: wrap; }
  .hero-cred { min-width: 50%; border-right: 1px solid rgba(255,255,255,0.06); }
  .hero-cred-div { display: none; }

  .svc-row { grid-template-columns: 56px 1fr; }
  .svc-num { font-size: 2rem; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero-eyebrow { font-size: 0.55rem; }
  .hero-cred { min-width: 100%; border-right: none; }

  .frow { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 48px 1fr; gap: 0; }
  .svc-content { padding-right: 0; }
  .svc-num { font-size: 1.6rem; padding-top: 6px; }

  .footer-cols { grid-template-columns: 1fr; }
  .about-quote { font-size: 1.4rem; }
}
