@charset "UTF-8";

@font-face {
  font-family: "Pretendard";
  src: url("/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}


:root {
  color-scheme: light dark;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f5f3ed;
  color: #18334d;
  --muted: #62717b;
  --line: #d6dbd9;
  --hover: #eaece7;
  --accent: #2a5c86;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { width: calc(100% - 48px); max-width: 800px; min-width: 0; margin: 48px auto 32px; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
header a { text-decoration: none; }
.wordmark { font-size: 23px; font-weight: bold; }
.github { font-size: 14px; }
.github span { margin-left: 4px; color: var(--accent); }
.github:hover { text-decoration: underline; }
.banner { position: relative; width: 100%; aspect-ratio: 80 / 17; margin: 0; background: #102b50; container-type: inline-size; }
.banner > span { position: absolute; left: 4.75%; top: 50%; transform: translateY(-50%); color: #f0e6c9; font-size: clamp(18px, 6cqi, 48px); font-weight: 600; letter-spacing: .04em; line-height: 1; }
.banner img { display: block; width: 100%; max-width: 100%; height: auto; }
section { margin-top: 36px; }
h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.projects { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.projects li { border-bottom: 1px solid var(--line); }
.projects a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 10px; text-decoration: none; }
.projects a > div { flex: 1; min-width: 0; }
.projects a:hover { background: var(--hover); }
h3 { margin: 0; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
p { margin: 3px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.destination { flex-shrink: 0; font-size: 12px; color: var(--muted); }
.destination span { margin-left: 8px; font-size: 17px; color: var(--accent); }
.notes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 32px; }
.notes h2 { margin: 0; }
.notes a { font-size: 15px; text-decoration-color: var(--line); }
.notes a:hover { text-decoration-color: currentColor; }
.notes a span { margin-left: 6px; color: var(--accent); }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 8px 12px; background: #f5f3ed; color: #18334d; transform: translateY(-160%); z-index: 1; }
.skip-link:focus { transform: translateY(0); }

@media (max-width: 480px) {
  .page { width: calc(100% - 36px); margin-top: 24px; }
  header { margin-bottom: 18px; }
  .wordmark { font-size: 21px; }
  section { margin-top: 28px; }
  .projects a { padding: 18px 0; gap: 12px; }
  h3 { font-size: 17px; }
  .destination { font-size: 11px; }
  .destination span { margin-left: 2px; }
}

@media (prefers-color-scheme: dark) {
  :root { background: #101e2d; color: #e6e7df; --muted: #a0afb9; --line: #30414f; --hover: #192c3e; --accent: #d9bf70; }
}
