/* Concept D — the directory at the end of the walk-in, and the inner pages. Plain, structured, no scroll effects. */
.site { position: fixed; }
#nav a[aria-current="page"] { background: rgba(242,235,223,.1); }
#nav .cta[aria-current="page"] { background: rgba(214,176,107,.16); }
main :is(a, button):focus-visible, .tile:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
[id] { scroll-margin-top: 92px; }
#programs { scroll-margin-top: 0; }   /* its own top padding clears the header; matches where home.js puts it */

/* ---------- the directory ---------- */
.directory { padding: 104px 0 56px; }
.dir-head { margin-bottom: 36px; }
.dir-head h2 { font: 400 clamp(38px, 4.8vw, 66px)/1.02 var(--f-disp); margin: 10px 0 0; letter-spacing: -.01em; outline: 0; }
.dir-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fbf7ef; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,24,21,.06), 0 8px 24px -10px rgba(27,24,21,.22); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27,24,21,.06), 0 18px 40px -14px rgba(27,24,21,.32); }
.tile-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--night-2); }
.tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-text { display: grid; gap: 6px; padding: 16px 18px 18px; }
.tile-kind { display: block; margin: 0; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut-p); }
.tile-kind.forming { color: var(--brick); }
.tile-kind.on-dark { color: var(--mut-n); }
.tile-kind.on-dark.forming { color: var(--brass); }
.tile-name { display: flex; justify-content: space-between; gap: 12px; font: 700 23px/1.15 var(--f-serif); letter-spacing: -.005em; }
.tile-go { font: 400 18px/1.4 var(--f-body); transition: transform .2s var(--ease); }
.tile:hover .tile-go { transform: translateX(4px); }
.tile-line { font-size: 15px; line-height: 1.4; color: var(--mut-p); }
.dir-more { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--ink); }
.dir-more h3 { margin: 0 0 10px; }
.more-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-decoration: none; }
.more-row b { font: 700 19px/1.25 var(--f-serif); }
.more-row span { grid-row: 2; font-size: 14.5px; color: var(--mut-p); }
.more-row i { grid-row: 1; grid-column: 2; font-style: normal; }
.more-row:hover b { text-decoration: underline; text-underline-offset: 3px; }
.more-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more-names a { display: block; padding: 7px 13px; border: 1px solid var(--line-p); border-radius: 999px; font-size: 14.5px; text-decoration: none; }
.more-names a:hover { border-color: var(--ink); }
.dir-note { margin: 24px 0 0; font: 400 11.5px var(--f-mono); color: var(--mut-p); }
.next-steps { background: var(--night-2); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.next-grid a { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 30px 24px; text-decoration: none; }
.next-grid a:first-child { padding-left: 0; }
.next-grid a + a { border-left: 1px solid var(--line-n); }
.next-grid b { font: 700 24px/1.12 var(--f-serif); }
.next-grid span { grid-row: 2; font-size: 14.5px; color: var(--mut-n); }
.next-grid i { font-style: normal; color: var(--brass); }
.next-grid a:hover b { color: var(--brass); }

/* ---------- inner page head ---------- */
.page-head { padding: 136px 0 56px; }
.page-head h1 { font: 400 clamp(44px, 6.4vw, 92px)/1 var(--f-disp); margin: 12px 0 16px; letter-spacing: -.01em; }
.lede { max-width: 58ch; font-size: clamp(17px, 1.5vw, 20px); color: #d4c9b6; margin: 0; }

/* ---------- Our Work ---------- */
.work-group { padding: 72px 0; border-top: 1px solid var(--line-p); }
.work-group:first-child { border-top: 0; }
.group-head { margin-bottom: 32px; max-width: 62ch; }
.group-head h2 { font: 400 clamp(32px, 3.6vw, 48px)/1.05 var(--f-disp); margin: 8px 0 10px; }
.group-head > p:last-child { margin: 0; color: #3d372e; }
.work-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.work-row { display: grid; grid-template-columns: 42% 1fr; gap: 20px; align-items: center; }
.work-media { display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--night-2); position: relative; }
.work-media img, .work-media .art { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-row h3 { font: 700 25px/1.12 var(--f-serif); margin: 6px 0 8px; }
.work-row h3 a { text-decoration: none; }
.work-row h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.work-hook { margin: 0 0 10px; font-size: 15.5px; line-height: 1.45; color: #3d372e; }
.work-go { font-weight: 600; font-size: 14.5px; }
.nb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nb-list li { padding-top: 14px; border-top: 1px solid var(--ink); font-size: 15px; line-height: 1.45; }
.nb-list h3 { font: 700 21px/1.15 var(--f-serif); margin: 6px 0 8px; }
.nb-list p { margin: 0 0 8px; }
.nb-list .tile-kind { margin: 0; }
.nb-not { color: var(--mut-p); font-size: 14px; }

/* ---------- one program ---------- */
.prog-hero { padding: 112px 0 56px; }
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--mut-n); }
.crumb a { color: var(--paper); }
.prog-hero h1 { font: 400 clamp(38px, 4.8vw, 68px)/1.03 var(--f-disp); margin: 10px 0 14px; letter-spacing: -.01em; }
.prog-hook { margin: 0 0 26px; font: 400 clamp(18px, 1.7vw, 22px)/1.4 var(--f-serif); color: #ddd2bf; }
.prog-hero .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.prog-media { margin: 0; }
.prog-media img, .prog-media .art { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; position: relative; }
.prog-media figcaption { margin-top: 8px; font: 400 11.5px/1.5 var(--f-mono); color: var(--mut-n); }
.prog-body, .prog-know, .prog-cal, .impact-rules, .impact-prog { padding: 60px 0; }
.prog-know, .prog-cal, .impact-prog { border-top: 1px solid var(--line-p); }
.prog-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.paper h2 { font-weight: 400; }
.prog-cols h2, .cal-row-head h2 { font: 700 28px/1.12 var(--f-serif); margin: 0 0 12px; }
.prog-cols p { margin: 0 0 10px; max-width: 54ch; }
.prog-desc { font-size: 18px; }
.prog-parts { margin: 0; border-top: 1px solid var(--ink); }
.prog-parts div { padding: 14px 0; border-bottom: 1px solid var(--line-p); }
.prog-parts dt { font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut-p); margin-bottom: 4px; }
.prog-parts dd { margin: 0; }
.cal-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 16px; }
.cal-row-head h2 { margin: 0; }
.tag-ill { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 8px; border: 1px solid var(--line-p); border-radius: 999px; font: 500 10.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut-p); }
.cal-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.cal-rows li { display: grid; grid-template-columns: 210px 1fr auto; gap: 6px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-p); }
.cal-rows a { font: 400 20px/1.25 var(--f-serif); text-decoration: none; }
.cal-rows a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cal-rows li.off a { text-decoration: line-through; }
.cal-when { font: 500 12px var(--f-mono); color: var(--mut-p); }
.cal-where { font-size: 14px; color: var(--mut-p); }
.prog-others { padding: 44px 0 56px; }
.prog-others h2 { margin: 0 0 14px; }
.prog-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prog-others a { display: block; padding: 8px 14px; border: 1px solid var(--line-n); border-radius: 999px; font-size: 14.5px; text-decoration: none; }
.prog-others a:hover { border-color: var(--paper); }

