:root {
  --background: #f1e7dc;
  --paper: #fffaf2;
  --brown-dark: #3b2a24;
  --brown-main: #6d5044;
  --brown-soft: #a98575;
  --brown-light: #d8c5b7;
  --mint-dark: #3f7c68;
  --mint-main: #9ed2bf;
  --mint-soft: #d7eee4;
  --mint-pale: #edf8f2;
  --warm-accent: #b66f62;
  --petal: #f5d8d1;
  --butter: #f6e8b7;
  --text-primary: #3f3531;
  --text-secondary: #776a64;
  --line: #ddd1c7;
  --shadow-soft: 0 22px 60px rgba(66, 52, 46, 0.12);
  --font-heading: "Lora", "Noto Serif KR", serif;
  --font-body: "Be Vietnam Pro", "Noto Sans KR", sans-serif;
  --font-note: "Mali", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text-primary);
  background:
    linear-gradient(rgba(111, 82, 70, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 128, 111, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(111, 82, 70, 0.055) 1px, transparent 0),
    var(--background);
  background-size: 28px 28px, 28px 28px, 14px 14px, auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.72;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(156, 200, 183, 0.48), transparent 23rem),
    radial-gradient(circle at 86% 28%, rgba(111, 82, 70, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(255, 250, 242, 0.34), transparent 48%);
}

body::after {
  content: "인사 · 기술 · AI";
  position: fixed;
  right: clamp(0.6rem, 4vw, 3rem);
  bottom: clamp(0.8rem, 5vw, 3rem);
  z-index: -1;
  color: rgba(63, 124, 104, 0.055);
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(1.6rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(102, 143, 128, 0.52);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  background: var(--brown-dark);
  color: var(--paper);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  padding: 0.8rem 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  border-bottom: 1px solid rgba(221, 209, 199, 0.78);
  background: rgba(246, 241, 233, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.42rem 0.75rem 0.42rem 0.5rem;
  border: 1px solid var(--brown-light);
  background: var(--paper);
  color: var(--brown-dark);
  box-shadow: 7px 7px 0 rgba(158, 210, 191, 0.9);
  font-weight: 800;
  line-height: 1;
  border-radius: 20px 20px 20px 8px;
  transform: rotate(-0.35deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover {
  transform: translateY(-2px) rotate(-0.35deg);
  box-shadow: 9px 9px 0 rgba(158, 210, 191, 0.95);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  max-width: 150px;
  font-size: 0.9rem;
  line-height: 1.18;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  min-height: 44px;
  padding: 0.62rem 0.82rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.82rem;
  right: 0.82rem;
  bottom: 0.45rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--mint-dark);
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--brown-dark);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  background: rgba(156, 200, 183, 0.24);
  border-radius: 16px 16px 16px 6px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brown-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  min-height: calc(100dvh - 84px);
  padding: clamp(3.8rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 800;
  pointer-events: none;
}

.hero::before {
  content: "ㄱ ㄴ ㄷ";
  top: 11%;
  left: min(2vw, 1.2rem);
  padding: 0.3rem 0.65rem;
  border: 1px dashed rgba(79, 128, 111, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.5);
  color: rgba(111, 82, 70, 0.16);
  transform: rotate(-8deg);
}

.hero::after {
  content: "서울 · 언어";
  right: 1%;
  bottom: 10%;
  color: rgba(63, 124, 104, 0.16);
  transform: rotate(7deg);
}

.hero-copy {
  position: relative;
}

.chapter-label {
  margin: 0 0 1rem;
  color: var(--mint-dark);
  font-family: var(--font-note);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8.8rem);
  font-weight: 700;
  line-height: 0.92;
  text-shadow: 0.06em 0.06em 0 rgba(158, 210, 191, 0.32);
}

.hero-lead {
  max-width: 690px;
  margin: 1.6rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.culture-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.culture-stickers span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.24rem 0.66rem;
  border: 1px solid rgba(111, 82, 70, 0.18);
  border-radius: 999px 999px 999px 7px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--mint-dark);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(158, 210, 191, 0.22);
}

.culture-stickers span:nth-child(2) {
  background: var(--mint-soft);
  color: var(--brown-dark);
  transform: rotate(1.5deg);
}

.culture-stickers span:nth-child(3) {
  background: var(--petal);
  transform: rotate(-1.5deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button,
.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button {
  padding: 0 1.15rem;
  border: 1px solid var(--brown-dark);
  border-radius: 999px 999px 999px 10px;
}

.button:hover,
.text-link:hover,
.back-link:hover {
  transform: translateY(-2px);
}

.button:active,
.project-filter button:active,
.project-card:active {
  transform: translateY(1px);
}

.primary {
  background: var(--brown-dark);
  color: var(--paper);
}

.ghost {
  background: var(--paper);
  color: var(--brown-dark);
}

.hero-portrait {
  position: relative;
  margin: 0;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 1.8rem -1.2rem -0.35rem 1.8rem;
  z-index: -1;
  background: var(--mint-main);
  border-radius: 34px 34px 34px 12px;
  box-shadow: inset 0 0 0 1px rgba(63, 124, 104, 0.12);
}

.paper-tag {
  position: absolute;
  top: -1rem;
  right: 1.2rem;
  z-index: 2;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--warm-accent);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 10px 24px rgba(66, 52, 46, 0.1);
  transform: rotate(2deg);
}

.portrait-frame {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 34px 34px 34px 12px;
  box-shadow: var(--shadow-soft);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 12%;
  width: 76px;
  height: 22px;
  border: 1px solid rgba(111, 82, 70, 0.12);
  border-radius: 999px;
  background: rgba(246, 232, 183, 0.78);
  transform: rotate(-5deg);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 0 0 1px rgba(111, 82, 70, 0.08);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px 24px 24px 9px;
  filter: saturate(0.95) contrast(1.02);
}

.hero-portrait figcaption {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  max-width: calc(100% - 3.2rem);
  margin: 0.38rem auto 0;
  padding: 0;
  color: var(--brown-main);
  font-size: 0.92rem;
  line-height: 1.32;
  text-align: center;
  transform: translateY(-0.05rem);
}

.hero-portrait figcaption strong {
  color: var(--brown-dark);
  font-size: 0.98rem;
}

.intro-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(156, 200, 183, 0.14), transparent 34%),
    rgba(255, 250, 241, 0.82);
}

