/* ── THEME TOKENS ── */
:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --card: #141414;
  --border: rgba(255,255,255,0.07);
  --white: #f0ede8;
  --mid: rgba(240,237,232,0.5);
  --muted: rgba(240,237,232,0.28);
  --gold: #c9a96e;
  --gold-dim: rgba(201,169,110,0.12);
  --gold-border: rgba(201,169,110,0.2);
  --radius: 14px;
  --transition-theme: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

[data-theme="light"] {
  --bg: #f5f2eb;
  --surface: #f1eee8;
  --card: #eceae3;
  --border: rgba(0,0,0,0.08);
  --white: #1a1814;
  --mid: rgba(26,24,20,0.6);
  --muted: rgba(26,24,20,0.38);
  --gold: #9a7040;
  --gold-dim: rgba(154,112,64,0.08);
  --gold-border: rgba(154,112,64,0.2);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
section, div, img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* ── GPU HINTS ── */
.hero-parallax-bg, .hero-photo-wrap, .hero-content, .hero-ring {
  will-change: transform;
  transform: translateZ(0);
}
.reveal { will-change: opacity, transform; }
.sb-fill { will-change: width; }

body {
  background: var(--bg);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  color: var(--white);
  transition: var(--transition-theme);
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9997;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── CUSTOM CURSOR ── */
* { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 2L4 18L8.5 13.5L12 22L14.5 21L11 12.5L18 12.5Z' fill='%23c9a96e' stroke='%23080808' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important; }
a, button, .proj-card, .sc-card, .tech-item, .exp-card { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24'%3E%3Cpath d='M4 2L4 18L8.5 13.5L12 22L14.5 21L11 12.5L18 12.5Z' fill='%23c9a96e' stroke='%23080808' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important; }

/* ── CURSOR RINGS ── */
/* #cur {
  position: fixed; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
}
#cur-r {
  position: fixed; width: 30px; height: 30px;
  border: 1px solid rgba(201,169,110,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s;
}
body.c-big #cur { width: 10px; height: 10px; }
body.c-big #cur-r { width: 48px; height: 48px; border-color: rgba(201,169,110,0.25); } */

/* ── LOADER — max 1.1s ── */
#loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.ld-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 12vw, 8rem);
  letter-spacing: 0.06em;
  color: var(--white); overflow: hidden; line-height: 1;
}
.ld-name span { display: inline-block; transform: translateY(100%); animation: slideUp .65s cubic-bezier(.16,1,.3,1) .1s forwards; }
.ld-line {
  width: 0; height: 1px; background: var(--gold);
  animation: expandLine .6s ease .6s forwards;
}
.ld-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); opacity: 0;
  animation: fadeIn .4s ease 0.9s forwards;
}
@keyframes slideUp { to { transform: translateY(0); } }
@keyframes expandLine { to { width: 220px; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 3rem;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
}
nav.scrolled {
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] nav.scrolled {
  background: rgba(245,242,235,0.88);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; letter-spacing: .14em;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links > a:not(.nav-cta) {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
  transition: color .25s;
}
.nav-links > a:not(.nav-cta):hover { color: var(--white); }
.nav-cta {
  background: var(--gold) !important; color: #080808 !important;
  padding: .5rem 1.4rem; border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700 !important; text-decoration: none;
  transition: opacity .25s, transform .25s !important;
}
.nav-cta:hover { opacity: .82 !important; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.theme-toggle:hover { border-color: var(--gold-border); }
.theme-icon {
  position: absolute; display: flex; align-items: center; justify-content: center;
  color: var(--mid);
  transition: opacity .3s, transform .3s;
}
.theme-icon--moon { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon--sun  { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme-icon--moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="light"] .theme-icon--sun  { opacity: 1; transform: rotate(0deg) scale(1); }

/* ── HERO ── */
#hero {
  min-height: 100svh;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}

.hero-parallax-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  will-change: transform;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 60% 40%, rgba(201,169,110,0.055) 0%, transparent 65%),
              #080808;
}
[data-theme="light"] .hero-bg-gradient {
  background: radial-gradient(ellipse 70% 70% at 60% 40%, rgba(154,112,64,0.06) 0%, transparent 65%),
              #f5f2eb;
}

/* Orbs — reduced significantly */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.orb-1 {
  width: 420px; height: 420px;
  background: rgba(201,169,110,0.04);
  top: -80px; right: 12%;
}
.orb-2 {
  width: 240px; height: 240px;
  background: rgba(201,169,110,0.025);
  bottom: 22%; left: 6%;
}

/* Grid — reduced */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

.hero-photo-wrap {
  position: absolute; right: 8%; bottom: 2px;
  width: clamp(320px, 36vw, 540px); height: 100%;
  will-change: transform; z-index: 2;
}
.hero-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center top;
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%),
              linear-gradient(to left, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%),
              linear-gradient(to left, black 55%, transparent 100%);
  mix-blend-mode: screen;
  filter: contrast(1.08) brightness(0.58) grayscale(0.25);
  opacity: 0.7;
}
[data-theme="light"] .hero-photo-wrap img {
  mix-blend-mode: multiply;
  filter: contrast(1.05) brightness(0.75) grayscale(0.3);
}

