:root {
  color-scheme: light;
  --bg: #faf9f6;
  --surface: #f1f0eb;
  --ink: #202427;
  --muted: #777c80;
  --line: #e4e2dd;
  --accent: #6358cd;
  --soft: #e9e6fa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.75 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  transition:
    background 0.2s,
    color 0.2s;
}
body.dark {
  color-scheme: dark;
  --bg: #181a1d;
  --surface: #24262a;
  --ink: #f5f4f1;
  --muted: #a7a7ad;
  --line: #37383d;
  --accent: #b0a7ff;
  --soft: #302d45;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.shell {
  width: min(100% - 64px, 980px);
  margin: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.logo {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -2px;
  line-height: 1;
}
.logo span,
.accent {
  color: var(--accent);
}
.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.main-nav a {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.main-nav a.active {
  color: var(--ink);
}
.controls {
  display: flex;
  gap: 9px;
}
.controls button {
  background: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  height: 32px;
  min-width: 36px;
  padding: 0 10px;
  font-size: 12px;
}
.controls button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
main {
  flex: 1;
}
.hero {
  padding: 112px 0 110px;
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 99px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}
.pulse {
  height: 7px;
  width: 7px;
  background: #49a87d;
  border-radius: 50%;
}
.eyebrow {
  color: var(--muted);
  font-size: 17px;
  margin: 27px 0 1px;
}
.hero h1 {
  font-size: clamp(68px, 10vw, 106px);
  font-weight: 790;
  letter-spacing: -7px;
  line-height: 1.12;
  margin: 0 0 17px;
}
.hero h2 {
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 0 0 17px;
  font-weight: 640;
}
.lead {
  color: var(--muted);
  max-width: 570px;
  font-size: 14px;
  line-height: 2;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 29px;
}
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 17px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  background: transparent;
  color: var(--ink);
}
.button.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.button.primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.socials {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.socials a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 570;
}
.socials a:hover {
  color: var(--accent);
}
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 17px;
  background: linear-gradient(135deg, #e4e0f6, #d7e6ef 65%, #dfe9dd);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-visual:before,
.hero-visual:after {
  content: '';
  position: absolute;
  border: 1px solid #ffffffb9;
  border-radius: 50%;
  height: 64%;
  width: 125%;
  transform: rotate(-31deg);
  z-index: -1;
}
.hero-visual:after {
  transform: rotate(58deg);
  height: 75%;
  width: 128%;
}
.hero-visual .monogram {
  font-size: clamp(96px, 13vw, 165px);
  font-weight: 800;
  letter-spacing: -19px;
  line-height: 1;
  color: white;
  text-shadow: 0 10px 30px #5654a42c;
  transform: translateX(-8px);
}
.hero-visual .monogram span {
  color: #7774b5;
}
.hero-visual small {
  position: absolute;
  bottom: 20px;
  left: 22px;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #555f81;
}
.portrait {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}
.section {
  border-top: 1px solid var(--line);
  padding: 70px 0;
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 45px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 760;
  margin-top: 11px;
  text-transform: uppercase;
}
.section-label b {
  color: var(--accent);
  margin-right: 8px;
}
.section h2,
.page h1 {
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -1.3px;
  margin: 0 0 21px;
}
.section p,
.page p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tags span {
  font-size: 11px;
  background: var(--surface);
  padding: 5px 11px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.text-link {
  border: none;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 19px 0;
}
.timeline-item time {
  font-size: 11px;
  color: var(--muted);
}
.timeline-item h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}
.timeline-item strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.timeline-item p {
  margin: 7px 0 0;
  font-size: 12px;
}
.post-list {
  border-top: 1px solid var(--line);
}
.post-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.post-row h3 {
  font-size: 16px;
  margin: 5px 0;
  line-height: 1.5;
}
.post-row p {
  font-size: 12px;
  margin: 0;
}
.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent);
  text-transform: uppercase;
}
.post-row .right-arrow {
  font-size: 20px;
  color: var(--muted);
}
.cta {
  text-align: center;
  background: var(--surface);
  border-radius: 13px;
  padding: 62px 24px;
  margin: 10px 0 70px;
}
.cta .kicker {
  letter-spacing: 2px;
}
.cta h2 {
  font-size: 36px;
  letter-spacing: -1.6px;
  margin: 8px 0;
}
.cta p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 460px;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 34px;
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.page {
  max-width: 740px;
  margin: 0 auto;
  padding: 85px 0 100px;
  min-height: 65vh;
}
.page .overline {
  font-size: 11px;
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page h1 {
  font-size: clamp(36px, 5vw, 54px);
}
.page .page-lead {
  font-size: 16px;
}
.bio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
}
.bio-card h3 {
  margin: 0 0 8px;
}
.bio-card p {
  margin: 0;
}
.contact-list {
  margin: 35px 0;
  border-top: 1px solid var(--line);
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-row span {
  color: var(--muted);
}
.article .article-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-body {
  margin-top: 45px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  overflow-wrap: anywhere;
}
.article-body h1,
.article-body h2,
.article-body h3 {
  letter-spacing: -0.8px;
  margin: 28px 0 10px;
}
.article-body h1 {
  font-size: 29px;
}
.article-body h2 {
  font-size: 23px;
}
.article-body h3 {
  font-size: 18px;
}
.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
}
.article-body pre {
  background: var(--surface);
  padding: 17px;
  border-radius: 8px;
  overflow: auto;
  font-size: 13px;
}
.article-body code {
  font-size: 0.9em;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-left: 0;
  color: var(--muted);
}
.article-body blockquote p {
  color: var(--muted);
}
.draft {
  background: var(--soft);
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
  margin-left: 8px;
}
.notice {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 12px);
  max-width: 90vw;
  background: #30313a;
  color: #fff;
  border-radius: 8px;
  padding: 10px 17px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  font-size: 12px;
  z-index: 20;
}
.notice.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.empty-note {
  padding: 36px 0;
  color: var(--muted);
}
@media (max-width: 720px) {
  .shell {
    width: min(100% - 36px, 980px);
  }
  .topbar {
    height: 70px;
    gap: 14px;
  }
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 0 65px;
  }
  .hero-visual {
    grid-row: 1;
    aspect-ratio: 2.1;
    max-width: 460px;
  }
  .hero-visual .monogram {
    font-size: 105px;
  }
  .hero h1 {
    font-size: 74px;
    letter-spacing: -5px;
  }
  .section {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 43px 0;
  }
  .section-label {
    margin: 0;
  }
  .page {
    padding: 60px 0 80px;
  }
  .cta {
    padding: 45px 20px;
    margin-bottom: 55px;
  }
}
@media (max-width: 450px) {
  .shell {
    width: min(100% - 28px, 980px);
  }
  .topbar {
    gap: 10px;
  }
  .logo {
    font-size: 25px;
  }
  .main-nav {
    gap: 10px;
  }
  .main-nav a {
    font-size: 10px;
  }
  .controls {
    gap: 4px;
  }
  .controls button {
    padding: 0 6px;
    min-width: 28px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .footer {
    flex-direction: column;
    gap: 3px;
  }
  .section-head {
    align-items: start;
  }
  .cta h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body,
  .notice {
    transition: none;
  }
}
