/**
 * דף בית נייד (index) + כפתור MENU בשורת המותג (site-full-menu.js)
 */
.page-mobile-home {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #0a0b0d;
    color: #f2f2f2;
    font-family: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
    padding-top: 0;
}

.page-mobile-home .mobile-home-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10060;
    padding: max(10px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px
        max(16px, env(safe-area-inset-left, 0px));
    background: linear-gradient(to bottom, rgba(10, 11, 13, 0.97), rgba(10, 11, 13, 0.88));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.page-mobile-home .mobile-home-brandrow {
    position: static !important;
    max-width: none !important;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

.page-mobile-home .mobile-home-brandrow .brand {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(17px, 4.5vw, 22px) !important;
    letter-spacing: 0.12em !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    pointer-events: none;
}

.mobile-top-menu-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #eaeaea !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-top-menu-btn:active {
    background: rgba(255, 255, 255, 0.12);
}

.page-mobile-home .mobile-home-quick {
    flex-shrink: 0;
    max-width: 720px;
    margin: 0 auto;
    /* מתחת ל-header הקבוע: אותם רכיבים כמו ב־.mobile-home-top + מרווח לפני הקישורים (מונע חיתוך אותיות) */
    padding: calc(max(10px, env(safe-area-inset-top, 0px)) + 48px + 10px + 12px) 18px 10px;
    text-align: center;
    font-size: clamp(13px, 3.6vw, 15px);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.35;
    color: rgba(235, 235, 235, 0.88);
}

.page-mobile-home .mobile-home-quick a {
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 1px;
}

.page-mobile-home .mobile-home-quick a:active {
    opacity: 0.85;
}

.page-mobile-home .mobile-home-quick span {
    opacity: 0.45;
    margin: 0 0.2em;
    font-weight: 400;
}

/* שטח שנותר מתחת לכותרת + קישורים מהירים — הפורטרט במרכזו */
.page-mobile-home .mobile-home-hero {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 6px 12px max(14px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

/* גודל המסגרת — בפיקסלים מ־JS (מימדי nude-intro.mp4); לפני טעינה: 9:16 משוער */
.page-mobile-home .mobile-home-hero__zoomwrap {
    box-sizing: border-box;
    width: min(88vw, 400px);
    aspect-ratio: 9 / 16;
    max-height: calc(
        100dvh - 7.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
    );
    margin: 0 auto;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-mobile-home .mobile-home-hero__zoomwrap.is-video-sized {
    aspect-ratio: auto;
    max-height: none;
}

.page-mobile-home .mobile-home-hero__img,
.page-mobile-home .mobile-home-hero__vid {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform-origin: center center;
    animation: mobile-home-hero-zoom 14s ease-in-out infinite alternate;
}

/* overscan קל — מסתיר פסים דקים מקודם/מעגל פיקסלים */
@keyframes mobile-home-hero-zoom {
    0% {
        transform: scale(1.045);
    }
    100% {
        transform: scale(1.1);
    }
}

/* mobile-menu.html */
body.page-mobile-menu {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #0a0a0a;
    color: #fafafa;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-text-size-adjust: 100%;
}

.page-mobile-menu .mobile-menu-shell {
    max-width: 28rem;
    margin: 0 auto;
    padding: calc(58px + env(safe-area-inset-top, 0px) + 0.5rem) 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

/* כותרת דף התפריט: מותג + MENU בשורה אחת, לא חופף לרשימת התמות */
.page-mobile-menu .mobile-menu-unified-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10060;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    padding: max(10px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px
        max(16px, env(safe-area-inset-left, 0px));
    background: linear-gradient(to bottom, rgba(10, 11, 13, 0.97), rgba(10, 11, 13, 0.88));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-mobile-menu .mobile-menu-unified-header__brand {
    font-size: clamp(16px, 4.2vw, 21px);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    text-transform: uppercase;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}
.page-mobile-menu .mobile-menu-unified-header__brand-link {
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}
.page-mobile-menu .mobile-menu-unified-header .mobile-top-menu-btn {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(240, 240, 240, 0.98) !important;
}
.page-mobile-menu .mobile-menu-unified-header .mobile-top-menu-btn:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

/* אקורדיון תמות — mobile-menu.html (ללא «קוביות» מערכת בהירות; קישורים נייטרליים) */
.page-mobile-menu .mobile-accordion {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.page-mobile-menu .mobile-acc-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-mobile-menu .mobile-acc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0.85rem 2px 0.85rem 0;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 245, 245, 0.95);
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.page-mobile-menu .mobile-acc-section.is-open .mobile-acc-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.page-mobile-menu .mobile-acc-toggle:active {
    background: rgba(255, 255, 255, 0.06);
}
.page-mobile-menu .mobile-acc-chev {
    flex-shrink: 0;
    width: 0.45em;
    height: 0.45em;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    margin-bottom: 0.2em;
    transition: transform 0.2s ease;
}
.page-mobile-menu .mobile-acc-section.is-open .mobile-acc-chev {
    transform: rotate(225deg);
    margin-top: 0.15em;
    margin-bottom: 0;
}
.page-mobile-menu .mobile-acc-panel {
    padding: 0.15rem 0 1rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.15);
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    margin: 0 0 0.25rem 0.35rem;
}
.page-mobile-menu .mobile-acc-panel[hidden] {
    display: none !important;
}
.page-mobile-menu .mobile-acc-intro {
    margin: 0.15rem 0 0.5rem 0.15rem;
    padding: 0;
    font-size: clamp(0.72rem, 2.65vw, 0.82rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: rgba(180, 178, 172, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    user-select: none;
}
.page-mobile-menu .mobile-acc-panel a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(220, 218, 212, 0.92);
    text-decoration: none;
    padding: 0.4rem 0 0.4rem 0.15rem;
    line-height: 1.4;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.page-mobile-menu .mobile-acc-panel a:hover,
.page-mobile-menu .mobile-acc-panel a:focus-visible {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.18);
    outline: none;
}
.page-mobile-menu .mobile-acc-panel a:active {
    color: rgba(255, 255, 255, 0.88);
}

/* שורת חזרה חכמה (דפים שטוענים mobile-home.css בלבד) */
@media (max-width: 1100px) {
    /* Hub: שורת ORA+MENU קבועה גבוהה מעט ממותג בלבד — מרווח נוסף כדי שלא יידחקו כותרות ל־MENU */
    body.page-nav-hub:has(.site-brand-stack > a.mobile-top-menu-btn) .content.nav-hub-content {
        padding-top: max(5.15rem, calc(env(safe-area-inset-top, 0px) + 58px));
    }
    /* Back — site-index-button.css */
}

.page-mobile-menu .mobile-menu-back {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.page-mobile-menu .mobile-menu-primary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 0.85rem;
    padding: 0 0 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.page-mobile-menu .mobile-menu-primary-links a {
    color: rgba(230, 230, 230, 0.96);
    text-decoration: none;
    font-size: 0.81rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}
.page-mobile-menu .mobile-menu-primary-links a:hover,
.page-mobile-menu .mobile-menu-primary-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

.page-mobile-menu h1 {
    margin: 0 0 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.page-mobile-menu .mobile-theme-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-mobile-menu .mobile-theme-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-mobile-menu .mobile-theme-list a {
    display: block;
    padding: 0.85rem 0;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
}

.page-mobile-menu .mobile-theme-list a:active {
    opacity: 0.75;
}

/* חזרה לתפריט הראשי — דפי hub (בלי class site-back כדי שלא יוסתר ב־site-index-button.css) */
a.mobile-hub-back {
    position: fixed;
    top: max(56px, calc(12px + env(safe-area-inset-top, 0px) + 44px));
    right: max(18px, env(safe-area-inset-right, 0px));
    left: auto;
    z-index: 10055;
    display: inline-block;
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #eaeaea !important;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
a.mobile-hub-back:active {
    background: rgba(0, 0, 0, 0.55);
}
@media (max-width: 700px) {
    a.mobile-hub-back {
        top: max(52px, calc(10px + env(safe-area-inset-top, 0px) + 40px));
        right: 12px;
        padding: 8px 10px;
        font-size: 11px;
    }
}

.content > .mobile-hub-back + h1 {
    margin-top: 2.75rem;
}

/* --- דפי Hub תמה (nav-hub-*.html): פסקה פואטית מובחנת, אז רשימת עבודות --- */
body.page-nav-hub {
    background: #0a0a0a;
}
/* Hub פרופיל: כל התוכן (תמונה + קישורים) במרכז המסך */
body.page-nav-hub.page-nav-hub--links-only {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
body.page-nav-hub.page-nav-hub--links-only .content.nav-hub-content--profile-min {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 38rem;
    margin-inline: auto;
    padding: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.35rem)) 1.25rem max(2rem, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}
.page-nav-hub .content.nav-hub-content {
    max-width: 38rem;
    margin: 0 auto;
    /* מרווח עליון: מתחת ל־.brand מוחלט בדסקטופ / מתחת ל־site-brand-stack+MENU בנייד — בלי חפיפה לכותרות */
    padding: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.35rem)) 1.25rem 2.5rem;
    box-sizing: border-box;
}
.page-nav-hub .nav-hub-theme-title {
    margin: 0;
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: clamp(1rem, 3.2vw, 1.15rem);
    color: #e2e2e2;
}
.page-nav-hub .nav-hub-theme-sub {
    margin: 0.45em 0 0;
    letter-spacing: 0.1em;
    font-size: 0.92rem;
    color: rgba(200, 200, 200, 0.88);
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    unicode-bidi: isolate;
}
.page-nav-hub .nav-hub-poetic {
    max-width: 36em;
    margin: 1.35rem 0 0;
    padding: 0 0 1.35rem;
    line-height: 1.65;
}
.page-nav-hub .nav-hub-poetic p {
    margin: 0 0 0.75em;
}
.page-nav-hub .nav-hub-poetic p:last-child {
    margin-bottom: 0;
}
.page-nav-hub .nav-hub-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.35rem;
}
.page-nav-hub .nav-hub-divider--tight {
    margin: 1.5rem 0 1.15rem;
}
.page-nav-hub .nav-hub-works-head {
    margin: 0 0 1rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}
/* Hub פרופיל: פסים לבנים אטומים על כיתוב עברי בתמונה + אנגלית קריאה */
.nav-hub-profile-figure {
    margin: 0 auto 1.25rem;
    max-width: min(280px, 86vw);
    padding: 0;
    line-height: 0;
}
.nav-hub-profile-visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-hub-profile-sidebyside-img {
    display: block;
    width: 100%;
    height: auto;
}
.nav-hub-profile-band {
    position: absolute;
    left: 0;
    right: 0;
    box-sizing: border-box;
    background: #fff;
    color: #141414;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.nav-hub-profile-band--top {
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    padding: 0.5rem 0.25rem;
    min-height: 2.1rem;
    font-size: clamp(0.62rem, 3.1vw, 0.82rem);
    line-height: 1.25;
    text-align: center;
}
.nav-hub-profile-band__cell {
    max-width: 100%;
    padding: 0 0.12rem;
}
.nav-hub-profile-band--bottom {
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.4rem;
    font-size: clamp(0.58rem, 2.9vw, 0.76rem);
    line-height: 1.3;
    text-align: center;
}
/* מכסה כיתוב עברי מוטמע בתחתית קובץ התמונה */
.nav-hub-profile-band--bottom.nav-hub-profile-band--cover {
    min-height: 2rem;
    padding: 0.45rem 0.4rem;
}
.nav-hub-profile-band__caption {
    display: block;
    max-width: 100%;
}
body.page-nav-hub.page-nav-hub--links-only .nav-hub-content--profile-min .nav-hub-links {
    margin: 0;
    padding: 0;
    list-style: disc;
    list-style-position: inside;
    text-align: center;
    width: fit-content;
    max-width: 100%;
    line-height: 2.1;
    color: #ddd;
}
body.page-nav-hub.page-nav-hub--links-only .nav-hub-content--profile-min .nav-hub-links li {
    margin: 0.15em 0;
}
.page-nav-hub .nav-hub-links {
    margin: 0;
    padding: 0 0 0 1.15em;
    line-height: 2.1;
    color: #ddd;
    list-style: disc;
}
.page-nav-hub .nav-hub-links li {
    margin: 0.15em 0;
}
.page-nav-hub .nav-hub-links a {
    color: rgba(230, 228, 220, 0.95);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.page-nav-hub .nav-hub-links a:hover,
.page-nav-hub .nav-hub-links a:focus-visible {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    outline: none;
}
