:root {
  --bg: #000000;
  --gold-soft: #f0d7a4;
  --gold-main: #c5933f;
  --gold-deep: #7f5317;
  --gold-glow: rgba(211, 155, 63, 0.32);
  --panel-bg: rgba(8, 8, 8, 0.76);
  --panel-border: rgba(240, 215, 164, 0.16);
  --text-main: rgba(246, 233, 205, 0.9);
  --text-soft: rgba(244, 228, 200, 0.74);
  --text-faint: rgba(240, 223, 191, 0.64);
  --focus-ring: rgba(255, 221, 166, 0.62);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.38);
  --font-display: "Noto Serif Hebrew", serif;
  --font-hebrew-brand: "adapter-hebrew-text", "Noto Serif Hebrew", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-ui: "Noto Sans Hebrew", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--bg);
}

body.page {
  margin: 0;
  background: var(--bg);
  color: var(--gold-soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
}

.skip-link {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 10;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 244, 225, 0.95);
  color: #15120b;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 0.35rem;
}

.backdrop,
.stage {
  position: relative;
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(206, 149, 52, 0.12), transparent 0 24%),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.03), transparent 0 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 24%, transparent 72%, rgba(129, 83, 23, 0.1) 100%),
    var(--bg);
}

.backdrop__halo,
.backdrop__floor,
.backdrop__vignette {
  position: absolute;
  inset: 0;
}

.backdrop__halo {
  inset: auto 50% auto auto;
  top: 10%;
  left: 50%;
  width: min(44rem, 72vw);
  height: min(44rem, 72vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(223, 171, 76, 0.12) 0%, rgba(0, 0, 0, 0) 68%);
  filter: blur(22px);
  opacity: 0.82;
  transition:
    opacity 1.55s var(--ease-soft),
    transform 1.8s var(--ease-out);
}

.backdrop__floor {
  top: auto;
  left: 50%;
  bottom: -9rem;
  width: min(72rem, 96vw);
  height: min(22rem, 34vw);
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(183, 126, 39, 0.22) 0%, rgba(183, 126, 39, 0.1) 22%, rgba(0, 0, 0, 0) 72%);
  filter: blur(22px);
  opacity: 0.6;
  transition:
    opacity 1.35s var(--ease-soft),
    transform 1.4s var(--ease-out);
}

.backdrop__vignette {
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.58) 100%);
}

