:root {
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-deep: #ffffff;
  --text: #101317;
  --text-soft: #55606d;
  --muted: #7b8794;
  --line: rgba(16, 19, 23, 0.08);
  --line-strong: rgba(16, 19, 23, 0.16);
  --chip: rgba(16, 19, 23, 0.04);
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 26px 90px rgba(15, 23, 42, 0.12);
  --max-width: 1180px;
  --grid-line: rgba(16, 19, 23, 0.07);
  --accent: #7568ff;
  --accent-2: #00d1ff;
  --accent-3: #ff5ec7;
}

body.dark {
  --bg: #040404;
  --surface: rgba(10, 10, 12, 0.72);
  --surface-strong: rgba(13, 13, 16, 0.92);
  --surface-deep: #0a0a0d;
  --text: #f4f7fb;
  --text-soft: #a6b0bd;
  --muted: #7f8792;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --chip: rgba(255, 255, 255, 0.04);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 26px 90px rgba(0, 0, 0, 0.5);
  --grid-line: rgba(255, 255, 255, 0.055);
  --accent: #8b7cff;
  --accent-2: #00d5ff;
  --accent-3: #ff5ed0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.28s ease, color 0.28s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* background */
.grid-wrapper {
  min-height: 100%;
  width: 100%;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
}

.grid-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 0%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 0%, #000 58%, transparent 100%);
  opacity: 0.95;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.75) 0.5px, transparent 0.8px),
    radial-gradient(circle at 80% 35%, rgba(255,255,255,0.45) 0.5px, transparent 0.8px),
    radial-gradient(circle at 60% 78%, rgba(255,255,255,0.4) 0.5px, transparent 0.8px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
}

.glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.3;
}

.glow-1 {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -50px;
  background: radial-gradient(circle, rgba(0, 213, 255, 0.22), transparent 65%);
}

.glow-2 {
  width: 420px;
  height: 420px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.2), transparent 68%);
}

.glow-3 {
  width: 320px;
  height: 320px;
  top: 36%;
  right: 18%;
  background: radial-gradient(circle, rgba(255, 94, 208, 0.08), transparent 68%);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Source Serif 4", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.theme-toggle-pro {
  position: relative;
  width: 124px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.theme-toggle-pro__track {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 6px);
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: transform 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 213, 255, 0.18);
}

.theme-toggle-pro[data-theme="dark"] .theme-toggle-pro__track {
  transform: translateX(56px);
}

.theme-toggle-pro__label {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto 5px;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

/* sections */
.section {
  padding: 84px 0;
}

.hero {
  padding-top: 92px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 30px;
  align-items: start;
}

.eyebrow,
.section-kicker,
.card-label,
.read-card__label,
.project-label,
.blog-type {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 800;
}

h1,
.section-title,
.project-card h3,
.blog-card h3,
.log-card h3 {
  letter-spacing: -0.035em;
}

h1,
.section-title {
  font-family: "Source Serif 4", serif;
}

.hero-title-wrap {
  position: relative;
  margin-bottom: 16px;
}

.hero-mini-line {
  margin: 0 0 14px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.15rem);
  line-height: 0.94;
  max-width: 900px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.role {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 700;
}

.about-text {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: linear-gradient(135deg, var(--text), color-mix(in srgb, var(--text) 78%, var(--accent)));
  color: var(--bg);
  border-color: transparent;
  box-shadow: var(--shadow-strong);
}

.btn-light {
  background: var(--surface-strong);
  color: var(--text);
}

.hero-metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card,
.info-card,
.read-card,
.project-card,
.contact-shell,
.blog-card,
.log-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.metric-card {
  border-radius: 18px;
  padding: 16px;
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 800;
}

.metric-card strong {
  font-size: 0.98rem;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.info-card,
.read-card {
  padding: 22px;
  border-radius: 24px;
}

.stack-card {
  position: relative;
  overflow: hidden;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 213, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.stack-card__top {
  margin-bottom: 14px;
}

.stack-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.stack-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-soft) 60%, transparent);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-grid-advanced {
  gap: 12px;
}

.stack-chip {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    radial-gradient(circle at var(--x) var(--y), rgba(0, 213, 255, 0.22), transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--chip) 92%, transparent), var(--chip));
  color: var(--text-soft);
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.16s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
  will-change: transform;
}

.stack-chip i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.34) 50%, transparent 80%);
  transform: translateX(-140%);
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.stack-chip:hover i {
  opacity: 1;
  transform: translateX(140%);
}

.stack-chip:hover {
  color: var(--text);
  border-color: rgba(45, 140, 240, 0.55);
  box-shadow:
    0 0 0 1px rgba(45,140,240,0.15),
    0 0 22px rgba(45,140,240,0.18),
    0 10px 32px rgba(0,0,0,0.18);
}

body.dark .stack-chip:hover {
  box-shadow:
    0 0 0 1px rgba(45,140,240,0.2),
    0 0 28px rgba(45,140,240,0.25),
    0 0 60px rgba(45,140,240,0.12);
}

