/* Square 99 — Brand-aligned design system
   Brand: cream-forward, Comfortaa, orange #ef4c23 + navy #142233 + sand #dac5ae */

:root {
  /* Palette — Cream (default, brand-primary) */
  --cream: #f4ead9;
  --cream-deep: #dac5ae;
  --cream-soft: #faf3e8;
  --ink: #142233;
  --ink-deep: #0d1722;
  --orange: #ef4c23;
  --orange-deep: #c93812;
  --orange-soft: #f8a48a;

  /* Surface tokens — these change per palette */
  --bg: var(--cream-soft);
  --bg-alt: var(--cream);
  --bg-panel: var(--cream-deep);
  --fg: var(--ink);
  --fg-dim: rgba(20, 34, 51, 0.62);
  --fg-mute: rgba(20, 34, 51, 0.42);
  --line: rgba(20, 34, 51, 0.14);
  --line-strong: rgba(20, 34, 51, 0.28);
  --accent: var(--orange);
  --accent-deep: var(--orange-deep);

  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;

  --nav-h: 76px;
  --max: 1400px;

  --f-display: "Comfortaa", "Quicksand", -apple-system, sans-serif;
  --f-body: "Comfortaa", -apple-system, "Helvetica Neue", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

/* Palette: Ink (deep navy, dark mode) */
[data-palette="ink"] {
  --bg: var(--ink-deep);
  --bg-alt: var(--ink);
  --bg-panel: #1c2c3e;
  --fg: var(--cream);
  --fg-dim: rgba(244, 234, 217, 0.68);
  --fg-mute: rgba(244, 234, 217, 0.42);
  --line: rgba(244, 234, 217, 0.14);
  --line-strong: rgba(244, 234, 217, 0.28);
  --accent: var(--orange);
  --accent-deep: var(--orange-soft);
}

/* Palette: Orange (high-impact, brand poster look) */
[data-palette="orange"] {
  --bg: var(--orange);
  --bg-alt: #d83b18;
  --bg-panel: #b32e0e;
  --fg: var(--cream);
  --fg-dim: rgba(244, 234, 217, 0.78);
  --fg-mute: rgba(244, 234, 217, 0.52);
  --line: rgba(244, 234, 217, 0.18);
  --line-strong: rgba(244, 234, 217, 0.32);
  --accent: var(--ink);
  --accent-deep: var(--cream);
}

/* Palette: Sand (mid-cream, more tonal) */
[data-palette="sand"] {
  --bg: var(--cream-deep);
  --bg-alt: #c9b395;
  --bg-panel: #b9a37f;
  --fg: var(--ink);
  --fg-dim: rgba(20, 34, 51, 0.65);
  --fg-mute: rgba(20, 34, 51, 0.42);
  --line: rgba(20, 34, 51, 0.16);
  --accent: var(--orange);
  --accent-deep: var(--ink);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .3s ease, color .3s ease;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Utility */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow-dim { color: var(--fg-dim); }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.98;
  text-transform: uppercase;
}

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border: 1.5px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--fg); background: transparent; }
.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-deep); border-color: var(--orange-deep); }

