/*
 * REUVEN & DAVID — boevoy stylesheet.
 * Visual language: approved artboards designs/approved-2026-09-15/
 * (Main.dc.html — phone RU, He.dc.html — phone HE RTL, Desktop.dc.html — 1440).
 * Artboards are inline-styled mockups; here the same language is expressed with
 * the tokens below. Prices are absent on purpose — the owner has not given them.
 */

:root {
  color-scheme: dark;
  --canvas: #0c0b0a;
  --surface: #131110;
  --surface-raised: #1a1615;
  --tile: #141110;
  --text: #ffffff;
  --text-soft: #bfb8b3;
  --text-muted: #9a9490;
  --text-dim: #7e7671;
  --line: #1f1b19;
  --line-soft: #332d2a;
  --accent: #f2731c;
  --accent-hover: #ff8c40;
  --on-accent: #0c0b0a;
  --star: #f5c518;
  --danger: #ff8f82;
  --focus: #fff5df;
  --font-display: "Oswald", "Heebo", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Rubik", "Heebo", "Segoe UI", Arial, sans-serif;
  --page-pad: clamp(1.25rem, 3.2vw, 4rem);
  --wrap: 74rem;
  --header-height: 4.75rem;
  --duration-fast: 120ms;
  --duration-default: 200ms;
  --duration-slow: 300ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hebrew has no condensed uppercase display face: Heebo Black carries the weight. */
:root[lang="he"] {
  --font-display: "Heebo", "Rubik", Arial, sans-serif;
}

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

html {
  min-width: 20rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: rgba(242, 115, 28, 0.24);
  touch-action: manipulation;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

[hidden] {
  display: none !important;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

:focus-visible {
  outline: 0.16rem solid var(--focus);
  outline-offset: 0.22rem;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--canvas);
  font-weight: 700;
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  min-height: var(--header-height);
  border-block-end: 1px solid var(--line);
  background: rgba(12, 11, 10, 0.94);
  backdrop-filter: blur(0.8rem);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2.5rem);
  width: min(100%, var(--wrap));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand svg {
  flex: none;
}

.brand-word {
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav,
.language-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
}

.primary-nav a,
.language-nav a,
.eyebrow,
.button,
.menu-toggle,
.service-option,
.progress-list,
.wizard-kicker,
.section-label,
.stat-label {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav a,
.language-nav a {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.language-nav a:hover,
.language-nav a:focus-visible {
  color: var(--accent-hover);
}

.language-nav {
  gap: 0.85rem;
  color: var(--text-dim);
  font-size: 0.75rem;
}

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

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1.4rem;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.menu-toggle-lines::before {
  transform: translateY(-0.45rem);
}

.menu-toggle-lines::after {
  transform: translateY(0.375rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: translateY(0) rotate(45deg);
  opacity: 1;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: translateY(-1.5px) rotate(-45deg);
  opacity: 1;
}

/* ---------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.button:active,
.service-option:active,
.choice:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--line-soft);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.button svg {
  flex: none;
}

.header-booking {
  min-height: 2.6rem;
  padding: 0.7rem 1.45rem;
  font-size: 0.8rem;
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
  min-height: min(44rem, calc(100svh - var(--header-height)));
  background: var(--canvas);
}

.hero-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #0a0908;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: contrast(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--canvas) 0%, rgba(12, 11, 10, 0.86) 26%, rgba(12, 11, 10, 0.25) 52%, rgba(12, 11, 10, 0) 78%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.8) 0%, rgba(12, 11, 10, 0) 30%, rgba(12, 11, 10, 0) 62%, var(--canvas) 100%);
  pointer-events: none;
}

[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, var(--canvas) 0%, rgba(12, 11, 10, 0.86) 26%, rgba(12, 11, 10, 0.25) 52%, rgba(12, 11, 10, 0) 78%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.8) 0%, rgba(12, 11, 10, 0) 30%, rgba(12, 11, 10, 0) 62%, var(--canvas) 100%);
}

.hero-mark {
  position: absolute;
  inset-block-start: clamp(1rem, 3vw, 2.5rem);
  inset-inline: 0;
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.hero-copy {
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem) var(--page-pad) clamp(2.5rem, 5vw, 4.5rem);
  padding-inline-start: max(var(--page-pad), calc((100vw - var(--wrap)) / 2 + var(--page-pad)));
}

[dir="rtl"] .hero-copy {
  text-align: right;
}

.eyebrow,
.section-label,
.wizard-kicker {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .section-label {
  letter-spacing: 0.06em;
  text-transform: none;
}

.display {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.2vw, 5.6rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.04;
  text-transform: uppercase;
}

.display-line {
  display: block;
  max-width: 100%;
}

.display .accent {
  color: var(--accent);
}

.hero-lede {
  max-width: 42ch;
  margin: 1.5rem 0 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block-start: 2rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  color: var(--text-dim);
  font-size: 0.8rem;
}

[dir="rtl"] .hero-note,
[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

/* ---------------------------------------------------------------- figures band */

.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, var(--wrap));
  margin-inline: auto;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.figure-cell {
  min-width: 0;
  padding: clamp(1.4rem, 2.6vw, 2.3rem) clamp(0.9rem, 2vw, 1.9rem);
  background: var(--canvas);
  text-align: center;
}

.figure-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.figure-label {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

/* ---------------------------------------------------------------- sections */

.section {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding: clamp(2.75rem, 6vw, 6rem) var(--page-pad);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: clamp(1.25rem, 2.5vw, 2rem);
}

.section-title {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

:root[lang="he"] .section-title,
:root[lang="he"] .display,
:root[lang="he"] .statement {
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: none;
}

.section-intro {
  max-width: 48ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- works */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.works-tile {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--tile);
}

.works-tile {
  aspect-ratio: 3 / 4;
}

.works-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform var(--duration-slow) var(--ease-out);
}

.works-tile:hover img {
  transform: scale(1.03);
}

/* ---------------------------------------------------------------- price */

.price-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.price-layout > * {
  min-width: 0;
}

.price-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-block-start: 1px solid var(--line);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.95rem 0;
  border-block-end: 1px solid var(--line);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

:root[lang="he"] .price-name {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.price-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  border-block-end: 1px dotted var(--line-soft);
  transform: translateY(-0.25rem);
}

/*
 * No sums: the owner has not given them. The approved artboard puts the name of
 * the master who does the service where the price will later stand.
 */
.price-value {
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

:root[lang="he"] .price-value {
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}

.price-note {
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.service-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.service-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 3.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: start;
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.service-option:hover,
.service-option:focus-visible {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.service-option small {
  display: block;
  margin-block-start: 0.2rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: none;
}

.service-mark {
  color: var(--accent);
  font-size: 1.1rem;
}

.direction-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- masters */

.masters-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.4rem);
}

.master-card {
  position: relative;
  min-width: 0;
  margin: 0;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--tile);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
  filter: brightness(0.86);
  user-select: none;
}

.master-card .media-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0) 40%, rgba(12, 11, 10, 0.94) 86%);
  content: "";
}

.master-body {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 1;
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

[dir="rtl"] .master-body {
  text-align: right;
}

.master-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

:root[lang="he"] .master-name {
  font-weight: 900;
  text-transform: none;
}

.master-role {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- booking band */

.booking-band {
  position: relative;
  overflow: hidden;
  background: #0a0908;
}

.booking-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 44%;
  filter: saturate(0.55) contrast(1.12) brightness(0.55) sepia(0.1);
}

.booking-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--canvas) 0%, rgba(12, 11, 10, 0.78) 28%, rgba(12, 11, 10, 0.92) 100%);
}