.stack-chip span {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.stack-preview {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  min-height: 120px;
  transform: translateY(8px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.stack-preview.active {
  transform: translateY(0);
  border-color: rgba(45, 140, 240, 0.4);
  box-shadow: 0 0 30px rgba(45,140,240,0.12);
}

.stack-preview__kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 800;
}

.stack-preview h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.stack-preview p {
  margin: 0;
  color: var(--text-soft);
}

.notes-orbit {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.notes-orbit__ring,
.notes-orbit__ring--inner {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  border-radius: 50%;
}

.notes-orbit__ring {
  width: 160px;
  height: 160px;
  animation: spinSlow 16s linear infinite;
}

.notes-orbit__ring--inner {
  width: 110px;
  height: 110px;
  animation: spinSlowReverse 10s linear infinite;
}

.notes-orbit__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(0, 213, 255, 0.4);
}

.notes-orbit__dot--1 {
  top: 26px;
  right: 84px;
}

.notes-orbit__dot--2 {
  bottom: 34px;
  left: 90px;
}

.notes-orbit__content {
  position: relative;
  z-index: 1;
  max-width: 250px;
  text-align: center;
}

.notes-orbit__content p {
  margin: 0;
  color: var(--text-soft);
}

.signal-strip {
  display: flex;
  gap: 16px;
  overflow: auto;
  white-space: nowrap;
  padding: 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  scrollbar-width: none;
}

.signal-strip::-webkit-scrollbar {
  display: none;
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-head {
  margin-bottom: 26px;
  display: grid;
  gap: 20px;
}

.section-head-wide {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
}

.section-side-text {
  max-width: 430px;
  color: var(--text-soft);
  margin: 0;
  font-size: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  display: block;
  padding: 24px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-card-premium .project-card__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(109, 93, 252, 0.16), transparent 35%),
    radial-gradient(circle at bottom left, rgba(0, 194, 255, 0.12), transparent 35%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-strong);
}

.project-card:hover .project-card__glow {
  opacity: 1;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.project-index {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.project-card h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.05;
}

.project-card p {
  margin: 0;
  color: var(--text-soft);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
}

.project-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-mini-tags span,
.log-card__meta span {
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--chip);
  border-radius: 999px;
  padding: 7px 10px;
}

.project-arrow {
  font-size: 1.2rem;
  color: var(--text);
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.project-card:hover .project-arrow {
  transform: translateX(4px);
}

.log-card {
  padding: 28px;
  border-radius: 24px;
}

.log-card__meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.log-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.log-card p {
  margin: 0;
  color: var(--text-soft);
  max-width: 760px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  padding: 24px;
  border-radius: 22px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.blog-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.16;
}

.blog-card--1::after { background: #3b82f6; }
.blog-card--2::after { background: #8b5cf6; }
.blog-card--3::after { background: #06b6d4; }

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-strong);
}

.blog-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.06;
}

.blog-card p {
  margin: 0;
  color: var(--text-soft);
}

.contact-shell {
  padding: 30px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.contact-text {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-weight: 700;
}

.example-2 {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.example-2 .icon-content {
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 2;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -42px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--text);
  background-color: var(--surface-strong);
  border: 1px solid var(--line);
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow);
}

.example-2 .icon-content a:hover {
  color: white;
  transform: translateY(-2px);
}

.example-2 .icon-content a svg,
.example-2 .icon-content a .icon-text {
  position: relative;
  z-index: 1;
}

.icon-text {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.example-2 .icon-content a .filled {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}

.example-2 .icon-content a[data-social="scholar"] .filled,
.example-2 .icon-content a[data-social="scholar"] ~ .tooltip {
  background-color: #2563eb;
}

.example-2 .icon-content a[data-social="researchgate"] .filled,
.example-2 .icon-content a[data-social="researchgate"] ~ .tooltip {
  background-color: #00ccbb;
}

.example-2 .icon-content a[data-social="email"] .filled,
.example-2 .icon-content a[data-social="email"] ~ .tooltip {
  background-color: #111111;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@media (max-width: 1080px) {
  .hero-layout,
  .contact-shell,
  .blog-grid,
  .project-grid,
  .hero-metrics,
  .section-head-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 60px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
    line-height: 0.98;
  }

  .section {
    padding: 70px 0;
  }

  .project-grid,
  .blog-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .theme-toggle-pro {
    width: 112px;
    height: 42px;
    padding: 0 12px;
  }

  .theme-toggle-pro__track {
    height: 34px;
  }

  .theme-toggle-pro[data-theme="dark"] .theme-toggle-pro__track {
    transform: translateX(50px);
  }
}

.log-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.research-log-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.log-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  .research-log-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
#projectLinks a {
  color: inherit;
  text-decoration: none;
}

#projectLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#projectLinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

#projectLinks a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  color: var(--text);
}

.log-card h3 {
  margin-bottom: 12px;
}

.log-card .about-text {
  line-height: 1.8;
}

.log-card > div h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

#projectTitle {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.98;
  margin-bottom: 12px;
}

#projectSummary {
  max-width: 860px;
}

#projectTags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}