.btn-arrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  padding: 6px 0;
  border-bottom: 1.5px solid var(--fg);
  font-weight: 500;
}
.btn-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  gap: 24px;
}
@media (max-width: 720px) { .nav-inner { padding: 0 20px; } }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 4px 0;
  position: relative;
  transition: color .15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8px;
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform .2s ease;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link.active::after { transform: translateX(-50%) scale(1); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 8px 13px;
  font: inherit;
  letter-spacing: inherit;
  transition: all .15s ease;
}
.lang-toggle button.active {
  background: var(--fg);
  color: var(--bg);
}
@media (max-width: 920px) {
  .nav-links.mid { display: none; }
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--fg);
}
.logo-mark-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.logo-text .wm {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.logo-text .wm small {
  font-weight: 400;
  letter-spacing: 0.04em;
}
.logo-text .sub {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Page shell */
.app {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.page-enter {
  animation: fade-up .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 920px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }
.section-head h2 {
  margin: 12px 0 0;
  font-family: var(--f-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-head p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.65;
  max-width: 38ch;
  margin: 0;
}

/* Image placeholders with duotone treatment matching brand */
.img-ph {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--bg-panel) 100%, transparent) 0 16px,
      color-mix(in oklab, var(--bg-panel) 80%, transparent) 16px 32px);
}
.img-ph[data-tone="orange"] {
  background:
    repeating-linear-gradient(135deg,
      var(--orange) 0 16px,
      var(--orange-deep) 16px 32px);
  color: var(--cream);
}
.img-ph[data-tone="navy"] {
  background:
    repeating-linear-gradient(135deg,
      var(--ink) 0 16px,
      var(--ink-deep) 16px 32px);
  color: var(--cream);
}
.img-ph[data-tone="sand"] {
  background:
    repeating-linear-gradient(135deg,
      var(--cream-deep) 0 16px,
      #c9b395 16px 32px);
  color: var(--ink);
}
.img-ph[data-tone="duotone-orange"] {
  background: linear-gradient(160deg, var(--cream-deep) 0%, var(--orange) 100%);
  color: var(--ink);
}
.img-ph[data-tone="duotone-navy"] {
  background: linear-gradient(160deg, var(--cream-deep) 0%, var(--ink) 100%);
  color: var(--cream);
}
.img-ph::before {
  content: attr(data-label);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  background: color-mix(in oklab, currentColor 8%, var(--bg));
  border: 1px solid color-mix(in oklab, currentColor 22%, transparent);
  color: inherit;
  border-radius: 999px;
  z-index: 2;
}
.img-ph::after {
  /* faint logo mark watermark */
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/mark-white.png") center/45% no-repeat;
  opacity: 0.10;
  pointer-events: none;
}
.img-ph[data-tone="duotone-orange"]::after,
.img-ph[data-tone="sand"]::after {
  background: url("assets/mark-orange.png") center/45% no-repeat;
  opacity: 0.18;
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 40px 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 40px;
  min-height: calc(100vh - var(--nav-h));
}
@media (max-width: 720px) { .hero-inner { padding: 40px 20px; gap: 28px; } }

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-flank {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(64px, 11vw, 200px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
  align-self: end;
}
.hero-title .accent { color: var(--orange); }
.hero-title em {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.005em;
  display: block;
}

.hero-mark-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}
.hero-mark-deco img { width: 100%; height: auto; display: block; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 720px) { .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; } }
.hero-meta .cell .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-meta .cell .v {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
}
.hero-meta .cell .v small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-left: 6px;
  color: var(--fg-dim);
  font-weight: 400;
}

/* Hero — split variant */
.hero.split .hero-inner {
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: auto auto;
  gap: 48px 56px;
  align-items: center;
}
.hero.split .hero-top { grid-column: 1 / -1; }
.hero.split .hero-meta { grid-column: 1 / -1; }
.hero.split .hero-side {
  position: relative;
  aspect-ratio: 4/5;
  min-height: 60vh;
}
@media (max-width: 920px) { .hero.split .hero-inner { grid-template-columns: 1fr; } }

