/* project cards + project page */
.projects { border-top: 1px solid var(--line); background: var(--card); padding: 56px 0 64px; scroll-margin-top: 70px; }
.projects-inner { max-width: 1280px; margin: 0 auto; padding: 0 26px; }
.projects h2 { font-family: var(--font-chalk); font-size: clamp(30px, 4.4vw, 44px); color: var(--navy); line-height: 1.1; }
.projects-lead { margin-top: 8px; font-size: 16.5px; color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.proj-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.proj-card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 10px 26px rgba(31,58,95,.12); }
.proj-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.proj-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background-color: var(--canvas); background-image: radial-gradient(circle at center, rgba(31,58,95,.09) 1.4px, transparent 1.6px); background-size: 24px 24px; overflow: hidden; }
.proj-art img { width: 100%; height: 100%; object-fit: cover; }
.proj-ic { width: 84px; height: 84px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 20px rgba(31,58,95,.18); }
.proj-ic svg { width: 46px; height: 46px; }
.proj-body { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px 18px; flex: 1; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.proj-body b { font-family: var(--font-display); font-size: 19px; color: var(--navy); line-height: 1.2; }
.proj-body small { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.sdot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: 0 0 11px; }
@media (prefers-reduced-motion: reduce) { .proj-card { transition: none; } .proj-card:hover { transform: none; } }

/* project.html */
.pp { max-width: 1080px; margin: 0 auto; padding: 34px 26px 64px; }
.pp-back { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.pp-back:hover { color: var(--orange-deep); }
.pp-top { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-top: 18px; }
.pp-top .proj-art { border-radius: 16px; border: 1px solid #CFE0F0; }
.pp h1 { font-family: var(--font-chalk); font-size: clamp(34px, 5vw, 52px); color: var(--navy); line-height: 1.06; }
.pp-top p { margin-top: 12px; font-size: 18px; color: var(--ink-soft); line-height: 1.55; }
.pp-meta { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); margin-top: 14px; }
.pp-open { display: inline-block; margin-top: 22px; background: var(--good); color: #fff; border-radius: 10px; padding: 13px 24px; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.pp-open:hover { background: #256e46; }
.pp-sec { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.pp-sec h2 { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
.pp-sec p { margin-top: 8px; color: var(--ink-soft); line-height: 1.6; max-width: 65ch; }
.pp-ph { margin-top: 12px; border: 2px dashed #F0B678; border-radius: 12px; padding: 22px; color: var(--orange-deep); font-family: var(--font-display); font-weight: 600; }
@media (max-width: 760px) { .pp-top { grid-template-columns: 1fr; } }
