:root {
  --bg: #070707;
  --panel: #111111;
  --panel-2: #171717;
  --ink: #f6f1e8;
  --muted: #c8c0b3;
  --soft: #8d8578;
  --line: rgba(253, 181, 33, 0.16);
  --line-strong: rgba(253, 181, 33, 0.34);
  --accent: #fdb521;
  --accent-soft: rgba(253, 181, 33, 0.12);
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 50% 0%, rgba(253,181,33,0.12), transparent 34%),
    linear-gradient(180deg, #090909 0%, #070707 45%, #0a0a0a 100%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7,7,7,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-mark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-mark span { color: var(--accent); }
.brand-sub {
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a[aria-current="page"],
.nav-links a:hover,
.footer-links a:hover,
.text-link:hover { color: var(--ink); }
.nav-cta,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(253,181,33,0.18), rgba(253,181,33,0.08));
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.nav-cta:hover,
.button:hover,
button.button:hover {
  transform: translateY(-1px);
  border-color: rgba(253,181,33,0.55);
}
.button.secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.12);
  color: var(--muted);
}
.button.secondary:hover { color: var(--ink); }

main { overflow: hidden; }
.section,
.hero,
.answer-strip,
.page-hero,
.cta-band,
.footer-cta {
  padding-left: 24px;
  padding-right: 24px;
}
.hero-inner,
.section-inner,
.answer-inner,
.page-hero-inner,
.cta-band-inner,
.footer-inner,
.footer-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: 54px;
}
.kicker,
.eyebrow {
  display: inline-block;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}
.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: end;
}
.hero h1,
.page-hero h1,
.section h2,
.section h3,
.footer-cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 10ch;
  margin-top: 12px;
}
.hero-lead,
.page-hero-lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 22px 0 0;
}
.hero-answers,
.hero-note-panel,
.answer-block,
.card,
.quote-card,
.industry-card,
.faq-item,
.audit-list,
.metric-card,
.service-card,
.path-card,
.signal-card,
.proof-card,
.update-card,
.form-shell,
.article-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.answer-block {
  padding: 22px 22px 18px;
  margin: 26px 0 0;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(253,181,33,0.08), rgba(255,255,255,0.02));
}
.answer-block strong,
.answer-title {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.answer-block p,
.answer-strip p,
.section p,
.card p,
.faq-item p,
.industry-card p,
.service-card p,
.path-card p,
.signal-card p,
.audit-list p,
.article-card p,
.footer-copy p,
.hero-note-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 66ch;
}
.section p:last-child,
.card p:last-child,
.industry-card p:last-child,
.service-card p:last-child,
.path-card p:last-child,
.signal-card p:last-child,
.article-card p:last-child,
.faq-item p:last-child,
.hero-note-panel p:last-child,
.audit-list p:last-child { margin-bottom: 0; }