/* Hero — full-bleed photo */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 22px 0;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  animation: marquee 50s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; flex: none; }
.marquee-track .dot {
  width: 24px; height: 24px;
  flex: none;
}
.marquee-track .dot img {
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0.85;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Service cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  position: relative;
  transition: background .25s ease, color .25s ease;
}
.svc-card:hover {
  background: var(--ink);
  color: var(--cream);
}
.svc-card:hover .num { color: var(--orange); }
.svc-card:hover .price .dur,
.svc-card:hover p { color: rgba(244,234,217,0.7); }
.svc-card .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 500;
}
.svc-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.svc-card p {
  color: var(--fg-dim);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
.svc-card .price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--f-mono);
}
.svc-card .price .amount {
  font-size: 22px;
  letter-spacing: -0.005em;
  font-weight: 500;
}
.svc-card .price .dur {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Service list view (alt) */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid;
  grid-template-columns: 50px 1.4fr 1fr 110px 110px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.svc-row:hover { background: color-mix(in oklab, var(--orange) 6%, transparent); padding-left: 16px; padding-right: 16px; }
.svc-row .n {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.14em;
}
.svc-row .name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.svc-row .desc { color: var(--fg-dim); font-size: 13px; }
.svc-row .dur, .svc-row .price {
  font-family: var(--f-mono);
  font-size: 13px;
  text-align: right;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.svc-row .dur { color: var(--fg-dim); font-weight: 400; }
@media (max-width: 720px) {
  .svc-row {
    grid-template-columns: 32px 1fr 80px;
    grid-template-areas: "n name price" "n desc dur";
    row-gap: 8px;
  }
  .svc-row .n { grid-area: n; }
  .svc-row .name { grid-area: name; font-size: 20px; }
  .svc-row .desc { grid-area: desc; }
  .svc-row .price { grid-area: price; }
  .svc-row .dur { grid-area: dur; }
}

/* Service menu-card (alt) */
.svc-menu {
  border: 1px solid var(--line-strong);
  padding: 48px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
}
@media (max-width: 560px) { .svc-menu { padding: 28px; } }
.svc-menu .menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.svc-menu .menu-row:last-child { border-bottom: 0; }
.svc-menu .menu-row .lt {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.svc-menu .menu-row .lt .name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.svc-menu .menu-row .lt .desc {
  color: var(--fg-dim);
  font-size: 14px;
}
.svc-menu .menu-row .rt {
  font-family: var(--f-mono);
  font-size: 17px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border-block: 1px solid var(--line-strong);
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: var(--bg);
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat .v {
  font-family: var(--f-display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.stat .v sup { font-size: 22px; vertical-align: top; color: var(--orange); }
.stat .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Pull-quote */
.pullquote {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 22ch;
}
.pullquote .accent { color: var(--orange); font-weight: 500; }
.pullquote .credit {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-top: 24px;
  font-weight: 400;
}

/* Gallery grid */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 8vw;
  gap: 8px;
}
@media (max-width: 920px) { .gallery-mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 18vw; } }
@media (max-width: 560px) {
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 48vw; }
  .gallery-mosaic .cell { grid-column: span 1 !important; grid-row: span 1 !important; }
}
.gallery-mosaic .cell { position: relative; overflow: hidden; border-radius: var(--r-md); }

.gallery-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.gallery-filter button {
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--fg-dim);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all .2s ease;
  font-weight: 500;
}
.gallery-filter button:hover { color: var(--fg); border-color: var(--fg); }
.gallery-filter button.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* About */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 920px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; gap: 16px; }
.team-card .ph { aspect-ratio: 3/4; width: 100%; border-radius: var(--r-md); overflow: hidden; }
.team-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.team-card .role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 500;
}
.team-card p {
  color: var(--fg-dim);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* Booking */
.book-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  min-height: 640px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 920px) { .book-shell { grid-template-columns: 1fr; } }
.book-main {
  padding: 48px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 560px) { .book-main { padding: 28px; } }
.book-side {
  background: var(--bg-alt);
  padding: 48px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 920px) { .book-side { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .book-side { padding: 28px; } }

.book-steps {
  display: flex;
  gap: 6px;
  align-items: center;
}
.book-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.book-step .bar {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
}
.book-step.active .bar { background: var(--orange); }
.book-step.done .bar { background: var(--ink); }
[data-palette="ink"] .book-step.done .bar { background: var(--cream); }
.book-step .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.book-step.active .lbl { color: var(--fg); }

.book-step-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.book-step-title .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 500;
}
.book-step-title h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

.book-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 560px) { .book-choices { grid-template-columns: 1fr; } }
.book-choice {
  background: var(--bg);
  padding: 22px;
  text-align: left;
  border: 0;
  color: var(--fg);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .15s ease, color .15s ease;
}
.book-choice:hover { background: var(--bg-alt); }
.book-choice.selected { background: var(--orange); color: #fff; }
.book-choice.selected .meta { color: rgba(255,255,255,0.78); }
.book-choice .name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.book-choice .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
  font-weight: 500;
}

