/* ==========================================================================
   AWJ Properties — Design tokens
   Palette: ink charcoal + warm paper + brass accent (architectural / blueprint feel)
   Type: Fraunces (display), Inter (body), IBM Plex Mono (data / reference codes)
   ========================================================================== */
:root {
  --ink: #12161B;
  --ink-soft: #1D242B;
  --paper: #F5F3EE;
  --paper-dim: #ECE7DB;
  --brass: #A9834E;
  --brass-light: #C9A46C;
  --stone: #79746A;
  --line: rgba(18, 22, 27, 0.13);
  --line-light: rgba(245, 243, 238, 0.18);
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utility: mono eyebrow / ref code ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--brass);
}

/* ---------- Corner tick mark (signature motif) ---------- */
.ticked {
  position: relative;
}
.ticked::before, .ticked::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--brass);
  opacity: .8;
}
.ticked::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.ticked::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary {
  background: var(--brass);
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-light); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--line-light);
  color: var(--paper);
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass-light); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--ink-soft); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 22, 27, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--brass-light);
  letter-spacing: .04em;
}
.logo-mark--light { color: var(--brass); font-size: 26px; }
.logo-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: .8;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 243, 238, 0.72);
  position: relative;
  padding: 6px 0;
}
.site-nav a:hover, .site-nav a.active { color: var(--paper); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brass);
}
.site-nav a.nav-admin {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  border: 1px solid var(--line-light);
  padding: 8px 14px;
  color: var(--brass-light);
}
.site-nav a.nav-admin:hover { border-color: var(--brass); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(18,22,27,.78), rgba(18,22,27,.9)), var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,243,238,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,243,238,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 90px 0;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: var(--paper);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}
.hero-sub {
  font-size: 18px;
  color: rgba(245, 243, 238, 0.78);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line-light);
  margin-top: 60px;
}
.hero-stat {
  flex: 1;
  padding: 22px 0 0;
  border-right: 1px solid var(--line-light);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--brass-light);
  display: block;
}
.hero-stat .label {
  font-size: 12.5px;
  color: rgba(245,243,238,.62);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dim { background: var(--paper-dim); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 560px; }
.section-dark p, .section-dark .section-head p { color: rgba(245,243,238,.7); }
.section-lead {
  font-size: 16px;
  color: var(--stone);
  max-width: 460px;
}

/* ---------- Property grid / cards ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(18,22,27,.35);
}
.property-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-dim); }
.property-media img { width: 100%; height: 100%; object-fit: cover; }
.property-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  padding: 5px 10px;
  text-transform: uppercase;
}
.property-status {
  position: absolute; top: 14px; right: 14px;
  background: rgba(245,243,238,.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
}
.property-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.property-ref { font-family: var(--font-mono); font-size: 11.5px; color: var(--brass); letter-spacing: .06em; }
.property-body h3 { font-size: 19px; margin-bottom: 0; }
.property-loc { font-size: 13.5px; color: var(--stone); }
.property-price { font-family: var(--font-mono); font-size: 18px; color: var(--ink); margin-top: 4px; }
.property-meta {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--stone);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(6, 1fr) auto;
  gap: 14px;
  margin-bottom: 44px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--stone);
}
.filter-field input,
.filter-field select,
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 1px;
}
.filter-field input:focus,
.filter-field select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brass);
}

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-dim); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.stat-row .num { font-family: var(--font-mono); font-size: 30px; color: var(--brass); display: block; }
.stat-row .label { font-size: 12.5px; color: var(--stone); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Blog / insights ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.blog-card { display: flex; flex-direction: column; gap: 14px; }
.blog-media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-dim); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .blog-media img { transform: scale(1.04); }
.blog-card h3 { font-size: 20px; }
.blog-date { font-family: var(--font-mono); font-size: 11.5px; color: var(--brass); text-transform: uppercase; letter-spacing: .06em; }
.blog-excerpt { color: var(--stone); font-size: 14.5px; }
.read-more { font-size: 13.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 2px; display: inline-block; width: fit-content; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 13px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-info-item { border-top: 1px solid var(--line-light); padding: 20px 0; }
.contact-info-item h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--brass-light); margin-bottom: 8px; }

/* ---------- Alerts ---------- */
.alert {
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.alert-success { background: #EEF3EA; border-color: #B9CDA9; color: #375530; }
.alert-error { background: #F7EAE7; border-color: #E0B4A9; color: #7A2E1E; }

/* ---------- Property detail ---------- */
.detail-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 40px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin: 32px 0 0;
}
.detail-gallery .main-img { aspect-ratio: 4/3; overflow: hidden; }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .side-imgs { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.detail-gallery .side-imgs > div { overflow: hidden; }
.detail-gallery .side-imgs img { width: 100%; height: 100%; object-fit: cover; }
.detail-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; margin-top: 56px; }
.spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec-row span:first-child { color: var(--stone); }
.spec-row span:last-child { font-family: var(--font-mono); }
.sidebar-card { background: var(--white); border: 1px solid var(--line); padding: 26px; position: sticky; top: 100px; }
.sidebar-card .price { font-family: var(--font-mono); font-size: 26px; margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); max-width: 640px; margin: 0 auto 14px; }
.cta-band p { color: rgba(245,243,238,.7); max-width: 480px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p { color: rgba(245,243,238,.6); font-size: 14px; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--brass-light); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(245,243,238,.68); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(245,243,238,.55);
}
.footer-bottom a:hover { color: var(--brass-light); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; margin-top: 48px; justify-content: center; }
.pagination a, .pagination span {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 14px;
  border: 1px solid var(--line);
}
.pagination a:hover { border-color: var(--brass); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 80px 20px; color: var(--stone); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid, .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .detail-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line-light);
    display: none;
  }
  .site-nav.open { display: flex; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; border-right: none; margin-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Additions: price per sq. yard, category carousel, property gallery,
   lightbox, public gallery page
   ========================================================================== */
.property-sqyd { font-family: var(--font-mono); font-size: 12.5px; color: var(--brass); margin-top: -4px; }
.sidebar-card .price-sqyd { font-family: var(--font-mono); font-size: 13.5px; color: var(--brass); margin-bottom: 6px; }

/* ---------- Category carousel (home page) ---------- */
.cat-carousel { position: relative; }
.cat-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-slide {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--ink);
  color: var(--paper);
}
.cat-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-slide:hover img, .cat-slide:focus-visible img { transform: scale(1.05); }
.cat-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 26px 24px;
  background: linear-gradient(to top, rgba(18,22,27,.92) 0%, rgba(18,22,27,.55) 45%, rgba(18,22,27,0) 75%);
}
.cat-count {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brass-light); border: 1px solid var(--line-light); padding: 4px 9px; margin-bottom: 14px;
}
.cat-overlay h3 { font-size: 26px; margin-bottom: 6px; color: var(--paper); }
.cat-overlay p { color: rgba(245,243,238,.78); font-size: 14.5px; margin-bottom: 14px; }
.cat-cta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--brass-light); text-transform: uppercase; }
.cat-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 1px solid var(--line-light);
  background: rgba(18,22,27,.82); color: var(--paper);
  font-size: 28px; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.cat-arrow:hover { background: var(--brass); border-color: var(--brass); }
