@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2744;
  --navy-deep: #0f1829;
  --stone: #e8e3d8;
  --stone-light: #f4f1ea;
  --stone-dark: #d4cdbd;
  --charcoal: #1f1f1f;
  --charcoal-soft: #4a4a4a;
  --muted: #8a8578;
  --line: #d8d3c7;
  --white: #fbfaf6;
  --green: #2e6b3e;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1400px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
p { margin-bottom: 1rem; max-width: 62ch; }
.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--charcoal-soft);
  max-width: 52ch;
}
a { color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
a:hover { border-bottom-color: var(--navy); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: block;
}

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--navy);
  border: none;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.wordmark .tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  position: relative;
  top: -0.2rem;
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a {
  font-size: 0.875rem;
  color: var(--charcoal);
  border: none;
  position: relative;
  padding: 0.25rem 0;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--navy);
  transition: width 0.25s;
}
nav a:hover::after, nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--navy); margin: 5px 0; transition: all 0.3s; }

/* Hero with image */
.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 24, 41, 0.3) 0%, rgba(15, 24, 41, 0.65) 70%, rgba(15, 24, 41, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 900px;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; max-width: 16ch; }
.hero .lede { color: rgba(251, 250, 246, 0.88); max-width: 48ch; }
.hero .eyebrow { color: var(--stone-dark); }

/* Hero (minor pages) */
.hero-page {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 5vw, 4rem);
  background: var(--stone-light);
  border-bottom: 1px solid var(--line);
}
.hero-page h1 { margin-bottom: 1.25rem; }
.hero-page .lede { margin-top: 0.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  transition: all 0.2s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); border-bottom: 1px solid var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--stone-light); border-color: var(--stone-light); border-bottom: 1px solid var(--stone-light); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Featured projects grid (Chapman-style) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--stone);
  display: block;
  border: none;
  cursor: pointer;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-tile:hover img { transform: scale(1.06); }
.project-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,24,41,0) 50%, rgba(15,24,41,0.85) 100%);
  transition: opacity 0.3s;
}
.project-tile .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
  z-index: 2;
  color: var(--white);
}
.project-tile .caption .name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  display: block;
}
.project-tile .caption .loc {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-top: 0.25rem;
  display: block;
}

/* Hero banner-style feature image block */
.feature-banner {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--stone) center/cover;
  position: relative;
  overflow: hidden;
}
.feature-banner img { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(26, 39, 68, 0.1); }
.card-body { padding: 1.75rem; flex: 1; }
.card-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.card-meta span:not(:last-child)::after { content: '·'; margin: 0 0.5rem; }

/* Route cards (home "three audiences") */
.route-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--line);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.route-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.route-card .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
}
.route-card h3 { margin-bottom: 1rem; }
.route-card p { flex: 1; font-size: 0.95rem; }
.route-card .arrow {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

/* Tags */
.tag-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag-pill.available { color: var(--green); border-color: var(--green); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-soft);
  margin-bottom: 0.5rem;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); }
textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Panels */
.panel { background: var(--stone-light); padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line); }
.panel.dark { background: var(--navy); color: var(--stone-light); }
.panel.dark h2, .panel.dark h3 { color: var(--white); }
.panel.dark a { color: var(--stone-light); border-color: var(--stone-light); }

/* Section variants */
.section-dark { background: var(--navy); color: var(--stone); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--stone-dark); }
.section-dark p { color: var(--stone); }
.section-dark a { color: var(--white); border-color: transparent; }
.section-dark a:hover { border-bottom-color: var(--stone); }

.section-stone { background: var(--stone-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Lists */
.plain-list { list-style: none; padding: 0; }
.plain-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.plain-list li:last-child { border-bottom: none; }
.plain-list .label { color: var(--muted); font-size: 0.875rem; text-align: right; }
.bullet-list { list-style: none; padding: 0; }
.bullet-list li { padding: 0.6rem 0 0.6rem 1.5rem; position: relative; font-size: 1rem; line-height: 1.6; }
.bullet-list li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }

/* Testimonial */
.testimonial {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.testimonial-author {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Big feature image row */
.split-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  align-items: stretch;
}
.split-image > div:first-child {
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
}
.split-image > div:last-child {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 820px) {
  .split-image { grid-template-columns: 1fr; }
}

/* Filters (listings page) */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--stone-light);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.filters label { font-size: 0.7rem; margin-bottom: 0.375rem; }
.filters select { padding: 0.625rem 0.75rem; font-size: 0.875rem; }

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--stone-light);
  border: 1px solid var(--line);
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.empty-state p { margin: 0 auto 2rem; }

