*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --surface: #F8F6F2;
  --ink: #1A1A1A;
  --ink-muted: #666666;
  --red: #DA291C;
  --margin: 64px;
  --margin-mobile: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
.red { color: var(--red); }
.label-caps {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.body-lg { font-size: 18px; line-height: 28px; }
.body-md { font-size: 15px; line-height: 24px; letter-spacing: 0.01em; }
.headline-md {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: 0.03em;
}
.headline-sm {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--margin);
  background: var(--surface);
  border-bottom: 1px solid var(--ink);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--red); }
.lang-toggle {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle:hover { background: var(--red); border-color: var(--red); color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.2s; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--ink);
  z-index: 99;
  flex-direction: column;
  padding: 24px var(--margin-mobile);
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 100px var(--margin) 80px;
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.hero-content { flex: 1; min-width: 0; }
.hero-label { display: block; margin-bottom: 24px; }
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 11vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-sub {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
}
.hero-plus {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ── HERO CAROUSEL ── */
.hero-carousel {
  width: 40vw;
  max-width: 520px;
  flex-shrink: 0;
}
.hero-carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-cv {
  position: absolute;
  top: 16px; right: 16px;
  width: 64px; height: 44px;
  border: 1px solid var(--red);
  z-index: 3;
}
.hero-cv-label {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  z-index: 3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.hero-carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}
.hero-dot {
  width: 24px; height: 3px;
  background: var(--surface-dim, #dbdad6);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-dot.active { background: var(--red); }

/* ── SECTIONS ── */
.section {
  padding: 120px var(--margin);
  border-bottom: 1px solid var(--ink);
}
.section-header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── PROJECT GRID ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.project-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.project-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.03); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.25s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay .label-caps { color: #fff; }
.view-label { color: var(--surface) !important; letter-spacing: 0.2em; }
.cv-box {
  position: absolute;
  top: 16px; right: 16px;
  width: 60px; height: 40px;
  border: 1px solid var(--red);
  pointer-events: none;
}
.cv-label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.project-meta {
  padding: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--ink);
}
.project-meta .body-md { color: var(--ink-muted); }
.views-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 4;
}

/* ── ABOUT ── */
.section-about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.about-img-wrap:hover img { filter: grayscale(0%); }
.about-img-wrap .cv-box {
  top: 20px; right: 20px;
  width: 80px; height: 55px;
}
.about-img-wrap .cv-label { color: var(--ink); text-shadow: none; }
.about-text { display: flex; flex-direction: column; gap: 24px; }
.headline-lg-about {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.separator { width: 40px; height: 1px; background: var(--ink); }
.red-separator { background: var(--red); }
.about-bio { color: var(--ink); max-width: 480px; }
.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: 1;
}
.stat-sep { width: 1px; height: 40px; background: var(--ink); }

/* ── CLIENTS ── */
.clients-list { overflow: hidden; }
.client-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  flex-wrap: wrap;
}
.client-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: color 0.15s;
}
.client-name:hover { color: var(--red); }

/* ── CONTACT ── */
.section-contact { background: var(--ink); border-bottom: none; }
.section-contact .label-caps { color: var(--red); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.headline-contact {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin: 24px 0 40px;
}
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.contact-link:hover { opacity: 0.7; }
.contact-link .body-lg { color: var(--surface); }
.ig-logo {
  width: 22px; height: 22px;
  color: var(--red);
  flex-shrink: 0;
}
.contact-sep { width: 100%; height: 1px; background: #333; margin: 40px 0 24px; }
.contact-location { color: #777; }

/* ── CONTACT FORM ── */
.form-title { display: block; margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { color: #888; }
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  color: var(--surface);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form-field textarea { resize: vertical; }
.form-field input::placeholder { color: #555; }
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--red); }
.form-submit {
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.form-submit:hover { background: transparent; color: var(--red); }
.form-submit:disabled { opacity: 0.5; cursor: default; }
.form-status {
  font-size: 13px;
  letter-spacing: 0.02em;
  min-height: 18px;
  margin: 0;
}
.form-status.ok { color: #6fcf97; }
.form-status.error { color: var(--red); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}
.lb-close {
  position: fixed;
  top: 24px; right: 32px;
  background: none;
  border: 1px solid #555;
  color: var(--surface);
  font-size: 18px;
  width: 44px; height: 44px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  z-index: 2;
}
.lb-close:hover { border-color: var(--red); color: var(--red); }
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--surface);
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  padding: 0 20px;
  transition: color 0.15s;
  z-index: 2;
}
.lb-arrow:hover { color: var(--red); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #888;
}
.modal-gallery img { cursor: zoom-in; }

/* ── FOOTER ── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--margin);
  background: var(--ink);
  border-top: 1px solid #333;
}
.footer .nav-logo { color: var(--surface); font-size: 18px; }
.footer-copy { color: #555; }

/* ── MODAL ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.95);
  z-index: 200;
  overflow-y: auto;
}
.modal.open { display: block; }
.modal-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.modal-close {
  position: fixed;
  top: 24px; right: 32px;
  background: none;
  border: 1px solid #555;
  color: var(--surface);
  font-size: 18px;
  width: 44px; height: 44px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.modal-close:hover { border-color: var(--red); color: var(--red); }
.modal-header { margin-bottom: 40px; }
.modal-category { color: var(--red); display: block; margin-bottom: 8px; }
.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: 0.03em;
  color: var(--surface);
}
.modal-feature {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.feature-note {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 4vw, 44px);
  letter-spacing: 0.04em;
  color: var(--surface);
  text-align: center;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 16px 0;
  width: 100%;
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.modal-gallery img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --margin: 32px; }
  .nav-links, .lang-toggle { display: none; }
  .nav-burger { display: flex; }
  .project-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .client-row { gap: 20px; }
  .section { padding: 80px var(--margin-mobile); }
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 90px var(--margin-mobile) 60px;
  }
  .hero-carousel { width: 100%; max-width: 100%; }
  .hero-carousel-frame { aspect-ratio: 16/10; }
  .hero-carousel-dots { justify-content: flex-start; }
  .footer { padding: 20px var(--margin-mobile); }
  .modal-inner { padding: 80px 20px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .lb-arrow { font-size: 40px; padding: 0 10px; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
}
