/* Shared responsive navigation for the approved English and Hebrew homepages. */
.header nav{flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px;min-width:0}
.header nav a{white-space:nowrap}
.owner-space-link{color:inherit;background:transparent;border-radius:0;padding:0}
.brand,.found-link{flex-shrink:0}
.header nav a[aria-current="page"]{font-weight:800;color:#4d2d83}
.language-menu{position:relative;margin:0}
.language-menu summary{list-style:none;cursor:pointer;padding:0;display:flex;align-items:center;gap:6px;font-size:.9rem;font-weight:700;white-space:nowrap}
.language-menu summary::-webkit-details-marker{display:none}
.language-menu summary span{font-size:.85rem;color:#5d3c91;transition:transform .18s ease}
.language-menu[open] summary span{transform:rotate(180deg)}
.language-options{position:absolute;z-index:30;top:calc(100% + 12px);right:0;min-width:154px;padding:8px;background:#fff;border:1px solid #d8dbea;border-radius:12px;box-shadow:0 14px 34px #1d245526;display:grid;gap:2px}
.language-options a{display:block;padding:9px 11px;border-radius:8px;color:#171a36;text-align:start;white-space:nowrap}
.language-options a:hover,.language-options a:focus-visible{background:#f0ebfb;color:#4d2d83}
.language-options{width:min(330px,calc(100vw - 32px));max-height:min(70vh,590px);min-width:0;inset-inline-end:0;right:auto;display:flex;flex-direction:column;gap:8px;padding:12px;direction:ltr}
.language-search{width:100%;min-height:42px;padding:9px 12px;border:1px solid #bfc5da;border-radius:9px;background:#f9faff;color:#171a36;font-size:14px}
.language-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;display:grid;gap:2px}
.language-options .language-choice{display:flex;align-items:center;gap:10px;min-height:40px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:#171a36;text-align:start;text-decoration:none;white-space:normal;font:600 14px/1.35 Manrope,Arial,sans-serif}
.language-options .language-choice:hover:not(:disabled),.language-options .language-choice:focus-visible{background:#f0ebfb;color:#4d2d83}
.language-options .language-choice[aria-current="page"]{background:#e9e3f7;color:#422479}
.language-options .language-choice:disabled{cursor:default;opacity:.69}
.language-options .language-choice[hidden]{display:none}
.language-choice .language-flag{width:27px;min-width:27px;height:27px;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid #cbd0de;border-radius:50%;background:#f5f5f8;box-shadow:inset 0 1px 1px #ffffffaa,0 1px 3px #18204227}
.language-choice .language-flag img{width:100%;height:100%;object-fit:cover}
.language-choice .language-flag.yiddish-flag img{transform:scale(1.15)}
.language-choice .language-flag::after{content:'';position:absolute;inset:0;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse 75% 48% at 29% 17%,#ffffffa6 0%,#ffffff38 53%,transparent 85%);box-shadow:inset 0 -2px 3px #111a3a35,inset 0 1px 1px #ffffffa6}
.language-choice .language-name{flex:1;unicode-bidi:plaintext}
.language-choice small{font-size:10px;color:#5b6176;white-space:nowrap}
.language-note{margin:0;padding:5px 4px 0;border-top:1px solid #e3e5f0;color:#555e75;font-size:11px;line-height:1.35}
@media(max-width:700px){.language-options{inset-inline-end:auto;left:50%;transform:translateX(-50%);max-height:min(65vh,510px)}}
.public-home{min-height:100svh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.public-home #main{min-height:0}
.public-home .hero{height:100%;min-height:0;padding-block:clamp(16px,3vh,44px);align-items:center}
.public-home .hero-copy{align-self:center}
.public-home .hero-visual{min-height:0;height:min(100%,570px);max-height:570px}
.public-home .word-strip{align-self:end}
.public-content{min-height:100svh;background:linear-gradient(145deg,#f8fbff 0%,#f5f3ff 58%,#f8fbff 100%)}
.public-content main{padding-bottom:80px}
.page-intro{padding-block:74px 24px;display:grid;grid-template-columns:1.15fr .85fr;gap:18px 80px;align-items:end}
.page-intro .eyebrow{grid-column:1/-1;margin-bottom:4px}
.page-intro h1{font-size:clamp(3.25rem,5.4vw,5.8rem)}
.page-intro>p:last-child{color:var(--muted);font-size:1.08rem;padding-bottom:9px}
.public-content .how,.public-content .audiences,.public-content .questions{padding-block:54px 80px}
.public-content .steps,.public-content .audience-grid{margin-top:0}
.public-content .questions{display:block;max-width:960px}
.public-content .faq-list{margin-top:0}
.page-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:36px}
.found-page main{padding:0}.found-page .found-section{min-height:calc(100svh - 104px);display:grid;align-items:center}.found-page .found-inner>div>p:last-child{max-width:46ch}
.language-holding{font-family:'Noto Sans Hebrew',Manrope,sans-serif}.language-holding .header{direction:ltr}.language-holding .language-menu{direction:rtl;margin-inline-start:auto}.language-coming-soon{min-height:calc(100svh - 110px);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px 24px}.language-coming-soon img{background:#fff;padding:12px;border-radius:22px;margin-bottom:24px}.language-coming-soon h1{font-family:'Noto Sans Hebrew',sans-serif}.language-coming-soon>p:not(.eyebrow){color:var(--muted);font-size:1.08rem;margin:24px auto;max-width:620px}.language-coming-soon .button{min-width:220px}
/* Keep all nine digits and the star visible; wrap the button before squeezing
   the code field. Applies identically to the English and RTL homepages. */
#finder-form .code-entry{flex-wrap:wrap}
#finder-form .code-entry input{flex:1 1 16ch}
@media(max-width:1000px) and (min-width:701px){.public-home .header{padding-block:15px}.public-home .hero{padding-block:14px}.public-home h1{font-size:clamp(3rem,7vw,4.7rem)}.public-home .lead{margin-top:18px}.public-home .actions{margin-top:22px}.public-home .hero-note{margin-top:18px}.public-home .hero-visual{max-height:610px}}
@media(min-width:701px) and (max-height:800px){.public-home .header{padding-block:12px}.public-home .hero{padding-block:8px;gap:30px}.public-home h1{font-size:clamp(3rem,5.8vw,4.55rem)}.public-home .eyebrow{margin-bottom:12px}.public-home .lead{margin-top:14px;font-size:1.02rem}.public-home .actions{margin-top:18px}.public-home .hero-note{margin-top:13px}.public-home .hero-visual{height:auto;max-height:500px}.public-home .gallery-frame{aspect-ratio:auto;height:min(36vh,265px)}.public-home .gallery-frame>img{height:100%;object-fit:cover}.public-home .gallery-caption{min-height:118px;padding:14px 18px 12px}.public-home .gallery-caption p{margin-top:5px;line-height:1.35}.public-home .gallery-options{padding:9px 18px 0}.public-home .gallery-options button{min-height:38px;padding:6px 10px}.public-home .gallery-disclaimer{padding-top:4px}.public-home .word-strip{padding-block:18px}}
@media(max-width:900px){.header{flex-wrap:wrap}.header nav{order:3;width:100%;justify-content:space-between;gap:10px 18px}.language-options{right:auto;left:0}.page-intro{grid-template-columns:1fr;padding-top:52px}.page-intro>p:last-child{padding:0}}
@media(max-width:700px){body.public-home{display:block;min-height:100svh;overflow:auto}.public-home .hero{height:auto;padding-block:24px 32px}.public-home .hero-visual{height:auto;max-height:none;min-height:390px}.public-home .word-strip{position:static}.public-content main{padding-bottom:45px}.page-intro{padding-block:32px 12px}.page-intro h1{font-size:clamp(3rem,13vw,4.5rem)}.public-content .how,.public-content .audiences,.public-content .questions{padding-block:38px 55px}.found-page .found-section{min-height:0}.language-options{position:fixed;top:auto;left:16px;right:16px;width:auto;max-height:min(65dvh,510px);margin-top:8px;transform:none;box-shadow:0 18px 48px #1d24554d}.language-coming-soon h1{font-size:clamp(3rem,13vw,4.8rem)}}
@media(max-width:420px){.header nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));font-size:.74rem;gap:10px}.header nav a{white-space:normal}.language-menu summary{font-size:.74rem}.gallery-options{flex-wrap:wrap}}
@media(max-width:700px){
  .header{gap:8px 12px;padding-block:14px}
  .header nav{border-bottom:1px solid var(--line);padding-block:7px;gap:2px 8px}
  .header nav>a,.header nav .language-menu{min-width:0}
  .header nav>a{min-height:40px;justify-content:center}
  .language-menu summary{min-height:40px;justify-content:center}
  .hero-copy .eyebrow{margin-bottom:12px}
  .public-home .lead{margin-top:16px}
  .public-home .actions{margin-top:22px}
  .public-home .hero-note{margin-top:17px}
  /* A finder arriving without a camera should reach code entry immediately. */
  .found-page .found-section{padding-block:24px 38px}
  .found-page .found-inner{gap:26px}
  .found-page .finder-panel{order:-1}
  .found-page .finder-panel h2{font-size:clamp(1.65rem,7vw,2rem)}
  .found-page .found-inner>div:not(.finder-panel) h1{font-size:clamp(2.6rem,11vw,4rem)}
}
@media(max-width:420px){
  .header nav{gap:0 6px}
  .header nav>a,.language-menu summary{font-size:.74rem;line-height:1.25;text-align:center}
}
