:root {
  --bg: #F5F3EF;
  --bg-warm: #EDE9E3;
  --bg-deep: #2A3640;
  --bg-deep-mid: #334450;
  --leland-blue: #5B7B8A;
  --leland-blue-deep: #3D5A67;
  --leland-blue-light: #7A9DAD;
  --leland-blue-pale: #A8C4D0;
  --sandstone: #C4956A;
  --sandstone-light: #D4AD88;
  --charcoal: #333333;
  --charcoal-soft: #555555;
  --stone-gray: #8A8D85;
  --cream: #FAF8F5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Noto Serif', Georgia, serif;
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 2.5rem; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(42,54,64,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease;
}

.nav-mark {
  font-family: 'Fira Sans', sans-serif; font-weight: 300;
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em; text-decoration: none;
}
.nav-mark span { font-weight: 600; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'Fira Sans', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--sandstone-light); }
.nav-links a.active { color: var(--sandstone); }

/* ─── SECTION LABELS ─── */
.section-label {
  font-family: 'Fira Sans', sans-serif; font-weight: 600;
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--sandstone); margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Fira Sans', sans-serif; font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--leland-blue-deep); letter-spacing: -0.01em;
  line-height: 1.35; margin-bottom: 3.5rem; max-width: 580px;
}

/* ─── CARDS ─── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--cream); border: 1px solid rgba(91,123,138,0.08);
  border-radius: 6px; padding: 2.5rem 2rem 2rem;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(42,54,64,0.08); }
.card-icon { width: 36px; height: 36px; margin-bottom: 1.5rem; stroke: var(--leland-blue); fill: none; stroke-width: 1.5; }
.card:nth-child(2) .card-icon { stroke: var(--sandstone); }
.card:nth-child(3) .card-icon { stroke: var(--leland-blue-deep); }
.card-title { font-family: 'Sanchez', serif; font-size: 1.1rem; color: var(--leland-blue-deep); margin-bottom: 0.75rem; line-height: 1.3; }
.card-text { font-family: 'Noto Serif', serif; font-size: 0.82rem; line-height: 1.75; color: var(--charcoal-soft); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 8rem 0 4rem; background: var(--bg-deep); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 85%, rgba(91,123,138,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(196,149,106,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
  font-family: 'Fira Sans', sans-serif; font-weight: 200;
  font-size: clamp(2rem, 4vw, 3rem); color: #fff;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1rem;
}
.page-hero-sub {
  font-family: 'Sanchez', serif; font-style: italic;
  font-size: 1rem; color: rgba(255,255,255,0.45);
  max-width: 500px; line-height: 1.6;
}

/* ─── TEAM ─── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 1rem; }
.team-member { text-align: center; }
.team-photo-wrap { position: relative; width: 220px; height: 220px; margin: 0 auto 1.5rem; }
.team-photo-wrap::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(91,123,138,0.12); }
.team-photo-wrap::after { content: ''; position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(196,149,106,0.08); }
.team-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; filter: grayscale(10%) contrast(1.03); display: block; }
.team-name { font-family: 'Fira Sans', sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--leland-blue-deep); margin-bottom: 0.15rem; }
.team-role { font-family: 'Sanchez', serif; font-style: italic; font-size: 0.82rem; color: var(--stone-gray); margin-bottom: 1.25rem; }
.team-bio { font-size: 0.85rem; line-height: 1.8; color: var(--charcoal-soft); text-align: left; max-width: 420px; margin: 0 auto 1.25rem; }
.team-creds { list-style: none; text-align: left; max-width: 420px; margin: 0 auto; padding-top: 1rem; border-top: 1px solid rgba(91,123,138,0.1); }
.team-creds li { font-family: 'Fira Sans', sans-serif; font-size: 0.7rem; color: var(--stone-gray); letter-spacing: 0.05em; padding: 0.3rem 0; }
.team-creds li strong { color: var(--charcoal); font-weight: 500; }

/* ─── COMBINED NARRATIVE ─── */
.narrative { padding: 5rem 0; background: var(--bg-deep); }
.narrative-text {
  font-family: 'Fira Sans', sans-serif; font-weight: 200;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: rgba(255,255,255,0.85);
  line-height: 1.6; max-width: 780px; text-align: center; margin: 0 auto;
}
.narrative-text em { font-style: normal; color: var(--sandstone-light); font-weight: 300; }