/* Ring — minimal */
.hero-ring {
  position: absolute; right: 6%; bottom: 8%;
  width: clamp(340px, 40vw, 600px); height: clamp(340px, 40vw, 600px);
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.07);
  will-change: transform; z-index: 1;
}
.hero-ring::before {
  content: '';
  position: absolute; inset: 22px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.04);
}

/* Text layer */
.hero-content {
  position: relative; z-index: 3;
  padding: 0 4rem 5rem;
  width: 58%;
  will-change: transform;
}

/* TCS badge */
.tcs-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}

.hero-eyebrow {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1.6rem;
  opacity: 0; animation: fadeIn .6s ease 1.8s forwards;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.9; letter-spacing: 0.02em;
  color: var(--white); overflow: hidden;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span { display: block; transform: translateY(110%); }
.hero-title-line:nth-child(1) span { animation: slideUp .85s cubic-bezier(.16,1,.3,1) 1.6s forwards; }
.hero-title-line:nth-child(2) span {
  animation: slideUp .85s cubic-bezier(.16,1,.3,1) 1.72s forwards;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240,237,232,0.4);
}
[data-theme="light"] .hero-title-line:nth-child(2) span {
  -webkit-text-stroke: 1px rgba(26,24,20,0.35);
}

.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mid); margin-top: 1.4rem;
  opacity: 0; animation: fadeIn .6s ease 2.1s forwards;
}
.hero-desc {
  font-size: .88rem; color: var(--mid); max-width: 310px; line-height: 1.85;
  margin-top: .9rem;
  opacity: 0; animation: fadeIn .7s ease 2.2s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; align-items: center; margin-top: 2.4rem;
  opacity: 0; animation: fadeIn .7s ease 2.4s forwards;
}

/* Buttons */
.btn-gold {
  background: var(--gold); color: #080808;
  padding: .75rem 2rem; border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; font-weight: 700;
  transition: opacity .25s, transform .25s;
}
.btn-gold:hover { opacity: .85; transform: translateY(-1px); }
.btn-ghost {
  color: var(--mid); border: 1px solid var(--border);
  padding: .75rem 1.8rem; border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; transition: all .25s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.18); }

/* Stats row */
.hero-stats {
  position: absolute; bottom: 3rem; right: 3rem; z-index: 3;
  display: flex; gap: 2.5rem;
  opacity: 0; animation: fadeIn .7s ease 2.6s forwards;
}
.stat { text-align: right; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: var(--white); line-height: 1;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .48rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-top: .2rem;
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: .9rem 0; background: var(--surface);
}
.marquee-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); padding: 0 2.5rem;
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
}
.marquee-dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.sec {
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
}
.sec--surface { background: var(--surface); }
.sec--dark { background: var(--bg); }

.sec-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1rem;
}
.sec-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.94; letter-spacing: .01em;
  color: var(--white);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ── ABOUT ── */
