:root {
  --gallery-green: #8CB000;
  --concrete: #BEBEBE;
  --charcoal: #4A4A4A;
  --field: #F7F7F5;
  --white: #FFFFFF;
  --black: #111111;
  --rule: #D7D7D2;
  --token-green: #8cb000;
  --token-grey: #bebebe;
  --token-white: #ffffff;
}
body {
  margin: 0;
  background: var(--field);
  color: var(--charcoal);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a { color: #bebebe; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gallery-green); }
h1, h2, h3 {
  color: var(--black);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; }
h2 { color: #8cb000; font-size: 1.35rem; margin: 2rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
img { max-width: 100%; height: auto; }
.site-shell { max-width: 1160px; margin: 0 auto; padding: 0 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.2rem 0 .5rem;
  background: #ffffff;
}
.header-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.brand { justify-self: end; text-align: right; text-decoration: none; color: var(--black); }
.brand-top { display: block; font-size: .78rem; letter-spacing: .62em; }
.brand-word {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.03em;
}
.primary-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; justify-content: flex-end; }
.primary-nav a, .left-rail a {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: #858585;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.marker {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: #bebebe;
  display: inline-block;
}
.primary-nav a:hover .marker,
.left-rail a:hover .marker,
.left-rail a.active .marker {
  background: #8cb000;
}
.gallery-page { min-height: 72vh; padding: 2rem 0 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 240px;
  gap: 2rem;
  align-items: start;
}
.left-rail { display: grid; gap: .72rem; padding-top: .25rem; }
.left-rail.compact { position: sticky; top: 1rem; }
.gallery-content {
  background: #ffffff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.2rem 0;
}
.readable { max-width: 690px; }
.eyebrow {
  color: var(--gallery-green);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.lead { color: var(--black); font-size: 1.05rem; font-weight: 600; }
.gallery-sidebar {
  text-align: right;
  position: sticky;
  top: 1rem;
  padding-top: .25rem;
}
.square-row { display: flex; justify-content: flex-end; gap: .55rem; margin-bottom: 1rem; }
.square-row span {
  width: 20px;
  height: 20px;
  display: block;
  background: var(--concrete);
}
.square-row span:first-child,
.square-row span:nth-child(2),
.square-row span:nth-child(3) { background: var(--gallery-green); }
.gallery-sidebar nav { display: grid; gap: .75rem; }
.gallery-sidebar a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: .7rem;
  color: #8a8a8a;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.gallery-sidebar a:first-child { color: var(--gallery-green); }
.side-marker {
  width: 20px;
  height: 20px;
  background: var(--concrete);
}
.gallery-sidebar a:first-child .side-marker,
.gallery-sidebar a:hover .side-marker { background: var(--gallery-green); }
.content-image, .gallery-grid figure {
  margin: 1.4rem 0;
  background: var(--white);
}
figcaption {
  color: #777;
  font-size: .85rem;
  margin-top: .4rem;
}
.gallery-grid .gallery-grid,
.gallery-grid .gallery-grid figure { display: block; }
.gallery-content .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}
.listing-card {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
}
.table-scroll { overflow-x: auto; margin: 1.2rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { border-top: 1px solid var(--rule); padding: .55rem; text-align: left; }
.main-image { float: right; max-width: 38%; margin: .3rem 0 1rem 1.4rem; }
.inline-cell-image { max-height: 24px; width: auto; vertical-align: middle; margin: 0 .25rem; }
.clear { clear: both; }
.breadcrumbs-wrap { color: #888; font-size: .85rem; margin-bottom: 1rem; }
.site-footer { padding: 2rem 0 1rem; background: var(--field); }
.footer-inner { border-top: 1px solid var(--rule); padding-top: .55rem; text-align: center; }
.footer-inner nav { display: flex; justify-content: center; gap: .5rem 1rem; flex-wrap: wrap; }
.footer-inner a { color: #858585; font-size: .82rem; text-decoration: none; }
@media (max-width: 960px) {
  .header-grid, .gallery-grid { grid-template-columns: 1fr; }
  .brand, .gallery-sidebar { text-align: left; justify-self: start; }
  .primary-nav, .square-row { justify-content: flex-start; }
  .gallery-sidebar, .left-rail.compact { position: static; }
  .main-image { float: none; max-width: 100%; margin: 1rem 0; }
}
@media print {
  .site-header, .site-footer, .left-rail, .gallery-sidebar { display: none; }
}
