/* ======================================================
   TOKENS
====================================================== */
:root {
  --bg: #0f0d0b;
  --surface: #161310;
  --surface2: #1e1a15;
  --border: rgba(255, 220, 160, 0.08);
  --accent: #e8a45a;
  --accent2: #c9845a;
  --accent3: #d4a96a;
  --text: #f0e6d6;
  --muted: #8a7a68;
  --card: rgba(22, 18, 14, 0.8);
  --r: 16px;
  --nh: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nh);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 2px;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ======================================================
   CHECKBOX-POWERED MOBILE MENU  (zero JS)
====================================================== */
#nav-toggle {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(15, 13, 11, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #e8a45a, #c9845a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.42rem 1.05rem !important;
  border: 1px solid var(--accent) !important;
  border-radius: 6px;
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

/* hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--nh);
  left: 0;
  right: 0;
  background: rgba(15, 13, 11, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  z-index: 490;
  display: none;
  flex-direction: column;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent);
}

#nav-toggle:checked~.mobile-nav {
  display: flex;
}

#nav-toggle:checked~nav .ham span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#nav-toggle:checked~nav .ham span:nth-child(2) {
  opacity: 0;
  width: 0;
}

#nav-toggle:checked~nav .ham span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================================================
   HERO
====================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nh) + 4rem) 2rem 7rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 164, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 164, 90, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridShift 18s linear infinite;
}

.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(15, 13, 11, 0.65) 100%);
  pointer-events: none;
}

@keyframes gridShift {
  0% {
    background-position: 0 0
  }

  100% {
    background-position: 56px 56px
  }
}

.glow-a {
  position: absolute;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(232, 164, 90, 0.09) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.glow-b {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201, 132, 90, 0.07) 0%, transparent 65%);
  top: 10%;
  right: 5%;
  animation: breathe-b 9s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes breathe {

  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes breathe-b {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.9rem;
  border: 1px solid rgba(232, 164, 90, 0.32);
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  position: relative;
  animation: fadeUp 0.7s ease both;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  animation: blink 1.4s ease-in-out infinite;
}

.dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ping 1.4s ease-out infinite;
  opacity: 0;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6
  }

  100% {
    transform: scale(2.2);
    opacity: 0
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.15
  }
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-name .plain {
  display: block;
  color: var(--text);
}

.hero-name .grad {
  display: block;
  background: linear-gradient(125deg, #e8a45a 0%, #d4a96a 45%, #c9845a 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-role {
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  color: var(--muted);
  margin: 1rem 0 1.4rem;
  letter-spacing: 0.06em;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-role .sep {
  margin: 0 0.6rem;
  opacity: 0.35;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 510px;
  margin: 0 auto 2.6rem;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.4s both;
}

.btn-p {
  padding: 0.85rem 2.1rem;
  background: linear-gradient(135deg, #e8a45a, #c9845a);
  color: #0f0d0b;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 28px rgba(232, 164, 90, 0.2);
}

.btn-p:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(232, 164, 90, 0.36);
}

.btn-o {
  padding: 0.85rem 2.1rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn-o:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-3px);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.scroll-cue span {
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.scroll-bar {
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: grow 2s ease-in-out infinite;
}

@keyframes grow {
  0% {
    height: 0;
    opacity: 1
  }

  60% {
    height: 44px;
    opacity: 1
  }

  100% {
    height: 44px;
    opacity: 0
  }
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   SECTION SHARED
====================================================== */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.63rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.sec-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.sec-title em {
  font-style: normal;
  background: linear-gradient(125deg, #e8a45a, #c9845a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======================================================
   ABOUT
====================================================== */
#about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-weight: 300;
}

.about-text p strong {
  color: var(--text);
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.chip {
  padding: 0.33rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.profile-pic-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(232, 164, 90, 0.4);
  box-shadow: 0 0 30px rgba(232, 164, 90, 0.15), 0 0 60px rgba(232, 164, 90, 0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(232, 164, 90, 0.3), 0 0 80px rgba(232, 164, 90, 0.1);
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s;
}

.stat-box:hover {
  border-color: rgba(232, 164, 90, 0.35);
  transform: translateY(-4px);
}

.stat-n {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(120deg, #e8a45a, #c9845a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-l {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ======================================================
   SKILLS
====================================================== */
#skills {
  background: var(--bg);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.1rem;
  margin-top: 3rem;
}

.sk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.sk-card:hover {
  border-color: rgba(201, 132, 90, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45), 0 -1px 0 0 rgba(232, 164, 90, 0.3);
}

.sk-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.sk-ico {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(232, 164, 90, 0.12), rgba(201, 132, 90, 0.1));
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sk-cat {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.pill {
  padding: 0.23rem 0.62rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.68rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.pill:hover {
  color: var(--text);
  border-color: var(--accent2);
}

/* ======================================================
   PROJECTS
====================================================== */
#projects {
  background: var(--surface);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}

.pc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.pc:hover {
  border-color: rgba(232, 164, 90, 0.32);
  transform: translateY(-7px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.5), 0 0 28px rgba(232, 164, 90, 0.08);
}

.pc.feat {
  grid-column: span 2;
  flex-direction: row;
}

.pthumb {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pc:hover .pthumb-img {
  opacity: 0.65 !important;
  transform: scale(1.06);
}

.pc.feat .pthumb {
  width: 44%;
  min-height: unset;
}




.pbody {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ptags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.75rem;
}

.pt {
  padding: 0.16rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.t-ai {
  background: rgba(232, 164, 90, 0.08);
  color: #e8a45a;
  border: 1px solid rgba(232, 164, 90, 0.22);
}

.t-ml {
  background: rgba(201, 132, 90, 0.08);
  color: #c9845a;
  border: 1px solid rgba(201, 132, 90, 0.22);
}

.t-dl {
  background: rgba(212, 140, 90, 0.08);
  color: #d4a96a;
  border: 1px solid rgba(212, 140, 90, 0.22);
}

.t-web {
  background: rgba(180, 155, 110, 0.08);
  color: #c8b49a;
  border: 1px solid rgba(180, 155, 110, 0.22);
}

.t-nlp {
  background: rgba(212, 160, 90, 0.08);
  color: #d4b07a;
  border: 1px solid rgba(212, 160, 90, 0.22);
}

.t-rag {
  background: rgba(180, 155, 110, 0.08);
  color: #b8a898;
  border: 1px solid rgba(180, 155, 110, 0.22);
}

.t-eng {
  background: rgba(140, 160, 180, 0.08);
  color: #8aa0b4;
  border: 1px solid rgba(140, 160, 180, 0.22);
}

.ptitle {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.pdesc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  flex: 1;
  font-weight: 300;
}

.pfoot {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}

.plink {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.36rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}

.plink:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.plink svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.proj-cta {
  text-align: center;
  margin-top: 2.4rem;
}

/* ======================================================
   CONTACT
====================================================== */
#contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-blurb {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

.clist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ci {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s, transform 0.25s;
}

.ci:hover {
  border-color: rgba(232, 164, 90, 0.35);
  transform: translateX(5px);
}

.cico {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(232, 164, 90, 0.12), rgba(201, 132, 90, 0.08));
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.clbl {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cval {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

/* form */
.cform {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  backdrop-filter: blur(10px);
}

.fg {
  margin-bottom: 1rem;
}

.fg label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.42rem;
}

.fg input,
.fg textarea {
  width: 100%;
  background: rgba(255, 220, 160, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.72rem 0.92rem;
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 300;
  outline: none;
  resize: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.fg textarea {
  height: 105px;
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 164, 90, 0.07);
}

.fsub {
  width: 100%;
  padding: 0.88rem;
  background: linear-gradient(135deg, #e8a45a, #c9845a);
  color: #0f0d0b;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.fsub:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(232, 164, 90, 0.28);
}

.fsub:active {
  transform: translateY(0);
}

/* ======================================================
   FOOTER
====================================================== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 2.5rem;
  position: relative;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.footer-about .footer-logo {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(120deg, #e8a45a, #c9845a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links ul,
.footer-socials ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a,
.footer-socials a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-credit {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}

.footer-credit strong {
  color: var(--accent2);
  font-weight: 500;
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 500px) {
  footer {
    padding-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ======================================================
   GITHUB SVG helper
====================================================== */
.gh {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 960px) {
  .proj-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pc.feat {
    grid-column: span 2;
    flex-direction: column;
  }

  .pc.feat .pthumb {
    width: 100%;
    min-height: 170px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 680px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .ham {
    display: flex;
  }

  section {
    padding: 4rem 1.25rem;
  }

  .proj-grid {
    grid-template-columns: 1fr;
  }

  .pc.feat {
    grid-column: span 1;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .fnav {
    justify-content: center;
  }
}