/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
  --bg:        #F5F1EB;
  --bg2:       #EDE7DC;
  --bg3:       #E8DFD0;
  --border:    #D3D1C7;
  --text:      #2C2C2A;
  --muted:     #5F5E5A;
  --hint:      #888780;
  --faint:     #B4B2A9;
  --amber:     #D4A96A;
  --amber-dark:#854F0B;
  --teal:      #5CAEAD;
  --mono:      'JetBrains Mono', monospace;
  --sans:      'Pretendard', 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); min-height: 100vh; overflow-x: hidden; }

/* ── Nav ── */
.nav { border-bottom: 0.5px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: 900px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 0; }
.nav-link { font-family: var(--mono); font-size: 13px; color: var(--hint); text-decoration: none; padding: 1rem 1.2rem; border-bottom: 2px solid transparent; transition: color 0.15s; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); border-bottom-color: var(--text); }
.nav-tool { font-family: var(--mono); font-size: 12px; color: var(--amber-dark); text-decoration: none; padding: 6px 14px; border: 0.5px solid var(--amber); border-radius: 20px; background: #FAEEDA44; transition: background 0.15s; }
.nav-tool:hover { background: #FAEEDA; }

/* ── Main ── */
.main { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem; }

/* ── Page Sections ── */
.page-section { padding-bottom: 4rem; margin-bottom: 2rem; border-bottom: 0.5px solid var(--border); scroll-margin-top: 72px; }
.page-section:last-child { border-bottom: none; padding-bottom: 1rem; }
#home { margin-top: -2.5rem; }

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; margin-bottom: 2rem; }
.crumb-dir { font-family: var(--mono); font-size: 12px; padding: 5px 14px; background: var(--bg3); color: var(--muted); border-radius: 4px 0 0 4px; }
.crumb-arr { width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 10px solid var(--bg3); }
.crumb-root { font-family: var(--mono); font-size: 12px; padding: 5px 14px; background: var(--amber); color: #412402; margin-left: -2px; }
.crumb-arr2 { width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 10px solid var(--amber); }
.crumb-sub { font-family: var(--mono); font-size: 12px; padding: 5px 14px; background: var(--amber); color: #412402; margin-left: -2px; }

/* ── Hero Screen ── */
@keyframes aurora-1 {
  0%, 100% { transform: translate(0%, 0%) scale(1); }
  33%       { transform: translate(6%, -10%) scale(1.06); }
  66%       { transform: translate(-5%, 7%) scale(0.96); }
}
@keyframes aurora-2 {
  0%, 100% { transform: translate(0%, 0%) scale(1); }
  33%       { transform: translate(-7%, 6%) scale(0.95); }
  66%       { transform: translate(5%, -9%) scale(1.05); }
}
.hero-screen { min-height: calc(100vh - 57px); display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 3rem 0; position: relative; }
.hero-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: radial-gradient(ellipse 55% 70% at 8% 70%, rgba(92,174,173,0.16) 0%, transparent 60%);
  filter: blur(40px);
  animation: aurora-1 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: radial-gradient(ellipse 50% 65% at 92% 20%, rgba(212,169,106,0.15) 0%, transparent 60%);
  filter: blur(48px);
  animation: aurora-2 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-left { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 1.8rem; }
.hero-right { position: relative; z-index: 1; flex-shrink: 0; }
.hero-title { font-family: var(--mono); font-size: 3.4rem; font-weight: 500; color: var(--text); letter-spacing: -0.02em; }
.hero-sub { font-family: var(--mono); font-size: 14px; color: var(--hint); margin-top: 8px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chip { font-family: var(--mono); font-size: 12px; padding: 6px 14px; background: var(--bg2); border: 0.5px solid var(--border); border-radius: 20px; color: var(--muted); }
.hero-ctas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cta-btn { font-family: var(--mono); font-size: 13px; padding: 10px 22px; border-radius: 8px; text-decoration: none; transition: all 0.15s; }
.cta-primary { background: var(--text); color: var(--bg); }
.cta-primary:hover { background: #444441; }
.cta-secondary { background: transparent; color: var(--text); border: 0.5px solid var(--border); }
.cta-secondary:hover { border-color: var(--amber); color: var(--amber-dark); }

/* ── Profile ── */
.profile-wrap { position: relative; flex-shrink: 0; padding: 15px 85px 15px 0; }
.profile-wrap::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(-20px, 0);
  background: radial-gradient(ellipse at 40% 50%, rgba(92,174,173,0.22) 0%, rgba(212,169,106,0.16) 50%, transparent 75%);
  filter: blur(36px);
  z-index: 0;
  animation: aurora-1 16s ease-in-out infinite;
  pointer-events: none;
}
.profile-img { width: 200px; height: 200px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; cursor: pointer; transition: border-color 0.2s; overflow: hidden; position: relative; z-index: 1; }
.profile-img:hover { border-color: var(--amber); }
.profile-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ── Floating Badges ── */
@keyframes float-bob {
  0%   { transform: translateY(0px)  rotate(-2deg); }
  50%  { transform: translateY(-9px) rotate(2deg);  }
  100% { transform: translateY(0px)  rotate(-2deg); }
}
@keyframes float-bob-alt {
  0%   { transform: translateY(0px)  rotate(2deg);  }
  50%  { transform: translateY(-9px) rotate(-2deg); }
  100% { transform: translateY(0px)  rotate(2deg);  }
}
.float-badge {
  position: absolute;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  pointer-events: none;
}
.badge-tr { top: 15px;    right: 4px; animation: float-bob     3s ease-in-out infinite; z-index: 2; }
.badge-bl { bottom: 25px; left: 0;    animation: float-bob-alt 3s ease-in-out infinite 1.5s; z-index: 2; }
.profile-info { flex: 1; }
.status-line { font-family: var(--mono); font-size: 13px; color: var(--hint); margin-bottom: 10px; }
.active-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }

/* ── Active Dot Pulse ── */
@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99, 153, 34, 0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 5px rgba(99, 153, 34, 0); }
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #639922; flex-shrink: 0; animation: dot-pulse 2s ease-in-out infinite; }
.active-text { font-family: var(--mono); font-size: 13px; color: #3B6D11; font-weight: 500; }
.info-row { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--hint); margin-bottom: 6px; }
.icons-row { display: flex; gap: 10px; margin-top: 14px; }
.icon-btn { width: 40px; height: 40px; background: var(--bg2); border: 0.5px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--hint); text-decoration: none; font-size: 14px; transition: background 0.15s, color 0.15s, transform 0.15s; }
.icon-btn:hover { background: var(--amber); color: #412402; transform: translateY(-2px); }

/* ── Terminal Box ── */
.terminal-box { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 10px; padding: 1.2rem 1.5rem; margin-bottom: 2rem; }
.term-prompt { font-family: var(--mono); font-size: 13px; color: #B47A3C; margin-bottom: 10px; }
.term-input { width: 100%; background: var(--bg); border: 0.5px solid var(--border); border-radius: 6px; padding: 9px 14px; font-family: var(--mono); font-size: 13px; color: var(--text); outline: none; }
.term-input::placeholder { color: var(--faint); }
.term-input:focus { border-color: var(--amber); }

/* ── Section Tags ── */
.section-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 14px; border-radius: 4px 0 0 4px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 1rem; position: relative; }
.section-tag::after { content: ''; position: absolute; right: -10px; top: 0; width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.section-tag.edu  { background: var(--bg3); } .section-tag.edu::after  { border-left: 10px solid var(--bg3); }
.section-tag.lang { background: #FAEEDA;   } .section-tag.lang::after { border-left: 10px solid #FAEEDA; }
.section-tag.skills { background: #EAF3DE; } .section-tag.skills::after { border-left: 10px solid #EAF3DE; }
.section-gap { margin-bottom: 2.5rem; }
.section-divider { border: none; border-top: 0.5px solid var(--border); margin: 0 0 2.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.sub-cmd { font-family: var(--mono); font-size: 12px; color: #B47A3C; margin: 14px 0 8px; }

/* ── Cards ── */
.card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 10px; padding: 1.1rem 1.4rem; margin-bottom: 10px; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.row-card { display: flex; justify-content: space-between; align-items: center; }
/* ── Shared card hover ── */
.card:hover, .stat-card:hover, .proj-card:hover, .contact-card:hover, .exp-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 10px rgba(92,174,173,0.25), 0 0 24px rgba(92,174,173,0.12);
}
.card:hover, .stat-card:hover, .proj-card:hover, .contact-card:hover {
  transform: translateY(-2px);
}

.card-title { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text); }
.card-sub { font-family: var(--mono); font-size: 12px; color: var(--hint); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-family: var(--mono); font-size: 11px; border: 0.5px solid var(--border); background: var(--bg); color: var(--hint); }
.badge.native { background: #EAF3DE; color: #3B6D11; border-color: #C0DD97; }
.badge.toeic   { background: #E6F1FB; color: #185FA5; border-color: #B5D4F4; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.skill-chip { display: flex; align-items: center; gap: 7px; padding: 7px 12px; background: var(--bg); border: 0.5px solid var(--border); border-radius: 8px; font-family: var(--mono); font-size: 12px; color: var(--text); transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.skill-chip:hover { background: #FAEEDA; border-color: var(--amber); color: var(--amber-dark); transform: translateY(-2px); }

/* ── Footer ── */
.footer { text-align: center; padding: 2rem; font-family: var(--mono); font-size: 12px; color: var(--faint); border-top: 0.5px solid var(--border); margin-top: 2rem; }

/* ── Modal ── */
.pw-err { font-family: var(--mono); font-size: 11px; color: #A32D2D; margin-bottom: 8px; display: none; }
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(44,44,42,0.35); z-index: 100; align-items: center; justify-content: center; }
.modal-bg.open { display: flex; }
.modal { background: var(--bg); border: 0.5px solid var(--border); border-radius: 14px; padding: 1.5rem; width: 300px; display: flex; flex-direction: column; gap: 10px; }
.modal-title { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text); }
.mlabel { font-family: var(--mono); font-size: 11px; color: var(--hint); }
.minput { width: 100%; background: #fff; border: 0.5px solid var(--border); border-radius: 8px; padding: 9px 12px; font-family: var(--mono); font-size: 12px; color: var(--text); outline: none; }
.minput:focus { border-color: var(--amber); }
.mrow { display: flex; gap: 8px; }
.mcancel { flex: 1; background: var(--bg2); border: 0.5px solid var(--border); border-radius: 8px; padding: 9px; font-family: var(--mono); font-size: 12px; color: var(--muted); cursor: pointer; }
.madd { flex: 1; background: var(--text); border: none; border-radius: 8px; padding: 9px; font-family: var(--mono); font-size: 12px; color: var(--bg); cursor: pointer; }
.madd:hover { background: #444441; }

/* ── Experience Page ── */
.page-title { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.page-sub { font-family: var(--mono); font-size: 12px; color: var(--hint); margin-bottom: 1.8rem; }
.sec-label { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.05em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sec-label::after { content: ''; flex: 1; height: 0.5px; background: var(--border); }
.exp-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 2rem; }
.exp-card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.exp-card:hover .exp-main { background: #FAFAF8; }
.exp-main { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 1rem; padding: 14px 16px; transition: background 0.15s; }
.exp-period { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; }
.exp-title { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.exp-sub { font-family: var(--mono); font-size: 11px; color: var(--hint); }
.exp-badges { display: flex; gap: 5px; align-items: center; }
.ebadge { font-family: var(--mono); font-size: 10px; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.ebadge.work    { background: #FAEEDA; color: #854F0B; }
.ebadge.club    { background: #E1F5EE; color: #0F6E56; }
.ebadge.project { background: #EEEDFE; color: #534AB7; }
.ebadge.current { background: #EAF3DE; color: #3B6D11; }
.chevron { font-size: 10px; color: var(--faint); transition: transform 0.2s; display: inline-block; margin-left: 6px; }
.exp-card.open .chevron { transform: rotate(90deg); }
.exp-detail { border-top: 0.5px solid #F1EFE8; padding: 14px 16px 16px; display: none; background: #FAFAF8; }
.exp-card.open .exp-detail { display: block; }
.dl { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 5px; }
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.bullet-list li { font-family: var(--mono); font-size: 12px; color: var(--text); padding-left: 14px; position: relative; line-height: 1.6; }
.bullet-list li::before { content: '$'; position: absolute; left: 0; color: var(--faint); font-size: 10px; top: 2px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.etag { font-family: var(--mono); font-size: 10px; padding: 2px 8px; border-radius: 6px; }
.etag.b { background: #E6F1FB; color: #185FA5; }
.etag.g { background: #EAF3DE; color: #3B6D11; }
.etag.a { background: #FAEEDA; color: #854F0B; }
.etag.p { background: #EEEDFE; color: #534AB7; }
.etag.gray { background: var(--bg3); color: var(--muted); }

/* ── Projects Page ── */
.yr-tabs { display: flex; margin-bottom: 1.2rem; }
.yr-tab { font-family: var(--mono); font-size: 12px; padding: 7px 18px; border: 0.5px solid var(--border); background: var(--bg2); color: var(--hint); cursor: pointer; transition: all 0.15s; }
.yr-tab:first-child { border-radius: 8px 0 0 8px; }
.yr-tab:last-child  { border-radius: 0 8px 8px 0; }
.yr-tab:not(:first-child) { border-left: none; }
.yr-tab.active { background: var(--text); color: var(--bg); border-color: var(--text); z-index: 1; }
.yr-tab:hover:not(.active) { background: var(--border); color: var(--text); }
.yr-count { font-size: 10px; margin-left: 5px; opacity: 0.6; }
.proj-body { display: grid; grid-template-columns: 260px 1fr; gap: 1.2rem; align-items: start; }
.proj-card { position: relative; background: #fff; border: 0.5px solid var(--border); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; margin-bottom: 6px; }
.proj-card.active { border-color: var(--text); }
.proj-card-title { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; }
.proj-arrow { font-size: 10px; color: var(--faint); transition: transform 0.15s; }
.proj-card.active .proj-arrow { transform: translateX(3px); color: var(--text); }
.proj-desc-short { font-family: var(--mono); font-size: 10px; color: var(--hint); line-height: 1.5; margin-bottom: 7px; }
.ptag { font-family: var(--mono); font-size: 9px; padding: 2px 6px; border-radius: 6px; background: var(--bg3); color: var(--muted); }
.ptag.b { background: #E6F1FB; color: #185FA5; }
.ptag.g { background: #EAF3DE; color: #3B6D11; }
.ptag.a { background: #FAEEDA; color: #854F0B; }
.ptag.p { background: #EEEDFE; color: #534AB7; }

/* ── Award Badge (project card) ── */
.award-badge {
  position: absolute;
  top: -9px;
  right: 10px;
  background: #F5C400;
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* ── Award Badge (detail panel) ── */
.detail-award {
  display: inline-block;
  background: #FAEEDA;
  color: #854F0B;
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.detail-panel { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 1.6rem; min-height: 400px; position: relative; }
.gallery-icon-btn { position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: none; font-size: 16px; cursor: pointer; opacity: 0.75; transition: opacity 0.15s; line-height: 1; }
.gallery-icon-btn:hover { opacity: 1; }
.detail-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 380px; gap: 12px; }
.detail-empty-icon { font-family: var(--mono); font-size: 32px; color: var(--border); }
.detail-empty-text { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.detail-yr    { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-bottom: 6px; }
.detail-title { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.detail-tags  { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 1.4rem; }
.divider { border: none; border-top: 0.5px solid #F1EFE8; margin: 1.2rem 0; }
.dv { font-family: var(--mono); font-size: 12px; color: var(--text); line-height: 1.7; margin-bottom: 1.2rem; }
.links-row { display: flex; gap: 10px; margin-top: 0.8rem; }
.det-link { font-family: var(--mono); font-size: 12px; padding: 7px 16px; border-radius: 8px; text-decoration: none; cursor: pointer; }
.det-link.gh   { background: var(--text); color: var(--bg); }
.det-link.demo { background: var(--bg2); border: 0.5px solid var(--border); color: var(--text); }
.det-link.gallery { background: var(--bg2); border: 0.5px solid var(--border); color: var(--text); }
.det-link:hover { opacity: 0.85; }

/* ── Typewriter Cursor ── */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
#typewriter::after {
  content: '▌';
  color: var(--amber);
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 1px;
}

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@keyframes stat-glow {
  0%   { border-color: var(--border); box-shadow: none; }
  35%  { border-color: var(--amber); box-shadow: 0 0 14px rgba(212,169,106,0.32); }
  100% { border-color: var(--border); box-shadow: none; }
}
.stat-card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 12px; padding: 1.2rem 1rem; text-align: center; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.stat-card.glowing { animation: stat-glow 1s ease-out forwards; }
.stat-icon { font-size: 22px; margin-bottom: 10px; }
.stat-number-wrap { display: flex; align-items: baseline; justify-content: center; gap: 1px; }
.stat-number { font-family: var(--mono); font-size: 2rem; font-weight: 500; color: var(--text); }
.stat-suffix { font-family: var(--mono); font-size: 1.3rem; font-weight: 500; color: var(--amber-dark); }
.stat-label { font-family: var(--mono); font-size: 11px; color: var(--hint); margin-top: 6px; }

/* ── Gallery Icon & Modal ── */

.gallery-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.82); z-index: 1000; align-items: center; justify-content: center; }
.gallery-modal.open { display: flex; }
.gallery-modal-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 90vw; }
.gallery-img { max-width: 80vw; max-height: 78vh; border-radius: 10px; object-fit: contain; display: block; }
.gallery-close { position: absolute; top: -36px; right: 0; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: 0.7; }
.gallery-close:hover { opacity: 1; }
.gallery-nav { background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 28px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); transition: background 0.15s; display: flex; align-items: center; justify-content: center; }
.gallery-nav:hover { background: rgba(255,255,255,0.3); }
.gallery-prev { left: -56px; }
.gallery-next { right: -56px; }
.gallery-footer { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gallery-counter { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.5); }
.gallery-dots { display: flex; gap: 6px; }
.gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.15s; }
.gallery-dot.active { background: #fff; }

/* ── Contact Section ── */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 12px; padding: 1.4rem; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.contact-icon { font-size: 20px; color: var(--muted); display: flex; align-items: center; }
.contact-label { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.contact-value { font-family: var(--mono); font-size: 13px; color: var(--text); word-break: break-all; }
