/* ================================================================
   PERSONAL WEBSITE — stylesheet
   Aesthetic, refined, with attention to typography & spacing
   ================================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,700&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
  /* Palette */
  --bg:          #faf8f4;
  --bg-alt:      #ffffff;
  --bg-card:     #ffffff;
  --bg-gradient: linear-gradient(135deg, #faf8f4 0%, #f5f1eb 50%, #faf6f0 100%);
  --text-primary:#1e1b2b;
  --text-secondary:#6b6580;
  --text-muted:  #a5a0b5;
  --accent:      #d4785c;
  --accent-light:#f0d6cb;
  --accent-hover:#c1664a;
  --navy:        #363252;
  --navy-dark:   #26233d;
  --border:      #e8e4de;
  --border-light:#f1eee8;

  /* Geometry */
  --radius:      16px;
  --radius-sm:   10px;
  --radius-full: 9999px;
  --shadow-sm:   0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md:   0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 20px 50px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 8px 30px rgba(212, 120, 92, 0.25);

  /* Typography */
  --font-sans:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --max-width:   1100px;
  --nav-height:  4.2rem;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ─── Selection ─── */
::selection {
  background: var(--accent-light);
  color: var(--navy);
}

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: var(--nav-height);
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.04);
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--navy);
  text-transform: uppercase;
}
.logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::before { width: 100%; }

.nav-links a.active {
  color: var(--navy);
  font-weight: 600;
}
.nav-links a.active::before {
  width: 100%;
  background: var(--navy);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Sections common ─── */
section {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
#hero, #about-page, #projects-page, #contact-page {
  min-height: 100vh;
  padding: 6rem 5% 10rem;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-title span {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ─── Hero ─── */
#hero {
  text-align: center;
  position: relative;
  max-width: 100%;
  min-height: 100vh;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(212, 120, 92, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(54, 50, 82, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(250, 248, 244, 0.8) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.6) 0%, transparent 70%);
  padding: 2rem;
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
}


.hero-greeting {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  opacity: 0.8;
}
.hero-name {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-primary);
}
.hero-name span {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
}
.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 1.2rem auto 2.5rem;
  line-height: 1.8;
  max-width: 580px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 15px rgba(54, 50, 82, 0.2);
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(54, 50, 82, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: rgba(54, 50, 82, 0.03);
  transform: translateY(-3px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 120, 92, 0.35);
}



/* ─── About page ─── */
#about-page {
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin: 2rem auto;
  padding: 5rem 5%;
  min-height: auto;
  box-shadow: var(--shadow-sm);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}
.about-text .highlight {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}
.about-text .highlight::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-light);
  border-radius: 1px;
}
.about-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 1.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid var(--accent);
  margin-top: 1.5rem;
}

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.service-item:hover {
  border-color: var(--accent-light);
  transform: translateX(4px);
}
.service-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.service-text h4 {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.service-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Skills */
.skills-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.skills-header h3 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.skills-header .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.skill-item {
  margin-bottom: 1.2rem;
}
.skill-item .skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.skill-item .skill-name span:first-child {
  color: var(--text-primary);
}
.skill-item .skill-name span:last-child {
  font-weight: 600;
  color: var(--accent);
}
.skill-bar {
  height: 5px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.skill-bar .fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #e8a87c);
  width: 0;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.skill-bar .fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  border-radius: 4px;
}

/* ─── Teaser sections on home page ─── */
#about-section.teaser-section,
#projects-section.teaser-section,
#contact-section.teaser-section {
  min-height: 0 !important;
  height: auto !important;
  padding: 15rem 5%;
  background: var(--bg-alt);
  border-top: none;
  position: relative;
  display: block !important;
  flex-direction: unset !important;
  justify-content: flex-start !important;
  align-items: unset !important;
  max-width: none !important;
  margin: 0 !important;
}
.teaser-section::before {
  content: none;
}

