/*
  Fonts
*/
@font-face {
  font-family: "Pretendard";
  font-weight: 300;
  font-display: swap;
  src: local("Pretendard Light"), url(../fonts/Pretendard/Pretendard-Light.woff2) format("woff2"), url(../fonts/Pretendard/Pretendard-Light.woff) format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Pretendard Regular"), url(../fonts/Pretendard/Pretendard-Regular.woff2) format("woff2"), url(../fonts/Pretendard/Pretendard-Regular.woff) format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Pretendard Medium"), url(../fonts/Pretendard/Pretendard-Medium.woff2) format("woff2"), url(../fonts/Pretendard/Pretendard-Medium.woff) format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Pretendard SemiBold"), url(../fonts/Pretendard/Pretendard-SemiBold.woff2) format("woff2"), url(../fonts/Pretendard/Pretendard-SemiBold.woff) format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Pretendard Bold"), url(../fonts/Pretendard/Pretendard-Bold.woff2) format("woff2"), url(../fonts/Pretendard/Pretendard-Bold.woff) format("woff");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Cormorant/Cormorant-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Cormorant/Cormorant-BoldItalic.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Cormorant/Cormorant-Italic.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/DMMono/DM+Mono-light.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/DMMono/DM+Mono-light.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/DMMono/DM+Mono-regular.woff2) format("woff2");
}
:root {
  color-scheme: light;
  --nav-h: 65px;
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes dropFill {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

ul, ol {
  list-style: none;
}

html, body {
  height: 100%;
}

body {
  background: #f5f2ee;
  color: #1a1a1a;
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

#main-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 4rem;
  transition: background 0.4s;
}
#main-nav.scrolled {
  background: rgba(245, 242, 238, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dedad4;
}
#main-nav .nav-logo {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #1a1a1a;
  text-transform: uppercase;
  visibility: hidden;
}
#main-nav .nav-links {
  display: flex;
  gap: 2.5rem;
}
#main-nav .nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  visibility: hidden;
}
#main-nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #c17f52;
  transition: width 0.3s;
}
#main-nav .nav-links a:hover {
  color: #c17f52;
}
#main-nav .nav-links a:hover::after {
  width: 100%;
}
#main-nav .nav-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: none;
  position: relative;
  width: 22px;
  height: 14px;
  visibility: hidden;
}
#main-nav .nav-toggle span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: #1a1a1a;
  transition: transform 0.3s, opacity 0.3s;
}
#main-nav .nav-toggle span:nth-child(1) {
  top: 0;
}
#main-nav .nav-toggle span:nth-child(2) {
  top: 6px;
}
#main-nav .nav-toggle span:nth-child(3) {
  top: 12px;
}
#main-nav .nav-toggle.open span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
#main-nav .nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
#main-nav .nav-toggle.open span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}
@media (max-width: 960px) {
  #main-nav {
    padding: 1.5rem 2.5rem;
  }
}
@media (max-width: 640px) {
  #main-nav {
    padding: 1.2rem 1.5rem;
  }
  #main-nav .nav-links {
    display: none;
  }
  #main-nav .nav-toggle {
    display: flex;
  }
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: #f5f2ee;
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2.5rem;
  gap: 2rem;
}
.nav-drawer.open {
  display: flex;
}
.nav-drawer a {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-drawer a:hover {
  color: #c17f52;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 8vw;
  position: relative;
  overflow: hidden;
  background: #f5f2ee;
}
.hero .hero-divider {
  display: none;
}
.hero .hero-topbar {
  padding-top: 6rem;
}
.hero .hero-wm {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 15%;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  z-index: 0;
}
.hero .hero-wm-line {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 15vw, 18rem);
  font-weight: 700;
  display: block;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: rgba(26, 26, 26, 0.04);
  white-space: nowrap;
  will-change: transform;
}
.hero .hero-wm-line:nth-child(2) {
  color: rgba(193, 127, 82, 0.06);
}
.hero .hero-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8vw;
}
.hero .hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
}
.hero .name-role {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: #c17f52;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  opacity: 0;
}
.hero .name-role-line {
  width: 0;
  height: 1px;
  background: #c17f52;
  flex-shrink: 0;
}
.hero .hero-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 9.5vw, 10.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  visibility: hidden;
}
.hero .name-row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.hero .name-row + .name-row {
  margin-top: 0.05em;
}
.hero .char-wrap {
  display: inline-block;
  vertical-align: bottom;
}
.hero .char {
  display: inline-block;
  line-height: 1.05;
}
.hero .char.pop {
  color: #c17f52;
}
.hero .char.dot {
  color: #c17f52;
}
.hero .hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 360px;
  transform: translateX(50px);
  opacity: 0;
}
.hero .info-block {
  margin-bottom: 2.2rem;
}
.hero .info-block:last-of-type {
  margin-bottom: 0;
}
.hero .info-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #c17f52;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.hero .info-text {
  font-size: 1rem;
  line-height: 1.82;
}
.hero .info-text strong {
  color: #1a1a1a;
  font-weight: 500;
}
.hero .hero-typed {
  font-family: "DM Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  color: #1a1a1a;
  min-height: 1.5em;
}
.hero .typed-prefix {
  display: inline-block;
  color: #c17f52;
  margin-right: 0.3rem;
  transform: translateY(-4px);
}
.hero .typed-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: #c17f52;
  vertical-align: text-bottom;
  animation: cursorBlink 0.7s step-end infinite;
  transform: translateY(-3px);
}
.hero .info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.9rem;
}
.hero .tag {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  color: #4a4a46;
  text-transform: uppercase;
  border: 1px solid #dedad4;
  padding: 0.28rem 0.75rem;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.hero .tag:hover {
  border-color: #c17f52;
  color: #c17f52;
}
.hero .info-cta {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
}
.hero .hero-bottombar {
  padding: 1.2rem 1.5rem;
  margin: 0 -8vw;
  border-top: 1px solid #dedad4;
  opacity: 0;
}
.hero .hero-bottombar-inner {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero .scroll-indicator {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1a1a1a;
  text-transform: uppercase;
}
.hero .scroll-dot {
  width: 10px;
  height: 15px;
  border-radius: 10px;
  border: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.hero .scroll-dot::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: #c17f52;
  animation: dropFill 1.8s ease-in-out infinite;
}
.hero .hero-stats {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.hero .stat {
  text-align: right;
}
.hero .stat .stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: #1a1a1a;
}
.hero .stat .stat-num sup {
  font-size: 0.7em;
  color: #c17f52;
  vertical-align: super;
}
.hero .stat .stat-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888880;
  margin-top: 0.4rem;
}
@media (max-width: 960px) {
  .hero {
    padding: 0 2.5rem;
  }
  .hero .hero-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem 0;
  }
  .hero .hero-right {
    max-width: 100%;
    transform: translateX(0);
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 0 1.5rem;
  }
  .hero .hero-name {
    font-size: clamp(3.8rem, 15vw, 5.8rem);
  }
  .hero .hero-stats {
    gap: 1.5rem;
  }
  .hero .hero-wm-line {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }
}

