@font-face {
  font-family: "Noto Sans";
  src: url("assets/fonts/NotoSans-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("assets/fonts/NotoSerif-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Hebrew";
  src: url("assets/fonts/NotoSerifHebrew-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --forest: #102b25;
  --forest-light: #173b32;
  --cream: #f4efe4;
  --paper: #e9e0cf;
  --gold: #d6ae68;
  --gold-light: #efd8a9;
  --sage: #9eafa4;
  --line: rgba(244, 239, 228, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background: var(--forest);
  font-family: "Noto Sans", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--forest);
  background: var(--cream);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(1440px, calc(100% - clamp(2rem, 8vw, 8rem)));
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.logo { display: inline-flex; align-items: center; gap: 0.85rem; width: fit-content; text-decoration: none; }
.logo-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 174, 104, 0.7);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: "Noto Serif Hebrew", serif;
  font-size: 1.7rem;
}
.logo strong, .logo small { display: block; }
.logo strong { font-family: "Noto Serif", serif; font-size: 1.05rem; font-weight: 550; letter-spacing: 0.02em; }
.logo small { margin-top: 0.15rem; color: var(--sage); font-size: 0.61rem; letter-spacing: 0.09em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); }
.desktop-nav a { position: relative; padding: 2.2rem 0; color: #d9ddd6; font-size: 0.78rem; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 1.65rem; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 180ms ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }

.header-cta { justify-self: end; color: var(--gold-light); font-size: 0.74rem; font-weight: 650; letter-spacing: 0.03em; text-decoration: none; }
.header-cta span { margin-left: 0.5rem; }
.menu-toggle, .mobile-menu { display: none; }

main { width: min(1440px, calc(100% - clamp(2rem, 8vw, 8rem))); margin: 0 auto; }
.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr); align-items: center; gap: clamp(3rem, 6vw, 7rem); padding: clamp(3.5rem, 7vw, 7rem) 0; }
.kicker { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.6rem; color: var(--gold); font-size: 0.68rem; font-weight: 650; letter-spacing: 0.15em; text-transform: uppercase; }
.kicker span { width: 32px; height: 1px; background: currentColor; }

