:root {
  --ink: #121820;
  --muted: #64707a;
  --paper: #eef1f4;
  --paper-strong: #e1e6eb;
  --white: #f7f9fb;
  --stone: #c8d0d8;
  --olive: #8a949e;
  --olive-dark: #47545e;
  --graphite: #141a20;
  --accent: #121820;
  --accent-hot: #5e6b75;
  --line: rgba(18, 24, 32, 0.12);
  --radius-lg: 30px;
  --radius-md: 18px;
  --shadow: 0 28px 70px rgba(16, 24, 36, 0.12);
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
  --display: "Montserrat", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding: 18px clamp(22px, 5vw, 8vw);
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid rgba(18, 24, 32, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--display);
  font-size: clamp(14px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.05;
}

.brand__line {
  display: block;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.brand__caption {
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.38em;
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.4vw, 24px);
  color: var(--olive-dark);
  font-size: clamp(10px, 0.82vw, 11px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.socials {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--light {
  color: var(--ink);
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.section-grid,
.services,
.masters,
.about,
.booking,
.location {
  padding: clamp(72px, 9vw, 130px) 8vw;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
  min-height: calc(100vh - 92px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 8%;
  right: -11vw;
  width: 42vw;
  height: 42vw;
  min-width: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 210, 222, 0.72), rgba(200, 210, 222, 0));
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 670px;
  margin-bottom: 28px;
  font-size: clamp(40px, 6.5vw, 82px);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__content h1 {
  max-width: 650px;
  font-size: clamp(40px, 6vw, 78px);
}

.hero__notes {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.hero__notes p {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent-hot);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--muted);
  background: rgba(247, 249, 252, 0.72);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.35;
}

.hero__text {
  max-width: 480px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__media {
  position: relative;
  align-self: end;
}

.hero__media img {
  width: min(100%, 560px);
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 46% 46% 14px 14px;
  box-shadow: var(--shadow);
}

.hero__media::after {
  position: absolute;
  right: -22px;
  bottom: 52px;
  width: 94px;
  height: 210px;
  border-radius: 80px;
  background: linear-gradient(var(--accent), var(--accent-hot));
  content: "";
  opacity: 0.85;
  z-index: -1;
}

.play-card {
  position: absolute;
  right: -54px;
  bottom: 18%;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 20px 14px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(247, 249, 252, 0.92);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
}

.play-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.play-card__icon::before {
  display: block;
  width: 0;
  height: 0;
  margin: 20px 0 0 23px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid var(--ink);
  content: "";
}

.master-card p,
.about p,
.booking p,
.footer p {
  color: var(--muted);
}

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

.section-note {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
}

.service-lead {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: 24px;
  align-items: center;
  margin: -10px 0 34px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(247, 249, 252, 0.9), rgba(214, 222, 232, 0.82)),
    var(--white);
}

.service-lead__number {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.service-lead__label {
  display: block;
  margin-top: 10px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-lead p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-lead__content {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.services__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.services__intro h2 {
  margin: 0 0 14px;
}

.services__lead {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.services-catalog {
  display: grid;
  gap: 18px;
}

.services-catalog__filter {
  display: grid;
  gap: 8px;
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
}

.services-catalog__filter select {
  width: 100%;
  min-height: 52px;
  padding: 0 46px 0 16px;
  border: 1px solid rgba(18, 24, 32, 0.18);
  border-radius: 10px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(247, 249, 252, 0.96), rgba(214, 222, 232, 0.82)),
    var(--white);
  box-shadow: 0 14px 34px rgba(20, 28, 36, 0.06);
  appearance: none;
  background-image:
    linear-gradient(135deg, rgba(247, 249, 252, 0.96), rgba(214, 222, 232, 0.82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23121820' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, calc(100% - 18px) 50%;
  cursor: pointer;
}

.services-panel {
  border: 1px solid rgba(18, 24, 32, 0.14);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.services-panel__head {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(18, 24, 32, 0.08);
  text-align: center;
}

.services-panel__head p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.services-panel__empty {
  margin: 0;
  padding: 28px 22px;
  color: var(--muted);
  text-align: center;
}

.services-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-item {
  padding: 18px 22px;
  border-top: 1px solid rgba(18, 24, 32, 0.06);
}

.services-item:first-child {
  border-top: 0;
}

.services-item__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.services-item h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.services-item__price {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.services-item__note {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.services-page .services {
  padding-top: clamp(96px, 12vw, 140px);
}

.services-page .booking--inline {
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.services__footer {
  display: grid;
  justify-items: start;
  gap: 18px;
  margin-top: 28px;
}

.services__footer p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.portfolio {
  padding: clamp(72px, 8vw, 118px) 8vw;
  color: var(--white);
  background: var(--graphite);
}

.section-heading--dark .eyebrow,
.text-link--light {
  color: rgba(247, 249, 252, 0.72);
}

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

.portfolio-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
}

.masters {
  background: var(--paper-strong);
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

.master-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.master-carousel {
  position: relative;
}

.master-carousel__hint,
.master-carousel__fade,
.master-carousel__nav {
  display: none;
}

.master-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  border-radius: var(--radius-lg);
  background: #ccd4dc;
  box-shadow: var(--shadow);
}

.master-card img {
  display: block;
  width: 100%;
  height: clamp(260px, 24vw, 360px);
  object-fit: cover;
  object-position: center 12%;
  background: #ccd4dc;
  transition: transform 0.5s ease;
}

.master-card:hover img {
  transform: scale(1.02);
}

.master-card div {
  position: static;
  margin-top: 0;
  min-height: 115px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px 22px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  color: var(--white);
  background: rgba(18, 24, 32, 0.88);
  backdrop-filter: blur(14px);
}

.master-card h3 {
  font-size: clamp(18px, 1.5vw, 26px);
}

.master-card p {
  margin-bottom: 0;
  color: rgba(247, 249, 252, 0.72);
  font-size: clamp(12px, 1vw, 15px);
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
}

.about__media {
  display: grid;
  align-items: stretch;
}

.about__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.28;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about__content p {
  max-width: 560px;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0 0;
}

.stats div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(247, 249, 252, 0.66);
}

.stats dt {
  font-family: var(--display);
  font-size: 28px;
}

.stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  background: var(--white);
}

.booking__intro p {
  max-width: 420px;
}

.booking__action {
  display: flex;
  justify-content: flex-end;
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  background: var(--paper-strong);
}

.location__content {
  display: grid;
  gap: 18px;
  align-content: start;
}

.location__content h2 {
  margin: 0;
}

.location__address,
.location__hours {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.location__map {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #d8dee6;
  box-shadow: var(--shadow);
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.form-policy {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.form-policy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.form-checkbox input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-hot);
}

.form-checkbox a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-size: 11px;
  line-height: 1.45;
}

.custom-select {
  position: relative;
  z-index: 2;
}

.custom-select.is-open {
  z-index: 9;
}

.custom-select__button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 46px 0 16px;
  border: 1px solid rgba(18, 24, 32, 0.12);
  border-radius: 10px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(247, 249, 252, 0.96), rgba(214, 222, 232, 0.82)),
    var(--white);
  box-shadow: 0 14px 34px rgba(20, 28, 36, 0.06);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.custom-select__button::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select__button:hover,
.custom-select__button:focus-visible {
  border-color: rgba(18, 24, 32, 0.72);
  box-shadow: 0 18px 42px rgba(20, 28, 36, 0.1);
  outline: none;
}

.custom-select.is-open .custom-select__button {
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(20, 28, 36, 0.14);
  transform: translateY(-1px);
}

.custom-select.is-open .custom-select__button::after {
  transform: translateY(-30%) rotate(225deg);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid rgba(18, 24, 32, 0.1);
  border-radius: 16px;
  background: rgba(247, 249, 252, 0.98);
  box-shadow: 0 24px 70px rgba(20, 28, 36, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.custom-select.is-open .custom-select__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.custom-select__menu button {
  position: relative;
  min-height: 42px;
  padding: 0 38px 0 13px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.custom-select__menu button:hover,
.custom-select__menu button:focus-visible {
  background: rgba(130, 145, 160, 0.14);
  outline: none;
}

.custom-select__menu button[aria-selected="true"] {
  color: var(--olive-dark);
  background: rgba(18, 24, 32, 0.08);
}

.custom-select__menu button[aria-selected="true"]::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 12px;
  border-right: 2px solid var(--accent-hot);
  border-bottom: 2px solid var(--accent-hot);
  content: "";
  transform: translateY(-60%) rotate(45deg);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 42px;
  padding: 58px 8vw;
  color: rgba(247, 249, 252, 0.82);
  background: #101820;
}

.footer h3 {
  color: var(--white);
  font-size: 18px;
}

.brand--footer .brand__caption,
.footer p,
.footer a {
  color: rgba(247, 249, 252, 0.68);
}

.footer-legal {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-map-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-schedule {
  margin: 10px 0 0;
  color: rgba(247, 249, 252, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 249, 252, 0.08);
}

.footer-requisites,
.footer-copy {
  margin: 0;
  color: rgba(247, 249, 252, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.legal-page {
  padding: clamp(96px, 12vw, 150px) 8vw clamp(72px, 8vw, 110px);
  background: var(--paper);
}

.legal-page__content {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 34px;
  font-size: clamp(36px, 5vw, 68px);
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
}

.legal-page p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-list {
  max-width: 820px;
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-list li + li {
  margin-top: 6px;
}

@media (max-width: 1420px) {
  .header-actions .socials {
    display: none;
  }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    position: fixed;
    right: 24px;
    left: 24px;
    display: grid;
    justify-items: start;
    padding: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .main-nav {
    top: 88px;
    gap: 16px;
    border-radius: 22px 22px 0 0;
  }

  .header-actions {
    top: 360px;
    border-radius: 0 0 22px 22px;
  }

  body.nav-open .main-nav,
  body.nav-open .header-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero,
  .about,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero__media img {
    width: 100%;
    max-height: 720px;
    border-radius: var(--radius-lg);
  }

  .service-lead {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header,
  .section-grid,
  .services,
  .portfolio,
  .masters,
  .about,
  .booking,
  .location,
  .footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding-top: 56px;
  }

  .services-catalog__filter {
    max-width: none;
  }

  .services-item__row {
    flex-direction: column;
    gap: 8px;
  }

  .services-item__price {
    white-space: normal;
  }

  .service-lead,
  .stats,
  .booking,
  .location,
  .footer {
    grid-template-columns: 1fr;
  }

  .booking__action,
  .location__map {
    justify-content: stretch;
  }

  .location__map {
    min-height: 300px;
  }

  .location__map iframe {
    min-height: 300px;
  }

  .hero__buttons,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__buttons .button,
  .booking__action .button {
    width: 100%;
  }

  .play-card {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 46px 1fr;
    max-width: calc(100% - 28px);
  }

  .play-card__icon {
    width: 46px;
    height: 46px;
  }

  .play-card__icon::before {
    margin: 15px 0 0 18px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .portfolio-grid img {
    height: clamp(160px, 40vw, 210px);
  }

  .about__media img {
    aspect-ratio: 1.2;
  }

  .master-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-right: 22px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .master-grid::-webkit-scrollbar {
    display: none;
  }

  .master-carousel {
    margin-right: -22px;
  }

  .master-carousel__hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: master-hint-nudge 2.4s ease-in-out infinite;
  }

  .master-carousel__hint::after {
    content: "→";
  }

  .master-carousel__hint.is-hidden {
    display: none;
  }

  .master-carousel__fade {
    display: block;
    position: absolute;
    top: 34px;
    right: 0;
    bottom: 58px;
    width: 56px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(236, 240, 244, 0), var(--paper-strong));
    transition: opacity 0.25s ease;
  }

  .master-carousel__fade.is-hidden {
    opacity: 0;
  }

  .master-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding-right: 22px;
  }

  .master-carousel__dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .master-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 24, 32, 0.16);
    cursor: pointer;
    transition:
      width 0.2s ease,
      background-color 0.2s ease;
  }

  .master-carousel__dot.is-active {
    width: 24px;
    background: var(--accent-hot);
  }

  .master-carousel__arrow {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 24, 32, 0.12);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(18, 24, 32, 0.08);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  .master-carousel__arrow[disabled] {
    opacity: 0.35;
    cursor: default;
  }

  .master-card {
    flex: 0 0 min(76vw, 300px);
    scroll-snap-align: start;
  }

  .master-card img {
    height: 300px;
  }
}

@keyframes master-hint-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 460px) {
  .brand__name {
    font-size: 16px;
  }

  .brand__caption {
    letter-spacing: 0.28em;
  }

  h1 {
    font-size: 48px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .portfolio-grid img {
    height: clamp(140px, 42vw, 210px);
  }
}

.portfolio-page {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 64px) clamp(90px, 10vw, 140px);
  background: var(--graphite);
  color: var(--white);
}

.portfolio-page__hero {
  max-width: 760px;
  margin-bottom: 42px;
}

.portfolio-page__hero .eyebrow {
  color: rgba(247, 249, 252, 0.72);
}

.portfolio-page__lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(247, 249, 252, 0.72);
  font-size: 18px;
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.portfolio-tabs a {
  padding: 10px 14px;
  border: 1px solid rgba(247, 249, 252, 0.22);
  border-radius: 999px;
  color: rgba(247, 249, 252, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.portfolio-tabs a:hover {
  color: var(--white);
  border-color: rgba(247, 249, 252, 0.5);
}

.portfolio-page__hero .button--light {
  color: var(--white);
  border-color: rgba(247, 249, 252, 0.32);
}

.portfolio-category {
  margin-top: clamp(42px, 6vw, 72px);
}

.portfolio-category__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(247, 249, 252, 0.16);
}

.portfolio-category__heading .eyebrow {
  margin-bottom: 10px;
  color: rgba(247, 249, 252, 0.56);
}

.portfolio-category__heading h2 {
  color: var(--white);
}

.portfolio-page__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-page__item {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(247, 249, 252, 0.06);
}

.portfolio-page__item img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-page__item:hover img {
  transform: scale(1.03);
}

.portfolio-page__item--wide {
  grid-column: span 2;
}

.portfolio-page__item--wide img {
  height: 320px;
}

.portfolio-page__item--tall img {
  height: 360px;
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 1100px) {
  .portfolio-page__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-page__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .portfolio-page__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .portfolio-page__item--wide,
  .portfolio-page__item--tall {
    grid-column: auto;
  }

  .portfolio-page__item img,
  .portfolio-page__item--wide img,
  .portfolio-page__item--tall img {
    height: clamp(140px, 42vw, 260px);
  }
}