.btn {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.82rem 1.8rem;
  display: inline-block;
  border: 1px solid;
  border-radius: 0;
  transition: all 0.25s;
  cursor: pointer;
}
.btn.btn-fill {
  background: #1a1a1a;
  color: #f5f2ee;
  border-color: #1a1a1a;
}
.btn.btn-fill:hover {
  background: #c17f52;
  border-color: #c17f52;
  color: #fff;
}
.btn.btn-ghost {
  background: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}
.btn.btn-ghost:hover {
  background: #1a1a1a;
  color: #f5f2ee;
}

.about {
  background: #ffffff;
  border-top: 1px solid #dedad4;
  padding: 8rem;
}
.about .about-header {
  max-width: 1920px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
  margin: 0 auto 4rem;
  border-bottom: 1px solid #dedad4;
}
.about .sec-label {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c17f52;
  margin-bottom: 0.8rem;
}
.about .about-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}
.about .about-title em {
  font-style: italic;
  color: #c17f52;
}
.about .about-body {
  max-width: 1920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin: 0 auto 4rem;
}
.about .about-text {
  font-family: "Pretendard", sans-serif;
  font-size: 0.97rem;
  line-height: 1.95;
  word-break: keep-all;
}
.about .about-text strong {
  color: #1a1a1a;
  font-weight: 500;
}
.about .skill-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.88rem 0;
  border-bottom: 1px solid #dedad4;
}
.about .skill-row:first-child {
  border-top: 1px solid #dedad4;
}
.about .skill-cat {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #888880;
}
.about .skill-name {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
@media (max-width: 960px) {
  .about {
    padding: 5rem 2.5rem 6rem;
  }
}
@media (max-width: 640px) {
  .about {
    padding: 4rem 1.5rem 5rem;
  }
  .about .about-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

#career {
  background: #f5f2ee;
}

.career-section {
  border-top: 1px solid #dedad4;
  padding: 5rem 8vw 6rem;
}
.career-section:nth-child(even) {
  background: #ffffff;
}

.career-year-header {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin: 0 -8vw 2rem;
  padding: 0.6rem 8vw 0.7rem;
  border-bottom: 1px solid #dedad4;
  position: sticky;
  top: var(--nav-h, 65px);
  z-index: 10;
  background: #f5f2ee;
}

.career-section:nth-child(even) .career-year-header {
  background: #ffffff;
}

.career-year-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c17f52;
}

