:root {
  --ink: #171717;
  --muted: #928c88;
  --soft: #f8f8f8;
  --line: #ededeb;
  --orange: #f06a3a;
  --orange-deep: #c94d24;
  --orange-glow: rgba(240, 106, 58, 0.2);
  --section-gap: 64px;
  --page: min(700px, calc(100vw - 40px));
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 48px;
  left: 50%;
  display: flex;
  width: 210px;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  width: 0;
  height: 42px;
  overflow: hidden;
  gap: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(248, 248, 248, 0);
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  opacity: 0;
  white-space: nowrap;
  backdrop-filter: blur(16px);
  transform: translateY(-7px) scale(.97);
  transition: width 300ms ease, gap 300ms ease, padding 300ms ease, opacity 180ms ease, transform 260ms ease, background 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}

.breadcrumb.is-open {
  width: 198px;
  gap: 10px;
  padding: 8px 15px;
  border-color: rgba(0, 0, 0, 0.018);
  background: rgba(248, 248, 248, 0.96);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.055);
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.breadcrumb.is-open:hover, .breadcrumb.is-open:focus-within { box-shadow: 0 7px 24px rgba(0, 0, 0, 0.075); }

.breadcrumb-home { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.breadcrumb-name, .breadcrumb-trail { display: inline-flex; opacity: 1; }
.breadcrumb-name { color: var(--ink); }
.breadcrumb-trail:first-of-type { font-size: 16px; line-height: 1; }
.type-char { display: inline-block; opacity: 0; transform: translateY(3px); }
.breadcrumb.is-open .type-char {
  animation: type-char-in 70ms ease-out both;
  animation-delay: var(--char-delay);
}
.breadcrumb::after {
  width: 1px;
  height: 14px;
  flex: 0 0 1px;
  content: "";
  background: var(--orange);
  opacity: 0;
}
.breadcrumb.is-open::after { animation: typing-caret 600ms steps(1) 3; animation-delay: var(--typing-end, 1.2s); }

@keyframes type-char-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typing-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.top-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  text-decoration: none;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.top-contact::before {
  position: absolute;
  z-index: 0;
  right: 12px;
  bottom: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(145deg, #ff8153, var(--orange-deep));
  transform: translateY(50%) scale(0);
  transition: transform 420ms cubic-bezier(.65, 0, .2, 1);
  pointer-events: none;
}
.top-contact:hover {
  box-shadow: 0 8px 22px var(--orange-glow);
  transform: translateY(-2px);
}
.top-contact:hover::before,
.top-contact.is-copied::before { transform: translateY(50%) scale(22); }
.top-contact.is-copied { box-shadow: 0 8px 22px var(--orange-glow); }
.top-contact:active { transform: translateY(0) scale(0.98); }

.contact-label {
  position: relative;
  z-index: 1;
  display: block;
  width: 62px;
  height: 1.35em;
  overflow: hidden;
}
.contact-label-default,
.contact-label-hover,
.contact-label-copied {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  height: 1.35em;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 240ms cubic-bezier(.65, 0, .2, 1);
}
.contact-label-hover { opacity: 0; }
.contact-label-copied { opacity: 0; transform: translateY(5px); }
.top-contact:hover .contact-label-default { opacity: 0; transform: translateY(-5px); }
.top-contact:hover .contact-label-hover { opacity: 1; }
.contact-type-char { display: inline-block; opacity: 0; transform: translateY(4px); }
.top-contact:hover .contact-type-char {
  animation: contact-char-in 90ms ease-out both;
  animation-delay: var(--contact-char-delay);
}
.top-contact.is-copied .contact-label-default,
.top-contact.is-copied .contact-label-hover { opacity: 0; transform: translateY(-5px); }
.top-contact.is-copied .contact-label-copied { opacity: 1; transform: translateY(0); }

@keyframes contact-char-in {
  to { opacity: 1; transform: translateY(0); }
}

.contact-glyph {
  position: relative;
  z-index: 1;
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.contact-arrow {
  position: absolute;
  inset: -2px 0 0;
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.65, 0, .2, 1);
}
.top-contact:hover .contact-arrow { opacity: 0; transform: translate(5px, -5px) rotate(22deg); }
.chat-bubble {
  position: absolute;
  top: 2px;
  left: 1px;
  width: 12px;
  height: 9px;
  border: 1.4px solid #fff;
  border-radius: 4px;
  opacity: 0;
  transform: scale(.45) rotate(-18deg);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.65, 0, .2, 1);
}
.chat-bubble::after {
  position: absolute;
  right: 1px;
  bottom: -3px;
  width: 4px;
  height: 4px;
  border-right: 1.4px solid #fff;
  border-bottom: 1.4px solid #fff;
  content: "";
  transform: skewY(28deg);
}
.top-contact:hover .chat-bubble { opacity: 1; transform: scale(1) rotate(0); }
.contact-check {
  position: absolute;
  inset: -2px 0 0;
  opacity: 0;
  transform: scale(.45) rotate(-24deg);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.65, 0, .2, 1);
}
.top-contact.is-copied .contact-arrow,
.top-contact.is-copied .chat-bubble { opacity: 0; transform: scale(.45) rotate(18deg); }
.top-contact.is-copied .contact-check { opacity: 1; transform: scale(1) rotate(0); }