.barber-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (max-width: 560px) { .barber-list { grid-template-columns: 1fr; } }
.barber-card {
  background: var(--bg);
  padding: 20px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  border: 0;
  color: var(--fg);
  text-align: left;
  font-family: inherit;
  transition: background .15s ease, color .15s ease;
}
.barber-card:hover { background: var(--bg-alt); }
.barber-card.selected { background: var(--orange); color: #fff; }
.barber-card .avatar {
  width: 56px; height: 56px;
  background: var(--bg-panel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--orange);
  letter-spacing: 0.04em;
  border-radius: 50%;
}
.barber-card.selected .avatar { background: var(--ink); color: var(--cream); }
.barber-card .name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1.05;
}
.barber-card .role-l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}
.barber-card.selected .role-l { color: rgba(255,255,255,0.78); }
.barber-card .pick {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 500;
}
.barber-card.selected .pick { color: #fff; }

.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.date-cell {
  border: 1px solid var(--line);
  padding: 14px 6px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-mono);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .15s ease;
  border-radius: var(--r-sm);
}
.date-cell .dow {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.date-cell .d {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.005em;
}
.date-cell:hover { border-color: var(--fg); }
.date-cell.selected { background: var(--orange); border-color: var(--orange); color: #fff; }
.date-cell.selected .dow { color: rgba(255,255,255,0.8); }

.time-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
@media (max-width: 560px) { .time-grid { grid-template-columns: repeat(3, 1fr); } }
.time-cell {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  padding: 12px 0;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: all .15s ease;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.time-cell:hover:not(.disabled) { border-color: var(--fg); }
.time-cell.disabled { color: var(--fg-mute); cursor: not-allowed; text-decoration: line-through; }
.time-cell.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
[data-palette="ink"] .time-cell.selected { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.book-form { display: flex; flex-direction: column; gap: 18px; }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .book-form .row { grid-template-columns: 1fr; } }
.book-form label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.book-form input, .book-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line-strong);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  padding: 10px 0;
  outline: 0;
  transition: border-color .15s ease;
}
.book-form input:focus, .book-form textarea:focus { border-color: var(--orange); }
.book-form textarea { resize: vertical; min-height: 80px; }

.book-summary { display: flex; flex-direction: column; gap: 14px; }
.book-summary .sum-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.book-summary .sum-row:last-of-type { border-bottom: 0; }
.book-summary .sum-row .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  text-transform: uppercase;
  padding-top: 4px;
  font-weight: 500;
}
.book-summary .sum-row .v {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.book-summary .sum-row .v small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.book-total {
  margin-top: auto;
  border-top: 2px solid var(--fg);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.book-total .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
}
.book-total .v {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.book-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

/* Confirmation */
.confirm {
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--r-md);
  background: var(--bg);
}
.confirm .check {
  width: 88px; height: 88px;
  border: 2px solid var(--orange);
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 32px;
  border-radius: 50%;
}
.confirm h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
  line-height: 1;
}
.confirm p { color: var(--fg-dim); max-width: 48ch; margin: 0 auto; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { padding: 48px; display: flex; flex-direction: column; gap: 32px; background: var(--bg); }
@media (max-width: 560px) { .contact-info { padding: 28px; } }
.contact-map { min-height: 540px; position: relative; border-left: 1px solid var(--line); background: var(--bg-alt); }
@media (max-width: 920px) { .contact-map { border-left: 0; border-top: 1px solid var(--line); min-height: 360px; } }
.info-block { display: flex; flex-direction: column; gap: 8px; }
.info-block .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 500;
}
.info-block .v {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hours-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .day {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-transform: uppercase;
  font-weight: 500;
}
.hours-row .h {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Map mock */
.map-mock {
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.map-mock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.map-pin .dot {
  width: 18px; height: 18px;
  background: var(--orange);
  border: 3px solid var(--bg-alt);
  border-radius: 50%;
  box-shadow: 0 0 0 8px color-mix(in oklab, var(--orange) 22%, transparent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--orange) 38%, transparent); }
  100% { box-shadow: 0 0 0 24px color-mix(in oklab, var(--orange) 0%, transparent); }
}
.map-pin .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 6px 10px;
  color: var(--cream);
  border-radius: 999px;
  font-weight: 500;
}

/* Pattern strip — brand motif */
.pattern-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.pattern-strip[data-tone="orange"] { background: var(--orange); color: var(--cream); }
.pattern-strip[data-tone="cream"] { background: var(--cream-deep); color: var(--ink); }
.pattern-strip-tile {
  position: absolute;
  inset: 0;
  background-image: url("assets/mark-white.png");
  background-size: 120px auto;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
}
[data-tone="cream"] .pattern-strip-tile { background-image: url("assets/mark-orange.png"); opacity: 0.18; }
.pattern-strip .container { position: relative; z-index: 1; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: var(--ink);
  color: var(--cream);
}
[data-palette="ink"] .footer { background: var(--ink-deep); }
[data-palette="orange"] .footer { background: var(--ink); }
.footer .eyebrow { color: var(--orange); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-inner h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-inner a { color: rgba(244,234,217,0.78); font-size: 13.5px; transition: color .15s ease; }
.footer-inner a:hover { color: var(--cream); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(244,234,217,0.14);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(244,234,217,0.5);
  text-transform: uppercase;
  font-weight: 500;
}
.footer .logo .logo-text .wm,
.footer .logo .logo-text .sub { color: var(--cream); }
.footer .logo .logo-text .sub { color: rgba(244,234,217,0.5); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-2px); }

