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

:root {
  --bg: #EEF0F5;
  --bg-card: #FFFFFF;
  --bg-warm: #E2E5EE;
  --text: #0D0D2B;
  --muted: #4A4A78;
  --hint: #7070A0;
  --border: #D0D4E0;
  --border-mid: #B8BDD4;
  --ink: #0D0D2B;
  --tag-bg: #E2E5EE;
  --tag: #3A3A72;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 860px; margin: 0 auto; padding: 0 32px; }

nav {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  border-bottom: 0.5px solid var(--border);
}

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

.nav-mark {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 72px;
  border-bottom: 0.5px solid var(--border);
  position: relative;
}

.hero-top {
  position: absolute;
  top: 48px;
  right: 0;
  text-align: right;
}

.hero-top-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
  line-height: 2.2;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-headline em {
  font-style: italic;
  color: var(--muted);
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.3;
}

.hero-bio {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-links { display: flex; gap: 8px; flex-wrap: wrap; }

.pill {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--tag);
  background: var(--tag-bg);
  border-radius: 100px;
  padding: 7px 16px;
  transition: background 0.15s, color 0.15s;
}

.pill:hover { background: var(--border-mid); color: var(--text); }

.pill.outline {
  background: transparent;
  border: 0.5px solid var(--border-mid);
  color: var(--muted);
}

.pill.outline:hover { background: var(--bg-warm); color: var(--text); }

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
}

.divider-line { flex: 1; height: 0.5px; background: var(--border); }
.divider-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hint);
  white-space: nowrap;
}

.writing-section { padding: 80px 0; border-bottom: 0.5px solid var(--border); }

.writing-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.writing-intro-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.writing-intro-right {
  padding-top: 8px;
}

.writing-intro-right p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.text-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 0.5px solid var(--border-mid);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.text-link:hover { color: var(--text); border-color: var(--text); }

.featured-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.article-big {
  background: var(--bg-warm);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  transition: background 0.15s;
}

.article-big:hover { background: #EAE6DF; }

.article-sm {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s;
}

.article-sm:hover { border-color: var(--border-mid); }

.article-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.article-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--border-mid); }

.article-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 10px;
  display: block;
}

.article-title-big {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.article-title-sm {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}

.article-title-xs {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 8px;
}

.article-date {
  font-size: 11px;
  color: var(--hint);
  letter-spacing: 0.03em;
}

.work-section { padding: 80px 0; }

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}

.work-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.work-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 0.5px solid var(--border);
  align-items: start;
}

.work-item:last-child { border-bottom: 0.5px solid var(--border); }

.work-left {}

.work-dates {
  font-size: 12px;
  font-weight: 400;
  color: var(--hint);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.work-company {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.work-right {}

.work-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.work-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.work-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.work-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--tag);
  background: var(--tag-bg);
  border-radius: 100px;
  padding: 3px 10px;
}

.credentials-section { padding: 80px 0; border-bottom: 0.5px solid var(--border); }

.credentials-header {
  margin-bottom: 48px;
}

.credentials-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.credentials-header p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.cert-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.cert-item {
  background: var(--bg-warm);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cert-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
}

.cert-detail {}

.cert-name-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.cert-provider {
  font-size: 11px;
  color: var(--hint);
  margin-top: 2px;
}

.skills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.skills-group {}

.skills-group-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}

.skills-group ul { list-style: none; }
.skills-group li {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 2.1;
}

.contact-section { padding: 96px 0 80px; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-left h2 em { font-style: italic; color: var(--muted); }

.contact-left p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

.contact-right { padding-top: 8px; }

.contact-item {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
}

.contact-item:first-child { border-top: 0.5px solid var(--border); }

.contact-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 6px;
}

.contact-value {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  transition: color 0.15s;
}

.contact-value:hover { color: var(--muted); }

footer {
  background: #0D0D2B;
  padding: 32px 0;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-mark {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #A0A0C8;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A0A0C8;
  transition: color 0.15s;
}

.footer-right a:hover { color: #F2F2EE; }

@media (max-width: 680px) {
  .container { padding: 0 20px; }

  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; }
  .nav-mark { font-size: 14px; }

  .hero { min-height: unset; padding: 40px 0 48px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 16px; }
  .hero-headline { font-size: 38px; margin-bottom: 6px; }
  .hero-sub { font-size: 17px; margin-bottom: 24px; }
  .hero-bio { font-size: 15px; margin-bottom: 28px; }
  .hero-links { gap: 8px; }
  .pill { font-size: 11px; padding: 6px 13px; }

  .writing-section { padding: 48px 0; }
  .writing-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .writing-intro-left h2 { font-size: 26px; }
  .writing-intro-right p { font-size: 13px; }

  .featured-row { grid-template-columns: 1fr; }
  .article-big { min-height: 160px; padding: 20px; }
  .article-title-big { font-size: 18px; }
  .article-sm { padding: 18px; }
  .article-row { grid-template-columns: 1fr; gap: 10px; }
  .article-card { padding: 16px; }

  .work-section { padding: 48px 0; }
  .work-header { margin-bottom: 24px; }
  .work-header h2 { font-size: 26px; }
  .work-item { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .work-dates { font-size: 11px; }
  .work-title { font-size: 17px; }
  .work-desc { font-size: 13px; }

  .credentials-section { padding: 48px 0; }
  .credentials-header h2 { font-size: 26px; }
  .cert-row { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
  .cert-item { padding: 14px 16px; }
  .skills-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .skills-group li { font-size: 12px; line-height: 2; }

  .contact-section { padding: 48px 0 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-left h2 { font-size: 30px; }
  .contact-left p { font-size: 13px; }
  .contact-value { font-size: 14px; }

  .footer-inner { padding: 0 20px; flex-direction: column; gap: 12px; text-align: center; }
  .footer-right { gap: 16px; }
}

@media (max-width: 380px) {
  .hero-headline { font-size: 30px; }
  .nav-links { gap: 12px; }
  .skills-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}