/*
  א. כנעני - עשה זאת בעצמך | קריית גת — פלטה, פונטים ומבנה

  ענף: חנות כלי עבודה וחשמל. הכיוון התעשייתי (צהוב אזהרה על אפור-בטון כהה)
  הוא כאן בחירה אותנטית ולא קלישאה: זו בדיוק שפת המיתוג המקובלת בעולם
  לחנויות כלים וחומרי בניין (חשבו Stanley/DeWalt/Hilti) - צהוב עבודה על
  גבי גריי תעשייתי. הפלטה כאן נבנתה במכוון להיות שונה מהגראז' (01), שמשתמש
  בגרפיט עם גוון כחלחל (#14161a) וענבר-כתום (#F5A623): הבסיס כאן חם-אפרפר
  יותר (בלי נטייה כחולה, קרוב יותר לבטון/עץ-פחם), והצהוב עז ורווי הרבה יותר
  (#FFC300, צהוב "אזהרה" אמיתי) ולא כתום-ענבר.

  --bg (#1b1b1a) / --bg-elevated (#232320) / --bg-card (#2b2b27): אותו גוון
  אפור-פחמי חם, שלוש רמות עומק בלבד (Page Theme Lock - בלי היפוך תאורה).
  --accent (#ffc300): צהוב אזהרה בודד, המבטא היחיד בכל האתר.

  טיפוגרפיה: Heebo במשקל 800 (כותרות) - גרוטסק עברי כבד, נקי וקריא
  מאוד גם בגדלים קטנים, שומר על נוכחות תעשייתית/מוצקה בלי להקריב קריאות.
  Noto Sans Hebrew (טקסט רץ, וריאבל 400-700) - גרוטסק נקי וקריא מאוד.
  עדכון: הגופן המקורי (Karantina, תצוגה בלוקי/"מוטבע") הוחלף ב-Heebo
  לאחר משוב מהמשתמש שהוא לא קריא מספיק. שני הגופנים מתארחים מקומית
  ב-fonts/ (ראו fonts/fonts.css) - אין קריאה ל-Google Fonts בזמן ריצה.

  מבנה: השפה החזותית כאן היא "מעבר/מדף בחנות כלים" - סרגל-שירות עליון
  (שעות/טלפון) מעל כותרת מבנית קבועה עם ניווט "מדפים" ממוספר (01 אודות,
  02 מוצרים...), הירו כ"קטלוג מוצרים" (כותרת ענקית + מדף-תצוגה עם תמונה
  וגריד קטגוריות ניתן ללחיצה - לא תמונת רקע מלאה), גריד "מדפים" א-סימטרי
  לקטגוריות המוצרים עם אנימציית "הצמדה למקום" בגלילה, וגלריית בנטו א-
  סימטרית. זו שפה מבנית שונה לחלוטין משלושת האתרים האחרים (לא רק צבעים).

  רדיוסים: --radius-sm (3px) לבקרות/תגיות, --radius-lg (8px) לתמונות/
  כרטיסים. שתי רמות בלבד, עקביות בכל העמוד.

  תנועה: עקומות חדות ומכניות (--ease-out, --ease-mech) במקום קפיצות
  רכות - "הצמדה" ולא "ריחוף".

  ניגודיות (WCAG AA, מחושבת בנוסחת ה-luminance היחסי, לא הערכה):
    --text-muted (#b0aca1) על --bg (#1b1b1a)         → 7.62:1  (AAA)
    --text-muted על --bg-elevated (#232320)           → 6.87:1  (AAA)
    --text-muted על --bg-card (#2b2b27)               → 6.19:1  (AA+)
    --accent (#ffc300) על --bg (#1b1b1a)              → 10.72:1 (AAA)
    --accent על --bg-card (#2b2b27)                   → 8.71:1  (AAA)
    טקסט כפתור --ink (#14130f) על --accent (#ffc300)  → 11.56:1 (AAA)
    --text (#f5f3ec) על --bg (#1b1b1a)                → 17.6:1  (AAA)
  כל הזוגות עוברים גם את היעד המחמיר (4.5:1) לטקסט רגיל, לא רק גדול -
  כולל הצהוב שנבדק בכוונה בשני הכיוונים (כטקסט על כהה וכרקע לטקסט כהה),
  כי שילובי צהוב/כהה ידועים כבעייתיים לניגודיות אם לא נבדקים בפועל.
*/

