﻿@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #666;
  --line: #ddd;
  font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
::selection { background: #222; color: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button, input { font: inherit; }
button { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
button:hover { text-decoration: underline; text-underline-offset: 5px; }
button:disabled { cursor: wait; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 20px; background: #171717; color: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.page { max-width: 1200px; padding: 0 48px; margin: 0 auto; }
.site-header { height: 96px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 19px; font-weight: 700; letter-spacing: -.7px; }
.site-header nav { display: flex; gap: 30px; font-size: 13px; }
.site-header nav a { padding: 12px 0; }
.site-header nav span { margin-left: 6px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 84px 0 88px; align-items: start; }
.intro>div { min-width: 0; }
h1 { font-size: clamp(64px, 7.5vw, 104px); font-weight: 600; line-height: 1.1; letter-spacing: -7px; }
.english-name { font-size: 17px; margin-top: 23px; letter-spacing: -.2px; }
.intro-copy { padding-top: 2px; }
.intro-lead { font-size: 27px; line-height: 1.55; letter-spacing: -1px; }
.intro-description { margin-top: 21px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.intro-links { display: flex; gap: 28px; margin-top: 24px; font-size: 12px; }
.intro-links a, .intro-links button { min-height: 40px; display: inline-flex; align-items: center; gap: 10px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 21px; }
h2 { font-size: 19px; letter-spacing: -.5px; font-weight: 600; }
.count { font-family: monospace; font-weight: 400; font-size: 12px; margin-left: 10px; color: var(--muted); vertical-align: top; }
.section-heading>p { font-size: 12px; color: var(--muted); }
.project { display: grid; grid-template-columns: 45px minmax(0, 1.15fr) minmax(0, 1fr) 100px; gap: 22px; padding: 34px 0 27px; border-bottom: 1px solid var(--line); }
.project-number { font: 12px/2 monospace; color: var(--muted); padding-top: 4px; }
.project h3 { font-size: 28px; font-weight: 500; line-height: 1.35; letter-spacing: -1px; }
.project-name>p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.project-description { font-size: 14px; line-height: 1.9; color: #444; padding-top: 1px; }
.project-end { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-top: 3px; }
.status { font-size: 11px; color: #555; }
.project-visit { font-size: 29px; line-height: 44px; width: 44px; text-align: right; }
.project-stage { font-size: 10px; color: var(--muted); padding-top: 12px; }
summary { font-size: 11px; color: var(--muted); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 15px; width: fit-content; min-height: 44px; margin-top: 2px; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--ink); }
summary>span { font-size: 17px; }
details[open] summary>span { transform: rotate(45deg); }
.project-detail { color: #555; font-size: 13px; padding: 1px 0 10px; }
.project-detail .stack { font-size: 11px; color: var(--muted); margin-top: 16px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 65px 0 70px; }
.about-copy>p { font-size: 16px; line-height: 1.95; letter-spacing: -.3px; max-width: 500px; }
.elsewhere { display: flex; gap: 23px; flex-wrap: wrap; margin-top: 25px; font-size: 12px; }
.elsewhere a { padding: 7px 0; }
.elsewhere span { margin-left: 5px; }
.recent-posts { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.recent-posts h3 { font-size: 13px; font-weight: 500; }
.recent-posts ul { list-style: none; padding: 0; margin: 12px 0 0; }
.recent-posts a { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; font-size: 13px; }
.recent-posts time { font-size: 11px; color: var(--muted); white-space: nowrap; }
.contact { border-top: 1px solid var(--ink); padding: 31px 0 54px; }
.contact-heading { display: flex; align-items: baseline; gap: 30px; }
.contact-heading p { font-size: 12px; color: var(--muted); }
.email { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; width: fit-content; max-width: 100%; margin-top: 25px; font-size: clamp(26px, 4vw, 47px); line-height: 1.5; letter-spacing: -1.7px; }
.email>span { font-size: .8em; }
.contact-tools { display: flex; gap: 27px; margin-top: 18px; font-size: 12px; }
.contact-tools button, .contact-tools a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 23px 0 30px; font-size: 11px; color: var(--muted); }
.admin-links { width: 100%; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 10px); background: #171717; color: white; padding: 12px 24px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 20; max-width: calc(100vw - 32px); width: max-content; text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { background: #fff; border: 1px solid #333; padding: 28px; max-width: calc(100vw - 40px); width: 420px; color: var(--ink); }
dialog::backdrop { background: #0005; }
dialog h2 { font-size: 24px; }
dialog p { font-size: 13px; margin: 12px 0; }
dialog label { display: block; font-size: 12px; }
dialog input { width: 100%; background: #fff; border: 1px solid #aaa; margin: 8px 0 20px; padding: 10px; font-size: 14px; }
dialog form { text-align: right; }
.primary-button { border: 1px solid #171717; color: #fff; background: #171717; padding: 10px 24px; }
@media (max-width: 1000px) {
  .page { padding: 0 36px; }
  .intro { gap: 32px; padding: 65px 0 68px; }
  .intro-lead { font-size: 24px; }
  .intro-description br { display: none; }
  .project { grid-template-columns: 27px minmax(0, 1fr) minmax(0, 1fr) 68px; gap: 16px; }
  .project h3 { font-size: 23px; }
  .project-description { font-size: 13px; }
  .project-description br { display: none; }
  .about { gap: 32px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 20px; }
  .page { padding: 0 24px; }
  .site-header { height: 78px; }
  .wordmark { font-size: 17px; }
  .site-header nav { gap: 18px; font-size: 12px; }
  .site-header nav a:last-child { display: none; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 37px; padding: 48px 0 43px; }
  h1 { font-size: 72px; letter-spacing: -5px; }
  .english-name { font-size: 15px; margin-top: 15px; }
  .intro-lead { font-size: 23px; }
  .intro-description { font-size: 13px; margin-top: 15px; max-width: 340px; }
  .intro-links { margin-top: 15px; }
  .section-heading { padding-bottom: 18px; }
  h2 { font-size: 18px; }
  .section-heading>p { font-size: 11px; }
  .project { grid-template-columns: 24px minmax(0, 1fr) 48px; gap: 0 12px; padding: 26px 0 20px; }
  .project-number { grid-column: 1; grid-row: 1; padding-top: 2px; font-size: 11px; }
  .project-name { grid-column: 2; grid-row: 1; }
  .project h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.8px; }
  .project-name>p { margin-top: 7px; font-size: 11px; }
  .project-body { grid-column: 2 / 4; grid-row: 2; padding-top: 20px; }
  .project-description { font-size: 14px; }
  .project-description br { display: block; }
  .project-end { grid-column: 3; grid-row: 1; gap: 5px; padding-top: 4px; }
  .project-stage { font-size: 9px; white-space: nowrap; padding-top: 10px; }
  .status { font-size: 10px; }
  .project-visit { font-size: 25px; }
  summary { margin-top: 3px; font-size: 12px; }
  .about { grid-template-columns: 1fr; gap: 22px; padding: 39px 0 44px; }
  .about-copy>p { font-size: 15px; }
  .elsewhere { gap: 19px; margin-top: 20px; font-size: 11px; }
  .contact { padding-top: 28px; padding-bottom: 32px; }
  .contact-heading { display: block; }
  .contact-heading p { margin-top: 12px; font-size: 12px; }
  .email { font-size: clamp(22px, 5.7vw, 37px); letter-spacing: -.9px; gap: 14px; margin-top: 22px; }
  .contact-tools { margin-top: 12px; font-size: 11px; }
  footer { padding: 21px 0 26px; }
}
@media (max-width: 360px) {
  .page { padding: 0 20px; }
  .site-header nav { gap: 16px; }
  .project { column-gap: 9px; }
  .project h3 { font-size: 22px; }
  .email { font-size: 21px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .page { max-width: none; padding: 0; }
  .site-header nav, .intro-links, summary, .contact-tools, .toast, footer>a { display: none; }
  .intro { padding: 35px 0; }
  .project { break-inside: avoid; padding: 20px 0; }
  .about { padding: 30px 0; }
}
