@import url('unified-theme.css?v=20261114-live');
/* Project detail pages share the homepage palette and typography. */
header h1{ text-wrap:balance }
.overview-layout .section p{max-width:65ch}
.project-topbar .menu a{display:inline-flex;align-items:center;min-height:44px}
.gallery-item{transition:border-color .2s,box-shadow .2s}
.gallery-item:hover{box-shadow:0 8px 28px color-mix(in srgb,var(--accent) 7%,transparent)}
@media(max-width:360px){.project-topbar{gap:8px!important}.project-language .theme-button{margin-left:2px!important}.project-topbar .menu a{font-size:12px!important}.project-language .language{padding-inline:4px}.skill{grid-template-columns:1fr!important;gap:4px!important}.skill strong{overflow-wrap:anywhere}}
header,main,footer {
  width:calc(100% - 2 * var(--gutter));
  max-width:1440px;
  margin-inline:auto
}
header {
  padding-bottom:40px
}
.project-topbar {
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:20px
}
.project-topbar .menu a {
  font-size:14px;
  text-decoration:none;
  color:var(--muted)
}
.project-topbar .menu a:hover {
  color:var(--accent)
}
.project-language {
  display:flex;
  align-items:center;
  gap:8px
}
.project-language .theme-button {
  margin-left:16px
}
.role {
  font:12px/1.6 'DM Mono',monospace;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin:38px 0 16px
}
header h1 {
  font-size:clamp(35px,5.4vw,82px);
  line-height:1.06;
  letter-spacing:-.06em;
  margin:0;
  max-width:1300px
}
.project-subtitle {
  font-size:clamp(17px,1.7vw,25px);
  color:var(--muted);
  max-width:1000px;
  margin:22px 0 0
}
main {
  padding-bottom:64px
}
.section {
  padding-block:32px;
  border-top:1px solid var(--line);
  min-width:0
}
.section h2 {
  font-size:clamp(23px,2.3vw,34px);
  line-height:1.2;
  letter-spacing:-.04em;
  margin:0 0 22px
}
.section p {
  color:var(--muted);
  margin:0 0 14px;
  line-height:1.8
}
.section p:last-child {
  margin-bottom:0
}
.section strong {
  color:var(--ink)
}
.section ul {
  margin:0;
  padding-left:22px;
  color:var(--muted)
}
.section li {
  padding:5px 0
}
.section li::marker {
  color:var(--accent)
}
.overview-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px
}
.skills {
  display:grid;
  grid-template-columns:1fr;
  gap:0
}
.skill {
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:var(--muted)
}
.sub-title {
  color:var(--accent)
}
.gallery {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.gallery-item {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  min-width:0;
  height:380px;
  cursor:zoom-in
}
.gallery img {
  width:100%;
  height:100%;
  object-fit:contain
}
.gallery:has(.landscape) {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.gallery-item.landscape {
  height:auto;
  min-height:180px
}
.gallery-item.landscape img {
  height:auto
}
.gallery-item:hover {
  border-color:var(--accent)
}
.btn {
  margin:8px 8px 0 0;
  font-size:14px
}
.badge {
  color:var(--accent);
  font:12px 'DM Mono',monospace
}
footer {
  border-top:1px solid var(--line);
  padding-block:24px;
  font:11px/1.6 'DM Mono',monospace;
  color:var(--muted)
}
video {
  max-width:100%;
  max-height:75vh;
  object-fit:contain
}
.viewing-media {
  overflow:hidden
}
.development-focus-list {
  list-style:none!important;
  padding:0!important
}
.development-focus-list li {
  padding:18px 0;
  border-bottom:1px solid var(--line);
  font-size:20px
}
.development-note {
  max-width:720px;
  font-size:17px
}
.project-navigation {
  display:flex;
  justify-content:space-between;
  margin-top:20px;
  gap:20px;
  font-size:14px
}
@media(max-width:800px) {
  .overview-layout {
    grid-template-columns:1fr;
    gap:0
  }
  .gallery {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .gallery-item {
    height:340px
  }
}
@media(max-width:600px) {
  html {
    scroll-padding-top:24px
  }
  .project-topbar {
    height:70px
  }
  .project-language {
    gap:2px
  }
  .project-language .theme-button {
    margin-left:8px;
    width:38px;
    height:38px
  }
  .role {
    margin-top:30px;
    font-size:10px
  }
  header {
    padding-bottom:28px
  }
  header h1 {
    font-size:clamp(34px,9vw,52px)
  }
  .project-subtitle {
    font-size:16px
  }
  .section {
    padding-block:26px
  }
  .gallery,.gallery:has(.landscape) {
    grid-template-columns:1fr
  }
  .gallery-item {
    height:420px
  }
  .gallery-item.landscape {
    min-height:0
  }
  .section p,.section li {
    font-size:15px
  }
  .project-navigation {
    flex-wrap:wrap
  }
}
header h1,.section h2 {
  font-weight:800
}
.skill {
  display:grid;
  grid-template-columns:minmax(100px,.8fr) minmax(0,1.5fr);
  gap:16px
}
.skill strong {
  font-weight:500
}