/* Mobile nav menu */
.menu-btn {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--fg);
  padding: 9px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 920px) { .menu-btn { display: inline-flex; } }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--fg); }

/* Brand watermark for empty sections */
.brand-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  user-select: none;
}
.brand-watermark img { width: 100%; height: auto; display: block; }

.kbd {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* ============================================================
   Price list — reference-aligned editorial layout
   Left aside with title + notes + cash pill, right rail of rows
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: 38% 62%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; } }
.price-aside {
  padding: 40px;
  border-right: 1px solid var(--line);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 460px;
}
@media (max-width: 920px) { .price-aside { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 32px; } }
@media (max-width: 560px) { .price-aside { padding: 24px; } }
.price-aside-title {
  font-size: clamp(36px, 4.4vw, 56px);
  margin-top: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.price-aside-notes p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 32ch;
}
.cash-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.cash-pill .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--orange) 22%, transparent);
}
.price-rows {
  padding: 10px 0;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  transition: padding .15s ease, background .15s ease;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover {
  background: color-mix(in oklab, var(--orange) 5%, transparent);
  padding-left: 40px;
}
@media (max-width: 560px) { .price-row { padding: 12px 20px; } .price-row:hover { padding-left: 24px; } }
.price-row .lt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.price-row .name {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--fg);
}
.price-row .row-note {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--orange);
  text-transform: none;
  font-weight: 500;
}
.price-row .rt {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg);
  flex-shrink: 0;
  white-space: nowrap;
}
.price-subhead {
  padding: 28px 32px 10px;
  border-top: 2px solid var(--line-strong);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 560px) { .price-subhead { padding: 22px 20px 8px; } }
.price-subhead .eyebrow { color: var(--orange); }
.price-subhead-sub {
  font-size: 11px;
  color: var(--fg-dim);
  font-family: var(--f-body);
}

/* Inline notes shown on service cards / menu rows */
.svc-note {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: -8px;
  font-weight: 500;
}
.svc-row .name-note {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--orange);
  font-weight: 500;
  margin-left: 6px;
}
.svc-menu .menu-row .lt .menu-note {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--orange);
  font-weight: 500;
}

/* ============================================================
   Team — 7 staff, reference-aligned 4-column gallery
   Portraits fill the card top, meta sits on a dark base.
   ============================================================ */
.team-section { background: var(--bg-alt); border-block: 1px solid var(--line); }
.team-grid-7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 920px) { .team-grid-7 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid-7 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid-7 { grid-template-columns: 1fr; } }

.team-card-7 {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.team-card-7 .ph {
  aspect-ratio: 3/4;
  width: 100%;
  background-color: var(--bg-panel);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: grayscale(40%) contrast(1.02);
  transition: filter .4s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.team-card-7:hover .ph {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}
.team-card-7 .meta {
  padding: 18px 18px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg);
}
.team-card-7 .role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 500;
}
.team-card-7 h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.team-card-7 p {
  color: var(--fg-dim);
  font-size: 12.5px;
  line-height: 1.55;
  margin: 6px 0 0;
}

/* Photo avatar for booking flow barber-card */
.barber-card .avatar.avatar-photo {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: grayscale(20%);
  color: transparent;
}
.barber-card.selected .avatar.avatar-photo { filter: grayscale(0%); }

/* ============================================================
   Arabic / RTL — font swap + directional flips
   Almarai is preloaded in <head>. We swap the body+display fonts
   for Arabic, leave the mono stack for numbers/labels, and flip
   the handful of layout elements that depend on writing direction.
   ============================================================ */