main, footer { width: var(--page); margin: 0 auto; }
.intro { padding-top: 160px; }

.intro-heading { margin-bottom: 24px; }
.intro-heading h1, .intro-heading p { margin: 0; font-size: 16px; font-weight: 400; line-height: 24px; }
.intro-heading h1 { color: #101010; font-weight: 600; }
.intro-heading p { color: var(--muted); font-size: 14px; line-height: 1.42; }

.prose > p { margin: 0 0 21px; font-size: 14px; line-height: 1.42; }
.prose > p:last-of-type { margin-bottom: 0; }

.contact-action { display: flex; justify-content: flex-end; margin: 44px 0 0; }

.content-section { margin: 0; padding-top: var(--section-gap); }
.content-section:last-of-type { padding-bottom: var(--section-gap); }
.content-section h2 { margin: 0 0 28px; color: #101010; font-size: 15px; font-weight: 600; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.row p { margin: 0; font-size: 14px; line-height: 1.42; }
.row > p:first-child { min-width: 0; }
.row > p:last-child { white-space: nowrap; }
.row span { margin-left: 6px; color: var(--muted); }
.row a { text-decoration: none; }
.row a:hover { text-decoration: underline; }

.role-copy { min-width: 0; }
.role-copy small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.education-copy { min-width: 0; }
.education-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.role-copy small::before {
  width: 14px;
  height: 1px;
  flex: 0 0 14px;
  content: "";
  background: var(--orange);
}

.context-note {
  max-width: 625px;
  margin-top: 22px;
  padding-left: 15px;
  border-left: 2px solid var(--orange);
}
.context-note p { margin: 0; font-size: 13px; line-height: 1.45; }
.context-note p + p { margin-top: 6px; color: var(--muted); }
.context-note strong { font-weight: 500; }

.work-rows { gap: 0; border-top: 1px solid var(--line); }
.work-rows .row { padding: 15px 0; border-bottom: 1px solid var(--line); }
.impact-copy { min-width: 0; }
.impact-copy p { font-size: 14px; }
.impact-copy small {
  display: block;
  max-width: 480px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.impact-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.impact-result strong { font-size: 14px; font-weight: 400; letter-spacing: normal; }
.impact-result span { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }

@media (hover: hover) {
  .role-copy small::before { transition: transform 220ms ease; transform-origin: left; }
  .row:hover .role-copy small::before { transform: scaleX(1.45); }
  .work-rows .row { transition: background 220ms ease; }
  .work-rows .row:hover { background: linear-gradient(90deg, rgba(240,106,58,.04), transparent 70%); }
  .impact-result strong { transition: color 220ms ease; }
  .work-rows .row:hover .impact-result strong { color: var(--orange-deep); }
}

.contact-links { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-bottom: 12px; color: var(--ink); font-size: 11px; line-height: 1.4; }
.contact-links a { text-decoration: none; }
.contact-links a:hover { color: var(--orange-deep); text-decoration: underline; }
.contact-links span { color: var(--muted); }

footer { padding: 18px 0 26px; border-top: 1px solid var(--line); }
.footer-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.footer-meta p { margin: 0; }
*:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

@media (max-width: 720px) {
  :root { --page: calc(100vw - 32px); --section-gap: 56px; }
  .site-header { top: 20px; }
  .intro { padding-top: 126px; }
  .row { grid-template-columns: 1fr; gap: 1px; }
  .row > p:last-child { color: var(--muted); }
  .row span { display: block; margin: 1px 0 0; }
  .work-rows .row { gap: 5px; }
  .impact-result { align-items: flex-start; margin-top: 3px; text-align: left; }
  .impact-result strong { color: var(--ink); }
}

@media (max-width: 510px) {
  .breadcrumb.is-open { width: 198px; padding-right: 12px; padding-left: 12px; }
  .intro-heading h1 { font-size: 16px; line-height: 1.48; }
  .intro-heading p, .prose > p { font-size: 14px; line-height: 1.42; }
  .contact-action { margin: 38px 0 0; }
}

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