@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/noto-arabic.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/noto-arabic-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #0e192d;
  --navy-deep: #0a1324;
  --hero-glow: #22314a;
  --night-text: #f5f3ef;
  --night-muted: #bdc6d4;
  --accent: #742d45;
  --accent-hover: #863651;
  --accent-dark: #702b43;
  --accent-light: #d59aab;
  --badge-light: #f3eee4;
  --badge-dark: #142238;
  --light: #f4f1eb;
  --card: #faf8f4;
  --panel: #eae6e0;
  --ink: #152138;
  --muted: #4c5562;
  --line: #d8d4cf;
  --width: 1160px;
  --gutter: 42px;
  --review-height: 60px;
  color-scheme: light;
}

:root[data-palette="plaster"] {
  --navy: #142238;
  --accent: #78374c;
  --accent-hover: #663043;
  --accent-dark: #515c43;
  --accent-light: #e4aebe;
  --light: #f4f0e8;
  --card: #fbf8f2;
  --panel: #e8dfd3;
  --ink: #142238;
  --muted: #4c514a;
  --line: #d8cfc0;
  --badge-dark: #203b38;
}

:root[data-palette="cherry"] {
  --navy: #17182c;
  --navy-deep: #111223;
  --hero-glow: #45283e;
  --accent: #823452;
  --accent-hover: #923b5d;
  --accent-dark: #7b2b49;
  --accent-light: #e5a7bd;

  --light: #f6efed;
  --card: #fcf7f5;
  --panel: #eee1e3;
  --ink: #2d1e31;
  --muted: #5c4c57;
  --line: #e1d0d4;
}

:root[data-palette="steel"] {
  --navy: #142132;
  --navy-deep: #0e1927;
  --hero-glow: #34465b;
  --accent: #37526b;
  --accent-hover: #43637e;
  --accent-dark: #3c5066;
  --accent-light: #d3b1c0;

  --light: #edf0f1;
  --card: #f6f8f8;
  --panel: #e0e6e9;
  --ink: #192838;
  --muted: #465563;
  --line: #cbd4db;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--review-height) + 12px); }
body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font: 400 15px/1.95 "Noto Sans Arabic", Tahoma, sans-serif;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only, .palette-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  inset: 8px 8px auto auto;
  transform: translateY(-150%);
  padding: 8px 16px;
  background: var(--card);
  z-index: 5;
}
.skip:focus { transform: translateY(0); }

