:root {
  --bg: #070707;
  --bg-soft: #111111;
  --card: rgba(255,255,255,0.04);
  --line: rgba(255,255,255,0.10);
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --accent: #c21414;
  --accent-hover: #da1d1d;
  --max: 1280px;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7,7,7,0.58);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  min-height: 76px;
}
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand strong {
  font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
}
.brand span { color: var(--muted); font-size: 0.88rem; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
  color: #d8d8d8;
  width: 100%;
}
.nav-links a {
  position: relative;
  transition: color 0.22s ease, opacity 0.22s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease, background 0.22s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #ffffff; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.hero {
  min-height: 100svh; display: grid; align-items: end; position: relative;
  isolation: isolate; overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.22), rgba(0,0,0,0.50) 48%, rgba(0,0,0,0.78)),
    radial-gradient(circle at 18% 55%, rgba(0,0,0,0.10), transparent 30%),
    url('images/hero.jpg') center 38% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.20) 45%, rgba(0,0,0,0.52) 100%);
  z-index: -1;
}
.hero-inner { padding: 130px 0 72px; max-width: 780px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
  background: rgba(0,0,0,0.28); font-size: 0.84rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #dddddd;
}
h1 {
  margin: 0; font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: 0.94; letter-spacing: -0.03em;
}
.hero p {
  margin: 22px 0 0; max-width: 62ch; font-size: clamp(1rem, 1.8vw, 1.18rem); color: #e4e4e4;
}
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
  font-size: 0.96rem; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 12px 30px rgba(194,20,20,0.25); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: white; }
.btn-secondary:hover { background: rgba(255,255,255,0.13); box-shadow: 0 12px 26px rgba(0,0,0,0.22); }
section {
  padding: 88px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  scroll-margin-top: 110px;
}
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 820px; }
.section-head .label {
  color: #d64b4b; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
}
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); min-height: 220px; position: relative; overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 28px 70px rgba(0,0,0,0.42);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
}
.card::before {
  content: ""; position: absolute; inset: auto auto 0 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,20,20,0.5), transparent); opacity: 0.7;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.card:hover::before {
  opacity: 1;
  transform: scaleX(1.03);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.12;
  transition: color 0.22s ease;
}
.card:hover h3 { color: #ffffff; }
.card p { margin: 0; color: var(--muted); transition: color 0.22s ease; }
.card:hover p { color: #c9c9c9; }
.card a.inline {
  display: inline-block;
  margin-top: 16px;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.card a.inline:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.55);
  transform: translateX(2px);
}
.about { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; }
.about .panel, .contact-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.about .panel:hover, .contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.14);
}
.about p, .contact-box p, .contact-box li { color: var(--muted); margin-top: 0; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a {
  color: white;
  word-break: break-word;
  transition: color 0.22s ease, opacity 0.22s ease;
}
.contact-list a:hover { color: #ffffff; opacity: 0.9; }
.footer { padding: 26px 0 48px; color: #8f8f8f; font-size: 0.92rem; }
.muted-note { margin-top: 16px; font-size: 0.92rem; color: #9d9d9d; }
.page-shell { padding-top: 110px; padding-bottom: 40px; }
.page-head { display: grid; gap: 10px; margin-bottom: 28px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #dddddd; margin-bottom: 8px; }
.back-link { transition: color 0.22s ease, transform 0.22s ease; }
.back-link:hover { color: white; transform: translateX(-2px); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border-radius: 18px; overflow: hidden; background: #101010;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18), rgba(0,0,0,0.02));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 28px 70px rgba(0,0,0,0.42);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item a { display: block; }
.gallery-item img {
  width: 100%; height: 320px; object-fit: cover;
  transition: transform 0.42s ease, opacity 0.35s ease, filter 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.045); opacity: 0.97; filter: saturate(1.03); }
.empty-box {
  padding: 28px; border: 1px dashed rgba(255,255,255,0.16); border-radius: 20px;
  color: var(--muted); background: rgba(255,255,255,0.02);
}
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: none;
  align-items: center; justify-content: center; z-index: 999; padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(96vw, 1600px); max-height: 88vh; width: auto; height: auto; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-ui { position: absolute; inset: 0; pointer-events: none; }
.lightbox-btn {
  pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%);
  border: 0; width: 52px; height: 52px; border-radius: 999px;
  background: rgba(255,255,255,0.12); color: white; font-size: 1.5rem; cursor: pointer;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close {
  pointer-events: auto; position: absolute; top: 16px; right: 16px; width: 48px; height: 48px;
  border: 0; border-radius: 999px; background: rgba(255,255,255,0.12); color: white; font-size: 1.35rem; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { align-items: start; flex-direction: column; padding: 14px 0; }
  .nav-links { gap: 12px 14px; font-size: 0.92rem; }
  .hero-inner { padding: 150px 0 56px; }
  section { padding: 72px 0; }
  .grid-4, .grid-3, .gallery-grid { grid-template-columns: 1fr; }
  .card { min-height: unset; }
  .gallery-item img { height: auto; max-height: 460px; object-fit: cover; }
  .lightbox-btn { width: 46px; height: 46px; }
}


/* premium polish: image cards in archive / texts */
.card img {
  transition: transform 0.42s ease, filter 0.32s ease, opacity 0.32s ease;
}
.card:hover img {
  transform: scale(1.03);
  filter: saturate(1.03) contrast(1.02);
  opacity: 0.98;
}
