:root {
  color-scheme: dark;
  --background: #090b14;
  --surface: #10131f;
  --surface-raised: #141827;
  --text: #f1f0f7;
  --muted: #9a9daf;
  --purple: #ab8cff;
  --mint: #a7efcf;
  --border: rgba(209, 211, 235, 0.12);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 13%, rgba(86, 62, 145, 0.12), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { color: #090b14; background: var(--mint); }

.site-header, .section-wrap, .site-footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 18px var(--font-display);
  letter-spacing: -0.06em;
}

.wordmark-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(171, 140, 255, 0.45);
  border-radius: 9px;
  color: var(--purple);
  font-size: 15px;
  letter-spacing: -0.04em;
}

.wordmark-dot { color: var(--purple); }
.navigation { display: flex; align-items: center; gap: 34px; }
.navigation > a { color: #b6b7c4; font-size: 12px; transition: color 180ms ease; }
.navigation > a:hover, .text-link:hover, .back-top:hover { color: var(--mint); }
.navigation .nav-cta { color: var(--text); }
.nav-cta span { padding-left: 5px; color: var(--purple); }

.menu-toggle { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 44px;
  padding-block: 74px 82px;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px rgba(167, 239, 207, 0.6); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }

h1 {
  max-width: 620px;
  margin-bottom: 12px;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

h1 span, h2 span { color: var(--purple); }
.hero-role { margin: 0; color: #d3c4ff; font-size: 15px; font-weight: 500; }
.role-divider { padding-inline: 5px; color: #65687b; }
.hero-description { max-width: 490px; margin: 23px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 17px;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: #12101a; }
.button-primary:hover { background: #c1aaff; }
.button span { font-size: 15px; }
.text-link { color: #d4d4de; font-size: 12px; transition: color 180ms ease; }
.text-link span { padding-left: 4px; color: var(--mint); }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 42px; color: #777b8f; font-size: 10px; }
.footnote-line { width: 25px; height: 1px; background: #626579; }

.portrait-column { position: relative; min-height: 385px; display: grid; place-items: center; }
.portrait-halo {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 117, 244, 0.22) 0%, rgba(111, 87, 190, 0.08) 49%, transparent 72%);
  filter: blur(7px);
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: 284px;
  height: 284px;
  padding: 8px;
  border: 1px solid rgba(188, 162, 255, 0.55);
  border-radius: 50%;
  background: rgba(171, 140, 255, 0.06);
  box-shadow: 0 0 0 11px rgba(171, 140, 255, 0.035), 0 26px 90px rgba(0, 0, 0, 0.42);
}

.portrait { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 26%; }
.portrait-caption {
  position: absolute;
  z-index: 2;
  right: 3px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(16, 19, 31, 0.95);
  color: #dbdce8;
  font-size: 10px;
}

.caption-icon { color: var(--mint); font-size: 15px; }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(171, 140, 255, 0.12); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 400px; height: 165px; }
.orbit-two { width: 330px; height: 415px; transform: rotate(38deg); }

.ticker { overflow: hidden; border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }
.ticker-track { min-width: max-content; min-height: 59px; display: flex; align-items: center; justify-content: space-around; gap: 39px; padding-inline: 35px; color: #a8aabd; font: 500 9px var(--font-display); letter-spacing: 0.16em; }
.ticker i { color: var(--purple); font-size: 13px; font-style: normal; }

.about { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 60px; padding-block: 105px 112px; }
.section-label { display: flex; align-items: center; gap: 12px; }
.section-label span { color: var(--purple); font: 500 11px var(--font-display); }
.about-content h2, .focus-heading h2, .contact-copy h2 { font-size: clamp(33px, 4vw, 48px); line-height: 1.13; letter-spacing: -0.055em; }
.about-content h2 { max-width: 690px; margin-bottom: 22px; }
.about-content p, .focus-heading > p, .contact-copy > p { max-width: 620px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-content p:last-child { margin-bottom: 0; }

.focus { padding-block: 77px 93px; border-top: 1px solid var(--border); }
.focus-heading { max-width: 530px; margin-bottom: 37px; }
.focus-heading h2 { margin: 22px 0 12px; }
.focus-heading > p { margin-bottom: 0; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.focus-card {
  min-height: 276px;
  padding: 22px 21px 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.008));
}

.focus-card-accent { border-color: rgba(171, 140, 255, 0.3); background: linear-gradient(145deg, rgba(131, 98, 209, 0.12), rgba(255, 255, 255, 0.009)); }
.card-number { color: #85899c; font: 500 9px var(--font-display); letter-spacing: 0.12em; }
.card-icon { margin: 23px 0 11px; color: var(--purple); font-size: 21px; }
.focus-card:nth-child(2) .card-icon { color: var(--mint); }
.focus-card h3 { margin-bottom: 9px; font-size: 17px; letter-spacing: -0.035em; }
.focus-card p { min-height: 57px; margin-bottom: 17px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tags span { padding: 5px 8px; border: 1px solid rgba(209, 211, 235, 0.1); border-radius: 3px; color: #aaadbd; font-size: 9px; }
.focus-note { margin: 16px 0 0; color: #777b8f; font-size: 10px; }

.contact { padding-block: 76px 95px; border-top: 1px solid var(--border); }
.contact-layout { display: grid; grid-template-columns: 1fr 0.82fr; gap: 100px; padding-top: 37px; }
.contact-copy h2 { margin-bottom: 17px; }
.contact-copy > p { max-width: 410px; margin-bottom: 23px; }
.contact-copy .email-link { display: inline-block; margin-top: 2px; color: #e4d9ff; font-size: 13px; }
.email-link span { padding-left: 5px; color: var(--mint); }
.contact-copy .email-note { margin: 8px 0 0; color: #777b8f; font-size: 10px; }
.contact-form { display: flex; flex-direction: column; }
.contact-form label { margin: 0 0 8px; color: #c8c9d5; font-size: 10px; }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: 17px; padding: 12px; border: 1px solid var(--border); border-radius: 4px; outline: none; background: #0e111b; color: var(--text); font-size: 11px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(171, 140, 255, 0.7); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #656a7d; }
.contact-form textarea { min-height: 98px; resize: vertical; }
.submit-button { align-self: flex-start; }
.form-status { min-height: 18px; margin: 12px 0 0; color: var(--mint); font-size: 11px; line-height: 1.6; }
.form-status.is-error { color: #ff9aab; }

.site-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); }
.footer-wordmark { font-size: 14px; }
.footer-wordmark .wordmark-mark { width: 25px; height: 25px; font-size: 12px; }
.site-footer p, .back-top { margin: 0; color: #777b8f; font-size: 10px; }
.back-top { transition: color 180ms ease; }

@media (min-width: 1400px) {
  .hero { min-height: 620px; }
}

@media (max-width: 760px) {
  .site-header, .section-wrap, .site-footer { width: min(100% - 40px, 560px); }
  .site-header { min-height: 70px; }
  .menu-toggle { width: 38px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 5px; background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 15px; height: 1px; background: var(--text); }
  .navigation { position: absolute; z-index: 5; top: 62px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; background: #10131f; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); }
  .navigation.is-open { display: flex; }
  .navigation > a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .navigation > a:last-child { border-bottom: 0; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 37px; padding-block: 64px 60px; }
  .hero-copy { order: 1; }
  .portrait-column { min-height: 315px; order: 0; }
  .portrait-frame { width: 235px; height: 235px; }
  .portrait-halo { width: 290px; height: 290px; }
  .orbit-one { width: 330px; height: 140px; }
  .orbit-two { width: 280px; height: 345px; }
  .portrait-caption { right: calc(50% - 142px); bottom: 22px; }
  h1 { font-size: clamp(43px, 11vw, 62px); }
  .hero-description { max-width: 530px; }
  .hero-footnote { margin-top: 31px; }
  .ticker-track { justify-content: flex-start; gap: 25px; padding-inline: 20px; font-size: 8px; }
  .about { grid-template-columns: 1fr; gap: 25px; padding-block: 75px; }
  .focus { padding-block: 67px 73px; }
  .focus-grid { grid-template-columns: 1fr; gap: 11px; }
  .focus-card { min-height: 0; }
  .focus-card p { min-height: 0; max-width: 390px; }
  .contact { padding-block: 64px 70px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .site-footer { min-height: 75px; flex-wrap: wrap; gap: 12px; padding-block: 15px; }
}

@media (max-width: 400px) {
  .site-header, .section-wrap, .site-footer { width: calc(100% - 32px); }
  .hero-actions { gap: 17px; }
  .button { padding-inline: 13px; }
  .hero-footnote { font-size: 9px; }
  .contact-copy h2 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
