:root {
  --ink: #12161c;
  --paper: #f7f8fa;
  --paper-raised: #ffffff;
  --rule: rgba(18, 22, 28, 0.11);
  --text: #1a1f26;
  --text-soft: #5b6570;
  --accent: #52606d;
  --accent-soft: rgba(82, 96, 109, 0.12);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 5.5rem 2rem 4rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.75rem;
  line-height: 1;
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-soft);
  margin: 0 0 1.5rem;
}

.hero-links {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.hero-links a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hero-links a:hover,
.hero-links a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.hero-links-divider {
  margin: 0 0.6rem;
  color: var(--text-soft);
}

.cta-button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(82, 96, 109, 0.28);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82, 96, 109, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(82, 96, 109, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

.headshot {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Pull-quote band */
.pullquote-band {
  background: var(--ink);
  padding: 4.5rem 2rem;
}

.pullquote-band blockquote {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.5;
  color: var(--paper);
  text-align: center;
  letter-spacing: -0.005em;
}

/* Main sections */
main {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.section:last-child { border-bottom: none; }

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-body p {
  margin: 0 0 1.15rem;
  max-width: 60ch;
}
.section-body p:last-child { margin-bottom: 0; }

/* Experience */
.role-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.role-list li {
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-top: 1px solid var(--rule);
  border-left: 3px solid var(--accent-soft);
  transition: border-left-color 0.2s ease;
}
.role-list li:first-child { border-top: none; }

.role-list li:hover {
  border-left-color: var(--accent);
}

.role-title {
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.role-org {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.role-detail {
  margin: 0.6rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  max-width: 58ch;
  line-height: 1.65;
}

.role-note {
  font-size: 0.97rem;
  color: var(--text-soft);
  max-width: 60ch;
}

/* Focus areas */
.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2.5rem;
}

.focus-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.9rem;
  break-inside: avoid;
  font-size: 0.98rem;
}

.focus-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Contact */
.contact-intro { margin-bottom: 1.5rem; }

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  min-width: 110px;
}

.contact-row a {
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.copy-btn {
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.copy-btn.copied {
  border-color: var(--accent);
  color: var(--accent);
}

/* Footer */
.site-footer {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* Focus visibility */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 1.75rem; }
  .hero-text h1 { font-size: 2.6rem; }
  .pullquote-band { padding: 3rem 1.25rem; }
  .pullquote-band blockquote { font-size: 1.3rem; }
  main { padding: 0 1.25rem; }
  .section { padding: 2.5rem 0; }
  .focus-list { columns: 1; }
  .site-footer { padding: 2rem 1.25rem 3rem; }
}
