:root {
  --paper: #f7f2ea;
  --paper-soft: #fbf8f3;
  --ink: #25211d;
  --muted: #746b61;
  --clay: #a75f47;
  --terracotta: #c77a55;
  --sage: #87927c;
  --olive: #4f5a45;
  --wine: #6e3942;
  --line: rgba(37, 33, 29, .14);
  --shadow: 0 26px 70px rgba(63, 45, 35, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Hebrew", "Assistant", "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 242, 234, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease, color .35s ease;
}

.site-header.is-transparent:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(22, 18, 15, .54), rgba(22, 18, 15, 0));
  border-color: transparent;
  color: #fffaf2;
}

.site-header.scrolled { padding-block: 12px; box-shadow: 0 12px 35px rgba(37, 33, 29, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #f4c789 0 18%, transparent 19%),
    linear-gradient(135deg, var(--wine), var(--terracotta) 48%, var(--sage));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: .95rem; }
.main-nav a { position: relative; padding-block: 6px; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 18px !important;
}

.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; }
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 5px auto; background: currentColor; transition: transform .25s ease, opacity .25s ease; }

.hero { position: relative; min-height: 96vh; display: grid; align-items: end; overflow: hidden; color: #fffaf2; }
.hero picture, .hero img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; animation: heroDrift 18s ease-in-out infinite alternate; }
.hero-overlay { background: linear-gradient(110deg, rgba(31, 24, 20, .78), rgba(31, 24, 20, .24) 55%, rgba(31, 24, 20, .5)); }
.hero-content { position: relative; padding: 170px 0 90px; max-width: 820px; margin-inline: auto 0; }
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #f0c79a; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 8vw, 7.2rem); line-height: .98; letter-spacing: 0; margin-bottom: 24px; }
h2 { font-size: clamp(1.9rem, 4vw, 4rem); line-height: 1.08; letter-spacing: 0; margin-bottom: 18px; }
.hero-text { max-width: 650px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255,250,242,.88); }
.hero-actions, .cta-grid { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button.primary { background: var(--clay); color: #fffaf2; }
.button.glass { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button.dark { background: var(--ink); color: #fffaf2; }
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}

.intro-band { padding: 72px 0; background: var(--ink); color: #fffaf2; }
.intro-grid { display: grid; grid-template-columns: .7fr 1.4fr .9fr; gap: 34px; align-items: start; }
.intro-copy p { color: rgba(255,250,242,.72); max-width: 720px; }
.metric-strip { display: grid; gap: 14px; }
.metric-strip div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.metric-strip strong { display: block; font-size: 2rem; color: #f0c79a; }
.metric-strip span { color: rgba(255,250,242,.72); }

.section { padding: clamp(76px, 10vw, 130px) 0; }
.section.soft { background: var(--paper-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.text-link { color: var(--wine); font-weight: 800; border-bottom: 1px solid currentColor; }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.art-card, .catalog-card, .post-card, .value-card {
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.art-card { position: relative; min-height: 420px; box-shadow: var(--shadow); }
.art-card.tall { min-height: 540px; }
.art-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.art-card:hover img, .catalog-card:hover img, .post-card:hover img { transform: scale(1.045); }
.art-card div {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 16px;
  color: #fff;
  background: rgba(28, 23, 20, .5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
}
.art-card p { margin-bottom: 2px; font-weight: 800; font-size: 1.1rem; }
.art-card span { color: rgba(255,255,255,.74); }

.split-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; background: var(--paper-soft); }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content { align-self: center; padding: clamp(40px, 7vw, 90px); max-width: 720px; }
.split-content p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-right: 30px; }
.check-list li::before { content: ""; position: absolute; right: 0; top: .68em; width: 16px; height: 16px; border-radius: 50%; background: var(--sage); box-shadow: inset 0 0 0 5px var(--paper-soft); }

.quote-panel { max-width: 900px; margin: auto; text-align: center; }
.quote-panel p { font-size: clamp(1.7rem, 4vw, 3.6rem); line-height: 1.18; }
.quote-panel span { color: var(--muted); font-weight: 800; }
.cta-section { background: var(--sage); color: #fffaf2; }
.cta-grid { justify-content: space-between; }
.cta-grid h2 { max-width: 780px; margin-bottom: 0; }
.cta-section .eyebrow { color: #f6dfba; }

.page-main { padding-top: 76px; }
.page-hero { padding: clamp(88px, 12vw, 160px) 0 70px; background: var(--paper-soft); }
.page-hero.compact { padding-bottom: 46px; }
.page-hero h1, .about-hero h1, .contact-copy h1 { max-width: 920px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.5);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.filter-button.active { background: var(--ink); color: #fffaf2; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalog-card { transition: opacity .25s ease, transform .25s ease; }
.catalog-card.is-hidden { display: none; }
.catalog-card img, .post-card img { width: 100%; height: 310px; object-fit: cover; transition: transform .7s ease; }
.catalog-card div, .post-card div, .value-card { padding: 22px; }
.catalog-card span, .value-card span, .post-card span, .timeline-item span { color: var(--clay); font-weight: 900; }
.catalog-card h2, .post-card h2, .value-card h2, .timeline-item h2 { font-size: 1.35rem; line-height: 1.25; margin: 8px 0; }
.catalog-card p, .post-card p, .value-card p, .timeline-item p { color: var(--muted); }
.catalog-card a, .post-card a { color: var(--wine); font-weight: 900; }

.about-hero { padding: 140px 0 90px; background: var(--paper-soft); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.timeline-item { padding: 28px; border-top: 2px solid var(--clay); background: rgba(255,255,255,.45); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.contact-section { padding: 140px 0 90px; background: var(--paper-soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-copy p { color: var(--muted); }
.contact-methods { display: grid; gap: 10px; margin-top: 30px; font-weight: 800; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  background: #fffaf4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }

.site-footer { background: #1f1b18; color: #fffaf2; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 34px; }
.footer-brand { margin-bottom: 14px; }
.site-footer p, .footer-contact span { color: rgba(255,250,242,.68); }
.site-footer nav, .footer-contact { display: grid; gap: 10px; }
.footer-bottom { margin-top: 44px; padding: 18px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,250,242,.55); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09) translateX(-1.5%); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: rgba(247, 242, 234, .97);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .intro-grid, .split-section, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .art-grid, .catalog-grid, .value-grid, .timeline, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .split-image { min-height: 420px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { padding-inline: 14px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  h2 { font-size: clamp(1.75rem, 9vw, 2.6rem); }
  .hero { min-height: 92vh; }
  .hero-content { padding-bottom: 72px; }
  .section-heading { display: grid; }
  .art-grid, .catalog-grid, .value-grid, .timeline, .blog-grid { grid-template-columns: 1fr; }
  .art-card, .art-card.tall { min-height: 390px; }
  .catalog-card img, .post-card img { height: 260px; }
  .hero-actions .button, .cta-grid .button, .contact-form .button { width: 100%; }
}

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