/* Jimmy Park / 박지민 — shared design system
   Burgundy #7a1e2c accent · scouting green #2f5a45 sub-accent · off-white canvas
   Primary font Cafe24ProSlim (KR/EN), Pretendard fallback. Warm-minimal, soft rounded corners. */

@font-face {
  font-family: 'Cafe24ProSlim';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-1@1.0/Cafe24PROSlim-Light.woff2') format('woff2');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Cafe24ProSlim';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-1@1.0/Cafe24PROSlim-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Cafe24ProSlim';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-1@1.0/Cafe24PROSlim-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: #171717;
  font-family: 'Cafe24ProSlim', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.004em;
  /* keep-all stops Korean words from breaking mid-word; the slim display font reads
     cleaner with optimizeLegibility + a hair of tracking. */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: #7a1e2c; color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #7a1e2c; outline-offset: 3px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(22px, 5vw, 44px); padding-right: clamp(22px, 5vw, 44px); }

/* Material Symbols */
.msym {
  font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block;
  white-space: nowrap; direction: ltr; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased; font-variation-settings: 'opsz' 24, 'wght' 300, 'FILL' 0, 'GRAD' 0;
}

/* Links + buttons */
.lnk { transition: color .18s ease; }
.lnk:hover { color: #7a1e2c; }
.btn { transition: transform .15s ease, background .18s ease, border-color .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { background: #651825 !important; }
.btn-ghost:hover { border-color: #171717 !important; }
.btn-white:hover { background: #f3ece9 !important; }

/* "What I actually do" activity rows */
.act { transition: background .2s ease; border-radius: 16px; }
.act:hover { background: #f4f2ed; }
.act:hover .act-arrow { transform: translateX(5px); color: #7a1e2c; }
.act-arrow { transition: transform .2s ease, color .2s ease; }
.act .out { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .28s ease, opacity .28s ease, margin-top .28s ease; }
.act:hover .out { max-height: 46px; opacity: 1; margin-top: 12px; }

/* Soft cards */
.soft { transition: transform .22s ease, box-shadow .22s ease, border-color .2s ease; }
.soft:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -28px rgba(23, 23, 23, .32); }
.soft .pmeta { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .28s ease, opacity .28s ease, margin-top .28s ease; }
.soft:hover .pmeta { max-height: 40px; opacity: 1; margin-top: 10px; }

/* Copy buttons */
.copybtn { transition: background .18s ease, color .18s ease; cursor: pointer; }
.copybtn:hover { background: #f3ece9; color: #7a1e2c; }

/* Timeline */
details.tl > summary { list-style: none; cursor: pointer; }
details.tl > summary::-webkit-details-marker { display: none; }
details.tl .tlctx { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease; }
details.tl[open] .tlctx { max-height: 200px; opacity: 1; margin-top: 7px; }
details.tl[open] .tlchev { transform: rotate(90deg); }
.tlchev { transition: transform .25s ease; }

.galfig { cursor: zoom-in; }

/* Header navigation: active state set by site.js via body[data-page] */
.nav-link.is-active { color: #7a1e2c; font-weight: 700; }

/* Responsive header */
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .desktop-nav { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
}
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* Responsive layout (shared section grids) */
@media (max-width: 840px) {
  .split { grid-template-columns: 1fr !important; }
  .split-img { order: -1; }
  .feat { grid-template-columns: 1fr !important; }
  .flow { grid-template-columns: 1fr 1fr !important; }
  .cta-grid { grid-template-columns: 1fr !important; }
  .vid-grid { grid-template-columns: 1fr !important; }
  .roles2 { grid-template-columns: 1fr !important; }
  .gal-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr !important; }
  .snap4 { grid-template-columns: 1fr 1fr !important; }
  .snap-grid { grid-template-columns: 1fr !important; }
}

/* Copy toast */
.copy-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 95;
  background: #171717; color: #fff; font-size: 13px; font-weight: 600; padding: 11px 20px;
  border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
  display: flex; align-items: center; gap: 8px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* Gallery modal */
.gal-modal { position: fixed; inset: 0; z-index: 90; background: rgba(23, 23, 23, .62); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 24px; }
.gal-modal.open { display: flex; }