:root{
  --bg: #1b1b1a;
  --bg-elevated: #232320;
  --bg-card: #2b2b27;
  --bg-card-2: #302f28;
  --text: #f5f3ec;
  --text-muted: #b0aca1;
  --accent: #ffc300;
  --accent-dim: #cf9f00;
  --ink: #14130f;
  --border: #3a3934;
  --steel: #5b594e;
  --radius-sm: 3px;
  --radius-lg: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mech: cubic-bezier(0.65, 0, 0.35, 1);
  --max-w: 1280px;
  --util-h: 40px;
  --header-h: 76px;
}

/* ---------- high contrast override (accessibility widget) ---------- */
html.a11y-contrast{
  --bg: #000000;
  --bg-elevated: #000000;
  --bg-card: #0a0a0a;
  --bg-card-2: #0a0a0a;
  --text: #ffffff;
  --text-muted: #ffffff;
  --accent: #ffd83f;
  --accent-dim: #ffd83f;
  --ink: #000000;
  --border: #ffffff;
  --steel: #ffffff;
}
html.a11y-contrast .category-card,
html.a11y-contrast .gallery-item,
html.a11y-contrast .quote-card,
html.a11y-contrast .rating-plate{ border-width: 2px; }

/* ---------- font-size stepper (accessibility widget) ---------- */
html.a11y-font-lg{ font-size: 112%; }
html.a11y-font-xl{ font-size: 125%; }

/* ---------- underline links (accessibility widget) ---------- */
html.a11y-underline a:not(.btn):not(.aisle-link):not(.mobile-nav-link):not(.a11y-toggle):not(.brand){
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ---------- reading spacing (accessibility widget) ----------
   WCAG 1.4.12 Text Spacing: line-height >= 1.5x, letter-spacing >= 0.12x,
   word-spacing >= 0.16x, without loss of content/functionality. */
html.a11y-spacing body{
  letter-spacing: 0.03em;
  word-spacing: 0.08em;
}
html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing h1,
html.a11y-spacing h2,
html.a11y-spacing h3,
html.a11y-spacing a,
html.a11y-spacing span,
html.a11y-spacing button{
  line-height: 1.9 !important;
  letter-spacing: 0.03em !important;
}

/* ---------- grayscale (accessibility widget) ---------- */
html.a11y-grayscale{ filter: grayscale(1); }

/* ---------- stop animations (accessibility widget) ---------- */
html.a11y-stop-motion *,
html.a11y-stop-motion *::before,
html.a11y-stop-motion *::after{
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans Hebrew', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

h1, h2, h3{
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
}

.accent-text{ color: var(--accent); }

.shell{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  right: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 0 var(--radius-sm);
}
.skip-link:focus{ right: 0; top: 0; }

a{ color: inherit; text-decoration: none; }

/* focus-visible: consistent yellow ring, keyboard only */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-mech), background 160ms var(--ease-mech), border-color 160ms var(--ease-mech);
  cursor: pointer;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }
