/* NOA Garage. Tokens and rules: ../design.md */
@font-face { font-family: "Plex Hebrew"; src: url("../fonts/plex-400-hebrew.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; src: url("../fonts/plex-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Plex Hebrew"; src: url("../fonts/plex-700-hebrew.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; src: url("../fonts/plex-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; 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 {
  --void: #090A0D;
  --steel: #14171B;
  --line: #2A2F36;
  --beam: #F2EFE8;
  --muted: #A7ABB1;
  --ember: #FF9142;
  --ember-ink: #160A02;
  --head-h: 60px;
  --bar-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Plex Hebrew", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; background: var(--void); }
body { margin: 0; background: var(--void); color: var(--beam); font: 400 1.0625rem/1.65 var(--font); overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 600px) { .wrap { padding-inline: 28px; } }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ic { width: 20px; height: 20px; flex: none; }

.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 12px 18px; background: var(--ember); color: var(--ember-ink); font-weight: 700; border-radius: 10px; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ---------- header ---------- */
.site-head { position: fixed; inset-inline: 0; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: linear-gradient(to bottom, rgba(8, 9, 11, .94), rgba(8, 9, 11, .7) 70%, rgba(8, 9, 11, 0)); }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--beam); text-decoration: none; }
.logo { width: 156px; height: auto; }
.head-actions { display: none; gap: 6px; }
.head-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.head-wa { border: 1px solid rgba(242, 239, 232, .26); }
@media (min-width: 900px) {
  :root { --head-h: 72px; }
  .logo { width: 190px; }
  .head-actions { display: flex; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; user-select: none; -webkit-user-select: none; transition: transform 120ms var(--ease), background-color 200ms, border-color 200ms; }
.btn:active, .act:active, .head-link:active, .motion-btn:active { transform: scale(.97); }
.btn-ember { background: var(--ember); color: var(--ember-ink); }
.btn-ghost { border-color: rgba(242, 239, 232, .3); color: var(--beam); }
@media (hover: hover) and (pointer: fine) {
  .btn-ember:hover { background: #FFA563; }
  .btn-ghost:hover, .head-wa:hover { border-color: var(--beam); }
  .head-link:hover { color: #fff; }
  .foot-links a:hover { color: var(--beam); }
}

/* ---------- hero (scroll-driven sequence) ---------- */
.hero { position: relative; height: 205svh; --p: 0; }
.hero-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); padding-bottom: calc(var(--bar-h) + 60px + env(safe-area-inset-bottom, 0px)); }
.hero-media { position: relative; flex: none; width: 100%; margin-block: auto; aspect-ratio: 4 / 3; max-height: 52svh; }
.hero-media .poster, .hero-media .poster img, .hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media .poster img { object-fit: cover; }
.hero-media canvas { opacity: 0; }
.hero-media.has-seq canvas { opacity: 1; }
.hero-media.has-seq .poster { visibility: hidden; }
.poster-end { display: none; }
.hero-copy { position: relative; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.hero-title { display: flex; flex-direction: column; gap: 8px; }
.hero-kicker { font-weight: 700; color: var(--ember); font-size: 1rem; letter-spacing: .01em; }
.hero-kicker .former { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.hero h1 { font-size: clamp(2rem, 6.2vw + .6rem, 4.4rem); line-height: 1.08; letter-spacing: -0.01em; max-width: 15ch; }
.hero-cta { display: none; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.scroll-cue { position: absolute; inset-inline: 0; margin-inline: auto; bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px)); width: 28px; height: 28px; color: var(--muted); opacity: calc(1 - var(--p) * 12); }

.motion-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(242, 239, 232, .22); background: rgba(8, 9, 11, .7); color: var(--muted); font-size: .875rem; cursor: pointer; user-select: none; -webkit-user-select: none; transition: transform 120ms var(--ease); }
.motion-btn svg { width: 14px; height: 14px; }
.motion-btn .i-play, .motion-btn[aria-pressed="true"] .i-pause { display: none; }
.motion-btn[aria-pressed="true"] .i-play { display: block; }
.motion-btn-hero { position: absolute; top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 8px); inset-inline-end: 12px; }

/* motion off: plain first screen, final frame, no sticky stage */
.motion-off .hero { height: auto; }
.motion-off .hero-stage { position: relative; height: auto; min-height: 0; padding-bottom: 40px; }
.motion-off .hero-media { margin-block: 12px 0; }
.motion-off .poster-start { display: none; }
.motion-off .poster-end { display: block; }
.motion-off .hero-media canvas, .motion-off .scroll-cue { display: none; }

@media (min-width: 900px) {
  .hero { height: 235svh; }
  .hero-stage { padding-bottom: 56px; }
  .hero-media { margin-block: 0; aspect-ratio: 1600 / 670; max-height: 58svh; }
  .hero h1 { font-size: clamp(2.4rem, 3.3vw, 3.6rem); max-width: 18ch; }
  .hero-copy { margin-top: auto; padding-top: 24px; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .hero-cta { display: flex; }
  .hero-title { display: flex; flex-direction: column; gap: 10px; }
  .scroll-cue { bottom: 18px; }
}

/* ---------- sections ---------- */
section h2 { font-size: clamp(1.5rem, 2.4vw + .8rem, 2.25rem); }
.more, .reviews, .visit { padding-block: 64px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .more, .reviews, .visit { padding-block: 96px; } }

.more-list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 1.25rem; font-weight: 700; }
.more-list li { display: inline-flex; align-items: center; gap: 10px; }
.more-list li::before { content: ""; width: 8px; height: 8px; background: var(--ember); transform: rotate(45deg); flex: none; }

.rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.score { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; text-decoration: none; min-height: 44px; }
.score-num { font-size: 2.75rem; font-weight: 700; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--ember); }
.stars svg { width: 18px; height: 18px; }
.score-txt { flex-basis: 100%; color: var(--muted); font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; }
.rev-list { display: grid; gap: 14px; margin-top: 28px; }
.rev-list figure { margin: 0; height: 100%; padding: 22px 22px 20px; background: var(--steel); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.rev-list blockquote { margin: 0; }
.rev-list blockquote p { font-size: 1.0625rem; line-height: 1.7; }
.rev-list blockquote p::before { content: "\201D"; display: block; height: 30px; color: var(--ember); font-size: 3rem; line-height: 1; }
.rev-list figcaption { margin-top: auto; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .rev-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.facts { margin: 26px 0 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 1fr; gap: 6px; padding-block: 16px; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.facts dt .ic { margin-top: 3px; color: var(--ember); }
.facts dd { margin: 0; font-weight: 700; }
.facts dd a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; margin-block: -10px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; font-weight: 400; white-space: nowrap; }
.hours li.today { font-weight: 700; color: var(--beam); }
.hours li:not(.today) { color: #D5D3CD; }
.open-now { margin-top: 8px; color: var(--ember); font-weight: 700; min-height: 1.65em; }
.visit-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.visit-cta .btn { padding: 0 12px; }
@media (min-width: 900px) {
  .visit-in { display: grid; grid-template-columns: 1fr 1.4fr; column-gap: 64px; align-items: start; }
  .visit-in h2 { grid-row: 1 / span 2; }
  .facts { margin-top: 0; }
  .facts > div { grid-template-columns: 130px 1fr; gap: 12px; }
  .visit-cta { display: flex; }
  .visit-cta .btn { padding: 0 22px; }
}

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 44px calc(44px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .9375rem; }
.foot-in { display: grid; gap: 22px; }
.logo-foot { width: 140px; color: var(--beam); margin-bottom: 12px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot-note { font-size: .875rem; }
@media (min-width: 900px) {
  .site-foot { padding-bottom: 44px; }
  .foot-in { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .foot-note { grid-column: 1 / -1; }
}

/* ---------- phone action bar ---------- */
.action-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(8, 9, 11, .96); border-top: 1px solid var(--line); }
.act { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 12px; font-weight: 700; text-decoration: none; user-select: none; -webkit-user-select: none; transition: transform 120ms var(--ease); }
.act-call { background: var(--ember); color: var(--ember-ink); }
.act-wa { border: 1px solid rgba(242, 239, 232, .3); }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- inner pages ---------- */
.doc { max-width: 760px; padding-top: calc(var(--head-h) + 48px); padding-bottom: 72px; }
.doc h1 { font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem); margin-bottom: 18px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.doc p, .doc li { color: #DEDBD4; }
.doc ul { list-style: disc; padding-inline-start: 22px; display: grid; gap: 6px; }
.doc a { color: var(--ember); }
.doc .meta { margin-top: 32px; color: var(--muted); font-size: .9375rem; }
.inner .site-foot { padding-bottom: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
