:root {
  --bg: #ffffff;
  --muted: #f5f5f5;
  --text: #111827;
  --sub: #4b5563;
  --line: #e5e7eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  width: 100%;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav { display: flex; gap: 28px; }
.nav button, .home-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--sub);
}
.home-btn { color: var(--text); letter-spacing: 0.04em; }
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}
.menu-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-btn .icon-close { display: none; }
.menu-btn.open .icon-menu { display: none; }
.menu-btn.open .icon-close { display: block; }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 24px;
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav button {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--sub);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 5s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 24px;
}
.hero-content h1 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.hero-content p {
  margin: 0;
  opacity: 0.92;
  font-size: 16px;
  line-height: 1.5;
  max-width: 672px;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}
.hero-dots button {
  width: 48px;
  height: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.hero-dots button.active { background: #fff; }

.section {
  padding: 96px 24px;
}
.section.muted { background: var(--muted); }
.container { max-width: 1152px; margin: 0 auto; }
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}
.about-text-col h2,
#work h2 {
  margin-bottom: 24px;
}
.text p { margin: 0 0 16px; color: var(--sub); }
.meta { margin-top: 32px; color: var(--sub); }
.meta div { margin-bottom: 8px; }
.label { color: #6b7280; }
.about-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.work-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.about-image img, .work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.about-image:hover img,
.work-image:hover img {
  transform: scale(1.05);
}

.about-media-col { order: 1; }
.about-text-col { order: 2; }

.gallery-title, .contact-title {
  text-align: center;
  margin: 0 0 64px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-grid button {
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #f3f4f6;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.gallery-grid button:hover {
  transform: scale(0.98);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}
.gallery-grid button:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  color: rgba(255, 255, 255, 0.7);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 48px;
  transition: color 0.2s ease;
}
#closeBtn {
  top: 24px;
  right: 24px;
  font-size: 32px;
}
#prevBtn { left: 24px; }
#nextBtn { right: 24px; }
.lightbox button:hover {
  color: #fff;
}
.lightbox-frame {
  width: 100%;
  height: 100%;
  max-width: 1152px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}
.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.contact-wrap {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}
.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.contact-item {
  width: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}
.contact-item:hover {
  transform: scale(1.05);
}
.icon-box {
  width: 80px;
  height: 80px;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.icon-box img { width: 28px; height: 28px; }
.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #111827;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-item:hover .icon-box {
  border-color: #111827;
}
.small-label {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.small-value {
  font-size: 12px;
  color: #111827;
}

.footer {
  background: #111827;
  color: #fff;
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.footer-inner p {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .about-media-col { order: 2; }
  .about-text-col { order: 1; }
  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }
}