.btn-accent{ background: var(--accent); color: var(--ink); }
.btn-ghost{ background: transparent; color: var(--text); border-color: var(--steel); }
@media (hover: hover) and (pointer: fine){
  .btn-accent:hover{ background: #ffd333; transform: translateY(-2px); }
  .btn-ghost:hover{ border-color: var(--text-muted); transform: translateY(-2px); }
}
.btn:active{ transform: scale(0.97); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.eyebrow::before{
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-pad{ padding: 88px 0; }
@media (max-width: 700px){ .section-pad{ padding: 64px 0; } }

.section-head{ max-width: 640px; margin-bottom: 40px; }
.section-head h2{ font-size: clamp(2rem, 4.5vw, 2.8rem); margin-top: 10px; }
.section-head p{ color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }

/* clip-path wipe reveal target (set by GSAP, RTL-aware: reveals right-to-left) */
.clip-reveal{ clip-path: inset(0 0 0 100%); }

/* =========================================================
   UTILITY BAR
   ========================================================= */
.util-bar{
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.util-bar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--util-h);
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.util-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.util-item svg{ width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.util-links{ display: flex; align-items: center; gap: 18px; }
.util-links a{ display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; }
.util-links a:hover{ color: var(--accent); }
@media (max-width: 620px){
  .util-city{ display: none; }
}

/* =========================================================
   HEADER + AISLE NAV
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms var(--ease-mech), border-color 200ms var(--ease-mech);
}
.site-header.is-scrolled{
  box-shadow: 0 8px 20px -12px rgba(0,0,0,0.6);
  border-bottom-color: var(--accent);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark{
  color: var(--accent);
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg{ width: 100%; height: 100%; }
.brand-text{ font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1; }
.brand-text small{ display: block; font-family: 'Noto Sans Hebrew', sans-serif; font-weight: 600; font-size: 0.6rem; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 3px; }

.aisle-nav{ display: flex; align-items: stretch; gap: 4px; }
.aisle-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 160ms var(--ease-mech), background 160ms var(--ease-mech);
}
.aisle-link .aisle-num{ font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--accent); line-height: 1; }
.aisle-link .aisle-label{ font-size: 0.72rem; font-weight: 700; }
.aisle-link:hover, .aisle-link.is-active{ color: var(--text); background: var(--bg-elevated); }

.header-actions{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.header-phone svg{ width: 16px; height: 16px; color: var(--accent); }
.header-phone:hover{ border-color: var(--accent); }

.menu-toggle{
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.menu-toggle svg{ width: 20px; height: 20px; }
.menu-toggle .icon-close{ display: none; }
.menu-toggle[aria-expanded="true"] .icon-open{ display: none; }
.menu-toggle[aria-expanded="true"] .icon-close{ display: block; }

@media (max-width: 880px){
  .aisle-nav, .header-phone{ display: none; }
  .menu-toggle{ display: flex; }
}

/* mobile full-screen aisle menu */
.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform 320ms var(--ease-mech);
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-list{ display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mobile-nav-link{
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
}
.mobile-nav-link .aisle-num{ color: var(--accent); font-size: 1.1rem; }
.mobile-nav-cta{ margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 92px; }

/* =========================================================
   HERO — product-catalog composition
   ========================================================= */
.hero{
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-copy h1{
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  margin-top: 14px;
}
.hero-line{
  display: block;
  overflow: hidden;
}
.hero-line span{
  display: block;
  transform: translateY(110%);
  animation: heroLineUp 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.hero-line:nth-child(2) span{ color: var(--accent); }
@keyframes heroLineUp{
  to{ transform: translateY(0); }
}
.hero-sub{
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out) forwards;
  animation-delay: 0.55s;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out) forwards;
  animation-delay: 0.68s;
}
.hero-rating{
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out) forwards;
  animation-delay: 0.8s;
}
@keyframes heroFadeUp{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-line span{ animation: none; transform: translateY(0); }
  .hero-sub, .hero-actions, .hero-rating{ animation: none; opacity: 1; transform: none; }
}
html.a11y-stop-motion .hero-line span{ animation: none; transform: translateY(0); }
html.a11y-stop-motion .hero-sub,
html.a11y-stop-motion .hero-actions,
html.a11y-stop-motion .hero-rating{ animation: none; opacity: 1; transform: none; }

.star-row{ display: inline-flex; gap: 2px; position: relative; }
.star-row svg{ width: 16px; height: 16px; color: var(--border); }
.star-row .star-fill{
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  gap: 2px;
  width: 84%;
}
.star-row .star-fill svg{ color: var(--accent); }
.hero-rating-text{ font-size: 0.88rem; }
.hero-rating-text strong{ color: var(--text); }

/* hero "shelf" panel: framed photo + category tile directory */
.hero-shelf{ display: flex; flex-direction: column; gap: 18px; }
.hero-photo-frame{
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--bg-elevated);
}
.hero-photo-frame::before,
.hero-photo-frame::after{
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  top: 6px;
}
.hero-photo-frame::before{ right: 6px; border-left: none; border-bottom: none; }
.hero-photo-frame::after{ left: 6px; border-right: none; border-bottom: none; }
.hero-photo-wrap{
  position: relative;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  aspect-ratio: 8 / 5;
}
.hero-photo-wrap img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 8/5; }
.hero-photo-cap{
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0 4px;
}

.hero-tiles{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hero-tile{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: border-color 160ms var(--ease-mech), transform 160ms var(--ease-mech), background 160ms var(--ease-mech);
}
.hero-tile svg{ width: 22px; height: 22px; color: var(--accent); }
.hero-tile span{ font-size: 0.72rem; font-weight: 700; }
@media (hover: hover) and (pointer: fine){
  .hero-tile:hover{ border-color: var(--accent); transform: translateY(-3px); background: var(--bg-card-2); }
}

@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-shelf{ order: -1; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
}
.about-copy p{ color: var(--text-muted); font-size: 1.05rem; margin: 18px 0 0; }
.about-copy h2{ font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: 10px; }

.about-tag-board{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.about-feature{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.about-feature:last-child{ border-bottom: none; padding-bottom: 0; }
.about-feature:first-child{ padding-top: 0; }
.about-feature svg{ width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.about-feature strong{ display: block; font-size: 0.98rem; }
.about-feature span{ display: block; color: var(--text-muted); font-size: 0.88rem; margin-top: 3px; }

@media (max-width: 860px){
  .about-grid{ grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   CATEGORIES — asymmetric shelving grid ("aisles")
   ========================================================= */
.categories-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.category-card{
  position: relative;
  grid-column: span 3;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease-mech), background 200ms var(--ease-mech);
}
.category-card:nth-child(1),
.category-card:nth-child(4){ grid-column: span 4; }
.category-card:nth-child(2),
.category-card:nth-child(5){ grid-column: span 2; }
.category-card:nth-child(3),
.category-card:nth-child(6){ grid-column: span 3; }
@media (hover: hover) and (pointer: fine){
  .category-card:hover{ border-color: var(--accent); background: var(--bg-card-2); }
}
.category-top{ display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.category-num{ font-family: 'Heebo', sans-serif; font-weight: 800; color: var(--accent); font-size: 1rem; }
.category-icon{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-top: 14px;
}
.category-icon svg{ width: 24px; height: 24px; }
.category-card h3{ font-size: 1.35rem; margin-top: 16px; }
.category-card p{ color: var(--text-muted); font-size: 0.92rem; margin-top: 8px; flex: 1; }

/* toggle-switch micro-interaction */
.category-switch{
  position: relative;
  width: 34px;
  height: 18px;
  margin-top: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2px;
  flex-shrink: 0;
}
.category-switch-knob{
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 1px;
  background: var(--steel);
  transition: transform 180ms var(--ease-mech), background 180ms var(--ease-mech);
}
.category-card:hover .category-switch-knob,
.category-card:focus-within .category-switch-knob{
  transform: translateX(-16px);
  background: var(--accent);
}
.category-switch-label{ font-size: 0.68rem; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.03em; }

@media (max-width: 860px){
  .categories-grid{ grid-template-columns: repeat(2, 1fr); }
  .category-card,
  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(3),
  .category-card:nth-child(4),
  .category-card:nth-child(5),
  .category-card:nth-child(6){ grid-column: span 1; }
}
@media (max-width: 520px){
  .categories-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   GALLERY — asymmetric bento
   ========================================================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: 12px;
}
.gallery-item{
  position: relative;
  grid-column: span 3;
  grid-row: span 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  padding: 0;
  display: block;
  width: 100%;
}
.gallery-item:nth-child(1){ grid-column: span 3; grid-row: span 4; }
.gallery-item:nth-child(2){ grid-column: span 3; grid-row: span 4; }
.gallery-item:nth-child(3){ grid-column: span 2; grid-row: span 3; }
.gallery-item:nth-child(4){ grid-column: span 2; grid-row: span 3; }
.gallery-item:nth-child(5){ grid-column: span 2; grid-row: span 3; }
.gallery-item:nth-child(6){ grid-column: span 3; grid-row: span 3; }
.gallery-item:nth-child(7){ grid-column: span 3; grid-row: span 3; }
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-mech);
}
@media (hover: hover) and (pointer: fine){
  .gallery-item:hover img{ transform: scale(1.06); }
}
.gallery-cap{
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}
@media (max-width: 780px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(7){ grid-column: span 1; grid-row: span 2; }
}

/* lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10,10,9,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden]{ display: none; }
.lightbox-inner{ max-width: 900px; width: 100%; }
.lightbox-inner img{ width: 100%; border-radius: var(--radius-lg); max-height: 78vh; object-fit: contain; background: var(--bg-card); }
.lightbox-cap{ color: var(--text); margin-top: 14px; font-size: 0.95rem; text-align: center; }
.lightbox-close{
  position: fixed;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.lightbox-close svg{ width: 20px; height: 20px; }

/* =========================================================
   REVIEWS — "spec plate" rating + quote rail
   ========================================================= */
.reviews-inner{
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.rating-plate{
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.rating-plate::before,
.rating-plate::after{
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel);
  top: 12px;
}
.rating-plate::before{ right: 12px; }
.rating-plate::after{ left: 12px; }
.rating-plate .score-number{
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--accent);
}
.rating-plate .score-of{ color: var(--text-muted); font-size: 1rem; margin-top: 4px; }
.rating-plate .star-row{ margin-top: 14px; justify-content: center; display: inline-flex; }
.rating-plate .star-row svg{ width: 20px; height: 20px; }
.rating-plate .review-count{ margin-top: 14px; font-weight: 700; }
.rating-plate .review-count span{ color: var(--text-muted); font-weight: 400; }

.quote-rail{ display: flex; flex-direction: column; gap: 16px; }
.quote-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.quote-card p{ font-size: 1.02rem; }
.quote-card .quote-mark{ color: var(--accent); font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 0.6; display: block; margin-bottom: 6px; }
.quote-card cite{ display: block; margin-top: 14px; font-style: normal; font-weight: 700; font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 860px){
  .reviews-inner{ grid-template-columns: 1fr; }
}

/* =========================================================
   HOURS + MAP
   ========================================================= */
.hours-map-inner{
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: stretch;
}
.hours-board{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hours-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child{ border-bottom: none; padding-bottom: 0; }
.hours-row:first-child{ padding-top: 0; }
.hours-day{ font-weight: 700; }
.hours-time{ color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hours-time.is-closed{ color: var(--accent); }
.map-frame{
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}
.map-frame iframe{ width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

@media (max-width: 860px){
  .hours-map-inner{ grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p{ color: var(--text-muted); font-size: 0.92rem; margin-top: 12px; max-width: 34ch; }
.footer-col h4{ font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; color: var(--accent); }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-copy{ margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-credit{ margin: 2px 0 0; font-size: 0.72rem; color: var(--text-muted); opacity: 0.75; }
.footer-legal{ display: flex; gap: 18px; }
.footer-legal a{ color: var(--text-muted); font-size: 0.85rem; }
.footer-legal a:hover{ color: var(--text); }

@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: span 2; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-brand{ grid-column: span 1; }
}

/* =========================================================
   ACCESSIBILITY WIDGET
   ========================================================= */
.a11y-widget{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 12px;
}
.a11y-toggle{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.6);
}
.a11y-toggle svg{ width: 26px; height: 26px; }

.a11y-panel{
  width: min(320px, calc(100vw - 48px));
  max-height: min(560px, calc(100vh - 110px));
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.7);
}
.a11y-panel[hidden]{ display: none; }
.a11y-panel h2{ font-size: 1.1rem; font-family: 'Heebo', sans-serif; font-weight: 800; }
.a11y-panel-head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-close{
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.a11y-close svg{ width: 16px; height: 16px; }

.a11y-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.a11y-row:last-of-type{ border-bottom: none; }
.a11y-row-label{ display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.a11y-row-label svg{ width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* the whole row is the <button> (large hit target, one semantic control) -
   not a wrapper div around a smaller hidden button. */
button.a11y-row{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  text-align: inherit;
  font: inherit;
}
button.a11y-row:last-of-type{ border-bottom: none; }

.a11y-stepper{ display: flex; align-items: center; gap: 8px; }
.a11y-stepper button{
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.a11y-stepper button:hover{ border-color: var(--accent); }

/* real switch element: knob is position:absolute inside a position:relative
   direct parent — the one safe exception to the no-absolute rule. The
   switch itself is decorative (aria-hidden); the parent <button class="a11y-row">
   carries the real aria-pressed state, and this selector reads that state
   off the ancestor to animate the knob. */
.a11y-switch{
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.a11y-switch-knob{
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: transform 180ms var(--ease-mech), background 180ms var(--ease-mech);
}
[aria-pressed="true"] .a11y-switch{ border-color: var(--accent); }
[aria-pressed="true"] .a11y-switch-knob{
  transform: translateX(-18px);
  background: var(--accent);
}

.a11y-reset{
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.a11y-reset:hover{ border-color: var(--accent); color: var(--accent); }

/* =========================================================
   LEGAL PAGES (accessibility.html / privacy.html)
   ========================================================= */
.legal-header{ background: var(--bg); border-bottom: 1px solid var(--border); }
.legal-header-inner{ display: flex; align-items: center; min-height: var(--header-h); }
.legal-main{ padding: 64px 0 88px; }
.legal-content{ max-width: 760px; margin: 0 auto; }
.legal-content h1{ font-size: clamp(2rem, 5vw, 2.8rem); }
.legal-content h2{ font-size: 1.4rem; margin-top: 36px; color: var(--accent); }
.legal-content p{ color: var(--text-muted); margin-top: 14px; font-size: 1.02rem; }
.legal-content ul{ color: var(--text-muted); margin-top: 14px; padding-inline-start: 22px; font-size: 1.02rem; }
.legal-content li{ margin-top: 8px; }
.legal-updated{ margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.legal-fade{ opacity: 0; transition: opacity 500ms ease; }
.legal-fade.is-visible{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .legal-fade{ opacity: 1; transition: none; }
}

/* =========================================================
   RESPONSIVE — typography / shell
   ========================================================= */
@media (max-width: 620px){
  .shell{ padding: 0 18px; }
  .section-pad{ padding: 56px 0; }
  .reviews-inner, .hours-map-inner{ gap: 28px; }
}
