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

:root {
  --bg:        #080808;
  --surface:   #111111;
  --surface2:  #161616;
  --border:    #222222;
  --border2:   #2e2e2e;
  --text:      #ede8e0;
  --muted:     #7a7570;
  --dim:       #4a4540;
  --gold:      #c4a87a;
  --gold-dim:  #8a7554;
  --max:       860px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}

/* ── LAYOUT ── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* ── HERO ── */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 4rem;
  align-items: start;
}

.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero-statement {
  font-size: 1.1rem;
  color: #a09890;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-statement strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── STATS ROW ── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 4rem 0;
  overflow: hidden;
}

.stat {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #080808;
}
.btn-primary:hover { background: #d4b888; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTIONS ── */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.prose {
  font-size: 0.97rem;
  color: #9a9590;
  line-height: 1.85;
  max-width: 680px;
}

.prose + .prose { margin-top: 1rem; }

.prose strong {
  color: var(--text);
  font-weight: 500;
}

/* ── ROLE CARDS ── */
.role {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.role:last-child { border-bottom: none; }

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.role-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.role-company {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.role-meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.role-summary {
  font-size: 0.95rem;
  color: #9a9590;
  line-height: 1.8;
  margin-top: 0.85rem;
  max-width: 680px;
}

.role-summary strong { color: var(--text); font-weight: 500; }

.role-achievements {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.role-achievements li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.role-achievements li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dim);
}

.role-achievements li strong {
  color: #ccc;
  font-weight: 500;
}

/* ── COMPETENCY TABLE ── */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.comp-table tr {
  border-bottom: 1px solid var(--border);
}

.comp-table tr:last-child { border-bottom: none; }

.comp-table td {
  padding: 1.1rem 0;
  vertical-align: top;
}

.comp-table td:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  width: 180px;
  padding-right: 2rem;
  padding-top: 1.2rem;
}

.comp-table td:last-child {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── TECH SECTION ── */
.tech-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
}
.tech-block:last-child { border-bottom: none; }

.tech-block-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding-top: 0.3rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 2px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.tag:hover { border-color: var(--gold-dim); color: var(--text); }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  margin-top: 0.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--gold); }

.contact-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 2rem;
}

/* ── FORM ── */
form { display: flex; flex-direction: column; gap: 1.25rem; }

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold-dim); }

.field textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  padding: 1.25rem;
  border: 1px solid #2a3d2a;
  border-radius: 3px;
  color: #7aaa7a;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── DIVIDER ── */
.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 5.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ── PROOF LIST ── */
.proof-list { display: flex; flex-direction: column; margin-top: 0.5rem; }

.proof-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.proof-item:last-child { border-bottom: none; }

.proof-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.proof-unit {
  font-size: 1.15rem;
  vertical-align: middle;
}

.proof-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  padding-top: 0.5rem;
}

/* ── WHAT I DO ── */
.do-list { display: flex; flex-direction: column; margin-top: 2rem; }

.do-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.do-item:last-child { border-bottom: none; }

.do-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dim);
  padding-top: 0.5rem;
}

.do-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.do-body p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
}

/* ── CAPABILITIES ── */
.cap-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  margin-top: 2rem;
}

.cap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cap-list li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
}

.cap-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

/* ── PHILOSOPHY ── */
.philosophy-block {
  padding: 2.5rem 0 2.5rem 2.5rem;
  border-left: 2px solid var(--gold-dim);
  margin-top: 1rem;
}

.philosophy-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 2rem;
  quotes: none;
}

.philosophy-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 600px;
}

.philosophy-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.philosophy-link:hover { color: var(--text); }

/* ── CONDENSED EXPERIENCE ── */
.exp-condensed { display: flex; flex-direction: column; margin-top: 1rem; }

.exp-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.exp-row:last-child { border-bottom: none; }

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.15rem;
}

.exp-company {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.exp-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
  width: fit-content;
}

.exp-note {
  font-size: 0.7rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.exp-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.exp-summary {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
}

/* ── CTA SECTION ── */
.cta-section { padding: 5rem 0; }

.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3.5rem;
}

.cta-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── SCROLL ANIMATIONS ── */
.js .proof-item,
.js .do-item,
.js .exp-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js .proof-item.visible,
.js .do-item.visible,
.js .exp-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    width: 140px;
    height: 140px;
    order: -1;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .tech-block { grid-template-columns: 1fr; gap: 0.75rem; }
  .comp-table td:first-child { width: auto; display: block; padding-bottom: 0.25rem; }
  .comp-table td { display: block; padding: 0.5rem 0; }
  .comp-table tr { padding: 0.75rem 0; display: block; }
  .footer-inner { flex-direction: column; text-align: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.25rem 2rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .proof-item { grid-template-columns: 80px 1fr; gap: 1.25rem; }
  .proof-number { font-size: 2rem; }
  .do-item { grid-template-columns: 36px 1fr; gap: 1.25rem; }
  .cap-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .cap-box { padding: 1.75rem; }
  .philosophy-block { padding-left: 1.5rem; }
  .exp-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .cta-block { padding: 2rem; }
}
