﻿/* ============================================================
   VARIABLES
============================================================ */
:root {
  --ink:      #0d0d0d;
  --ink-soft: #555;
  --ink-dim:  #999;
  --bg:       #fafaf8;
  --bg-alt:   #f2f1ee;
  --card:     #ffffff;
  --line:     #e5e4e0;
  --accent:   #c8a96e;       /* warm gold — feels editorial */
  --accent2:  #2d2d2d;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
body.dark {
  --ink:      #f0ede8;
  --ink-soft: #aaa;
  --ink-dim:  #666;
  --bg:       #111110;
  --bg-alt:   #1a1a18;
  --card:     #1a1a18;
  --line:     #2a2a28;
  --accent2:  #e8e4dc;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ============================================================
   CONTAINER
============================================================ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: all .3s var(--ease);
}
#navbar.stuck {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 48px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.3px;
}
.logo span { color: var(--accent); }

#navLinks {
  display: flex;
  list-style: none;
  gap: 36px;
}
#navLinks a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .3px;
  transition: color .2s;
  position: relative;
}
#navLinks a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
#navLinks a:hover { color: var(--ink); }
#navLinks a:hover::after { width: 100%; }

.nav-end { display: flex; align-items: center; gap: 12px; }

#themeToggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
#themeToggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-cta {
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  font-size: .82rem;
  font-weight: 600;
  border: none;
  letter-spacing: .3px;
  transition: opacity .2s, transform .2s;
}
.nav-cta:hover { opacity: .8; transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .2px;
  transition: opacity .2s, transform .2s;
  border: none;
}
.btn-dark:hover { opacity: .8; transform: translateY(-2px); }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.full-w { width: 100%; justify-content: center; }

/* Hero right */
.hero-right { display: flex; flex-direction: column; gap: 20px; }

/* ---- Hero photo ---- */
.hero-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border: 2px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform .5s var(--ease);
}
.hero-img-wrap:hover img { transform: scale(1.03); }
.photo-fallback {
  display: none;
  width: 100%; height: 100%;
  align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--ink-dim);
  background: var(--bg-alt);
}
.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--bg);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
  z-index: 2;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 24px;
}
.stat { flex: 1; text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -1px; color: var(--ink); }
.stat span { font-size: .72rem; color: var(--ink-dim); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--line); }

/* Scroll hint */
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  margin-top: 48px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.hero-scroll span { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-dim); }
.scroll-track {
  width: 60px; height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.scroll-thumb {
  width: 30px; height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollSlide 2s ease-in-out infinite;
}
@keyframes scrollSlide {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .5px;
  color: var(--ink-soft);
}
.marquee-track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 100px 0; }
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 52px;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ============================================================
   REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.on { opacity: 1; transform: translateY(0); }

/* ============================================================
   WORK
============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.work-card-wide { grid-column: 1 / -1; }

.work-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.08); }

.work-img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.work-card-wide .work-img { aspect-ratio: 21/7; }

/* Placeholder gradients — replace with real screenshots */
.work-img-1 { background: url('ecommerce.png') center/cover no-repeat; }
.work-img-2 { background: url('gym_management.png') center/cover no-repeat; }
.work-img-3 { background: url('Freelance.png') center/cover no-repeat; }
.work-img-4 { background: url('Water_Tank.png') center/cover no-repeat; }

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 100px;
}

.work-info { padding: 24px 26px 26px; }
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.work-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.work-links { display: flex; gap: 12px; }
.work-links a {
  font-size: .95rem;
  color: var(--ink-dim);
  transition: color .2s, transform .2s;
}
.work-links a:hover { color: var(--ink); transform: translateY(-2px); }
.work-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.work-info p { font-size: .88rem; color: var(--ink-soft); line-height: 1.65; }

/* ============================================================
   EXPERIENCE & EDUCATION
============================================================ */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.exp-col-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.exp-col-title i { color: var(--accent); }

.exp-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}
.exp-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 20px;
  bottom: -28px;
  width: 1px;
  background: var(--line);
}
.exp-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-alt);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.exp-body { flex: 1; }
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.exp-header strong {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.exp-date {
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: .3px;
}
.exp-place {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-style: italic;
}
.exp-note {
  font-size: .83rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.exp-list li {
  font-size: .83rem;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.exp-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .7rem;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg);
  border: 2px solid var(--line);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.about-img-fallback {
  display: none;
  width: 100%; height: 100%;
  align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--ink-dim);
}
.about-tag-float {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--bg);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.about-tag-float i { color: var(--accent); }

.about-text-col .section-title { margin-bottom: 20px; }
.about-text-col p {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}
.about-pills span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  transition: border-color .2s;
}
.about-pills span:hover { border-color: var(--accent); }
.about-pills span i { color: var(--accent); font-size: .7rem; }