html[lang="ar"],
html[dir="rtl"] {
  --f-display: "Almarai", "Comfortaa", -apple-system, sans-serif;
  --f-body: "Almarai", "Comfortaa", -apple-system, sans-serif;
  font-size: 15.5px; /* Arabic reads better a touch larger */
}
html[lang="ar"] body { letter-spacing: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  letter-spacing: 0 !important;
}
/* Arabic display lines need a little more leading */
html[lang="ar"] .hero-title { line-height: 1.1; letter-spacing: 0 !important; }
html[lang="ar"] .section-head h2 { line-height: 1.15; }
html[lang="ar"] .display { line-height: 1.1; }
/* Eyebrow letterspacing reads weird in Arabic — drop it */
html[lang="ar"] .eyebrow {
  letter-spacing: 0.04em;
  font-family: var(--f-body);
  font-weight: 700;
}
/* Mono labels (dates, prices, hours) keep Latin metrics */
html[lang="ar"] .price-row .rt,
html[lang="ar"] .svc-card .price .amount,
html[lang="ar"] .svc-row .price,
html[lang="ar"] .svc-row .dur,
html[lang="ar"] .svc-menu .menu-row .rt,
html[lang="ar"] .book-total .v,
html[lang="ar"] .hero-meta .cell .v,
html[lang="ar"] .stat .v,
html[lang="ar"] .hours-row .h,
html[lang="ar"] .map-pin .lbl,
html[lang="ar"] .contact-info .v[style*="mono"],
html[lang="ar"] .footer-bot {
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* Arabic glyphs have ascenders/descenders/diacritics that get clipped
   by the word-mask animation. Bump line-height and let overflow be
   visible — the slide-up still plays, just without the mask. */
html[lang="ar"] .hero-title {
  line-height: 1.4 !important;
  padding-block: 0.1em;
}
html[lang="ar"] .hero-title em { line-height: 1.5; padding-block: 0.15em; }
html[lang="ar"] .word-wrap { overflow: visible; padding: 0.1em 0.04em 0.2em; }

/* Direction flips */
[dir="rtl"] .nav-link::after { left: auto; right: 50%; transform: translateX(50%) scale(0); }
[dir="rtl"] .nav-link.active::after { transform: translateX(50%) scale(1); }
[dir="rtl"] .hero-meta .cell .v small { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .pullquote .credit { letter-spacing: 0.06em; }
[dir="rtl"] .stat .v sup { vertical-align: top; }

/* Marquee — flip the scroll direction in RTL so it reads naturally */
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* Arrows in buttons / arrow-links should point inward (toward the
   reading-end of the line). Default Arrow points right; flip it in RTL. */
[dir="rtl"] .btn svg,
[dir="rtl"] .btn-arrow svg,
[dir="rtl"] .nav-link svg,
[dir="rtl"] .mobile-menu a svg {
  transform: scaleX(-1);
}

/* Booking step bar — keep order, but the step numbers/labels still flow naturally */
[dir="rtl"] .book-steps { direction: rtl; }

/* Service list grid — swap dur/price column order under RTL */
[dir="rtl"] .svc-row {
  grid-template-columns: 50px 1.4fr 1fr 110px 110px;
}
[dir="rtl"] .svc-row .price,
[dir="rtl"] .svc-row .dur { text-align: left; }
@media (max-width: 720px) {
  [dir="rtl"] .svc-row { grid-template-columns: 32px 1fr 80px; }
}

/* Hours rows align right */
[dir="rtl"] .hours-row .h { text-align: left; font-family: var(--f-mono); }

/* Price-list section — the aside sits on the right under RTL */
[dir="rtl"] .price-grid { grid-template-columns: 62% 38%; }
[dir="rtl"] .price-aside { border-right: 0; border-left: 1px solid var(--line); }
@media (max-width: 920px) {
  [dir="rtl"] .price-grid { grid-template-columns: 1fr; }
  [dir="rtl"] .price-aside { border-left: 0; border-bottom: 1px solid var(--line); }
}
[dir="rtl"] .price-row:hover { padding-left: 32px; padding-right: 40px; }
@media (max-width: 560px) {
  [dir="rtl"] .price-row:hover { padding-left: 20px; padding-right: 24px; }
}

/* Contact map sits on the left in RTL */
[dir="rtl"] .contact-map { border-left: 0; border-right: 1px solid var(--line); }
@media (max-width: 920px) {
  [dir="rtl"] .contact-map { border-right: 0; border-top: 1px solid var(--line); }
}

/* Book side panel border swap */
[dir="rtl"] .book-side { border-left: 0; border-right: 1px solid var(--line); }
@media (max-width: 920px) {
  [dir="rtl"] .book-side { border-right: 0; border-top: 1px solid var(--line); }
}

/* Floating Arabic-friendly tweaks */
[dir="rtl"] .wa-float { right: auto; left: 24px; }
[dir="rtl"] .hero-mark-deco { right: auto; left: 6%; }
[dir="rtl"] .home-team-cta::after { right: auto; left: -20px; }
[dir="rtl"] .home-team-cell .ph .badge { left: auto; right: 12px; }
[dir="rtl"] .home-about-badge { left: auto; right: 20px; }

/* Barber-card grid layout: avatar > meta > pick. Reverse columns in RTL. */
[dir="rtl"] .barber-card { grid-template-columns: auto 1fr 56px; }

/* Tweaks panel itself: keep LTR inside it so the radio chips don't reverse */
[dir="rtl"] [class*="tweaks"] { direction: ltr; }

/* Buttons that contain text + arrow: arrow visually flips, but the
   spacing already works because flex gap is direction-agnostic. */

/* ============================================================
   Mobile responsive pass
   Breakpoints: 720px (tablet/large phone), 480px (phone), 380px (small phone)
   ============================================================ */
@media (max-width: 720px) {
  /* Tighter section spacing */
  section { padding: 56px 0; }

  /* Hero scaling */
  .hero-title { font-size: clamp(48px, 12.5vw, 88px); }
  .hero.split .hero-title,
  .hero.typo .hero-title { font-size: clamp(48px, 12.5vw, 88px) !important; }

  .hero-meta .cell .v { font-size: 22px; }
  .hero-meta .cell .k { font-size: 9.5px; }

  /* Section heads */
  .section-head { gap: 18px; margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(34px, 9vw, 56px); }
  .section-head p { font-size: 14px; }

  /* Stats */
  .stat { padding: 30px 18px; }
  .stat .v { font-size: 42px; }
  .stat .v sup { font-size: 16px; }

  /* Pull-quote */
  .pullquote { font-size: clamp(24px, 6.5vw, 36px); }

  /* Service cards */
  .svc-card { padding: 28px 22px; min-height: 240px; gap: 14px; }
  .svc-card h3 { font-size: 24px; }
  .svc-card .price .amount { font-size: 20px; }

  /* Service menu */
  .svc-menu { padding: 28px 22px; }
  .svc-menu .menu-row { padding: 16px 0; }
  .svc-menu .menu-row .lt .name { font-size: 19px; }
  .svc-menu .menu-row .lt .desc { font-size: 13px; }
  .svc-menu .menu-row .rt { font-size: 15px; }

  /* Price-list section */
  .price-aside-title { font-size: clamp(28px, 7.5vw, 40px); }
  .price-row { padding: 12px 22px; }
  .price-row:hover { padding-left: 26px; }
  .price-subhead { padding: 22px 22px 8px; }
  .price-aside { padding: 28px 22px; min-height: 0; gap: 28px; }
  .price-aside-notes p { font-size: 12.5px; max-width: 100%; }

  /* Team grid */
  .team-card-7 .meta { padding: 14px 14px 18px; }
  .team-card-7 h3 { font-size: 19px; }
  .team-card-7 p { font-size: 12px; }

  .home-team-cell .meta { padding: 12px 14px 16px; }
  .home-team-cell h3 { font-size: 19px; }
  .home-team-cta { padding: 22px; }
  .home-team-cta h3 { font-size: clamp(32px, 8vw, 48px); }
  .home-team-cta p { font-size: 12.5px; }

  /* Home about photo doesn't need to be huge */
  .home-about-photo { min-height: 0; aspect-ratio: 4/5; }

  /* Booking */
  .book-shell { min-height: 0; }
  .book-step-title h3 { font-size: 30px; }
  .book-choice { padding: 18px; }
  .book-choice .name { font-size: 19px; }
  .barber-card { padding: 16px; gap: 12px; grid-template-columns: 48px 1fr auto; }
  .barber-card .avatar { width: 48px; height: 48px; font-size: 15px; }
  .barber-card .name { font-size: 17px; }
  .date-grid { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .date-cell { padding: 10px 4px; }
  .date-cell .d { font-size: 17px; }
  .date-cell .dow { font-size: 8.5px; letter-spacing: 0.12em; }
  .time-cell { padding: 10px 0; font-size: 12px; }

  /* Contact map shorter on mobile */
  .contact-map { min-height: 320px; }
  .contact-info { gap: 24px; }
  .info-block .v { font-size: 20px; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer-inner { gap: 28px 24px; padding-bottom: 36px; }
  .footer-inner a { font-size: 13px; }

  /* WhatsApp float */
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }

  /* Marquee — slower & smaller */
  .marquee-track { font-size: 18px; gap: 32px; padding: 18px 0; }
  .marquee-track span { gap: 32px; }
  .marquee-track .dot { width: 18px; height: 18px; }

  /* Map mock pin label readable */
  .map-pin .lbl { font-size: 9px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .hero-inner { padding: 28px 16px; gap: 24px; }

  /* Nav — keep book button compact on phones */
  .nav-cta { gap: 8px; }
  .nav .btn { padding: 11px 14px; font-size: 10px; letter-spacing: 0.10em; }
  .lang-toggle button { padding: 7px 10px; font-size: 10px; }
  .menu-btn { padding: 8px 11px; font-size: 10px; }

  .hero-title { font-size: clamp(44px, 13vw, 76px); line-height: 0.98; }
  html[lang="ar"] .hero-title { font-size: clamp(40px, 11vw, 64px) !important; }
  .hero-title em { font-size: 0.55em; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; }
  .hero-meta .cell .v { font-size: 20px; }

  /* Section heads */
  .section-head h2 { font-size: clamp(30px, 10vw, 44px); }

  /* Service cards — single column already at 560px */
  .svc-card h3 { font-size: 22px; }

  /* Booking */
  .book-main { padding: 24px 18px; gap: 24px; }
  .book-side { padding: 24px 18px; }
  .book-step-title h3 { font-size: 26px; }
  .book-steps { gap: 4px; }
  .book-step .lbl { font-size: 9px; letter-spacing: 0.12em; }
  .date-grid { grid-template-columns: repeat(4, 1fr); }

  /* Stats — bigger numbers fit on a 2-up */
  .stat { padding: 24px 14px; }
  .stat .v { font-size: 36px; }

  /* Confirm */
  .confirm { padding: 48px 24px; }
  .confirm .check { width: 64px; height: 64px; font-size: 22px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 9.5px;
  }

  /* Pricing aside */
  .price-aside { padding: 24px 18px; }
  .price-row { padding: 12px 18px; }
  .price-row .name { font-size: 14px; }
  .price-row .rt { font-size: 13px; }

  /* Mobile menu typography */
  .mobile-menu a { font-size: 24px; padding: 10px 0; }

  /* Booking choices stay 1-col on phones */
  .book-choices { grid-template-columns: 1fr !important; }

  /* Nav — hide the book CTA button; menu button handles navigation */
  .nav .btn:not(.menu-btn) { display: none; }
}

@media (max-width: 380px) {
  .lang-toggle button { padding: 6px 8px; }
  .hero-title { font-size: 44px; }
  .section-head h2 { font-size: 30px; }
}

/* RTL mobile adjustments — WhatsApp float position needs to mirror */
@media (max-width: 720px) {
  [dir="rtl"] .wa-float { right: auto; left: 16px; }
}

/* ============================================================
   Home — team preview strip (4 wide, photos + role/name tag)
   ============================================================ */
.home-team { background: var(--bg); }
.home-team-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 920px) { .home-team-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .home-team-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-team-strip { grid-template-columns: 1fr; } }
.home-team-cell {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
}
.home-team-cell .ph {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  background-color: var(--bg-panel);
  background-size: cover;
  background-position: center top;
  filter: grayscale(50%) contrast(1.02);
  transition: filter .5s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.home-team-cell:hover .ph {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.015);
}
.home-team-cell .ph .badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 5px 9px;
  border-radius: 999px;
  z-index: 2;
  font-weight: 500;
}
.home-team-cell .meta {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg);
}
.home-team-cell .role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 500;
}
.home-team-cell h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}

