/* Rise Together - standalone site styles.
   Differences: kit frame tokens inlined; kit fonts replaced with free
   Google Fonts pairing (Frank Ruhl Libre display, Assistant text),
   both with Hebrew + Latin subsets. */

:root {
    --rt-navy: #0A2A46;
    --rt-navy-2: #123E60;
    --rt-teal: #2E8078;
    --rt-teal-deep: #23665F;
    --rt-gold: #B8863A;
    --rt-gold-soft: #D9B27C;
    --rt-muted: #4A6178;
    --rt-font-display: "Frank Ruhl Libre", Georgia, serif;
    --rt-font-text: "Assistant", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: #f6f2ef;
    color: var(--rt-navy);
    font-family: var(--rt-font-text);
    font-size: 15px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
}

/* Language visibility: only the active language renders. */
html[lang="en"] .t-he { display: none !important; }
html[lang="he"] .t-en { display: none !important; }

.rt-ground {
    box-sizing: border-box;
    min-height: 100vh;
    padding: 24px 16px;
}

.rt-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 24px;
    background: #fdfcfb;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgb(37 31 33 / 6%), 0 6px 18px rgb(37 31 33 / 5%);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.rt { text-align: start; }

/* ---------- Hero ---------- */
.rt-hero {
    position: relative;
    overflow: hidden;
    margin: -24px -24px 0;
    padding: 18px 24px 64px;
    background:
        radial-gradient(820px 420px at 85% -20%, rgba(46, 128, 120, 0.4), transparent 62%),
        radial-gradient(640px 360px at 0% 115%, rgba(184, 134, 58, 0.3), transparent 62%),
        linear-gradient(150deg, var(--rt-navy) 0%, var(--rt-navy-2) 100%);
    border-radius: 24px 24px 0 0;
    color: #fff;
}

.rt-lang { display: flex; gap: 8px; justify-content: flex-end; }

