@font-face {
  font-family: "Heebo";
  src: url("/assets/fonts/heebo-hebrew.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}

@font-face {
  font-family: "Heebo";
  src: url("/assets/fonts/heebo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --orange: #ed573b;
  --cream: #fff8ea;
  --navy: #192238;
  --surface: #fff8ea;
  --surface-2: #f3ecde;
  --text: #192238;
  --muted: #5d6577;
  --line: rgba(25, 34, 56, .17);
  --inverse: #fff8ea;
  --shadow: 0 24px 70px rgba(25, 34, 56, .13);
  --shell: 1240px;
  --header: 86px;
}

:root[data-theme="dark"] {
  --surface: #111827;
  --surface-2: #192238;
  --text: #fff8ea;
  --muted: #b9becc;
  --line: rgba(255, 248, 234, .15);
  --inverse: #192238;
  --shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #111827;
    --surface-2: #192238;
    --text: #fff8ea;
    --muted: #b9becc;
    --line: rgba(255, 248, 234, .15);
    --inverse: #192238;
    --shadow: 0 28px 80px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--surface); }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--text); font-family: "Heebo", "Segoe UI", Arial, sans-serif; font-weight: 430; line-height: 1.6; text-align: start; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background .25s ease, color .25s ease; }
[dir="rtl"] body { direction: rtl; text-align: right; }
[dir="ltr"] body { direction: ltr; text-align: left; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section-pad { padding-block: clamp(6.5rem, 11vw, 11rem); }
.skip-link { position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 200; background: var(--orange); color: white; padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; height: var(--header); padding-inline: max(24px, calc((100vw - var(--shell)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; z-index: 50; border-bottom: 1px solid transparent; transition: height .25s ease, background .25s ease, border-color .25s ease; }
.site-header.scrolled { height: 70px; background: color-mix(in srgb, var(--surface) 88%, transparent); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: .78rem; font-size: 1.08rem; font-weight: 760; letter-spacing: -.02em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 2.1rem; font-size: .95rem; font-weight: 650; }
.primary-nav a { padding: .45rem 0; position: relative; }
.primary-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { justify-self: end; direction: ltr; display: flex; align-items: center; justify-content: center; gap: 16px; }
.language-toggle, .theme-toggle, .accessibility-toggle { width: 52px; height: 52px; flex: 0 0 52px; padding: 0; display: inline-grid; place-items: center; border: 1px solid color-mix(in srgb, var(--text) 24%, transparent); border-radius: 3px; background: rgba(0,0,0,.08); color: var(--text); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.language-toggle { font-size: 15px; font-weight: 800; line-height: 1; }
.theme-toggle svg, .accessibility-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.accessibility-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; background: #4a90e2; color: #fff; }
.language-toggle:hover, .theme-toggle:hover, .accessibility-toggle:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.52); }
.language-toggle:focus-visible, .theme-toggle:focus-visible, .accessibility-toggle:focus-visible { outline: 2px solid #6eb6ff; outline-offset: 3px; border-color: #6eb6ff; }
.language-toggle:active, .theme-toggle:active, .accessibility-toggle:active { transform: scale(.96); }
:root[data-theme="light"] .language-toggle, :root[data-theme="light"] .theme-toggle, :root[data-theme="light"] .accessibility-toggle { color: #111827; border-color: rgba(17,24,39,.3); background: rgba(17,24,39,.03); }
:root[data-theme="light"] .accessibility-icon { color: #fff; }
:root[data-theme="light"] .language-toggle:hover, :root[data-theme="light"] .theme-toggle:hover, :root[data-theme="light"] .accessibility-toggle:hover { background: rgba(17,24,39,.08); border-color: rgba(17,24,39,.6); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 12px 8px; cursor: pointer; }
.menu-toggle i { display: block; height: 2px; background: var(--text); margin: 6px 0; }

.accessibility-panel { width: min(calc(100% - 32px), 520px); padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.accessibility-panel::backdrop { background: rgba(17,24,39,.7); backdrop-filter: blur(4px); }
.accessibility-panel__head { padding: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.accessibility-panel__head h2 { margin: 0; font-size: 1.45rem; }
.accessibility-panel__head button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.6rem; }
.accessibility-options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: 1.4rem; }
.accessibility-options button, .accessibility-reset { min-height: 52px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; font-weight: 650; }
.accessibility-options button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.accessibility-reset { margin: 0 1.4rem 1rem; padding-inline: 1.2rem; background: transparent; }
.accessibility-panel > .arrow-link { margin: 0 1.4rem 1.5rem; }

html[data-a11y-text="true"] { font-size: 125%; }
html[data-a11y-contrast="true"] { --surface: #fff; --surface-2: #fff; --text: #000; --muted: #1a1a1a; --line: #000; }
html[data-a11y-contrast="true"] .philosophy, html[data-a11y-contrast="true"] .site-footer { background: #000; color: #fff; }
html[data-a11y-links="true"] a { text-decoration: underline !important; text-underline-offset: .18em; }
html[data-a11y-motion="true"] *, html[data-a11y-motion="true"] *::before, html[data-a11y-motion="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

.hero { min-height: 100svh; padding-top: calc(var(--header) + 3rem); padding-bottom: 3rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 6vw; align-items: center; }
.eyebrow, .section-label { margin: 0 0 1.5rem; color: var(--muted); font-size: .78rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
[lang="he"] .eyebrow, [lang="he"] .section-label { letter-spacing: .025em; }
.hero-copy { text-align: start; }
.hero h1 { margin: 0; text-align: start; font-size: clamp(3.8rem, 7.2vw, 7.6rem); line-height: .9; letter-spacing: -.065em; font-weight: 780; unicode-bidi: isolate; }
[dir="rtl"] .hero h1 { direction: rtl; letter-spacing: -.035em; line-height: .96; }
[dir="ltr"] .hero h1 { direction: ltr; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--orange); font-weight: inherit; }
.hero-intro { max-width: 680px; margin: 2.2rem 0; color: var(--muted); font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.75; }
.arrow-link { display: inline-flex; align-items: center; gap: .8rem; font-weight: 750; border-bottom: 1px solid var(--text); padding-bottom: .45rem; }
.arrow-link span { transition: transform .2s ease; }
.arrow-link:hover span { transform: translateY(4px); }
.hero-mark { justify-self: end; width: min(100%, 500px); }
.mark-frame { padding: clamp(1.2rem, 2.5vw, 2.2rem); border: 1px solid var(--line); position: relative; }
.mark-frame::before, .mark-frame::after { content: ""; position: absolute; width: 34px; height: 34px; border-color: var(--orange); }
.mark-frame::before { inset: -1px auto auto -1px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.mark-frame::after { inset: auto -1px -1px auto; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }
.hero-mark p { margin: .8rem 0 0; direction: ltr; text-align: right; color: var(--muted); font: 700 .62rem/1.4 ui-monospace, monospace; letter-spacing: .14em; }

.display { margin: 0; font-size: clamp(2.55rem, 5vw, 5.7rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 735; text-align: start; }
[lang="he"] .display { line-height: 1.12; letter-spacing: -.025em; font-weight: 720; }
.manifesto { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(180px,.32fr) 1.4fr; gap: 3rem; }
.manifesto .section-label { grid-column: 1; }
.manifesto h2 { grid-column: 2; max-width: 1000px; }
.section-copy { max-width: 680px; margin: 2.4rem auto 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.82; text-align: start; }
[dir="rtl"] .section-copy { margin-right: 0; margin-left: auto; }
.philosophy { background: var(--navy); color: var(--cream); }
.philosophy .section-label { color: rgba(255,248,234,.56); }
.philosophy .display, .philosophy .principle h3 { color: var(--cream); }
.section-title-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.cross { width: 70px; height: 70px; position: relative; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--orange); }
.cross::before { width: 100%; height: 2px; top: 34px; }
.cross::after { width: 2px; height: 100%; left: 34px; }
.principle-grid { margin-top: 5rem; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,248,234,.18); }
.principle { min-height: 360px; padding: 2rem; border-inline-end: 1px solid rgba(255,248,234,.18); display: flex; flex-direction: column; }
.principle:last-child { border-inline-end: 0; }
.principle > span, .value > span { color: var(--orange); font: 700 .7rem ui-monospace, monospace; }
.principle h3 { margin: auto 0 1rem; font-size: 1.4rem; font-weight: 690; }
.principle p { margin: 0; color: rgba(255,248,234,.64); line-height: 1.68; }

.focus { min-height: 780px; display: grid; grid-template-columns: .4fr 1.6fr; align-items: center; position: relative; overflow: clip; }
.focus-number { direction: ltr; color: transparent; font-size: clamp(12rem, 27vw, 28rem); font-weight: 900; line-height: .7; letter-spacing: -.1em; position: absolute; inset-inline-start: -3vw; z-index: 0; }
.focus-number::before { content: "03"; color: color-mix(in srgb, var(--text) 6%, transparent); }
.focus-copy { grid-column: 2; position: relative; z-index: 1; }
.focus .section-copy { margin-inline: 0; }
.future { background: var(--orange); color: var(--cream); }
.future-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6rem; align-items: center; }
.future .section-label, .future .section-copy { color: var(--navy); }
.future .section-copy { margin-inline: 0; }
.future-signal { direction: ltr; min-height: 360px; border: 1px solid rgba(255,248,234,.4); position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; }
.future-signal::before, .future-signal::after { content: ""; position: absolute; background: rgba(255,248,234,.32); }
.future-signal::before { width: 1px; height: 100%; }
.future-signal::after { height: 1px; width: 100%; }
.future-signal i { width: 16px; height: 16px; border-radius: 50%; background: var(--cream); animation: signal 1.8s ease-in-out infinite; z-index: 1; }
.future-signal i:nth-child(2) { animation-delay: .18s; }
.future-signal i:nth-child(3) { animation-delay: .36s; }
.contact-band { text-align: start; display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
.contact-band p:not(.section-label) { color: var(--muted); margin: 1.8rem 0 2.2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: 0 1.5rem; background: var(--text); color: var(--inverse); border: 1px solid var(--text); font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { background: var(--orange); border-color: var(--orange); color: var(--cream); transform: translateY(-3px); }

.page-hero, .contact-hero { min-height: 82svh; padding-top: calc(var(--header) + 8rem); padding-bottom: 6rem; display: flex; flex-direction: column; justify-content: center; }
.page-hero .display, .contact-hero .display { max-width: 1050px; }
.page-lead { max-width: 780px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.55vw, 1.35rem); line-height: 1.78; text-align: start; }
.about-story { border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7rem; }
.story-copy p { margin: 0 0 1.5rem; color: var(--muted); line-height: 1.85; text-align: start; }
.values { background: var(--surface-2); }
.values .display { max-width: 840px; }
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 5rem; }
.value { min-height: 250px; padding: 2rem; border-top: 1px solid var(--line); }
.value > span { color: var(--text); }
.value:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.value h3 { margin: 4rem 0 .8rem; font-size: 1.45rem; }
.value p { color: var(--muted); line-height: 1.7; }
.brand-statement { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.brand-statement p { direction: ltr; margin: 0; font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 850; letter-spacing: -.06em; }
.contact-panel { min-height: 320px; padding-block: 4rem; border-block: 1px solid var(--line); }
.contact-pending { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; max-width: 800px; }
.status-dot { width: 12px; height: 12px; margin-top: .55rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px color-mix(in srgb, var(--orange) 16%, transparent); }
.contact-pending h2 { margin: 0 0 1rem; font-size: clamp(1.8rem,4vw,3.5rem); }
.contact-pending p, .privacy-note > p:not(.section-label) { color: var(--muted); line-height: 1.8; }
.contact-address { direction: ltr; display: inline-block; font-size: clamp(2rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.05em; border-bottom: .08em solid var(--orange); }
.contact-disclosure { max-width: 760px; margin: 2rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.contact-disclosure a { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }
.privacy-note { display: grid; grid-template-columns: .4fr 1fr; gap: 2rem; }
.privacy-note .arrow-link { grid-column: 2; justify-self: start; margin-top: 1rem; }
.review-date { margin-top: 1.5rem; color: var(--muted); }
.accessibility-content { border-top: 1px solid var(--line); display: grid; gap: 4rem; }
.accessibility-block { max-width: 900px; }
.accessibility-block h2 { margin: 0 0 1.3rem; font-size: clamp(1.8rem, 3vw, 3rem); }
.accessibility-block p, .accessibility-block li { color: var(--muted); line-height: 1.8; }
.accessibility-block li + li { margin-top: .65rem; }
.inline-email { direction: ltr; unicode-bidi: isolate; display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.draft-notice, .legal-review { max-width: 900px; padding: 1rem 1.2rem; border-inline-start: 4px solid var(--orange); background: var(--surface-2); color: var(--text); font-weight: 650; }
.policy-content { border-top: 1px solid var(--line); display: grid; gap: 4rem; }
.policy-section { max-width: 920px; }
.policy-section h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 2.5vw, 2.5rem); }
.policy-section p, .policy-section li { color: var(--muted); line-height: 1.85; }
.policy-section li + li { margin-top: .7rem; }

.site-footer { background: var(--navy); color: var(--cream); }
.footer-main { min-height: 230px; padding-block: 3rem; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 2rem; }
.brand-footer img { width: 56px; height: 56px; }
.footer-tagline { direction: ltr; text-align: left; margin: 0; font-size: 1.15rem; font-weight: 680; }
.footer-main nav { justify-self: end; display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.footer-main nav a:hover { color: var(--orange); }
.footer-bottom { min-height: 70px; border-top: 1px solid rgba(255,248,234,.16); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,248,234,.5); font-size: .72rem; }
.error-page { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem; }
.error-page p { color: var(--orange); font: 800 1rem ui-monospace, monospace; }
.error-page h1 { font-size: clamp(2.5rem,8vw,7rem); margin: 0 0 1.5rem; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
@keyframes signal { 0%,100% { opacity: .25; transform: scale(.6); } 45% { opacity: 1; transform: scale(1); } }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header) + 6rem); }
  .hero-mark { justify-self: center; width: min(78vw,500px); }
  .manifesto, .story-grid, .future-grid { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto h2, .manifesto .section-label { grid-column: 1; }
  .principle-grid { grid-template-columns: repeat(2,1fr); }
  .principle:nth-child(2) { border-inline-end: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid rgba(255,248,234,.18); }
  .focus { grid-template-columns: 1fr; }
  .focus-copy { grid-column: 1; }
  .future-signal { min-height: 250px; }
}

@media (max-width: 720px) {
  :root { --header: 72px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header { padding-inline: 16px; grid-template-columns: auto 1fr auto; gap: .25rem; }
  .brand img { width: 40px; height: 40px; }
  .site-header .brand span { display: none; }
  .primary-nav { display: none; position: absolute; top: 72px; inset-inline: 16px; padding: 1rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .9rem; }
  .menu-toggle { display: block; order: 3; }
  .header-actions { order: 2; justify-self: center; }
  .site-header .brand { order: 1; }
  .hero { padding-top: calc(var(--header) + 4rem); }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.6rem); }
  .display { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .section-title-row { grid-template-columns: 1fr; }
  .cross { display: none; }
  .principle-grid, .value-grid { grid-template-columns: 1fr; }
  .principle { min-height: 290px; border-inline-end: 0; border-bottom: 1px solid rgba(255,248,234,.18); }
  .principle:last-child { border-bottom: 0; }
  .value:nth-child(odd) { border-inline-end: 0; }
  .focus { min-height: 660px; }
  .focus-number { font-size: 70vw; }
  .page-hero, .contact-hero { min-height: 76svh; padding-top: calc(var(--header) + 5rem); }
  .privacy-note { grid-template-columns: 1fr; }
  .privacy-note .arrow-link { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr; align-items: start; }
  .footer-tagline { text-align: left; }
  [dir="rtl"] .footer-tagline { text-align: right; }
  .footer-main nav { justify-self: start; }
  [dir="rtl"] .footer-main nav { justify-self: end; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
  .accessibility-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
