:root {
  --cream: #fbf8f3;
  --cream-2: #f3ece4;
  --beige: #e5dbd1;
  --taupe: #d7b49e;
  --brown: #6b4a36;
  --brown-soft: #8a6550;
  --ink: #462a1b;
  --ink-2: #2c1c14;
  --white: #fffcf8;
  --line: color-mix(in srgb, var(--brown) 18%, transparent);
  --shadow: 0 18px 50px color-mix(in srgb, var(--ink) 12%, transparent);
  --radius: 22px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-he-serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-body: "Assistant", "Arial", sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--a11y-scale, 100%); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cream) 88%, transparent), var(--cream) 40%),
    url("images/marble.jpg") center top / 920px auto repeat;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav a:hover { color: var(--brown); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn-dark:hover { background: var(--brown); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--brown) 40%, transparent);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--white) 80%, transparent); }
.header-cta { display: none; }
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: grid; gap: 0.4rem; }
.mobile-nav a {
  text-decoration: none;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  padding: 2.4rem 0 3.2rem;
}
.hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 14vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero h1 span { display: block; }
.hero-lead {
  margin: 1.1rem 0 0.4rem;
  font-family: var(--font-he-serif);
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
}
.hero-meta {
  margin: 0.35rem 0 1.3rem;
  color: var(--brown-soft);
  font-size: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--beige);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-meta.langs { margin-top: -0.85rem; }
