/* המספרה של דור, "לוח הגיר": the whole site is a café chalkboard in a wooden frame. Chalk colours, a menu with dotted leaders, sticky notes. */
:root {
  --board: #22302A; --board2: #1B2722; --chalk: #F1EFE6; --dim: #C8CCC0; --y: #F7E08A; --pink: #F4A6B8; --blue: #9FD3E6; --wood: #7A5233;
  --font: "Fredoka Variable", "Assistant Variable", system-ui, sans-serif; --body: "Assistant Variable", system-ui, sans-serif; --pad: clamp(18px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--wood); }
body { margin: 0; color: var(--chalk); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; background: var(--wood); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; text-wrap: balance; }
:focus-visible { outline: 3px dashed var(--y); outline-offset: 4px; border-radius: 6px; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; padding: 10px 14px; background: var(--y); color: var(--board); z-index: 9; }
.skip:focus { top: 12px; }
.demo { background: #3B2716; color: var(--chalk); text-align: center; font-size: 13px; padding: 7px 16px; }

.board { margin: 10px; border-radius: 10px; box-shadow: inset 0 0 0 8px #5C3B22, inset 0 0 0 10px #9A6B45, 0 20px 40px -20px rgb(0 0 0 / .6);
  background: radial-gradient(120% 80% at 20% 0%, rgb(255 255 255 / .06), transparent 60%), radial-gradient(90% 60% at 90% 100%, rgb(255 255 255 / .05), transparent 60%), var(--board); }
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1060px; margin: 0 auto; padding: 26px var(--pad) 8px; }
.logo { font: 600 22px/1 var(--font); text-decoration: none; }
.logo span { color: var(--y); }
.top__book { font-size: 15px; color: var(--blue); padding: 10px 4px; text-underline-offset: 5px; }

.chalk-sm { margin: 0 0 10px; color: var(--dim); font-size: 15px; letter-spacing: .02em; }
.hero { max-width: 1060px; margin: 0 auto; padding: 34px var(--pad) 60px; }
h1 { margin: 0; font-size: clamp(54px, 15vw, 118px); line-height: .98; text-shadow: 0 0 1px rgb(255 255 255 / .6), 0 0 14px rgb(255 255 255 / .08); }
.y { color: var(--y); }
.squiggle { display: block; width: min(300px, 70%); height: 20px; margin: 8px 0 18px; fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; }
.lead { max-width: 34ch; margin: 0; font-size: clamp(18px, 2.3vw, 21px); color: var(--dim); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 999px; font: 600 17px var(--font); text-decoration: none; transition: transform .15s ease; }
.btn:active { transform: scale(.96); }
.btn--chalk { background: var(--chalk); color: var(--board); }
.btn--line { box-shadow: inset 0 0 0 2px var(--chalk); }
.stars { margin: 22px 0 0; color: var(--dim); }
.stars span { color: var(--y); letter-spacing: 3px; }

.special { max-width: 1060px; margin: 0 auto 0; padding: 40px var(--pad); }
.special h2 { margin: 0 0 8px; font-size: clamp(40px, 10vw, 80px); color: var(--pink); }
.special p:last-child { margin: 0; max-width: 34ch; color: var(--dim); }

.menu, .wall, .hours { max-width: 1060px; margin: 0 auto; padding: 56px var(--pad); border-top: 2px dashed rgb(241 239 230 / .25); }
h2 { margin: 0 0 12px; font-size: clamp(36px, 8vw, 60px); line-height: 1.02; }
.items { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 22px; }
.item__row { display: flex; align-items: baseline; gap: 10px; }
.item__row h3 { margin: 0; font-size: 22px; flex: none; max-width: 70%; }
.dots { flex: 1; border-bottom: 3px dotted rgb(241 239 230 / .45); translate: 0 -6px; }
.item__row b { color: var(--y); font-family: var(--font); }
.items p { margin: 6px 0 0; color: var(--dim); font-size: 16px; }

.wall { display: grid; gap: 22px; }
.note { margin: 0; padding: 24px 22px; color: #2B2B2B; box-shadow: 0 16px 24px -14px rgb(0 0 0 / .6); }
.note p { margin: 0 0 10px; font: 500 20px/1.45 var(--font); }
.note footer { font-size: 14px; opacity: .7; }
.n1 { background: var(--y); rotate: -2deg; }
.n2 { background: var(--pink); rotate: 1.5deg; }

.hours dl { margin: 18px 0; display: grid; gap: 0; max-width: 460px; }
.hours dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 2px dotted rgb(241 239 230 / .35); font-family: var(--font); font-size: 20px; }
.hours dd { margin: 0; color: var(--blue); }

.end { text-align: center; padding: 64px var(--pad) 70px; border-top: 2px dashed rgb(241 239 230 / .25); }
.end h2 { color: var(--y); }
.foot { padding: 20px var(--pad) 100px; text-align: center; font-size: 14px; color: var(--dim); }
.foot p { margin: 4px 0; }
.sticky { position: fixed; inset-inline: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 5; display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--chalk); color: var(--board); font: 600 17px var(--font); text-decoration: none; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .7); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .items li, .note { animation: draw linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes draw { from { opacity: 0; filter: blur(3px); translate: 0 16px; } }
  }
}
@media (min-width: 820px) {
  .board { margin: 18px; }
  .wall { grid-template-columns: 1fr 1fr; align-items: start; }
  .wall h2 { grid-column: 1 / -1; }
  .n2 { margin-top: 40px; }
}
@media (min-width: 900px) { .sticky { display: none; } .foot { padding-bottom: 30px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
