/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: Consolas, 'Cascadia Code', ui-monospace, SFMono-Regular, 'SF Mono',
    Menlo, Monaco, 'Liberation Mono', 'Courier New', monospace;
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --leading-relaxed: 1.6;
    --radius-lg: 0.5rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --text-body: 1rem;
    --container-content: 56rem;
    --ease-custom: cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .container-custom {
    margin-inline: auto;
    max-width: var(--container-content);
    padding-inline: calc(var(--spacing) * 4);
    @media (width >= 48rem) {
      padding-inline: calc(var(--spacing) * 6);
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .external-link-icon {
    height: calc(var(--spacing) * 3);
    width: calc(var(--spacing) * 3);
    opacity: 50%;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-full {
    width: 100%;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .flex-col {
    flex-direction: column;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .underline {
    text-decoration-line: underline;
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
@view-transition {
  navigation: auto;
}
@layer base {
  html {
    scroll-behavior: smooth;
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
    background-color: var(--ui-bg);
  }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    mix-blend-mode: overlay;
  }
  .dark body::before {
    opacity: 0.12;
    mix-blend-mode: soft-light;
  }
  *,::after,::before {
    box-sizing: border-box;
    border-style: var(--tw-border-style);
    border-width: 0px;
    --tw-border-style: solid;
    border-style: solid;
    border-color: var(--ui-line);
  }
  body {
    margin: 0px;
    min-height: 100vh;
    font-family: var(--font-mono);
    font-size: var(--text-body);
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 150ms;
    transition-duration: 150ms;
    --tw-ease: var(--ease-custom);
    transition-timing-function: var(--ease-custom);
    background-color: var(--ui-bg);
    color: var(--ui-fg);
  }
  a {
    text-decoration-line: underline;
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 150ms;
    transition-duration: 150ms;
    --tw-ease: var(--ease-custom);
    transition-timing-function: var(--ease-custom);
    color: var(--ui-accent);
    text-decoration-color: rgba(21,128,61,0.3);
  }
  .dark a {
    text-decoration-color: rgba(74,222,128,0.3);
  }
  a:hover {
    text-decoration-line: underline;
    color: var(--ui-fg);
    text-decoration-color: currentColor;
  }
  ul,ol {
    list-style-position: inside;
    padding-left: calc(var(--spacing) * 5);
    color: var(--ui-fg);
  }
  ul {
    list-style-type: disc;
  }
  ol {
    list-style-type: decimal;
  }
  li {
    margin-block: calc(var(--spacing) * 1.5);
  }
  li::marker {
    color: var(--ui-fg);
  }
  img {
    margin-inline: auto;
    margin-block: calc(var(--spacing) * 4);
    display: block;
    max-width: 100%;
  }
  blockquote {
    border-radius: var(--radius-lg);
    padding-left: calc(var(--spacing) * 5);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    margin: 0;
    border: 1px solid rgba(21, 128, 61, 0.2);
    background-color: #f0fdf4;
  }
  .dark blockquote {
    border: 1px solid rgba(34, 197, 94, 0.15);
    background-color: #111113;
  }
  .separator {
    margin-inline: auto;
    margin-block: calc(var(--spacing) * 12);
    width: calc(1 / 5 * 100%);
    border-top-style: var(--tw-border-style);
    border-top-width: 8px;
    --tw-border-style: dotted;
    border-style: dotted;
    border-color: var(--ui-line);
  }
  dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: revert;
  }
  ::selection {
    background: rgba(180, 213, 255, 0.6);
    color: inherit;
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }
  :root {
    --ui-bg: #fcfcfd;
    --ui-surface: #ffffff;
    --ui-header: #fefefe;
    --ui-fg: #374151;
    --ui-fg2: #4b5563;
    --ui-line: #e5e7eb;
    --ui-line-strong: #9ca3af;
    --ui-accent: #15803d;
    --ui-on-accent: #ffffff;
    --ui-pill-bg: rgba(21, 128, 61, 0.07);
    --ui-pill-line: rgba(21, 128, 61, 0.22);
    --ui-hover: #f7f8f9;
    --ui-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    --ui-code-bg: #fafafa;
    --ui-inline-code: rgba(27, 31, 35, 0.06);
    --ui-serif: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  }
  .dark {
    --ui-bg: #111114;
    --ui-surface: #141416;
    --ui-header: #000000;
    --ui-fg: #cbd5e1;
    --ui-fg2: #a1a1aa;
    --ui-line: #2a2a2e;
    --ui-line-strong: #52525b;
    --ui-accent: #4ade80;
    --ui-on-accent: #0b0b0d;
    --ui-pill-bg: rgba(74, 222, 128, 0.07);
    --ui-pill-line: rgba(74, 222, 128, 0.18);
    --ui-hover: #18181b;
    --ui-shadow: none;
    --ui-code-bg: #282c34;
    --ui-inline-code: #1e1e20;
  }
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--ui-fg);
    outline-offset: 3px;
    border-radius: 6px;
  }
}
@layer components {
  .site-header {
    background: var(--ui-header);
    border-bottom: 1px solid var(--ui-line);
  }
  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 4rem;
  }
  .site-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: -14px;
    color: var(--ui-fg2);
    text-decoration: none;
  }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ui-fg2);
    text-decoration: none;
  }
  .site-home:hover,
  .site-nav-link:hover {
    color: var(--ui-fg);
    text-decoration: none;
  }
  .site-nav-link[aria-current='page'] {
    color: var(--ui-fg);
    text-decoration: underline;
    text-decoration-color: var(--ui-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
  }
  .site-footer {
    margin-top: 4.5rem;
    border-top: 1px solid var(--ui-line);
    background: var(--ui-header);
  }
  .site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .site-footer-copy {
    font-size: 0.8125rem;
    color: var(--ui-fg2);
  }
  .site-footer-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 -12px;
  }
  @media (max-width: 640px) {
    .site-footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  .top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    background: var(--ui-surface);
    color: var(--ui-fg2);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
    text-decoration: none;
    transition: color 150ms ease, border-color 150ms ease;
  }
  .top:hover {
    color: var(--ui-fg);
    border-color: var(--ui-line-strong);
  }
  .dark .top {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  .icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--ui-fg2);
    text-decoration: none;
  }
  .icon-link:hover {
    color: var(--ui-fg);
  }
  .arrow-icon {
    flex-shrink: 0;
    transition: transform 150ms ease;
  }
  a:hover .arrow-icon {
    transform: translateX(2px);
  }
  a:hover .arrow-icon--back {
    transform: translateX(-2px);
  }
  .card {
    border: 1px solid var(--ui-line);
    border-radius: 10px;
    background: var(--ui-surface);
    overflow: hidden;
  }
  .card-pad {
    padding: 1.5rem;
  }
  .card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 150ms ease, background-color 150ms ease;
  }
  .card-link:hover {
    color: inherit;
    text-decoration: none;
    border-color: var(--ui-line-strong);
    background-color: var(--ui-hover);
  }
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tag {
    font-size: 0.75rem;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: lowercase;
    white-space: nowrap;
    color: var(--ui-accent);
    background: var(--ui-pill-bg);
    border: 1px solid var(--ui-pill-line);
  }
  .skill {
    font-size: 0.75rem;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 6px;
    white-space: nowrap;
    color: var(--ui-fg);
    background: var(--ui-bg);
    border: 1px solid var(--ui-line);
  }
  .btn,
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 150ms ease, opacity 150ms ease;
  }
  .btn {
    border: 1px solid var(--ui-line);
    background: var(--ui-surface);
    color: var(--ui-fg);
  }
  .btn:hover {
    color: var(--ui-fg);
    text-decoration: none;
    border-color: var(--ui-line-strong);
  }
  .btn-primary {
    padding: 0 18px;
    font-weight: 700;
    border: 1px solid var(--ui-accent);
    background: var(--ui-accent);
    color: var(--ui-on-accent);
  }
  .btn-primary:hover {
    color: var(--ui-on-accent);
    text-decoration: none;
    opacity: 0.9;
  }
  .btn-sm {
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.75rem;
  }
  .page-hero {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 4rem 0 0.5rem;
  }
  .page-title {
    margin: 0;
    font-family: var(--ui-serif);
    font-style: italic;
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ui-fg);
  }
  .page-lead {
    margin: 0;
    max-width: 40rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ui-fg2);
  }
  .page-lead strong {
    color: var(--ui-fg);
  }
  @media (max-width: 640px) {
    .page-hero {
      padding-top: 2rem;
    }
    .page-title {
      font-size: 2rem;
    }
  }
  .sec {
    margin-top: 3.5rem;
  }
  .sec-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .sec-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ui-fg2);
  }
  .sec-rule {
    flex-grow: 1;
    height: 1px;
    background: var(--ui-line);
  }
  .sec-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: 0.8125rem;
    white-space: nowrap;
    color: var(--ui-accent);
    text-decoration: none;
  }
  .sec-link:hover {
    color: var(--ui-fg);
    text-decoration: none;
  }
  @media (max-width: 640px) {
    .sec {
      margin-top: 3rem;
    }
  }
  .list-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
    transition: background-color 150ms ease;
  }
  .list-row + .list-row {
    border-top: 1px solid var(--ui-line);
  }
  .list-row:hover {
    color: inherit;
    text-decoration: none;
    background-color: var(--ui-hover);
  }
  .list-row-meta {
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  .pin-icon {
    display: inline-block;
    margin-right: 6px;
    vertical-align: -2px;
    color: var(--ui-accent);
  }
  .list-row-title {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .list-row-sub {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ui-fg2);
  }
  .list-row .tags {
    margin-top: 4px;
  }
  .hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 4rem 0 0.5rem;
  }
  .hero-avatar {
    display: block;
    flex-shrink: 0;
    width: 112px;
    height: 112px;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--ui-line);
  }
  .hero-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
  }
  .hero-name {
    margin: 0;
    font-family: var(--ui-serif);
    font-style: italic;
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ui-fg);
  }
  .hero-role {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ui-fg);
  }
  .hero-role img {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 6px 0 0;
    vertical-align: -4px;
    border-radius: 4px;
  }
  .hero-role-place {
    color: var(--ui-fg2);
  }
  .hero-role svg {
    display: inline-block;
    margin-right: 6px;
    vertical-align: -2px;
  }
  .hero-bio {
    margin: 0;
    max-width: 40rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ui-fg2);
  }
  .hero-bio strong {
    color: var(--ui-fg);
  }
  .hero-social {
    display: flex;
    align-items: center;
    margin: -4px 0 -10px -13px;
  }
  @media (max-width: 640px) {
    .hero {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      padding-top: 2rem;
    }
    .hero-avatar {
      width: 72px;
      height: 72px;
    }
    .hero-name {
      font-size: 2rem;
    }
  }
  .feat {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    color: inherit;
    text-decoration: none;
    transition: background-color 150ms ease;
  }
  .feat:hover,
  .home-row:hover {
    color: inherit;
    text-decoration: none;
    background-color: var(--ui-hover);
  }
  .feat--noimg {
    grid-template-columns: minmax(0, 1fr);
  }
  .feat-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    margin: 0;
    object-fit: cover;
    border-right: 1px solid var(--ui-line);
  }
  .feat-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 1.5rem;
  }
  .feat-title {
    margin: 0;
    font-size: 1.3125rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .feat-sub {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ui-fg2);
  }
  .feat .tags {
    margin-top: auto;
    padding-top: 8px;
  }
  .home-row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) 96px;
    gap: 20px;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--ui-line);
    color: inherit;
    text-decoration: none;
    transition: background-color 150ms ease;
  }
  .home-row-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  .home-row-date-inline {
    display: none;
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  .home-row-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }
  .home-row-title {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .home-row-thumb {
    display: block;
    width: 96px;
    height: 64px;
    margin: 0;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--ui-line);
  }
  .meta {
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  @media (max-width: 640px) {
    .feat {
      grid-template-columns: minmax(0, 1fr);
    }
    .feat-img {
      height: auto;
      min-height: 0;
      aspect-ratio: 2 / 1;
      border-right: 0;
      border-bottom: 1px solid var(--ui-line);
    }
    .feat-body {
      padding: 1.25rem;
    }
    .home-row {
      grid-template-columns: minmax(0, 1fr) 72px;
      gap: 14px;
      padding: 16px;
    }
    .home-row-date {
      display: none;
    }
    .home-row-date-inline {
      display: block;
    }
    .home-row-thumb {
      width: 72px;
      height: 48px;
    }
  }
  .book {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
  }
  .book-cover {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    margin: 0;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--ui-line);
    box-shadow: var(--ui-shadow);
  }
  .book-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .book-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ui-fg);
  }
  .book-author {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--ui-fg2);
  }
  .book-date {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  .shelf {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  @media (max-width: 640px) {
    .shelf {
      grid-template-columns: none;
      grid-auto-flow: column;
      grid-auto-columns: 132px;
      gap: 14px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-padding-inline: 1rem;
      margin: 0 -1rem;
      padding: 0 1rem 4px;
    }
    .shelf > .book {
      scroll-snap-align: start;
    }
  }
  .projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .project-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 1.25rem;
  }
  .project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ui-fg2);
  }
  .project-card-top img {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
  }
  .project-card-name {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .project-card-desc {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--ui-fg2);
  }
  @media (max-width: 640px) {
    .projects {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1.25rem 1.5rem;
  }
  .stat + .stat {
    border-left: 1px solid var(--ui-line);
  }
  .stat-val {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ui-fg);
  }
  .stat-key {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ui-fg2);
  }
  @media (max-width: 640px) {
    .stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stat:nth-child(3) {
      border-left: 0;
    }
    .stat:nth-child(n + 3) {
      border-top: 1px solid var(--ui-line);
    }
  }
  .bookshelf-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 8px;
    margin: 0.5rem 0 1.75rem;
  }
  .bookshelf-filters button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
  }
  .bookshelf-filters .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--ui-line);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ui-fg2);
    transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
  }
  .bookshelf-filters .chip svg {
    flex-shrink: 0;
  }
  .bookshelf-filters .chip-count {
    font-weight: 400;
    opacity: 0.7;
  }
  .bookshelf-filters button:hover .chip {
    color: var(--ui-fg);
    border-color: var(--ui-line-strong);
  }
  .bookshelf-filters button[selected='true'] .chip {
    color: var(--ui-accent);
    border-color: var(--ui-accent);
  }
  .bookshelf-filters button[selected='true']:hover .chip {
    opacity: 0.8;
  }
  .bookshelf-filters-break {
    flex-basis: 100%;
    height: 0;
  }
  @media (max-width: 879px) {
    .bookshelf-filters {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .bookshelf-filters-break {
      display: none;
    }
    .bookshelf-filters .chip {
      width: 100%;
      justify-content: center;
    }
  }
  @media (max-width: 640px) {
    .bookshelf-filters {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .shelf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }
  .book-cover-wrap {
    position: relative;
  }
  .book-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  @media (max-width: 640px) {
    .shelf-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.5rem 0.875rem;
    }
  }
  .page-list {
    margin-top: 2rem;
  }
  .pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .pager-info {
    font-size: 0.8125rem;
    color: var(--ui-fg2);
    font-variant-numeric: tabular-nums;
  }
  .pager-links {
    display: flex;
    gap: 8px;
  }
  .post {
    padding-top: 1.5rem;
  }
  .post-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 -12px;
  }
  .post-back,
  .post-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.8125rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .post-back {
    font-weight: 600;
    color: var(--ui-accent);
  }
  .post-edit {
    color: var(--ui-fg2);
  }
  .post-back:hover,
  .post-edit:hover {
    color: var(--ui-fg);
    text-decoration: none;
  }
  .post-meta {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--ui-fg2);
  }
  .post-title {
    margin: 0.5rem 0 0;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ui-fg);
  }
  .post-subtitle {
    margin: 0.625rem 0 0;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--ui-fg2);
  }
  .post-tags {
    margin-top: 1rem;
  }
  @media (max-width: 640px) {
    .post-title {
      font-size: 1.75rem;
    }
  }
  .prose {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ui-fg);
  }
  .prose > :first-child {
    margin-top: 0;
  }
  .prose p,
  .prose ul,
  .prose ol {
    margin: 0 0 1.25rem;
  }
  .prose a {
    color: var(--ui-accent);
    text-decoration: underline;
    text-decoration-color: var(--ui-pill-line);
    text-underline-offset: 3px;
  }
  .prose a:hover {
    color: var(--ui-fg);
    text-decoration-color: currentColor;
  }
  .prose a svg {
    display: inline-block;
    vertical-align: middle;
  }
  .prose :not(pre) > code + a {
    white-space: nowrap;
  }
  .prose a.btn {
    color: var(--ui-fg);
    text-decoration: none;
  }
  .prose p a[href^='http']:not(:has(svg))::after,
  .prose li a[href^='http']:not(:has(svg))::after,
  .prose blockquote a[href^='http']:not(:has(svg))::after,
  .prose p a[target='_blank']:not(:has(svg))::after,
  .prose li a[target='_blank']:not(:has(svg))::after,
  .prose blockquote a[target='_blank']:not(:has(svg))::after {
    content: ' ↗';
    font-size: 0.7em;
    opacity: 0.55;
    font-style: normal;
  }
  .prose h2 {
    margin: 3rem 0 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .prose h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .prose h4,
  .prose h5,
  .prose h6 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .prose ul {
    list-style: disc;
    padding-left: 1.5rem;
  }
  .prose ol {
    list-style: decimal;
    padding-left: 1.5rem;
  }
  .prose li {
    margin: 0.375rem 0;
  }
  .prose hr {
    margin: 2rem 0;
    border-top: 1px solid var(--ui-line);
  }
  .prose img {
    margin: 1.5rem auto;
    border-radius: 10px;
  }
  .prose > p:first-child > img,
  .prose > img:first-child {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    margin: 0 auto 0.75rem;
    border: 1px solid var(--ui-line);
  }
  .prose blockquote {
    margin: 1.5rem 0;
    padding: 0.875rem 1.25rem;
    border: 0;
    border-left: 3px solid var(--ui-accent);
    border-radius: 0 8px 8px 0;
    background: var(--ui-pill-bg);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ui-fg);
  }
  .prose blockquote > * {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  .prose blockquote > :last-child {
    margin-bottom: 0;
  }
  .prose :not(pre) > code {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
    white-space: nowrap;
    background: var(--ui-inline-code);
    color: var(--ui-fg);
  }
  .prose iframe {
    max-width: 100%;
  }
  .prose details {
    border: 1px solid var(--ui-line);
    background: var(--ui-surface);
    overflow: hidden;
  }
  .prose details + details {
    border-top: 0;
  }
  .prose details:not(details + details) {
    margin-top: 1.5rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .prose details:not(:has(+ details)) {
    margin-bottom: 1.5rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .prose summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 16px;
    list-style: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ui-fg);
    cursor: pointer;
    transition: background-color 150ms ease;
  }
  .prose summary::-webkit-details-marker {
    display: none;
  }
  .prose summary::after {
    content: '';
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-right: 2px solid var(--ui-fg2);
    border-bottom: 2px solid var(--ui-fg2);
    transform: rotate(-45deg);
    transition: transform 150ms ease;
  }
  .prose details[open] > summary::after {
    transform: rotate(45deg);
  }
  .prose summary:hover {
    background-color: var(--ui-hover);
  }
  .prose summary:focus-visible {
    outline: 2px solid var(--ui-accent);
    outline-offset: -2px;
  }
  .prose details[open] > summary {
    border-bottom: 1px solid var(--ui-line);
  }
  .prose details > pre,
  .prose details > .code-block {
    margin: 0;
  }
  .prose details pre {
    border: 0;
    border-radius: 0;
  }
  .prose details > :not(summary, pre, .code-block) {
    margin: 0.75rem 1rem;
  }
  .prose pre {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-size: 0.84375rem;
    line-height: 1.65;
    border: 1px solid var(--ui-line);
    border-radius: 10px;
    background: var(--ui-code-bg);
  }
  .prose pre code {
    padding: 0;
    background: transparent;
  }
  .code-block {
    position: relative;
    margin: 1.75rem 0;
  }
  .code-block pre {
    margin: 0;
  }
  .code-lang {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--ui-code-bg);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ui-fg2);
    pointer-events: none;
    user-select: none;
  }
  .post-adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 3.5rem;
  }
  .post-adjacent-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 1.25rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 150ms ease;
  }
  .post-adjacent-link:hover {
    color: inherit;
    text-decoration: none;
    background-color: var(--ui-hover);
  }
  .post-adjacent-link--older {
    align-items: flex-end;
    text-align: right;
    border-left: 1px solid var(--ui-line);
  }
  .post-adjacent-link:only-child {
    grid-column: 1 / -1;
  }
  .post-adjacent-link--older:first-child {
    border-left: 0;
  }
  .post-adjacent-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--ui-accent);
  }
  .post-adjacent-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ui-fg);
  }
  @media (max-width: 640px) {
    .post-adjacent {
      grid-template-columns: minmax(0, 1fr);
    }
    .post-adjacent-link--older {
      align-items: flex-start;
      text-align: left;
      border-left: 0;
      border-top: 1px solid var(--ui-line);
    }
    .post-adjacent-link--older:first-child {
      border-top: 0;
    }
  }
  .legal-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
  }
  .legal-summary-item {
    display: flex;
    gap: 12px;
    padding: 1.25rem;
  }
  .legal-summary-item + .legal-summary-item {
    border-left: 1px solid var(--ui-line);
  }
  .legal-summary-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--ui-accent);
  }
  .legal-summary-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .legal-summary-text {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--ui-fg2);
  }
  .legal .prose {
    font-size: 0.9375rem;
    line-height: 1.75;
  }
  .legal .prose h2 {
    font-size: 1.375rem;
  }
  @media (max-width: 640px) {
    .legal-summary {
      grid-template-columns: minmax(0, 1fr);
    }
    .legal-summary-item + .legal-summary-item {
      border-left: 0;
      border-top: 1px solid var(--ui-line);
    }
  }
  .not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 6rem 0 1.5rem;
    text-align: center;
  }
  .not-found-code {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ui-fg2);
  }
  .not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }
  @media (max-width: 640px) {
    .not-found-actions {
      flex-direction: column;
      align-self: stretch;
    }
  }
  .cv-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: -4px 0 -10px;
  }
  .cv-links {
    display: flex;
    align-items: center;
    margin-left: -10px;
  }
  @media (max-width: 640px) {
    .cv-actions {
      flex-direction: column;
      align-items: stretch;
    }
  }
  .cv h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 3.5rem 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ui-fg2);
  }
  .cv h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ui-line);
  }
  .cv h3 {
    margin: 0;
  }
  .cv p {
    margin: 0;
  }
  .cv a {
    text-decoration: none;
  }
  .bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .bullets li {
    position: relative;
    margin: 0;
    padding-left: 20px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ui-fg2);
  }
  .bullets li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.75em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ui-accent);
  }
  .bullets strong {
    color: var(--ui-fg);
  }
  .skill-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;
    padding: 18px 1.5rem;
  }
  .skill-row + .skill-row {
    border-top: 1px solid var(--ui-line);
  }
  .skill-row h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .xp {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .card > .xp + .xp {
    border-top: 1px solid var(--ui-line);
  }
  .xp-logo {
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--ui-line);
  }
  .xp-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }
  .xp-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .xp-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .xp-name {
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .xp-name a {
    color: var(--ui-fg);
  }
  .xp-name a:hover {
    color: var(--ui-accent);
  }
  .xp-current {
    margin-left: auto;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ui-on-accent);
    background: var(--ui-accent);
  }
  .xp-role {
    font-size: 0.875rem;
    color: var(--ui-fg);
  }
  .xp-meta {
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  .xp .bullets {
    gap: 8px;
  }
  .edu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .edu-grid .xp {
    gap: 1rem;
    padding: 1.25rem;
  }
  .edu-grid .xp-name {
    font-size: 1rem;
  }
  .edu-grid .xp-role {
    line-height: 1.5;
  }
  .edu-grid .tags {
    margin-top: 8px;
  }
  .lang-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lang {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 1.5rem;
  }
  .lang + .lang {
    border-left: 1px solid var(--ui-line);
  }
  .lang-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .lang-level {
    font-size: 0.8125rem;
    color: var(--ui-fg2);
  }
  .talk-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 1.25rem 1.5rem;
  }
  .talk-group + .talk-group {
    border-top: 1px solid var(--ui-line);
  }
  .talk-group h3 {
    margin-bottom: 4px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .talk {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;
  }
  .talk-role {
    font-size: 0.75rem;
    color: var(--ui-fg2);
  }
  .talk a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ui-fg);
    text-decoration: underline;
    text-decoration-color: var(--ui-line-strong);
    text-underline-offset: 3px;
  }
  .talk a:hover {
    color: var(--ui-accent);
  }
  .proj {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1.5rem;
  }
  .proj + .proj {
    border-top: 1px solid var(--ui-line);
  }
  .proj-head {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .proj-logo {
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--ui-line);
  }
  .proj-title {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
  }
  .proj-name {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ui-fg);
  }
  .proj-tagline {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--ui-fg2);
  }
  .proj .sec-link {
    flex-shrink: 0;
  }
  .proj p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ui-fg2);
  }
  .proj p strong {
    color: var(--ui-fg);
  }
  .project-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
  }
  .project-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--ui-line);
    cursor: zoom-in;
    transition: opacity 200ms ease;
  }
  .project-gallery a:hover {
    opacity: 0.8;
  }
  .project-gallery img {
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
  }
  @media (max-width: 640px) {
    .skill-row {
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
    }
    .xp {
      grid-template-columns: minmax(0, 1fr);
      padding: 1.25rem 1rem;
    }
    .xp-current {
      position: absolute;
      top: 2rem;
      right: 1rem;
    }
    .edu-grid,
    .lang-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .lang + .lang {
      border-left: 0;
      border-top: 1px solid var(--ui-line);
    }
    .talk {
      grid-template-columns: minmax(0, 1fr);
      gap: 4px;
    }
    .proj {
      padding: 1.25rem 1rem;
    }
    .proj-head {
      flex-wrap: wrap;
    }
    .project-gallery {
      gap: 8px;
    }
  }
}
#lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}
#lightbox-modal.active {
  display: flex;
}
#lightbox-image-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: inline-block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  cursor: default;
}
#lightbox-modal img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 90vh;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 200ms ease;
  user-select: none;
  -webkit-user-select: none;
}
#lightbox-close:hover {
  color: #aaa;
}
#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  min-width: 48px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
#lightbox-image-wrapper:hover #lightbox-prev,
#lightbox-image-wrapper:hover #lightbox-next {
  opacity: 1;
}
#lightbox-prev svg,
#lightbox-next svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}
#lightbox-prev:hover svg,
#lightbox-next:hover svg {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.5));
}
#lightbox-prev {
  left: 0;
}
#lightbox-next {
  right: 0;
}
@media (max-width: 768px) {
  #lightbox-prev,
  #lightbox-next {
    opacity: 1;
    min-width: 44px;
  }
  #lightbox-prev svg,
  #lightbox-next svg {
    width: 36px;
    height: 36px;
  }
  #lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 28px;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-leading: initial;
      --tw-duration: initial;
      --tw-ease: initial;
    }
  }
}


