*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1c3461; --navy-deep: #0e1e3a;
  --orange: #c85a2a; --orange-light: #e06b35;
  --offwhite: #f8f6f2; --warm-gray: #e8e4de;
  --text-muted: #7a7a7a; --text-body: #2a2a2a;
  --font-body: 'DM Sans', sans-serif; --font-serif: 'DM Serif Display', serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--offwhite); color: var(--text-body); overflow-x: hidden; }
html[lang="he"] body { font-family: 'Heebo', sans-serif; }
a { color: var(--navy); }
a:hover { color: var(--orange); }

/* NAV */
.nav-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 4px; background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 50%, var(--orange) 100%); }
nav { position: fixed; top: 4px; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: 88px; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(28,52,97,0.07); transition: box-shadow 0.3s, height 0.3s; gap: 24px; }
nav.scrolled { box-shadow: 0 2px 24px rgba(14,30,58,0.08); height: 68px; }
nav.scrolled .nav-logo img { height: 34px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 48px; transition: height 0.3s; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.65; padding-bottom: 3px; border-bottom: 1.5px solid transparent; transition: opacity 0.2s, border-color 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; border-bottom-color: var(--orange); color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: flex; border: 1.5px solid rgba(28,52,97,0.18); border-radius: 3px; overflow: hidden; }
.lang-btn { padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; cursor: pointer; background: none; border: none; color: var(--navy); opacity: 0.4; transition: background 0.18s, opacity 0.18s; font-family: inherit; text-transform: uppercase; }
.lang-btn.active { background: var(--navy); color: #fff; opacity: 1; }
.nav-cta { background: var(--navy-deep); color: #fff; padding: 11px 24px; border-radius: 2px; font-size: 12px; font-weight: 700; text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--orange); color: #fff; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0; margin-left: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }
nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ARTICLE HERO */
.article-hero { background: var(--navy-deep); padding: 148px 5% 64px; position: relative; overflow: hidden; }
.article-hero .grid-bg { position: absolute; inset: 0; opacity: 0.04; background-image: linear-gradient(var(--offwhite) 1px, transparent 1px), linear-gradient(90deg, var(--offwhite) 1px, transparent 1px); background-size: 48px 48px; }
.article-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 22px; letter-spacing: 0.02em; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.article-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.article-h1 { font-family: var(--font-serif); font-size: clamp(30px, 5vw, 52px); color: #fff; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 22px; }
.article-sub { font-size: 18px; color: rgba(255,255,255,0.62); line-height: 1.6; font-weight: 300; max-width: 640px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.article-author-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 17px; flex-shrink: 0; }
.article-author-name { font-size: 14px; font-weight: 600; color: #fff; }
.article-author-meta { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ARTICLE BODY */
.article-body { max-width: 720px; margin: 0 auto; padding: 64px 5% 72px; }
.article-lead { font-size: 20px; line-height: 1.7; color: var(--navy-deep); font-weight: 400; margin-bottom: 36px; }
.article-body h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 30px); color: var(--navy-deep); line-height: 1.25; letter-spacing: -0.01em; margin: 44px 0 16px; }
html[lang="he"] .article-body h2, html[lang="he"] .article-h1 { font-family: 'Heebo', sans-serif; font-weight: 700; }
.article-body h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--navy); margin: 30px 0 8px; }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--text-body); margin-bottom: 20px; }
.article-body p.callout { background: rgba(200,90,42,0.07); border-left: 3px solid var(--orange); padding: 16px 20px; font-size: 16px; color: var(--navy-deep); }
.article-body strong { color: var(--navy-deep); font-weight: 600; }

/* AUTHOR BOX */
.author-box { max-width: 720px; margin: 0 auto 8px; padding: 32px 5%; }
.author-box-inner { background: #fff; border: 1px solid var(--warm-gray); border-radius: 8px; padding: 28px 30px; display: flex; gap: 18px; align-items: flex-start; }
.author-box-dot { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-deep); color: var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 22px; flex-shrink: 0; }
.author-box-name { font-size: 15px; font-weight: 700; color: var(--navy-deep); }
.author-box-role { font-size: 13px; color: var(--text-muted); margin: 2px 0 8px; }
.author-box-bio { font-size: 14px; color: #555; line-height: 1.7; }

/* CTA */
.article-cta { background: var(--orange); padding: 64px 5%; text-align: center; }
.article-cta h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.5vw, 40px); color: #fff; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.article-cta p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 28px; line-height: 1.6; }
.btn-cta-white { background: #fff; color: var(--orange); padding: 16px 34px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: inline-block; }
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.18); color: var(--orange); }

/* FOOTER */
footer { background: var(--navy-deep); padding: 56px 5% 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.65; max-width: 260px; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { background: var(--navy-deep); padding: 20px 5%; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-size: 12px; color: rgba(255,255,255,0.25); }

@media (max-width: 900px) {
  footer { grid-template-columns: 1fr; gap: 32px; }
  nav { padding: 0 5%; gap: 12px; }
  .nav-burger { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 5% 16px; border-bottom: 1px solid rgba(28,52,97,0.1); box-shadow: 0 16px 32px rgba(14,30,58,0.12); display: none; }
  nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 15px 2px; border-bottom: 1px solid rgba(28,52,97,0.06); opacity: 0.85; font-size: 14px; }
  .article-hero { padding: 128px 6% 52px; }
  .article-body { padding: 48px 6% 56px; }
  .article-lead { font-size: 18px; }
  .article-body p { font-size: 16px; }
}
@media (max-width: 560px) {
  .nav-cta { padding: 9px 16px; font-size: 11px; }
  .lang-btn { padding: 6px 10px; }
  .author-box-inner { flex-direction: column; }
}
