:root {
  --bg: #080808;
  --bg-card: #111111;
  --bg-form: #161616;
  --text: #f4f0ea;
  --text-muted: #8c8680;
  --accent: #c49a6c;
  --accent-hover: #d4ad82;
  --accent-deep: #8a6544;
  --border: #242220;
  --layout-max: 1200px;
  --container: min(var(--layout-max), calc(100% - 48px));
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --header-h: 84px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 64px;
  --radius-sharp: 2px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --icon-service: clamp(60px, 5.5vw, 72px);
  --icon-feature: clamp(52px, 4.5vw, 64px);
  --icon-why: clamp(56px, 5vw, 68px);
  --icon-contact: 36px;
  --icon-social: 44px;
  --logo-h: clamp(54px, 6vw, 60px);
  --logo-h-footer: clamp(42px, 4.5vw, 48px);
  --icon-inner-scale: 165%;
  --icon-tile-bg: #151515;
  --icon-tile-border: rgba(244, 240, 234, 0.1);
  --icon-tile-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--icon-tile-bg);
  border: 1px solid var(--icon-tile-border);
  border-radius: var(--icon-tile-radius);
}

.icon-slot img {
  width: var(--icon-inner-scale);
  height: var(--icon-inner-scale);
  max-width: none;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.icon-slot--service {
  width: var(--icon-service);
  height: var(--icon-service);
  margin: 0 auto 16px;
}

.icon-slot--feature {
  width: var(--icon-feature);
  height: var(--icon-feature);
}

.icon-slot--why {
  width: var(--icon-why);
  height: var(--icon-why);
  margin: 0 auto 16px;
}

.icon-slot--contact {
  width: var(--icon-contact);
  height: var(--icon-contact);
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sharp);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: var(--text);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline:hover {
  background: rgba(166, 124, 82, 0.12);
}

.btn--header {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

.btn--submit {
  width: 100%;
  justify-content: space-between;
  padding: 16px 24px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease-out), gap 0.25s var(--ease-out);
}

.link-btn:hover {
  color: var(--accent-hover);
  gap: 12px;
}

.link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0) 100%);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.header.is-scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  padding: 12px 0;
}

.logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  height: var(--logo-h);
  width: auto;
}

.logo--footer .logo__img {
  height: var(--logo-h-footer);
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s var(--ease-out);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 85vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      var(--bg) 0%,
      var(--bg) 16%,
      rgba(8, 8, 8, 0.94) 30%,
      rgba(8, 8, 8, 0.72) 42%,
      rgba(8, 8, 8, 0.35) 56%,
      rgba(8, 8, 8, 0.08) 68%,
      transparent 82%
    ),
    linear-gradient(180deg, transparent 55%, rgba(8, 8, 8, 0.85) 100%);
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero__grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 48px 24px;
}

.hero__content {
  max-width: 560px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  animation: hero-rise 0.8s var(--ease-out) both;
}

.hero__kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
  animation: hero-rise 0.9s var(--ease-out) both;
}

.hero__title-line:nth-child(1) {
  animation-delay: 0.08s;
}

.hero__title-line:nth-child(2) {
  animation-delay: 0.16s;
}

.hero__title-line--accent {
  color: var(--text);
  -webkit-text-stroke: 1px rgba(196, 154, 108, 0.35);
  paint-order: stroke fill;
}

.hero__lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(244, 240, 234, 0.78);
  margin-bottom: 36px;
  max-width: 420px;
  animation: hero-rise 1s var(--ease-out) 0.24s both;
}