.career-year-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
}

.career-year-count {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #888880;
  margin-left: auto;
  text-align: right;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1920px;
  margin: 0 auto;
}

.pj-card {
  background: #ffffff;
  border: 1px solid #dedad4;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: default;
}
.pj-card:hover {
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.08);
  transform: translateY(-3px);
}

.pj-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.pj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.pj-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(193, 127, 82, 0);
  transition: background 0.3s;
}
.pj-thumb.has-lb:hover::after {
  cursor: pointer;
}
.pj-card:hover .pj-thumb img {
  transform: scale(1.05);
}
.pj-card:hover .pj-thumb::after {
  background: rgba(193, 127, 82, 0.12);
}

.pj-thumb-gradient {
  width: 100%;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  background: linear-gradient(135deg, #c17f52 0%, #b87242 40%, #d1a07f 70%, #c17f52 100%);
  background-size: 200% 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pj-thumb-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.05) 20px, rgba(255, 255, 255, 0.05) 21px);
}

.pj-thumb-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.pj-body {
  padding: 1.1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pj-date {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: #888880;
  margin-bottom: 0.5rem;
}

.pj-title {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.pj-bar-wrap {
  margin-bottom: 0.9rem;
}

.pj-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.3rem;
}

.pj-bar-label-txt {
  font-family: "Pretendard", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #888880;
}

.pj-bar-pct {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #c17f52;
}

.pj-bar-track {
  height: 2px;
  background: #dedad4;
  border-radius: 2px;
  overflow: hidden;
}

.pj-bar-fill {
  height: 100%;
  background: #c17f52;
  border-radius: 2px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.pj-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.badge {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.6em;
  border-radius: 2px;
  border: 1px solid #dedad4;
  color: #4a4a46;
}
.badge.html {
  border-color: #e08060;
  color: #c0503a;
}
.badge.css {
  border-color: #6090c0;
  color: #3a60a0;
}
.badge.js {
  border-color: #c0a040;
  color: #907020;
}
.badge.react {
  border-color: #60b0c0;
  color: #3a8090;
}
.badge.vue {
  border-color: #60b080;
  color: #3a8060;
}
.badge.ts {
  border-color: #6080c0;
  color: #3a50a0;
}
.badge.vite {
  border-color: #a070c0;
  color: #7040a0;
}
.badge.express {
  border-color: #707070;
  color: #404040;
}
.badge.zustand {
  border-color: #8f7a66;
  color: #5f4c3c;
}

.pj-desc-wrap {
  flex: 1;
}

.pj-desc-short {
  font-size: 0.95rem;
  line-height: 1.75;
  overflow: hidden;
  max-height: 5.25em;
  transition: max-height 0.35s ease;
  word-break: keep-all;
}
.pj-desc-short.expanded {
  max-height: 2000px;
  transition: max-height 0.5s ease;
}

.pj-more-btn {
  background: none;
  border: none;
  padding: 0.4rem 0 0;
  cursor: pointer;
  font-family: "Pretendard", sans-serif;
  font-size: 0.85rem;
  color: #c17f52;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s;
}
.pj-more-btn:hover {
  opacity: 0.7;
}
.pj-more-btn .arrow {
  transition: transform 0.25s;
}
.pj-more-btn.open .arrow {
  transform: rotate(180deg);
}

.pj-footer {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #dedad4;
}

.pj-link {
  font-family: "DM Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
  word-break: break-all;
  overflow-wrap: break-word;
}
.pj-link:hover {
  color: #c17f52;
}
.pj-link svg {
  flex-shrink: 0;
}

.work-alert {
  font-family: "Pretendard", sans-serif;
  font-size: 1rem;
  color: #888880;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #dedad4;
}

@media (max-width: 960px) {
  .career-section {
    padding: 4rem 2.5rem 5rem;
  }
  .career-section .career-year-header {
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .career-section {
    padding: 3.5rem 1.5rem 4rem;
  }
  .career-section .career-year-header {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .card-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .pj-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0 0.9rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #dedad4;
    padding: 0.85rem 0;
    background: transparent;
    overflow: visible;
  }
  .pj-card:last-child {
    border-bottom: none;
  }
  .pj-card:hover {
    transform: none;
    box-shadow: none;
  }
  .pj-thumb,
  .pj-thumb-gradient {
    grid-column: 1;
    grid-row: 1;
    width: 72px;
    height: 72px;
    aspect-ratio: 1;
    border-radius: 6px;
    flex-shrink: 0;
    align-self: start;
  }
  .pj-thumb img {
    border-radius: 6px;
  }
  .pj-thumb::after {
    display: none;
  }
  .pj-thumb-name {
    font-size: 0.6rem;
  }
  .pj-body {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    gap: 0.3rem;
  }
  .pj-date {
    font-size: 0.65rem;
  }
  .pj-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  .pj-bar-wrap {
    display: none;
  }
  .pj-badges {
    gap: 0.25rem;
    max-height: 1.4rem;
  }
  .badge {
    font-size: 0.55rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
  }
  .pj-desc-wrap {
    flex: unset;
  }
  .pj-desc-short {
    max-height: 3.1em;
    font-size: 0.75rem;
    line-height: 1.55;
  }
  .pj-more-btn {
    font-size: 0.7rem;
    margin-top: 0.2rem;
  }
  .pj-footer {
    margin-top: 0.3rem;
  }
  .pj-link {
    font-size: 0.7rem;
  }
}
#contact {
  background: #1a1a1a;
  color: #ffffff;
  padding: 8rem 8vw 6rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  #contact {
    padding: 6rem 1.5rem 4rem;
  }
}

.contact-wm {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 18vw, 18rem);
  font-weight: 700;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.contact-label {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #c17f52;
  margin-bottom: 1.5rem;
}

.contact-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 3rem;
  word-break: keep-all;
}
.contact-heading em {
  color: #c17f52;
  font-style: italic;
}