.review {
  position: sticky;
  z-index: 3;
  top: 0;
  background: #f3f2f0;
  color: #222b39;
  border-bottom: 1px solid #dbd9d7;
}
.review-inner {
  min-height: var(--review-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.review-label { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #863651; }
.palette {
  min-inline-size: 0;
  margin: 0;
  padding: 3px;
  border: 1px solid #dddbd9;
  background: #eae8e6;
  border-radius: 8px;
  display: flex;
  gap: 2px;
}
.palette-option { position: relative; cursor: pointer; }
.palette-option > span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
}
.palette-option input:checked + span { background: #fff; border-color: #d8d5d2; font-weight: 700; }
.palette-option input:focus-visible + span { outline: 2px solid #682941; outline-offset: 1px; }
.swatch { width: 10px; height: 10px; flex: none; border-radius: 50%; border: 1px solid #2c334152; }
.swatch-olive { background: #606859; }
.swatch-plaster { background: #e8dfd3; }
.swatch-navy { background: #172640; }
.swatch-cherry { background: #8b3c58; }
.swatch-steel { background: #a4b4c4; }
.jump { justify-self: end; position: relative; }
.jump select {
  min-width: 124px;
  min-height: 38px;
  padding: 0 11px 0 27px;
  appearance: none;
  border: 1px solid #d8d5d2;
  border-radius: 6px;
  background: #faf9f8;
  color: #303744;
  font-size: 12px;
  cursor: pointer;
}
.jump::after {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  inset: 14px auto auto 11px;
  border: solid #4c5462;
  border-width: 0 0 1px 1px;
  transform: rotate(-45deg);
  pointer-events: none;
}

.site-header, .hero, .contact, .site-footer { background: var(--navy); color: var(--night-text); }
.site-header { border-bottom: 1px solid #eef4ff22; }
.site-header-inner {
  min-height: 83px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.brand { width: fit-content; display: grid; justify-items: start; gap: 3px; padding-block: 8px; }
.brand-identity { display: flex; align-items: center; gap: 11px; }
.brand-role { color: var(--night-muted); text-align: start; font-size: 12px; line-height: 1.55; }
.brand-name { font-size: 13px; font-weight: 700; white-space: nowrap; }
.brand-badge {
  --badge-face: var(--badge-light);
  --badge-ink: var(--badge-dark);
  display: block;
  position: relative;
  aspect-ratio: 449 / 466;
}
.brand-badge::before, .brand-badge::after {
  content: "";
  position: absolute;
  inset: 0;
}
.brand-badge::before { background: var(--badge-face); mask: url("assets/badge-face.png") center / contain no-repeat; }
.brand-badge::after { background: var(--badge-ink); mask: url("assets/badge-lettering.png") center / contain no-repeat; }
.brand .brand-badge { width: 45px; flex: none; }
nav { display: flex; align-items: center; gap: clamp(12px, 2.1vw, 34px); font-size: 13px; color: #d8dfeb; }
nav a { padding: 7px 0; }
nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--accent-light); }
.button {
  min-height: 47px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 8px 17px;
  border-radius: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.arrow-diagonal { position: relative; width: 12px; height: 12px; flex: none; }
.arrow-diagonal::before, .arrow-diagonal::after { content: ""; position: absolute; }
.arrow-diagonal::before { inset: 2px auto auto 2px; width: 7px; height: 7px; border: solid currentColor; border-width: 1px 0 0 1px; }
.arrow-diagonal::after { inset: 2px auto auto 2px; width: 10px; height: 1px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.header-button { justify-self: end; border-color: #b8c4d558; min-height: 40px; }
.header-button:hover { background: #eaf1ff12; }
.primary { background: var(--accent); color: #fff8f8; border-color: #ffffff25; }
.primary:hover { background: var(--accent-hover); }

.hero {
  --hero-grain: url("assets/hero-grain.png");
  background:
    var(--hero-grain),
    radial-gradient(ellipse at 18% 48%, var(--hero-glow), transparent 66%),
    var(--navy);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(25px, 6vw, 96px);
  padding-block: 63px 70px;
}
.hero-copy { padding: 13px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
}
.eyebrow span { display: inline-block; width: 23px; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(37px, 5.0vw, 71px);
  line-height: 1.48;
  margin-block: 12px 15px;
  letter-spacing: -.035em;
}
.hero-description { color: var(--night-muted); max-width: 395px; font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #e1e6ee; }
.text-link span { font-family: Arial, sans-serif; font-size: 17px; color: var(--accent-light); }

.hero-portrait {
  display: none;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.21;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
[data-palette="plaster"] .hero {
  background:
    var(--hero-grain),
    radial-gradient(ellipse at 48% 14%, #fff8eb 0%, transparent 76%),
    var(--light);
  color: var(--ink);
  border-block-end: 1px solid var(--line);
}
[data-palette="plaster"] .hero-inner { padding-block: 48px 53px; }
[data-palette="plaster"] .hero h1 { font-size: clamp(37px, 4.4vw, 65px); }
[data-palette="plaster"] .hero .eyebrow,
[data-palette="plaster"] .text-link span { color: var(--accent-dark); }
[data-palette="plaster"] .hero-description { color: var(--muted); }
[data-palette="plaster"] .text-link { color: var(--ink); }
[data-palette="plaster"] .text-link:hover { color: var(--accent); }
[data-palette="plaster"] .hero-portrait { display: block; }
[data-palette="plaster"] .hero-visual { display: none; }

.hero-visual {
  min-height: 365px;
  display: grid;
  place-items: center;
  border: 1px solid #ecf3ff24;
  background:
    repeating-linear-gradient(108deg, transparent 0px, transparent 3px, #d6e1fa05 4px, transparent 5px),
    linear-gradient(141deg, #dfe7fc17, transparent 56%),
    linear-gradient(34deg, var(--navy-deep), var(--hero-glow));
  position: relative;
  isolation: isolate;
  padding: 38px 32px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #eff4ff15;
  z-index: -1;
}
.hero-brand { width: min(76%, 236px); }
.hero-brand .brand-badge {
  --badge-face: var(--badge-dark);
  --badge-ink: var(--badge-light);
  width: 100%;
  filter: drop-shadow(5px 8px 10px #03070da8);
}
.hero-brand .brand-role { margin-block-start: 8px; font-size: 14px; }

.services { background: var(--light); }
.section-wrap { padding-block: 51px 65px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 25px; margin-bottom: 22px; }
h2 { font-size: clamp(25px, 3.2vw, 40px); font-weight: 700; line-height: 1.55; letter-spacing: -.023em; }
.section-heading p, .service p, .approach-copy { color: var(--muted); }
.section-heading p { font-size: 13px; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service { min-width: 0; background: var(--card); padding: 20px 23px 23px; border: 1px solid var(--line); border-radius: 7px; }
.service h3 { font-size: 17px; margin-block: 8px 4px; }
.service p { font-size: 13px; line-height: 1.95; }
.service-symbol { display: block; position: relative; width: 29px; height: 29px; color: var(--accent-dark); }
.service-symbol::before, .service-symbol::after { content: ""; position: absolute; border: 1px solid currentColor; }
.symbol-talk::before { inset: 3px 1px 7px 4px; border-radius: 7px; }
.symbol-talk::after { inset: 11px 8px auto auto; width: 11px; border-width: 1px 0 0; }
.symbol-hypnosis::before { inset: 3px 2px 4px 4px; border-radius: 50%; }
.symbol-hypnosis::after { inset: 8px 7px 9px 9px; border-radius: 50%; }
.symbol-rdip::before, .symbol-rdip::after { width: 17px; height: 17px; top: 6px; border-radius: 50%; }
.symbol-rdip::before { right: 2px; }
.symbol-rdip::after { right: 10px; }

.approach { background: var(--panel); border-block-start: 1px solid var(--line); }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 78px; align-items: center; padding-block: 70px; }
.approach .eyebrow { color: var(--accent-dark); margin-bottom: 9px; }
.approach-copy p + p { margin-top: 13px; }
[data-palette="plaster"] .approach { background: var(--card); }
.practice-space { background: var(--panel); border-block-start: 1px solid var(--line); }
.space-gallery {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 590px);
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
}
.space-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.space-photo img { display: block; width: 100%; height: auto; }
.room img { aspect-ratio: 3 / 2; object-fit: cover; }
.space-photo figcaption {
  padding: 10px 13px;
  color: var(--muted);
  font-size: 13px;
}

.contact { background: linear-gradient(125deg, var(--hero-glow), var(--navy) 56%); }
[data-palette="plaster"] .contact { background: var(--light); color: var(--ink); border-block-start: 1px solid var(--line); }
[data-palette="plaster"] .contact p { color: var(--muted); }
.contact-inner { padding-block: 54px; display: flex; align-items: center; justify-content: space-between; gap: 15px 25px; }
.contact p { color: var(--night-muted); margin-top: 8px; }
.site-footer { border-top: 1px solid #e6edff2b; }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; align-items: center; min-height: 71px; color: var(--night-muted); font-size: 12px; }
.footer-social {
  border-block-start: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  padding-block: 12px 17px;
  text-align: center;
  font-size: 13px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-inner a { white-space: nowrap; }
.footer-inner a span { padding-inline-start: 4px; font-family: Arial, sans-serif; }
dialog {
  width: min(440px, calc(100% - 38px));
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
  color: var(--ink);
  background: var(--card);
}
dialog h2 { font-size: 24px; }
dialog p { margin-block: 9px 19px; color: var(--muted); }
dialog::backdrop { background: #080f20b5; }

@media (max-width: 900px) {
  :root { --gutter: 27px; }
  .hero-inner { gap: 26px; }
  .hero-visual { min-height: 307px; padding: 29px; }
  .section-heading { align-items: flex-start; }
  .section-heading p { max-width: 260px; }
}

@media (max-width: 660px) {
  :root { --gutter: 19px; --review-height: 99px; }
  .review-inner { padding-block: 6px; grid-template-columns: 1fr auto; grid-template-rows: 38px 40px; gap: 4px 8px; }
  .review-label { grid-column: 1; grid-row: 1; }
  .jump { grid-column: 2; grid-row: 1; }
  .review .palette { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .review .palette-option > span { gap: 4px; }
  .palette-option > span { min-height: 32px; padding-inline: 5px; }
  .site-header-inner { min-height: 72px; grid-template-columns: 1fr auto; gap: 6px; }
  .site-header nav { display: none; }
  .brand .brand-badge { width: 37px; }
  .brand-identity { gap: 7px; }
  .brand-role { font-size: 11px; }
  .brand-name { font-size: 12px; }
  .header-button { min-height: 39px; padding-inline: 11px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 25px 28px; gap: 24px; }
  [data-palette="plaster"] .hero-inner { padding-block: 26px 31px; }
  .hero-copy { padding-block: 4px 0; }
  .hero h1, [data-palette="plaster"] .hero h1 { font-size: clamp(33px, 8.5vw, 48px); margin-block: 7px 9px; }
  .hero-description { font-size: 14px; }
  .hero-actions { margin-top: 18px; gap: 17px; }
  .hero-visual { min-height: 229px; padding: 22px 28px; }
  .hero-brand { width: min(82%, 188px); }
  .hero-brand .brand-role { font-size: 12px; }
  .section-wrap { padding-block: 29px 37px; }
  .section-heading { display: block; margin-bottom: 15px; }
  .section-heading p { margin-top: 5px; max-width: none; }
  .service-list { grid-template-columns: 1fr; gap: 9px; }
  .space-gallery { grid-template-columns: 1fr; gap: 16px; }
  .entrance { width: min(100%, 390px); }
  .service { padding: 15px 17px 17px; }
  .service h3 { margin-top: 4px; }
  .approach-inner { grid-template-columns: 1fr; padding-block: 36px; gap: 15px; }
  .approach-inner h2 br { display: none; }
  .contact-inner { flex-direction: column; align-items: start; padding-block: 32px; }
  .contact p { font-size: 13px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 4px; justify-content: center; padding-block: 10px; }
}

@media (max-width: 370px) {
  .review .swatch { display: none; }
  .header-button { padding-inline: 9px; }
  .header-button .arrow-diagonal { display: none; }
}
