*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a; --white: #fff; --gray: #5a5a5a;
  --light: #f3f3f1; --border: #d8d8d4;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-ui: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 56px; height: 60px; }
.nav-logo { font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.4; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 20px; height: 1.5px; background: var(--black); display: block; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: var(--white); padding: 14px 26px; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 2px solid var(--black); cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn-primary:hover { background: var(--white); color: var(--black); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--black); padding: 14px 26px; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 2px solid var(--black); cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn-outline:hover { background: var(--black); color: var(--white); }

/* SECTION LABEL */
.section-label { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.section-label::after { content: ''; display: block; width: 28px; height: 2px; background: var(--black); }

/* FOOTER */
footer { background: var(--black); color: var(--white); padding: 22px 56px; display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.footer-logo { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-copy { font-family: var(--font-ui); font-size: 11px; opacity: 0.5; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); opacity: 0.6; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }

/* HERO */
.hero { max-width: 1080px; margin: 0 auto; padding: 80px 56px 68px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.hero-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 12vw, 124px); line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 22px; animation: fadeUp 0.6s ease both; }
.hero-tagline { font-size: 19px; font-weight: 400; line-height: 1.45; max-width: 440px; margin-bottom: 16px; animation: fadeUp 0.6s 0.1s ease both; }
.hero-meta { font-family: var(--font-ui); font-size: 12.5px; color: var(--gray); margin-bottom: 34px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; animation: fadeUp 0.6s 0.18s ease both; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); display: inline-block; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; animation: fadeUp 0.6s 0.26s ease both; }
.hero-social { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; animation: fadeUp 0.6s 0.34s ease both; }
.hero-social a { display: flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; opacity: 0.7; transition: opacity 0.2s; }
.hero-social a:hover { opacity: 1; }
.hero-social svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid var(--border); margin-top: 16px; animation: fadeUp 0.7s 0.15s ease both; }

/* WORK GRID */
.work-section { max-width: 1080px; margin: 0 auto; padding: 64px 56px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-item { cursor: pointer; display: block; }
.work-thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 14px; background: var(--light); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.45s ease; filter: grayscale(10%); }
.work-item:hover .work-thumb img { transform: scale(1.05); filter: grayscale(0%); }
.work-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.work-cat { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }

/* ABOUT */
.about-section { max-width: 1080px; margin: 0 auto; padding: 64px 56px; border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 28px; }
.about-text p { font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.about-text p:last-of-type { margin-bottom: 32px; }
.about-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* PROJECT PAGE */
.project-hero { width: 100%; height: 72vh; min-height: 460px; overflow: hidden; position: relative; background: #111; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.88; cursor: zoom-in; }
.project-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 100%); padding: 56px; }
.project-hero-cat { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.project-hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 5.5vw, 72px); text-transform: uppercase; color: #fff; line-height: 0.95; letter-spacing: -0.01em; }
.project-body { max-width: 1080px; margin: 0 auto; padding: 64px 56px; }
.project-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 52px; transition: color 0.2s; }
.project-back:hover { color: var(--black); }
.project-content { display: grid; grid-template-columns: 1fr 280px; gap: 72px; margin-bottom: 60px; }
.project-desc h2 { font-family: var(--font-display); font-weight: 900; font-size: 42px; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 22px; line-height: 1; }
.project-desc p { font-size: 16px; line-height: 1.75; color: #222; margin-bottom: 16px; }
.project-details { border-top: 1px solid var(--border); }
.detail-block { padding: 20px 0; border-bottom: 1px solid var(--border); }
.detail-label { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 5px; }
.detail-value { font-family: var(--font-ui); font-size: 14px; font-weight: 600; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 72px; }
.gallery-full { grid-column: span 2; }
.project-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center; cursor: zoom-in; }
.gallery-full img { aspect-ratio: 16/8; object-fit: cover; object-position: center; }
.project-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 44px; border-top: 1px solid var(--border); }
.project-nav-item { display: flex; flex-direction: column; gap: 4px; }
.project-nav-item.right { text-align: right; }
.project-nav-label { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.project-nav-title { font-family: var(--font-ui); font-size: 14px; font-weight: 600; transition: opacity 0.2s; }
.project-nav a:hover .project-nav-title { opacity: 0.45; }

/* LIGHTBOX */
.lightbox-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; padding: 24px; transition: background 0.3s ease; pointer-events: none; }
.lightbox-overlay.active { background: rgba(0,0,0,0.92); pointer-events: all; cursor: zoom-out; }
.lightbox-overlay img { max-width: 92vw; max-height: 90vh; object-fit: contain; opacity: 0; transform: scale(0.96); transition: opacity 0.3s ease, transform 0.3s ease; cursor: default; }
.lightbox-overlay.active img { opacity: 1; transform: scale(1); }
.lightbox-close { position: fixed; top: 24px; right: 28px; width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25); border-radius: 50%; color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity 0.3s ease, background 0.2s; }
.lightbox-overlay.active .lightbox-close { opacity: 1; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 56px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 44px 20px 52px; gap: 24px; }
  .hero-right { order: -1; }
  .hero-photo { width: 110px; height: 110px; margin-top: 0; }
  .hero-name { font-size: 76px; }
  .hero-tagline { font-size: 17px; }
  .work-section { padding: 44px 20px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .work-grid .work-item:nth-child(9) { display: none; }
  .about-section { padding: 44px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { flex-direction: column; gap: 14px; text-align: center; padding: 24px 20px; }
  .footer-links { justify-content: center; }
  .project-hero { height: 52vh; }
  .project-hero-overlay { padding: 24px 20px; }
  .project-body { padding: 40px 20px; }
  .project-content { grid-template-columns: 1fr; gap: 36px; }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-full { grid-column: span 1; }
}
@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-item:nth-child(9) { display: block; }
}