/* ---------- Community, History and Support use their original sections, as page tops ---------- */
.outside .lead { font: 400 clamp(38px, 5.2vw, 72px)/1.04 var(--f-disp); }
.history2 .tl2-head h1 { font: 400 clamp(40px, 5.4vw, 80px)/1 var(--f-disp); margin: 12px 0 14px; max-width: 16ch; letter-spacing: -.01em; }
.history2 .tl2-head { padding-top: 136px; }
.future h1 { font: 400 clamp(40px, 5.2vw, 76px)/1 var(--f-disp); margin: 12px 0 14px; max-width: 18ch; }
.lens-h { font: 400 clamp(30px, 3.4vw, 44px)/1.05 var(--f-disp); margin: 64px 0 20px; }
.lenses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lenses > li { padding-top: 14px; border-top: 1px solid var(--ink); }
.lenses h3 { font: 700 21px/1.15 var(--f-serif); margin: 0 0 8px; }
.lenses p { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: #3d372e; }
.lenses ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14.5px; }
.contact-ph { margin-top: 10px !important; font: 400 13px var(--f-mono); color: var(--mut-p); }

/* ---------- Impact ---------- */
.impact-rules ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.impact-rules li { padding: 14px 0; border-bottom: 1px solid var(--line-p); }
.muted-p { color: var(--mut-p); font-size: 15px; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ledger > li { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line-p); }
.led-main h3 { font: 400 22px/1.2 var(--f-serif); margin: 0 0 6px; }
.led-main p { margin: 0; font-size: 15px; line-height: 1.45; color: #3d372e; }
.led-val b { display: block; font: 700 22px/1.15 var(--f-serif); }
.led-val span { font: 500 11px/1.4 var(--f-mono); color: var(--mut-p); letter-spacing: .06em; }
.led-val:not(.has) b { color: var(--mut-p); }
.led-meta { margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.led-meta div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; }
.led-meta dt { color: var(--mut-p); }
.led-meta dd { margin: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1040px) {
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .work-list { grid-template-columns: 1fr; }
  .nb-list, .lenses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .directory { padding: 88px 0 44px; }
  .dir-more, .prog-grid, .prog-cols { grid-template-columns: 1fr; gap: 20px; }
  .dir-grid { grid-template-columns: 1fr; gap: 14px; }
  .next-grid { grid-template-columns: 1fr; }
  .next-grid a, .next-grid a:first-child { padding: 22px 0; }
  .next-grid a + a { border-left: 0; border-top: 1px solid var(--line-n); }
  .page-head { padding: 104px 0 40px; }
  .work-group { padding: 52px 0; }
  .nb-list, .lenses { grid-template-columns: 1fr; }
  .prog-hero { padding: 92px 0 40px; }
  .prog-grid { gap: 28px; }
  .prog-body, .prog-know, .prog-cal, .impact-rules, .impact-prog { padding: 44px 0; }
  .cal-rows li { grid-template-columns: 1fr; }
  .ledger > li { grid-template-columns: 1fr; gap: 12px; }
  .history2 .tl2-head { padding-top: 104px; }
}

/* ---------- Our mission: one line, between the walk-in and the tiles ---------- */
.mission { background: var(--night); padding: 76px 0 80px; text-align: center; border-top: 1px solid var(--line-n); }
.mission .k { margin: 0 0 18px; color: var(--brass); }
.mission p { margin: 0 auto; max-width: 30ch; font: 400 clamp(28px, 3.5vw, 50px)/1.15 var(--f-disp); letter-spacing: -.005em; color: var(--paper); text-wrap: balance; }
@media (max-width: 720px) { .mission { padding: 56px 0 60px; } }
/* entrance: as it comes into view the label lights, a brass rule draws out, and the words rise into place one after another */
.mission .k { opacity: 0; letter-spacing: .4em; transition: opacity .8s ease, letter-spacing 1.2s cubic-bezier(.2,.7,.2,1); }
.mission .k::after { content: ""; display: block; width: 56px; height: 1px; margin: 14px auto 0; background: var(--brass); transform: scaleX(0); transition: transform .9s .35s cubic-bezier(.6,0,.2,1); }
.mission p .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .7s, transform .9s cubic-bezier(.2,.7,.2,1), filter .8s; transition-delay: calc(.45s + var(--w) * 70ms); }
.mission.in .k { opacity: 1; letter-spacing: .16em; }
.mission.in .k::after { transform: none; }
.mission.in p .w { opacity: 1; transform: none; filter: none; }
.static .mission .k, .static .mission p .w { opacity: 1; transform: none; filter: none; letter-spacing: .16em; transition: none; }
.static .mission .k::after { transform: none; transition: none; }