/* Portfolio page */
.development { padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.development:last-of-type { border-bottom: none; }
.dev-header { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: 2.5rem; }
@media (max-width: 820px) { .dev-header { grid-template-columns: 1fr; } }
.dev-number { font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); font-weight: 300; color: var(--navy); line-height: 1; letter-spacing: -0.04em; opacity: 0.18; }
.dev-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.5rem; }
.dev-location { font-family: var(--sans); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.dev-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-bottom: 2.5rem; }
@media (max-width: 820px) { .dev-body { grid-template-columns: 1fr; } }
.dev-spec { background: var(--stone-light); padding: 1.75rem; border-left: 2px solid var(--navy); }
.dev-spec.on-stone { background: var(--white); }
.dev-spec dl { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 1.5rem; margin: 0; }
.dev-spec dt { font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding-top: 0.15rem; }
.dev-spec dd { font-family: var(--serif); font-size: 1rem; color: var(--navy); margin: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  aspect-ratio: 3/2;
  max-height: 620px;
}
.gallery-grid .g-item { overflow: hidden; background: var(--stone); }
.gallery-grid .g-item:first-child { grid-row: span 2; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-grid .g-item:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .gallery-grid .g-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3/2; }
  .gallery-grid .g-item:not(:first-child) { aspect-ratio: 1; }
  .gallery-grid .g-item:nth-child(n+5) { display: none; }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--stone);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-dark);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.site-footer a { color: var(--stone); display: block; padding: 0.3rem 0; font-size: 0.9rem; border: none; }
.site-footer a:hover { color: var(--white); }
.footer-wordmark { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 0.75rem; display: block; }
.footer-desc { font-size: 0.9rem; color: var(--stone-dark); max-width: 32ch; line-height: 1.6; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 227, 216, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--stone-dark);
}

/* Mobile nav */
@media (max-width: 860px) {
  nav ul {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem var(--gutter);
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  nav ul.open { transform: translateY(0); }
  nav li { border-bottom: 1px solid var(--line); }
  nav li:last-child { border-bottom: none; }
  nav a { display: block; padding: 1rem 0; font-size: 1rem; }
  nav a::after { display: none; }
  .nav-toggle { display: block; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.8s ease-out backwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

/* Small text */
.small-print { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.disclosure-strip { padding: 1.5rem 0; background: var(--stone); border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--charcoal-soft); text-align: center; }

/* Legal page */
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 1.35rem; font-family: var(--serif); font-weight: 400; }
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { margin-top: 1.5rem; font-size: 1rem; font-family: var(--sans); font-weight: 500; }
.legal-content p, .legal-content li { font-size: 0.95rem; line-height: 1.7; }
.legal-content ul { margin: 1rem 0 1rem 1.5rem; }

/* Extended gallery strip (shown below main gallery-grid) */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.gallery-strip .strip-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--stone);
  border: none;
}
.gallery-strip .strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.3s;
}
.gallery-strip .strip-item:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
  .gallery-strip { grid-template-columns: repeat(3, 1fr); gap: 0.375rem; }
}

/* Placeholder project tile (when photography not yet available) */
.project-tile.placeholder-tile .placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.project-tile.placeholder-tile .placeholder-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(232, 227, 216, 0.04) 49%, rgba(232, 227, 216, 0.04) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(232, 227, 216, 0.04) 49%, rgba(232, 227, 216, 0.04) 51%, transparent 51%);
  background-size: 60px 60px;
}
.project-tile.placeholder-tile .placeholder-bg::after {
  content: 'Photography coming';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-dark);
  opacity: 0.7;
}
.project-tile.placeholder-tile::after {
  background: linear-gradient(180deg, rgba(15,24,41,0) 40%, rgba(15,24,41,0.75) 100%);
}

/* Gallery placeholder (when photography not yet available for a development) */
.gallery-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  aspect-ratio: 3/2;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  color: var(--stone);
}
.gallery-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(232, 227, 216, 0.05) 49%, rgba(232, 227, 216, 0.05) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(232, 227, 216, 0.05) 49%, rgba(232, 227, 216, 0.05) 51%, transparent 51%);
  background-size: 80px 80px;
}
.gallery-placeholder > div {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 42ch;
}
.placeholder-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone-dark);
  margin-bottom: 1rem;
  display: block;
}
.placeholder-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.placeholder-desc {
  font-size: 0.95rem;
  color: var(--stone-dark);
  max-width: 40ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* Clean uniform gallery grid (replaces gallery-grid + gallery-strip combo) */
.gallery-uniform {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.gallery-uniform .gi {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--stone);
  display: block;
  cursor: zoom-in;
  position: relative;
}
.gallery-uniform .gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
}
.gallery-uniform .gi:hover img { transform: scale(1.04); }
.gallery-uniform .gi::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 24, 41, 0);
  transition: background 0.2s;
}
.gallery-uniform .gi:hover::after { background: rgba(15, 24, 41, 0.1); }
@media (max-width: 820px) {
  .gallery-uniform { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .gallery-uniform { grid-template-columns: repeat(2, 1fr); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 41, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lb-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--serif);
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close { top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; font-size: 1.5rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--stone-dark);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lb-close { top: 0.75rem; right: 0.75rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.6rem; }
}

/* Simplified development header (no more spec panel) */
.development-clean .dev-header {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.development-clean .dev-title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.development-clean .dev-body {
  grid-template-columns: 1fr;
  max-width: 68ch;
  margin-bottom: 2rem;
}

/* Locations grid (SEO / local signalling) */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.loc-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}
.loc-card:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
}
.loc-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.loc-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--charcoal-soft);
  margin: 0;
}

/* Defensive: submit buttons inside forms inside dark sections must stay navy-on-white */
.section-dark form button[type="submit"],
.section-dark form .btn {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}
.section-dark form button[type="submit"]:hover,
.section-dark form .btn:hover {
  background: var(--navy-deep) !important;
  border-color: var(--navy-deep) !important;
}