.contact-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;
}

.contact-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #ffffff;
  transition: color 0.25s, padding-left 0.25s;
}
.contact-link-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-link-row:hover {
  color: #c17f52;
  padding-left: 0.6rem;
}

.contact-link-label {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  min-width: 90px;
}

.contact-link-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  flex: 1;
  padding: 0 1.5rem;
}
@media (max-width: 640px) {
  .contact-link-value {
    font-size: 1rem;
    padding: 0 0.8rem;
  }
}

.contact-link-arrow {
  font-size: 1.1rem;
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s;
}
.contact-link-row:hover .contact-link-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

.contact-footer {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 640px) {
  .contact-footer {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }
}

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.lb-overlay.active {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  display: block;
  max-width: 82vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.5);
  transition: opacity 0.2s;
  transform-origin: center;
  will-change: transform;
}

.lb-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 10;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lb-close:hover {
  opacity: 1;
}

.lb-arrow {
  position: fixed;
  top: 50%;
  z-index: 10;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  font-size: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}
.lb-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}
.lb-arrow#lb-prev {
  left: 1rem;
}
.lb-arrow#lb-next {
  right: 1rem;
}

.lb-counter {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}
.lb-counter.hidden {
  display: none;
}

.lb-zoom-controls {
  position: fixed;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 0.35rem 0.7rem;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.lb-zoom-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.15s, background 0.15s;
}
.lb-zoom-btn:hover:not(:disabled) {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}
.lb-zoom-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.lb-zoom-level {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  min-width: 3.2rem;
  text-align: center;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/*# sourceMappingURL=style.css.map */