.intro-band,
.portfolio-purpose,
.editorial-goals,
.detail-card {
  position: relative;
}

.intro-band::after,
.portfolio-purpose::after,
.editorial-goals::after {
  content: "ㄱ";
  position: absolute;
  right: clamp(1rem, 7vw, 6rem);
  top: 1rem;
  color: rgba(63, 124, 104, 0.055);
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem) 0;
}

.intro-grid p {
  margin: 0;
}

.hangul-note {
  color: var(--mint-dark);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 800;
}

.about-spread,
.journey,
.projects,
.reflection {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.about-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.section-kicker {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  color: var(--text-secondary);
}

.section-kicker span {
  display: inline-grid;
  width: 56px;
  height: 40px;
  place-items: center;
  border: 1px dashed rgba(79, 128, 111, 0.42);
  border-radius: 999px 999px 999px 8px;
  background: rgba(209, 231, 221, 0.74);
  color: var(--brown-dark);
  font-family: var(--font-note);
  font-weight: 700;
}

.section-kicker p {
  margin: 0;
  font-family: var(--font-note);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mint-dark);
}

.about-main h2,
.section-heading h2,
.toolkit h2,
.reflection-copy h2,
.reflection-copy h1,
.page-hero h1,
.postcard h1,
.purpose-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.04;
}

.about-main p,
.reflection-copy p,
.toolkit-copy,
.goal-prose p,
.purpose-copy p,
.editorial-note {
  margin: 1.2rem 0 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.profile-facts {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(111, 82, 70, 0.15);
  border-radius: 28px 28px 28px 10px;
  background:
    linear-gradient(90deg, rgba(158, 210, 191, 0.12) 1px, transparent 1px),
    rgba(255, 250, 242, 0.7);
  background-size: 18px 100%;
  box-shadow: 8px 8px 0 rgba(158, 210, 191, 0.16);
}

.profile-facts div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0.25rem 0 0;
  color: var(--brown-dark);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.page-main {
  min-height: calc(100dvh - 82px);
}

.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 0;
}

.page-hero h1 {
  max-width: 720px;
}

.editorial-note {
  max-width: 760px;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--mint-dark);
}

.editorial-goals {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  border-top: 1px solid rgba(111, 82, 70, 0.22);
}

.goal-prose {
  max-width: 860px;
}