/* "+1 chair" CTA tile */
.home-team-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.home-team-cta::after {
  content: "";
  position: absolute;
  right: -20px; bottom: -20px;
  width: 140px; height: 140px;
  background: url("assets/mark-orange.png") center/contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.home-team-cta .eyebrow { color: var(--orange); }
.home-team-cta h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.home-team-cta p {
  color: rgba(244, 234, 217, 0.72);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 28ch;
}
.home-team-cta .btn-arrow {
  color: var(--cream);
  border-color: var(--cream);
  align-self: flex-start;
  margin-top: auto;
}
.home-team-cta .btn-arrow:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ============================================================
   Home — about block real shop photo + corner badge
   ============================================================ */
.home-about-photo {
  position: relative;
  aspect-ratio: 4/5;
  min-height: 480px;
  max-width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-panel);
}
.home-about-photo-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(15%) contrast(1.04) saturate(0.95);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.home-about-photo:hover .home-about-photo-inner {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1) saturate(1);
}
.home-about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 34, 51, 0.45), transparent 40%);
  pointer-events: none;
}
.home-about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: color-mix(in oklab, var(--ink) 88%, transparent);
  border: 1px solid rgba(244, 234, 217, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  color: var(--cream);
}
.home-about-badge .eyebrow { color: var(--orange); }
.home-about-badge .addr {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--cream);
}
