:root {
  --ink: #11100f;
  --night: #191715;
  --soft-black: #23201d;
  --porcelain: #fbf7ef;
  --warm: #f1e7d8;
  --champagne: #d8c0a3;
  --gold: #b99462;
  --copper: #9f6448;
  --sage: #7b8874;
  --muted: #8f877d;
  --line: rgba(185, 148, 98, 0.25);
  --glass: rgba(251, 247, 239, 0.1);
  --shadow: 0 32px 90px rgba(17, 16, 15, 0.28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--porcelain);
  background: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 16, 15, 0.78);
  border-bottom: 1px solid rgba(216, 192, 163, 0.18);
  backdrop-filter: blur(22px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
}

.brand img {
  width: 162px;
}

.links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(251, 247, 239, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
}

.links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.links a:hover,
.links a.active {
  color: var(--champagne);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 192, 163, 0.28);
  background: rgba(251, 247, 239, 0.05);
  color: var(--porcelain);
  font-size: 1.25rem;
}

.button,
button.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--porcelain);
  border-color: var(--porcelain);
}

.button.ghost {
  background: transparent;
  color: var(--porcelain);
}

.button.ghost:hover {
  background: var(--porcelain);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.96) 0%, rgba(17, 16, 15, 0.78) 38%, rgba(17, 16, 15, 0.18) 100%),
    url("../img/hero-studio.jpg") center right / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, var(--ink));
  z-index: -1;
}

.hero-content {
  max-width: 760px;
  padding: 88px 0 74px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 {
  font-size: clamp(4.4rem, 9vw, 9.8rem);
}

h2 {
  font-size: clamp(3rem, 6vw, 6.4rem);
}

h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
}

p {
  margin: 0;
}

.lead {
  color: rgba(251, 247, 239, 0.72);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero .lead {
  max-width: 660px;
  margin-top: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: rgba(216, 192, 163, 0.22);
  border: 1px solid rgba(216, 192, 163, 0.22);
}

.trust-item {
  padding: 20px;
  background: rgba(25, 23, 21, 0.72);
}

.trust-item span {
  display: block;
  color: rgba(251, 247, 239, 0.54);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-item strong {
  display: block;
  margin-top: 6px;
  color: var(--porcelain);
  font-size: 1rem;
}

.section {
  padding: 98px 0;
  background: var(--ink);
}

.section.light {
  background: var(--porcelain);
  color: var(--ink);
}

.section.warm {
  background: var(--warm);
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.light .lead,
.warm .lead,
.card p,
.panel p,
.price-card p,
.legal p,
li {
  color: #6f675f;
}

.media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--soft-black);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.media:hover img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.03);
}

.media.square {
  aspect-ratio: 1 / 1;
}

.media.wide {
  aspect-ratio: 16 / 10;
}

.media.tall {
  aspect-ratio: 4 / 5;
}

.grid {
  display: grid;
  gap: 18px;
}

.services {
  grid-template-columns: repeat(3, 1fr);
}

.two {
  grid-template-columns: repeat(2, 1fr);
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.panel,
.price-card,
.legal {
  border: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.92);
  color: var(--ink);
  box-shadow: 0 20px 54px rgba(17, 16, 15, 0.08);
}

.card {
  position: relative;
  padding: 18px;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card:has(h3 a) {
  cursor: pointer;
}

.card .media {
  margin-bottom: 20px;
  box-shadow: none;
}

.card h3,
.panel h3,
.price-card h3 {
  color: var(--ink);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill {
  padding: 9px 12px;
  border: 1px solid rgba(17, 16, 15, 0.14);
  background: rgba(255, 255, 255, 0.54);
  color: var(--soft-black);
  font-size: 0.86rem;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 300px 300px;
  gap: 16px;
}

.gallery .media:first-child {
  grid-row: span 2;
}

.panel,
.legal {
  padding: clamp(24px, 4vw, 46px);
}

.signature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card small {
  color: var(--copper);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.price-card ul,
.legal ul {
  padding-left: 18px;
}

.price-card .button {
  margin-top: auto;
}

.page-hero {
  padding: 92px 0 62px;
  background: var(--night);
  border-bottom: 1px solid rgba(216, 192, 163, 0.2);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: end;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(185, 148, 98, 0.2), rgba(251, 247, 239, 0.02)),
    var(--night);
  border: 1px solid rgba(216, 192, 163, 0.26);
  color: var(--porcelain);
  box-shadow: var(--shadow);
}

.cta h2,
.cta p {
  color: var(--porcelain);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px;
}

label {
  display: block;
  margin-bottom: 15px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid rgba(17, 16, 15, 0.16);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.map-placeholder,
.placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(17, 16, 15, 0.12);
  background:
    linear-gradient(135deg, rgba(185, 148, 98, 0.16), rgba(123, 136, 116, 0.14)),
    repeating-linear-gradient(45deg, rgba(17, 16, 15, 0.08) 0 1px, transparent 1px 18px);
  color: #5d554e;
  font-weight: 900;
  text-align: center;
}

.site-footer {
  padding: 58px 0 30px;
  background: #0c0b0b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h3 {
  color: var(--porcelain);
}

.site-footer p,
.site-footer a {
  color: rgba(251, 247, 239, 0.66);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 192, 163, 0.18);
  color: rgba(251, 247, 239, 0.55);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .menu {
    display: inline-grid;
    place-items: center;
  }

  .links {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 32px 32px;
    background: var(--night);
    border-bottom: 1px solid rgba(216, 192, 163, 0.18);
    box-shadow: var(--shadow);
  }

  body.menu-open .links {
    display: flex;
  }

  .links a {
    padding: 12px 0;
  }

  .trust-bar,
  .services,
  .price-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .signature,
  .page-grid,
  .contact-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery .media:first-child {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1220px);
  }

  .brand img {
    width: 134px;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 66px 0 48px;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5rem);
  }

  .trust-bar,
  .services,
  .two,
  .four,
  .price-grid,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .cta {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