mark {
  padding: 0 0.05rem;
  background:
    linear-gradient(transparent 58%, rgba(156, 200, 183, 0.42) 58% 88%, transparent 88%);
  color: var(--brown-dark);
}

.goal-lines {
  display: grid;
  gap: 0;
  max-width: 920px;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: goals;
  list-style: none;
  border-top: 1px dashed rgba(111, 82, 70, 0.32);
}

.goal-lines li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0.7rem 1.05rem 0;
  border-bottom: 1px dashed rgba(111, 82, 70, 0.28);
  color: var(--text-secondary);
  counter-increment: goals;
}

.goal-lines li::before {
  content: counter(goals, decimal-leading-zero);
  color: var(--mint-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  background: rgba(209, 231, 221, 0.72);
}

.portfolio-purpose {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.48fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.keyword-notes {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.keyword-notes span {
  width: fit-content;
  padding: 0.52rem 0.72rem;
  border: 1px solid var(--brown-light);
  background: var(--mint-soft);
  color: var(--brown-dark);
  font-family: var(--font-note);
  font-weight: 700;
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 4px 0 rgba(111, 82, 70, 0.08);
}

.keyword-notes span:nth-child(2) {
  margin-left: 1.4rem;
  background: var(--paper);
}

.keyword-notes span:nth-child(3) {
  margin-left: 0.45rem;
  background: rgba(111, 82, 70, 0.12);
}

.chapter-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.chapter-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.56fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: baseline;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 253, 248, 0.86);
}

.chapter-item span,
.project-number {
  color: var(--warm-accent);
  font-family: var(--font-note);
  font-weight: 700;
}

.chapter-item h3,
.project-copy h3,
.project-card h3,
.project-card h2,
.note-card h3,
.note-card h2,
.detail-section h2 {
  margin: 0;
  color: var(--brown-dark);
  font-family: var(--font-heading);
  line-height: 1.18;
}

.chapter-item p {
  margin: 0;
  color: var(--text-secondary);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(1.5rem, 5vw, 3.2rem);
  align-items: center;
  margin-bottom: 1.2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.project-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mint-pale);
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.project-feature:hover .project-media img {
  transform: scale(1.025);
}

.project-copy p {
  color: var(--text-secondary);
}

.project-copy .project-number {
  margin: 0 0 0.65rem;
  color: var(--warm-accent);
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
  margin-bottom: 1.7rem;
  padding: 0.75rem 0.8rem;
  border: 1px dashed rgba(79, 128, 111, 0.46);
  border-radius: 22px 22px 22px 8px;
  background:
    linear-gradient(90deg, rgba(79, 128, 111, 0.08) 1px, transparent 1px),
    rgba(209, 231, 221, 0.58);
  background-size: 18px 100%;
}

.project-filter button {
  min-height: 42px;
  padding: 0.48rem 0.76rem;
  border: 1px solid rgba(111, 82, 70, 0.18);
  background: rgba(255, 250, 241, 0.9);
  color: var(--brown-main);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 16px 16px 16px 5px;
  box-shadow: 0 3px 0 rgba(79, 128, 111, 0.16);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.project-filter button:hover,
.project-filter button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--mint-dark);
}

.project-filter button[aria-pressed="true"] {
  border-color: var(--brown-dark);
  background: var(--brown-dark);
  color: var(--paper);
  box-shadow: 0 4px 0 var(--mint-main);
}

.text-link,
.back-link,
.project-card a {
  color: var(--mint-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.project-card {
  grid-column: span 3;
  position: relative;
  min-height: 280px;
  padding: 1.45rem 1.35rem 1.25rem;
  border: 1px solid rgba(111, 82, 70, 0.18);
  border-radius: 28px 28px 28px 10px;
  background:
    radial-gradient(circle at 92% 18%, rgba(245, 216, 209, 0.58), transparent 4.5rem),
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 250, 241, 0.82)),
    var(--paper);
  box-shadow: 8px 8px 0 rgba(156, 200, 183, 0.24);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: rgba(156, 200, 183, 0.52);
  transform: rotate(2deg);
}

.project-card::after {
  content: "읽기";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: rgba(63, 124, 104, 0.075);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-4px) rotate(-0.35deg);
  border-color: var(--mint-dark);
  background: var(--paper);
  box-shadow: 10px 10px 0 rgba(156, 200, 183, 0.34);
}

