@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: DMSerif;
  src: url("/assets/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --white: #fffefa;
  --ink: #171918;
  --muted: #575e5e;
  --blue: #193fc2;
  --blue-dark: #1636a7;
  --line: #d6d7d0;
  --font: Manrope, Arial, sans-serif;
  --display: DMSerif, Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
html { scrollbar-color: #7f91d8 var(--paper); scrollbar-width: thin; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--paper); }
html::-webkit-scrollbar-thumb { background: #7f91d8; border: 3px solid var(--paper); border-radius: 10px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #cdd6ff; color: #101f65; }
input, textarea, button { font: inherit; }
input, textarea { caret-color: var(--blue); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #3157ed; outline-offset: 4px; }
.site-header {
  height: 88px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e1e0d9;
  background: var(--paper);
}
.wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.wordmark img {
  display: block;
  width: 198px;
  height: auto;
}
.wordmark-dot, .title-period, .hero-signature span { color: var(--blue); }
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  font-size: .82rem;
  font-weight: 650;
}
.site-header nav a { text-decoration: none; }
.nav-contact span { color: var(--blue); margin-left: .3rem; }
.hero {
  min-height: min(840px, calc(100svh - 88px));
  position: relative;
  padding: clamp(42px, 6vh, 70px) clamp(24px, 10vw, 160px) 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  align-items: center;
  overflow: hidden;
  background: var(--white);
}
.hero-copy { position: relative; z-index: 1; }
.hero-signature {
  width: min(100%, 420px);
  margin: 0 0 16px 3px;
}
.hero-signature svg {
  display: block;
  width: 100%;
  height: auto;
}
.signature-motion .signature-art { mask: url(#hero-signature-mask); }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 4.6vw, 4.5rem);
  line-height: .88;
  letter-spacing: -.045em;
  font-weight: 400;
}
.title-line {
  display: block;
  overflow: hidden;
  padding: .06em .12em .13em 0;
  margin-bottom: .05em;
}
.title-line > span {
  display: block;
  animation: title-arrive 1.25s var(--ease) both;
  clip-path: inset(0);
  transform-origin: left;
}
.title-line-last > span { animation-delay: .14s; }
.mobile-title-break { display: none; }
.title-line:nth-child(2) > span { animation-delay: .08s; }
.title-line:nth-child(3) > span { animation-delay: .16s; }
.hero h1 em { color: var(--blue); font-style: italic; }
.hero-description {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.02em;
  margin: 1.25rem 0 1.55rem;
  max-width: 37ch;
  color: #424846;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.button:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 10px 25px #17191824; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #303432; }
.text-link {
  font-size: .83rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-decoration-color: #969a96;
  text-underline-offset: 5px;
}
.text-link span { color: var(--blue); }
.hero-art {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
}
.hero-stroke { position: relative; z-index: 1; display: block; width: min(112%, 540px); overflow: visible; }
.hero-stroke path { stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; }
.stroke-main { stroke-width: 2.1; stroke-dasharray: 690; stroke-dashoffset: 690; animation: draw 2.4s .4s var(--ease) forwards; }
.stroke-echo { stroke: #8b9bd1; stroke-width: 1; opacity: .64; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2s .75s var(--ease) forwards; }
.stroke-tick { stroke-width: 2.1; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .7s 2.25s var(--ease) forwards; }
.stroke-point { fill: #d7a740; transform-box: fill-box; transform-origin: center; animation: point-arrive .7s 2.5s var(--ease) both; }
.skills-section {
  padding: clamp(100px, 13vw, 190px) clamp(24px, 10vw, 160px) clamp(120px, 15vw, 210px);
  background: var(--paper);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: 70px;
}
.section-heading h2, .contact-intro h2 {
  font-family: var(--display);
  font-size: clamp(3.1rem, 7.2vw, 6rem);
  letter-spacing: -.04em;
  line-height: .92;
  font-weight: 400;
  margin: 0;
}
.section-heading h2 em, .contact-intro h2 em { font-style: italic; color: var(--blue); }
.section-heading p { max-width: 39ch; font-size: 1.03rem; color: #454b49; margin: 0 0 .4rem; }
.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 5vw, 78px);
}
.category-row {
  min-height: 160px;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  gap: 18px;
  align-content: start;
  border-top: 1px solid var(--line);
  transition: color .25s ease, padding .4s var(--ease);
}
.category-row:hover { padding-left: 8px; color: var(--blue); }
.category-index { font-variant-numeric: tabular-nums; font-size: .7rem; font-weight: 750; color: var(--blue); padding-top: 5px; }
.category-name {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  letter-spacing: -.025em;
  line-height: 1.17;
  margin: 0 0 12px;
  font-weight: 400;
  hyphens: auto;
}
.category-row > div { min-width: 0; }
.category-short { max-width: 48ch; font-size: .9rem; line-height: 1.65; color: #454b49; margin: 0; }
.category-arrow { color: var(--blue); font-size: 1.1rem; opacity: .55; transition: transform .3s var(--ease), opacity .3s; }
.category-row:hover .category-arrow { transform: translate(3px, -3px); opacity: 1; }
.contact-section {
  padding: clamp(88px, 12vw, 170px) clamp(24px, 10vw, 160px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(48px, 10vw, 160px);
  background: #eeede7;
}
.contact-intro { position: relative; }
.contact-intro h2 { font-size: clamp(3rem, 6.8vw, 6rem); }
.contact-intro > p { max-width: 35ch; color: #464c49; margin: 30px 0 0; }
.contact-form { padding-top: 8px; }
.form-field { margin-bottom: 28px; }
.form-field label { display: block; font-size: .77rem; font-weight: 700; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #929791;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); border-bottom-width: 2px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #535957; opacity: 1; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.turnstile-wrap { min-height: 76px; display: flex; align-items: center; margin: 16px 0 8px; }
.turnstile-status { font-size: .82rem; color: #535957; margin: 0; }
.form-status { min-height: 1.5rem; font-size: .85rem; font-weight: 650; margin: 10px 0; }
.form-status[data-state="error"] { color: #a32525; }
.form-status[data-state="success"] { color: #155d35; }
.submit-button { background: var(--blue); color: white; min-width: 225px; }
.submit-button:hover:not(:disabled) { background: var(--blue-dark); }
.submit-button:disabled { background: #898e9d; color: #f4f4f4; cursor: not-allowed; }
.submit-button.is-loading { cursor: wait; }
.form-note { max-width: 50ch; font-size: .875rem; color: #454b49; margin: 18px 0 0; }
.site-footer {
  min-height: 100px;
  padding: 24px clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: #f7f6f1;
  font-size: .78rem;
}
.footer-wordmark img { width: 155px; filter: brightness(0) invert(1); }
.site-footer > a:last-child { text-decoration: none; color: #d5d8d0; }
.reveal-ready [data-skill-area] { opacity: 0; transform: translateY(24px); filter: blur(3px); }
.reveal-ready [data-skill-area].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
@keyframes title-arrive {
  from { transform: translateY(110%) scale(.98); filter: blur(10px); clip-path: inset(0 0 100% 0); }
  to { transform: translateY(0) scale(1); filter: blur(0); clip-path: inset(0); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes point-arrive { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); padding-left: 7vw; padding-right: 6vw; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
  .hero-art { min-height: 300px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading p { margin-left: 5px; }
  .contact-section { gap: 54px; }
  .category-list { column-gap: 30px; }
  .category-row { grid-template-columns: 25px minmax(0, 1fr) 16px; gap: 12px; }
  .category-name { font-size: 1.35rem; }
}
@media (max-width: 620px) {
  .site-header { height: 70px; padding: 0 18px; gap: 8px; }
  .site-header nav { gap: 15px; font-size: .69rem; white-space: nowrap; }
  .wordmark { min-width: 0; }
  .wordmark img { width: clamp(108px, 32vw, 132px); }
  .hero { min-height: 740px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 58px 24px; }
  .hero-copy { width: 100%; min-width: 0; }
  .hero-signature { width: min(100%, 370px); margin: 0 0 13px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); line-height: .96; letter-spacing: -.04em; }
  .mobile-title-break { display: initial; }
  .hero-description { font-size: 1rem; margin: 1rem 0 1.25rem; max-width: 33ch; }
  .hero-actions { width: 100%; align-items: flex-start; flex-direction: column; gap: 16px; }
  .button { min-height: 50px; padding: 0 17px; }
  .hero-art { position: absolute; right: -50px; bottom: 60px; width: 220px; min-height: 190px; pointer-events: none; opacity: .54; }
  .hero-stroke { width: 240px; }
  .skills-section { padding: 96px 24px 110px; }
  .section-heading { margin-bottom: 50px; }
  .section-heading h2 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .section-heading p { font-size: .94rem; }
  .category-list { grid-template-columns: 1fr; }
  .category-row { min-height: 0; padding: 24px 0 28px; grid-template-columns: 27px minmax(0, 1fr) 17px; gap: 12px; }
  .category-name { font-size: 1.45rem; }
  .category-short { font-size: .9rem; }
  .contact-section { padding: 92px 24px 100px; grid-template-columns: minmax(0,1fr); gap: 36px; }
  .contact-intro, .contact-form { min-width: 0; width: 100%; max-width: 100%; }
  .contact-intro h2 { font-size: clamp(2.7rem, 12.5vw, 4.2rem); overflow-wrap: anywhere; }
  .contact-intro > p { margin-top: 20px; }
  .form-field { margin-bottom: 24px; }
  .turnstile-wrap { max-width: 100%; flex-wrap: wrap; gap: 8px; }
  .site-footer { min-height: 88px; padding: 20px 22px; font-size: .72rem; }
  .site-footer > a:last-child { max-width: 9ch; text-align: right; }
  .footer-wordmark img { width: 136px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signature-motion .signature-art { mask: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; clip-path: none !important; }
  .reveal-ready [data-skill-area] { opacity: 1; transform: none; filter: none; }
}
