/* XenonSpark — "Counsel" visual direction
   Warm white + ink-navy + a single restrained brass accent.
   Fraunces serif headlines over an Inter sans body. */

:root {
  --bg: #fbfaf8;          /* warm white */
  --bg-alt: #f3f1ec;      /* soft stone band */
  --panel: #ffffff;       /* card surface */
  --ink: #14233a;         /* deep ink-navy text */
  --ink-soft: #3c4a5e;
  --muted: #6b7585;
  --line: #e4e1d9;        /* neutral hairline */
  --line-strong: #d4d0c6;
  --brass: #9a7636;       /* antique brass accent */
  --brass-deep: #7f5f27;
  --navy: #14233a;
  --radius: 6px;
  --maxw: 1080px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

a { color: var(--brass-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.22rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brass-deep);
  margin: 0 0 1rem;
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; color: var(--brass); }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: 0; color: var(--navy); }
.brand-text.small { font-size: 1.1rem; }
.brand-accent { color: var(--brass-deep); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em; }
.nav-links a:hover { color: var(--brass-deep); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 3px;
  font-family: var(--sans); font-weight: 600; font-size: 0.94rem; letter-spacing: 0.01em;
  cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fbfaf8; border-color: var(--navy); }
.btn-primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-deep); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { padding: clamp(70px, 11vw, 130px) 28px clamp(60px, 8vw, 104px); position: relative; z-index: 2; }
.hero h1 { max-width: 20ch; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); max-width: 62ch; margin: 0 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 3.4rem; }
.hero-stats {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; padding: 1.6rem 0 0; margin: 0; max-width: 800px; border-top: 1px solid var(--line);
}
.hero-stats li { padding: 0 26px; border-left: 1px solid var(--line); }
.hero-stats li:first-child { padding-left: 0; border-left: none; }
.hero-stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.18rem; color: var(--navy); }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }
.hero-glow {
  position: absolute; inset: -30% -20% auto auto; width: 680px; height: 680px;
  background: radial-gradient(circle at 70% 30%, rgba(154, 118, 54, 0.10), transparent 62%);
  z-index: 1; pointer-events: none;
}

/* Sections */
.section { padding: clamp(66px, 9vw, 108px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 52px; }
.section-sub { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.card:hover { border-color: var(--brass); box-shadow: 0 14px 40px rgba(20, 35, 58, 0.08); }
.card-icon {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
  background: #f6f2ea; border: 1px solid var(--line); color: var(--brass-deep); margin-bottom: 20px;
}
.card h3 { margin-bottom: 0.55em; }
.card p { color: var(--ink-soft); margin: 0 0 1.1rem; }
.card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.card-list li { position: relative; padding-left: 20px; color: var(--ink); font-size: 0.93rem; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }

.services-note {
  margin: 40px auto 0; max-width: 64ch; text-align: center; color: var(--muted);
  font-style: italic; font-family: var(--serif); font-size: 1.05rem;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.step { padding: 0 4px; }
.step-num {
  display: inline-block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem;
  color: var(--brass); border-bottom: 2px solid var(--brass); padding-bottom: 4px; margin-bottom: 16px;
  min-width: 1.6em;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* Principals / About */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.about-grid p { color: var(--ink-soft); }
.about-card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: var(--radius); padding: 30px 28px; }
.about-card h3 { margin-bottom: 1em; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink); font-size: 0.96rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

/* Confidentiality band */
.confid-band { max-width: 74ch; margin: 0 auto; text-align: center; }
.confid-statement { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; color: var(--navy); margin: 0; font-weight: 400; }

/* Selected engagements */
.engagement { display: flex; flex-direction: column; }
.card-tag {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.13em;
  font-size: 0.7rem; font-weight: 600; color: var(--brass-deep); margin: 0 0 0.7rem;
}
.engagement h3 { margin-bottom: 0.6em; }
.engagement p:last-child { margin-bottom: 0; }

/* Contact */
.contact-inner { max-width: 64ch; }
.contact-actions { margin: 1.8rem 0 1.2rem; }
.contact-fine { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Responsive */
@media (max-width: 920px) {
  .cards, .steps, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .hero-stats li { padding: 0 18px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .cards, .steps, .quotes, .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { padding: 14px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .hero-stats li:first-child { padding-top: 0; border-top: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
