:root {
  --ink: #1e1d1b;
  --muted: #6f6961;
  --paper: #fbfaf7;
  --porcelain: #f0eee9;
  --sage: #596b5b;
  --wine: #7d3148;
  --copper: #b96c45;
  --line: rgba(30, 29, 27, 0.14);
  --shadow: 0 24px 70px rgba(30, 29, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0));
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 10px 28px rgba(30, 29, 27, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 13px;
}

.site-header.is-scrolled .brand-mark {
  border-color: var(--line);
}

.brand-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .lang-switcher {
  border-color: var(--line);
  background: rgba(30, 29, 27, 0.04);
}

.lang-button {
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: currentColor;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--ink);
  background: #fff;
}

.site-header.is-scrolled .lang-button.is-active {
  color: #fff;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: rgba(30, 29, 27, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #161412;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.86), rgba(12, 11, 10, 0.48) 48%, rgba(12, 11, 10, 0.14)),
    linear-gradient(0deg, rgba(12, 11, 10, 0.78), rgba(12, 11, 10, 0.05) 58%),
    url("./assets/anastasiia-paris-bridge-full.jpg") center 28% / cover;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 150px clamp(20px, 7vw, 88px) 120px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c39d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.96;
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.03;
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: #fff;
  background: var(--wine);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 7vw, 88px);
  right: clamp(20px, 7vw, 88px);
  bottom: 22px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hero-strip span {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 700;
}

.section {
  scroll-margin-top: 76px;
  padding: clamp(68px, 9vw, 120px) clamp(20px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  background: var(--porcelain);
}

.intro p:last-child {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 19px;
}

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #fff;
}

.credential-copy p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.proof-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--porcelain);
  font-size: 13px;
  font-weight: 800;
}

.certificate {
  margin: 0;
}

.certificate img {
  aspect-ratio: 931 / 1280;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.certificate figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

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

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card,
.case-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(30, 29, 27, 0.06);
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.service-card div,
.case-card div {
  padding: 22px;
}

.service-card p,
.case-card p,
.price-card li {
  color: var(--muted);
}

.service-card h3,
.case-card h3,
.price-card h3 {
  margin-bottom: 12px;
}

.service-card h3 + p,
.case-card h3 + p,
.price-card h3 + .price {
  margin-top: 0;
}

.service-card p,
.case-card p {
  margin-bottom: 0;
}

.prices {
  background: #fff;
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 26px;
}

.price-card.featured {
  color: #fff;
  background: var(--sage);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.price-card.featured .tag,
.price-card.featured li,
.price-card.featured .price-note {
  color: rgba(255, 255, 255, 0.8);
}

.price {
  margin: 12px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 54px);
  line-height: 1;
}

.price-note {
  min-height: 48px;
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 20px;
}

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

.case-card img {
  aspect-ratio: 3 / 4;
  height: auto;
}

.private-document {
  display: grid;
  aspect-ratio: 3 / 4;
  min-height: 320px;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(89, 107, 91, 0.16), rgba(125, 49, 72, 0.08)),
    var(--porcelain);
}

.private-document-inner {
  display: grid;
  width: min(260px, 100%);
  min-height: 220px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(30, 29, 27, 0.1);
}

.private-document-inner span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.private-document-inner strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.case-card.work-card img {
  aspect-ratio: 16 / 9;
}

.case-card.case-featured {
  display: grid;
  grid-template-rows: auto 1fr;
}

.case-tag {
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--wine);
  font-weight: 900;
}

.gallery {
  background: var(--porcelain);
}

.shopping-process {
  background: #fff;
}

.process-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 14px;
}

.process-wall img {
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(30, 29, 27, 0.08);
}

.process-wall img:nth-child(1),
.process-wall img:nth-child(4),
.process-wall img:nth-child(7) {
  grid-row: span 2;
}

.process-wall img:nth-child(8) {
  grid-column: span 2;
}

.photo-wall {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-auto-rows: 250px;
  gap: 14px;
}

.photo-wall img {
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(30, 29, 27, 0.08);
}

.photo-wall img:first-child {
  grid-row: span 2;
}

.photo-wall img:last-child {
  grid-column: span 2;
}

.photo-wall img:nth-child(4) {
  grid-row: span 2;
}

.contact {
  scroll-margin-top: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 80px);
  color: #fff;
  background: var(--ink);
}

.contact h2 {
  max-width: 760px;
}

.socials a {
  display: inline-flex;
  min-width: 132px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    background: rgba(30, 29, 27, 0.94);
    box-shadow: var(--shadow);
  }

  .lang-switcher {
    width: max-content;
    margin-top: 4px;
  }

  .nav.is-open {
    display: grid;
  }

  .intro,
  .credentials,
  .contact,
  .services-grid,
  .price-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .price-card.featured {
    transform: none;
  }

  .photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .process-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .photo-wall img:first-child,
  .photo-wall img:last-child,
  .process-wall img:nth-child(1),
  .process-wall img:nth-child(4),
  .process-wall img:nth-child(7),
  .process-wall img:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(12, 11, 10, 0.88), rgba(12, 11, 10, 0.2) 68%),
      url("./assets/anastasiia-portrait-garden.jpg") center top / cover;
  }

  .hero-content {
    padding: 116px 20px 116px;
  }

  h1 {
    font-size: clamp(39px, 13vw, 56px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions .button,
  .socials a {
    width: 100%;
  }

  .section {
    padding: 62px 18px;
  }

  .service-card div,
  .case-card div,
  .price-card {
    padding: 20px;
  }

  .photo-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .process-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .contact {
    padding: 60px 18px;
  }
}