/* Community & Campus: the neighbors inside the building, before the walk outside */
.on-campus { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-p); }
.on-campus + .walk { margin-top: 64px; }

/* ---------- footer: compact. A row of facts, one rail of doors to the program sites, one line of address ---------- */
.ft { background: #0c0a09; border-top: 1px solid var(--line-n); padding: 40px 0 26px; color: var(--mut-n); font-size: 14px; }
.ft-top { padding-bottom: 26px; border-bottom: 1px solid var(--line-n); }
.ft-top .mark { font-size: 22px; color: var(--paper); white-space: nowrap; }
.ft-mission { margin: 8px 0 0; max-width: 64ch; font-size: 15px; line-height: 1.5; color: #d4c9b6; }
.ft-doors { padding: 30px 0 6px; }
.ft-doors > .k { margin: 0 0 22px; }

/* the rail: LightWorks, then a door for each site; the brass line runs out to the one you choose */
.ft-rail { --to: 0; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(calc(var(--n) + 1), 1fr); }
.ft-rail::before, .ft-fill { content: ""; position: absolute; left: 7px; top: 6px; height: 2px; width: calc((100% - 100% / (var(--n) + 1))); background: var(--line-n); }
.ft-fill { background: linear-gradient(90deg, var(--brass-2), var(--brass)); transform-origin: left; transform: scaleX(var(--to)); transition: transform .55s cubic-bezier(.6,0,.2,1); box-shadow: 0 0 12px rgba(214,176,107,.55); }
.ft-stop { position: relative; z-index: 1; }
.ft-stop.is-here { display: grid; gap: 4px; align-content: start; }
.ft-dot { all: unset; cursor: pointer; display: grid; gap: 4px; padding-right: 12px; }
.ft-pin { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #0c0a09; border: 2px solid rgba(242,235,223,.45); box-sizing: border-box; transition: background .3s .25s, border-color .3s .25s, box-shadow .4s .25s, transform .3s var(--ease); margin-bottom: 8px; }
.ft-pin::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--brass); opacity: 0; }
.ft-name { font: 700 17px/1.15 var(--f-serif); color: var(--paper); transition: color .3s .2s; }
.ft-sub { font: 400 11.5px/1.3 var(--f-mono); color: #8d826f; transition: color .3s .2s; }
.is-here .ft-pin { background: var(--brass); border-color: var(--brass); }
.is-here .ft-sub { color: var(--brass); }
.ft-dot:hover .ft-pin, .ft-dot:focus-visible .ft-pin { transform: scale(1.25); border-color: var(--brass); box-shadow: 0 0 0 6px rgba(214,176,107,.12); }
.ft-dot:hover .ft-name { color: #fff; }
.ft-dot:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; border-radius: 6px; }
/* chosen: it lights as the line arrives, and a ring goes out from it */
.ft-stop.on .ft-pin { background: var(--brass); border-color: var(--brass); transform: scale(1.3); box-shadow: 0 0 0 6px rgba(214,176,107,.16), 0 0 26px 4px rgba(214,176,107,.6); }
.ft-stop.on .ft-pin::after { animation: ft-ring 1.1s .4s ease-out both; }
.ft-stop.on .ft-name { color: var(--brass); }
.ft-stop.on .ft-sub { color: var(--paper); }
@keyframes ft-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
/* until someone chooses, the doors take turns to glow, an invitation */
.ft-rail:not(.touched) .ft-dot .ft-pin { animation: ft-beckon 7s calc(var(--i) * .5s + 1s) infinite; }
@keyframes ft-beckon { 0%, 12%, 100% { border-color: rgba(242,235,223,.45); box-shadow: none; } 6% { border-color: var(--brass); box-shadow: 0 0 14px 2px rgba(214,176,107,.45); } }

/* the doorway: opens beneath, lit from the chosen dot; its lines come in one after another */
.ft-door { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.6,0,.2,1); }
.ft-door-in { overflow: hidden; min-height: 0; }
.is-open .ft-door { grid-template-rows: 1fr; }
.ft-dd { position: relative; margin-top: 22px; padding: 24px 26px 24px; border: 1px solid rgba(214,176,107,.28); border-radius: 14px;
  background: radial-gradient(420px 220px at var(--x, 40px) 0, rgba(214,176,107,.2), transparent 70%), #13100d; }
.ft-dd::before { content: ""; position: absolute; top: -7px; left: calc(var(--x, 40px) - 6px); width: 12px; height: 12px; background: #13100d; border-left: 1px solid rgba(214,176,107,.28); border-top: 1px solid rgba(214,176,107,.28); transform: rotate(45deg); }
.ft-dd > * { margin: 0; animation: ft-rise .55s cubic-bezier(.2,.7,.2,1) both; }
.ft-dd > :nth-child(1) { animation-delay: .25s; } .ft-dd > :nth-child(2) { animation-delay: .32s; } .ft-dd > :nth-child(3) { animation-delay: .4s; } .ft-dd > :nth-child(4) { animation-delay: .5s; }
@keyframes ft-rise { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.ft-dd-k { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.ft-dd-name { font: 700 clamp(24px, 2.76vw, 35px)/1.12 var(--f-serif); color: var(--paper); margin-top: 6px !important; }
.ft-dd-line { max-width: 56ch; margin-top: 8px !important; font-size: 15.5px; color: #d4c9b6; }
.ft-dd-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px !important; }
.ft-dd-go a { color: var(--paper); }
.ft-enter { display: inline-flex; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--brass); color: var(--night) !important; font-weight: 600; text-decoration: none; box-shadow: 0 0 0 0 rgba(214,176,107,.5); animation: ft-rise .55s .5s cubic-bezier(.2,.7,.2,1) both, ft-glow 2.4s 1.2s ease-in-out 2; }
.ft-enter:hover { background: #e2c07f; }
@keyframes ft-glow { 50% { box-shadow: 0 0 0 8px rgba(214,176,107,0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(214,176,107,.45); } }

.ft-base { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-n); font-size: 14px; }
.ft-base p, .ft-base address { margin: 0; font-style: normal; }
.ft-base address { color: var(--paper); }
.ft-contact { color: var(--brass); font-weight: 500; text-decoration: none; }
.ft-contact:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-legalname { margin-left: auto !important; font-size: 13px; }
.ft-proto { flex-basis: 100%; font: 400 11px/1.5 var(--f-mono); color: #8d826f; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-n); font-size: 12.5px; }
.ft-legal nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ft-legal a, .ft-pc { color: var(--mut-n); text-decoration: none; }
.ft-pc { all: unset; cursor: pointer; color: var(--mut-n); }
.ft-pc:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.ft-pc:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 3px; }
.ft-legal a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.ft-legal p { margin: 0; }
@media (max-width: 720px) {
  .ft-name { font-size: 13.5px; } .ft-sub { display: none; } .is-here .ft-name { display: none; } .is-here .ft-sub { display: block; font-size: 10px; }
    .ft-dot { padding-right: 6px; }
  .ft-dd { padding: 20px; }
  .ft-legalname { margin-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-pin, .ft-fill, .ft-door, .ft-name { transition: none; }
  .ft-rail .ft-pin, .ft-rail .ft-pin::after, .ft-dd > *, .ft-enter { animation: none !important; }
}

/* the tiles rise in as they scroll into view (home.js adds .reveal, then .in per tile); each photo settles from a slight zoom */
.dir-grid.reveal > li { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.dir-grid.reveal > li .tile-media img { transform: scale(1.14); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.dir-grid.reveal > li.in { opacity: 1; transform: none; }
.dir-grid.reveal > li.in .tile-media img { transform: none; }
.static .dir-grid.reveal > li, .static .dir-grid.reveal > li .tile-media img { opacity: 1; transform: none; transition: none; }

/* ---------- Privacy choices panel (privacy.js): a quiet card over the corner of the page, not a modal ---------- */
.pc-host { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(400px, calc(100vw - 40px)); }
.pc-panel { background: #15120f; color: var(--paper); border: 1px solid rgba(214,176,107,.3); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); font-size: 14.5px; line-height: 1.5; animation: ft-rise .4s cubic-bezier(.2,.7,.2,1) both; }
.pc-title { font: 700 24px/1.12 var(--f-serif); margin: 0 0 8px; outline: 0; }
.pc-state { margin: 0 0 12px; color: #d4c9b6; }
.pc-state a { color: var(--paper); }
.pc-purpose { padding: 12px 0; border-top: 1px solid var(--line-n); }
.pc-purpose-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-purpose-label { font-weight: 600; }
.pc-always { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut-n); }
.pc-note { margin: 4px 0 0; font-size: 13.5px; color: var(--mut-n); }
.pc-note-state { color: var(--brass); margin: 0 0 10px; }
.pc-switch { all: unset; cursor: pointer; position: relative; width: 42px; height: 24px; border-radius: 999px; background: rgba(242,235,223,.2); transition: background .2s; flex: none; }
.pc-switch[aria-checked="true"] { background: var(--brass); }
.pc-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); transition: transform .2s var(--ease); }
.pc-switch[aria-checked="true"] .pc-knob { transform: translateX(18px); }
.pc-switch:focus-visible, .pc-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.pc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pc-actions { display: flex; gap: 10px; margin-top: 14px; }
.pc-btn { font: 600 14px var(--f-body); padding: 10px 16px; border-radius: 999px; border: 1px solid transparent; background: var(--brass); color: var(--night); cursor: pointer; }
.pc-btn.pc-quiet { background: none; border-color: var(--line-n); color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .pc-panel { animation: none; } .pc-switch, .pc-knob { transition: none; } }

.policy-ph { color: var(--mut-p); font-family: var(--f-mono); font-size: 13.5px; }
.paper .policy-btn { border-color: var(--line-p); color: var(--ink); cursor: pointer; font-family: var(--f-body); background: none; }
.paper .policy-btn:hover { border-color: var(--ink); }

/* a floor label's "Coming soon" line (front.js FLOOR_INFO) */
.fl-soon { display: block; margin-top: 8px; }
.fl-soon b { font-weight: 600; }

/* a program's beliefs, in its own words (LightHouse) */
.prog-beliefs h2 { font: 700 28px/1.12 var(--f-serif); margin: 0 0 18px; }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; counter-reset: b; }
.beliefs li { counter-increment: b; padding: 16px 0; border-top: 1px solid var(--ink); font: 400 21px/1.3 var(--f-serif); }
.beliefs li::before { content: "0" counter(b); display: block; margin-bottom: 8px; font: 500 11px var(--f-mono); letter-spacing: .12em; color: var(--brick); }
.beliefs-credit { margin: 18px 0 0; font-size: 13.5px; color: var(--mut-p); }
@media (max-width: 1040px) { .beliefs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .beliefs { grid-template-columns: 1fr; } .beliefs li { font-size: 19px; } }
/* History: the opening fills the first screen; the timeline starts below it */
.history2 .tl2-head { min-height: 100vh; min-height: 100svh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 60px; }
@media (max-width: 760px) { .history2 .tl2-head { padding-top: 96px; } }
/* History: scrolling settles gently on each dot, lining it up with the reading line (55% down the screen) */
html:has(.history2) { scroll-snap-type: y proximity; }
.history2 .tl2-head { scroll-snap-align: start; }
.tl2-ev { scroll-snap-align: start; scroll-margin-top: calc(55vh - 50px); }
.tl2-era { scroll-snap-align: start; scroll-margin-top: calc(55vh - 81px); }
@media (max-width: 760px) {
  .tl2-ev { scroll-margin-top: calc(55vh - 42px); }
  .tl2-era { scroll-margin-top: calc(55vh - 65px); }
}
html.static:has(.history2) { scroll-snap-type: none; }
.plate.real.recent figcaption::before { content: "Photograph"; }
.plate.recent > img { filter: saturate(.8) brightness(.55) contrast(1.05); }
/* era dates: no dark oval behind them; a soft text shadow keeps them legible over the photos */
.tl2-era h2 { background: none; text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 4px 28px rgba(0,0,0,.6); }
.tl2-era h2 span { text-shadow: 0 1px 8px rgba(0,0,0,.8); }
/* History snapping: the closing note and the footer are resting points too, so the page can reach its end */
html:has(.history2) footer.ft { scroll-snap-align: end; }
.history2 .unwritten { scroll-snap-align: center; }

/* History lock-on: when a dot reaches the reading line the orb meets it, the arm reaches the card, and the card's border lights */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tl2-card { position: relative; }
.tl2-card::after { content: ""; position: absolute; inset: -1px; border-radius: 15px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--sweep), #fff1cf, var(--brass) 18%, rgba(214,176,107,.12) 45%, rgba(214,176,107,.12) 55%, var(--brass) 82%, #fff1cf);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; }
.tl2-ev.on .tl2-card { transform: scale(1.02); border-color: transparent; box-shadow: 0 34px 70px -28px #000, 0 0 70px -12px rgba(243,199,122,.6); }
.tl2-ev.on .tl2-card::after { opacity: 1; animation: lw-sweep 3.2s linear infinite; }
@keyframes lw-sweep { to { --sweep: 360deg; } }
/* the arm from dot to card */
.tl2-ev.on::before { height: 2px; background: linear-gradient(90deg, #f6d7a0, var(--brass)); box-shadow: 0 0 12px rgba(243,199,122,.8); animation: lw-reach .45s cubic-bezier(.2,.8,.2,1) both; }
.tl2-ev.l.on::before { transform-origin: right center; }
.tl2-ev.r.on::before { transform-origin: left center; }
@keyframes lw-reach { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* the dot and the era knot catch the light */
.tl2-ev.on .tl2-dot { scale: 1.7; background: #f6d7a0; border-color: #f6d7a0; box-shadow: 0 0 0 5px rgba(214,176,107,.22), 0 0 24px #f3c77a; }
.tl2-era.on .tl2-knot { scale: 1.45; box-shadow: 0 0 0 6px rgba(214,176,107,.22), 0 0 30px #f3c77a; }
.tl2-dot, .tl2-knot { transition: background .4s, border-color .4s, box-shadow .4s, scale .35s cubic-bezier(.3,1.6,.5,1); }
/* the travelling orb pulses as it meets each dot */
.tl2-head-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #f6d7a0; opacity: 0; }
.tl2-head-dot.lock { animation: lw-lock .6s cubic-bezier(.3,1.5,.5,1); }
.tl2-head-dot.lock::after { animation: lw-ring .8s ease-out; }
@keyframes lw-lock { 0% { scale: 1; } 40% { scale: 1.9; } 100% { scale: 1; } }
@keyframes lw-ring { 0% { opacity: .9; scale: 1; } 100% { opacity: 0; scale: 4.2; } }
@media (prefers-reduced-motion: reduce) {
  .tl2-ev.on .tl2-card::after, .tl2-ev.on::before, .tl2-head-dot.lock, .tl2-head-dot.lock::after { animation: none; }
  .tl2-ev.on .tl2-card { transform: none; }
}

/* History: follow one thread (city / building / organization) */
.tl2-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.tl2-filter-k { font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mut-n); margin-right: 4px; }
.tl2-f { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid currentColor; background: rgba(18,15,12,.55); color: var(--paper); transition: background .25s, color .25s, box-shadow .25s; }
.tl2-f { --c: #e2d8c6; color: var(--c); }
.tl2-f.lane-city { --c: #8fc3bd; } .tl2-f.lane-building { --c: #e59a7c; } .tl2-f.lane-org { --c: #d6b06b; }
.tl2-f:hover { background: rgba(242,235,223,.08); }
.tl2-f[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #120f0c; box-shadow: 0 0 22px -4px var(--c); }
.tl2-f:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
/* the copy that stays with you down the timeline */
.tl2-filter.sticky { position: sticky; top: 80px; z-index: 4; width: fit-content; margin: 0 auto; padding: 6px 8px 6px 14px; border-radius: 999px;
  background: rgba(18,15,12,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(242,235,223,.14); box-shadow: 0 14px 30px -18px #000; }
@media (max-width: 760px) {
  .tl2-filter.sticky { top: 74px; margin: 0; padding: 5px; gap: 4px; flex-wrap: nowrap; }
  .tl2-filter.sticky .tl2-filter-k { display: none; }
  .tl2-filter.sticky .tl2-f { padding: 8px 9px; font-size: 10px; letter-spacing: .06em; }
}

/* The orb rides the reading line by CSS alone (sticky), so it cannot lag behind a scroll snap; its tail
   is the filled part of the line, clipped at the line's top. */
.tl2-line { overflow-x: visible; overflow-y: clip; }
.tl2-fill { display: none; }
.tl2-head-dot { position: sticky; top: calc(55vh - 7px); left: auto; display: block; margin: 0 0 0 -6px; transform: none !important; }
.tl2-head-dot::before { content: ""; position: absolute; left: 6px; bottom: 7px; width: 2px; height: 400vh; pointer-events: none;
  background: linear-gradient(to top, #f3d49a, var(--brass) 25vh, #8a6a3a 120vh); }

/* History cards: an optional title, and a "see all" expander */
.tl2-t { margin: 0 0 6px; font: 700 19px/1.2 var(--f-serif); color: #f3d49a; }
.tl2-more { margin: 2px 0 10px; border-top: 1px solid rgba(242,235,223,.14); padding-top: 10px; }
.tl2-more summary { cursor: pointer; list-style: none; font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.tl2-more summary::-webkit-details-marker { display: none; }
.tl2-more summary::after { content: " +"; }
.tl2-more[open] summary::after { content: " −"; }
.tl2-more summary:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 2px; }
.tl2-more p { margin: 10px 0 0; font: 400 15.5px/1.5 var(--f-body); color: #e2d8c6; }
/* program pages: a description that stands without a heading, and the Learn more button */
.prog-desc.lead-desc { font: 400 clamp(21px, 2vw, 26px)/1.45 var(--f-serif); margin-top: 0; }
.prog-more { margin: 28px 0 0; }

/* Community & Campus: place tiles and the street map */
.place-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.place { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; background: #fbf6ec;
  box-shadow: 0 1px 2px rgba(40,25,10,.06), 0 10px 26px -18px rgba(40,25,10,.35); cursor: pointer; transition: box-shadow .25s, transform .25s, outline-color .25s; outline: 2px solid transparent; outline-offset: 0; }
.place:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(40,25,10,.08), 0 16px 32px -18px rgba(40,25,10,.45); }
.place.is-on { outline-color: var(--brick); box-shadow: 0 0 0 4px rgba(180,80,50,.12), 0 16px 32px -18px rgba(40,25,10,.45); }
.place-img { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.place-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-img span { font: 700 26px/1 var(--f-serif); color: rgba(255,255,255,.92); }
.theme-art { background: linear-gradient(135deg, #8a4e2c, #3a2014); } .theme-food { background: linear-gradient(135deg, #b8742c, #5a2f12); }
.theme-enterprise { background: linear-gradient(135deg, #3c5a6e, #1b2a35); } .theme-learning { background: linear-gradient(135deg, #5a6e3c, #26301a); }
.theme-gathering { background: linear-gradient(135deg, #6d4a6e, #2c1d2d); } .theme-care { background: linear-gradient(135deg, #9a5a6a, #3d2028); }
.place-body h3 { font: 700 19px/1.2 var(--f-serif); margin: 4px 0 6px; }
.place-body p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.45; }
.place-body .tile-kind { margin: 0; }
.place-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0 !important; font-size: 13.5px !important; }
.place-links a, .place-find { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.25); }
.place-find { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.place-links a:hover, .place-find:hover { text-decoration-color: currentColor; }
.on-campus .place-grid { margin-top: 22px; }
.nearby { margin-top: 72px; }
.near-layout { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.near-map-col { position: sticky; top: 84px; }
.near-map { height: min(640px, calc(100vh - 140px)); border-radius: 16px; overflow: hidden; background: #e9dfcd; border: 1px solid var(--line-p); display: grid; place-items: center; z-index: 0; }
.map-fallback { font-size: 15px; }
.map-note { font: 400 11.5px/1.5 var(--f-mono); color: var(--mut-p); margin: 8px 2px 0; }
.near-list { display: grid; gap: 26px; }
.near-group h3.k { margin: 0 0 12px; }
.near-list .place-grid { grid-template-columns: 1fr; }
/* map pins */
.pin-wrap { background: none; border: 0; }
.pin { position: absolute; transform: translate(-50%, -50%); display: block; width: 16px; height: 16px; border-radius: 50%; background: #b4502f; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.pin.is-hover { transform: translate(-50%, -50%) scale(1.35); }
.pin.is-on { transform: translate(-50%, -50%) scale(1.6); background: #1b1410; box-shadow: 0 0 0 6px rgba(180,80,50,.3), 0 2px 10px rgba(0,0,0,.4); }
.pin-campus { width: 22px; height: 22px; background: #d6b06b; }
.pin-campus b { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; font: 600 12px/1 var(--f-body); background: #1b1410; color: #f3e6cf; padding: 6px 9px; border-radius: 999px; }
.pin-campus.is-on { background: #d6b06b; }
.leaflet-popup-content { font: 400 13.5px/1.45 var(--f-body); }
.leaflet-popup-content b { font: 700 15px/1.3 var(--f-serif); }
@media (max-width: 900px) {
  .near-layout { grid-template-columns: 1fr; }
  .near-map-col { position: relative; top: 0; }
  .near-map { height: 360px; }
}
.theme-transit { background: linear-gradient(135deg, #2e4a63, #13202c); }
.place-img.logo-dark { background: #fffaf0; border: 1px solid var(--line-p); }
.place-img.logo-dark img, .place-img.logo-light img { object-fit: contain; padding: 12px; }
.place-img.logo-dark span, .place-img img + span { display: none; }
.place-grid.wide { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
@media (max-width: 520px) { .place-grid.wide { grid-template-columns: 1fr; } .place { grid-template-columns: 72px 1fr; } .place-img { width: 72px; height: 72px; } }
.near-map .leaflet-tile-pane { filter: saturate(.75) sepia(.12); }
.leaflet-tooltip.pin-tip { font: 600 12.5px/1.2 var(--f-body); background: #1b1410; color: #f3e6cf; border: 0; border-radius: 999px; padding: 6px 10px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.leaflet-tooltip.pin-tip::before { display: none; }
.place-img.logo-amtrak { background: #035079; }
.place-img.logo-amtrak img { object-fit: contain; padding: 14px 10px; filter: brightness(0) invert(1); }
.place-img.logo-black { background: #000; }
.place-img.logo-black img { object-fit: contain; padding: 0; transform: scale(1.12); }

/* Community & Campus hero: the canal */
.comm-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; background: #1a1a1a; color: var(--paper); }
.comm-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.comm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.55) 0, rgba(10,10,12,0) 22%, rgba(10,10,12,0) 45%, rgba(10,10,12,.72) 100%); }
.comm-hero .wrap { position: relative; z-index: 1; padding-bottom: 56px; }
.comm-hero .k { color: #f3d49a; }
.comm-hero .lead { font: 400 clamp(38px, 5.4vw, 76px)/1.04 var(--f-disp); max-width: 18ch; margin: 12px 0 0; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.outside.comm-body { padding-top: 64px; }
.comm-body .on-campus { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .comm-hero { min-height: 70svh; } .comm-hero > img { object-position: 42% 60%; } .comm-hero .wrap { padding-bottom: 36px; } }
.comm-hero .wrap { width: 100%; }
footer.ft { position: relative; z-index: 3; }

/* Community & Campus: organizations we collaborate with */
.collabs { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line-p); }
.collab-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.cf-btn { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-p); background: #fbf6ec; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.cf-btn span { opacity: .55; margin-left: 4px; }
.cf-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cf-btn:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.collab-group { margin-top: 30px; }
.collab-group h3.k { margin: 0 0 12px; }
.collab-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.collab-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; height: 100%; box-sizing: border-box; padding: 14px; border-radius: 14px; background: #fbf6ec; color: inherit; text-decoration: none;
  box-shadow: 0 1px 2px rgba(40,25,10,.06), 0 10px 26px -18px rgba(40,25,10,.35); transition: transform .25s, box-shadow .25s; }
a.collab-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(40,25,10,.08), 0 16px 32px -18px rgba(40,25,10,.45); }
a.collab-card:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.collab-logo { position: relative; width: 64px; height: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line-p); display: grid; place-items: center; overflow: hidden; }
.collab-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.collab-logo b { display: none; font: 700 19px/1 var(--f-serif); color: var(--paper); }
.collab-logo.is-text { background: linear-gradient(135deg, #8a4e2c, #3a2014); border: 0; }
.collab-logo.is-text b { display: block; }
.collab[data-cat="work"] .collab-logo.is-text { background: linear-gradient(135deg, #5a6e3c, #26301a); }
.collab[data-cat="justice"] .collab-logo.is-text { background: linear-gradient(135deg, #3c5a6e, #1b2a35); }
.collab[data-cat="community"] .collab-logo.is-text { background: linear-gradient(135deg, #6d4a6e, #2c1d2d); }
.collab[data-cat="public"] .collab-logo.is-text { background: linear-gradient(135deg, #4a4a4a, #1d1d1d); }
.collab-body { display: grid; gap: 4px; }
.collab-name { font: 700 17px/1.2 var(--f-serif); }
.collab-line { font-size: 14px; line-height: 1.42; color: var(--mut-p); }
.collab-go { font-size: 13px; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.25); }
/* collaborator tiles: a wide logo band on top, so horizontal wordmarks stay legible */
.collab-card { grid-template-columns: 1fr; gap: 12px; padding: 0 0 16px; overflow: hidden; }
.collab-logo { width: 100%; height: 88px; border-radius: 0; border: 0; border-bottom: 1px solid var(--line-p); }
.collab-logo img { padding: 14px 22px; }
.collab-logo.is-dark { background: #1b1410; }
.collab-logo b { font-size: 26px; letter-spacing: .02em; }
.collab-body { padding: 0 16px; }
.collab-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px 22px; box-sizing: border-box; }

/* Community & Campus: jump links in the hero, and a section bar that follows you down the page */
.comm-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.comm-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(10,10,12,.25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.comm-hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.comm-bar { position: sticky; top: 68px; z-index: 40; height: 0; overflow: visible; pointer-events: none; }
.comm-bar .wrap { display: flex; gap: 6px; width: fit-content; margin: 10px auto 0; padding: 5px; border-radius: 999px; background: rgba(27,20,16,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 28px -14px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
.comm-bar.on .wrap { opacity: 1; transform: none; pointer-events: auto; }
.comm-bar a { font: 500 13px/1 var(--f-body); color: #e2d8c6; text-decoration: none; padding: 9px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.comm-bar a:hover { color: #fff; }
.comm-bar a.is-on { background: #d6b06b; color: #1b1410; }
.comm-bar a:focus-visible { outline: 2px solid #f3d49a; outline-offset: 2px; }
#on-campus, #nearby, #collaborators { scroll-margin-top: 130px; }
.near-map-col { top: 128px; }
.near-map { height: min(600px, calc(100vh - 180px)); }
@media (max-width: 760px) {
  .comm-jump .btn { width: 100%; justify-content: space-between; box-sizing: border-box; }
  .comm-bar { top: 64px; }
  .comm-bar .wrap { margin: 8px 12px 0; width: auto; justify-content: space-between; gap: 2px; }
  .comm-bar a { font-size: 12px; padding: 8px 9px; }
  #on-campus, #nearby, #collaborators { scroll-margin-top: 116px; }
}
.cb-short { display: none; }
@media (max-width: 760px) { .comm-bar .cb-long { display: none; } .comm-bar .cb-short { display: inline; } .comm-bar .wrap { justify-content: center; } .comm-bar a { padding: 8px 12px; font-size: 12.5px; } }
.collab { position: relative; }
.collab-alt { position: absolute; left: 16px; bottom: 16px; font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.25); }
.collab:has(.collab-alt) .collab-go { margin-right: 0; }
.collab:has(.collab-alt) .collab-body { padding-bottom: 0; }
.collab:has(.collab-alt) .collab-go { display: inline-block; margin-left: 84px; }

/* History on phones: the line runs through the dots (the list sits 20px in from the line's box), scrolling
   is free (the script eases a nearby dot onto the reading line once a flick rests), and cards skip the
   costly backdrop blur so long flicks stay smooth */
@media (max-width: 760px) {
  .tl2-line { left: 38px; }
  html:has(.history2) { scroll-snap-type: none; }
  .tl2-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(24,20,16,.94); }
}

/* the LightWorks Collective logo (on-dark version: white LIGHT and COLLECTIVE, gold WORKS); 16:3 canvas */
.mark img { display: block; height: 30px; width: auto; }
.ft-top .mark img { height: 42px; }
@media (max-width: 640px) { .mark img { height: 26px; } .ft-top .mark img { height: 36px; } }

/* Contact form */
.cform { display: grid; gap: 14px; margin-top: 30px; max-width: 520px; }
.cform h2 { margin: 0 0 4px; }
.cform label { display: grid; gap: 6px; font: 500 13px/1.3 var(--f-body); color: var(--ink); }
.cform input, .cform select, .cform textarea { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: #fffaf1; border: 1px solid var(--line-p); border-radius: 10px; padding: 11px 13px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent; }
.cform textarea { resize: vertical; }
.cform .btn { justify-self: start; cursor: pointer; }
.cform .btn:disabled { opacity: .6; cursor: progress; }
.cform-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-status { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--ink); }

/* ---------- Phones and tablets (responsive audit, Nov 13, 2026) ---------- */
/* the walk-in scrolls natively on touch screens (arrival.js), with no snapping */
@media (pointer: coarse) { html:has(.arrive.v4) { scroll-snap-type: none; } }
@media (max-width: 900px) {
  /* the neighborhood map sits in the flow on phones; the desktop rule that pins it was pushing it onto the tiles */
  .near-map-col { position: relative; top: 0; }
  .near-map { height: 360px; }
}
@media (pointer: coarse) {
  /* bigger touch areas, same look: the step rail, footer links, the History expander */
  .st-dot::before, .st-arrow::before { content: ""; position: absolute; inset: -9px; }
  .st-arrow { position: relative; }
  .ft-legal nav a, .ft-pc, .ft-contact { display: inline-block; padding: 10px 0; }
  .ft-legal { gap: 0 24px; }
  .tl2-more summary { padding: 10px 0; }
  .work-go { padding: 8px 0; } .collab-alt { padding: 8px 0; bottom: 8px; }
}
/* the Community hero's kicker sits on bright sky */
.comm-hero .k { text-shadow: 0 1px 10px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.6); }
/* the contact form's menu matches the text fields (iOS draws its own small control otherwise) */
.cform select { -webkit-appearance: none; appearance: none; min-height: 46px; padding-right: 40px;
  background: #fffaf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1815' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 15px center; }
/* footer doors on narrow phones: room between names */
@media (max-width: 420px) {
  .ft-name { font-size: 12.5px; }
  .ft-dot { padding-right: 8px; }
}
/* History lane chips: no text below 11px */
@media (max-width: 760px) { .tl2-filter.sticky .tl2-f { font-size: 10.5px; padding: 9px 9px; } }
@media (max-width: 380px) { .tl2-filter.sticky .tl2-f { padding: 9px 6px; letter-spacing: .04em; } }
