/* NARA website - "The Quiet Counter". See DESIGN.md at the repo root.
   Single typeface (Assistant - distinct from the app's own Heebo), one sage accent used
   sparingly, flat by default, whitespace does the separating. */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&display=swap');

:root {
  --paper:      oklch(97% 0.006 95);
  --paper-dim:  oklch(94% 0.008 95);
  --ink:        oklch(21% 0.01 145);
  --ink-soft:   oklch(40% 0.012 145);
  --ink-faint:  oklch(58% 0.01 145);
  --border:     oklch(88% 0.006 95);
  --sage:       oklch(52% 0.085 150);
  --sage-deep:  oklch(38% 0.075 150);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Assistant', sans-serif;
  direction: rtl;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Assistant', sans-serif; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--sage); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Nav - plain, no card, no shadow */
.nav {
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
}
.nav-brand { font-size: 20px; font-weight: 800; letter-spacing: 0.2px; color: var(--ink); }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--sage-deep); }

/* Hero - asymmetric two-column, not a centered stack */
.hero {
  padding: 72px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero-eyebrow {
  font-size: 14px;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  max-width: 14ch;
}
.hero .lead {
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Buttons - flat, no shadow, no gradient */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--sage-deep); text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { border-color: var(--sage-deep); color: var(--sage-deep); text-decoration: none; }
.btn[data-soon] { position: relative; opacity: 0.65; cursor: default; pointer-events: none; }
.btn[data-soon]::after {
  content: 'בקרוב';
  position: absolute;
  top: -10px;
  left: -8px;
  background: var(--sage);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Photo strip - full-bleed-feeling gallery, imagery leads */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 0;
}
.strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
}

/* Editorial sections - text-led, not card grids */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  margin-bottom: 8px;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}
.section-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sage-deep);
  letter-spacing: 0.3px;
}
.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
}
.section .body { font-size: 16.5px; }

/* Hours - a plain definition list, not a card */
.hours dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0;
  font-size: 16px;
}
.hours dt { color: var(--ink-faint); }
.hours dd { margin: 0; font-weight: 600; }

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Contact - plain rows, no cards */
.contact-list { display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.contact-list .k { color: var(--ink-faint); font-size: 13.5px; display: block; margin-bottom: 3px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--sage-deep); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 40px;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.site-footer .legal-name strong { color: var(--ink-soft); }
.site-footer .links { margin-top: 16px; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .links a { color: var(--ink-faint); font-size: 13px; }
.site-footer .links a:hover { color: var(--sage-deep); }

/* Legal document pages */
.legal-doc { padding: 64px 0 96px; max-width: 720px; margin: 0 auto; }
.legal-doc .banner {
  background: var(--paper-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.legal-doc h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.legal-doc .updated { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 36px; }
.legal-doc h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-doc h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: 15.5px; }
.legal-doc strong { color: var(--ink); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-doc th, .legal-doc td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  text-align: right;
  vertical-align: top;
  color: var(--ink-soft);
}
.legal-doc th { background: var(--paper-dim); color: var(--ink); }
.legal-doc code {
  background: var(--paper-dim);
  padding: 2px 6px;
  border-radius: 3px;
  direction: ltr;
  display: inline-block;
  font-size: 13.5px;
}