/* ============================================================
   SKILLS
============================================================ */
.skills-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.skills-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
}
.skills-col-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.bar-list { display: flex; flex-direction: column; gap: 16px; }
.bar-item {}
.bar-top {
  display: flex;
  justify-content: space-between;
  font-size: .83rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.bar-track {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
body.dark .bar-fill { background: var(--accent); }

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-chips span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 100px;
  transition: all .2s;
}
.tool-chips span:hover { color: var(--ink); border-color: var(--ink-soft); }
.tool-chips span i { font-size: .75rem; color: var(--accent); }

/* ============================================================
   CONTACT
============================================================ */
.contact-section { background: var(--bg-alt); }
.contact-top { max-width: 560px; margin-bottom: 56px; }
.contact-sub {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-top: -32px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: all .2s;
}
.contact-item:hover { border-color: var(--ink-soft); transform: translateX(4px); }
.ci-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--accent);
  flex-shrink: 0;
}
.ci-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ci-text span { font-size: .68rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-dim); }
.ci-text strong { font-size: .85rem; font-weight: 600; color: var(--ink); }
.ci-arrow { font-size: .75rem; color: var(--ink-dim); transition: transform .2s; }
.contact-item:hover .ci-arrow { transform: translateX(3px); color: var(--ink); }

/* Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.fg input, .fg textarea, .fg select {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
  appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(13,13,13,.06);
}
body.dark .fg input:focus,
body.dark .fg textarea:focus,
body.dark .fg select:focus {
  box-shadow: 0 0 0 3px rgba(200,169,110,.1);
  border-color: var(--accent);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--ink-dim); }
.form-success {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  color: #16a34a;
  font-size: .85rem;
  font-weight: 500;
}
.form-success.show { display: flex; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-logo span { color: var(--accent); }
.footer p { font-size: .8rem; color: var(--ink-dim); }
.footer-links { display: flex; gap: 14px; }
.footer-links a {
  font-size: 1rem;
  color: var(--ink-dim);
  transition: color .2s, transform .2s;
}
.footer-links a:hover { color: var(--ink); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
============================================================ */

/* ---- Tablet: 960px ---- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-right { order: -1; }
  .hero-img-wrap {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1/1;   /* square on tablet */
  }
  .hero-img-wrap img { border-radius: 14px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { max-width: 380px; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .exp-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-col { display: flex; justify-content: center; }
  .about-img-wrap { max-width: 320px; width: 100%; }
  .about-text-col { text-align: center; }
  .about-pills { justify-content: center; }
  .about-text-col .btn-dark { margin: 0 auto; }

  .skills-cols { grid-template-columns: 1fr 1fr; }

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

  .work-grid { grid-template-columns: 1fr; }
  .work-card-wide { grid-column: auto; }
  .work-card-wide .work-img { aspect-ratio: 16/9; }
}

/* ---- Mobile: 768px ---- */
@media (max-width: 768px) {
  /* Navbar */
  #navbar { padding: 14px 20px; }
  #navbar.stuck { padding: 10px 20px; }
  #navLinks {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 199;
  }
  #navLinks.open { display: flex; }
  #navLinks a { font-size: 1.3rem; font-weight: 600; }
  .nav-cta { display: none; }
  .burger { display: flex; z-index: 201; }

  /* Layout */
  .container { padding: 0 18px; }
  .hero-inner { padding: 0 18px; }
  .hero-scroll { padding: 0 18px; margin-top: 32px; }
  .section { padding: 64px 0; }

  /* Hero */
  .hero { padding: 100px 0 40px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); letter-spacing: -1px; }
  .hero-eyebrow { font-size: .72rem; }
  .hero-sub { font-size: .95rem; }
  .hero-img-wrap {
    max-width: 280px;
    border-width: 5px;
  }
  .hero-img-wrap img { border-radius: 12px; }
  .hero-badge { font-size: .7rem; padding: 7px 12px; bottom: 14px; left: 14px; }
  .hero-stats { padding: 14px 16px; }
  .stat strong { font-size: 1.3rem; }
  .stat span { font-size: .68rem; }

  /* Section titles */
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 36px; }

  /* Work */
  .work-info { padding: 18px 20px 20px; }
  .work-info h3 { font-size: 1rem; }

  /* About */
  .about-img-wrap { max-width: 260px; }
  .about-tag-float { font-size: .7rem; padding: 6px 12px; }

  /* Skills */
  .skills-cols { grid-template-columns: 1fr; }
  .skills-col { padding: 24px 20px; }

  /* Contact */
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-top { margin-bottom: 36px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
}

/* ---- Small mobile: 480px ---- */
@media (max-width: 480px) {
  .hero-img-wrap {
    max-width: 240px;
    border-width: 4px;
  }
  .hero-img-wrap img { border-radius: 10px; }
  .hero-title { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .btn-dark, .btn-line { width: 100%; justify-content: center; }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 12px;
  }
  .stat { min-width: 80px; }
  .stat strong { font-size: 1.2rem; }

  .about-pills span { font-size: .72rem; padding: 6px 11px; }

  .marquee-track { gap: 18px; }
  .marquee-track span { font-size: .72rem; }

  .work-overlay span { font-size: .65rem; }

  .contact-item { padding: 13px 14px; }
  .ci-text strong { font-size: .8rem; }
}

