:root {
  color-scheme: light;
  --paper: oklch(0.965 0.008 85);
  --paper-strong: oklch(0.985 0.006 85);
  --ink: oklch(0.185 0.012 70);
  --muted: oklch(0.46 0.018 70);
  --line: oklch(0.82 0.012 78);
  --accent: oklch(0.43 0.09 28);
  --accent-soft: oklch(0.9 0.035 40);
  --nav-width: 248px;
  font-family: Inter, Montserrat, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--nav-width);
  padding: 34px 26px;
  background: color-mix(in oklch, var(--paper-strong) 94%, var(--accent-soft));
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.brand {
  text-decoration: none;
  line-height: 1.03;
  letter-spacing: 0;
}

.brand span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.brand strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 650;
}

.site-nav nav {
  display: grid;
  gap: 16px;
}

.site-nav nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.28;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav nav a:hover,
.site-nav nav a.active {
  color: var(--accent);
  font-weight: 650;
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
}

main {
  margin-left: var(--nav-width);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: oklch(0.93 0.012 76);
}

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 34px;
  background: oklch(0.12 0.018 70 / 0.34);
  border: 1px solid oklch(0.98 0.006 82 / 0.12);
  color: oklch(0.97 0.006 82);
  text-shadow: 0 2px 22px oklch(0.12 0.02 70 / 0.58);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(14px, 1.7vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.94;
  font-weight: 560;
  letter-spacing: 0;
}

.role {
  margin: 20px 0 0;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 450;
}

.slider,
.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, oklch(0.13 0.02 70 / 0.62), transparent 34%, transparent 66%, oklch(0.13 0.02 70 / 0.38)),
    linear-gradient(0deg, oklch(0.13 0.02 70 / 0.48), transparent 35%, oklch(0.13 0.02 70 / 0.2));
}

.slide {
  opacity: 0;
  transition: opacity 760ms cubic-bezier(.16, 1, .3, 1), transform 900ms cubic-bezier(.16, 1, .3, 1);
  transform: scale(1.025);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  right: clamp(22px, 4vw, 56px);
  bottom: clamp(20px, 4vw, 54px);
  z-index: 4;
  color: oklch(0.96 0.006 82);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 68px;
  border: 0;
  background: oklch(0.98 0.006 82 / 0.23);
  color: oklch(0.97 0.006 82);
  font-size: 54px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 160ms ease, background 160ms ease;
}

.slider:hover .slider-arrow,
.slider-arrow:focus-visible {
  opacity: 1;
}

.slider-arrow:hover {
  background: oklch(0.98 0.006 82 / 0.38);
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}

.section {
  padding: clamp(54px, 8vw, 110px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-head p {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 5vw, 66px);
  line-height: 0.98;
  font-weight: 520;
  letter-spacing: 0;
}

.masonry {
  columns: 3 260px;
  column-gap: 16px;
}

.gallery button {
  width: 100%;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery img {
  width: 100%;
  background: oklch(0.88 0.009 80);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery button:hover img,
.gallery button:focus-visible img {
  transform: scale(0.985);
  filter: contrast(1.04);
}

.empty-state {
  max-width: 650px;
  padding: 34px 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.about {
  background: var(--paper-strong);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(280px, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.about-lead {
  max-width: 720px;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 470;
}

.about-lead p {
  margin: 0 0 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 6vw, 74px);
  background: var(--line);
  border: 1px solid var(--line);
}

.about-grid article,
.shooting-note {
  background: var(--paper-strong);
  padding: clamp(24px, 4vw, 42px);
}

h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 650;
}

.about p,
.about li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.about ul {
  padding-left: 18px;
  margin: 0;
}

.shooting-note {
  margin-top: 1px;
  border: 1px solid var(--line);
  border-top: 0;
}

.shooting-note p {
  max-width: 980px;
  margin: 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 86px);
}

.contact-lines {
  display: grid;
  align-content: start;
  gap: 16px;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.16;
}

.contact-lines p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
}

.contact-lines a {
  text-decoration: none;
}

.contact-lines a:hover {
  color: var(--accent);
}

.telegram-link[aria-disabled="true"] {
  color: oklch(0.6 0.012 75);
  cursor: default;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: oklch(0.98 0.006 85);
  padding: 13px 24px;
  font: inherit;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 28px;
  background: oklch(0.12 0.018 70 / 0.9);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 1120px);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox p {
  position: absolute;
  left: 28px;
  bottom: 18px;
  margin: 0;
  color: oklch(0.9 0.008 82);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 0;
  background: oklch(0.96 0.006 82 / 0.14);
  color: oklch(0.98 0.006 82);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 34px;
}

.lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 76px;
  transform: translateY(-50%);
  font-size: 54px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 820px) {
  .menu-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 35;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid oklch(0.92 0.006 82 / 0.8);
    background: oklch(0.18 0.016 70 / 0.54);
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: oklch(0.98 0.006 82);
  }

  .site-nav {
    transform: translateX(-100%);
    transition: transform 240ms cubic-bezier(.16, 1, .3, 1);
    width: min(84vw, 310px);
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  main {
    margin-left: 0;
  }

  .hero-copy {
    padding: 26px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .slider-arrow {
    opacity: 1;
    width: 40px;
    height: 58px;
    top: auto;
    bottom: 72px;
    transform: none;
  }

  .prev {
    left: 8px;
  }

  .next {
    right: 8px;
  }

  .slide-caption {
    left: 22px;
    right: auto;
  }

  .about-intro,
  .about-grid,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .about-grid {
    display: block;
    background: transparent;
    border: 0;
  }

  .about-grid article,
  .shooting-note {
    border: 1px solid var(--line);
    margin-bottom: 14px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 58px;
  }
}