.hero-badge {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

/* Sections */
section { padding: 3.2rem 0; }
.section-title {
  font-family: var(--font-he-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.section-intro { margin: 0 0 1.8rem; max-width: 42rem; color: color-mix(in srgb, var(--ink) 86%, #7a5b4a); }
.kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 600;
}

/* About */
.about { padding-top: 0.4rem; }
.about-card {
  background: color-mix(in srgb, var(--white) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--ink) 5%, transparent);
}
.about-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.about-points li {
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Services */
.cards {
  display: grid;
  gap: 1rem;
}
.card {
  background: color-mix(in srgb, var(--white) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.15rem;
}
.card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-he-serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.card p { margin: 0 0 0.7rem; }
.price {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}
.more-services {
  margin-top: 1.2rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px dashed color-mix(in srgb, var(--brown) 35%, transparent);
  background: color-mix(in srgb, var(--white) 55%, transparent);
}
.more-services p { margin: 0.2rem 0 0; }
.note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--brown-soft);
}

/* School */
.school {
  background: color-mix(in srgb, var(--ink) 92%, #1a0f0a);
  color: var(--cream);
  border-radius: 0;
  padding: 3.4rem 0;
}
.school .kicker, .school .section-intro { color: color-mix(in srgb, var(--cream) 75%, var(--taupe)); }
.school .section-title { color: var(--cream); }
.school-box {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}
.school-box div {
  border: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, #ffffff 6%, transparent);
}
.school-box h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-he-serif);
  font-weight: 500;
  font-size: 1.2rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.gallery-grid a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 3 / 4;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid a:nth-child(3),
.gallery-grid a:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery-caption { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--brown-soft); }

.reels-strip {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.4rem;
  overscroll-behavior-x: contain;
}
.reels-strip::-webkit-scrollbar { height: 6px; }
.reels-strip::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--brown) 35%, transparent);
  border-radius: 999px;
}
.reels-strip .reel {
  margin: 0;
  flex: 0 0 38%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
}
.reels-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Location */
.location-grid { display: grid; gap: 1.2rem; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-wrap img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.map-links { margin: 0.55rem 0 0; font-size: 0.92rem; }
.map-links a { text-underline-offset: 3px; }
.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0 1rem;
}
.hours th, .hours td {
  text-align: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.hours th { font-weight: 700; width: 38%; }
.facts { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.facts li { padding-inline-start: 0; }

/* CTA */
.cta {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta .section-title { margin-inline: auto; }
.cta .section-intro { margin-inline: auto; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; }

/* Footer */
.footer {
  padding: 2.2rem 0 2.6rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 1.2rem;
}
.footer strong { font-family: var(--font-display); letter-spacing: 0.22em; font-weight: 500; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 0.85rem;
}

@media (min-width: 760px) {
  .header-cta { display: flex; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.4rem; min-height: 72vh; }
  .cards { grid-template-columns: 1fr 1fr; }
  .school-box { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .gallery-grid a { aspect-ratio: 3 / 4; }
  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(6) { grid-column: auto; aspect-ratio: 3 / 4; }
  .reels-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    gap: 0.9rem;
    padding-bottom: 0;
  }
  .reels-strip .reel { flex: none; width: auto; }
  .location-grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .map-wrap, .map-wrap img { min-height: 420px; height: 100%; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  section { padding: 4.2rem 0; }
}

@media (min-width: 1020px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 3rem 0 4rem; }
}

[dir="ltr"] { unicode-bidi: isolate; }
.logo img { display:block; height:52px; width:auto; }


/* Focus */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 0.7rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Header tools + language switcher (Tom-style pills) */
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
}
.lang-switch button {
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.lang-switch button.active,
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.logo { flex-shrink: 0; }
@media (min-width: 1020px) {
  .nav { display: flex; gap: 1.05rem; }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-inner { gap: 1.1rem; }
}

html[dir="ltr"] .section-title,
html[dir="ltr"] .hero-lead,
html[dir="ltr"] .card h3,
html[dir="ltr"] .school-box h3,
html[dir="ltr"] .palette-modal-details h3 {
  font-family: var(--font-display);
}

/* Palette */
.palette-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.8rem;
  margin: 0 0 0.2rem;
}
.palette-teaser[hidden] { display: none !important; }
.palette-teaser-swatches {
  display: flex;
  direction: ltr;
  align-items: center;
  padding-inline-end: 0.55rem;
}
.palette-teaser-swatches .colour-circle {
  width: 4.35rem;
  max-width: 4.35rem;
  margin-inline-start: -1.15rem;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--ink) 10%, transparent);
}
.palette-teaser-swatches .colour-circle:first-child { margin-inline-start: 0; }
.palette-full-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.9rem;
}
.palette-full[hidden] { display: none !important; }
.palette-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-bottom: 1rem;
}
.palette-search {
  flex: 1 1 16rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.35rem;
}
.palette-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.palette-search input:focus-visible { outline: none; }
.palette-search:focus-within { box-shadow: 0 2px 0 var(--ink); }
.palette-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brown-soft);
}
.palette-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--brown-soft);
}
.palette-filters-toggle {
  display: inline-flex;
}
.palette-filters {
  display: none;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.palette-filters.open { display: grid; }
.palette-filter-title {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.palette-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.palette-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
}
.palette-chip.active,
.palette-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.palette-reset { margin-top: 0.2rem; }
.palette-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 0.55rem;
}
.colour-tile { min-width: 0; }
.colour-open {
  appearance: none;
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  font-family: inherit;
}
.colour-circle {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brown) 28%, transparent);
  box-shadow: 0 12px 22px color-mix(in srgb, var(--ink) 8%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.colour-circle.placeholder {
  background: linear-gradient(145deg, #fff 0%, #fbf9f6 48%, #e8e1da 100%);
}
.colour-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.colour-circle::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(145deg, #ffffff4d 2%, #ffffff14 38%, transparent 56%, #301c1233 100%);
  box-shadow: inset 12px 14px 24px #ffffff38, inset -20px -24px 32px #2d191029;
}
.colour-circle::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 18%;
  width: 33%;
  height: 14%;
  border-radius: 64% 42% 66% 38% / 74% 60% 44% 32%;
  background: radial-gradient(at 42% 42%, #fffffff0 0%, #ffffffb8 24%, #ffffff57 52%, #ffffff1a 68%, transparent 82%);
  transform: rotate(-23deg) skew(-7deg);
}
.colour-open:hover .colour-circle {
  transform: scale(1.035);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--brown) 22%, transparent);
}
.colour-number {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.no-swatch-label {
  position: relative;
  z-index: 3;
  color: color-mix(in srgb, var(--brown) 68%, transparent);
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1.1;
  padding: 0.3rem;
}
.colour-status {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #fffaf5a8;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem;
}
.palette-empty { color: var(--brown-soft); }
.palette-empty p { margin: 0.2rem 0; }

.palette-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: color-mix(in srgb, var(--ink-2) 58%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.palette-modal[hidden] { display: none !important; }
.palette-modal-dialog {
  position: relative;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 24px;
  width: min(840px, 100%);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.palette-modal-tools {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.palette-modal-body {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.palette-modal-swatch {
  position: relative;
  isolation: isolate;
  width: min(48vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-inline: auto;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--ink) 12%, transparent);
}
.palette-modal-swatch.placeholder {
  background: linear-gradient(145deg, #fff 0%, #fbf9f6 48%, #e8e1da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.palette-modal-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.palette-modal-details h3 {
  margin: 0.2rem 0 0.6rem;
  font-family: var(--font-he-serif);
  font-size: 1.6rem;
  font-weight: 500;
}
.palette-modal-num { margin: 0; color: var(--brown-soft); font-size: 0.9rem; }
.palette-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}
.palette-modal-tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.8rem;
}
.palette-modal-examples { margin-top: 1rem; }
.palette-modal-examples img {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  margin-top: 0.5rem;
}

@media (min-width: 760px) {
  .palette-teaser-swatches .colour-circle {
    width: 5.2rem;
    max-width: 5.2rem;
    margin-inline-start: -1.25rem;
  }
  .palette-filters { display: grid; }
  .palette-filters-toggle { display: none !important; }
  .palette-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .palette-modal-body { grid-template-columns: 1fr 1fr; padding: 0.6rem 0.8rem 1rem; }
  .palette-modal-swatch { width: min(100%, 280px); }
}
@media (min-width: 1020px) {
  .palette-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Accessibility widget */
.a11y-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 160;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.a11y-fab svg { width: 24px; height: 24px; fill: currentColor; }
.a11y-panel {
  position: fixed;
  left: 1rem;
  bottom: 4.6rem;
  z-index: 161;
  width: min(22rem, calc(100vw - 2rem));
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0.9rem 0.9rem 1rem;
}
.a11y-panel[hidden] { display: none !important; }
.a11y-panel h2 {
  margin: 0;
  font-family: var(--font-he-serif);
  font-size: 1.25rem;
  font-weight: 500;
}
.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.a11y-panel-actions {
  display: grid;
  gap: 0.4rem;
}
.a11y-panel-actions button {
  appearance: none;
  width: 100%;
  text-align: start;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}
.a11y-panel-actions button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.a11y-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.a11y-backdrop,
.a11y-statement {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: color-mix(in srgb, var(--ink-2) 58%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.a11y-statement[hidden] { display: none !important; }
.a11y-statement-dialog {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  width: min(40rem, 100%);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow);
}
.a11y-statement-dialog h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-he-serif);
  font-weight: 500;
  font-size: 1.6rem;
}
.a11y-statement-dialog p, .a11y-statement-dialog li { margin: 0 0 0.7rem; }
.a11y-statement-dialog ul { margin: 0 0 0.9rem; padding-inline-start: 1.2rem; }
.footer-links { margin-top: 0.8rem; }
.footer-links a { margin-inline-end: 1rem; }

/* A11y modes */
html.a11y-contrast {
  --cream: #000000;
  --cream-2: #000000;
  --beige: #111111;
  --taupe: #ffffff;
  --brown: #ffffff;
  --brown-soft: #ffffff;
  --ink: #ffffff;
  --ink-2: #ffffff;
  --white: #000000;
  --line: #ffffff;
}
html.a11y-contrast body {
  background: #000;
  color: #fff;
}
html.a11y-contrast .btn-dark { background: #fff; color: #000; }
html.a11y-contrast .btn-ghost { border-color: #fff; color: #fff; }
html.a11y-contrast .school { background: #000; color: #fff; }
html.a11y-contrast img, html.a11y-contrast video { outline: 1px solid #fff; }
html.a11y-gray body { filter: grayscale(1); }
html.a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  background-color: #ffe566;
  color: #000;
}
html.a11y-font,
html.a11y-font body,
html.a11y-font button,
html.a11y-font input,
html.a11y-font .section-title,
html.a11y-font .hero h1,
html.a11y-font .hero-lead,
html.a11y-font .logo {
  font-family: Arial, "Noto Sans Hebrew", sans-serif !important;
  letter-spacing: 0 !important;
}
html.a11y-reduce-motion,
html.a11y-reduce-motion * ,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.a11y-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

#main, #about, #services, #school, #gallery, #palette, #visit, #contact {
  scroll-margin-top: 88px;
}

.credit { margin-top: 0.6rem; font-size: 0.75rem; opacity: 0.6; }
.credit a { text-decoration: none; }