.rt-lang-btn {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.rt-lang-btn.is-active { background: #fff; color: var(--rt-navy); font-weight: 600; border-color: #fff; }

.rt-hero-inner {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rt-logo-chip {
    background: #fff;
    border-radius: 20px;
    padding: 18px 26px;
    box-shadow: 0 14px 36px rgba(4, 20, 36, 0.5);
}
.rt-logo-chip img { display: block; width: 240px; height: auto; }

.rt-kicker { width: 64px; height: 4px; border-radius: 2px; background: var(--rt-gold); margin-top: 36px; }

.rt-hero h1 {
    font-family: var(--rt-font-display);
    font-weight: 400;
    font-size: 33px;
    line-height: 1.3;
    color: #fff;
    margin: 16px 0 12px;
}
.rt-name { white-space: nowrap; }
.rt-sep { color: var(--rt-gold-soft); }

.rt-tagline {
    color: #fff;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.6;
    margin: 0;
    max-width: 46ch;
}

.rt-slogan-note {
    color: var(--rt-gold-soft);
    font-size: 14px;
    line-height: 1.55;
    margin: 14px 0 0;
    max-width: 52ch;
    opacity: 0.95;
}

/* ---------- Sections ---------- */
.rt-section { margin-top: 56px; }

.rt-label {
    color: var(--rt-gold);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.rt-section h2 {
    font-family: var(--rt-font-display);
    font-weight: 400;
    font-size: 28px;
    color: var(--rt-navy);
    margin: 0 0 16px;
}
.rt-section h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: var(--rt-gold);
    margin-top: 10px;
}

.rt-lead { font-size: 16px; line-height: 1.85; color: var(--rt-muted); margin: 0; }

/* ---------- About ---------- */
.rt-about-grid { display: flex; flex-direction: column; gap: 28px; align-items: center; }

.rt-about-art {
    flex-shrink: 0;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(46, 128, 120, 0.14), rgba(46, 128, 120, 0.05) 70%),
        #F1F7F5;
    border: 1px solid #E1EDE9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rt-about-art img { width: 150px; height: auto; }

/* ---------- Statement band ---------- */
.rt-band {
    margin: 56px -24px 0;
    padding: 44px 28px;
    background:
        radial-gradient(600px 240px at 90% 0%, rgba(184, 134, 58, 0.25), transparent 65%),
        linear-gradient(120deg, var(--rt-teal-deep) 0%, var(--rt-teal) 100%);
    text-align: center;
}
.rt-band-text {
    font-family: var(--rt-font-display);
    font-size: 24px;
    line-height: 1.45;
    color: #fff;
    margin: 0 auto;
    max-width: 30ch;
}

/* ---------- CEO ---------- */
.rt-ceo-grid { display: flex; flex-direction: column; gap: 24px; align-items: center; }

.rt-ceo-photo-wrap { flex-shrink: 0; }
.rt-ceo-photo {
    width: 220px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: 20px;
    border: 1px solid #E4EEEA;
    box-shadow: 0 14px 34px rgba(10, 42, 70, 0.14);
    display: block;
}

.rt-ceo-role { color: var(--rt-teal); font-weight: 700; font-size: 14.5px; margin-top: -6px; }
.rt-ceo-note { max-width: 48ch; }

.rt-ceo-story {
    margin-top: 18px;
    border-inline-start: 3px solid var(--rt-gold);
    padding-inline-start: 18px;
    text-align: start;
}
.rt-ceo-story-title {
    font-weight: 600;
    color: var(--rt-navy);
    margin-bottom: 8px;
    font-size: 17px;
}
.rt-ceo-story p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.7;
}
.rt-ceo-story p:last-child { margin-bottom: 0; }

/* ---------- Process ---------- */
.rt-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
}

.rt-step {
    background: #F7FAF9;
    border: 1px solid #E4EEEA;
    border-radius: 16px;
    padding: 20px;
}

.rt-step-num {
    font-family: var(--rt-font-display);
    font-size: 40px;
    line-height: 1;
    color: rgba(46, 128, 120, 0.35);
    margin-bottom: 12px;
}
.rt-step:nth-child(even) .rt-step-num { color: rgba(184, 134, 58, 0.45); }

.rt-step-title { font-weight: 700; font-size: 16px; color: var(--rt-navy); margin-bottom: 6px; }
.rt-step-text { font-size: 14px; line-height: 1.65; color: var(--rt-muted); }

/* ---------- Contact ---------- */
.rt-contact { margin-top: 56px; }

.rt-cta {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--rt-teal);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}
.rt-cta:hover { background: #266a64; }

.rt-note { margin-top: 18px; font-size: 14px; color: #5a6a72; }

/* ---------- Footer ---------- */
.rt-footer {
    margin: 60px -24px -24px;
    padding: 30px 24px 22px;
    background: linear-gradient(150deg, var(--rt-navy) 0%, var(--rt-navy-2) 100%);
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    border-radius: 0 0 24px 24px;
}
.rt-footer-mark { width: 40px; height: auto; margin: 0 auto 10px; display: block; }
.rt-footer-name { font-family: var(--rt-font-display); font-size: 16px; color: #fff; margin-bottom: 6px; }
.rt-footer-draft { font-size: 11.5px; opacity: 0.8; }

/* ---------- Intake page ---------- */
.rt-mini-hero {
    background: var(--rt-navy);
    color: #fff;
    text-align: center;
    padding: 56px 24px 48px;
}
.rt-mini-hero h1 {
    font-family: var(--rt-font-display);
    font-weight: 400;
    font-size: 30px;
    margin: 14px 0 10px;
}
.rt-mini-hero p {
    font-size: 17px;
    opacity: 0.92;
    max-width: 520px;
    margin: 0 auto;
}

.rt-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}
[dir="rtl"] .rt-input, [dir="rtl"] .rt-textarea { text-align: right; }
.rt-input, .rt-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cfd8dd;
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    background: #f7f9fa;
    color: #251f21;
}
.rt-textarea { min-height: 110px; resize: vertical; }
.rt-submit {
    margin-top: 4px;
    padding: 13px 26px;
    border: none;
    border-radius: 999px;
    background: var(--rt-teal);
    color: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 16px;
}
.rt-submit:disabled {
    background: #b9c6cc;
    cursor: not-allowed;
}
.rt-back {
    display: inline-block;
    margin-top: 22px;
    color: var(--rt-teal);
    font-weight: 600;
}
@media (max-width: 767px) {
    /* The Google-fonts pairing runs wider than the preview kit fonts; shrink the hero name on phones so it never clips. */
    .rt-hero h1 { font-size: clamp(24px, 6.5vw, 33px); }
}

@media (min-width: 768px) {
    .rt-ground { padding: 36px; }
    .rt-card { padding: 36px; }

    .rt-hero { margin: -36px -36px 0; padding: 28px 40px 88px; }

    .rt-logo-chip img { width: 280px; }
    .rt-hero h1 { font-size: 46px; }
    .rt-mini-hero h1 { font-size: 36px; }
    .rt-tagline { font-size: 20px; }
    .rt-section { margin-top: 72px; }
    .rt-section h2 { font-size: 32px; }

    .rt-about-grid { flex-direction: row; gap: 56px; }
    .rt-ceo-grid { flex-direction: row; gap: 48px; align-items: center; }
    .rt-ceo-photo { width: 260px; }
    .rt-about-text { flex: 1; }
    .rt-about-art { width: 280px; height: 280px; }
    .rt-about-art img { width: 180px; }

    .rt-band { margin: 72px -36px 0; padding: 60px 40px; }
    .rt-band-text { font-size: 32px; }

    .rt-steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .rt-contact { margin-top: 72px; }
    .rt-footer { margin: 76px -36px -36px; padding: 36px 40px 26px; }
}