.hero__content .btn {
  animation: hero-rise 1s var(--ease-out) 0.32s both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__features {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding-block: 32px 48px;
  border-top: 1px solid rgba(196, 154, 108, 0.18);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 220px;
  max-width: 340px;
  position: relative;
  padding-left: 14px;
}

.hero-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.hero-feature strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.hero-feature span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding-block: 64px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-head--solo {
  justify-content: flex-start;
}

.section-head__title {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.section-head__title--booking {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-head__index {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 154, 108, 0.35);
}

.section-head h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  text-align: center;
  isolation: isolate;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover {
  border-color: rgba(196, 154, 108, 0.45);
  transform: translateY(-3px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card h3 {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.service-card__time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Masters */
.masters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.master-card {
  position: relative;
  border-radius: var(--radius-sharp);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.35s var(--ease-out);
}

.master-card:hover {
  transform: translateY(-4px);
}

.master-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.master-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.master-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.master-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.master-card__exp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Works */
.works__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.works__grid figure {
  margin: 0;
  border-radius: var(--radius-sharp);
  overflow: hidden;
  position: relative;
}

.works__grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 8, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.works__grid figure:hover::after {
  opacity: 1;
}

.works__grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s;
}

.works__grid figure:hover img {
  transform: scale(1.04);
}

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 20px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sharp);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.why-card:hover {
  border-color: var(--border);
  background: rgba(17, 17, 17, 0.6);
}

.why-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Reviews */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(196, 154, 108, 0.15);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.stars {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Booking */
.booking {
  padding-bottom: 80px;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.booking__info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0;
}

.booking__contacts {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking__contacts li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
}

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

.booking__social {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-social);
  height: var(--icon-social);
  flex-shrink: 0;
  border: 1px solid var(--icon-tile-border);
  border-radius: var(--icon-tile-radius);
  background: var(--icon-tile-bg);
  color: var(--text);
  line-height: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-btn:hover {
  border-color: var(--accent);
  background: rgba(196, 154, 108, 0.12);
  color: var(--accent);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--bg-form);
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  box-shadow: inset 0 1px 0 rgba(196, 154, 108, 0.08);
}

.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-form label {
  display: block;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  color: var(--text);
  font-size: 0.8125rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.booking-form input::placeholder {
  color: var(--text-muted);
}

.booking-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.booking-form select option {
  background: var(--bg-form);
  color: var(--text);
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.12);
}

/* Footer */
.footer {
  padding-block: 32px 40px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.footer__privacy {
  justify-self: end;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer__privacy:hover {
  color: var(--accent);
}

/* Modal */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-root[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
  padding: 32px;
  background: var(--bg-form);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.modal-card--wide {
  width: min(900px, 100%);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 4px 8px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
}

.modal-card h2 {
  font-size: 1.125rem;
  margin-bottom: 20px;
  padding-right: 32px;
}

.modal-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.modal-body p + p {
  margin-top: 12px;
}

.modal-body a {
  color: var(--accent);
}

body.modal-open {
  overflow: hidden;
}

/* Modal content */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-grid figcaption {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 8px 4px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-table td:last-child {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.reviews-modal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.masters-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.master-modal-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.master-modal-card img {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.master-modal-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.master-modal-card__role {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 6px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 14px 24px;
  background: var(--bg-form);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sharp);
  font-size: 0.875rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.toast[hidden] {
  display: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (min-width: 901px) {
  :root {
    --shell-left: max(24px, calc((100vw - var(--layout-max)) / 2));
    --shell-width: min(var(--layout-max), calc(100vw - 48px));
    --hero-text-width: min(520px, 42%);
    --hero-media-left: calc(var(--shell-left) + var(--hero-text-width));
    --hero-media-width: max(360px, calc(var(--shell-width) - var(--hero-text-width)));
  }

  .container {
    width: var(--shell-width);
    max-width: var(--shell-width);
    margin-left: var(--shell-left);
    margin-right: auto;
  }

  .hero__bg {
    inset: auto;
    top: var(--header-h);
    bottom: 0;
    left: var(--hero-media-left);
    width: var(--hero-media-width);
    right: auto;
  }

  .hero__bg::before {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.18) 22%, transparent 42%),
      linear-gradient(180deg, transparent 55%, rgba(8, 8, 8, 0.85) 100%);
  }

  .hero__bg img {
    object-position: 72% top;
  }
}

@media (min-width: 1920px) {
  .hero__bg img {
    object-position: 74% top;
  }
}

@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    width: 100%;
    text-align: center;
  }

  .btn--header {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .booking__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__bg img {
    width: 100%;
    opacity: 0.45;
    object-position: 70% center;
  }

  .hero__bg::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.85) 60%,
      #000 100%
    );
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(var(--layout-max), calc(100% - 32px));
  }

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

  .masters__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

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

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

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

  .booking-form__row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .footer__privacy {
    justify-self: center;
  }

  .hero__features {
    flex-direction: column;
    gap: 20px;
  }

  .hero-feature {
    max-width: none;
  }
}

