:root {
  --navy-950: #070d18;
  --navy-900: #0a1626;
  --navy-800: #101f35;
  --navy-700: #16294420;
  --gold: #c9a24a;
  --gold-bright: #e3c581;
  --cream: #f3ede0;
  --white: #ffffff;
  --muted: #9aa8bd;
  --line: rgba(201, 162, 74, 0.22);
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--navy-900);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.blueprint-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201,162,74,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,74,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost {
  border-color: var(--gold);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover { background: rgba(201,162,74,0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.55rem 1.2rem;
  color: var(--gold) !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  letter-spacing: 0.06em;
}
.nav-cta:hover { background: rgba(201,162,74,0.12); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.hero-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

.hero-portrait { display: flex; flex-direction: column; align-items: center; }
.portrait-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  position: relative;
  isolation: isolate;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  z-index: -1;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(227,197,129,0.35), transparent 70%);
  filter: blur(50px);
  z-index: -1;
  opacity: 0.8;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  box-shadow:
    0 40px 70px -25px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(201, 162, 74, 0.15);
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}
.portrait-caption {
  margin-top: 1.6rem;
  text-align: center;
}
.portrait-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.portrait-caption span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
  max-width: 280px;
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 1;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.9rem 0;
}
.ticker-track {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem;
  scroll-margin-top: 76px;
}
.section-alt { background: var(--navy-800); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  font-weight: 600;
  max-width: 650px;
  margin-bottom: 1rem;
}
.section-intro {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ---------- Expertise cards ---------- */
.card-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
  background: linear-gradient(180deg, rgba(201,162,74,0.03), transparent);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-4px); }
.card-index {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.card-tags li {
  font-size: 0.72rem;
  color: var(--gold);
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.card-tags li:first-child { border-top: none; }

/* ---------- Approach ---------- */
.approach-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.approach-step { position: relative; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.approach-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 0.8rem;
}
.approach-step h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.approach-step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Experience ---------- */
.experience-layout {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}
.timeline-heading {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.timeline-list li {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.timeline-list li:last-child { border-bottom: 1px solid var(--line); }
.tl-role { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.tl-org { color: var(--gold); font-size: 0.82rem; margin-top: 0.15rem; }
.tl-date { color: var(--muted); font-size: 0.75rem; margin-top: 0.15rem; }

.credentials-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
}
.credentials-box h4 {
  font-family: var(--serif);
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}
.credentials-box p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.matters-note {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--gold);
  padding-left: 0.9rem;
}
.matter-list { display: flex; flex-direction: column; gap: 1.1rem; }
.matter-item {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(201,162,74,0.03);
}
.matter-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold);
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.6rem;
}
.matter-item p { color: var(--cream); font-size: 0.9rem; }

/* ---------- Quote ---------- */
.quote-section {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gold-bright);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.2rem;
}
.quote-section cite {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ---------- LinkedIn / Insights ---------- */
.linkedin-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.li-card {
  border: 1px solid var(--line);
  padding: 1.8rem;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
}
.li-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.li-badge {
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.li-card-head strong { display: block; color: var(--white); font-size: 0.85rem; }
.li-card-head span { display: block; color: var(--muted); font-size: 0.72rem; }
.li-card h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  flex-grow: 0;
}
.li-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.2rem; flex-grow: 1; }
.li-card a { color: var(--gold); font-size: 0.8rem; font-weight: 600; }
.li-card a:hover { color: var(--gold-bright); }

.li-follow {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.li-follow-note { color: var(--muted); font-size: 0.78rem; font-style: italic; }

/* ---------- Contact ---------- */
.contact-layout {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--navy-800);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 0.8rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form button { align-self: flex-start; margin-top: 0.5rem; border: none; }
.form-note { color: var(--muted); font-size: 0.75rem; font-style: italic; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}
.info-label {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.info-item a, .info-item span { color: var(--cream); font-size: 0.95rem; }
.info-item a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 3.5rem 1.5rem 2.5rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.05rem;
}
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 0.95rem; }
.footer-disclaimer {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.footer-copy { color: var(--muted); font-size: 0.75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 260px; margin: 0 auto 2rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-layout { grid-template-columns: 1fr; }
  .linkedin-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
}

@media (max-width: 680px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .approach-grid, .linkedin-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