.project-card.tall {
  min-height: 340px;
  background:
    radial-gradient(circle at 92% 18%, rgba(246, 232, 183, 0.6), transparent 4.5rem),
    linear-gradient(180deg, rgba(231, 242, 236, 0.94), rgba(255, 250, 241, 0.78)),
    var(--mint-pale);
}

.featured-filter-card {
  border-color: rgba(79, 128, 111, 0.34);
  background:
    linear-gradient(135deg, rgba(209, 231, 221, 0.92), rgba(255, 250, 241, 0.9)),
    var(--mint-soft);
}

.project-card.is-hidden {
  display: none;
}

.project-card.wide {
  grid-column: span 6;
  min-height: auto;
  border-radius: 24px 24px 8px 24px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--warm-accent);
  font-family: var(--font-heading);
  font-weight: 700;
}

.project-card p {
  color: var(--text-secondary);
}

.shortcut-note {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.shortcut-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(280px, 0.6fr);
  gap: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brown-light);
}

.shortcut-grid p,
.shortcut-grid li {
  color: var(--text-secondary);
}

kbd {
  display: inline-flex;
  min-width: 1.8rem;
  min-height: 1.65rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.38rem;
  border: 1px solid var(--brown-light);
  background: var(--paper);
  color: var(--brown-dark);
  box-shadow: 0 2px 0 var(--brown-light);
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 800;
}

.toolkit {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--brown-dark);
  color: var(--paper);
}

.toolkit .chapter-label,
.toolkit-copy {
  color: rgba(255, 253, 248, 0.72);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.skill-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-index span {
  padding: 0.7rem 0.86rem;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.08);
  color: var(--paper);
  font-weight: 700;
}

.toolkit-copy {
  grid-column: 2;
  margin-top: -2.5rem;
}

.reflection {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.note-columns {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.reflection-thread {
  position: relative;
  display: grid;
  gap: 1rem;
  max-width: 960px;
  padding-left: clamp(0.4rem, 2vw, 1rem);
}

.reflection-thread::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  bottom: 1.8rem;
  left: clamp(1.7rem, 3vw, 2.05rem);
  width: 1px;
  background: linear-gradient(var(--mint-main), rgba(111, 82, 70, 0.12));
}

.thread-entry {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.2rem);
  align-items: start;
  padding: 0;
  border: 0;
}

.thread-entry span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  border: 1px solid rgba(63, 124, 104, 0.25);
  border-radius: 999px;
  background: var(--paper);
  color: var(--mint-dark);
  font-weight: 800;
  box-shadow: 5px 5px 0 rgba(156, 200, 183, 0.18);
}

.thread-entry div {
  position: relative;
  padding: 1.25rem 1.35rem 1.2rem;
  border: 1px dashed rgba(111, 82, 70, 0.22);
  border-radius: 24px 24px 8px 24px;
  background:
    linear-gradient(90deg, rgba(156, 200, 183, 0.12) 1px, transparent 1px),
    rgba(255, 253, 248, 0.76);
  background-size: 22px 100%, auto;
}

.thread-entry div::before {
  content: "";
  position: absolute;
  top: -0.42rem;
  left: 1.1rem;
  width: 58px;
  height: 13px;
  border-radius: 999px;
  background: rgba(246, 232, 183, 0.86);
  transform: rotate(-2deg);
}

.thread-entry h2 {
  display: inline;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.18;
  background: linear-gradient(transparent 58%, rgba(156, 200, 183, 0.42) 0);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.thread-entry p {
  max-width: 78ch;
  margin: 0.82rem 0 0;
  color: var(--text-secondary);
}

.thread-entry.is-quote {
  align-items: center;
}

.thread-entry.is-quote div {
  border-left: 3px solid var(--mint-main);
  border-radius: 0 18px 18px 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 216, 209, 0.5), transparent 34%),
    rgba(237, 248, 242, 0.72);
}

.thread-entry.is-quote p {
  color: var(--brown-main);
  font-family: var(--font-note);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.note-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.45rem;
  border: 1px dashed rgba(111, 82, 70, 0.28);
  border-radius: 24px 24px 8px 24px;
  background:
    linear-gradient(90deg, rgba(156, 200, 183, 0.16) 1px, transparent 1px),
    rgba(255, 253, 248, 0.84);
  background-size: 22px 100%;
}

.note-card:nth-child(2) {
  margin-top: 1.4rem;
  border-radius: 24px 24px 24px 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.9), rgba(231, 242, 236, 0.66)),
    var(--paper);
}