#about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.about-body {
  font-size: .92rem; line-height: 1.9; color: var(--mid);
  margin-top: 1.4rem;
}
.about-body strong { color: var(--white); font-weight: 600; }
.about-highlights { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1px; }
.ah-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.ah-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .56rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.ah-val { font-size: .85rem; font-weight: 600; color: var(--white); }
.ah-val--accent { color: var(--gold); }

.about-right { padding-top: 2rem; }
.exp-cards { display: flex; flex-direction: column; gap: 16px; }
.exp-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: border-color .3s, background .3s;
}
.exp-card--active { border-color: var(--gold-border); background: var(--gold-dim); }
.exp-card:hover { border-color: var(--gold-border); background: var(--gold-dim); }
.exp-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .45rem; letter-spacing: .14em; text-transform: uppercase;
  color: #080808; background: var(--gold);
  padding: .18rem .6rem; border-radius: 100px;
  font-weight: 700; vertical-align: middle; margin-left: .5rem;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
.exp-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .7rem; flex-wrap: wrap; gap: .5rem; }
.exp-role { font-size: .85rem; font-weight: 700; color: var(--white); }
.exp-period {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; letter-spacing: .14em; color: var(--gold);
}
.exp-company { font-size: .72rem; color: var(--mid); margin-bottom: .55rem; }
.exp-desc { font-size: .76rem; color: var(--muted); line-height: 1.72; }

/* ── PROJECTS ── */
.proj-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
}

.proj-card {
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: background .35s;
}
.proj-card:hover { background: var(--card); }
.proj-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201,169,110,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.proj-card:hover::before { opacity: 1; }

.proj-card-inner { padding: 2.5rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; }

/* Featured card — full width */
.proj-card--featured { grid-column: span 2; }

.proj-meta { display: flex; align-items: center; gap: .8rem; }
.proj-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .5rem; letter-spacing: .2em; color: var(--gold);
}
.proj-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: .42rem; letter-spacing: .14em; text-transform: uppercase;
  color: #080808; background: var(--gold);
  padding: .15rem .55rem; border-radius: 100px;
}
.proj-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: .04em;
  color: var(--white); line-height: 1;
}
.proj-card--featured .proj-title { font-size: 2.6rem; }
.proj-desc { font-size: .78rem; color: var(--mid); line-height: 1.75; max-width: 460px; }

/* Case study micro-blocks */
.case-study { margin-top: .5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.cs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.case-study--compact .cs-row { grid-template-columns: 1fr; }
.cs-block { display: flex; flex-direction: column; gap: .35rem; }
.cs-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .84rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.cs-text { font-size: .74rem; color: var(--muted); line-height: 1.65; }

.proj-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.proj-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.proj-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .46rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: .28rem .7rem; border-radius: 100px;
  transition: border-color .3s, color .3s;
}
.proj-card:hover .proj-tag { border-color: var(--gold-border); color: var(--gold); }
.proj-arrow {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--mid); font-size: .95rem; text-decoration: none;
  transition: all .3s;
}
.proj-card:hover .proj-arrow { background: var(--gold); color: #080808; border-color: var(--gold); transform: rotate(45deg); }

/* ── SKILLS ── */
.skills-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; margin-top: 3.5rem;
}
.skill-bars { display: flex; flex-direction: column; gap: 2rem; }
.sb-top { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.sb-name { font-size: .72rem; font-weight: 600; color: var(--white); }
.sb-pct { font-family: 'JetBrains Mono', monospace; font-size: .58rem; color: var(--gold); }
.sb-track { height: 1px; background: var(--border); position: relative; }
.sb-fill {
  position: absolute; top: -1px; left: 0;
  height: 3px; background: linear-gradient(to right, var(--gold), rgba(201,169,110,0.35));
  width: 0; transition: width 1.1s cubic-bezier(.16,1,.3,1); border-radius: 2px;
}
.sb-fill.on { width: var(--w); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.tech-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.5rem;
  font-size: .68rem; font-weight: 600; color: var(--mid);
  text-align: center; transition: all .3s;
}
.tech-item--primary { border-color: var(--gold-border); color: var(--white); background: var(--gold-dim); }
.tech-item:hover { border-color: var(--gold-border); color: var(--white); background: var(--gold-dim); }

/* ── DESIGN SHOWCASE — signature experience ── */
/* ───────────────── SHOWCASE ───────────────── */

#showcase {
position: relative;
}