h1, h2 { font-family: "Noto Serif", serif; font-weight: 400; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3.8rem, 6.25vw, 7.2rem); line-height: 0.94; letter-spacing: -0.055em; }
h1 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { max-width: 610px; margin: 2rem 0 0; color: #bdc8c0; font-family: "Noto Serif", serif; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.4rem; }
.primary-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 240px; padding: 1rem 1.2rem; color: var(--forest); background: var(--gold-light); font-size: 0.76rem; font-weight: 700; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.primary-action:hover { transform: translateY(-2px); background: #fae7c1; }
.text-action { color: #dce2dc; font-size: 0.76rem; text-underline-offset: 0.4rem; }

.hero-facts { display: flex; gap: 0; margin: clamp(3rem, 7vh, 5rem) 0 0; }
.hero-facts div { min-width: 125px; display: flex; align-items: center; gap: 0.7rem; padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; }
.hero-facts dt { color: var(--gold-light); font-family: "Noto Serif", serif; font-size: 1.75rem; }
.hero-facts dd { margin: 0; color: var(--sage); font-size: 0.63rem; line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase; }

.alphabet-stage { position: relative; min-height: 660px; display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(1.5rem, 4vw, 4rem); isolation: isolate; }
.alphabet-stage::before { content: ""; position: absolute; z-index: -2; inset: 4% 0; background: radial-gradient(circle at 50% 45%, rgba(214, 174, 104, 0.17), transparent 59%); }
.orbit { position: absolute; z-index: -1; left: 50%; top: 50%; border: 1px solid rgba(214, 174, 104, 0.25); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: min(39vw, 590px); aspect-ratio: 1; }
.orbit-two { width: min(30vw, 450px); aspect-ratio: 1; border-style: dashed; opacity: 0.65; }
.stage-label { margin: 0 0 1.5rem; color: var(--sage); font-size: 0.62rem; letter-spacing: 0.18em; text-align: center; text-transform: uppercase; }
.letter-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.4rem, 0.9vw, 0.85rem); max-width: 630px; margin: 0 auto; }
.letter {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  color: #d8dfd9;
  background: rgba(15, 42, 35, 0.76);
  border: 1px solid rgba(233, 224, 207, 0.23);
  font-family: "Noto Serif Hebrew", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border 150ms ease, transform 150ms ease;
}
.letter:hover { color: var(--gold-light); border-color: rgba(214, 174, 104, 0.72); transform: translateY(-3px); }
.letter.is-active { color: var(--forest); background: var(--gold-light); border-color: var(--gold-light); }
.letter:nth-last-child(4) { grid-column: 2; }
.letter-detail { max-width: 630px; display: flex; align-items: end; justify-content: space-between; margin: 1.35rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.letter-detail > span { color: var(--sage); font-size: 0.64rem; letter-spacing: 0.14em; }
.letter-detail p { display: flex; align-items: baseline; gap: 1rem; margin: 0; }
.letter-detail strong { color: var(--gold-light); font-family: "Noto Serif", serif; font-size: 1.2rem; font-weight: 500; }
.letter-detail small { color: var(--sage); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.letter-detail b { color: var(--cream); }

.pathways { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading .kicker { margin: 0 0 0.5rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4.6rem); letter-spacing: -0.04em; }
.pathway-list { border-top: 1px solid var(--line); }
.pathway { display: grid; grid-template-columns: 64px minmax(120px, 0.34fr) 1fr auto; align-items: center; gap: 1.5rem; min-height: 180px; padding: 1.6rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 180ms ease, background 180ms ease, padding 180ms ease; }
.pathway:hover { padding-inline: 1.8rem; color: var(--forest); background: var(--paper); }
.path-number { align-self: start; color: var(--gold); font-size: 0.65rem; letter-spacing: 0.12em; }
.path-symbol { color: var(--gold-light); font-family: "Noto Serif Hebrew", serif; font-size: clamp(2.5rem, 5vw, 5rem); text-align: center; }
.pathway:hover .path-symbol, .pathway:hover .path-number { color: #86652e; }
.path-copy { display: grid; }
.path-copy small { color: var(--sage); font-size: 0.65rem; letter-spacing: 0.13em; text-transform: uppercase; }
.pathway:hover .path-copy small { color: #68756d; }
.path-copy strong { margin: 0.35rem 0; font-family: "Noto Serif", serif; font-size: clamp(1.8rem, 3vw, 3.3rem); font-weight: 450; }
.path-copy > span { color: var(--sage); font-family: "Noto Serif", serif; font-size: 0.92rem; }
.pathway:hover .path-copy > span { color: #536159; }
.path-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; }

.site-footer { width: min(1440px, calc(100% - clamp(2rem, 8vw, 8rem))); display: flex; justify-content: space-between; gap: 2rem; margin: 0 auto; padding: 2rem 0; border-top: 1px solid var(--line); color: var(--sage); font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer span { margin-right: 0.5rem; color: var(--gold); font-family: "Noto Serif Hebrew", serif; font-size: 1rem; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { justify-self: end; width: 48px; height: 48px; display: grid; align-content: center; gap: 5px; padding: 0 12px; color: var(--cream); background: transparent; border: 1px solid var(--line); cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 15; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 7rem clamp(1.5rem, 8vw, 5rem) 3rem; background: rgba(10, 31, 26, 0.985); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: grid; }
  .mobile-menu a { display: flex; align-items: baseline; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: "Noto Serif", serif; font-size: clamp(2.2rem, 8vw, 4.4rem); text-decoration: none; }
  .mobile-menu a span { color: var(--gold); font-family: "Noto Sans", sans-serif; font-size: 0.65rem; }
  .mobile-menu > p { margin: 2rem 0 0; color: var(--sage); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; }
  body.menu-open { overflow: hidden; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 2rem; }
  .alphabet-stage { min-height: auto; }
  .orbit-one { width: min(80vw, 590px); }
  .orbit-two { width: min(62vw, 450px); }
  .letter-grid { width: min(100%, 630px); }
}

@media (max-width: 640px) {
  .site-header, main, .site-footer { width: min(100% - 2rem, 1440px); }
  .site-header { min-height: 76px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo small { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero { min-height: auto; gap: 3rem; padding: 4rem 0 5rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 5.2rem); }
  .hero-intro { font-size: 0.98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .primary-action { min-width: 0; }
  .text-action { width: fit-content; }
  .hero-facts { justify-content: space-between; }
  .hero-facts div { min-width: 0; flex: 1; display: grid; gap: 0.2rem; padding-right: 0.7rem; margin-right: 0.7rem; }
  .hero-facts dt { font-size: 1.4rem; }
  .hero-facts dd { font-size: 0.53rem; }
  .alphabet-stage { padding: 2.5rem 0; }
  .letter-grid { grid-template-columns: repeat(6, 1fr); gap: 0.35rem; }
  .letter { font-size: clamp(1.25rem, 7vw, 1.9rem); }
  .letter-detail { margin-inline: 0.2rem; }
  .pathways { padding: 5rem 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 0.5rem; }
  .pathway { grid-template-columns: 28px 1fr auto; gap: 0.8rem; min-height: 155px; padding-inline: 0.2rem; }
  .pathway:hover { padding-inline: 0.5rem; }
  .path-symbol { display: none; }
  .path-copy strong { font-size: 1.7rem; }
  .path-copy > span { max-width: 260px; font-size: 0.78rem; }
  .path-arrow { width: 38px; height: 38px; }
  .site-footer { align-items: end; }
  .site-footer p:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