.note-card::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 1.35rem;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: rgba(156, 200, 183, 0.58);
}

.note-card ol {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.postcard-footer {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.postcard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent calc(100% - 220px), rgba(156, 200, 183, 0.2) calc(100% - 220px)),
    var(--paper);
  box-shadow: var(--shadow-soft);
}

.postcard::after {
  content: none;
}

.stamp {
  margin: 0 0 0.8rem;
  color: var(--mint-dark);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.postcard h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.mini-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--brown-light);
  background: rgba(63, 47, 40, 0.94);
  color: var(--paper);
}

.mini-footer .section-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.mini-footer a {
  color: var(--mint-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.standalone-reflection {
  padding-top: clamp(4rem, 9vw, 7rem);
}

.postcard p {
  max-width: 680px;
  color: var(--text-secondary);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.55fr) minmax(160px, 0.6fr);
  gap: 0;
  margin: 2rem 0;
  max-width: 760px;
  border-top: 1px solid rgba(111, 82, 70, 0.28);
}

.contact-row a,
.contact-row span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.72rem 0.9rem 0.72rem 0;
  border: 0;
  border-bottom: 1px solid rgba(111, 82, 70, 0.28);
  background: transparent;
  color: var(--brown-dark);
  font-weight: 700;
}

.contact-row a + a,
.contact-row span {
  padding-left: 0.9rem;
}

.postcard small {
  color: var(--text-secondary);
}

.postcard-photo {
  justify-self: end;
  width: min(100%, 220px);
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--brown-light);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--mint-main);
}

.postcard-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.postcard-photo figcaption {
  margin-top: 0.55rem;
  color: var(--brown-main);
  font-family: var(--font-note);
  font-weight: 700;
  text-align: center;
}

.detail-page {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.back-link {
  margin-bottom: 1.2rem;
}

.detail-card {
  position: relative;
  border: 1px solid rgba(111, 82, 70, 0.16);
  border-radius: 30px 30px 12px 30px;
  background:
    linear-gradient(90deg, rgba(111, 82, 70, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(255, 250, 241, 0.88)),
    var(--paper);
  background-size: 24px 100%, auto, auto;
  box-shadow: 12px 12px 0 rgba(156, 200, 183, 0.18);
  overflow: hidden;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: clamp(1.2rem, 4vw, 2.4rem);
  width: 72px;
  height: 16px;
  border-radius: 999px;
  background: rgba(156, 200, 183, 0.46);
  transform: rotate(2deg);
}

.detail-card::after {
  content: "기록";
  position: absolute;
  right: clamp(1.4rem, 4vw, 2.6rem);
  bottom: 1.2rem;
  z-index: 0;
  color: rgba(63, 124, 104, 0.045);
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  pointer-events: none;
}

.detail-hero {
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border-bottom: 1px dashed rgba(111, 82, 70, 0.24);
  background:
    radial-gradient(circle at 92% 12%, rgba(156, 200, 183, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(220, 236, 230, 0.66), transparent 58%),
    var(--paper);
}

.detail-label {
  margin: 0 0 0.8rem;
  color: var(--mint-dark);
  font-family: var(--font-note);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.detail-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.04;
}

.detail-hero p:last-child {
  max-width: 900px;
  color: var(--text-secondary);
}

.detail-section {
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border-bottom: 1px dashed rgba(111, 82, 70, 0.22);
}

.detail-section p,
.detail-section li {
  color: var(--text-secondary);
}

.source-detail {
  background:
    linear-gradient(90deg, rgba(156, 200, 183, 0.12) 1px, transparent 1px),
    rgba(255, 253, 248, 0.72);
  background-size: 22px 100%;
}

.assignment-paper .detail-text {
  max-width: 980px;
}

.assignment-paper .detail-text h2 {
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
  text-wrap: pretty;
}

.assignment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.assignment-meta span {
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(111, 82, 70, 0.18);
  border-radius: 999px 999px 999px 8px;
  background: rgba(255, 250, 241, 0.86);
  color: var(--brown-main);
  font-size: 0.9rem;
  font-weight: 700;
}

.source-prose {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.pdf-page-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.4rem;
}

.pdf-page-block {
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid rgba(111, 82, 70, 0.14);
  border-radius: 22px 22px 8px 22px;
  background: rgba(255, 253, 248, 0.76);
}

.source-prose p {
  margin: 0;
}

.source-title {
  max-width: 780px;
  color: var(--brown-dark);
  font-family: var(--font-body);
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 800;
  line-height: 1.2;
}

.source-heading {
  margin-top: 0.9rem !important;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(111, 82, 70, 0.24);
  color: var(--brown-dark) !important;
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
}

.source-subheading,
.source-step {
  color: var(--brown-dark) !important;
  font-weight: 800;
}

.source-callout {
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(79, 128, 111, 0.26);
  border-radius: 18px 18px 18px 6px;
  background: rgba(209, 231, 221, 0.42);
  color: var(--brown-dark) !important;
  font-weight: 700;
}

.source-step {
  padding: 0.42rem 0 0.42rem 0.75rem;
  border-left: 3px solid rgba(79, 128, 111, 0.44);
  border-radius: 0;
  background: transparent;
  font-size: 0.98rem;
}

.source-body {
  line-height: 1.82;
}

.source-table-block {
  margin-top: 1.5rem;
}

.source-table-label {
  margin: 0 0 0.55rem;
  color: var(--mint-dark);
  font-family: var(--font-note);
  font-weight: 800;
}

.summary-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px dashed rgba(111, 82, 70, 0.28);
  border-radius: 20px 20px 8px 20px;
  background: rgba(255, 253, 248, 0.78);
}

.summary-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  background: transparent;
}

.summary-table th,
.summary-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  background: rgba(209, 231, 221, 0.76);
  color: var(--brown-dark);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.inline-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.15rem 0 0;
}

