:root {
  --bg: #071018;
  --bg-soft: #0d1824;
  --panel: rgba(13, 24, 36, 0.86);
  --panel-2: rgba(17, 30, 45, 0.94);
  --panel-3: rgba(11, 20, 31, 0.98);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3ead8;
  --text-soft: rgba(243, 234, 216, 0.76);
  --text-faint: rgba(243, 234, 216, 0.58);
  --gold: #c89b4a;
  --gold-soft: rgba(200, 155, 74, 0.16);
  --blue: #7ea4d9;
  --danger: #b84e4e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 22px;
  --radius-lg: 34px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Heebo", sans-serif;
  background:
    radial-gradient(circle at 15% 12%, rgba(126, 164, 217, 0.1), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(200, 155, 74, 0.1), transparent 16%),
    linear-gradient(180deg, #071018 0%, #09131d 40%, #060d15 100%);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

iframe {
  border: 0;
}

.page-shell,
.admin-shell {
  min-height: 100vh;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(18px, 4vw, 42px);
  background: rgba(7, 16, 24, 0.32);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.topbar.scrolled {
  background: rgba(7, 16, 24, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-links a {
  font-size: 0.88rem;
  color: var(--text-faint);
}

.topbar-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(5, 10, 17, 0.12), rgba(5, 10, 17, 0.24));
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 17, 0.3) 0%, rgba(5, 10, 17, 0.58) 42%, rgba(5, 10, 17, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 58px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fbf6ed;
}

.hero-copy {
  margin-top: 20px;
  max-width: 660px;
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #e1b86f, #c8923a);
  color: #081018;
  box-shadow: 0 14px 34px rgba(200, 146, 58, 0.24);
}

.ghost-button,
.admin-button {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.ghost-button:hover,
.admin-button:hover {
  transform: translateY(-1px);
}

.hero-countdown {
  margin-top: 28px;
  max-width: 560px;
}

.countdown-card {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 31, 46, 0.9), rgba(11, 20, 31, 0.96));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.countdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(200, 155, 74, 0.2);
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.countdown-note {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-faint);
  text-align: left;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  direction: rtl;
}

.time-box {
  padding: 9px 4px 8px;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.time-box span {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff8eb;
}

.time-box small {
  display: block;
  margin-top: 4px;
  font-size: 0.5rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hero-highlights article,
.info-card,
.quote-card,
.video-card,
.article-card,
.faq-list details,
.closing-panel,
.admin-section,
.admin-sidebar {
  background: linear-gradient(180deg, rgba(15, 27, 41, 0.9), rgba(10, 18, 28, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 16px;
  border-radius: 16px;
}

.hero-highlights strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: #fff4dd;
}

.hero-highlights span {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  color: var(--text);
}

.section-heading p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.story-layout,
.map-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.story-copy p,
.map-copy p,
.info-card p,
.quote-card p,
.video-card p,
.article-card p,
.faq-list p,
.closing-panel p {
  color: var(--text-soft);
  line-height: 1.86;
}

.story-copy p + p,
.map-copy p + p {
  margin-top: 18px;
}

.street-scene {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, #10243d 0%, #17385f 50%, #0c1827 100%);
  border: 1px solid rgba(126, 164, 217, 0.18);
}

.street-label {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: rgba(243, 234, 216, 0.42);
}

.street-pulse {
  position: absolute;
  width: 360px;
  height: 360px;
  left: -80px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 155, 74, 0.24), transparent 70%);
  animation: pulse 5.5s ease-in-out infinite;
}

.street-pulse.second {
  width: 260px;
  height: 260px;
  left: auto;
  right: -40px;
  top: -40px;
  bottom: auto;
  animation-delay: -2.6s;
  background: radial-gradient(circle, rgba(126, 164, 217, 0.2), transparent 70%);
}

.street-facts {
  position: absolute;
  right: 24px;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.street-facts span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.88rem;
}

.cards-grid,
.testimonial-strip,
.video-grid,
.gallery-grid,
.articles-grid {
  display: grid;
  gap: 18px;
}

.cards-grid,
.testimonial-strip,
.articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.quote-card,
.video-card,
.article-card {
  padding: 22px;
  border-radius: 22px;
}

.card-index,
.media-tag,
.video-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
}

.info-card h3,
.article-card h3,
.video-card-copy h3,
.media-group-head h3 {
  margin: 12px 0 10px;
  color: var(--text);
  font-size: 1.28rem;
}

.quote-card span,
.video-link {
  color: var(--blue);
  font-weight: 700;
}

.quote-card p {
  font-size: 1rem;
}

.media-stack,
.media-group {
  display: grid;
  gap: 18px;
}

.media-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-frame {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  background: #04090f;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

.inline-video-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
}

.video-link {
  display: inline-flex;
  margin-top: 14px;
}

.gallery-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 220px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, transparent 16%, rgba(5, 10, 17, 0.84) 100%),
    linear-gradient(135deg, #16304f, #0b1522);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff6e7;
  font-size: 1.08rem;
  font-weight: 700;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.map-board {
  position: relative;
  min-height: 320px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 30, 45, 0.96), rgba(10, 18, 28, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-board svg {
  width: 100%;
  height: 100%;
}

.map-board path {
  fill: none;
  stroke: rgba(126, 164, 217, 0.46);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
}

.map-node {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.map-node.israel {
  right: 68%;
  top: 46%;
}

.map-node.europe {
  right: 48%;
  bottom: 16%;
}

.map-node.usa {
  left: 9%;
  top: 16%;
}

.map-node.uman {
  right: 38%;
  top: 42%;
  background: linear-gradient(135deg, #e1b86f, #c8923a);
  color: #081018;
}

.article-rich {
  background: linear-gradient(180deg, rgba(17, 30, 45, 0.94), rgba(10, 18, 28, 0.98));
}

.article-excerpt {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.faq-list p {
  margin-top: 12px;
}

.closing-panel {
  padding: 32px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(10, 18, 28, 0.98), rgba(20, 37, 58, 0.96)),
    radial-gradient(circle at top left, rgba(200, 155, 74, 0.18), transparent 28%);
}

.closing-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--text);
}

.admin-body {
  background: linear-gradient(180deg, #071018 0%, #09131d 100%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  width: min(1400px, calc(100% - 32px));
  margin: 24px auto;
}

.admin-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
  border-radius: 26px;
}

.admin-sidebar h1 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.9rem;
}

.admin-intro,
.admin-note,
.admin-section-head p {
  color: var(--text-soft);
}

.admin-sidebar-actions,
.admin-main {
  display: grid;
  gap: 12px;
}

.admin-sidebar-actions {
  margin: 24px 0;
}

.admin-section {
  padding: 24px;
  border-radius: 26px;
}

.admin-section-head {
  margin-bottom: 16px;
}

.admin-section-head h2 {
  color: var(--text);
  margin-bottom: 6px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-grid label {
  display: grid;
  gap: 8px;
}

.admin-grid span {
  color: var(--text);
  font-weight: 700;
}

.admin-grid input,
.admin-grid textarea,
.admin-gate-panel input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.admin-grid textarea {
  resize: vertical;
}

.admin-wide {
  grid-column: 1 / -1;
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 10, 18, 0.76);
  backdrop-filter: blur(14px);
  z-index: 50;
}

.admin-gate[hidden] {
  display: none;
}

.admin-gate-panel {
  width: min(440px, calc(100% - 32px));
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 30, 45, 0.98), rgba(10, 18, 28, 1));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.admin-gate-panel h1,
.admin-gate-panel p {
  color: var(--text);
}

.admin-gate-error {
  min-height: 22px;
  color: #ff8d8d;
}

.admin-flash {
  position: fixed;
  left: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 20;
}

.admin-flash[data-error="true"] {
  background: rgba(96, 32, 32, 0.96);
  border-color: rgba(255, 141, 141, 0.22);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.84;
  }
}