.booking-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(3rem, 7vw, 6rem) var(--page-pad);
  text-align: center;
}

.statement {
  max-width: 20ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.booking-steps {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  list-style: none;
}

.booking-steps li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
}

.booking-steps span {
  color: var(--accent);
  font-weight: 600;
}

.booking-inner .button {
  width: min(100%, 22rem);
  margin-block-start: 0.5rem;
}

/* ---------------------------------------------------------------- contact */

.studio-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.studio-grid > *,
.contact-grid > * {
  min-width: 0;
}

.contact-copy p {
  max-width: 48ch;
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card {
  margin-block-start: 1.5rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.75rem;
}

.hours {
  margin: 0;
  border-block-start: 1px solid var(--line);
}

.hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  gap: 1rem;
  padding: 0.85rem 0;
  border-block-end: 1px solid var(--line);
}

.hours dt,
.hours dd {
  margin: 0;
}

.hours dt {
  color: var(--text-muted);
}

.hours dd {
  min-width: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  text-align: end;
  white-space: nowrap;
}

[dir="rtl"] .hours dd {
  text-align: right;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  display: flex;
  width: min(100%, var(--wrap));
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-inline: auto;
  padding: 1.4rem var(--page-pad) 2rem;
  border-block-start: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.78rem;
}

.site-footer p {
  max-width: 65ch;
  margin: 0;
}