.showcase-intro {
max-width: 620px;
font-size: .92rem;
line-height: 1.8;
color: var(--muted);
margin-top: 1rem;
margin-bottom: 0;
}

/* Minimal vertical layout */

.design-list {
margin-top: 3rem;
display: flex;
flex-direction: column;
gap: 1rem;
}

/* Compact premium cards */

.design-item {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;

padding: 1.4rem 1.5rem;

text-decoration: none;

border: 1px solid rgba(255,255,255,0.06);

border-radius: 18px;

background:
linear-gradient(
180deg,
rgba(255,255,255,0.025),
rgba(255,255,255,0.015)
);

backdrop-filter: blur(10px);

transition:
transform .35s cubic-bezier(.16,1,.3,1),
border-color .35s ease,
background .35s ease;
}

/* subtle hover */

.design-item:hover {
transform: translateY(-3px);

border-color: rgba(201,169,110,0.28);

background:
linear-gradient(
180deg,
rgba(255,255,255,0.04),
rgba(255,255,255,0.02)
);
}

.design-left {
display: flex;
flex-direction: column;
gap: .35rem;
}

.design-name {
font-size: 1rem;
font-weight: 700;
color: var(--white);
letter-spacing: -0.02em;
}

.design-meta {
font-size: .72rem;

font-family: 'JetBrains Mono', monospace;

letter-spacing: .08em;
text-transform: uppercase;

color: rgba(240,237,232,0.42);
}

.design-arrow {
font-size: 1rem;

color: rgba(240,237,232,0.35);

transition:
transform .3s ease,
color .3s ease;
}

.design-item:hover .design-arrow {
transform: translate(4px, -4px);
color: var(--gold);
}

/* subtle separator rhythm */

.design-item::after {
content: '';
position: absolute;

inset: 0;

border-radius: inherit;

pointer-events: none;

background:
radial-gradient(
circle at top left,
rgba(201,169,110,0.05),
transparent 45%
);

opacity: 0;

transition: opacity .35s ease;
}

.design-item:hover::after {
opacity: 1;
}

/* ───────────── MOBILE ───────────── */

@media (max-width: 768px) {

.design-item {
padding: 1.1rem 1rem;
align-items: flex-start;
}

.design-name {
font-size: .92rem;
}

.design-meta {
font-size: .62rem;
line-height: 1.6;
}

.design-arrow {
margin-left: 1rem;
margin-top: .2rem;
}

.showcase-intro {
font-size: .82rem;
line-height: 1.7;
}
}

/* ── CONTACT ── */
#contact {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  background: var(--surface);
}
.contact-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 6rem 4rem; width: 100%;
  position: relative; overflow: hidden;
}
.contact-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.contact-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: .7rem;
  justify-content: center; margin-bottom: 1.8rem;
  position: relative; z-index: 1;
}
.contact-eyebrow::before, .contact-eyebrow::after { content: ''; width: 24px; height: 1px; background: var(--gold); }
.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9; letter-spacing: .02em;
  color: var(--white); position: relative; z-index: 1;
}
.contact-title .outline {
  color: transparent; -webkit-text-stroke: 1px rgba(240,237,232,0.28);
}
[data-theme="light"] .contact-title .outline {
  -webkit-text-stroke: 1px rgba(26,24,20,0.28);
}
.contact-sub {
  font-size: .86rem; color: var(--mid); max-width: 420px; line-height: 1.85;
  margin: 1.8rem auto 2.5rem; position: relative; z-index: 1;
}
.contact-email {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 600;
  color: var(--gold); text-decoration: none; letter-spacing: .04em;
  position: relative; z-index: 1;
  border-bottom: 1px solid rgba(201,169,110,0.25); padding-bottom: .25rem;
  transition: border-color .3s;
}
.contact-email:hover { border-color: var(--gold); }
.contact-links {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 2.5rem; position: relative; z-index: 1; align-items: center;
}
.contact-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .25s;
}
.contact-link:hover { color: var(--gold); }
.contact-sep { color: var(--border); font-size: .8rem; }