.hero-actions,
.inline-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-meta,
.inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: var(--soft);
  font-size: 0.92rem;
}
.meta-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
}
.hero-note-panel,
.quote-card,
.proof-card {
  padding: 24px;
}
.hero-note-panel ul,
.audit-list ul,
.clean-list,
.faq-list,
.footer-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-note-panel li,
.audit-list li,
.clean-list li,
.footer-list li {
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-note-panel li:last-child,
.audit-list li:last-child,
.clean-list li:last-child,
.footer-list li:last-child { border-bottom: 0; }

.section {
  padding-top: 26px;
  padding-bottom: 26px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 13ch;
}
.section-header p { max-width: 56ch; }
.grid-2,
.grid-3,
.grid-4,
.service-grid,
.industry-grid,
.faq-grid,
.audit-grid {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3,
.service-grid,
.industry-grid,
.faq-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.audit-grid { grid-template-columns: 1.05fr 0.95fr; }
.card,
.service-card,
.industry-card,
.signal-card,
.path-card,
.metric-card,
.article-card,
.faq-item,
.audit-list {
  padding: 24px;
}
.card h3,
.service-card h3,
.industry-card h3,
.signal-card h3,
.path-card h3,
.metric-card h3,
.article-card h3,
.faq-item h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 0 0 12px;
}
.number {
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mini-answer {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.answer-strip {
  padding-top: 8px;
  padding-bottom: 8px;
}
.answer-inner {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(253,181,33,0.08), rgba(255,255,255,0.02));
}
.answer-inner p { margin: 0; }
.answer-inner strong { color: var(--ink); }

.page-hero {
  padding-top: 52px;
  padding-bottom: 26px;
}
.page-hero h1 { max-width: 12ch; }
.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-toc a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.page-toc a:hover { color: var(--ink); border-color: var(--line-strong); }

.callout {
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(255,255,255,0.02);
  border-radius: 0 16px 16px 0;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
}
.quote-card cite {
  display: block;
  margin-top: 12px;
  color: var(--soft);
  font-style: normal;
}

.cta-band,
.footer-cta {
  padding-top: 30px;
  padding-bottom: 30px;
}
.cta-band-inner,
.footer-cta-inner {
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(253,181,33,0.09), rgba(255,255,255,0.02));
}
.cta-band h2,
.footer-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band p,
.footer-cta p { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }

.form-shell {
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label {
  color: var(--muted);
  font-size: 0.92rem;
}
input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: #101010;
  color: var(--ink);
  padding: 14px 16px;
}
input:focus,
textarea:focus {
  outline: 2px solid rgba(253,181,33,0.26);
  outline-offset: 2px;
  border-color: var(--line-strong);
}
textarea { min-height: 136px; resize: vertical; }
.form-meta,
.form-note,
.small-note {
  color: var(--soft);
  font-size: 0.9rem;
}
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.form-status.success {
  background: rgba(25, 102, 61, 0.18);
  border-color: rgba(55, 153, 97, 0.4);
}
.form-status.error {
  background: rgba(120, 39, 39, 0.16);
  border-color: rgba(194, 68, 68, 0.4);
}
.is-hidden { display: none !important; }

.footer {
  padding: 30px 24px 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.footer h3 {
  margin: 0 0 12px;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}
.footer-list li { padding: 8px 0; }
.footer-copy p,
.footer-bottom {
  color: var(--soft);
  font-size: 0.92rem;
}
.footer-bottom {
  max-width: var(--max);
  margin: 16px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.table-like {
  display: grid;
  gap: 12px;
}
.table-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.table-row:last-child { border-bottom: 0; }
.table-row strong { color: var(--ink); }

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .audit-grid,
  .footer-inner,
  .grid-2,
  .grid-4,
  .footer-links { grid-template-columns: 1fr; }
  .grid-3,
  .service-grid,
  .industry-grid,
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: start; }
}

@media (max-width: 680px) {
  .nav-wrap { align-items: start; flex-direction: column; }
  .nav-links { gap: 12px; }
  .hero,
  .page-hero,
  .section,
  .cta-band,
  .footer,
  .footer-cta { padding-left: 16px; padding-right: 16px; }
  .hero h1,
  .page-hero h1 { max-width: none; }
  .grid-3,
  .service-grid,
  .industry-grid,
  .faq-grid,
  .form-grid { grid-template-columns: 1fr; }
  .table-row { grid-template-columns: 1fr; gap: 8px; }
  .button,
  .nav-cta,
  button.button { width: 100%; }
  .hero-actions,
  .inline-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}


/* ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
   LAYOUT & TYPOGRAPHY POLISH  (appended ??? overrides above where needed)
   ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? */

/* Balanced heading line-breaks ??? no orphaned single words */
h1, h2, h3, h4 {
  text-wrap: balance;
}

/* Sections need real breathing room ??? 26px top/bottom is too tight */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Hero bottom padding */
.hero {
  padding-bottom: 90px;
}

/* Page hero */
.page-hero {
  padding-top: 72px;
  padding-bottom: 48px;
}

/* Footer CTA ??? center-align for maximum impact */
.footer-cta-inner {
  text-align: center;
}
.footer-cta-inner h2,
.footer-cta-inner p {
  margin-left: auto;
  margin-right: auto;
}
.footer-cta-inner .inline-actions {
  justify-content: center;
}

/* CTA band ??? same treatment */
.cta-band-inner {
  text-align: center;
}
.cta-band-inner p {
  margin-left: auto;
  margin-right: auto;
}
.cta-band-inner .inline-actions {
  justify-content: center;
}

/* Consistent card padding */
.card,
.service-card,
.industry-card,
.faq-item,
.path-card,
.signal-card {
  padding: 30px 28px 26px;
}

/* Answer block breathing room */
.answer-block {
  padding: 28px 26px 24px;
  margin-top: 32px;
}

/* Section header bottom gap */
.section-header {
  margin-bottom: 40px;
  gap: 28px;
}

/* Eyebrow/kicker bottom margin so it doesn't crowd the headline */
.eyebrow,
.kicker {
  margin-bottom: 12px;
}

/* Hero heading top spacing */
.hero h1 {
  margin-top: 18px;
}

/* Paragraph max-width ??? consistent everywhere */
p {
  max-width: 68ch;
}

/* Footer column gap */
.footer-inner {
  gap: 48px;
}

/* Footer CTA / CTA band vertical padding */
.cta-band,
.footer-cta {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Cleaner list item spacing in nav panels */
.footer-list li {
  padding: 9px 0;
}

/* Mobile adjustments */
@media (max-width: 980px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
@media (max-width: 680px) {
  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .hero {
    padding-bottom: 56px;
  }
  .footer-cta-inner .inline-actions,
  .cta-band-inner .inline-actions {
    flex-direction: column;
    align-items: center;
  }
}