.page--home {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.page--home .stage {
  isolation: isolate;
  z-index: 1;
  flex: 1 0 auto;
  min-height: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  place-items: center;
}

.page--home .intro,
.page--home .hero {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.intro {
  z-index: 2;
  transition: opacity 1.15s var(--ease-soft), visibility 0s linear 1.15s;
}

.intro__slogan {
  position: relative;
  margin: 0;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.85rem);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0.18em;
  color: rgba(215, 176, 104, 0.9);
  text-shadow:
    0 0 10px rgba(255, 236, 199, 0.18),
    0 0 30px rgba(157, 103, 28, 0.2),
    0 0 48px rgba(132, 80, 15, 0.16);
  opacity: 0;
  transform: scale(0.985) translateY(0.65rem);
  animation: slogan-reveal 1.45s var(--ease-out) 0.25s forwards;
}

.intro__slogan:lang(en) {
  font-family: var(--font-body);
  font-size: clamp(2.25rem, 5.3vw, 5.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.07em;
  text-wrap: balance;
}

.intro__copy {
  position: relative;
  display: inline-block;
}

.intro__copy::before,
.intro__copy::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro__copy::before {
  color: rgba(255, 218, 152, 0.2);
  filter: blur(16px);
  opacity: 0;
  animation: slogan-aura 1.3s var(--ease-out) 0.55s forwards;
}

.intro__copy::after {
  color: transparent;
  background:
    linear-gradient(
      104deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 243, 216, 0.22) 44%,
      rgba(255, 237, 193, 0.96) 50%,
      rgba(255, 243, 216, 0.18) 56%,
      rgba(255, 255, 255, 0) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  background-size: 220% 100%;
  background-position: -165% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gold-sweep 1.9s var(--ease-out) 1.15s forwards;
}

.hero {
  z-index: 1;
  gap: clamp(0.45rem, 1.1vw, 1rem);
  align-content: center;
  opacity: 0;
  transform: scale(1.02);
  filter: blur(18px);
  pointer-events: none;
  transition:
    opacity 1.25s var(--ease-soft),
    transform 1.25s var(--ease-soft),
    filter 1.25s var(--ease-soft);
}

.hero__logo-wrap {
  width: min(72vw, 58rem);
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(1.1rem) scale(0.985);
  filter: blur(12px);
  transition:
    opacity 1s var(--ease-out) 0.06s,
    transform 1.2s var(--ease-out) 0.06s,
    filter 1s var(--ease-soft) 0.06s;
}

.hero__logo {
  width: auto;
  max-width: 100%;
  max-height: min(68svh, 41rem);
  height: auto;
  -webkit-user-drag: none;
  filter:
    drop-shadow(0 0 1.3rem rgba(193, 134, 43, 0.16))
    drop-shadow(0 0 3rem rgba(113, 70, 15, 0.14));
}

.hero__teaser,
.hero__status,
.hero__link {
  margin: 0;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 0.85s var(--ease-soft),
    transform 0.85s var(--ease-soft);
}

.hero__teaser {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.48rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  max-width: 34rem;
  color: var(--text-soft);
  text-shadow: 0 0 1rem rgba(131, 83, 23, 0.12);
}

.hero__teaser:lang(he) {
  font-family: var(--font-hebrew-brand);
  font-size: clamp(1.18rem, 1.95vw, 1.58rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-wrap: balance;
  text-shadow:
    0 0 1rem rgba(142, 91, 24, 0.1),
    0 0 2rem rgba(113, 70, 15, 0.08);
}

.hero__status {
  max-width: 28rem;
  justify-self: center;
  font-family: var(--font-ui);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.45;
  color: rgba(240, 223, 191, 0.62);
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 0 0.8rem rgba(113, 70, 15, 0.06);
}

.hero__link {
  justify-self: center;
  font-family: var(--font-ui);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(240, 223, 191, 0.72);
  unicode-bidi: isolate;
  font-feature-settings: "kern" 1, "liga" 0, "calt" 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 215, 164, 0.18);
  padding-bottom: 0.14rem;
  transition:
    opacity 0.85s var(--ease-soft),
    transform 0.85s var(--ease-soft),
    border-color 0.25s ease,
    color 0.25s ease;
}

.hero__link:hover,
.hero__link:focus-visible {
  color: rgba(255, 236, 201, 0.92);
  border-color: rgba(255, 236, 201, 0.58);
}

.site-footer {
  z-index: 2;
  width: auto;
  margin: 0 auto clamp(0.7rem, 1.8vw, 1.15rem);
  padding: 0;
  opacity: 0;
  transform: translateY(0.35rem);
  pointer-events: none;
  transition:
    opacity 0.85s var(--ease-soft),
    transform 0.85s var(--ease-soft);
}

.site-footer__separator {
  display: inline-block;
  margin-inline: 0.26rem;
  opacity: 0.42;
}

.site-footer__nav {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.12rem 0.4rem;
}

.site-footer__copyright {
  margin: 0.28rem 0 0;
  color: rgba(244, 231, 202, 0.24);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.45;
  text-align: center;
}

.site-footer__link,
.site-nav__link,
.inline-link {
  color: rgba(244, 231, 202, 0.82);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 0.24em;
  border-bottom: 1px solid rgba(240, 215, 164, 0.18);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.site-footer__link {
  color: rgba(244, 231, 202, 0.34);
  font-size: 0.62rem;
  letter-spacing: 0.015em;
  border-bottom: 0;
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible,
.site-nav__link:hover,
.site-nav__link:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: rgba(255, 237, 203, 0.96);
  border-color: rgba(255, 237, 203, 0.58);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: rgba(244, 231, 202, 0.62);
  text-decoration: underline;
  text-decoration-thickness: 0.04em;
  text-decoration-color: rgba(240, 215, 164, 0.2);
}

body.page--home.intro-complete .intro {
  opacity: 0;
  visibility: hidden;
}

body.page--home.intro-complete .hero,
html.no-js body.page--home .hero,
body.page--home.reduced-motion .hero {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

body.page--home.intro-complete .backdrop__halo,
html.no-js body.page--home .backdrop__halo,
body.page--home.reduced-motion .backdrop__halo {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
}

body.page--home.intro-complete .backdrop__floor,
html.no-js body.page--home .backdrop__floor,
body.page--home.reduced-motion .backdrop__floor {
  opacity: 0.82;
  transform: translateX(-50%) scaleX(1.04);
}

body.page--home.intro-complete .hero__logo-wrap,
html.no-js body.page--home .hero__logo-wrap,
body.page--home.reduced-motion .hero__logo-wrap {
  opacity: 1;
  transform: none;
  filter: none;
}

body.page--home.intro-complete .hero__teaser,
body.page--home.intro-complete .hero__status,
body.page--home.intro-complete .hero__link,
html.no-js body.page--home .hero__teaser,
html.no-js body.page--home .hero__status,
html.no-js body.page--home .hero__link,
body.page--home.reduced-motion .hero__teaser,
body.page--home.reduced-motion .hero__status,
body.page--home.reduced-motion .hero__link {
  opacity: 1;
  transform: none;
}

body.page--home.intro-complete .hero__teaser {
  transition-delay: 0.46s;
}

body.page--home.intro-complete .hero__status {
  transition-delay: 0.6s;
}

body.page--home.intro-complete .hero__link {
  transition-delay: 0.78s;
}

body.page--home.intro-complete .site-footer,
html.no-js body.page--home .site-footer,
body.page--home.reduced-motion .site-footer {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.page--home.intro-complete .site-footer {
  transition-delay: 0.9s;
}

html.no-js body.page--home .intro,
body.page--home.reduced-motion .intro {
  display: none;
}

.page--legal {
  min-height: 100svh;
  padding-bottom: 2rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 1rem 0 0;
}

.site-nav__inner,
.legal-layout {
  width: min(78rem, calc(100vw - 1rem));
  margin: 0 auto;
}

.site-nav__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(14, 11, 6, 0.82) 100%),
    var(--panel-bg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.site-nav__brand {
  color: rgba(246, 232, 202, 0.94);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.9rem;
}

.site-nav__link {
  font-size: 0.9rem;
}

.site-nav__link[aria-current="page"] {
  color: rgba(255, 238, 207, 0.98);
  border-color: rgba(255, 238, 207, 0.58);
}

.legal-layout {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 2.5rem;
}

.legal-card {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--panel-border);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(10, 7, 4, 0.86) 100%),
    var(--panel-bg);
  box-shadow: var(--shadow-soft);
}

.legal-card__header {
  display: grid;
  gap: 0.65rem;
}

.legal-card__eyebrow {
  margin: 0;
  color: rgba(238, 212, 166, 0.64);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-card__title {
  margin: 0;
  color: rgba(248, 236, 212, 0.97);
  font-family: var(--font-hebrew-brand);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
}

.legal-card__lead,
.legal-card__meta,
.legal-section p,
.legal-section li,
.legal-details dt,
.legal-details dd {
  font-family: var(--font-ui);
}

.legal-card__lead {
  margin: 0;
  max-width: 48rem;
  color: var(--text-main);
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.82;
}

.legal-card__meta {
  margin: 0;
  color: rgba(240, 223, 191, 0.62);
  font-size: 0.92rem;
  line-height: 1.5;
}

.legal-section {
  margin-top: 1.55rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(240, 215, 164, 0.1);
}

.legal-section h2 {
  margin: 0 0 0.75rem;
  color: rgba(246, 233, 206, 0.96);
  font-family: var(--font-hebrew-brand);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}

.legal-section p {
  margin: 0.65rem 0 0;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.82;
}

.legal-list {
  margin: 0.55rem 0 0;
  padding-inline-start: 1.15rem;
  color: var(--text-main);
  font-size: 1rem;
}

.legal-list li + li {
  margin-top: 0.55rem;
}

.legal-details {
  margin: 0.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
}

.legal-details__item {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(240, 215, 164, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.legal-details dt {
  color: rgba(240, 223, 191, 0.62);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.legal-details dd {
  margin: 0.35rem 0 0;
  color: rgba(248, 236, 212, 0.92);
  font-size: 1rem;
  line-height: 1.6;
  unicode-bidi: plaintext;
}

@keyframes slogan-reveal {
  from {
    opacity: 0;
    transform: scale(0.985) translateY(0.65rem);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slogan-aura {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 0.95;
    transform: scale(1.01);
  }
}

@keyframes gold-sweep {
  from {
    background-position: -165% 50%;
  }

  to {
    background-position: 165% 50%;
  }
}

@media (max-width: 820px) {
  .page--home .stage {
    padding: 1.5rem 1rem 1.25rem;
  }

  .intro__slogan {
    letter-spacing: 0.12em;
  }

  .intro__slogan:lang(en) {
    max-width: 15ch;
    font-size: clamp(2.05rem, 9vw, 4rem);
    letter-spacing: 0.05em;
    line-height: 1.1;
  }

  .hero__logo-wrap {
    width: min(90vw, 42rem);
  }

  .hero__teaser {
    max-width: 24rem;
    line-height: 1.3;
  }

  .site-footer {
    width: auto;
  }

  .site-footer__nav {
    gap: 0.12rem 0.34rem;
  }

  .site-footer__link,
  .site-nav__link,
  .inline-link {
    font-size: 0.88rem;
  }

  .site-nav {
    padding-top: 0.75rem;
  }

  .site-nav__inner {
    justify-content: center;
    border-radius: 1.1rem;
  }

  .site-nav__links {
    justify-content: center;
  }

  .legal-layout {
    padding-top: 1rem;
  }

  .legal-card {
    padding: 1.3rem 1.05rem;
    border-radius: 1.25rem;
  }
}

@media (max-width: 560px) {
  .intro__slogan {
    font-size: clamp(2rem, 11vw, 3.45rem);
    letter-spacing: 0.08em;
    line-height: 1.34;
  }

  .intro__slogan:lang(en) {
    max-width: 13ch;
    font-size: clamp(1.9rem, 10.5vw, 3.2rem);
    letter-spacing: 0.04em;
    line-height: 1.08;
  }

  .hero__logo-wrap {
    width: min(94vw, 30rem);
  }

  .hero__logo {
    max-height: min(56svh, 28rem);
  }

  .hero__teaser {
    font-size: 1.02rem;
    letter-spacing: 0.05em;
  }

  .hero__teaser:lang(he) {
    font-size: 1.14rem;
    letter-spacing: 0.01em;
    line-height: 1.24;
  }

  .hero__link {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .site-footer {
    width: auto;
  }

  .site-footer__link {
    font-size: 0.58rem;
  }

  .site-footer__copyright {
    margin-top: 0.24rem;
    font-size: 0.54rem;
    letter-spacing: 0.015em;
  }

  .site-nav__inner {
    padding: 0.8rem 0.9rem;
  }

  .site-nav__brand {
    width: 100%;
    text-align: center;
  }

  .legal-card__title {
    font-size: clamp(1.75rem, 8.3vw, 2.3rem);
  }

  .legal-section p,
  .legal-list {
    font-size: 0.96rem;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }
}

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