/* When the Walls Spoke - matches the original Google Sites theme (always light) */
:root {
  --bg: #ffffff;
  --fg: #212121;
  --muted: #5f6368;
  --line: #e0e0e0;
  --slate: #343d44;
  --bar-h: 56px;
  --btn-bg: #343d44;
  --btn-fg: #ffffff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Ubuntu", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }

/* top bar: transparent over the banner, solid once you scroll past it */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: transparent;
  color: #fff;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.topbar.solid { background: var(--slate); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.bar {
  height: var(--bar-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 18px 0 22px;
}
.site-title {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 400; font-size: 19px; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; flex: none;
}
.tabs { flex: 1; min-width: 0; display: flex; justify-content: flex-end; align-items: center; height: 100%; }
.tab-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; height: 100%;
  overflow: hidden; flex-wrap: nowrap;
}
.tab-list li, .more { height: 100%; display: flex; align-items: center; flex: none; }
.tab-list a, .more-btn {
  display: flex; align-items: center; height: 100%;
  padding: 0 13px;
  font-family: "Lato", Arial, sans-serif; font-weight: 400;
  font-size: 15px; text-decoration: none; white-space: nowrap;
  color: rgba(255,255,255,.82);
}
.tab-list a:hover, .more-btn:hover { color: #fff; }
.tab-list a.active { color: #fff; font-weight: 700; }
.more { position: relative; }
.more-btn { background: none; border: 0; cursor: pointer; gap: 4px; }
.more-btn svg { width: 18px; height: 18px; fill: currentColor; }
.more-list {
  display: none;
  position: absolute; right: 0; top: calc(100% - 6px);
  list-style: none; margin: 0; padding: 8px 0;
  min-width: 240px; max-height: 70vh; overflow-y: auto;
  background: #fff; color: var(--fg);
  box-shadow: 0 4px 16px rgba(0,0,0,.22); border-radius: 2px;
}
.more.open .more-list { display: block; }
.more-list a {
  display: block; padding: 8px 20px;
  font-family: "Lato", Arial, sans-serif; font-size: 15px;
  text-decoration: none; color: #3c4043; white-space: nowrap;
}
.more-list a:hover { background: #f1f3f4; }
.more-list a.active { font-weight: 700; color: #000; }

/* mobile drawer: dark panel, burger spins into an X, items stagger in from the left */
.menu-btn {
  display: none; position: relative; z-index: 50;
  width: 40px; height: 40px; margin-left: -8px; padding: 0;
  background: transparent; border: 0; border-radius: 2px; cursor: pointer;
  transition: background-color .3s ease, transform .45s cubic-bezier(.4,0,.2,1);
}
.menu-btn span {
  position: absolute; left: 9px; width: 22px; height: 2px; background: #fff; border-radius: 1px;
  transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .2s ease, top .3s ease;
}
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 25px; }
.menu-btn.open { position: fixed; top: 8px; left: 16px; margin: 0; background: rgba(255,255,255,.16); transform: rotate(180deg); }
.menu-btn.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: clamp(240px, 50vw, 320px); overflow-y: auto;
  background: #212121; color: #fff;
  padding: 64px 0 24px;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 16px rgba(0,0,0,.35);
}
.drawer.open { transform: none; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a {
  display: block; padding: 11px 24px 11px 32px;
  font-family: "Lato", Arial, sans-serif; font-weight: 300; font-size: 16px;
  text-decoration: none; color: #fff;
}
.drawer a:hover { background: rgba(255,255,255,.06); }
.drawer a.active { color: #4a9ff5; }
.drawer li { opacity: 0; transform: translateX(-28px); }
.drawer.open li { animation: navIn .45s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(var(--i) * 45ms + 80ms); }
@keyframes navIn { to { opacity: 1; transform: none; } }
.drawer-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.5); }
@media (prefers-reduced-motion: reduce) {
  .drawer.open li { animation-duration: .01s; animation-delay: 0s; }
  .menu-btn, .menu-btn span { transition: none; }
}

/* search */
.search-btn {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-right: -6px;
  background: none; border: 0; cursor: pointer; color: #fff; border-radius: 50%;
}
.search-btn:hover { background: rgba(255,255,255,.12); }
.search-btn svg, .search-close svg { width: 24px; height: 24px; fill: currentColor; }
.search {
  position: absolute; inset: 0 0 auto 0; height: var(--bar-h); z-index: 25;
  display: flex; align-items: center; gap: 8px; padding: 0 12px 0 22px;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.search[hidden] { display: none; }
.search-input {
  flex: 1; min-width: 0; height: 40px; border: 0; outline: none; background: transparent;
  font-family: "Lato", Arial, sans-serif; font-size: 17px; color: #202124;
}
.search-close { background: none; border: 0; cursor: pointer; color: #5f6368; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.search-results {
  position: absolute; left: 0; right: 0; top: 100%;
  list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto;
  background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.18);
}
.search-results:empty { display: none; }
.search-results a {
  display: block; padding: 10px 22px; text-decoration: none; color: #202124;
  font-family: "Lato", Arial, sans-serif; font-size: 15px; border-top: 1px solid #eee;
}
.search-results a:hover, .search-results a.sel { background: #f1f3f4; }
.search-results .none { padding: 12px 22px; color: #5f6368; font-family: "Lato", Arial, sans-serif; }

@media (max-width: 900px) {
  .tabs { display: none; }
  .menu-btn { display: block; }
  .bar { padding: 0 10px 0 14px; gap: 8px; }
  .site-title { font-size: 18px; flex: 1; overflow: hidden; text-overflow: ellipsis; }
  .search { padding-left: 14px; }
}

/* title banner: dark slate with angular facets */
.banner {
  position: relative;
  min-height: 270px;
  padding: calc(var(--bar-h) + 40px) 24px 64px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background-color: rgba(34,110,147,1);
  background-image: url("/assets/banner.svg?v=3");
  background-size: cover;
  background-position: center;
}
.banner h1 {
  margin: 0;
  font-family: "Ubuntu", "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: .02em;
}
@media (max-width: 900px) {
  .banner { min-height: 290px; padding: calc(var(--bar-h) + 20px) 20px 48px; }
  .banner h1 { font-size: clamp(36px, 10.5vw, 46px); letter-spacing: .06em; line-height: 1.35; }
}

/* content */
.content {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 72px;
}
@media (max-width: 900px) { .content { padding: 16px 16px 56px; } }
.art { margin: 0 0 28px; }
.art img { width: 100%; }
.street .art { max-width: 760px; margin: 12px auto 28px; }

/* home: painting left, statement right */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 36px;
  align-items: start;
}
.intro .art { margin: 0; }
.intro-text { padding-top: 6px; }
.intro-text p { margin: 0 0 12px; }
.signature { margin-top: 4px; }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .intro .art, .street .art { width: 76%; margin-left: auto; margin-right: auto; }
}

.loc { text-align: center; margin: 4px 0 0; }
.loc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 4px;
  background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .02em;
}
.loc-btn:hover { opacity: .9; }
.pin { width: 18px; height: 18px; 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; }

.foot {
  border-top: 1px solid var(--line);
  padding: 24px; text-align: center;
  font-size: 13px; color: var(--muted);
}
.foot p { margin: 0; }

/* while the drawer is open, only the X button stays above it */
body.menu-open .topbar { z-index: 45; background: transparent; box-shadow: none; pointer-events: none; }
body.menu-open .topbar .bar > :not(.menu-btn) { visibility: hidden; }
body.menu-open .menu-btn { pointer-events: auto; }

.search-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