.cat-prev { left: -14px; }
.cat-next { right: -14px; }
.cat-carousel.no-scroll .cat-arrow { display: none; }
@media (max-width: 960px) { .cat-slide { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) {
  .cat-slide { flex-basis: 84%; aspect-ratio: 4 / 4.6; }
  .cat-prev { left: 4px; } .cat-next { right: 4px; }
  .cat-arrow { width: 40px; height: 40px; }
}

/* ---------- Property detail gallery ---------- */
.pg { margin-top: 32px; max-width: 980px; }
.pg-stage { position: relative; background: #0B0E11; aspect-ratio: 16 / 10; }
.pg-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pg-media img, .pg-media video, .pg-media iframe { width: 100%; height: 100%; border: 0; background: #0B0E11; }
.pg-media img { object-fit: cover; }
.pg-media img.pg-zoomable { cursor: zoom-in; }
.pg-media video { object-fit: contain; }
.pg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: none; cursor: pointer;
  background: rgba(18,22,27,.72); color: var(--paper); font-size: 28px; line-height: 1; padding: 0 0 4px;
}
.pg-arrow:hover { background: var(--brass); }
.pg-prev { left: 12px; } .pg-next { right: 12px; }
.pg-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(18,22,27,.72); color: var(--paper);
  font-family: var(--font-mono); font-size: 12px; padding: 4px 10px;
}
.pg-count:empty { display: none; }
.pg-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pg-thumb {
  flex: 0 0 auto; width: 104px; height: 72px; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: #0B0E11; opacity: .6; overflow: hidden;
}
.pg-thumb:hover { opacity: .9; }
.pg-thumb.is-active { border-color: var(--brass); opacity: 1; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb-video {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-light);
}
.pg-thumb-video span { font-size: 18px; }
@media (max-width: 600px) { .pg-thumb { width: 84px; height: 60px; } .pg-arrow { width: 38px; height: 38px; } }

/* ---------- Lightbox ---------- */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,10,12,.94);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lb-caption { color: rgba(245,243,238,.85); font-size: 15px; text-align: center; max-width: 720px; }
.lb-caption:empty { display: none; }
.lb-close, .lb-arrow {
  position: absolute; background: none; border: none; color: var(--paper); cursor: pointer; line-height: 1;
}
.lb-close { top: 14px; right: 20px; font-size: 40px; padding: 4px 10px; }
.lb-arrow { top: 50%; transform: translateY(-50%); font-size: 54px; padding: 8px 14px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close:hover, .lb-arrow:hover { color: var(--brass-light); }
@media (max-width: 600px) { .lightbox { padding: 56px 12px; } .lb-arrow { font-size: 40px; padding: 4px 8px; } }

/* ---------- Public gallery page ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.gallery-tabs a {
  font-size: 14px; font-weight: 500; padding: 9px 16px; background: var(--white); border: 1px solid var(--line);
}
.gallery-tabs a span { font-family: var(--font-mono); font-size: 11.5px; color: var(--stone); margin-left: 6px; }
.gallery-tabs a:hover { border-color: var(--brass); }
.gallery-tabs a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery-tabs a.active span { color: var(--brass-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.gallery-item { margin: 0; background: var(--white); border: 1px solid var(--line); }
.gallery-item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-dim); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item a:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 12px 16px 14px; font-size: 14px; color: var(--ink); }