.teaser-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 0;
  border-left: 3px solid transparent;
  padding-left: 1.25rem;
  transition: border-color 0.3s;
}
.teaser-block:hover {
  border-left-color: var(--accent);
}
.teaser-text {
  flex: 1 1 60%;
}
.teaser-desc {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}
.teaser-divider {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  opacity: 0.8;
}
.teaser-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.teaser-icon {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.9;
}
.teaser-action {
  flex: 0 0 auto;
}

/* ─── Footer / social links on home page ─── */
.site-footer {
  width: 100%;
  padding: 10rem 5% 8rem;
  background: var(--bg-gradient);
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-footer .section-label {
  justify-content: center;
}
.site-footer .section-title {
  margin-left: auto;
  margin-right: auto;
}
.site-footer .teaser-desc {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 9999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 500;
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-3px);
}
.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 6rem;
  line-height: 1.9;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom {
  margin-top: 9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ─── Projects page ─── */
#projects-page {
  background: transparent;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2.2rem;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 120, 92, 0.03), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.project-card:hover::before {
  opacity: 1;
}
.project-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: var(--bg);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
  font-weight: 700;
}
.project-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-card .tags span {
  background: var(--bg);
  color: var(--text-secondary);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.project-card:hover .tags span {
  border-color: var(--accent-light);
  color: var(--accent);
}
.project-card .project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}
.project-card .project-link:hover { gap: 10px; }

.project-media {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  background: var(--bg);
}
.project-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-media img {
  transform: scale(1.03);
}
.project-card--featured {
  grid-column: 1 / -1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.project-card--featured .icon {
  display: none;
}
.project-card--featured .project-media {
  margin-bottom: 0;
}
.project-card--featured .project-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.project-card--featured h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.3px;
}
.project-card--featured p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.project-card--featured .tags span {
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
}
.project-card--featured .project-link {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ─── Project detail page ─── */
.project-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.project-hero {
  width: 100%;
}
.project-mockup {
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mockup-window {
  width: 100%;
}
.mockup-titlebar {
  display: flex;
  gap: 6px;
  padding: 0.8rem 1rem;
  background: var(--border-light);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e1b2b 0%, #363252 100%);
  overflow: hidden;
}
.mockup-desktop {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  align-content: start;
}
.mockup-icon {
  aspect-ratio: 1;
  max-width: 64px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  backdrop-filter: blur(4px);
}
.mockup-taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}
.mockup-start {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.mockup-tasks {
  flex: 1;
}
.mockup-clock {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.project-description h3,
.project-features h3,
.project-tech h3 {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.project-description p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.project-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.project-features li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}
.project-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tags span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ─── Contact page ─── */
#contact-page {
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin: 2rem auto;
  padding: 5rem 5%;
  min-height: auto;
  box-shadow: var(--shadow-sm);
}
.contact-content {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.contact-content p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.8;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}
.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: -0.6rem;
  letter-spacing: 0.3px;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 120, 92, 0.1);
  background: var(--bg-alt);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.contact-links a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-links a:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(212, 120, 92, 0.15);
}

/* ─── Footer ─── */
footer {
  text-align: center;
  padding: 2rem 5%;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  letter-spacing: 0.3px;
}
footer .heart {
  color: var(--accent);
}

/* ─── Reveal animation (disabled) ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ─── Divider ─── */
.divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}



/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(20px);
    gap: 2.5rem;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.06);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .hamburger { display: flex; }

  .hero-name { font-size: 2.8rem; }
  .hero-greeting { font-size: 0.85rem; }
  .section-title { font-size: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
  #about-page, #contact-page { margin: 1rem; padding: 3rem 1.5rem; }
  .hero-decor { display: none; }
}
@media (max-width: 480px) {
  .hero-name { font-size: 2.2rem; letter-spacing: -1px; }
  .hero-tagline { font-size: 1rem; }
  .section-title { font-size: 1.7rem; }
  .btn { padding: 0.8rem 1.8rem; font-size: 0.85rem; }
}