/* ============================================
   Consulting & Advisory — Shared Stylesheet
   ============================================ */

:root {
  --bg: #f5f1e8;
  --bg-elevated: #ffffff;
  --bg-muted: #ebe5d4;
  --text: #0e1d2b;
  --text-muted: #5b6770;
  --text-soft: #8a96a0;
  --accent: #1f5c5c;
  --accent-hover: #144545;
  --border: #dbd3c0;
  --max-width: 1120px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(14, 29, 43, 0.04);
  --shadow-md: 0 4px 16px rgba(14, 29, 43, 0.08);
  --font-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== Navigation ========== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(245, 241, 232, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }

.nav .brand {
  font-size: 1.6rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent); }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ========== Sections ========== */
section {
  padding: 96px 0;
}
section.compact { padding: 64px 0; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 680px;
}

/* ========== Hero ========== */
.hero {
  padding: 0;
  position: relative;
  margin: 0;
  min-height: 640px;
  height: calc(100vh - 80px);
  max-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0e1d2b;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 29, 43, 0.78) 0%, rgba(14, 29, 43, 0.45) 45%, rgba(14, 29, 43, 0.15) 100%),
    linear-gradient(180deg, rgba(14, 29, 43, 0.15) 0%, rgba(14, 29, 43, 0.0) 30%, rgba(14, 29, 43, 0.45) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content {
  max-width: 640px;
  color: #f5f1e8;
}
.hero .eyebrow {
  color: #d9ccaa;
}
.hero h1 {
  color: #f5f1e8;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-lead {
  font-size: 1.3rem;
  color: rgba(245, 241, 232, 0.92);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--accent);
  color: #f5f1e8;
}
.hero .btn-primary:hover {
  background: #f5f1e8;
  color: var(--text);
}
.hero .btn-secondary {
  background: transparent;
  color: #f5f1e8;
  border: 1px solid rgba(245, 241, 232, 0.5);
}
.hero .btn-secondary:hover {
  border-color: #f5f1e8;
  color: #f5f1e8;
  background: rgba(245, 241, 232, 0.08);
}
@media (max-width: 860px) {
  .hero {
    min-height: 560px;
    height: auto;
    padding: 80px 0;
  }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(14, 29, 43, 0.65) 0%, rgba(14, 29, 43, 0.55) 50%, rgba(14, 29, 43, 0.75) 100%);
  }
}

/* ========== Card grids ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--text-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); margin-bottom: 0; }

.service-card {
  position: relative;
  padding-top: 40px;
}
.service-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 16px;
}

/* ========== Page header ========== */
.page-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.page-header h1 { margin-bottom: 16px; }
.page-header .lead { font-size: 1.2rem; }

/* ========== Two column content ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

/* ========== Headshot ========== */
.headshot {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-md);
}

/* ========== Case study ========== */
.case-study {
  border-top: 1px solid var(--border);
  padding: 56px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.case-study:last-child { border-bottom: 1px solid var(--border); }
.case-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.case-meta strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.case-tag {
  display: inline-block;
  background: var(--bg-muted);
  color: var(--text);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  margin-top: 8px;
}
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.outcome-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-muted);
}
.outcome-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ========== Insights / posts ========== */
.post-list { display: flex; flex-direction: column; }
.post-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.post-item:first-child { border-top: 1px solid var(--border); }
.post-date {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.post-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 6px;
}
.post-item:hover .post-title { color: var(--accent); }
.post-excerpt { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.post-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}
.post-loading {
  padding: 48px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.post-empty {
  padding: 56px 32px;
  text-align: center;
  background: var(--bg-muted);
  border-radius: var(--radius);
}
.post-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 10px;
}
.post-empty p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto;
}

/* ========== Form ========== */
.form-grid {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border 0.15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ========== CTA band ========== */
.cta-band {
  background: var(--text);
  color: var(--bg);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--bg); margin-bottom: 16px; }
.cta-band p {
  color: rgba(245, 241, 232, 0.75);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-band .btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.cta-band .btn-primary:hover {
  background: var(--bg);
  color: var(--text);
}

/* ========== Quote / testimonial ========== */
.quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin: 32px 0;
  max-width: 720px;
}
.quote-attr {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: block;
  margin-top: 12px;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ========== Responsive ========== */
@media (max-width: 860px) {
  .hero-grid,
  .two-col,
  .grid-3,
  .grid-2,
  .form-row,
  .case-study,
  .post-item { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 64px 0; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .post-item { gap: 8px; padding: 24px 0; }
  .post-date { font-size: 0.85rem; }
}

/* ========== Imported font from Google Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');
