* { box-sizing: border-box; }
html { min-height: 100%; color-scheme: light; }
body { margin: 0; min-height: 100vh; background: #fff; color: #161616; font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 8px; }
.landing { min-height: 100vh; display: grid; place-items: center; padding: 48px 24px; }
.intro { width: min(100%, 540px); margin-top: -50px; }
.intro h1, .intro p { margin: 0; letter-spacing: -.04em; }
.name-group { position: relative; width: fit-content; margin-bottom: 24px; }
.intro h1 { margin: 0; font-size: clamp(40px, 4vw, 48px); font-weight: 600; line-height: 1.2; }
.surname-trigger { display: inline; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; text-decoration: underline; text-decoration-color: #888; text-decoration-thickness: 1px; text-underline-offset: 7px; cursor: help; }
.surname-trigger:hover, .surname-trigger:focus-visible { text-decoration-color: #a95034; }
.surname-trigger:focus-visible { outline: 1px solid #a95034; outline-offset: 5px; }
.origin-note { position: absolute; bottom: calc(100% + 16px); left: 0; width: min(380px, calc(100vw - 56px)); padding: 4px 0 4px 12px; border-left: 1px solid #a95034; color: #555; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.name-group:has(.surname-trigger:hover) .origin-note, .name-group:focus-within .origin-note { opacity: 1; visibility: visible; transform: translateY(0); }
.intro p { font-size: clamp(28px, 2.6vw, 34px); font-weight: 400; line-height: 1.38; }
.intro-detail-group { position: relative; display: inline-block; }
.intro-detail-trigger { padding: 0; border: 0; border-bottom: 1px solid #c9c9c9; background: none; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; cursor: help; }
.intro-detail-trigger:hover, .intro-detail-trigger:focus-visible { border-bottom-color: #a95034; }
.intro-detail-trigger:focus-visible { outline: 1px solid #a95034; outline-offset: 4px; }
.intro-detail-note { position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 3; width: max-content; max-width: min(340px, calc(100vw - 56px)); padding: 4px 0 4px 12px; border-left: 1px solid #a95034; background: #fff; color: #555; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.intro-detail-group:has(.intro-detail-trigger:hover) .intro-detail-note, .intro-detail-group:focus-within .intro-detail-note { opacity: 1; visibility: visible; transform: translateY(0); }
.links { display: flex; align-items: center; justify-content: flex-start; gap: 56px; margin-top: 90px; padding-left: 10px; }
.links a { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; transition: color .18s ease, transform .18s ease; }
.links a:hover, .links a:focus-visible { color: #a95034; transform: translateY(-2px); }
.links a::after { content: attr(data-label); position: absolute; top: 45px; left: 50%; transform: translateX(-50%); color: #a95034; font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.links a:hover::after, .links a:focus-visible::after { opacity: 1; }
.links svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.links .linkedin-icon, .links .x-icon, .links .github-icon { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.mobile-menu-toggle, .mobile-writing, .mobile-menu, .mobile-menu-backdrop { display: none; }
[hidden] { display: none !important; }
.subpage { width: min(100% - 48px, 540px); margin: 0 auto; padding: 100px 0; }
.subpage a { text-decoration: none; }
.subpage a:hover { text-decoration: underline; }
.subpage .back { display: inline-block; margin-bottom: 100px; font-size: 16px; }
.subpage h1 { margin: 0 0 54px; font-size: clamp(36px, 4vw, 48px); font-weight: 400; letter-spacing: -.045em; }
.subpage > p { margin: 0; color: #444; font-size: 20px; line-height: 1.5; }
.roles { list-style: none; padding: 0; margin: 0; }
.roles li { display: grid; grid-template-columns: 1fr auto; gap: 0 30px; margin-bottom: 38px; }
.roles h2 { margin: 0 0 8px; font-size: 23px; font-weight: 400; letter-spacing: -.035em; }
.roles p { grid-column: 1; grid-row: 2; margin: 0; font-size: 16px; color: #555; }
.roles .role-note { grid-column: 1 / -1; grid-row: 3; margin-top: 9px; font-size: 14px; color: #777; line-height: 1.5; }
.roles time { grid-column: 2; grid-row: 1; padding-top: 6px; white-space: nowrap; font-size: 13px; color: #777; }
.writing-page { width: min(100% - 48px, 620px); }
.writing-page h1 { margin-bottom: 48px; }
.post-preview-link { display: block; }
.writing-page .post-preview-link:hover { text-decoration: none; }
.writing-list { display: grid; gap: 0; margin-bottom: 60px; }
.writing-list .post-preview { padding: 30px 0; border-top: 1px solid #e5e5e5; }
.writing-list .post-preview:last-child { border-bottom: 1px solid #e5e5e5; }
.writing-list .post-preview h2 { margin: 11px 0 9px; font-size: clamp(25px, 3vw, 31px); }
.writing-list .post-preview p { font-size: 16px; }
.writing-list .post-preview-link:hover h2 { color: #a95034; }
.post-preview img, .article-page figure img { display: block; width: 100%; height: auto; }
.post-preview img { margin-bottom: 28px; }
.post-meta { display: flex; gap: 20px; color: #777; font-size: 13px; letter-spacing: .01em; }
.post-preview h2 { margin: 14px 0 12px; font-size: clamp(27px, 4vw, 35px); font-weight: 400; letter-spacing: -.045em; line-height: 1.2; }
.post-preview p { margin: 0; max-width: 500px; color: #555; font-size: 17px; line-height: 1.55; }
.read-more { display: inline-block; margin-top: 28px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.post-preview-link:hover .read-more { color: #a95034; }
.article-page { width: min(100% - 48px, 620px); }
.article-page .back { margin-bottom: 75px; }
.article-page h1 { margin: 14px 0 22px; line-height: 1.15; }
.article-page .standfirst { margin: 0 0 38px; color: #555; font-size: 21px; line-height: 1.45; }
.article-page figure { margin: 0 0 42px; }
.article-illustration img { border-radius: 5px; }
.article-page figcaption { margin-top: 9px; color: #888; font-size: 12px; }
.article-page article > p:not(.standfirst), .article-page article > h2 { max-width: 580px; }
.article-page article > p:not(.standfirst) { margin: 0 0 23px; font-size: 17px; line-height: 1.72; }
.article-page article > p code { padding: 1px 4px; background: #f3f3f3; font-family: 'SFMono-Regular', Consolas, monospace; font-size: .87em; }
.article-page pre { margin: 10px 0 30px; padding: 20px; overflow-x: auto; background: #f5f5f3; color: #222; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; line-height: 1.65; }
.article-page pre code { font: inherit; }
.article-page h2 { margin: 48px 0 16px; font-size: 23px; font-weight: 500; letter-spacing: -.035em; }
.article-page .source-note { margin-top: 56px !important; padding-top: 19px; border-top: 1px solid #ddd; color: #777; font-size: 14px !important; line-height: 1.6 !important; }
.article-page .source-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .landing { min-height: 100svh; display: flex; flex-direction: column; align-items: stretch; padding: 42px 0 34px; overflow: hidden; }
  .intro { position: relative; width: auto; margin: 0 70px 0 28px; }
  .intro h1 { font-size: 22px; font-weight: 500; line-height: 1.25; }
  .name-group { margin-bottom: 27px; }
  .surname-trigger { text-decoration: none; }
  .origin-note { bottom: auto; top: calc(100% + 9px); z-index: 3; width: min(300px, calc(100vw - 56px)); background: #fff; }
  .intro p { font-size: 21px; line-height: 1.3; }
  .intro-detail-group { position: static; }
  .intro-detail-note { bottom: auto; top: calc(100% + 12px); left: 0; }
  .links { display: none; }
  .mobile-menu-toggle { position: absolute; top: 37px; right: 25px; z-index: 30; display: grid; place-items: center; width: 32px; height: 32px; padding: 5px; border: 0; background: transparent; color: inherit; cursor: pointer; }
  .mobile-menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-menu-toggle:focus-visible, .mobile-writing-positions button:focus-visible { outline: 2px solid #161616; outline-offset: 3px; }
  .mobile-writing { display: block; margin-top: auto; width: 100%; }
  .mobile-writing-track { display: flex; gap: 24px; width: 100%; padding: 0 10vw 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 10vw; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mobile-writing-track::-webkit-scrollbar { display: none; }
  .mobile-writing-card { flex: 0 0 clamp(205px, 54vw, 280px); display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; scroll-snap-align: center; }
  .mobile-writing-cover { display: block; width: 100%; height: min(39svh, 340px); overflow: hidden; border-radius: 5px; background: #f1f0eb; }
  .mobile-writing-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .mobile-writing-cover--photo img { object-fit: cover; object-position: center; }
  .mobile-writing-cover--index { display: grid; place-items: center; border: 1px solid #e9e9e9; border-radius: 0 28px 28px 0; background: #fff; }
  .mobile-writing-cover--index span { font-size: 34px; font-weight: 300; line-height: 1; }
  .mobile-writing-cover--topic { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; color: #222; }
  .mobile-writing-cover--topic::after { content: ''; position: absolute; top: 29%; right: -22%; width: 74%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .17; }
  .mobile-writing-cover--topic .topic-mark { position: relative; z-index: 1; font-size: 11px; letter-spacing: .08em; }
  .mobile-writing-cover--topic .topic-cover-title { position: relative; z-index: 1; font-size: clamp(24px, 6vw, 31px); font-weight: 500; line-height: 1.07; letter-spacing: -.05em; }
  .topic-scan { background: #e8ece6; }
  .topic-rollout { background: #e9e9ed; }
  .topic-capacity { background: #eeeae3; }
  .topic-rag { background: #e6eced; }
  .topic-permissions { background: #ede8e5; }
  .mobile-writing-title { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
  .mobile-writing-meta { display: block; margin-top: 2px; color: #777; font-size: 13px; line-height: 1.35; }
  .mobile-writing-description { display: block; margin-top: 12px; max-width: 240px; font-size: 13px; line-height: 1.45; }
  .mobile-writing-positions { display: flex; justify-content: center; align-items: center; gap: 31px; height: 10px; margin-top: 48px; }
  .mobile-writing-positions button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 3px; background: #d4d4d4; cursor: pointer; }
  .mobile-writing-positions button[aria-current="true"] { width: 13px; height: 13px; background: #161616; }
  .mobile-menu-backdrop { position: fixed; inset: 0; z-index: 20; display: block; border: 0; background: rgba(255,255,255,.77); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: default; }
  .mobile-menu { position: fixed; top: 99px; right: 31px; z-index: 25; display: flex; flex-direction: column; align-items: stretch; gap: 29px; width: min(220px, calc(100vw - 62px)); }
  .mobile-menu a { display: flex; justify-content: flex-end; align-items: center; gap: 28px; min-height: 24px; color: #5e5e5e; font-size: 14px; text-decoration: none; }
  .mobile-menu a:hover, .mobile-menu a:focus-visible { color: #161616; }
  .mobile-menu a span { display: grid; place-items: center; width: 22px; height: 22px; color: #161616; }
  .mobile-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-menu .linkedin-icon, .mobile-menu .x-icon, .mobile-menu .github-icon { fill: currentColor; stroke: none; }
}
@media (max-width: 600px) {
  .subpage { padding-top: 60px; }
  .subpage .back { margin-bottom: 80px; }
  .roles li { gap: 0 15px; }
  .roles h2 { font-size: 20px; }
  .roles time { font-size: 12px; }
}
@media (max-width: 720px) and (max-height: 680px) {
  .landing { min-height: 680px; }
}
