/* ==========================================================================
   NABR Consulting — premium advisory design system
   Tone: experienced · calm · premium · operationally mature · restrained
   ========================================================================== */

:root {
  /* Neutral-forward, premium palette */
  --ink: #18202B;          /* deep charcoal-navy: dark sections, display headings */
  --ink-soft: #2A3441;
  --text: #232A33;         /* body */
  --muted: #5C6672;        /* secondary text */
  --faint: #8A929C;        /* tertiary / captions */

  --accent: #3C6B72;       /* restrained slate-teal — used sparingly */
  --accent-deep: #2C5057;
  --accent-tint: #EAF0F0;  /* very soft accent wash */

  --bg: #FFFFFF;
  --bg-warm: #FAF8F4;      /* warm off-white sections */
  --bg-panel: #F4F2EC;     /* slightly deeper warm panel */
  --line: #E7E3DA;         /* warm hairline */
  --line-soft: #EFECE4;

  --shadow-sm: 0 1px 2px rgba(24, 32, 43, .04);
  --shadow-md: 0 10px 30px rgba(24, 32, 43, .06);
  --shadow-lg: 0 24px 60px rgba(24, 32, 43, .08);

  --radius: 6px;
  --radius-lg: 10px;
  --container: 1120px;
  --container-narrow: 760px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 16px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 72px; --s-8: 104px; --s-9: 140px;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 var(--s-3);
  line-height: 1.18;
  letter-spacing: -.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 {
  font-family: var(--sans);
  font-size: .82rem; font-weight: 600;
  color: var(--faint);
  text-transform: uppercase; letter-spacing: .14em;
  margin: 0 0 var(--s-3);
}
p { margin: 0 0 var(--s-4); }
strong { color: var(--ink); font-weight: 600; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-4); }
.narrow { max-width: var(--container-narrow); }
.section { padding: var(--s-7) 0; }
.section-tight { padding: var(--s-6) 0; }
.section-warm { background: var(--bg-warm); }
.section-panel { background: var(--bg-panel); }
.section-ink { background: var(--ink); color: #E8EAED; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
  position: relative; padding-left: 28px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px; background: var(--accent);
}
.section-ink .eyebrow { color: #8FB9BD; }
.section-ink .eyebrow::before { background: #8FB9BD; }

.lede { font-size: 1.2rem; line-height: 1.65; color: var(--muted); }
.measure { max-width: 680px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: baseline; gap: 9px; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.2rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand .brand-sub { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.nav-list a { color: var(--text); font-weight: 500; font-size: 15px; letter-spacing: .005em; }
.nav-list a:hover, .nav-list a.active { color: var(--accent); }
.nav-cta {
  padding: 10px 20px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 500; font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
}
.nav-cta:hover { background: transparent; color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
  .nav-list {
    position: absolute; top: 74px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px; display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { padding: 8px 0; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px; cursor: pointer; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-on-ink { background: #fff; color: var(--ink); }
.btn-on-ink:hover { background: var(--accent-tint); color: var(--ink); }
.btn-ghost-ink { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-ink:hover { border-color: #fff; color: #fff; }
.btn-large { padding: 15px 30px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 88% -8%, var(--accent-tint), transparent 62%),
    linear-gradient(180deg, var(--bg-warm) 0%, #fff 100%);
  padding: var(--s-7) 0 var(--s-6);
  border-bottom: 1px solid var(--line-soft);
}
.hero h1 { max-width: 14ch; }
.hero .lede { max-width: 600px; margin-bottom: var(--s-6); }
.hero-flex { display: grid; grid-template-columns: 1.4fr .9fr; gap: var(--s-7); align-items: center; }
@media (max-width: 900px) { .hero-flex { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Grid ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Cards (restrained: hairline, no heavy borders) ---------- */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: box-shadow .2s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.22rem; margin-bottom: var(--s-2); }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card .card-meta { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-3); }

/* Plain feature block (no border) for "How we work" */
.feature { padding: 4px 0; }
.feature .feat-num { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); margin-bottom: 6px; }
.feature h3 { font-size: 1.12rem; font-family: var(--sans); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* Engagement model cards */
.model { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; }
.model h3 { margin-bottom: var(--s-3); }
.model p { color: var(--muted); margin-bottom: var(--s-4); }
.model .model-link { margin-top: auto; font-weight: 500; font-size: 14px; color: var(--accent); }
.model .model-link::after { content: " \2192"; }

/* ---------- Service blocks ---------- */
.service { padding: var(--s-7) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.6fr; gap: var(--s-6); }
.service:first-of-type { border-top: 0; }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; gap: var(--s-3); } }
.service-num { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.service h2 { font-size: 1.7rem; margin-top: 4px; }
.service ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; columns: 2; column-gap: var(--s-5); }
@media (max-width: 600px) { .service ul { columns: 1; } }
.service li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--muted); break-inside: avoid; }
.service li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Philosophy ---------- */
.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 820px) { .philosophy { grid-template-columns: 1fr; gap: var(--s-5); } }
.philosophy h3 { font-size: 1.25rem; }
.philosophy .ph-rule { width: 32px; height: 2px; background: var(--accent); margin-bottom: var(--s-3); }

/* ---------- Outcomes (understated) ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-6) 0; }
@media (max-width: 760px) { .outcomes { grid-template-columns: 1fr; gap: var(--s-4); } }
.outcome .o-fig { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.outcome .o-label { color: var(--muted); font-size: .95rem; }

/* ---------- Headshot ---------- */
.portrait {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink) 0%, var(--accent-deep) 100%);
  display: grid; place-items: center; color: rgba(255,255,255,.5);
  border: 1px solid var(--line); overflow: hidden; position: relative;
}
.portrait .ph-initials { font-family: var(--serif); font-size: 3.4rem; color: rgba(255,255,255,.85); }
.portrait .ph-note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait-small { max-width: 300px; }
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: var(--s-7); align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: var(--s-5); } .portrait-small { max-width: 240px; } }

/* ---------- Callout ---------- */
.callout { background: var(--bg-warm); border-left: 2px solid var(--accent); padding: var(--s-5) var(--s-6); border-radius: 0 var(--radius) var(--radius) 0; margin: var(--s-6) 0; }
.callout p:last-child { margin-bottom: 0; }
.section-ink .callout { background: rgba(255,255,255,.05); border-left-color: #8FB9BD; }

/* ---------- Insights ---------- */
.insight-list { display: grid; gap: 2px; }
.insight-item { display: grid; grid-template-columns: 150px 1fr auto; gap: var(--s-5); align-items: baseline; padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.insight-item:hover h3 { color: var(--accent); }
@media (max-width: 760px) { .insight-item { grid-template-columns: 1fr; gap: var(--s-1); } }
.insight-item .i-cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.insight-item h3 { font-size: 1.3rem; margin: 0; transition: color .15s ease; }
.insight-item p { color: var(--muted); margin: 6px 0 0; font-size: .96rem; }
.insight-item .i-status { font-size: 12px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }

/* Article */
.article { max-width: var(--container-narrow); margin: 0 auto; }
.article .a-meta { color: var(--faint); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s-3); }
.article h1 { margin-bottom: var(--s-4); }
.article h2 { font-size: 1.5rem; margin-top: var(--s-6); }
.article p { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.article ul { padding-left: 22px; margin: 0 0 var(--s-4); }
.article li { margin-bottom: 10px; color: var(--text); }
.article .a-lede { font-size: 1.25rem; line-height: 1.6; color: var(--muted); font-family: var(--sans); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-3); }
.form label { font-weight: 600; font-size: 14px; color: var(--ink); }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 15px; font: inherit; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(60,107,114,.12);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form-hint { color: var(--faint); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: var(--s-8) 0 var(--s-5); }
.site-footer h4 { color: rgba(255,255,255,.5); margin-bottom: var(--s-3); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--s-5); grid-template-columns: 2fr 1fr 1fr 1.2fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: #fff; }
.footer-tag { color: rgba(255,255,255,.6); font-size: 14px; max-width: 320px; margin-top: 10px; line-height: 1.6; }
.footer-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.footer-list li { margin-bottom: 10px; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.divider { height: 1px; background: var(--line); border: 0; margin: var(--s-6) 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
code { font-family: "SFMono-Regular", Consolas, Menlo, monospace; font-size: .9em; background: var(--bg-panel); padding:
/* Contact form: honeypot + status message */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 12px; font-size: 14px; }
.form-status.is-ok { color: #2F7A57; }
.form-status.is-err { color: #B23B3B; }
