@font-face{font-family:Waterbury Roman;src:url("assets/roman.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Waterbury Roman;src:url("assets/italic.woff") format("woff");font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:DM Sans;src:url("assets/dm-sans.woff") format("woff");font-weight:100 900;font-display:swap}
:root{--ink:#223e32;--deep:#1e392e;--rust:#934a34;--paper:#faf8f0;--sand:#f0eee2;--line:#d7d6c9;--muted:#536057;--serif:"Waterbury Roman",Baskerville,Georgia,serif;--sans:"DM Sans",Arial,sans-serif;--gutter:clamp(1.3rem,5.3vw,6rem)}
*{box-sizing:border-box}
html {
  scroll-behavior: smooth;
  --anchor-top: calc(max(var(--mast-height), var(--anchor-obstruction, 0px)) + .75rem);
  scroll-padding-top: var(--anchor-top);
}
body{margin:0;color:var(--ink);background:var(--paper);font:400 1rem/1.58 var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-underline-offset:.26em;text-decoration-thickness:1px}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:default}
input, select, textarea {font-size: max(16px, 1rem)}
:focus-visible{outline:3px solid #c2603f;outline-offset:4px}
[hidden]{display:none!important}
body:has(dialog[open]){overflow:hidden}
.wrap{width:min(100%,1510px);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:fixed;top:.6rem;left:.6rem;z-index:20;padding:.65rem 1rem;background:white;transform:translateY(-160%)}
.skip:focus{transform:none}
h1,h2,h3,p,figure,blockquote{margin:0}
h1,h2,h3{font-family:var(--serif);font-weight:400}
h1,h2{line-height:1;letter-spacing:-.065em;text-wrap:balance}
h1 em,h2 em{font-weight:400;color:var(--rust);letter-spacing:-.075em}
.icon{display:block;flex-shrink:0;width:1.1rem;height:1.1rem}
.mast{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:3}
.mast-in,.foot-in{display:flex;align-items:center;gap:2.2rem}
.mast-in{min-height:81px;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:.46rem;text-decoration:none;line-height:1;color:var(--ink);flex-shrink:0}
.brand-tree{width:45px;height:45px}
.brand>span{font:400 2.06rem/.82 var(--serif);letter-spacing:-.065em}
.brand small{display:block;font:650 .6rem/1 var(--sans);letter-spacing:.29em;margin-top:.47rem;margin-left:.12rem}
.foot-in>a:not(.brand){font-size:.91rem;font-weight:550;text-decoration:none}
.foot-in>a:not(.brand):hover{text-decoration:underline}
.hero-ctas,.visit-actions,.resource-row,.work-links,.gallery-controls{display:flex;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:.65rem;min-height:3.12rem;padding:.73rem 1.35rem;border-radius:.45rem;color:#fffdf5;background:var(--ink);border:1px solid transparent;text-decoration:none;font:600 .96rem/1.2 var(--sans);transition:background .2s,transform .2s}
.btn:hover{background:#365a45;transform:translateY(-1px)}
.hero{position:relative;isolation:isolate;overflow:clip;background:radial-gradient(ellipse at 81% 83%,#ede8d9 0%,transparent 48%),var(--paper)}
.hero-body{display:grid;grid-template-columns:.96fr 1.04fr;align-items:center;gap:clamp(2rem,4.4vw,5rem);padding-block:clamp(4.65rem,7.1vw,7rem) clamp(4.7rem,7.25vw,7.5rem)}
.hero-copy{position:relative;z-index:1}
.eyebrow{display:flex;align-items:center;gap:.72rem;font:650 .78rem/1.35 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--rust)}
.stroke{display:inline-block;width:1.9rem;height:1px;background:currentColor;flex:none}
h1{font-size:clamp(4.2rem,7.2vw,7.45rem);margin:1.25rem 0 1.4rem}
.dek{font-size:clamp(1.05rem,1.25vw,1.2rem);max-width:36ch;line-height:1.63;color:#424d43}
.hero-ctas{gap:.95rem 1.5rem;margin-top:1.8rem}
.text-link{font-size:.94rem;font-weight:600}
.postcard-wrap{position:relative;min-width:0;transform:rotate(2deg);margin:0 .6rem 0 0}
.postcard-wrap:before{content:"";position:absolute;inset:1% .6% -1.2% .5%;background:#e6dfcd;border:1px solid #cec8b8;transform:rotate(-4deg);box-shadow:0 6px 18px #56462b13}
.postcard{position:relative;padding:clamp(9px,.9vw,15px);padding-bottom:0;background:#fffdf5;box-shadow:0 12px 32px #67573929,0 1px 4px #584b3c1a}
.postcard picture{display:block;overflow:hidden}
.hero-image{width:100%;height:auto;aspect-ratio:1.42;object-fit:cover;object-position:50% 48%;display:block}
.postcard-place{display:inline-flex;align-items:center;gap:.3rem;font:550 .76rem var(--sans)}
.postcard-place .icon{width:.92rem;height:.92rem}
.postcard-note{font:italic 1.02rem var(--serif)}
.postmark{position:absolute;width:clamp(4.65rem,7.2vw,7.4rem);aspect-ratio:1;right:-1.6rem;top:-2.55rem;transform:rotate(10deg);color:#50634d;background:#e9e9d9;box-shadow:0 2px 2px #2432221e;border-radius:50%;overflow:visible}
.postmark>circle{fill:none;stroke:currentColor;stroke-width:.9}
.postmark text{font:600 10.5px var(--sans);fill:currentColor;letter-spacing:2.2px}
.postmark .smallarc{font-size:9px;letter-spacing:1.5px}
.facts{background:var(--ink);color:var(--paper)}
.facts-in{padding-block:1.8rem;display:grid;grid-template-columns:repeat(3,1fr)}
.facts-in>div{display:flex;align-items:center;justify-content:center;gap:clamp(1rem,2vw,2rem)}
.facts-in>div+div{border-left:1px solid #ffffff39}
.facts-in > div {position:relative}
.facts-in a {color:inherit;text-decoration:none}
.facts-in a::after {content:"";position:absolute;inset:0}
/* Align the first content with the heading reached by #work at this viewport. */
:where(#community, #torah, #neighborhoods, #org-title, #visit, .directory-name[id], .dir-panel) {
  scroll-margin-block-start: var(--work-heading-gap, 0px);
}
.guide-index.enhanced .dir-panel {
  scroll-margin-block-start: calc(var(--work-heading-gap, 0px) + var(--directory-tab-space, 0px));
}
/* On a tall screen the final section needs enough scroll travel to reach that line. */
.visit:has(#visit:target) {
  min-block-size: calc(100dvh - var(--anchor-top) - var(--work-heading-gap, 0px) + var(--visit-heading-gap, 0px) - var(--footer-height, 0px));
}
.facts strong{font:700 clamp(2.5rem,3.3vw,3.5rem)/1 var(--serif);letter-spacing:0;white-space:nowrap}
.facts strong span{font-size:.65em;vertical-align:.22em;margin-left:.1em}
@media screen and (prefers-reduced-motion: no-preference) {
  .facts strong {animation: fact-lift 5.5s ease-in-out infinite}
  .facts-in > :nth-child(2) strong {animation-delay: .3s}
  .facts-in > :nth-child(3) strong {animation-delay: .6s}
  @keyframes fact-lift {
    0%, 36%, 100% {transform: translateY(0); text-shadow: 0 0 .16em transparent}
    18% {transform: translateY(-2px); text-shadow: 0 0 .16em rgb(152 123 66 / 32%)}
  }
}
.facts p{font-size:.9rem;line-height:1.4;color:#efefe3}
.section{padding-block:clamp(4.5rem,7.7vw,8rem)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2.35rem}
.section-head h2,.work h2,.visit h2{margin-top:.9rem;font-size:clamp(3.1rem,5.2vw,5.6rem)}
.section-head>p{max-width:34ch;color:var(--muted);line-height:1.6;margin-bottom:.13rem}
.gallery{background:#fcfbf6}
.gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2.7rem) / 3);gap:1.35rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a6af9c transparent;padding:4px 2px 8px}
.snapshot{scroll-snap-align:start;min-width:0}
.photo-open{display:block;overflow:hidden;position:relative;background:var(--sand);border-radius:2px}
.photo-open>img{display:block;width:100%;height:auto;aspect-ratio:1.54;object-fit:cover;transition:transform .4s ease}

.photo-open>span{position:absolute;bottom:.7rem;right:.7rem;width:1.75rem;height:1.75rem;display:grid;place-items:center;background:#fffdf5ed;border-radius:50%;color:var(--ink)}
.photo-open .icon{width:.84rem;height:.84rem}
.snapshot figcaption small,.quote-source{font:600 .74rem/1.3 var(--sans);letter-spacing:.13em;text-transform:uppercase;color:var(--rust)}
.gallery-foot{margin-top:1.65rem;padding-top:1.25rem;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:1rem}
.resource-row{gap:.45rem 1.65rem}
.icon-link{display:inline-flex;align-items:center;gap:.5rem;font-weight:550;font-size:.92rem;text-decoration:none;min-height:2.5rem}
.icon-link:hover{text-decoration:underline}
.icon-btn{display:inline-grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:50%;border:1px solid #bfc4b7;background:transparent}
.icon-btn:hover:not(:disabled){background:#e7e9db}
.icon-btn:disabled{opacity:.35}
.guide{background:#eeefe5;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.guide-grid{display:grid;grid-template-columns:.79fr 1.21fr;gap:clamp(2.5rem,6.5vw,7.5rem);align-items:start}
.guide-photo{margin:0;position:relative}
.guide-photo img{width:100%;max-height:550px;aspect-ratio:1/.98;object-fit:cover;object-position:center 40%;display:block}
.tab-bar{display:flex;gap:.4rem;flex-wrap:wrap;margin:0 0 1.15rem}
.dir-tab{font-weight:600;font-size:.92rem;padding:.58rem .9rem;min-height:2.75rem;display:inline-flex;align-items:center;gap:.4rem;border-radius:.35rem;border:1px solid #bbc3b5;text-decoration:none}
.dir-tab[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:white}
.dir-tab small{font-size:.77rem;opacity:.86}
.fallback-title{font-size:1.65rem}
.enhanced .fallback-title{display:none}
.dir-item,.work-item{border-bottom:1px solid #bcc5b8}
.dir-item summary,.work-item summary{position:relative;list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1.3rem}
summary::-webkit-details-marker{display:none}
.dir-item summary{padding:1.05rem 0;font:400 clamp(1.4rem,1.9vw,2rem)/1.13 var(--serif);letter-spacing:-.035em}
.dir-item p,.work-item>div{padding-bottom:1.05rem}
.dir-item p{color:#435347;line-height:1.65;max-width:63ch}
.plus{display:grid;place-items:center;width:1.1rem;height:1.1rem;flex-shrink:0;position:relative}
.plus:before,.plus:after{content:"";position:absolute;width:.79rem;height:1px;background:currentColor}
.plus:after{transform:rotate(90deg)}
details[open]>summary .plus:after{transform:none}
.guide-download{margin-top:1.2rem}
.guide-download small{font-weight:400;color:var(--muted)}
.work{background:#f9f5eb}
.work-in{display:grid;grid-template-columns:.88fr 1.12fr;gap:clamp(2.5rem,7.8vw,10rem)}
.work h2{margin-bottom:1.1rem}
.work-intro>p:not(.eyebrow),.work-info>p{max-width:48ch;color:var(--muted)}
.work-photo{margin-top:1.6rem;max-width:480px}
.work-photo img{display:block;width:100%;height:auto;aspect-ratio:2.05;object-fit:cover;border-radius:2px}
.work-info h2{font-size:clamp(2rem,3vw,3rem);letter-spacing:-.055em;line-height:1.1}
.work-info>p{margin:.7rem 0 1.45rem}
.work-item{border-color:var(--line)}
.work-item:first-of-type{border-top:1px solid var(--line)}
.work-item summary{padding:1.05rem 0;font-weight:650}
.work-item p{max-width:57ch;margin:0 0 .75rem;color:#4d574e}
.work-links{gap:.75rem 1.5rem}
.work-links a,.contact-mail{font-size:.9rem;font-weight:600}
.contact-list{list-style:none;margin:.5rem 0 .9rem;padding:0}
.contact-list li{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;padding:.25rem 0}
.contact-list li a{white-space:nowrap}
h4{font-size:.9rem;margin:.75rem 0 .2rem}
.visit{background:#254636;color:#fbf7eb}
.visit-in{display:grid;grid-template-columns:1.14fr .86fr;align-items:center;gap:clamp(3rem,10vw,11rem)}
.visit .eyebrow{color:#d8c7a6}
.visit h2{margin-bottom:1.1rem}
.visit h2 em{color:#e6ce9f}
.visit-copy>p:not(.eyebrow){max-width:49ch;color:#edf0e5}
.visit-actions{gap:.8rem 1.6rem;margin-top:1.6rem}
.cream-btn{background:#f6ecd5;color:var(--ink)}
.cream-btn:hover{background:#fff9ec}
.call-link{display:inline-flex;align-items:center;gap:.55rem;font-weight:600}
.visit-email{display:inline-block;font-size:.92rem;color:#f1eadc;margin-top:1.05rem}
.invite-quote{border-left:1px solid #96a18e;padding-left:clamp(2rem,4.4vw,5rem)}
.quote-mark{font:400 5rem/.68 var(--serif);color:#dfc99e;display:block}
.invite-quote blockquote{font:italic clamp(1.85rem,2.65vw,3rem)/1.12 var(--serif);letter-spacing:-.04em;margin:.1rem 0 1.25rem}
.invite-quote cite{font-style:normal;font-weight:600}
.quote-source{display:block;margin-top:.25rem;color:#d3d9c8;font-size:.72rem}
footer{background:#f7f5eb}
.foot-in{min-height:100px;flex-wrap:wrap}
.foot-in .brand{margin-right:auto}
#lightbox{color:var(--paper);background:#1e3028;border:1px solid #adbbab4d;border-radius:.6rem;padding:0;width:min(94vw,1000px);max-width:94vw;max-height:94dvh;overflow:auto}
#lightbox::backdrop{background:#15201bf0}
#close-lightbox{position:absolute;top:.65rem;right:.65rem;z-index:1;background:#fbf9ef;color:var(--ink)}
.lightbox-body{padding:3.8rem 1.5rem 1rem}
#lightbox-image{display:block;width:100%;height:min(65dvh,660px);object-fit:contain}
@media(min-width:1650px){.hero-body{padding-block:7.3rem}}
@media(max-width:970px){.mast-in{gap:1rem}.hero-body{gap:2rem}.hero-ctas{gap:.75rem 1rem}.guide-grid{grid-template-columns:.7fr 1.3fr;gap:2rem}.work-in{gap:2.5rem}.visit-in{gap:3rem}.postcard-note{font-size:.9rem}.postcard-place{font-size:.72rem}.section-head>p{max-width:30ch}}
@media(max-width:760px){:root{--gutter:clamp(1.15rem,5.6vw,2.5rem)}.mast-in{min-height:66px}.brand-tree{width:36px;height:36px}.brand>span{font-size:1.65rem}.brand small{font-size:.51rem;margin-top:.36rem}.hero-body{grid-template-columns:1fr;gap:2.7rem;padding-block:3.05rem 3.3rem}.hero-copy{max-width:38rem}.hero h1{font-size:clamp(3.85rem,10.5vw,5.6rem);margin:.95rem 0 1rem}.dek{max-width:43ch;font-size:1.04rem}.hero-ctas{margin-top:1.4rem;gap:.8rem 1.2rem}.postcard-wrap{width:94%;max-width:36rem;justify-self:center;margin:0}.postcard{padding:8px 8px 0}.hero-image{aspect-ratio:1.66;object-position:center 47%}.postmark{width:4.4rem;top:-1.6rem;right:-.85rem}.facts-in{padding-block:1.2rem}.facts-in>div{display:grid;justify-items:center;gap:.22rem;text-align:center}.facts strong{font-size:2.4rem}.facts p{font-size:.76rem}.section{padding-block:3.8rem}.section-head{display:block;margin-bottom:1.6rem}.section-head>p{margin-top:.85rem;max-width:44ch}.section-head h2,.work h2,.visit h2{font-size:clamp(2.85rem,8vw,4.2rem)}.gallery-track{grid-auto-columns:70%;gap:.9rem}.gallery-foot{align-items:flex-start}.resource-row{display:grid;gap:0}.guide-grid,.work-in,.visit-in{grid-template-columns:1fr;gap:1.7rem}.guide-photo{display:none}.dir-tab{font-size:.88rem}.work-intro>p:not(.eyebrow),.work-info>p{max-width:55ch}.work h2 br{display:none}.work h2 br:after{content:" "}.work-photo{max-width:none}.work-photo img{max-height:15rem}.work-info{padding-top:.4rem}.visit-in{gap:2.6rem}.invite-quote{padding-left:1.25rem;max-width:31rem}.quote-mark{font-size:3.4rem}.invite-quote blockquote{font-size:1.75rem}.foot-in{min-height:0;padding-block:1.6rem;gap:.6rem 1.4rem}.foot-in .brand{flex-basis:100%;margin-bottom:.45rem}.foot-in>a:not(.brand){font-size:.85rem}.lightbox-body{padding:3.5rem .75rem .8rem}}
@media(max-width:380px){.hero-ctas{gap:.65rem}.hero-ctas .btn{padding:.7rem .85rem}.text-link{font-size:.85rem}.eyebrow{font-size:.71rem}.facts p{font-size:.7rem}.tab-bar{gap:.25rem}.dir-tab{padding:.55rem .5rem}.postcard-note{font-size:.8rem}.gallery-track{grid-auto-columns:84%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.mast{position:sticky;top:0}
.nav-visit,.postcard-place{white-space:nowrap}
@media(min-width:761px) and (max-width:980px){.mast-in{gap:.75rem}.hero h1{font-size:clamp(3.05rem,6.2vw,4rem)}.postcard-note{display:none}.hero-body{gap:1.6rem}.hero-ctas{align-items:flex-start}.hero-ctas .btn{min-height:2.85rem}}
@media(max-width:760px){.mast-in{gap:.4rem}.hero h1{font-size:clamp(2.7rem,14.2vw,5.6rem)}.postcard-note{display:none}.hero-ctas .btn{padding-inline:1rem}}
@media(max-width:380px){.mast-in{padding-inline:.8rem}.mast .brand{gap:.3rem}.mast .brand-tree{width:31px}.mast .brand>span{font-size:1.5rem}}

/* Warm paper, dark olive ink, and the blue of the brochure's bridge mark. */
:root {
  --ink: #313f35;
  --deep: #253e35;
  --rust: #895038;
  --paper: #faf6ed;
  --sand: #eee8d9;
  --line: #d8d0be;
  --muted: #576052;
}
.mast {
  background: rgb(250 247 239 / 94%);
  border-bottom-color: rgb(125 107 74 / 19%);
  box-shadow: 0 3px 22px rgb(74 57 31 / 4%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mast .brand {position:relative; min-height:52px}
.mast .brand::before {
  content:""; position:absolute; inset:-4px -16px; z-index:-1;
  background:radial-gradient(ellipse,#e4cc891c,transparent 69%);
}
.kehilla-mark, .brand > .kehilla-mark {
  display:block; width:162px; height:39px; position:relative; overflow:hidden;
  font:inherit; letter-spacing:normal;
}
.kehilla-mark img {display:block; width:100%; height:auto; mix-blend-mode:multiply}
.mast .kehilla-mark img {position:relative; top:-1px}
.mast-in {min-height:76px}
.hero {
  background:
    radial-gradient(ellipse at 94% 75%,rgb(201 180 140 / 25%),transparent 59%),
    radial-gradient(ellipse at 2% 0%,#fffdf7,transparent 60%), #f8f2e6;
}
.hero-body {padding-block:clamp(4.2rem,6.7vw,7rem) clamp(4.2rem,6.9vw,7.1rem)}
.hero h1 {letter-spacing:-.069em}
.hero h1 em {color:#855338}
.hero .eyebrow,.org-heading .eyebrow {color:#79543b}
.dek {color:#4d564a;max-width:37ch}
.eyebrow {font-size:.71rem;letter-spacing:.15em}
.postcard-wrap {transform:rotate(1.65deg)}
.postcard-wrap::before {box-shadow:0 18px 29px -14px #4d411c38}
.postcard {border-radius:2px;box-shadow:0 22px 42px -18px #55412355,0 4px 12px #5d534324}
.postcard::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  border:1px solid rgb(125 99 59 / 13%);border-radius:inherit;
}
.postmark {
  background:#ebe6d5; color:#6b7156; box-shadow:0 4px 9px #544a302e;
}
.postmark .postmark-initial {font:italic 42px var(--serif);letter-spacing:-3px}
.btn,.nav-visit,.hero-ctas .btn {
  color:#394b3d;min-height:44px;
  padding:.53rem 1.05rem;gap:.5rem;font-size:.88rem;font-weight:600;
  border:1px solid #8c987c9e;border-radius:2rem;
  background:linear-gradient(145deg,#d9dfca85,#e5e7d750);
  box-shadow:inset 0 1px 0 #fffc,0 3px 10px -6px #4b523f55;
  transition:background-color .22s,border-color .22s,box-shadow .22s,transform .22s;
}
.btn:hover {background-color:#cdd5bc8f;border-color:#7f8d73;box-shadow:0 5px 12px -7px #4b523f66}
.btn:active {transform:translateY(0)}
.nav-visit .icon,.hero-ctas .icon,.visit-actions .icon {width:1rem;height:1rem}
.text-link,.call-link {min-height:44px;display:inline-flex;align-items:center}
.text-link {text-decoration-color:#a69b82}
.hero-ctas {gap:.6rem 1.3rem}
.facts {color:#354638;background:#e9e9db;border-block:1px solid #d3d3bf}
.facts-in {padding-block:1.55rem}
.facts p {color:#485747}
.facts-in>div+div {border-color:#c6c9b6}
.community-stories {background:#fcf9f1}
.community-stories .community-film:first-child {margin-top:0}
.gallery-track {scrollbar-color:#b0ad94 transparent;padding-bottom:.8rem}
.photo-open {border-radius:3px;box-shadow:0 3px 8px #695b4721}
.photo-open>img {aspect-ratio:2.15;object-fit:cover}
.photo-open>span {background:#f8f4e5e6;box-shadow:0 1px 5px #302b2726}

.snapshot:has(img[src*="preschool-group"]) .photo-open>img {object-fit:contain;background:#eae7da}
.snapshot:has(img[src*="career-workshop"]) .photo-open>img,
.snapshot:has(img[src*="hatzolah-air-team"]) .photo-open>img {object-fit:contain;background:#eae7da}
.snapshot:has(img[src*="learning-partners"]) .photo-open>img {object-position:center 50%}
.snapshot:has(img[src*="preschool-discovery"]) .photo-open>img {object-position:center 43%}
.neighborhood-note {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  align-items:center;gap:clamp(2rem,4.8vw,5.5rem);
  margin-top:clamp(3rem,6vw,6rem);padding:clamp(1.8rem,3.7vw,3.6rem);
  background:linear-gradient(120deg,#f1ebdc,#f8f3e7);border:1px solid #ded4bf;
  border-radius:3px;box-shadow:0 15px 35px -28px #59452970;
}
.note-image {
  display:flex;align-items:center;position:relative;
  padding:clamp(.42rem,.6vw,.7rem);transform:rotate(-2deg);background:#fffdf4;
  box-shadow:0 7px 13px #69533226,0 1px 3px #4a40231f;
}
.note-image img {display:block;width:100%;height:auto}
.note-copy h3,.org-heading h2 {letter-spacing:-.055em;line-height:1.04}
.note-copy h3 {font-size:clamp(2.3rem,3.3vw,3.8rem);margin:.72rem 0 .9rem}
.note-copy p:not(.eyebrow) {font-size:1rem;color:#4e5649;margin:.55rem 0}
.signature strong {font-weight:600}
.guide {background:linear-gradient(115deg,#eeefe4,#f4f3e9 76%);border-color:#d8d8c7}
.guide-photo {max-width:410px;margin-inline:auto;width:100%}
.guide-photo img {height:auto;aspect-ratio:auto;max-height:none;border-radius:3px;box-shadow:0 10px 22px -12px #45523c55}
.guide-photo img[src*="preschool-group"] {width:auto;max-width:100%;max-height:clamp(350px,35vw,480px);margin-inline:auto}
.dir-tab {background:transparent;border:1px solid #bac0ac;border-radius:30px;padding:.4rem .83rem}
.dir-tab[aria-selected=true] {background:#d4dfc6aa;border-color:#899a7b;color:#314737;box-shadow:inset 0 1px 0 #fafcf0aa}
.dir-tab:hover {background:#e3e8d6}
.dir-item summary,.work-item summary {transition:color .2s}
.dir-item summary:hover,.work-item summary:hover {color:#80503e}
.plus::after {transition:transform .18s}
.organizations {margin-top:clamp(3.2rem,6vw,6rem);padding-top:clamp(2.3rem,4vw,4rem);border-top:1px solid #c9cebc}
.org-heading {display:flex;gap:2rem;justify-content:space-between;align-items:end;margin-bottom:1.5rem}
.org-heading h2 {font-size:clamp(2.5rem,4.4vw,4.8rem);margin-top:.6rem}
.org-heading h2 em {color:var(--rust);font-weight:400}
.org-heading>p {max-width:32ch;color:var(--muted)}
.logo-list {
  display:grid;gap:1px;grid-template-columns:repeat(4,minmax(0,1fr));background:#dedfce;
  border:1px solid #dedfce;border-radius:3px;overflow:hidden;margin:0;padding:0;list-style:none;
}
.logo-list li {
  background:#f9f8ef;display:flex;align-items:center;justify-content:center;flex-direction:column;
  text-align:center;gap:.85rem;min-width:0;padding:1.35rem .8rem 1.15rem;
}
.logo-list img {width:100%;max-width:150px;height:67px;object-fit:contain;mix-blend-mode:multiply}
.logo-list span {font:530 .82rem/1.35 var(--sans);color:#445245}

.work {background:#faf5ea}
.job-fields {margin:0 0 1.1rem}
.job-fields>div+div {margin-top:.7rem}
.job-fields dt {font-weight:650;font-size:.91rem}
.job-fields dd {margin:.1rem 0 0;color:var(--muted)}
.work-figure,.work-photo {box-shadow:0 7px 18px -10px #584a3655}
.work-links a,.contact-list a {text-decoration-color:#9ca58f}
.visit {background:radial-gradient(ellipse at 70% 100%,#435240,transparent 60%),#30483b}
.cream-btn {color:#f5edda;border-color:#e2d8b27d;background:#f3e8cf15;box-shadow:inset 0 1px 0 #fff2}
.cream-btn:hover {background-color:#fff2;border-color:#dbd4ad}
footer {background:#f8f4e9}
.foot-in {gap:1.6rem;padding-block:1.15rem}
footer .brand>.kehilla-mark {width:145px;height:auto;overflow:visible}
.studio-credit {
  display:flex; width:fit-content; align-items:center; justify-content:center; gap:6px;
  margin:8px auto 0; padding:0 0 24px; text-decoration:none;
  font:normal 400 17px/1.7 Helvetica,sans-serif; color:#14100c;
}
.studio-credit .credit-label {
  font-size:8px; letter-spacing:.2em; text-transform:uppercase; color:rgb(20 16 12 / 24%);
}
.studio-credit:is(:hover, :focus-visible) .credit-label {color:rgb(20 16 12 / 45%)}
.studio-credit .credit-name {
  display:block; flex:none; color:rgb(20 16 12 / 58%); transition:color .3s ease;
}
.studio-credit:is(:hover, :focus-visible) .credit-name {color:rgb(20 16 12 / 72%)}
.studio-credit .credit-period {fill:#d9cbb4}
.credit-pen {
  fill:none; stroke:#32291f; stroke-width:13; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:1; stroke-dashoffset:1; opacity:0;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .credit-in-view .credit-pen {animation:credit-trace-ai 5.4s linear infinite}
  .credit-in-view .pen-and {animation-name:credit-trace-and}
  .credit-in-view .pen-last {animation-name:credit-trace-last}
}
@keyframes credit-trace-ai {
  0% {stroke-dashoffset:1; opacity:1}
  18%, 32% {stroke-dashoffset:0; opacity:1}
  39%, 100% {stroke-dashoffset:0; opacity:0}
}
@keyframes credit-trace-and {
  0%, 32% {stroke-dashoffset:1; opacity:0}
  32.1% {opacity:1}
  59%, 72% {stroke-dashoffset:0; opacity:1}
  79%, 100% {stroke-dashoffset:0; opacity:0}
}
@keyframes credit-trace-last {
  0%, 72% {stroke-dashoffset:1; opacity:0}
  72.1% {opacity:1}
  80%, 94% {stroke-dashoffset:0; opacity:1}
  100% {stroke-dashoffset:0; opacity:0}
}
@media(max-width:760px) {
  .mast-in {min-height:65px}
  .mast .brand>.kehilla-mark {width:130px;height:32px}
  .hero-body {padding-block:2.8rem 3.25rem;gap:2.45rem}
  .hero h1 {font-size:clamp(3.06rem,13.3vw,5.6rem);margin-block:.9rem 1rem}
  .facts-in {padding-block:1rem}
  .facts-in>div {gap:clamp(.45rem,2vw,.65rem)}
  .facts strong {font-size:2.15rem}
  .gallery-track {grid-auto-columns:80%}
  .gallery-foot {flex-wrap:wrap}
  .neighborhood-note {grid-template-columns:1fr;gap:1.45rem;padding:1.35rem}
  .note-image {order:2;max-width:490px;justify-self:center;transform:rotate(-1deg)}
  .org-heading {display:block}
  .org-heading>p {margin-top:.8rem}
  .logo-list {grid-template-columns:repeat(2,minmax(0,1fr))}
  .logo-list li {padding:1.05rem .65rem .9rem}
  .logo-list img {height:58px;max-width:116px}
  .foot-in {gap:.6rem 1.15rem;padding-block:1.6rem}
  .foot-in .brand {margin-bottom:.15rem}
}
@media(max-width:420px) {
  .hero-ctas .btn {padding-inline:.85rem}
  .tab-bar {gap:.25rem}
  .dir-tab {font-size:.85rem;padding-inline:.65rem}
}
@media(max-width:355px) {
  .mast .brand>.kehilla-mark {width:112px;height:28px}
  .hero-ctas {column-gap:.8rem}
  .dir-tab {font-size:.8rem;padding-inline:.5rem}
}

/* On touch and narrow layouts the menu floats above the bottom safe area. */
:root {
  --menu-size: 3rem;
  --menu-inset: clamp(.875rem, 2vw, 1.5rem);
  --menu-right: calc(var(--menu-inset) + env(safe-area-inset-right, 0px));
  --menu-bottom: calc(var(--menu-inset) + env(safe-area-inset-bottom, 0px));
}
.floating-menu {
  position: fixed; z-index: 42; right: var(--menu-right); bottom: var(--menu-bottom);
}
.floating-menu > summary {
  display: grid; place-items: center; width: var(--menu-size); height: var(--menu-size);
  list-style: none; cursor: pointer; border-radius: 50%; background: var(--ink); color: var(--paper);
  border: 1px solid rgb(255 255 255 / 25%); box-shadow: 0 3px 14px rgb(34 62 50 / 24%);
}
.floating-menu > summary::-webkit-details-marker {display: none}
.floating-menu > summary:hover, .floating-menu[open] > summary {background: var(--deep)}
.menu-glyph {display: grid; gap: 4px}
.menu-glyph i {display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor}
.floating-menu[open] .menu-glyph i:first-child {transform: translateY(6px) rotate(45deg)}
.floating-menu[open] .menu-glyph i:nth-child(2) {opacity: 0}
.floating-menu[open] .menu-glyph i:last-child {transform: translateY(-6px) rotate(-45deg)}
.floating-menu nav {
  position: absolute; right: 0; bottom: calc(100% + .65rem);
  width: min(18rem, calc(100vw - var(--menu-right) - 1rem));
  max-height: calc(100dvh - var(--menu-bottom) - var(--menu-size) - 1.5rem - env(safe-area-inset-top, 0px));
  overflow: auto; overscroll-behavior: contain; padding: .4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: .75rem;
  box-shadow: 0 .4rem 1.8rem rgb(34 62 50 / 16%);
}
.floating-menu nav button {width: 100%; border: 0; background: transparent; text-align: start}
.floating-menu nav :is(a, button) {
  display: flex; align-items: center; min-height: 44px; padding: .55rem .8rem;
  border-radius: .4rem; text-decoration: none; font-weight: 550; line-height: 1.35;
}
.floating-menu nav :is(a, button):is(:hover, :focus-visible) {background: var(--sand)}
.floating-menu nav :is(a, button):focus-visible {outline-offset: -2px}

/* The photographic frames and wordmark carry through the sections. */
.mast.is-scrolled {box-shadow:0 5px 25px -13px #34433650}
.hero-line {display:block}
.kehilla-mark img {filter:drop-shadow(0 2px 3px #a38e5d22)}
.hero-image,.photo-open>img {filter:saturate(.96)}
.guide-photo {
  width:fit-content;max-width:100%;padding:.55rem .55rem 0;background:#fbfaf2;
  box-shadow:0 16px 36px -26px #39483490,0 0 0 1px #ccd2bf;
}
.guide-photo img {max-width:clamp(15rem,31vw,26rem)}
@media(prefers-reduced-motion:no-preference) {
  .dir-panel:not([hidden]) {animation:menu-arrive .19s ease-out}
}
@keyframes menu-arrive {from{opacity:.68;transform:translateY(3px)}to{opacity:1;transform:none}}

/* Let a group portrait take more space than a candid, like prints on the same shelf. */
.gallery-track {
  --print-height:clamp(148px,15.2vw,232px);
  display:flex;align-items:flex-start;
}
.snapshot {
  flex:0 0 auto;
  width:clamp(9rem,calc(var(--photo-ratio) * var(--print-height)),calc(100% - 1rem));
}
.photo-open {background:#eae7da}
.photo-open>img {
  width:100%;height:var(--print-height);aspect-ratio:auto;object-fit:contain;
}
@media(max-width:760px) {
  .gallery-track {--print-height:clamp(123px,36vw,195px)}
  .snapshot {min-width:7.8rem}
}

/* A section starts with its heading. Leave the space around the type open. */
.hero h1,.section-head h2,.work h2,.visit h2,.org-heading h2,.note-copy h3{margin-top:0}
.hero h1{margin-bottom:1.55rem}
.photo-open{cursor:grab}
.section-head>p,.org-heading>p{flex-shrink:0}
.org-heading h2{font-size:clamp(2.4rem,3.5vw,3.8rem)}
.visit-in{grid-template-columns:1.3fr .7fr;gap:clamp(3rem,8vw,8rem)}
.visit-contact{align-self:center}
.visit-contact h3{font:400 clamp(1.7rem,2.2vw,2.35rem)/1.2 var(--serif);letter-spacing:-.035em}
.visit-contact .visit-actions{margin-top:.8rem;gap:1rem}
.visit-email{margin-top:.85rem}
@media(max-width:760px){.hero h1{margin-bottom:1.2rem}.visit-in{grid-template-columns:1fr;gap:1.8rem}.visit-contact{padding-top:1.1rem}.org-heading>p,.section-head>p{margin-top:1rem}}

/* The tree and name form one compact, transparent masthead. */
.brand,.mast .brand {gap:.32rem}
.brand-tree {width:2.47rem;height:2.47rem;flex:none;color:#345343}
.brand>span {font:400 1.99rem/.83 var(--serif);letter-spacing:-.064em}
.brand small {font-size:.56rem;letter-spacing:.24em;margin:.43rem 0 0 .13rem}
.mast .brand::before {content:none}
footer .brand {min-height:45px}

.postcard picture,.postcard .hero-image {display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.gallery-track {align-items:flex-start;--album-height:clamp(10rem,15vw,14.5rem);gap:clamp(1rem,1.6vw,1.65rem)}
.snapshot {--print-size:1;width:clamp(5.5rem,calc(var(--photo-ratio) * var(--album-height) * var(--print-size)),min(36rem,87%));min-width:0}
.snapshot:nth-child(3n + 2) {--print-size:1.12}
.snapshot:nth-child(4n) {--print-size:.93}
.snapshot .photo-open {width:100%;height:auto;background:transparent;border:0;box-shadow:0 6px 14px -10px #3d483a55}
.gallery-track .snapshot .photo-open>img {display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;background:transparent}
.note-image img,.work-photo img {display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.guide-photo {background:transparent;box-shadow:none;padding:0}
.guide-photo>img {box-shadow:0 8px 24px -20px #3d483a80}
.logo-list,.logo-list li {background:none;border:0;border-radius:0;box-shadow:none}
.logo-list {column-gap:clamp(1.2rem,3.8vw,4rem);row-gap:.6rem;overflow:visible}
.logo-list li {padding:1rem .3rem;align-content:start}
.logo-list img {mix-blend-mode:normal}
@media(max-width:760px){.mast .brand-tree,.brand-tree{width:2rem;height:2rem}.brand>span,.mast .brand>span{font-size:1.65rem}.mast .brand,.brand{gap:.24rem}.brand small{font-size:.47rem;letter-spacing:.24em}.gallery-track{--album-height:clamp(8.8rem,36vw,12rem)}.snapshot{min-width:0}.logo-list{column-gap:1.15rem;row-gap:.2rem}}
@media(max-width:380px){.mast .brand-tree{width:1.76rem;height:1.76rem}.mast .brand>span{font-size:1.5rem}}

/* Size the place name to the available measure, including narrow phones. */
.hero-copy {container-type:inline-size;min-width:0}
.hero h1 {font-size:inherit;line-height:1;letter-spacing:normal;margin:0 0 clamp(1.2rem,2.1vw,2rem)}
.hero .invitation-line {font:400 clamp(2rem,3.6vw,3.8rem)/1.07 var(--serif);letter-spacing:-.052em;color:#4e5a49}
.hero .town-name {display:block;width:fit-content;white-space:nowrap;font:400 clamp(3.8rem,8.7vw,9.4rem)/.98 var(--serif);letter-spacing:-.064em;color:#1f493a;margin:.05em 0 0 -.027em}
@supports(font-size:1cqw){.hero .town-name {font-size:clamp(3rem,23.5cqw,9.6rem)}.hero .invitation-line{font-size:clamp(1.8rem,8.5cqw,3.7rem)}}
.town-period{color:#995e40}
.hero-album {container-type:inline-size;min-width:0;width:100%;--cover-ratio:1.36045}
.album-stage {display:grid;align-items:center;justify-items:center;min-width:0;touch-action:pan-y pinch-zoom}
.hero-album .postcard-wrap {width:96%;max-width:none;margin:0}
@supports(width:1cqw){
  .album-stage {--print-height:calc((96cqw - 24px) / 1.36045);height:calc(var(--print-height) + clamp(4.65rem,6.8cqw,5.6rem) + 1.4rem)}
  .album-stage .postcard-wrap {width:min(96%,calc(var(--print-height) * var(--cover-ratio) + 22px))}
}
@media(max-width:760px){
 .hero .town-name{margin-top:.06em}
 .hero-album{width:min(100%,36rem);justify-self:center}
 .album-stage{--print-height:calc((96cqw - 16px) / 1.36045);height:calc(var(--print-height) + 4.1rem)}
}

/* The masthead, welcome and facts share one viewport. The facts stay in the document flow. */
:root{--mast-height:77px}
.opening{
  --screen-height:100vh;
  --available:calc(var(--screen-height) - var(--mast-height));
  display:grid;grid-template-rows:minmax(0,1fr) auto;block-size:var(--available);
}
@supports(height:100dvh){.opening{--screen-height:100dvh}}
.opening .hero{display:grid;min-height:0}
.opening .hero-body{
  block-size:100%;min-height:0;grid-template-rows:minmax(0,1fr);
  padding-block:clamp(.7rem,3.3vh,2.9rem);
}
.opening .hero-album{
  align-self:center;justify-self:center;display:grid;grid-template-rows:minmax(0,1fr);
  width:100%;height:100%;min-height:0;max-height:min(100%,calc(39vw + 4rem),47rem);
  --mat:clamp(.45rem,.75vw,.9rem);
}
.opening .album-stage{
  height:100%;min-height:0;width:100%;container-type:size;
  align-items:center;justify-items:center;
}
@supports(width:1cqh){
  .opening .album-stage .postcard-wrap{
    --art-height:max(1px,calc(100cqh - var(--mat) * 2 - 1.25rem));
    width:min(95cqw,calc(var(--art-height) * var(--cover-ratio) + var(--mat) * 2));
  }
}
.opening .postcard{padding:var(--mat)}

.cover-photo {display:block;min-height:0;cursor:grab}
.opening .facts-in{padding-block:clamp(.7rem,2.4vh,1.6rem)}
@media(max-width:760px){
  :root{--mast-height:66px}
  .opening .hero-body{
    grid-template-rows:auto minmax(0,1fr);align-items:center;
    row-gap:clamp(.4rem,1.6vh,1.25rem);padding-block:clamp(.55rem,1.8vh,1.6rem);
  }
  .opening .hero-album{width:min(100%,36rem);max-height:min(100%,32rem);--mat:.45rem}
  .opening .facts-in{padding-block:clamp(.5rem,1.5vh,1rem)}
  .opening .hero h1{margin-bottom:clamp(.55rem,1.7vh,1.15rem)}
  .opening .hero-ctas{margin-top:clamp(.55rem,1.7vh,1.15rem)}
}
@media(max-width:760px) and (max-height:730px){
  .mast-in{min-height:56px}
  .opening .dek{font-size:1rem;line-height:1.42}
  .opening .hero .town-name{font-size:clamp(3.25rem,min(21.8cqw,11vh),5.8rem)}
  .opening .hero .invitation-line{font-size:clamp(1.65rem,min(7.7cqw,4.7vh),2.4rem)}
  .opening .facts strong{font-size:1.8rem}
  .opening .facts p{font-size:.74rem;line-height:1.32}
  .opening .hero-ctas{gap:.2rem .8rem}
  .opening .hero-ctas .btn,.opening .hero-ctas .text-link{font-size:.85rem}

}
@media(min-width:540px) and (max-height:530px){
  .mast-in{min-height:48px}.mast .brand{min-height:42px}
  .opening .hero-body{grid-template-columns:.96fr 1.04fr;grid-template-rows:minmax(0,1fr);column-gap:1.25rem;padding-block:.24rem}
  .opening .hero .town-name{font-size:clamp(2.5rem,min(21.5cqw,16vh),5rem)}
  .opening .hero .invitation-line{font-size:clamp(1.25rem,5.8vh,2.1rem)}
  .opening .hero h1{margin-bottom:.3rem}
  .opening .dek{font-size:.96rem;line-height:1.32}
  .opening .hero-ctas{margin-top:.28rem;gap:.25rem .65rem}
  .opening .hero-ctas .btn,.opening .hero-ctas .text-link{font-size:.82rem}
  .opening .hero-ctas .btn{padding:.42rem .7rem}
  .opening .hero-album{max-height:100%;--mat:.3rem}
  .opening .facts-in{padding-block:.35rem}
  .opening .facts-in>div{display:flex;justify-content:center;align-items:center;gap:.65rem;text-align:left}
  .opening .facts strong{font-size:1.7rem}
  .opening .facts p{font-size:.73rem;line-height:1.2}
}
@media(max-width:539px) and (max-height:530px) and (orientation:landscape),(max-height:315px) and (orientation:landscape){
  /* On extremely short screens the photo album follows the first-screen facts. */
  .opening{block-size:auto;grid-template-columns:100%;grid-template-rows:minmax(min-content,calc(var(--available) - var(--facts-height,4rem))) auto auto;background:var(--paper)}
  .opening .hero,.opening .hero-body{display:contents}
  .opening .hero-copy{grid-row:1;padding:.65rem var(--gutter);align-self:center}
  .opening .facts{grid-row:2}
  .opening .hero-album{grid-row:3;box-sizing:border-box;height:auto;aspect-ratio:1.22;width:min(95%,30rem);max-height:none;padding:.65rem .6rem;justify-self:center}
}
/* Reserve the masthead and the complete facts row, then give the album
   the remaining space. The small viewport includes expanded browser chrome. */
@media (max-width:760px) and (orientation:portrait) {
  .opening {
    --first-screen:100vh;
    block-size:auto;
    min-block-size:calc(var(--first-screen) - var(--mast-height));
    grid-template-rows:1fr auto;
  }
  @supports(height:100svh){.opening{--first-screen:100svh}}
  .opening .hero-body {
    display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr);height:auto;
    --top-space:clamp(1.8rem,5.5svh,3.4rem);
    --bottom-space:clamp(.6rem,2.2svh,1.65rem);
    --photo-gap:clamp(.55rem,2svh,1.5rem);
    padding:var(--top-space) clamp(1.25rem,6vw,2.5rem) var(--bottom-space);
    gap:var(--photo-gap);
  }
  .opening .hero-copy {width:100%}
  .opening .dek {line-height:1.44}
  .opening .hero h1 {margin-bottom:clamp(.45rem,1.4svh,.95rem)}
  .opening .hero-album {display:block;width:min(100%,36rem);height:auto;max-height:none}
  .opening .album-stage {
    --photo-room:calc(var(--first-screen) - var(--mast-height) - var(--intro-height,12rem)
      - var(--facts-height,6rem) - var(--top-space) - var(--bottom-space) - var(--photo-gap));
    height:max(5.5rem,var(--photo-room));
  }
  .opening .facts-in {padding-block:clamp(.55rem,1.65svh,1.1rem)}
  .community-stories:has(> #community) {padding-block-start:clamp(3rem,9vw,4.25rem)}
}

/* One complete photograph per slide, including the unscripted scrolling strip. */
.gallery-track {
  display:flex;
  gap:0;
  padding:0;
  align-items:stretch;
  scrollbar-width:none;
}
.gallery-track::-webkit-scrollbar {display:none}
.gallery-track .snapshot {flex:0 0 100%;width:100%;min-width:0}
.gallery-track .photo-open {
  display:grid;
  place-items:center;
  height:clamp(12rem,56vw,27rem);
  background:#f2efe5;
  box-shadow:none;
}
.gallery-track .snapshot .photo-open > img {
  width:100%;height:100%;min-height:0;
  object-fit:contain;transform:none;
}
.gallery-track:has(.snapshot:only-child), .lightbox-body {touch-action:pan-y pinch-zoom}
.lightbox-body {overflow:hidden}
.guide-photo {padding-bottom:.55rem}
@media screen and (prefers-reduced-motion:no-preference) {
  .reveal-pending {opacity:0}
  .reveal-pending:focus-within {opacity:1}
  .reveal-shown {animation:section-reveal .78s cubic-bezier(.18,.7,.22,1) backwards}
  .reveal-shown:has(:target), .reveal-shown:target {animation: none}
  .facts-in > :nth-child(2).reveal-shown {animation-delay:80ms}
  .facts-in > :nth-child(3).reveal-shown {animation-delay:160ms}
  .logo-list > :nth-child(even).reveal-shown {animation-delay:70ms}
  .gallery-track.reveal-shown, .note-image.reveal-shown, .work-photo.reveal-shown,
  .guide-photo.reveal-shown {animation-name:photo-reveal;animation-duration:.95s}
}
@keyframes section-reveal {
  from {opacity:0;translate:0 1.6rem}
  to {opacity:var(--reveal-opacity, 1);translate:0 0}
}
@keyframes photo-reveal {
  from {opacity:0;translate:0 1rem;clip-path:inset(0 0 72% 0)}
  to {opacity:1;translate:0 0;clip-path:inset(-3% -3% -3% -3%)}
}

/* The native scrollport is separate from the paper mount. Each photograph has
   its own mount while the space reserved for the album stays the same. */
.swipe-track {
  position:relative;display:flex;align-items:stretch;min-width:0;width:100%;height:100%;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
  touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;overflow-anchor:none;
  -webkit-user-select:none;user-select:none;
}
.swipe-track::-webkit-scrollbar {display:none}
.swipe-track.is-dragging {scroll-snap-type:none;cursor:grabbing}
.swipe-slide {
  box-sizing:border-box;flex:0 0 100%;min-width:0;min-height:0;
  display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;
  scroll-snap-align:center;scroll-snap-stop:always;
}
.swipe-track img {-webkit-user-drag:none}
.opening .album-stage {
  --seal-size:clamp(3rem,6vw,4.6rem);
  display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);
  touch-action:auto;
}
.opening .album-stage .postcard-wrap {
  --paper-clearance:clamp(.85rem,2.5cqw,1.6rem);
  --image-room:calc(100cqh - var(--seal-size) * .5 - var(--paper-clearance) - 2 * var(--mat));
  width:94%;height:auto;translate:0 calc(-.25 * var(--seal-size));
  width:min(calc(100cqw - var(--paper-clearance)),calc(var(--image-room) * var(--cover-ratio) + 2 * var(--mat)));
}
@media (max-width:760px) and (orientation:portrait) {
  .opening .hero-album {width:calc(100% + clamp(.75rem,4vw,1.75rem))}
  .opening .hero-copy h1 {margin-bottom:0}
  .opening .album-stage {--mat:clamp(.3rem,1.4vw,.45rem)}
}
.opening .postcard {display:block;height:auto;padding:var(--mat)}
.opening .postcard picture,.opening .postcard .hero-image {display:block;width:100%;height:auto;aspect-ratio:auto}

.gallery-track.has-slides {display:block;overflow:visible;touch-action:auto}
.gallery-track .swipe-track {height:clamp(12rem,56vw,27rem)}
.gallery-track .swipe-slide {width:100%}
.gallery-track .swipe-slide .photo-open {width:100%;height:100%}
.gallery-track .swipe-slide .photo-open img {width:100%;height:100%;object-fit:contain}
.lightbox-body.has-slides {touch-action:auto}
.lightbox-body .swipe-track {height:min(65dvh,660px)}
.lightbox-body .swipe-slide > img {display:block;width:100%;height:100%;object-fit:contain}

/* The original seal artwork is printed once across the edge of the paper. */
.opening .postcard .postal-mark {
  position:absolute;right:1%;bottom:0;display:block;pointer-events:none;
  width:calc(var(--seal-size) * 1.575);height:auto;
  transform:translateY(50%) rotate(-8deg);
}
.community-film {width:min(100%,56rem);margin:clamp(2rem,5vw,4rem) auto 0}
.community-film figcaption {margin-bottom:.75rem;color:var(--ink);font:400 clamp(1.65rem,3.4vw,2.7rem)/1.1 var(--serif)}
.community-film video {display:block;width:100%;height:auto;aspect-ratio:16/9;background:#25382d;border-radius:3px}
@media (max-width:760px) and (max-height:600px) and (orientation:portrait) {
  .mast-in {min-height:48px}
  .mast .brand {min-height:44px}
  .opening .hero-body {--top-space:clamp(1.4rem,4.5svh,1.8rem);--bottom-space:.5rem;--photo-gap:.45rem}
  .opening .hero .invitation-line {font-size:clamp(1.35rem,6.7cqw,1.8rem)}
  .opening .hero .town-name {font-size:clamp(2.8rem,18.5cqw,3.85rem)}
  .opening .hero h1 {margin-bottom:.45rem}
  .opening .dek {font-size:1rem;line-height:1.33}
  .opening .facts-in {padding:.45rem .6rem}
  .opening .facts p br {display:none}
  .opening .album-stage {--seal-size:2.5rem}
}

.opening .postcard .hero-image {aspect-ratio:var(--cover-ratio);object-fit:contain}
.opening .photo-stack {
  position:relative;isolation:isolate;touch-action:pan-y pinch-zoom;
  overflow:clip;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;
}
.opening .photo-stack .postcard-wrap {
  grid-area:1 / 1;--paper-clearance:clamp(1.75rem,4.8cqw,2.8rem);
  transform-origin:center;will-change:transform;pointer-events:none;
}
.opening .photo-stack .postcard-wrap[aria-hidden="false"] {pointer-events:auto}
.opening .photo-stack .postcard-wrap::before {content:none}
.opening .photo-stack.is-settling .postcard-wrap {transition:transform 225ms cubic-bezier(.2,.72,.22,1), opacity 165ms ease-out}
.photo-stack .cover-photo {cursor:grab;touch-action:pan-y pinch-zoom}
.photo-stack .cover-photo:active {cursor:grabbing}
.photo-stack .postcard, .photo-stack .postcard picture {border-radius:clamp(5px,.8vw,12px)}
.photo-stack img {-webkit-user-drag:none}

:root {
  --notice-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --notice-ink: #171919;
}
.welcome-notice {
  position:fixed;z-index:40;inset-inline:0;top:calc(env(safe-area-inset-top,0px) + 7px);
  width:min(calc(100% - 18px),25rem);margin:auto;pointer-events:none;
  font-family:var(--notice-font);
}
.notice-card {
  position:relative;
  width:100%;min-height:67px;display:flex;align-items:center;gap:12px;
  padding:12px 15px;text-align:left;color:var(--notice-ink);border:1px solid #ffffffa6;
  border-radius:23px;background:rgb(241 242 241 / 93%);pointer-events:auto;touch-action:none;
  box-shadow:0 7px 25px #1e29232b,0 1px 4px #26322d14;
  -webkit-backdrop-filter:blur(22px) saturate(155%);backdrop-filter:blur(22px) saturate(155%);
  -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;
}
.notice-icon {
  flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;
  background:linear-gradient(#74e975,#28b94d);box-shadow:inset 0 0 0 1px #0000000a;
}
.notice-icon svg {width:31px;fill:white}
.notice-copy {min-width:0;flex:1;display:grid;gap:3px}
.notice-title {font-size:15px;line-height:1.2;font-weight:650;letter-spacing:-.015em}
.notice-text, .footer-tagline {font:400 14px/1.26 var(--notice-font);color:var(--notice-ink)}
.notice-open {position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}
.notice-open:focus-visible {outline:2px solid currentColor;outline-offset:2px}
.notice-dismiss {position:relative;display:none}
.notice-time {align-self:flex-start;margin-top:2px;color:#606568;font-size:12px}
@media(prefers-reduced-motion:reduce){.opening .photo-stack.is-settling .postcard-wrap{transition:none}}

@media (min-width:961px), (min-width:761px) and (min-height:501px) {
  .welcome-notice {display:none}
}

.dir-item summary {gap:.8rem}
.directory-mark {width:2.75rem;height:2.5rem;object-fit:contain;flex:none;mix-blend-mode:multiply}
.directory-name {flex:1;min-width:0}

.opening .photo-stack .postcard-wrap {--paper-clearance:clamp(2.6rem,7cqw,4rem)}
.photo-stack .stack-stamp {
  position:absolute;left:50%;top:50%;z-index:5;pointer-events:none;
  width:calc(var(--seal-size) * 1.575);height:auto;
  translate:0 calc(-.25 * var(--seal-size));
  transform:translate(calc(var(--stamp-x) - 100%),calc(var(--photo-half-height) - 50%)) rotate(-8deg);
}
.photo-stack .album-dots {
  position:absolute;inset-inline:0;bottom:.5rem;z-index:5;
  display:flex;align-items:center;justify-content:center;gap:5px;pointer-events:none;
}
.album-dots > span {width:5px;height:5px;border-radius:50%;background:#a9a9a9}
.album-dots > .is-current {background:#515151}
.photo-stack.is-settling .stack-stamp {transition:transform 225ms cubic-bezier(.2,.72,.22,1)}
@media (prefers-reduced-motion:reduce) {
  .photo-stack.is-settling .stack-stamp {transition:none}
}
.directory-logo-link {display:flex;align-items:center;min-height:44px}
.directory-link {display:inline-block;margin-top:.6rem;font-weight:600;text-underline-offset:.22em}
.logo-list li:has(> a) {padding:0;align-items:stretch}
.logo-list li > a {
  display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;
  gap:.85rem;padding:1rem .3rem;color:inherit;text-decoration:none;
}
.logo-list a:is(:hover,:focus-visible) span {text-decoration:underline;text-underline-offset:.22em}

/* The desktop sections share a content edge and a spacing scale. */
@media (min-width: 761px) {
  :root {
    --desktop-gutter: clamp(1.75rem, 4.25vw, 4.5rem);
    --desktop-gap: clamp(1.75rem, 3.75vw, 3.75rem);
    --section-space: clamp(3.25rem, 5.1vw, 5rem);
    --content-width: 78rem;
    --editorial-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  }

  .wrap {
    width: min(100%, calc(var(--content-width) + 2 * var(--desktop-gutter)));
    padding-inline: var(--desktop-gutter);
  }
  .mast-in {min-height: clamp(4rem, 5vw, 4.75rem)}
  .opening .hero-body {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    column-gap: var(--desktop-gap);
  }
  .opening .hero-copy {max-width: none}
  .opening .hero h1 {margin: 0}
  .opening .hero-album {max-height: min(100%, 43rem)}
  .opening .facts-in {padding-block: clamp(.85rem, 1.8vh, 1.25rem)}
  .section {padding-block: var(--section-space)}

  .community-stories > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(1.75rem, 2.8vw, 2.75rem) var(--desktop-gap);
  }
  .community-film {width: 100%; min-width: 0; margin: 0}
  .community-film figcaption {font-size: clamp(1.65rem, 2.6vw, 2.55rem)}
  .community-stories .neighborhood-note {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 2.1vw, 2rem);
    margin: 0;
    padding: clamp(1.35rem, 2.7vw, 2.8rem);
  }
  .note-copy h3 {font-size: clamp(2.1rem, 3.3vw, 3.2rem)}

  .section-head, .org-heading {
    display: grid;
    grid-template-columns: var(--editorial-columns);
    align-items: end;
    gap: var(--desktop-gap);
    margin-bottom: clamp(1.5rem, 2.7vw, 2.6rem);
  }
  .section-head > p, .org-heading > p {max-width: 39ch; margin: 0}
  .section-head h2, .work h2, .visit h2 {font-size: clamp(2.8rem, 4.4vw, 4.65rem)}
  .guide-grid, .work-in, .visit-in {
    grid-template-columns: var(--editorial-columns);
    column-gap: var(--desktop-gap);
  }
  .guide-photo {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .guide-photo > img, .guide-photo > img[src*="preschool-group"] {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 31rem;
    margin: 0 auto;
  }
  .guide-photo > img[src*="preschool-group"] {aspect-ratio: 518 / 800; width: min(100%, 20.07rem)}
  .organizations {margin-top: var(--section-space); padding-top: clamp(2rem, 3.5vw, 3.4rem)}
  .logo-list {gap: .6rem clamp(1rem, 2.2vw, 2rem)}
  .work-in {align-items: start}
  .work-photo {width: min(100%, 24rem); margin-top: 1.35rem}
  .work-photo img {aspect-ratio: 1086 / 1448}
  .visit-in {align-items: center}
  .visit-contact {padding-inline-start: clamp(1.25rem, 2.6vw, 2.6rem); border-inline-start: 1px solid #ffffff40}
  .foot-in {min-height: 5rem; gap: clamp(.85rem, 1.9vw, 1.9rem)}
}

@media (min-width: 1200px) {
  .logo-list {grid-template-columns: repeat(5, minmax(0, 1fr))}
}

@media (min-width: 761px) and (max-width: 960px) {
  .opening .facts-in > div {gap: .9rem}
  .community-stories > .wrap {grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)}
  .guide-grid, .guide .section-head {grid-template-columns: minmax(0, .8fr) minmax(0, 1fr)}
  .logo-list {grid-template-columns: repeat(3, minmax(0, 1fr))}
  .work-in {grid-template-columns: minmax(0, .78fr) minmax(0, 1fr)}
  .foot-in {gap: .85rem}
  .foot-in > a:not(.brand) {font-size: .84rem}
}

:root {--pinstripe-ink: rgb(101 85 57 / 4.5%)}
:is(.hero, .facts, .community-stories) {
  position: relative;
  isolation: isolate;
}
.mast::before,
:is(.hero, .facts, .community-stories)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--pinstripe-ink) 0 1.5px, transparent 1.5px 56px);
}
.community-stories::before {
  mask-image: linear-gradient(to bottom, black, transparent min(100%, 100vh));
}
.mast::before {opacity: var(--mast-pinstripe-opacity, 1)}
.visit {position: relative; isolation: isolate}
.visit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 0 auto auto;
  width: min(46%, 40rem);
  max-height: 100%;
  aspect-ratio: 534 / 480;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("assets/learning-partners.webp") center / cover no-repeat;
  opacity: .12;
  mask-image: linear-gradient(to right, transparent 0%, black 72%),
    linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
  mask-composite: intersect;
}
.typed-words {display: none}
.footer-tagline {container-type: inline-size}
.tagline-line, .tagline-words {display: inline-block}
.tagline-line {
  position: relative;
  max-width: 100%;
  font-size: clamp(1.0625rem, calc(.75rem + 1.8vw), 2rem);
  font-size: clamp(1.0625rem, calc(.75rem + 2cqi), 2rem);
  text-wrap: balance;
}
.publication-indicator {display: block; width: .9em; height: .9em; flex: none}

/* Use the wide layout with a desktop pointer. Keep the touch layout in either orientation. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  :root {
    --content-width: 70rem;
    --desktop-gutter: clamp(2rem, 4.8vw, 5rem);
    --section-space: clamp(4.25rem, 6.5vw, 6.5rem);
    --desktop-breathing-room: clamp(1.4rem, 2.4vw, 2.25rem);
    --extra-section-gap: clamp(1rem, 1.7vw, 1.75rem);
    --copy-gap: clamp(1.15rem, 1.65vw, 1.65rem);
    --heading-gap: clamp(1.6rem, 2.2vw, 2.25rem);
    --group-gap: clamp(2.2rem, 3.25vw, 3.5rem);
  }
  .visit h2 {margin-bottom: calc(1.1rem + var(--extra-section-gap))}
  .visit.section {padding-bottom: calc(var(--section-space) + var(--desktop-breathing-room) + var(--extra-section-gap))}
  .mast-in {min-height: clamp(5.25rem, 7.2vw, 6.75rem)}
  .mast-in > .floating-menu {position: relative; inset: auto; flex: none; margin-inline-start: auto}
  .mast-in > .floating-menu nav {
    top: calc(100% + .5rem); bottom: auto;
    max-height: calc(100dvh - var(--mast-height) - 1rem);
  }
  .mast .brand {gap: .5rem}
  .mast .brand-tree {width: clamp(3rem, 3.9vw, 3.65rem); height: auto}
  .mast .brand > span {font-size: clamp(2.35rem, 3vw, 2.9rem)}
  .mast .brand small {font-size: .65rem; margin-top: .55rem}
  .organizations {border-top: 0}
  .community-stories, .visit {padding-block: calc(var(--section-space) + var(--desktop-breathing-room))}
  .community-stories {padding-block-start: calc(var(--section-space) + var(--desktop-breathing-room) + var(--extra-section-gap))}
  .guide {padding-block-end: calc(var(--section-space) + var(--desktop-breathing-room))}
  .welcome-notice:not([hidden]) {
    display: block;
    --notice-inset: clamp(1.25rem, 2vw, 2rem);
    inset: auto var(--notice-inset) var(--notice-inset) auto;
    width: min(24rem, calc(100vw - 2 * var(--notice-inset)));
    margin: 0;
  }
  .notice-dismiss {
    flex: none;
    align-self: flex-start;
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    border-radius: .3rem;
    background: transparent;
    color: #586258;
    font: 1.25rem/1 Arial, sans-serif;
    cursor: pointer;
  }
  .notice-dismiss:is(:hover, :focus-visible) {background: #e8eddf}

  .community-stories > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "yeshiva" "welcome" "kollel";
    gap: calc(clamp(1.75rem, 3.2vw, 3rem) + var(--desktop-breathing-room) + var(--extra-section-gap)) clamp(1.25rem, 2.5vw, 2.25rem);
    reading-flow: grid-rows;
  }
  #kollel-film {grid-area: kollel}
  #yeshiva-ktana-film {grid-area: yeshiva}
  .community-film {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
    align-items: center;
    column-gap: var(--desktop-gap);
  }
  #yeshiva-ktana-film {
    grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
    grid-template-areas: "video caption";
  }
  #yeshiva-ktana-film > video {grid-area: video}
  #yeshiva-ktana-film > figcaption {grid-area: caption}
  .community-film figcaption {
    margin: 0;
    font-size: clamp(1.65rem, 2.65vw, 2.65rem);
    text-wrap: balance;
  }
  .community-stories .neighborhood-note {
    grid-area: welcome;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "letter photograph";
    align-items: center;
    column-gap: inherit;
    padding: clamp(1.5rem, 3vw, 2.75rem);
  }
  .neighborhood-note .note-copy {grid-area: letter; max-width: 61ch}
  .neighborhood-note .note-copy h3 {
    font-size: clamp(1.9rem, 2.9vw, 2.85rem);
    margin-bottom: var(--heading-gap);
  }
  .neighborhood-note .note-copy p {line-height: 1.85; margin: 0}
  .neighborhood-note .note-copy p + p {margin-top: var(--copy-gap)}
  .neighborhood-note .note-image {
    grid-area: photograph;
    transform: none;
    width: 100%;
    max-width: none;
    padding: clamp(.55rem, 1vw, .95rem);
    background: #fffaf0;
    border: .3rem solid #70503b;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px #d9cbb4, 0 8px 14px -8px #59463266;
  }

  /* Angled rear prints and their shadows extend past the slideshow's own box. */
  .opening .hero-album {--cover-ratio: 1.05133; --postmark-offset: clamp(.75rem, 1.4vw, 1.25rem)}
  .opening .stack-stamp, .opening .postcard .postal-mark {width: calc(var(--seal-size) * 1.8)}
  .opening .stack-stamp {translate: var(--postmark-offset) calc(-.25 * var(--seal-size))}
  .opening .postcard .postal-mark {right: calc(1% - var(--postmark-offset))}
  .opening .photo-stack {overflow: visible}
  .opening .photo-stack .postcard-wrap {--paper-clearance: clamp(3rem, 10cqw, 5.25rem)}

  .guide.section, .work.section {
    padding-block: calc(var(--section-space) + var(--desktop-breathing-room) + clamp(1rem, 2vw, 2rem));
  }
  .guide .section-head, .guide-grid, .work-in {display: block}
  .guide .section-head {margin-bottom: var(--group-gap)}
  .guide .section-head h2, .work-info h2 {
    font: 400 clamp(2.4rem, 3.75vw, 4rem)/1.06 var(--serif);
    letter-spacing: -.055em;
    text-wrap: balance;
    margin: 0;
  }
  .work-photo {display: none}
  .guide .section-head > p, .work-info > p {margin: var(--heading-gap) 0 0}
  .work-info > p {margin-bottom: var(--group-gap)}
  .tab-bar {gap: .65rem; margin-bottom: var(--heading-gap)}
  .dir-item summary, .work-item summary {padding-block: var(--copy-gap)}
  .dir-item p, .work-item > div {padding-block: .4rem var(--heading-gap)}
  .dir-item p, .work-info p, .work-item dd {line-height: 1.8}
  .directory-link {margin-top: var(--copy-gap)}
  .work-item p {margin-bottom: var(--copy-gap)}
  .work-links {gap: .9rem 1.8rem; margin-top: var(--heading-gap)}
  .job-fields > div + div {margin-top: var(--copy-gap)}
  .job-fields dd {margin-top: .4rem}
  .contact-list {margin-block: .9rem var(--copy-gap)}
  .contact-list li {padding-block: .48rem}
  .guide .section-head > p, .dir-item p, .work-info p, .work-info dd {
    max-width: 90ch;
    text-align: justify;
    hyphens: auto;
  }
  .work-info, .guide .section-head {padding-top: 0}
  main > .organizations {
    margin: 0;
    padding-block: var(--section-space) calc(var(--section-space) + var(--desktop-breathing-room));
    padding-inline: max(var(--desktop-gutter), calc((100% - var(--content-width)) / 2));
    background: #f1f1e7;
  }
  .org-heading {
    display: block;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: calc(clamp(1.5rem, 2.7vw, 2.6rem) + var(--desktop-breathing-room) + var(--extra-section-gap));
  }

  .visit-in {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: var(--desktop-gap);
  }
  .visit-copy > p:not(.eyebrow) {max-width: 61ch; text-wrap: pretty}
  .visit-contact {justify-self: end; padding: 0; border: 0}
  .visit-email {overflow-wrap: anywhere}

  .foot-in {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
    padding-block: clamp(2rem, 3.5vw, 3.5rem) 0;
  }
  .foot-in .brand {margin-inline-end: auto}
  .foot-in > a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem clamp(.9rem, 1.7vw, 1.6rem);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    border: 0;
  }
  .foot-in > a[target="_blank"] + a[target="_blank"] {
    border-inline-start: 1px solid #d5d2bf;
    padding-inline-end: 0;
  }
  .publication-type {text-transform: capitalize}
  .footer-tagline {
    display: block;
    margin: clamp(1.6rem, 3vw, 2.8rem) clamp(.75rem, 1.8vw, 2rem) 0;
    text-align: center;
  }
  footer .studio-credit {
    margin-block-start: clamp(2.9rem, 4.5vw, 4.5rem);
    padding-bottom: 2rem;
  }

}

@media (prefers-reduced-motion: no-preference) {
  .footer-tagline[data-typing="playing"] .tagline-words {opacity: 0}
  .footer-tagline[data-typing="playing"] .typed-words {
    display: inline-block;
    position: absolute;
    inset: 0;
  }
  .typed-words .typing-cursor {
    box-shadow: 1px 0 currentColor;
    animation: tagline-caret .6s step-end infinite;
  }
  @keyframes tagline-caret {50% {box-shadow: 1px 0 transparent}}
}

/* Narrow and touch layouts keep the compact masthead and swipeable photo album. */
@media not all and (min-width: 761px) and (hover: hover) and (pointer: fine) {
  :root {--pinstripe-ink: rgb(101 85 57 / 3.5%); --anchor-obstruction: var(--notice-bottom, 0px)}
  .mast::before {content: none}
  .mast:has(.floating-menu) {-webkit-backdrop-filter: none; backdrop-filter: none}
  .opening .hero-album {--cover-ratio: calc(750 / 337)}
  .community-stories.section {padding-top: clamp(4.6rem, 11vw, 6rem)}
  .community-stories > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 8vw, 3.75rem);
  }
  .community-film {display: flex; flex-direction: column; gap: .6rem; width: 100%; max-width: 50rem; margin: 0 auto}
  .community-film video {order: -1}
  .community-film figcaption {margin: 0; font-size: clamp(1.4rem, 4.7vw, 1.8rem)}
  .community-stories .neighborhood-note {
    grid-area: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    margin: 0;
    padding: clamp(1.15rem, 5vw, 2rem);
  }
  .neighborhood-note .note-image {
    order: 0;
    width: 100%;
    max-width: 32rem;
    justify-self: center;
    transform: none;
    padding: .35rem;
    border: 3px solid #70503b;
    border-radius: 2px;
    background: #fffaf0;
    box-shadow: inset 0 0 0 1px #d9cbb4, 0 5px 12px -8px #59463266;
  }
  .note-copy h3 {margin: 0 0 1rem}
  .note-copy p:not(.eyebrow) {line-height: 1.75; margin: 0}
  .note-copy p + p:not(.eyebrow) {margin-top: 1rem}

  .guide-grid, .work-in, .guide .section-head {display: block}
  .guide .section-head {margin-bottom: 1.75rem}
  .guide .section-head h2, .work-info h2, .org-heading h2 {
    font: 400 clamp(2.25rem, 8.5vw, 3.4rem)/1.06 var(--serif);
    letter-spacing: -.05em; text-wrap: balance; margin: 0;
  }
  .guide .section-head > p, .work-info > p {margin: 1.2rem 0 1.65rem}
  .work-photo {width: min(100%, 28rem); margin: 0 auto 1.75rem}
  .tab-bar {margin-bottom: 1.25rem}
  .dir-tab {display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-height: 44px}
  .dir-item summary, .work-item summary {min-height: 48px; padding-block: 1.25rem}
  .dir-item p, .work-item p, .work-item dd {line-height: 1.7}
  .directory-link {display: inline-flex; align-items: center; min-height: 44px; margin-top: .6rem}
  .work-item > div {padding-bottom: 1.4rem}
  .work-links a, .contact-list a {display: inline-flex; align-items: center; min-height: 44px}
  .job-fields > div + div {margin-top: 1.1rem}
  main > .organizations {margin: 0; border: 0; padding: clamp(3rem, 9vw, 5rem) var(--gutter); background: #f1f1e7}
  .org-heading {display: block; margin: 0 0 1.75rem; text-align: center}
  .visit-in {display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; text-align: center}
  .visit-copy > p:not(.eyebrow) {margin-inline: auto; text-wrap: pretty}
  .visit-contact {padding: 0; border: 0}
  .visit-contact .visit-actions {justify-content: center; margin-top: .1rem}
  .visit-contact .visit-email, .visit-contact .call-link {display: inline-flex; align-items: center; min-height: 44px}
  .visit-email {margin-top: .35rem; overflow-wrap: anywhere}
  .visit::before {width: min(80%, 27rem); opacity: .09}

  .foot-in {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch; gap: 0;
    padding: 1.5rem max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left));
  }
  .foot-in .brand {grid-column: 1 / -1; justify-self: start; margin: 0 0 1rem}
  .foot-in > a[target="_blank"] {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 48px; padding: .4rem .6rem; text-align: center;
    font-size: .9375rem; line-height: 1.3;
  }
  .foot-in > a[target="_blank"] + a[target="_blank"] {border-inline-start: 1px solid #d5d2bf}
  .footer-tagline {margin: 1.9rem max(1.5rem, 6vw) 0; text-align: center}
  footer .studio-credit {margin-top: 2.25rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom))}
}

/* Contact options keep the site's paper, ink and serif heading. */
.contact-trigger, .contact-channels button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .6rem 1.15rem; border: 1px solid #9aa893;
  border-radius: .4rem; background: transparent; color: var(--ink); font: 550 1rem/1.25 var(--sans);
}
.contact-trigger:is(:hover,:focus-visible), .contact-channels button:is(:hover,:focus-visible,[aria-expanded="true"]) {background: #eaf0e5}
.contact-group {display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0}
.contact-inline {background: none; padding: 0; border: 0; color: inherit; text-decoration: underline; text-underline-offset: .19em}
.visit .contact-trigger {background: var(--paper); border-color: var(--paper); color: var(--ink)}
.visit .contact-group {justify-content: center}
.logo-list li:has(> .org-contact) {padding: 0; align-items: stretch}
.logo-list .org-contact {display: flex; flex: 1; width: 100%; flex-direction: column; justify-content: center; align-items: center; gap: .85rem; padding: 1rem .3rem; border: 0; color: inherit; background: transparent; font: inherit}
.org-contact:is(:hover,:focus-visible) span {text-decoration: underline; text-underline-offset: .22em}
#contact-dialog {
  position: fixed; inset: var(--contact-top, 0px) auto auto var(--contact-left, 0px);
  width: var(--contact-width, 100%); height: 100vh; height: var(--contact-height, 100dvh);
  max-width: none; max-height: none; margin: 0; border: 0; background: transparent; color: var(--ink);
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  overflow: hidden;
}
#contact-dialog[open] {display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center}
#contact-dialog::backdrop {background: rgb(21 35 28 / .46)}
.contact-card {
  position: relative; width: min(100%, 26rem); max-height: 100%; min-height: 0; overflow: auto;
  overscroll-behavior: contain; padding: 2.5rem clamp(1.2rem, 4vw, 2.4rem) 2rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: .8rem;
  box-shadow: 0 14px 50px #172c212e;
}
.contact-close {position: absolute; top: .25rem; right: .25rem; width: 44px; height: 44px; background: none; border: 0; font: 1.55rem/1 var(--sans)}
.contact-card h2 {font: 400 2.25rem/1.08 var(--serif); letter-spacing: -.04em; text-align: center; margin: 0}
#contact-recipient {margin: .45rem 0 0; text-align: center; color: var(--muted)}
.contact-channels {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin-top: 1.6rem}
.contact-channels button {padding-inline: .4rem}
.contact-channels svg {width: 1.15rem; height: 1.15rem; flex: none}
[data-channel="whatsapp"] svg {color: #29734a}
#contact-availability, #contact-call {font-size: .95rem; margin: 1rem 0 0}
#contact-call:not([hidden]) {display: inline-flex; align-items: center; min-height: 44px}
#contact-email-form:not([hidden]) {display: grid; gap: .9rem; margin-top: 1.1rem}
#contact-email-form label {display: block; font-size: .95rem}
#contact-email-form label span {color: var(--muted)}
#contact-email-form :is(input,textarea) {display: block; width: 100%; margin-top: .3rem; font-family: var(--sans); line-height: 1.4; color: var(--ink); border: 1px solid #a7b19f; background: #fff; border-radius: .35rem; padding: .6rem}
#contact-email-form textarea {resize: vertical}
#contact-email-form button:disabled {opacity: .55; cursor: default}
@media (max-width: 760px), (pointer: coarse) {
  #contact-dialog[open] {align-items: start}
  .contact-card {padding-block: 1.9rem 1.25rem}
}

.logo-list li.org-name-only {
  justify-content: center;
  align-content: center;
}
.logo-list .org-name-only > span {
  max-width: 12ch;
  color: var(--ink);
  font: 600 1.2rem/1.2 var(--serif);
}

.neighborhood-atlas {position: relative; width: 100%; max-width: 32rem; margin: 0 auto}
.atlas-surface {position: relative; width: 100%; aspect-ratio: 500 / 480; isolation: isolate; font-family: var(--sans)}
.atlas-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  --edge-fade: 11%;
  mask-image:
    linear-gradient(to right, transparent, black var(--edge-fade), black calc(100% - var(--edge-fade)), transparent),
    linear-gradient(to bottom, transparent, black var(--edge-fade), black calc(100% - var(--edge-fade)), transparent);
  mask-composite: intersect;
}
.atlas-pins {position: absolute; inset: 0; pointer-events: none}
.atlas-pins > .atlas-pin {pointer-events: auto; z-index: 4}
.atlas-symbols {position: absolute; width: 0; height: 0; overflow: hidden}
.atlas-journey {position: absolute; inset: 0; pointer-events: none}
.journey-arc {position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible}
.journey-arc path {
  fill: none; stroke: var(--route-ink); stroke-width: 1.8; stroke-linecap: round;
  vector-effect: non-scaling-stroke; stroke-opacity: .75;
}
.journey-label {
  position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: .28em; width: max-content; white-space: nowrap;
  padding: .2rem .4rem; border-radius: .35rem; color: var(--route-ink);
  font: 650 .94rem/1.16 var(--sans);
}
.journey-label::before {
  content: ""; position: absolute; z-index: -1; inset: 1px 2px; border-radius: inherit;
  background: rgb(250 247 239 / 94%); filter: blur(2.5px);
}
.trip-mode-icon {
  width: 1.13em; height: 1.13em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .routes-animated .journey-arc path {stroke-dasharray: 1}
  .routes-animated:not(.routes-in-view) .journey-arc path {stroke-dashoffset: 1}
  .routes-animated:not(.routes-in-view) .journey-label {opacity: 0}
  .routes-in-view .journey-arc path {animation: atlas-draw 2.8s ease-in-out var(--delay) both}
  .routes-in-view .journey-label {animation: atlas-label .65s ease-out calc(var(--delay) + 1.3s) both}
}
@keyframes atlas-draw {from {stroke-dashoffset: 1} to {stroke-dashoffset: 0}}
@keyframes atlas-label {from {opacity: 0} to {opacity: 1}}
@media (forced-colors: active) {
  .journey-arc path, .trip-mode-icon {stroke: CanvasText}
  .journey-label {background: Canvas}
  .journey-label::before {display: none}
}
@media (max-width: 760px) {
  .atlas-surface {min-height: 27rem; margin-top: 1.75rem}
  .journey-label {padding: .15rem .25rem}
}
/* Preserve the geographic registration inside the wider desktop artwork. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .neighborhood-atlas {max-width: 64rem}
  .atlas-surface {aspect-ratio: 1024 / 568; min-height: 28rem}
  .atlas-pins {inset: calc(100% * 44 / 568) calc(100% * 262 / 1024)}
}
.atlas-pin {position: absolute; left: var(--x); top: var(--y); transform: translate(-.3rem, -50%); display: inline-flex; align-items: center; gap: .35rem; min-height: 1.6rem; white-space: nowrap; text-decoration: none; color: #893d31; border-radius: .25rem}
.atlas-pin::before {content:""; width:.6rem; height:.6rem; box-sizing:border-box; border:1px solid #faf7ef; border-radius:50%; background:#893d31}
.atlas-name {font: 600 clamp(.70rem, 1.4vw, .82rem)/1.1 var(--sans); text-transform: uppercase; letter-spacing: .065em; text-shadow: 0 0 4px #faf7ef, 0 0 3px #faf7ef; background: rgb(250 247 239 / .8)}
.atlas-pin:hover .atlas-name, .atlas-pin:focus-visible .atlas-name {text-decoration: underline; text-underline-offset: .2em}
.atlas-pin:focus-visible {outline: 2px solid #893d31; outline-offset: 2px}
.atlas-north {position: absolute; inset: auto auto 6% 6%; display: grid; justify-items: center; gap: .12rem; color: #625d4e; font: 600 .65rem/1 var(--sans)}
.atlas-north::before {content: ""; border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 10px solid #655d4e}
@media (min-width: 761px) {
  section.local-guide {padding-block: clamp(2rem, 4vw, 3.75rem)}
  section.local-guide > .wrap {display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(.75rem, 1.2vw, 1.25rem)}
  #neighborhoods {
    margin: 0;
    font-size: clamp(2.4rem, 3.75vw, 4rem);
    line-height: 1.06;
    letter-spacing: -.055em;
    text-align: center;
  }
  .guide.section:has(+ .local-guide) {padding-bottom: clamp(2rem, 3.5vw, 3.5rem)}
  .local-guide + .work.section {padding-top: clamp(2rem, 3.5vw, 3.5rem)}
}

.local-guide h2{margin-bottom:1.1rem}.local-guide .work-item p,.local-guide article p{max-width:70ch;line-height:1.6}.local-guide a{text-underline-offset:.2em}.area-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:1rem;margin:1rem 0 2rem}.area-cards article{padding:.8rem 1rem;border-left:2px solid #9bad9c;scroll-margin-top:6rem}.area-cards article:target{background:#edf3ed}.area-cards h3{margin-top:0}

#inquiry-context,.inquiry-form label span,#inquiry-feedback {color:var(--muted)}
#inquiry-context {margin:.55rem 0 1.15rem;text-align:center}
.inquiry-form {display:grid;gap:.85rem}
.inquiry-form label {display:grid;gap:.3rem;font:500 1rem/1.35 var(--sans)}
.inquiry-form label span {display:contents;font-weight:400}
.inquiry-form :is(input,textarea) {width:100%;font:400 1rem/1.4 var(--sans);color:var(--ink);background:white;border:1px solid #a7b19f;border-radius:.4rem;padding:.62rem .7rem}
.inquiry-form textarea {resize:vertical}
.inquiry-send {border:0;border-radius:.4rem;background:#234d3c;color:white;padding:.68rem 1rem;font:600 1rem/1.4 var(--sans);min-height:44px}
.inquiry-send:disabled {opacity:.65}
#inquiry-feedback {margin:.8rem 0 0;font-size:.95rem}
#inquiry-feedback:empty {display:none}
#inquiry-pane {margin-top:1.1rem}
#inquiry-context:empty {display:none}
.inquiry-extras {padding:0;border:0;background:transparent}
.inquiry-extras summary {display:flex;align-items:center;gap:.32rem;min-height:44px;padding:0;font:500 1rem/1.35 var(--sans);color:var(--ink);cursor:pointer}
.inquiry-form:not([hidden]) .inquiry-extras summary::before {content:"+";width:1em;color:var(--muted);font-weight:600}
.inquiry-extras[open] summary::before {content:"−"}
.inquiry-extras summary span {color:var(--muted);font-weight:400}
.inquiry-extras label + label {margin-top:.65rem}
#inquiry-done {width:100%;margin-top:1rem}
#inquiry-pane:has(#inquiry-done:not([hidden])) {text-align:center}
