:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #ffffff;
  --paper: #f6f6f4;
  --grey: #6b6b6b;
  --line: #e4e4e0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__brand img { height: 42px; display: block; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); }
.nav__links a:hover { color: var(--grey); }
.nav__app {
  border: 1px solid var(--black); padding: 0.5rem 1rem; border-radius: 2px;
}
.nav__app:hover { background: var(--black); color: var(--white) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__burger span { width: 26px; height: 2px; background: var(--black); display: block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 78vh; display: flex; align-items: center;
  background: var(--black); color: var(--white);
  padding: 5rem 2rem;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px);
}
.hero__inner { max-width: 900px; margin: 0 auto; width: 100%; }
.hero__kicker { text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.78rem; color: #b8b8b8; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 1.6rem; }
.hero__lead { font-size: 1.15rem; color: #d6d6d6; max-width: 620px; margin-bottom: 2.4rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn { display: inline-block; padding: 0.85rem 1.6rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 2px; transition: 0.2s; }
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: #d6d6d6; }
.btn--ghost { border: 1px solid var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }

/* ---------- Sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 5.5rem 2rem; }
.section--dark { max-width: none; background: var(--paper); }
.section--dark .section__head, .section--dark .cards, .section--dark .contact__grid { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.6rem; }
.section__head p { color: var(--grey); font-size: 1.05rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__item { position: relative; }
.gallery__item .ph {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #0e0e0e 100%);
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 3px, transparent 3px 12px),
    linear-gradient(135deg, #1a1a1a, #333);
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; overflow: hidden;
}
.gallery__item .ph::after {
  content: attr(data-label);
  color: rgba(255,255,255,0.55); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em;
}
.gallery__item figcaption { padding: 0.7rem 0.2rem; font-size: 0.9rem; color: var(--ink); }
.gallery__note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--grey); }
.gallery__note code { background: var(--paper); padding: 0.1rem 0.4rem; border-radius: 3px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); padding: 2rem 1.6rem; border-radius: 3px; }
.card__num { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--grey); }
.card h3 { margin: 0.8rem 0 0.6rem; font-size: 1.25rem; }
.card p { color: var(--grey); font-size: 0.96rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.about__text h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.about__text p { color: #3a3a3a; margin-bottom: 1rem; }
.about__signature { font-weight: 700; color: var(--black) !important; letter-spacing: 0.02em; }
.about__mark { display: flex; justify-content: center; }
.about__mark img { max-width: 260px; width: 100%; filter: grayscale(1); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact__item {
  background: var(--white); border: 1px solid var(--line);
  padding: 1.6rem; border-radius: 3px; display: flex; flex-direction: column; gap: 0.4rem;
}
a.contact__item:hover { border-color: var(--black); }
.contact__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--grey); }
.contact__value { font-size: 1.2rem; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #cfcfcf; padding: 3rem 2rem 2rem; }
.footer__top {
  max-width: 1100px; margin: 0 auto 1.5rem; display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid #2a2a2a;
}
.footer__logo { height: 54px; background: var(--white); padding: 6px 10px; border-radius: 3px; }
.footer__contact { font-size: 0.95rem; line-height: 1.7; }
.footer__contact strong { color: var(--white); }
.footer__legal { max-width: 1100px; margin: 0 auto 1rem; font-size: 0.8rem; color: #8a8a8a; }
.footer__copy { max-width: 1100px; margin: 0 auto; font-size: 0.8rem; color: #8a8a8a; }
.footer__copy a { color: #cfcfcf; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.2rem;
    background: var(--white); padding: 1.5rem 2rem; border-bottom: 1px solid var(--line);
    display: none;
  }
  body.menu-open .nav__links { display: flex; }
  .gallery, .cards, .contact__grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__mark { order: -1; }
}