.footer-brand {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- booking dialog
 * Unchanged from the previous release: the wizard markup and its behaviour are
 * outside this task. */

.booking-dialog {
  width: min(46rem, calc(100% - 2rem));
  max-height: min(52rem, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 0.15rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.55);
}

.booking-dialog::backdrop {
  background: rgba(4, 2, 9, 0.82);
  backdrop-filter: blur(0.25rem);
}

.booking-dialog[open] {
  animation: dialog-in var(--duration-slow) var(--ease-out);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(0.8rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wizard-shell {
  display: flex;
  max-height: min(52rem, calc(100dvh - 2rem));
  flex-direction: column;
  overscroll-behavior: contain;
}

.wizard-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem) 1.2rem;
  border-block-end: 1px solid var(--line);
}

.wizard-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-stretch: condensed;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.wizard-kicker {
  margin-block-end: 0.6rem;
  color: var(--accent-hover);
}

.wizard-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.wizard-language {
  display: flex;
  grid-column: 1 / -1;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.wizard-language a {
  min-height: 2.75rem;
  align-content: center;
}

.progress-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0 clamp(1.25rem, 4vw, 2.25rem);
  border-block-end: 1px solid var(--line);
  list-style: none;
}

.progress-list li {
  position: relative;
  padding: 0.8rem 0.25rem;
  color: var(--text-muted);
  text-align: center;
}

.progress-list li::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  background: transparent;
  content: "";
}

.progress-list li.is-current {
  color: var(--text);
}

.progress-list li.is-current::after,
.progress-list li.is-complete::after {
  background: var(--accent);
}

.wizard-form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.wizard-body {
  min-height: 18rem;
  flex: 1;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.25rem);
  scrollbar-color: var(--accent) var(--surface);
}

.wizard-step {
  margin: 0;
  padding: 0;
  border: 0;
}

.step-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.2;
  text-wrap: balance;
}

