:root {
  color-scheme: light;
  --background: #f6f4ee;
  --surface: #fffefa;
  --ink: #18283b;
  --muted: #626971;
  --line: #d9dcd7;
  --accent: #827348;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 88px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #245dab; outline-offset: 3px; }
::selection { color: #fff; background: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-shell { width: min(1140px, calc(100% - 80px)); margin-inline: auto; padding-top: calc(72px + env(safe-area-inset-top)); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1002; padding: 12px 18px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; display: flex; align-items: center; justify-content: space-between; height: calc(72px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(40px, calc((100% - 1140px)/2)) 0; background: var(--background); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 19px; font-weight: 800; letter-spacing: -.05em; }
.wordmark span { font-weight: 400; letter-spacing: -.035em; }
.home-link { display: inline-flex; gap: 15px; align-items: center; min-height: 44px; font-size: 13px; }
.home-link:hover, .secondary-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-link span { font-size: 18px; }
.intro { display: grid; grid-template-columns: 1fr auto; padding: 38px 0 30px; }
.eyebrow { grid-column: 1/-1; margin: 0 0 10px; font-size: 10px; font-weight: 650; letter-spacing: .17em; }
h1 { margin: 0; font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -.075em; }
.title-dot { color: var(--accent); }
.intro-copy { align-self: end; margin: 0 0 4px; font-size: 14px; line-height: 1.8; letter-spacing: -.025em; color: var(--muted); word-break: keep-all; }
.section-heading { display: flex; align-items: center; gap: 10px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 16px; font-weight: 650; }
.project-count { padding: 3px 8px; border-radius: 20px; background: #e9e7dd; font-size: 11px; font-variant-numeric: tabular-nums; }
.catalog-tools { padding: 18px 0 22px; }
.search-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-field { display: flex; align-items: center; gap: 10px; width: min(100%, 440px); min-height: 46px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.search-field:focus-within { border-color: var(--ink); }
.search-field svg { flex-shrink: 0; color: var(--muted); }
.search-field input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 14px; }
.search-field input:focus-visible { outline-offset: 0; }
.search-field input::placeholder { color: var(--muted); }
.result-count { flex-shrink: 0; margin: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; color: #505862; background: transparent; font-size: 12px; white-space: nowrap; }
.filter-button span { font-size: 10px; opacity: .8; font-variant-numeric: tabular-nums; }
.filter-button:hover { border-color: var(--ink); }
.filter-button[aria-pressed="true"] { color: #fff; border-color: var(--ink); background: var(--ink); }
.technology-filter-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.technology-filter-label { flex-shrink: 0; margin: 12px 0 0; font-size: 11px; font-weight: 600; color: var(--muted); }
.technology-filters { min-width: 0; margin-top: 0; gap: 6px; }
.technology-filters .filter-button { min-height: 38px; padding: 8px 12px; font-size: 11px; }
.technology-filters .filter-button[aria-pressed="true"] { color: #244d40; border-color: #c4d6ca; background: #e4eee6; }
.technology-select { display: none; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; margin-top: 20px; }
.catalog-tools:not([hidden]) + .project-grid { margin-top: 0; }
.project-card { display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.project-image-link { position: relative; display: block; min-width: 0; aspect-ratio: 16/8; overflow: hidden; border-radius: 7px 7px 0 0; background: #e6e5df; }
.project-image-link:focus-visible { z-index: 1; outline-offset: -4px; }
.project-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; transition: transform .25s ease; }
.project-image-link:hover .project-image { transform: scale(1.025); }
.project-content { min-width: 0; min-height: 124px; padding: 17px 18px 12px; }
.project-category { margin: 0 0 8px; color: var(--muted); font-size: 9px; line-height: 1.4; font-weight: 600; letter-spacing: .06em; overflow-wrap: anywhere; }
.project-content h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.2; font-weight: 400; letter-spacing: -.015em; overflow-wrap: anywhere; }
.project-subtitle { margin: 8px 0 0; font-size: 12px; line-height: 1.65; letter-spacing: -.025em; color: #505862; word-break: keep-all; overflow-wrap: anywhere; }
.technology-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.technology-tags li { max-width: 100%; padding: 3px 7px; border-radius: 3px; background: #eaf0e9; color: #365846; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.project-actions { min-width: 0; padding: 0 18px 14px; }
.primary-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 9px 13px; border-radius: 4px; color: #fff; background: var(--ink); font-size: 12px; transition: background .2s ease; }
.primary-link:hover { background: #324862; }
.primary-link span { font-size: 18px; }
.project-details { min-width: 0; border-top: 1px solid var(--line); }
.project-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 18px; border-radius: 0 0 7px 7px; list-style: none; cursor: pointer; color: var(--muted); font-size: 12px; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary:hover { background: #f1f0e9; color: var(--ink); }
.project-details summary span { font-size: 19px; line-height: 1; transition: transform .2s; }
.project-details[open] summary span { transform: rotate(45deg); }
.detail-content { padding: 0 18px 18px; }
.project-description { margin: 4px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.desktop-break { display: none; }
.feature-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.feature-list li { max-width: 100%; padding: 5px 8px; border-radius: 3px; color: #505862; background: #f0efe9; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.detail-links { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 6px; }
.secondary-link { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 44px; font-size: 12px; }
.empty-state { padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; }
.empty-state p { margin: 0 0 10px; font-size: 18px; }
.empty-state > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.8; }
.reset-filters { display: inline-block; margin-top: 20px; padding: 12px 20px; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 0; font-size: 11px; line-height: 1.6; }
.site-footer p:first-child { letter-spacing: .055em; }
@media (max-width: 1050px) {
  .page-shell { width: calc(100% - 48px); }
  .site-header { padding-inline: 24px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 78px; }
  .page-shell { width: calc(100% - 32px); padding-top: calc(60px + env(safe-area-inset-top)); }
  .site-header { height: calc(60px + env(safe-area-inset-top)); padding-inline: 16px; }
  .wordmark { font-size: 17px; }
  .home-link { font-size: 12px; gap: 10px; }
  .intro { display: block; padding: 25px 0 24px; }
  .eyebrow { font-size: 9px; margin-bottom: 8px; }
  h1 { font-size: 52px; }
  .intro-copy { margin: 12px 0 0; font-size: 12px; line-height: 1.7; }
  .section-heading { padding-bottom: 12px; }
  .section-heading h2 { font-size: 15px; }
  .catalog-tools { padding: 14px 0 18px; }
  .search-row { flex-wrap: wrap; gap: 10px; }
  .search-field { width: 100%; }
  .result-count { order: 2; font-size: 11px; }
  .filter-list { gap: 6px; margin-top: 10px; }
  .filter-button { min-height: 40px; padding: 8px 12px; font-size: 11px; gap: 6px; }
  .technology-filter-row { gap: 8px; margin-top: 10px; }
  .technology-filter-label { align-self: center; margin-top: 0; }
  .technology-filters { display: none; }
  .technology-select { display: block; flex: 1; min-width: 0; height: 44px; padding: 8px 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
  .project-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .project-card { grid-template-columns: 100px minmax(0,1fr); grid-template-areas: "image content" "image actions" "details details"; padding: 14px 14px 0; column-gap: 14px; }
  .project-image-link { grid-area: image; align-self: start; aspect-ratio: 1; border-radius: 5px; }
  .project-content { grid-area: content; min-height: 0; padding: 0 0 10px; }
  .project-category { display: none; }
  .project-content h3 { font-size: 20px; line-height: 1.2; }
  .project-subtitle { margin-top: 6px; font-size: 11px; line-height: 1.65; }
  .technology-tags { margin-top: 7px; gap: 4px; }
  .technology-tags li { padding: 2px 5px; font-size: 9px; }
  .project-actions { grid-area: actions; padding: 0 0 14px; }
  .primary-link { min-height: 40px; padding: 8px 11px; font-size: 11px; }
  .project-details { grid-area: details; margin-inline: -14px; }
  .project-details summary { padding-inline: 14px; }
  .detail-content { padding: 0 14px 16px; }
  .site-footer { margin-top: 30px; gap: 12px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .project-card { grid-template-columns: 80px minmax(0,1fr); column-gap: 12px; padding-inline: 12px; }
  .project-content h3 { font-size: 18px; }
  .project-details { margin-inline: -12px; }
  .filter-button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