@media (max-width: 1100px) {
  .story-layout,
  .map-layout,
  .admin-shell,
  .video-grid,
  .cards-grid,
  .testimonial-strip,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card.tall {
    grid-row: span 1;
  }

  .gallery-card.wide {
    grid-column: span 2;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    gap: 12px;
  }

  .hero-content {
    padding: 114px 0 44px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .hero-copy {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero-countdown {
    max-width: 100%;
  }

  .countdown-card {
    padding: 10px 8px;
  }

  .countdown-head {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }

  .countdown-badge {
    font-size: 0.5rem;
    min-height: 22px;
    padding: 0 8px;
  }

  .countdown-note {
    font-size: 0.48rem;
    line-height: 1.15;
  }

  .countdown-grid {
    gap: 4px;
  }

  .time-box {
    padding: 6px 1px 5px;
    border-radius: 8px;
  }

  .time-box span {
    font-size: clamp(0.82rem, 5vw, 1rem);
  }

  .time-box small {
    margin-top: 2px;
    font-size: 0.32rem;
    letter-spacing: 0.01em;
  }

  .hero-highlights,
  .gallery-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card.wide {
    grid-column: span 1;
  }

  .section {
    padding-top: 72px;
  }

  .street-scene,
  .map-board {
    min-height: 280px;
  }

  .closing-panel,
  .article-modal {
    padding: 26px 20px;
  }
}
