/* BY SHIRA — מבנה ועיצוב לפי estherscanon.com */
/* self-hosted Google Fonts (hebrew + latin subsets) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 500;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/OpenSans-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 500;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/OpenSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/PinyonScript-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Tinos-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Tinos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #212121;
  --muted: #6b6862;
  --beige: #f1eee7;
  --band: #f3efe9;
  --menu-ink: #664f15;
  --paper: #fdfcf9;
  --wrap: 980px;
  --gap: 14px;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --cond: "Open Sans", "Arial Hebrew", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--cond);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.skip { position: absolute; inset-inline-start: -9999px; top: 0; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 50; background: #fff; padding: 6px 10px; }

/* ---------- header ---------- */
.site-header {
  position: relative;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
  z-index: 5;
}
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

/* desktop: the menu bar stays on top while scrolling */
.navbar {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
  padding-top: 1px;
  background: rgba(253, 252, 249, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  height: 31px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
}
.nav a {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cond);
  font-weight: 400;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--beige); color: #5f5c55; }

.brand {
  position: relative;
  text-align: center;
  padding: 30px 0 16px;
}
.logo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.3;
  letter-spacing: .055em;
  color: var(--ink);
}
.logo a { text-decoration: none; }
.tagline {
  margin: 14px 0 0;
  font-family: var(--cond);
  font-stretch: 75%;
  font-weight: 300;
  font-size: 23px;
  line-height: 1.3;
}
.intro {
  margin: 20px 0 0;
  font-family: var(--cond);
  font-stretch: 75%;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
}
.brand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-top: 30px;
  padding-inline-end: 24px;
}
/* RTL: flex-end = שמאל, כמו המיקום המשוקף של הרפרנס */
.place {
  margin: 0;
  font-family: var(--cond);
  font-stretch: 75%;
  font-weight: 300;
  font-size: 17px;
}
.place a { text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.socials { display: flex; gap: 12px; padding-inline-end: 16px; }
.socials a {
  width: 31px; height: 31px; border-radius: 50%;
  border: 1px solid var(--ink); color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .25s, color .25s;
}
.socials a:hover { background: var(--ink); color: var(--paper); }
.socials svg { width: 14px; height: 14px; fill: currentColor; }

/* hamburger (mobile) */
.mbar { display: none; }
.burger, .menu-close {
  display: none;
  top: 0; inset-inline-start: 0;
  width: 58px; height: 58px;
  border: 0; background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 1px; position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger span::before { top: -9px; }
.burger span::after { top: 9px; }

.menu {
  position: fixed; inset: 0;
  z-index: 40;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--cond);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: .08em;
  color: var(--menu-ink);
  text-decoration: none;
  text-align: center;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.menu.open a { transform: none; opacity: 1; }
.menu.open a:nth-child(2) { transition-delay: .04s; }
.menu.open a:nth-child(3) { transition-delay: .08s; }
.menu.open a:nth-child(4) { transition-delay: .12s; }
.menu.open a:nth-child(5) { transition-delay: .16s; }
.menu a[aria-current="page"] { color: var(--ink); }
.menu-close { display: flex; position: fixed; z-index: 41; }
.menu-close, .burger { position: relative; }
.menu-close { position: fixed; }
.menu-close[hidden] { display: none; }
.menu-close svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 3; }
.menu-brand {
  position: absolute; top: 22px; inset-inline: 0; text-align: center;
  font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: var(--ink);
}

/* ---------- gallery: justified rows (desktop) ---------- */
.gallery { padding: 0 0 10px; }
.rows { display: flex; flex-direction: column; gap: var(--gap); }
.row { display: flex; gap: var(--gap); }
.tile {
  position: relative;
  flex: var(--a) 1 0;
  aspect-ratio: var(--a);
  min-width: 0;
  overflow: hidden;
  padding: 0; border: 0; margin: 0;
  background: #ece9e3;
  cursor: zoom-in;
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  scale: 1.08;
  transition: scale 1.2s cubic-bezier(.2, .7, .2, 1), opacity .6s ease;
  will-change: translate;
}
.tile:hover img { scale: 1.11; }
.tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* mobile masonry (2 columns) is built from the same tiles */
.cols { display: none; }

.more {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 48px 0 70px;
}
.btn-outline {
  display: inline-block;
  min-width: 166px;
  padding: 9px 24px;
  border: 1px solid rgba(33, 33, 33, .9);
  background: #fff;
  font-family: var(--cond);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.4;
  color: rgba(33, 33, 33, .9);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.text-link { font-size: 15px; font-weight: 400; color: var(--ink); }

.band { background: linear-gradient(var(--band) 0 445px, var(--paper) 445px); padding-top: 8px; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 60;
  background: #fff;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb figure { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 74px 96px; }
.lb img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  transition: opacity .25s ease;
}
.lb button {
  position: absolute; border: 0; background: transparent; cursor: pointer; padding: 10px;
  color: var(--ink);
}
.lb svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.lb .lb-close { top: 24px; inset-inline-end: 26px; }
.lb .lb-prev { top: 50%; inset-inline-start: 26px; transform: translateY(-50%); }
.lb .lb-next { top: 50%; inset-inline-end: 26px; transform: translateY(-50%); }
.lb .lb-count {
  position: absolute; bottom: 26px; inset-inline: 0; text-align: center;
  font-family: var(--cond); font-stretch: 75%; font-size: 15px; color: var(--muted);
  direction: ltr;
}

/* ---------- about ---------- */
.about { padding: 36px 0 60px; }
.about-grid {
  display: grid;
  grid-template-columns: 331px 305px;
  justify-content: center;
  column-gap: 98px;
  align-items: start;
}
.about h2 {
  margin: 14px 0 22px;
  text-align: center;
  font-family: var(--cond);
  font-weight: 300;
  font-size: 27px;
}
.about-copy p {
  margin: 0 0 22px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.5;
}
.about-photo { width: 305px; aspect-ratio: 305 / 381; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.about-note {
  width: min(912px, 100%); margin: 50px auto 0; text-align: center;
  font-size: 16px; line-height: 1.5;
}
.about-note a { font-weight: 400; }

/* ---------- booking ---------- */
.book { padding: 22px 0 0; }
.book-lead {
  margin: 0 auto; max-width: 868px; text-align: center;
  font-size: 17.5px; line-height: 1.55;
}
.book-sub { margin: 14px auto 0; max-width: 868px; text-align: center; font-size: 17px; line-height: 1.6; }
.strip-wrap { position: relative; width: 885px; max-width: 100%; margin: 6px auto 0; }
.strip {
  display: flex; gap: 37px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.strip::-webkit-scrollbar { display: none; }
.strip .tile { flex: 0 0 213px; aspect-ratio: 213 / 283; scroll-snap-align: start; }
.strip-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  inset-inline-end: 6px;
  border: 0; background: transparent; cursor: pointer; padding: 6px;
  color: #fff; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .45));
}
.strip-arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.book-note { margin: 40px auto 0; text-align: center; font-size: 15px; }

.book-grid {
  display: grid;
  grid-template-columns: 345px 420px;
  justify-content: center;
  column-gap: 18px;
  margin-top: 40px;
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 14px; }
.field {
  width: 100%;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  padding: 9px 30px;
  font-family: var(--cond);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 21px;
  color: #000;
  border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field[type="tel"] { text-align: right; }
.field::placeholder { color: #2a2a2a; opacity: 1; }
.field:focus { outline: 1px solid #bdb7aa; }
select.field {
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23212121' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 9px;
  background-position: left 18px center;
}
textarea.field { resize: vertical; min-height: 80px; }
.form-note { margin: 2px 0; text-align: center; font-family: Arial, sans-serif; font-weight: 400; font-size: 12.5px; line-height: 1.3; color: var(--ink); }
.wide { grid-column: 1 / -1; width: 721px; max-width: 100%; margin-top: 10px; justify-self: start; }
.wide textarea { min-height: 209px; }
.send {
  display: block;
  width: 237px; margin: 12px auto 0;
  padding: 7px 0;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  font-family: var(--cond); font-weight: 300; font-size: 21px;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.send:hover { background: var(--ink); color: #fff; }
.send-hint { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.prices { text-align: center; padding-top: 2px; }
.prices .lead { margin: 0 0 30px; font-size: 17px; line-height: 1.5; }
.prices dl { margin: 0; }
.prices dt { font-size: 16px; font-weight: 500; margin-top: 18px; }
.prices dt:first-child { margin-top: 0; }
.prices dd { margin: 2px 0 0; font-size: 15px; }
.prices .contact-line { margin-top: 30px; font-size: 16px; }
.prices .contact-line a { font-weight: 400; direction: ltr; unicode-bidi: isolate; }

/* ---------- finishing touch: curtain reveal + logo intro ---------- */
.js .tile { background: transparent; }
.js .tile img { clip-path: inset(100% 0 0 0); scale: 1.22; }
.js .tile.in img {
  clip-path: inset(0 0 0 0);
  scale: 1.08;
  transition: clip-path 1.15s cubic-bezier(.77, 0, .18, 1) var(--d, 0s), scale 1.8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.js .tile.in.done img { transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
.js .tile.in.done:hover img { scale: 1.11; }

/* signature under the logo, written left to right on first visit */
.sig {
  display: block;
  margin: -6px auto 0;
  font-family: "Pinyon Script", "Snell Roundhand", cursive;
  font-size: 36px; line-height: 1.1;
  color: #4a4038;
  direction: ltr;
}
.intro-pending .sig { opacity: 0; }
.intro-play .sig {
  -webkit-mask-image: linear-gradient(90deg, #000 47%, transparent 53%);
  mask-image: linear-gradient(90deg, #000 47%, transparent 53%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: sig-write 2.4s cubic-bezier(.5, .15, .35, 1) .8s forwards;
}
@keyframes sig-write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* desktop: a soft "view" bubble follows the pointer over photos */
.view-cursor {
  position: fixed; top: 0; left: 0; z-index: 25;
  width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(253, 252, 249, .8);
  box-shadow: inset 0 0 0 1px rgba(33, 33, 33, .28), 0 4px 18px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: var(--cond); font-weight: 400; font-size: 13px; letter-spacing: .04em;
  pointer-events: none;
  opacity: 0; scale: .4;
  transition: opacity .25s ease, scale .35s cubic-bezier(.2, .7, .2, 1);
}
.view-cursor.on { opacity: 1; scale: 1; }
html.has-view-cursor .tile { cursor: none; }

.intro-pending .logo, .intro-pending .tagline, .intro-pending .intro, .intro-pending .brand-meta, .intro-pending .nav { opacity: 0; }
.logo a { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ch { display: inline-block; white-space: pre; }
.intro-play .logo .ch {
  opacity: 0; filter: blur(10px); transform: translateY(.12em);
  animation: ch-in 1s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i) * 55ms + .15s);
}
@keyframes ch-in { to { opacity: 1; filter: blur(0); transform: none; } }
.intro-play .tagline, .intro-play .intro, .intro-play .brand-meta, .intro-play .nav {
  opacity: 0; animation: fade-in 1s ease forwards; animation-delay: .95s;
}
.intro-play .intro { animation-delay: 1.1s; }
.intro-play .brand-meta { animation-delay: 1.25s; }
.intro-play .nav { animation-delay: .2s; }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- booking: invitation ---------- */
.book-title {
  margin: 8px 0 18px; text-align: center;
  font-family: var(--cond); font-stretch: 75%; font-weight: 300;
  font-size: 40px; line-height: 1.2; color: var(--ink);
}
.launch {
  display: flex; align-items: center; gap: 9px; width: max-content; max-width: 100%;
  margin: 16px auto 22px; padding: 6px 16px;
  border: 1px solid rgba(74, 64, 56, .35); border-radius: 999px;
  font-size: 14.5px; font-weight: 400; color: #4a4038; background: rgba(241, 238, 231, .6);
}
.launch .dot { width: 7px; height: 7px; border-radius: 50%; background: #b0784a; box-shadow: 0 0 0 0 rgba(176, 120, 74, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(176, 120, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(176, 120, 74, 0); } }
.reassure { margin: 0 0 6px; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- booking: how it works ---------- */
.steps {
  list-style: none; margin: 30px auto 0; padding: 24px 0;
  max-width: 880px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  border-top: 1px solid rgba(33, 33, 33, .14); border-bottom: 1px solid rgba(33, 33, 33, .14);
}
.steps li { text-align: center; }
.steps .num { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: .06em; color: #4a4038; }
.steps b { display: block; margin-top: 8px; font-weight: 500; font-size: 16.5px; }
.steps li > span:last-child { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.direct { margin: 22px 0 0; text-align: center; font-size: 15.5px; }
.wa-btn, .send {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.send { display: flex; }
.wa-btn {
  margin-inline-start: 8px; padding: 8px 18px;
  border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 400;
  transition: background-color .25s, color .25s;
}
.wa-btn:hover { background: var(--ink); color: var(--paper); }
.wa-btn svg, .send svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.form-title { margin: 0 0 2px; text-align: center; font-weight: 400; font-size: 21px; }
.field-error { margin: -6px 0 0; text-align: center; font-size: 13.5px; color: #9b2c1f; }
.field[aria-invalid="true"] { box-shadow: 0 0 0 1.5px #9b2c1f; }

/* ---------- booking: endless photo reel ---------- */
.reel { margin-top: 56px; overflow: hidden; direction: ltr; }
.reel-track { display: flex; width: max-content; animation: reel 80s linear infinite; }
.reel.paused .reel-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .reel:hover .reel-track { animation-play-state: paused; } }
.reel .tile { flex: none; height: 300px; width: auto; aspect-ratio: var(--a); margin-right: 12px; }
.js .reel .tile { background: #ebe7df; }
.js .reel .tile img { clip-path: none; scale: 1.04; }
.js .reel .tile:hover img { scale: 1.08; }
@keyframes reel { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- opening cover (first page of a visit) ---------- */
.cover { display: none; }
.intro-pending .cover, .cover.lifting {
  display: block; position: fixed; inset: 0; z-index: 100;
  background: #1d1b18; overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.cover.lifting { clip-path: inset(0 0 100% 0); transition: clip-path .95s cubic-bezier(.77, 0, .18, 1); }
.cover picture, .cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover img { object-fit: cover; object-position: 50% 45%; opacity: 0; scale: 1.1; transition: opacity 1s ease, scale 4.5s cubic-bezier(.2, .7, .2, 1); }
.cover img.loaded { opacity: 1; scale: 1; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .12) 45%, rgba(10, 9, 8, 0) 70%); }
.cover-text { position: absolute; inset-inline: 0; bottom: 13vh; z-index: 1; text-align: center; color: #fff; direction: ltr; }
.cover-logo {
  margin: 0; font-family: var(--serif); font-size: 44px; letter-spacing: .08em;
  opacity: 0; filter: blur(8px); animation: cover-in 1s cubic-bezier(.2, .7, .2, 1) .1s forwards;
}
.cover-sig {
  display: block; margin-top: -2px; font-family: "Pinyon Script", cursive; font-size: 44px; line-height: 1.1;
  -webkit-mask-image: linear-gradient(90deg, #000 47%, transparent 53%); mask-image: linear-gradient(90deg, #000 47%, transparent 53%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: sig-write 1.35s cubic-bezier(.5, .15, .35, 1) .55s forwards;
}
@keyframes cover-in { to { opacity: 1; filter: blur(0); } }

/* ---------- a word from Shira (home) ---------- */
.note { padding: 64px 0 6px; text-align: center; }
.note p {
  margin: 0; font-family: var(--cond); font-stretch: 75%; font-weight: 300;
  font-size: 30px; line-height: 1.4; color: var(--ink);
}
.note::before { content: ""; display: block; width: 44px; height: 1px; margin: 0 auto 30px; background: var(--ink); opacity: .35; }
.note-sig {
  display: block; margin-top: 10px; font-family: "Pinyon Script", cursive; font-size: 46px; line-height: 1.1; color: #4a4038; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, #000 47%, transparent 53%); mask-image: linear-gradient(90deg, #000 47%, transparent 53%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.note.in .note-sig { animation: sig-write 1.8s cubic-bezier(.5, .15, .35, 1) .5s forwards; }
html:not(.js) .note-sig { -webkit-mask-image: none; mask-image: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- text page (accessibility statement) ---------- */
.doc { padding: 34px 0 50px; }
.doc .wrap { max-width: 720px; }
.doc h2 { margin: 0 0 18px; text-align: center; font-weight: 300; font-size: 27px; }
.doc h3 { margin: 26px 0 8px; font-weight: 500; font-size: 17px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; }
.doc ul { padding-inline-start: 20px; margin: 0; }
.doc li { margin-bottom: 6px; }
.doc .ltr { direction: ltr; unicode-bidi: isolate; }

.notfound { text-align: center; padding-top: 50px; }
.notfound .more { padding-bottom: 30px; }

/* ---------- footer ---------- */
.site-foot {
  margin-top: 30px;
  padding: 34px 16px 30px;
  background: var(--band);
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.site-foot p { margin: 0; }
.foot-logo { font-family: var(--serif); font-size: 17px; letter-spacing: .14em; margin-bottom: 6px !important; }
.site-foot a { text-decoration: none; border-bottom: 1px solid currentColor; }
.site-foot .ltr { direction: ltr; unicode-bidi: isolate; }
.foot-copy { margin-top: 10px !important; font-size: 12px; color: var(--muted); }

/* ---------- tablet ---------- */
@media (max-width: 1020px) {
  .book-grid { grid-template-columns: 1fr 1fr; }
  .wide { width: 100%; }
}

/* ---------- mobile (matches the reference mobile layout) ---------- */
@media (max-width: 760px) {
  .sig { font-size: 30px; margin-top: -4px; }
  .steps { grid-template-columns: 1fr; gap: 16px; padding: 20px 4px; margin-top: 24px; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 10px; text-align: right; align-items: baseline; }
  .steps .num { grid-row: span 2; font-size: 26px; }
  .steps b { margin-top: 0; }
  .direct { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .wa-btn { margin: 0; padding: 11px 22px; font-size: 16px; }
  .reel { margin-top: 40px; }
  .reel .tile { height: 210px; margin-right: 8px; }
  .book-title { font-size: 30px; }
  .launch { font-size: 13.5px; margin: 14px auto 18px; }
  .book-grid .form { order: 1; }
  .book-grid .wide { order: 2; }
  .book-grid .prices { order: 3; padding-top: 6px; border-top: 1px solid rgba(33, 33, 33, .14); padding-top: 30px; }
  .cover-text { bottom: 11vh; }
  .cover-logo { font-size: 26px; }
  .cover-sig { font-size: 36px; }
  .note { padding-top: 48px; }
  .site-foot { padding-bottom: 86px; }
  .note p { font-size: 23px; }
  .note-sig { font-size: 40px; }
  .nav, .navbar { display: none; }
  .mbar {
    display: flex; align-items: center; justify-content: space-between;
    position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
    height: 58px; padding-inline-end: 10px;
    background: rgba(253, 252, 249, .94);
    -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
    transition: box-shadow .3s ease;
  }
  .mbar.scrolled { box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
  .burger { display: flex; }
  .mbar-logo {
    position: absolute; inset-inline: 70px; text-align: center;
    font-family: var(--serif); font-size: 15px; letter-spacing: .14em; color: var(--ink);
    text-decoration: none; direction: ltr; white-space: nowrap;
    opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; pointer-events: none;
  }
  .mbar.show-logo .mbar-logo { opacity: 1; transform: none; pointer-events: auto; }
  .mbar-icons { display: flex; gap: 8px; position: relative; }
  .mbar-icons a {
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink);
    display: grid; place-items: center;
  }
  .mbar-icons svg { width: 13px; height: 13px; fill: currentColor; }
  .site-header { box-shadow: none; border-bottom: 1px solid rgba(0, 0, 0, .1); }
  .brand { padding: 14px 0 18px; }
  .wrap { width: calc(100% - 32px); }
  .logo { font-size: clamp(25px, 7.6vw, 32px); letter-spacing: .05em; }
  .tagline { margin-top: 6px; font-size: 21px; }
  .intro { margin-top: 14px; font-size: 15px; }
  .brand-meta { margin-top: 14px; padding-inline-end: 0; gap: 0; }
  .place { font-size: 14px; }
  .socials { display: none; }
  .brand-meta { align-items: center; }

  .rows { display: none; }
  .cols { display: flex; gap: 10px; padding-top: 6px; }
  .col { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .col .tile { flex: none; width: 100%; aspect-ratio: var(--am, var(--a)); }
  /* columns end flush, like the reference */
  .col .tile:last-child { flex: 1 0 auto; }

  .more { padding: 40px 0 56px; }
  .band { background: linear-gradient(var(--band) 0 380px, var(--paper) 380px); }

  .lb figure { padding: 70px 0; }
  .lb .lb-prev { inset-inline-start: 4px; }
  .lb .lb-next { inset-inline-end: 4px; }
  .lb .lb-prev, .lb .lb-next { color: #fff; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .55)); }

  .about-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .about-photo { width: min(305px, 100%); margin-inline: auto; }
  .about-note { margin-top: 28px; }

  .book-lead { font-size: 16px; }
  .book-sub { font-size: 15px; }
  .strip { gap: 12px; }
  .strip .tile { flex-basis: 62%; }
  .book-grid { grid-template-columns: 1fr; row-gap: 40px; }

  .wide { margin-top: 0; }
  .field { padding-inline: 20px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .js .tile img { clip-path: none; scale: 1; translate: none; }
  .tile img, .tile:hover img { scale: 1; }
  .intro-play .sig { -webkit-mask-image: none; mask-image: none; animation: none; }
  .intro-pending .sig { opacity: 1; }
  .reel { overflow-x: auto; }
  .reel-track { animation: none; }
  .note-sig { -webkit-mask-image: none; mask-image: none; }
  .intro-play .logo .ch, .intro-play .tagline, .intro-play .intro, .intro-play .brand-meta, .intro-play .nav { opacity: 1; filter: none; transform: none; }
}

/* short landscape screens: lightbox keeps photos inside the screen */
@media (max-height: 500px) {
  .lb figure { padding: 14px 64px 34px; }
  .lb .lb-close { top: 8px; }
  .lb .lb-count { bottom: 8px; }
}

/* ---------- blocks added from the admin ---------- */
.cb { margin: 0 auto; }
.cb-text { width: min(720px, 100%); padding: 36px 0; text-align: center; }
.cb-text h2 { margin: 0 0 16px; font-family: var(--cond); font-weight: 300; font-size: 27px; }
.cb-text p, .cb-copy p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; }
.cb-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: min(820px, 100%); padding: 36px 0; }
.cb-img img { display: block; width: 100%; height: auto; }
.cb-copy { text-align: center; }
@media (max-width: 760px) { .cb-photo { grid-template-columns: 1fr; gap: 20px; } .cb-text { padding: 28px 0; } }
