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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --white:     #ffffff;
  --surface:   #f7f7f7;
  --surface-2: #eeeeee;
  --border:    #e4e4e4;
  --muted:     #999999;
  --secondary: #555555;
  --primary:   #1a1a1a;

  --nav-height: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 96px 0;
}

section + section {
  padding-top: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}

p {
  color: var(--secondary);
  line-height: 1.75;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  transition: color var(--transition);
}

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

.nav-links a.active {
  color: var(--primary);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav open state via JS class */
.site-nav.nav-open .nav-links {
  display: flex;
}

/* Page offset for fixed nav */
.nav-spacer {
  height: var(--nav-height);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--surface);
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: var(--surface-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.img-placeholder::after {
  content: 'Image';
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  padding: 80px 0 48px;
  min-height: calc(60vh - var(--nav-height));
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--secondary);
  margin-bottom: 36px;
  max-width: 560px;
}

/* ============================================================
   PROJECT CARDS (Homepage grid)
   ============================================================ */
.projects-section {
  padding-top: 64px;
  padding-bottom: 96px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-lg);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img{
  max-width: 80%;
}

/* Unique tints per card */
.project-card:nth-child(1) .card-image { background: #e8e8e8; }
.project-card:nth-child(2) .card-image { background: #e0e0e0; }
.project-card:nth-child(3) .card-image { background: #d8d8d8; }
.project-card:nth-child(4) .card-image { background: #d0d0d0; }

.card-body {
  padding: 28px 28px 32px;
}

.card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 16px;
}

.card-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 14px;
}

.card-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.project-header {
  padding: 80px 0 60px;
}

.project-label {
  margin-bottom: 16px;
}

.project-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 20px;
}

.project-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--secondary);
  max-width: 680px;
}

.project-banner {
  width: 100%;
  height: 480px;
  background: #333;
  border-radius: var(--radius-lg);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/*.project-banner::after {
  content: 'Banner Image';
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}*/

.content-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.content-section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 16px;
}

.content-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

@media (max-width: 768px) {
  .content-cols-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--secondary);
  max-width: 680px;
}

.image-banner{
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 48px;
}
.design-card{
  border:0px none !important;
}
.design-card img{
  border: 1px solid var(--border);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, .1);
  border-radius:8px;
}

/* ============================================================
   STATS GRIDS
   ============================================================ */
.stats-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.stats-section-label {
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  gap: 20px;
}

.stats-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.stats-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-number {
  display: block;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.4;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: var(--surface);
  padding: 96px 0;
}

.about-hero-text {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--primary);
  max-width: 900px;
}

.bio-section {
  padding: 96px 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bio-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.bio-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 16px;
}

.bio-content p:last-child {
  margin-bottom: 0;
}

.skills-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.skills-section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.skill-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-item:nth-child(odd) {
  padding-right: 48px;
}

.skill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.skill-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}

.experience-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.experience-section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.experience-entry {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.experience-entry:first-of-type {
  border-top: 1px solid var(--border);
}

.experience-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.experience-company {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.experience-dates {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 24px;
}

.experience-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.experience-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--secondary);
  max-width: 720px;
}

.experience-description ul{
  padding:0 0 0 20px;
  list-style: disc !important;
}

.experience-description ul li{
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--secondary);
}

.contact-section {
  padding: 96px 0;
  text-align: center;
  background: var(--surface);
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-section p {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  transition: all var(--transition);
}

.contact-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* ============================================================
   DIVIDER UTILITY
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ============================================================
   RESPONSIVE — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {

  section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
  }

  .nav-links a {
    padding: 14px 24px;
    border-radius: 0;
  }

  .site-nav.nav-open .nav-links {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 48px 0 32px;
    min-height: auto;
  }

  /* Project cards */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Project page */
  .project-banner {
    height: 240px;
    border-radius: var(--radius);
    background-color: ;
  }
  .project-banner img{
    max-width: 1104px;
    margin:0 auto;

  }

  /* Stats grids — all collapse to 1 column */
  .stats-grid.cols-2,
  .stats-grid.cols-3,
  .stats-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 40px;
  }

  /* About bio */
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bio-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  /* Skills */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-item:nth-child(odd) {
    padding-right: 0;
  }

  /* Experience */
  .experience-meta {
    flex-direction: column;
    gap: 4px;
  }

  .experience-dates {
    margin-left: 0;
  }

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

  .footer-links {
    gap: 20px;
  }

  /* About hero */
  .about-hero {
    padding: 64px 0;
  }

  /* Contact */
  .contact-section {
    padding: 64px 0;
  }
}