.step-copy {
  max-width: 54ch;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  text-wrap: pretty;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-grid--times {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
  transition: transform 90ms var(--ease-out);
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice span {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  line-height: 1.3;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.choice:hover span,
.choice input:checked + span {
  border-color: var(--accent);
  background: rgba(229, 82, 64, 0.12);
}

.choice input:focus-visible + span {
  outline: 0.16rem solid var(--focus);
  outline-offset: 0.2rem;
}

.choice small {
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #100d1a;
  color: var(--text);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aa9ba2;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error,
.step-error {
  min-height: 1.25rem;
  margin: 0;
  color: var(--danger);
  font-size: 0.83rem;
}

.step-error {
  margin-block-start: 1rem;
}

.summary-list {
  margin: 0;
  border-block-start: 1px solid var(--line);
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-block-end: 1px solid var(--line);
}

.summary-row dt,
.summary-row dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.summary-row dt {
  color: var(--text-muted);
}

.demo-boundary {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 0.9rem;
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.25rem) 1.25rem;
  border-block-start: 1px solid var(--line);
  background: var(--surface-raised);
}

.wizard-footer .button {
  min-width: 8.5rem;
}

/* ---------------------------------------------------------------- RTL */

[dir="rtl"] body,
[dir="rtl"] .service-option,
[dir="rtl"] .wizard-body,
[dir="rtl"] .field input,
[dir="rtl"] .field textarea {
  text-align: right;
}

[dir="rtl"] .display,
[dir="rtl"] .section-title,
[dir="rtl"] .direction-title,
[dir="rtl"] .statement,
[dir="rtl"] .master-name,
[dir="rtl"] .wizard-title {
  font-family: "Heebo", "Rubik", Arial, sans-serif;
  font-stretch: normal;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: none;
}

[dir="rtl"] .price-name,
[dir="rtl"] .price-value,
[dir="rtl"] .button,
[dir="rtl"] .eyebrow,
[dir="rtl"] .section-label,
[dir="rtl"] .figure-value,
[dir="rtl"] .footer-brand,
[dir="rtl"] .brand {
  font-family: "Heebo", "Rubik", Arial, sans-serif;
}

[dir="rtl"] .brand,
[dir="rtl"] .footer-brand {
  text-transform: none;
}

[dir="rtl"] .booking-inner,
[dir="rtl"] .hero-copy {
  align-items: flex-end;
  text-align: right;
}

[dir="rtl"] .booking-steps li,
[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-note {
  justify-content: flex-end;
}

/* Latin brand and locale tokens keep their own direction inside the RTL flow. */
[dir="rtl"] .ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------------------------------------------------------------- viewports */

@media (max-width: 70rem) {
  .header-booking {
    display: none;
  }

  .price-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 55rem) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    display: none;
    padding: 0.75rem var(--page-pad) 1.1rem;
    border-block-end: 1px solid var(--accent);
    background: var(--surface);
  }

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

  .primary-nav a {
    min-height: 2.75rem;
    align-content: center;
    border-block-end: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .hero-media {
    order: -1;
    height: clamp(20rem, 62svh, 34rem);
  }

  .hero-scrim,
  [dir="rtl"] .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(12, 11, 10, 0.94) 0%,
      rgba(12, 11, 10, 0.55) 13%,
      rgba(12, 11, 10, 0) 30%,
      rgba(12, 11, 10, 0) 74%,
      rgba(12, 11, 10, 0.7) 92%,
      var(--canvas) 100%
    );
  }

  .hero-copy {
    align-items: center;
    padding-block: 1.25rem 2.5rem;
    text-align: center;
  }


  .hero-lede,
  .display {
    max-width: none;
  }

  .hero-actions {
    width: 100%;
    margin-block-start: 1.5rem;
  }

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

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

  .masters-layout {
    grid-template-columns: 1fr;
  }

  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 36rem) {
  :root {
    --header-height: 4.25rem;
  }

  .brand-word {
    display: none;
  }

  .language-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .display {
    font-size: clamp(2.1rem, 9.6vw, 3rem);
  }

  .section-title,
  .statement {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .direction-title {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .section {
    padding-block: 2.5rem;
  }

  .figure-value {
    font-size: 1.6rem;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .booking-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .wizard-shell {
    max-height: calc(100dvh - 1rem);
  }

  .wizard-header {
    padding-block-start: 1.1rem;
  }

  .progress-list {
    font-size: 0.67rem;
    letter-spacing: 0.06em;
  }

  .choice-grid,
  .choice-grid--times,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .wizard-footer {
    position: sticky;
    inset-block-end: 0;
  }

  .wizard-footer .button {
    min-width: 0;
    flex: 1;
    padding-inline: 0.7rem;
  }

  .summary-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

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

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

.summary-bot-cta {
  display: inline-flex;
  max-width: 100%;
  margin-block-start: 1.25rem;
}

[dir="rtl"] .summary-bot-cta {
  direction: rtl;
}

/*
 * Cyrillic caps in the condensed display face are taller than Latin caps and
 * carry diacritics, so the Latin line-height makes the ink of one line land on
 * the next. Measured on a real 375px render; scoped to the Russian document.
 */
:root[lang="ru"] .display,
:root[lang="ru"] .section-title,
:root[lang="ru"] .statement,
:root[lang="ru"] .direction-title,
:root[lang="ru"] .master-name,
:root[lang="ru"] .wizard-title {
  line-height: 1.12;
}

/*
 * Heading rhythm: a heading never touches the text under it.
 */
.section-title + p,
.statement + p {
  margin-block-start: 1.25rem;
}

.master-name + p,
.wizard-title + p,
.step-title + p {
  margin-block-start: 0.75rem;
}

/* ------------------------------------------------- sticky booking bar */
/* Phones only: a booking button built into the bottom edge of the screen.
   Hidden on the untouched first screen, slides in as soon as scrolling starts (Bo 13.10),
   hides while the booking dialog is open. */
.sticky-book {
  display: none;
}

@media (max-width: 47.99rem) {
  .sticky-book {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 30;
    display: block;
    padding: 0.7rem var(--page-pad) calc(0.7rem + env(safe-area-inset-bottom));
    border-block-start: 1px solid var(--line);
    background: rgba(12, 11, 10, 0.94);
    backdrop-filter: blur(0.8rem);
    box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.45);
    transform: translateY(120%);
    transition: transform var(--duration-fast) var(--ease-out);
  }

  .sticky-book .button {
    width: 100%;
  }

  .sticky-book.is-visible {
    transform: translateY(0);
  }

  body.dialog-open .sticky-book {
    transform: translateY(120%);
  }

  body:has(.sticky-book) {
    padding-block-end: 4.6rem;
  }
}