/* ─── SECTORS ─── */
.sectors { padding: 5rem 0; }
.sector-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.sector-tag {
  font-family: 'Fira Sans', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; padding: 0.6rem 1.2rem;
  border: 1px solid rgba(91,123,138,0.15); border-radius: 4px;
  color: var(--leland-blue-deep); background: var(--cream);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.sector-tag:hover { border-color: var(--sandstone); background: #fff; }

/* ─── INSIGHTS ─── */
.insights-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.insight-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 2.5rem;
  padding: 2.5rem 0; border-bottom: 1px solid rgba(91,123,138,0.08);
  align-items: start; text-decoration: none; color: inherit;
  transition: background 0.3s ease;
}
.insight-row:hover { background: rgba(91,123,138,0.02); }
.insight-date { font-family: 'Fira Sans', sans-serif; font-size: 0.68rem; font-weight: 500; color: var(--stone-gray); letter-spacing: 0.05em; padding-top: 0.3rem; }
.insight-author { font-family: 'Fira Sans', sans-serif; font-size: 0.62rem; color: var(--sandstone); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.1em; }
.insight-title { font-family: 'Sanchez', serif; font-size: 1.15rem; color: var(--leland-blue-deep); line-height: 1.35; margin-bottom: 0.5rem; }
.insight-excerpt { font-family: 'Noto Serif', serif; font-size: 0.82rem; line-height: 1.7; color: var(--charcoal-soft); }
.insight-read { font-family: 'Fira Sans', sans-serif; font-size: 0.68rem; font-weight: 600; color: var(--sandstone); letter-spacing: 0.08em; margin-top: 0.75rem; display: inline-block; }

/* ─── ARTICLE ─── */
.article { padding: 3rem 0 6rem; max-width: 680px; margin: 0 auto; }
.article-meta { font-family: 'Fira Sans', sans-serif; font-size: 0.7rem; color: var(--stone-gray); letter-spacing: 0.05em; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(91,123,138,0.1); }
.article-meta span { color: var(--sandstone); }
.article h2 { font-family: 'Sanchez', serif; font-size: 1.2rem; color: var(--leland-blue-deep); margin: 2rem 0 0.75rem; line-height: 1.35; }
.article p { font-size: 0.92rem; line-height: 1.9; color: var(--charcoal-soft); margin-bottom: 1.25rem; }
.article p:first-of-type { font-size: 1rem; color: var(--charcoal); }
.article-back { font-family: 'Fira Sans', sans-serif; font-size: 0.72rem; font-weight: 500; color: var(--sandstone); text-decoration: none; letter-spacing: 0.08em; display: inline-block; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(91,123,138,0.1); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
.contact-info h3 { font-family: 'Fira Sans', sans-serif; font-weight: 600; font-size: 1rem; color: var(--leland-blue-deep); margin-bottom: 1rem; }
.contact-info p { font-size: 0.88rem; line-height: 1.8; color: var(--charcoal-soft); margin-bottom: 1.5rem; }
.contact-detail { margin-bottom: 1.5rem; }
.contact-detail-label { font-family: 'Fira Sans', sans-serif; font-weight: 600; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--stone-gray); margin-bottom: 0.3rem; }
.contact-detail-value { font-size: 0.88rem; color: var(--charcoal); }
.contact-detail-value a { color: var(--leland-blue); text-decoration: none; border-bottom: 1px solid rgba(91,123,138,0.25); transition: border-color 0.2s ease; }
.contact-detail-value a:hover { border-color: var(--sandstone); }
.calendly-wrap { background: var(--cream); border-radius: 6px; border: 1px solid rgba(91,123,138,0.08); min-height: 500px; display: flex; align-items: center; justify-content: center; }
.calendly-placeholder { font-family: 'Fira Sans', sans-serif; font-size: 0.82rem; color: var(--stone-gray); text-align: center; padding: 2rem; }
.calendly-placeholder p { margin-bottom: 0.5rem; }

/* ─── CTA BAND ─── */
.cta-band { padding: 5rem 0; background: var(--bg-deep); text-align: center; }
.cta-heading { font-family: 'Fira Sans', sans-serif; font-weight: 200; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; margin-bottom: 1rem; }
.cta-sub { font-family: 'Sanchez', serif; font-style: italic; font-size: 0.92rem; color: rgba(255,255,255,0.4); margin-bottom: 2rem; }
.cta-btn {
  display: inline-block; font-family: 'Fira Sans', sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--bg-deep); background: var(--sandstone);
  padding: 0.9rem 2.5rem; border-radius: 4px; text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover { background: var(--sandstone-light); transform: translateY(-2px); }

/* ─── CURRENT WORK ─── */
.current { padding: 5rem 0 6rem; border-top: 1px solid rgba(91,123,138,0.08); }
.current-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.current-item { padding: 1.5rem 0; border-top: 2px solid var(--leland-blue); }
.current-item:nth-child(2) { border-color: var(--sandstone); }
.current-item:nth-child(3) { border-color: var(--leland-blue-deep); }
.current-status { font-family: 'Fira Sans', sans-serif; font-weight: 600; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sandstone); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sandstone); animation: pulse 2s ease infinite; }
.current-title { font-family: 'Sanchez', serif; font-size: 0.95rem; color: var(--leland-blue-deep); margin-bottom: 0.4rem; }
.current-desc { font-family: 'Noto Serif', serif; font-size: 0.78rem; line-height: 1.65; color: var(--charcoal-soft); }

/* ─── FOOTER ─── */
footer { padding: 3rem 0; background: var(--bg-deep); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-name { font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: 0.85rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }
.footer-name span { font-weight: 600; }
.footer-origin { font-family: 'Noto Serif', serif; font-style: italic; font-size: 0.7rem; color: rgba(255,255,255,0.2); margin-top: 0.3rem; }
.footer-right { display: flex; align-items: center; gap: 1.5rem; }
.footer-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease, transform 0.2s ease;
}
.footer-linkedin:hover { border-color: var(--sandstone); transform: scale(1.05); }
.footer-linkedin svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); transition: fill 0.3s ease; }
.footer-linkedin:hover svg { fill: var(--sandstone-light); }
.footer-copy { font-family: 'Fira Sans', sans-serif; font-size: 0.62rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }
.footer-nav { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.footer-nav a { font-family: 'Fira Sans', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: var(--sandstone-light); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  html { font-size: 15px; }
  .container { padding: 0 1.5rem; }
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .current-grid { grid-template-columns: 1fr; }
  .insight-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .insight-date { padding-top: 0; }
  .footer-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer-nav { justify-content: center; }
  .page-hero { padding: 7rem 0 3rem; }
}
