/*
Theme Name: Anton Isaichkin
Author: Yuri Nabatov
Description:
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: anton-isaichkin
*/

:root {
  --ink: #161616;
  --paper: #faf7f0;
  --muted: #6d6a62;
  --line: rgba(22, 22, 22, 0.12);
  --gold: #c8a45d;
  --green: #1d5f57;
  --wine: #7a2f45;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.navbar {
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 240, 0.86);
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
}

.navbar-brand {
  font-weight: 800;
}

.nav-link {
  color: rgba(22, 22, 22, 0.72);
  font-weight: 600;
}

.nav-link:hover {
  color: var(--ink);
}

.btn {
  border-radius: 8px;
  font-weight: 800;
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-outline-dark {
  border-color: rgba(22, 22, 22, 0.36);
}

.hero {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #0e0d0b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.72) 35%, rgba(5, 5, 5, 0.22) 68%, rgba(5, 5, 5, 0.56) 100%),
    var(--hero-image) right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), rgba(250, 247, 240, 0));
}

.hero h1 {
  max-width: 920px;
  color: #fff;
  font-size: clamp(3rem, 7.4vw, 7.8rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.96;
  font-weight: 900;
}

.lead-wide {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.stat strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.9;
  font-weight: 900;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.service {

  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
}

.service-number {
  color: var(--gold);
  font-weight: 900;
}

.service h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.3rem);
  font-weight: 900;
}

.service p {
  color: var(--muted);
}

.photo-strip {
  background: #161616;
  color: #fff;
  overflow: hidden;
}

.photo-tile {
  height: clamp(320px, 56vw, 350px);
  object-fit: cover;
  width: 100%;
}

.photo-tile.tall {
  height: clamp(390px, 72vw, 760px);
}

.quote-band {
  background: var(--green);
  color: #fff;
}

.quote {
  max-width: 1040px;
  font-size: clamp(2rem, 5.8vw, 2.8rem);
  line-height: 1.18;
  font-weight: 900;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.work-card img {
  height: 315px;
  width: 100%;
  object-fit: cover;
}

.work-card .body {
  padding: 1.35rem;
}

.work-card p {
  color: rgba(255, 255, 255, 0.72);
}

.process-step {
  border-left: 4px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.25rem;
}

.process-step h3 {
  font-weight: 900;
}

.process-step p {
  color: var(--muted);
}

.cta {
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.9), rgba(22, 22, 22, 0.46)),
    var(--cta-image) center / cover no-repeat;
  color: #fff;
}

.cta h2 {
  font-size: clamp(2.3rem, 6vw, 6.4rem);
  font-weight: 900;
  line-height: 0.92;
}

.cta .phone {
  color: #fff;
  text-decoration: none;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 900;
}

.cta .phone:hover {
  color: var(--gold);
}

.contact-line {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-a {
  grid-column: span 5;
}

.gallery-b {
  grid-column: span 7;
}

.gallery-c,
.gallery-d,
.gallery-e {
  grid-column: span 4;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 92vh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0.38) 48%, rgba(5, 5, 5, 0.86) 100%),
      var(--hero-image) 67% center / cover no-repeat;
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e {
    grid-column: span 12;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: clamp(2.75rem, 16vw, 4.8rem);
  }

  .hero .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }
}