.inline-evidence-grid:has(.inline-evidence-item:only-child) {
  grid-template-columns: minmax(0, 0.72fr);
}

.inline-evidence-item.is-tall {
  max-width: min(100%, 560px);
}

.inline-evidence-item.is-tall .image-zoom img {
  height: 420px;
}

.inline-evidence-item.is-wide .image-zoom img {
  height: 240px;
}

.inline-evidence-item.is-page {
  grid-column: 1 / -1;
  max-width: min(100%, 820px);
}

.inline-evidence-item.is-page .image-zoom img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

.evidence-item {
  margin: 0;
  border: 1px solid rgba(111, 82, 70, 0.16);
  border-radius: 22px 22px 8px 22px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(156, 200, 183, 0.18);
  overflow: hidden;
}

.image-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-zoom img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: top center;
  background: var(--mint-pale);
  border-bottom: 1px dashed rgba(111, 82, 70, 0.2);
  transition: transform 180ms ease;
}

.image-zoom:hover img {
  transform: scale(1.018);
}

.evidence-item figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.reflection-detail {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.74), rgba(209, 231, 221, 0.64)),
    var(--mint-pale);
}

.detail-file-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: var(--brown-dark);
  color: var(--paper);
}

.detail-file-footer p {
  color: rgba(255, 253, 248, 0.74);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 1rem;
  background: rgba(38, 29, 25, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1120px, 100%);
  max-height: 86dvh;
  object-fit: contain;
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brown-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .about-spread,
  .project-feature,
  .toolkit-grid,
  .reflection,
  .portfolio-purpose,
  .shortcut-grid,
  .postcard {
    grid-template-columns: 1fr;
  }

  .profile-facts,
  .note-columns,
  .toolkit-copy {
    grid-column: auto;
  }

  .chapter-item {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card,
  .project-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 80px;
  }

  .section-shell,
  .site-header {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 72px;
  }

  .site-header::before {
    inset: 0;
  }

  .brand {
    max-width: 230px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 0.8rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
  }

  .nav-open .nav {
    display: flex;
  }

  .nav a {
    min-height: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 18vw, 5.6rem);
  }

  .intro-grid,
  .note-columns,
  .project-grid,
  .evidence-grid,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-row a + a,
  .contact-row span {
    padding-left: 0;
  }

  .project-card,
  .project-card.tall {
    min-height: auto;
  }

  .project-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.85rem;
  }

  .project-filter button {
    flex: 0 0 auto;
  }

  .goal-lines li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .postcard {
    background: var(--paper);
  }

  .reflection-thread {
    padding-left: 0;
  }

  .reflection-thread::before {
    left: 1.28rem;
  }

  .thread-entry {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .thread-entry span {
    width: 42px;
    height: 34px;
  }

  .thread-entry div {
    padding: 1.1rem 1rem;
  }

  .postcard-photo {
    justify-self: start;
    width: min(220px, 100%);
  }

  .detail-file-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-zoom img {
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