/* ── FOOTER ── */
footer {
  padding: 2rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); background: var(--bg);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .95rem; letter-spacing: .12em; color: var(--muted);
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: .48rem; letter-spacing: .14em; color: var(--muted);
}
.footer-top {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
  border: 1px solid var(--border); padding: .45rem .9rem; border-radius: 100px;
  transition: all .25s;
}
.footer-top:hover { color: var(--gold); border-color: var(--gold-border); }


/* ───────────────── HAMBURGER ───────────────── */

nav {
  position: fixed;
  z-index: 1000;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;

  background: rgba(255,255,255,0.02);

  backdrop-filter: blur(10px);

  padding: 0;

  z-index: 600;

  transition:
    background .3s ease,
    border-color .3s ease;
}

.nav-hamburger:hover {
  border-color: rgba(201,169,110,0.25);
}

.nav-hamburger span {
  display: block;

  width: 18px;
  height: 1.5px;

  margin: 0 auto;

  background: var(--white);

  border-radius: 10px;

  transition:
    transform .35s cubic-bezier(.16,1,.3,1),
    opacity .25s ease,
    background .3s ease;
}

/* OPEN STATE */

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(24px); z-index: 900;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.2rem; opacity: 0; pointer-events: none; transition: opacity .35s;
}
[data-theme="light"] .mobile-menu { background: rgba(245,242,235,0.97); }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 8vw, 3rem); letter-spacing: .08em;
  color: var(--white); text-decoration: none; transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--gold) !important; color: #080808 !important;
  padding: .7rem 2rem; border-radius: 99px; margin-top: .5rem;
}


.mobile-menu a {
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity .5s ease,
    transform .5s cubic-bezier(.16,1,.3,1),
    color .2s ease;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .12s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .16s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .20s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .24s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .28s; }
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .sec { padding: 4rem 1.5rem; }
  #about { grid-template-columns: 1fr; gap: 2.5rem; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card--featured { grid-column: span 1; }
  .cs-row { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-scroll { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .sc-card { aspect-ratio: 3/4; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  nav { padding: 1.1rem 1.5rem; }
  .nav-links > a:not(.nav-cta):not(.theme-toggle) { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  #hero {
    min-height: 100dvh; display: flex;
    flex-direction: column; align-items: flex-start; justify-content: flex-end;
  }
  .hero-content { width: 100%; position: relative; z-index: 5; padding: 0 1.5rem 5rem; }
  .hero-parallax-bg { position: absolute; inset: 0; transform: none !important; }
  .hero-photo-wrap {
    position: absolute; inset: 0 0 0 auto;
    height: 100%; right: 0; opacity: 0.22;
    pointer-events: none; transform: none !important;
  }
   .hero-photo-wrap img {
    width: 100%; height: 100%; max-width: 100%;
    object-fit: cover; object-position: top center; opacity: 1;
    filter: contrast(1.02) brightness(0.55);
    mask-image: linear-gradient(to left, black 20%, transparent 75%),
                linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 20%, transparent 75%),
                linear-gradient(to bottom, black 60%, transparent 100%);
  }
  .hero-title { font-size: clamp(3.2rem, 16vw, 5rem); line-height: 0.9; }
  .hero-desc { max-width: 90%; font-size: 0.82rem; }
  .hero-actions { width: 100%; flex-wrap: wrap; gap: .8rem; }
  .hero-ring { display: none; }
  .hero-stats { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 15vw, 4rem); }
  .hero-content { padding: 0 1.2rem 2.5rem; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-scroll { grid-template-columns: 1fr 1fr; }
  .contact-inner { padding: 4rem 1.5rem; }
}
@media(max-width: 768px){
  .hero-photo-wrap{
    transform: scale(0.92);
  }
}

@media (hover: none) {
  * { cursor: auto !important; }
  #cur, #cur-r { display: none !important; }
}