/* Golan Without Borders — landing page styles
   No external fonts or resources: nothing loads from third parties. */

:root {
  color-scheme: light;
  --cream: #faf4e8;
  --paper: #ffffff;
  --ink: #1f2f37;        /* body text: 12.9:1 on cream */
  --muted: #4a5a62;      /* secondary text: 6.6:1 on cream */
  --teal: #1d5468;       /* brand: 8.2:1 on cream */
  --teal-dark: #143e4d;
  --teal-soft: #e3eef1;
  --orange: #a84a12;     /* orange text: 5.6:1 on cream */
  --orange-fill: #e8782a;
  --sun: #f4b04a;
  --olive: #6f8040;
  --river: #1f7a8c;
  --line: #e4dccb;
  --focus: #0b57d0;
  --radius: 14px;
  --max: 1120px;
  --font: system-ui, "Segoe UI Variable", "Heebo", "Assistant", "Arial Hebrew", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { color: var(--teal); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 750; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

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

/* Skip link */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--teal-dark); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 244, 232, .96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.05rem; font-weight: 800; }
.brand small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 700; }

.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.site-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.site-nav .nav-cta { background: var(--teal); color: #fff; }
.site-nav .nav-cta:hover { background: var(--teal-dark); color: #fff; }
@media (max-width: 860px) {
  .site-nav li:not(.keep) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid var(--teal); transition: background .15s, color .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--teal); }
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal-dark); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--orange); margin-bottom: 14px; }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { border-radius: 24px; overflow: hidden; }
.stripe { height: 8px; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(40px, 6vw, 72px); }
.stripe span:nth-child(1) { background: var(--sun); }
.stripe span:nth-child(2) { background: var(--orange-fill); }
.stripe span:nth-child(3) { background: var(--olive); }
.stripe span:nth-child(4) { background: var(--river); }
.stripe span:nth-child(5) { background: var(--teal); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
section[id] { scroll-margin-top: 80px; }
.section-intro { max-width: 68ch; font-size: 1.12rem; color: var(--muted); }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Programs */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; border-top: 6px solid var(--river);
}
.card.leadership { border-top-color: var(--orange-fill); }
.card .tag { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--river); margin-bottom: 8px; }
.card.leadership .tag { color: var(--orange); }
.card ul { padding-inline-start: 1.2em; margin: 0 0 1em; }
.card li { margin-bottom: .35em; }
.card .outcome { background: var(--cream); border-radius: 10px; padding: 14px 16px; margin: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Why us */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.why div { padding-top: 18px; border-top: 3px solid var(--sun); }
.why div:nth-child(2) { border-top-color: var(--olive); }
.why div:nth-child(3) { border-top-color: var(--river); }
.why h3 { font-size: 1.2rem; }
.why p { color: var(--muted); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Formats */
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--teal-soft); color: var(--teal-dark); font-weight: 650; padding: 10px 18px; border-radius: 999px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.person { display: flex; gap: 18px; align-items: flex-start; background: var(--cream); border-radius: var(--radius); padding: 24px; }
.avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 800;
}
.person h3 { margin-bottom: .15em; }
.person .role { color: var(--orange); font-weight: 700; font-size: .95rem; margin-bottom: .6em; }
.person p:last-child { margin-bottom: 0; color: var(--muted); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* Safety */
.safety { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: var(--teal); color: #fff; border-radius: 20px; padding: clamp(28px, 4vw, 44px); }
.safety h2 { color: #fff; }
.safety p { color: #e8f1f3; margin-bottom: .6em; }
.safety ul { margin: 0; padding-inline-start: 1.2em; color: #e8f1f3; }
.safety svg { width: 56px; height: 56px; }
@media (max-width: 600px) { .safety { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.direct { list-style: none; padding: 0; margin: 24px 0 0; }
.direct li { margin-bottom: 14px; }
.direct a { font-weight: 700; }
.direct .label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

form.lead-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, .legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--orange); }
.hint { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #8a979d; border-radius: 10px; padding: 11px 14px; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--focus); outline-offset: 1px; }
[aria-invalid="true"] { border-color: #b3261e !important; }
.error { display: block; color: #b3261e; font-weight: 600; font-size: .95rem; margin-top: 6px; }
.error:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--teal); }
.check label { font-weight: 500; margin: 0; }

.notice { font-size: .92rem; color: var(--muted); background: var(--cream); border-radius: 10px; padding: 14px 16px; margin: 18px 0; }
.notice p { margin: 0 0 .4em; }
.notice p:last-child { margin: 0; }

.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; font-weight: 700; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.ok { background: #e5f2e3; color: #24561f; padding: 14px 16px; }
.form-status.fail { background: #fbe9e7; color: #8c1d18; padding: 14px 16px; }

/* Footer */
.site-footer { background: var(--teal-dark); color: #dbe7ea; padding: 48px 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; margin-top: 8px; font-size: .88rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Legal pages */
.doc { max-width: 76ch; padding: 48px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.4rem; margin-top: 1.8em; }
.doc .updated { color: var(--muted); }
.doc table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .97rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; background: #fff; }
.doc th { background: var(--teal-soft); color: var(--teal-dark); }
.table-scroll { overflow-x: auto; }
.todo { background: #fff3cd; color: #5c4400; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Language switch */
.lang-switch { font-weight: 700; border: 2px solid var(--teal); border-radius: 999px; padding: 6px 14px !important; }
html[lang="he"] .eyebrow, html[lang="he"] .card .tag, html[lang="he"] .brand small, html[lang="he"] .person .role { letter-spacing: 0; }
html[lang="he"] body { font-size: 1.1rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.photo-slot {
  aspect-ratio: 4 / 3; border-radius: 20px; background: var(--teal-soft);
  border: 2px dashed var(--teal); display: grid; place-items: center; text-align: center; padding: 24px;
}
.founders { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.founders li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.founders strong { color: var(--teal); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Value */
.value { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; margin-top: 8px; }
.value-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.value-points li { padding: 16px 20px; background: var(--cream); border-radius: 12px; border-inline-start: 5px solid var(--orange-fill); }
@media (max-width: 860px) { .value { grid-template-columns: 1fr; } }

/* What we offer */
.offer { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--river); }
.offer li:nth-child(3n+2) { border-top-color: var(--orange-fill); }
.offer li:nth-child(3n) { border-top-color: var(--olive); }
.offer h3 { font-size: 1.15rem; margin-bottom: .4em; }
.offer p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .offer { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .offer { grid-template-columns: 1fr; } }

/* Audiences */
.audience { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.audience li { background: var(--paper); padding: 20px 16px; text-align: center; font-weight: 700; color: var(--teal-dark); border-inline-end: 1px solid var(--line); }
.audience li:last-child { border-inline-end: 0; }
.audience small { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; margin-top: 4px; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr 1fr; } .audience li { border-bottom: 1px solid var(--line); } }

/* Print */
@media print {
  .site-header, .skip-link, form.lead-form, .hero-actions { display: none !important; }
  body { background: #fff; }
}

/* Hero photo */
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Founders */
.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.founder { display: grid; grid-template-columns: 190px 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.founder img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.founder-body { padding: 22px 24px; }
.founder-body h3 { margin-bottom: .1em; }
.founder-body .role { color: var(--orange); font-weight: 700; font-size: .95rem; margin-bottom: .7em; }
.founder-body p:last-child { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .founder-cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .founder { grid-template-columns: 1fr; } .founder img { aspect-ratio: 4 / 5; height: auto; max-height: 420px; } }

/* How it works */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; inset-inline-start: 0;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 1.25rem;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; inset-inline-start: 60px; inset-inline-end: -12px;
  height: 2px; background: var(--line);
}
.steps h3 { font-size: 1.12rem; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { padding-top: 0; padding-inline-start: 68px; min-height: 48px; }
  .steps li:not(:last-child)::after { display: none; }
}
.download { margin-top: 24px; }

/* Full-width photo hero */
.hero-photo { position: relative; padding: 0; min-height: min(82vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: #2a2a2a; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,34,43,.92) 0%, rgba(12,34,43,.6) 40%, rgba(12,34,43,.1) 80%),
    linear-gradient(to right, rgba(12,34,43,.85) 0%, rgba(12,34,43,.6) 45%, rgba(12,34,43,0) 80%);
}
.hero-photo .hero-content { position: relative; z-index: 1; display: block; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 80px); }
.hero-photo h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-photo .eyebrow { color: #fff; display: inline-block; background: rgba(12,34,43,.82); padding: 6px 14px; border-radius: 999px; }
.hero-photo .lead { color: #eef4f5; max-width: 46ch; }
.hero-photo + .stripe { margin-top: 0; }
.btn-light { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn-light:hover { background: var(--cream); color: var(--teal-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Ways to work with us */
.ways { background: var(--teal); color: #fff; text-align: center; }
.ways h2 { color: #fff; }
.ways p { color: #e3eef1; font-size: 1.12rem; }
.ways ul { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }

/* Compact header on phones */
.site-nav a { white-space: nowrap; }
@media (max-width: 520px) {
  .site-header .wrap { gap: 8px; padding: 0 14px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: .95rem; }
  .brand small { display: none; }
  .site-nav a { padding: 7px 10px; font-size: .92rem; }
  .site-nav .nav-cta { display: none; }
}
html[dir="rtl"] .hero-photo::after {
  background:
    linear-gradient(to top, rgba(12,34,43,.92) 0%, rgba(12,34,43,.6) 40%, rgba(12,34,43,.1) 80%),
    linear-gradient(to left, rgba(12,34,43,.85) 0%, rgba(12,34,43,.6) 45%, rgba(12,34,43,0) 80%);
}
@media (max-width: 760px) {
  .hero-photo::after, html[dir="rtl"] .hero-photo::after {
    background: linear-gradient(to top, rgba(12,34,43,.94) 0%, rgba(12,34,43,.78) 55%, rgba(12,34,43,.45) 100%);
  }
}
