/* מישאל הצורף — warm neighbourhood workshop */
:root {
  --paper: #f5ede1;
  --paper-2: #ede1cf;
  --card: #fffbf5;
  --ink: #2b1f17;
  --ink-2: #5e4b3c;
  --copper: #9a3f22;
  --copper-hover: #7c3119;
  --on-copper: #fffbf5;
  --gold: #c59a4a;
  --line: #dccbb3;
  --night: #2b1f17;
  --on-night: #f5ede1;
  --on-night-2: #cdbba5;
  --focus: #1a5fb4;
  --shadow: 0 1px 2px rgba(60, 35, 15, .08), 0 10px 28px rgba(60, 35, 15, .10);
  --radius: 14px;
  --font-body: "Assistant", sans-serif;
  --font-head: "Heebo", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  font-size: 100%;
}

/* accessibility widget states (set on <html>) */
:root.a11y-size-1 { font-size: 112.5%; }
:root.a11y-size-2 { font-size: 125%; }
:root.a11y-size-3 { font-size: 140%; }
:root.a11y-contrast {
  --paper: #000; --paper-2: #000; --card: #000; --ink: #fff; --ink-2: #fff;
  --copper: #ffe14d; --copper-hover: #fff; --on-copper: #000; --gold: #ffe14d;
  --line: #fff; --night: #000; --on-night: #fff; --on-night-2: #fff; --focus: #4dd0ff;
  --shadow: none;
}
:root.a11y-contrast img { filter: none; }
:root.a11y-contrast .polaroid, :root.a11y-contrast .card, :root.a11y-contrast .hero-card { border: 2px solid #fff; }
:root.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 1px dashed currentColor; outline-offset: 2px; }
:root.a11y-font { --font-body: "Heebo", sans-serif; --font-head: "Heebo", sans-serif; }
:root.a11y-font body { line-height: 1.9; }
:root.a11y-font body { letter-spacing: .01em; word-spacing: .08em; }
:root.a11y-still *, :root.a11y-still *::before, :root.a11y-still *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
:root.a11y-still .polaroid { transform: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-underline-offset: .2em; }
a:hover { color: var(--copper-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- top strip & header ---------- */
.strip { background: var(--night); color: var(--on-night-2); font-size: .9375rem; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding-block: 8px; }
.strip a { color: var(--on-night); text-decoration: none; }
.strip a:hover { text-decoration: underline; color: var(--on-night); }
.strip span { white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-inline-end: auto; }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; width: 44px; height: 44px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; display: block; white-space: nowrap; }
.brand-tag { white-space: nowrap; }
@media (max-width: 1320px) { .brand-tag { display: none !important; } }
.brand-tag { font-size: .875rem; color: var(--ink-2); display: block; line-height: 1.3; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.0625rem; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .2s ease, transform .2s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--copper); color: var(--on-copper); }
.btn-primary:hover { background: var(--copper-hover); color: var(--on-copper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: scale(.97); }
.header-call { white-space: nowrap; }
.menu-toggle { display: none; }

@media (max-width: 1140px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px; min-height: 68px; }
  .menu-toggle { display: inline-flex; order: 2; background: transparent; border: 2px solid var(--ink); color: var(--ink); padding: 8px 16px; min-height: 44px; }
  .header-call { order: 1; padding-inline: 16px; }
  .nav { order: 3; flex-basis: 100%; display: none; padding-bottom: 12px; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 14px; border-radius: 10px; font-size: 1.125rem; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.25rem; }
  .brand svg { width: 36px; height: 36px; }
  .header-call .label-long { display: none; }
  .strip .hide-sm { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; padding-block: clamp(24px, 5vw, 64px); }
.hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(43, 31, 23, .15), rgba(43, 31, 23, 0) 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 620px) 1fr; }
.hero-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); }
.eyebrow { display: inline-block; font-weight: 700; color: var(--copper); font-size: .9375rem; letter-spacing: .02em; margin-bottom: 12px; }
.hero-card h1 { margin-bottom: .35em; }
.hero-card .sub { display: block; font-size: .55em; color: var(--ink-2); font-weight: 500; margin-top: .25em; }
.lead { font-size: 1.1875rem; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px dashed var(--line); list-style: none; font-size: 1rem; color: var(--ink-2); }
.hero .facts li { display: flex; align-items: center; gap: 8px; }
.hero .facts svg { width: 18px; height: 18px; color: var(--copper); flex: none; }
@media (max-width: 760px) {
  .hero { padding-top: 0; }
  .hero-photo { position: relative; height: 200px; z-index: 0; }
  .hero .wrap { grid-template-columns: 1fr; margin-top: -48px; position: relative; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(40px, 7vw, 88px); }
.section-alt { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.service-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-list a:hover { border-color: var(--copper); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-list strong { font-family: var(--font-head); font-size: 1.3125rem; color: var(--copper); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.service-list strong::after { content: "←"; font-family: var(--font-body); font-size: 1.1rem; }
.service-list span { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }

/* ---------- page header & layout ---------- */
.page-head { padding-block: clamp(32px, 6vw, 64px) clamp(16px, 3vw, 24px); }
.page-head p { color: var(--ink-2); font-size: 1.1875rem; margin: 0; }
.crumbs { font-size: .9375rem; color: var(--ink-2); margin-bottom: 8px; }
.crumbs a { color: var(--ink-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(40px, 7vw, 88px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 64ch; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--copper); }
.prose .service-list { margin: 8px 0 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.prose h2 { margin-top: 1.4em; }

.note { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-color: color-mix(in srgb, var(--copper) 35%, var(--line)); border-radius: 999px; padding: 10px 16px; font-weight: 700; }

/* ---------- polaroids & before/after ---------- */
.photos-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 40px; gap: 32px; }
.photos { display: grid; gap: 28px; justify-items: center; }
@media (max-width: 860px) { .photos { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.polaroid { margin: 0; background: #fff; padding: 10px 10px 0; border-radius: 4px; box-shadow: var(--shadow); width: 100%; max-width: 320px; transform: rotate(var(--tilt, -1.5deg)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.polaroid:nth-child(2n) { --tilt: 1.2deg; }
.polaroid:nth-child(3n) { --tilt: -.6deg; }
@media (hover: hover) { .polaroid:hover { transform: rotate(0) scale(1.02); } }
.polaroid figcaption { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: #3a2a1e; text-align: center; padding: 10px 6px 12px; }
:root.a11y-contrast .polaroid { background: #000; } :root.a11y-contrast .polaroid figcaption { color: #fff; }

.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.ba img.before { opacity: 0; }
.ba.show-before img.before { opacity: 1; }
.ba-badge { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; background: rgba(43, 31, 23, .82); color: #fff; font-size: .8125rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.ba-toggle { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 700 .875rem/1 var(--font-body); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.ba-toggle:hover { background: var(--paper); }
:root.a11y-contrast .ba-toggle { background: #ffe14d; color: #000; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 36px 28px; padding-bottom: clamp(40px, 7vw, 88px); }
.gallery .polaroid { max-width: none; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.review img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.75; position: relative; padding-top: 28px; }
.review blockquote::before { content: "”"; position: absolute; top: -14px; inset-inline-start: 0; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--gold); }
.review figcaption { font-weight: 700; color: var(--copper); margin-top: auto; }

/* ---------- visit / contact ---------- */
.visit { background: var(--night); color: var(--on-night); border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.visit h2 { color: var(--on-night); }
.visit p { color: var(--on-night-2); }
.visit .btn-ghost { color: var(--on-night); border-color: var(--on-night); }
.visit .btn-ghost:hover { background: var(--on-night); color: var(--night); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.hours th, .hours td { text-align: start; padding: 10px 0; border-bottom: 1px solid rgba(245, 237, 225, .18); }
.hours td { text-align: end; font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; padding-bottom: clamp(40px, 7vw, 88px); }
.contact-grid .card h2 { font-size: 1.375rem; display: flex; align-items: center; gap: 10px; }
.contact-grid .card h2 svg { width: 24px; height: 24px; color: var(--copper); }
.contact-grid .card p { margin: 0 0 4px; }
.contact-grid .big { font-size: 1.375rem; font-weight: 700; }
.contact-grid .hours td, .contact-grid .hours th { border-color: var(--line); }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { display: inline-block; padding: 6px 0; font-weight: 600; font-size: 1.125rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); margin-top: 0; padding-block: 48px 88px; font-size: 1rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--on-night); font-size: 1.25rem; }
.site-footer a { color: var(--on-night); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(245, 237, 225, .15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9375rem; }

/* ---------- accessibility widget ---------- */
.a11y-btn { position: fixed; z-index: 60; inset-block-end: 16px; inset-inline-end: 16px; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; background: #1a5fb4; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.a11y-btn svg { width: 30px; height: 30px; }
.a11y-btn:hover { background: #134a8e; }
.a11y-panel { position: fixed; z-index: 61; inset-block-end: 84px; inset-inline-end: 16px; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: #1b1b1b; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .3); padding: 18px; font-family: "Assistant", sans-serif; font-size: 16px; line-height: 1.4; }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-family: inherit; font-size: 19px; margin: 0; color: #1b1b1b; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eee; color: #1b1b1b; font-size: 22px; cursor: pointer; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { min-height: 64px; border: 2px solid #d0d0d0; border-radius: 10px; background: #f7f7f7; color: #1b1b1b; font: 600 15px/1.25 "Assistant", sans-serif; cursor: pointer; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.a11y-opt:hover { border-color: #1a5fb4; }
.a11y-opt[aria-pressed="true"] { background: #1a5fb4; border-color: #1a5fb4; color: #fff; }
.a11y-opt .ico { font-size: 20px; line-height: 1; }
.a11y-size { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 2px solid #d0d0d0; border-radius: 10px; padding: 6px 8px; }
.a11y-size button { width: 48px; height: 44px; border-radius: 8px; border: 0; background: #1a5fb4; color: #fff; font: 700 20px/1 "Assistant", sans-serif; cursor: pointer; }
.a11y-size button:disabled { background: #bbb; cursor: not-allowed; }
.a11y-reset { grid-column: 1 / -1; min-height: 44px; border-radius: 10px; border: 2px solid #1b1b1b; background: #fff; color: #1b1b1b; font: 700 15px "Assistant", sans-serif; cursor: pointer; }
.a11y-panel :focus-visible { outline: 3px solid #e66100; outline-offset: 2px; }

@media (max-width: 440px) { .header-call { width: 48px; padding: 0; } .header-call .num { display: none; } .site-header .wrap { flex-wrap: nowrap; } .nav { position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; } .site-header .wrap { position: relative; } }
@media print { .strip, .site-header, .a11y-btn, .a11y-panel, .visit .actions { display: none !important; } }
