/* When the Walls Spoke - static rebuild matching the original Google Sites theme.
   Header/menu/search measurements and timings follow the reference spec (v8). */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lato-light.woff2?v=4") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-regular.woff2?v=4") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lato-bold.woff2?v=4") format("woff2"); }

:root {
  --fg: #212121;
  --muted: #5f6368;
  --line: #e0e0e0;
  --teal: rgba(34,110,147,1);
  --dark: #212121;
  --accent: #49aad4;
  --ease: cubic-bezier(.4,0,.2,1);
  --bar-h: 60px;
  --content-font: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--fg); overflow-x: hidden;
  font-family: var(--content-font);
  font-size: 10pt;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #6eb6d8; outline-offset: 3px; }
[hidden] { display: none !important; }
body.menu-open, body.search-open { overflow: hidden; }

.skip { position: fixed; left: 15px; top: -70px; z-index: 700; padding: 14px; background: #fff; color: var(--fg); }
.skip:focus { top: 10px; }

/* ---------- header ---------- */
.topbar {
  position: fixed; z-index: 40; inset: 0 0 auto;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px 0 28px;
  font: 300 16px "Lato", Arial, sans-serif;
  color: rgba(255,255,255,.87);
  transition: background-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.topbar.scrolled { background: var(--dark); box-shadow: 0 2px 6px rgba(0,0,0,.13); }
.topbar a { color: inherit; text-decoration: none; white-space: nowrap; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.site-title { font-size: 20px; font-weight: 300; flex-shrink: 0; }

.tabs { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex: 1; min-width: 0; height: 100%; }
.tab-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 26px;
  flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap;
}
.tab-list li { flex: none; }
.tab-list a { font-size: 16px; font-weight: 300; }
.tab-list a.active { color: #fff; font-weight: 400; }

.more { position: relative; flex-shrink: 0; }
.more-btn {
  border: 0; background: transparent; color: inherit; padding: 8px;
  font-weight: 300; white-space: nowrap;
}
.chevron {
  display: inline-block; width: 8px; height: 8px; margin-left: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 250ms var(--ease);
}
.more-btn[aria-expanded="true"] .chevron { transform: translateY(2px) rotate(225deg); }
.more-list {
  position: fixed; right: 24px; top: 48px; width: 240px;
  max-height: calc(100dvh - 80px); overflow-y: auto;
  list-style: none; margin: 0; padding: 8px 0;
  background: var(--dark); box-shadow: 0 0 10px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.more-list.open { opacity: 1; transform: none; pointer-events: auto; }
.more-list a {
  display: block; padding: 11.5px 16px 11.5px 40px;
  color: #fff; font: 300 16px/1.21 "Lato", sans-serif; white-space: normal;
}
.more-list a:hover, .more-list a:focus-visible { color: var(--accent); background: rgba(255,255,255,.03); }
.more-list a.active { font-weight: 400; color: var(--accent); }

.search-btn {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: inherit;
}
.search-btn svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- mobile menu: burger swirls into X, drawer slides, items stagger ---------- */
.menu-toggle {
  display: none; place-items: center;
  position: fixed; top: 10px; left: 4px; z-index: 500;
  width: 40px; height: 40px; padding: 0; border: 0;
  background: transparent; color: #b2b2b2;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle::before {
  content: ""; position: absolute; inset: 4px; z-index: -1;
  background: #3b3b3b; opacity: 0; transition: opacity 150ms linear;
}
body.menu-open .menu-toggle::before { opacity: 1; }
.menu-icon { position: relative; width: 24px; height: 24px; }
.menu-icon .bar {
  position: absolute; left: 3px; width: 18px; height: 2px; background: currentColor;
  transform-origin: 50% 50%;
  transition: transform 260ms var(--ease), opacity 120ms linear;
}
.menu-icon .top { top: 6px; }
.menu-icon .middle { top: 11px; }
.menu-icon .bottom { top: 16px; }
body.menu-open .menu-icon .top { transform: translateY(5px) rotate(225deg); }
body.menu-open .menu-icon .middle { opacity: 0; transform: rotate(180deg) scaleX(.18); }
body.menu-open .menu-icon .bottom { transform: translateY(-5px) rotate(135deg); }

.drawer-scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.56); opacity: 0; pointer-events: none;
  transition: opacity 220ms linear;
}
body.menu-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 100;
  width: 250px; max-width: 80vw; overflow-y: auto; overscroll-behavior: contain;
  background: var(--dark); padding: 56px 0 40px;
  transform: translateX(-100%); visibility: hidden;
  transition: transform 265ms var(--ease), visibility 0s linear 265ms;
}
body.menu-open .drawer { transform: none; visibility: visible; transition: transform 265ms var(--ease); }
.drawer a {
  display: block; padding: 11.5px 12px 11.5px 40px;
  font: 300 16px/1.21 "Lato", Arial, sans-serif; color: #fff; text-decoration: none;
  opacity: 0; transform: translateX(-40px);
}
body.menu-open .drawer a {
  animation: navIn 315ms var(--ease) both;
  animation-delay: calc(65ms + var(--i) * 45ms);
}
@keyframes navIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.drawer a.active, .drawer a:hover, .drawer a:focus-visible { color: var(--accent); }

/* ---------- search: panel slides in from the right ---------- */
.search { position: fixed; inset: 0; z-index: 600; pointer-events: none; font-family: "Lato", Arial, sans-serif; }
.search-form {
  position: relative; margin: 0; height: 101px;
  display: flex; align-items: center; padding: 0 20px;
  background: #f4f2f2; pointer-events: auto;
  transform: translateX(100%); transition: transform 280ms var(--ease);
}
body.search-open .search-form { transform: none; }
.search-close {
  flex: 0 0 64px; width: 64px; height: 64px; margin-right: 12px; padding: 0;
  border: 0; background: transparent; color: #6d6d6d;
  display: grid; place-items: center;
}
.search-close svg, .search-clear svg { width: 26px; height: 26px; fill: currentColor; }
.search-field {
  height: 64px; flex: 1; min-width: 0; max-width: 406px;
  display: flex; align-items: center; overflow: hidden;
  background: #fff; border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,.22), 0 1px 2px rgba(0,0,0,.12);
}
.search-go {
  flex: 0 0 60px; width: 60px; height: 64px; padding: 0; border: 0; background: transparent; color: #666;
  display: grid; place-items: center;
}
.search-go svg { width: 25px; height: 25px; fill: currentColor; }
.search-input {
  flex: 1; min-width: 0; width: 100%; height: 64px; padding: 0 8px 0 0;
  border: 0; outline: 0; background: transparent;
  font: 400 20px/1.4 "Lato", Arial, sans-serif; color: #4a4a4a; caret-color: #4a4a4a;
}
.search-input::placeholder { color: #777; opacity: 1; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-input:focus-visible { outline: none; }
.search-clear {
  flex: 0 0 48px; width: 48px; height: 64px; padding: 0; border: 0; background: transparent; color: #777;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 120ms linear;
}
.search-clear.visible { opacity: 1; pointer-events: auto; }
.search-results {
  display: none; margin: 0; pointer-events: auto;
  background: #fff; height: calc(100dvh - 101px); overflow: auto;
  padding: 24px max(24px, calc((100% - 1000px) / 2));
}
.search.has-query .search-results { display: block; }
.search-results a { display: block; margin-top: 28px; color: var(--teal); font-size: 22px; text-decoration: none; }
.search-results a:first-child { margin-top: 0; }
.search-results a:hover { text-decoration: underline; }
.search-results p { margin: 4px 0 0; font-size: 16px; line-height: 1.6; color: #4a4a4a; }
.search-results mark { background: #fff3a8; color: inherit; }
.search-results .none { font-size: 16px; color: #5f6368; }

/* ---------- title banner (sizes per page via --t1..--t4, in px) ---------- */
.banner {
  position: relative;
  height: 340px;
  padding: 60px clamp(46px, calc(46px + 1.3vw), 63px) 61px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background-color: var(--teal);
  background-image: url("/assets/banner.svg?v=5");
  background-size: cover; background-position: center;
}
.banner h1 {
  /* same structure as the original: the h1 line box uses the theme title size (Lato 64pt),
     the visible text is a Trebuchet span sized per page, sitting on that baseline */
  width: min(66.4%, 760px);
  margin: 0; padding: 0 8px;
  font: 300 85.33px/1 "Lato", Arial, sans-serif;
  letter-spacing: 2px;
  overflow-wrap: break-word;
}
.banner h1 span { font-family: var(--content-font); font-weight: 400; font-size: var(--t3, 85.33px); }
body.home .banner h1 { width: 100%; }
.banner h1.bold span { font-weight: 700; }
@media (min-width: 1280px) { .banner h1 span { font-size: var(--t4, 85.33px); } }

/* ---------- content: 1280px grid, image widths follow the original column spans ---------- */
.content {
  max-width: 1280px; margin: 0 auto;
  padding: 24px clamp(46px, calc(46px + 1.3vw), 63px) 24px;
}
.art { margin: 0; }
.art img { width: 100%; }
.street .art.cols-5 { width: 40.5%; }
.street .art.cols-6 { width: 49.1%; }
.street .art.cols-7 { width: 57.7%; }
.street .art.cols-8 { width: 65.9%; }

.intro {
  display: grid;
  grid-template-columns: 40.5% minmax(0, 1fr);
  column-gap: 3.3%;
  align-items: start;
}
.intro-text { padding: 8px 8px 0 0; }
.intro-text p {
  margin: 12px 0 0;
  font-family: var(--content-font); font-size: 10pt;
  line-height: 24.44px;
}
.intro-text p:first-child { margin-top: 0; }

.loc { margin: 43px 0 0; text-align: left; }
.loc-btn {
  display: block; width: 14.5%; min-width: 90px; height: 46px; padding: 0 12px;
  background: rgb(30,108,147); color: #fff; border-radius: 4px;
  text-decoration: none; text-align: center;
  font: 400 11pt/46px "Lato", Arial, sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.loc { display: block; }
.loc-btn:hover { background: rgb(26,96,131); }
.pin { width: 16px; height: 16px; fill: #e53935; flex: none; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; display: flex; flex-direction: column; }
.pager .next { text-align: right; margin-left: auto; }

/* ---------- tablet & phone (Google Sites breakpoints: 768 / 480) ---------- */
@media (max-width: 767px) {
  .menu-toggle { display: grid; }
  .topbar { height: 64px; gap: 8px; padding: 0 10px; }
  .site-title { margin-left: 54px; font-size: 18px; line-height: 1.333; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .tabs { display: none; }
  .search-btn { width: 48px; height: 48px; color: #b2b2b2; }
  body.menu-open .search-btn { visibility: hidden; pointer-events: none; }

  .banner { height: 280px; padding: 64px 46px 62px; }
  .banner h1 { width: 100%; font-size: 70.67px; }
  .banner h1 span { font-size: var(--t2, 70.67px); }

  .content { padding: 24px 46px 24px; }
  .intro { display: block; }
  .intro-text { padding: 0 8px; margin-top: 56px; }
  .street .art.cols-6, .street .art.cols-7, .street .art.cols-8 { width: 100%; }
  .home .art.cols-5, .street .art.cols-5 { width: 82.3%; margin: 0 auto; }
  .loc-btn { width: 29.3%; margin: 0 auto; }
}
@media (max-width: 479px) {
  .banner { height: 250px; padding: 64px 20px 64px; }
  .banner h1 { font-size: 53.33px; }
  .banner h1 span { font-size: var(--t1, 53.33px); }
  .content { padding: 24px 20px 24px; }
  .home .art.cols-5, .street .art.cols-5, .street .art { width: 100%; }
  .loc-btn { width: 45.4%; }
}
@media (max-width: 520px) {
  .search-form { padding: 0 12px; }
  .search-close { flex-basis: 52px; width: 52px; margin-right: 6px; }
  .search-field { max-width: none; }
  .search-input { font-size: 18px; }
}
